@extenshi/mcp
Version:
Extenshi MCP server — bring the extension catalog (search, security, market research) and pre-publish scanning into your AI tools
409 lines • 104 kB
TypeScript
/** Developer lifecycle reference shared by local and hosted MCP transports.
* Tool inventory comes from registration, so it describes this server instance.
* Cabinet services are a directory, not a claim about the caller's entitlements.
*
* Written as reference material (process descriptions, requirements, related
* tools), not as directives: every entry reads the same to a developer as to
* any client that renders it.
*
* Token frugality: the default response is a compact overview plus a table of
* contents; full sections are returned only when requested via `sections`.
*/
export interface GuideTool {
name: string;
description: string;
annotations: {
readOnlyHint?: boolean;
destructiveHint?: boolean;
};
}
export declare const DEVELOPMENT_GUIDE_URL: string;
export declare const DEVELOPMENT_SERVICES: readonly [{
readonly id: "documentation";
readonly purpose: "Capabilities, extension shapes, exact CLI commands and reusable skill packages.";
readonly tools: readonly ["get_development_guide", "search_docs", "get_skill", "list_extension_templates"];
readonly access: "Free reference; no API key. Hosted transport still requires connector sign-in.";
readonly urls: readonly [string, string, string];
}, {
readonly id: "account";
readonly purpose: "Sign-in, API keys for local tools, credit-pool balances ahead of paid work and where a proposed change (a pending_approval response) stands.";
readonly tools: readonly ["get_credit_balance", "connection_diagnostics", "get_approval"];
readonly access: "Balance lookup and get_approval are free and require identity; get_approval reads only the signed-in account’s own proposals. Catalog reads and scans use credit pools.";
readonly urls: readonly [string, "https://dojo.extenshi.io/api-keys", "https://dojo.extenshi.io/billing"];
}, {
readonly id: "research";
readonly purpose: "Demand, competitors, user complaints, permissions and existing security findings.";
readonly tools: readonly ["search_extensions", "get_extension", "get_reviews", "get_security", "get_risk_by_store_ids", "market_overview"];
readonly access: "Identity required. Catalog tools cost 1 read per call; get_security costs 3. Bulk risk: up to 40 per call. Chrome review text is unavailable; its aggregate rating is available.";
readonly urls: readonly [string, "https://catalog.extenshi.io"];
}, {
readonly id: "projects";
readonly purpose: "Existing projects: selected browser types, manifests, repository binding, saved tool state, hosted URLs and starter files.";
readonly tools: readonly ["list_my_projects", "create_project", "get_project_state", "get_project_scaffold", "get_decisions", "propose_decision", "set_store_listing", "get_project_workspace", "import_manifest", "diff_project_state", "apply_project_patch", "record_project_evidence", "create_ci_ingest_secret", "upsert_hosted_page", "verify_hosted_artifact", "remove_hosted_page", "list_hosted_pages", "get_release_readiness", "get_build_map", "show_build_map", "report_build_step", "set_build_module", "request_build_review"];
readonly access: "The build map tools (get_build_map, show_build_map, report_build_step, set_build_module, request_build_review) exist on the local stdio server only, are free and need no key: they read and write .extenshi/build-map.json of the project directory (guide section buildMap). Own-project MCP reads are free and require identity. Projects are created in the cabinet or with create_project (idempotent, project.write). Owner decisions (AMO add-on id, license, seller identity, pricing, targets) are proposed by agents and decided only by the owner in the cabinet; release readiness reports undecided ones as blockers. Repository metadata, source/built manifests and scope synchronize through typed revisioned patches. project.write, evidence.write and hosted.write require explicit OAuth consent. Repository metadata does not grant GitHub access. CI evidence (source=ci) is written only by the verified ingest endpoint, which authenticates with a secret from create_ci_ingest_secret. Automated release-readiness access requires a Pro project.";
readonly urls: readonly [string, "https://dojo.extenshi.io/projects", "https://dojo.extenshi.io/integrations"];
}, {
readonly id: "manifest";
readonly purpose: "Minimum permissions, target browsers and manifest entries, with every referenced file present.";
readonly tools: readonly ["list_extension_templates", "get_project_state", "get_project_scaffold"];
readonly access: "Free template reference; project reads require identity. The cabinet also has a manifest editor.";
readonly urls: readonly [string, string];
}, {
readonly id: "localization";
readonly purpose: "Translation of the extension’s own messages (local _locales files) and of the text stored on Extenshi: Pay offers, license terms, privacy policy, hosted pages and the landing page.";
readonly tools: readonly ["localize_workflow", "get_project_state", "get_pay_offer_translations", "set_pay_offer_translations", "get_legal_translations", "set_legal_translations", "get_page_translations", "set_page_translations"];
readonly access: "localize_workflow is a free static reference for the local _locales files only; local CLI validation requires no key or Extenshi credits, and translation uses the developer's own provider. Text stored on Extenshi is listed in get_project_state `localization`: every surface with missing and outdated counts per language and fixWith (its read and write tool); Pay surfaces need pay.read. Offer `features` are entitlement keys and stay untranslated.";
readonly urls: readonly [string];
}, {
readonly id: "icons";
readonly purpose: "SVG icon design, toolbar-size preview and store-asset export with the local CLI.";
readonly tools: readonly ["generate_icon_workflow"];
readonly access: "Free. Drawing, browser preview and file export happen locally; the cabinet offers its own icon generator subject to availability and credits.";
readonly urls: readonly [string, string];
}, {
readonly id: "privacy";
readonly purpose: "A policy that reflects actual data practices: generated and exported, or hosted with version history.";
readonly tools: readonly ["list_privacy_policy_versions", "get_privacy_policy_version", "update_privacy_policy_with_ai", "publish_privacy_policy", "get_legal_translations", "set_legal_translations"];
readonly access: "Hosted policy tools require an owned Pro project. Version reads spend no credit; AI updates have a per-project daily limit. publish_privacy_policy changes the live page. The browser generator supports export. The English policy (and Pay license terms) is the binding text at the base URL; translated copies for the project’s languages live at <url>/<locale> with a notice linking to the English original — Extenshi translates its template text, the developer translates edited sections and free-text answers with get_legal_translations / set_legal_translations.";
readonly urls: readonly [string, string, string];
}, {
readonly id: "onboarding";
readonly purpose: "Welcome page, pin guide, install instructions, feedback form and uninstall survey, with verified URLs wired into the extension.";
readonly tools: readonly ["generate_welcome_page_workflow", "generate_pin_guide", "get_project_state", "get_install_instructions", "publish_install_instructions", "unpublish_install_instructions", "get_page_translations", "set_page_translations", "list_uninstall_forms", "get_uninstall_form", "update_uninstall_form", "get_uninstall_offer", "update_uninstall_offer", "preview_uninstall_form", "list_uninstall_responses", "list_feedback_forms", "get_feedback_form", "update_feedback_form", "preview_feedback_form", "list_feedback_responses", "find_brand_mentions"];
readonly access: "Free welcome-page specification and pin guide kit (generate_pin_guide: offline SVG, CSP-safe HTML and chrome.i18n captions in 11 languages for a welcome page bundled in the extension). Editing, hosting and responses live in the cabinet where enabled; account/project limits apply. MCP returns specifications and saved state, and publishes the install instructions page (free; hosted.write) — the uninstall form is created and the welcome page is edited in the cabinet. An existing uninstall survey is read, previewed and changed over MCP (list/get/preview_uninstall_form; update_uninstall_form with dryRun, expectedUpdatedAt and an idempotencyKey; hosted.write), keeping its URL and responses; each change is listed for the owner in Dojo. Its answers are read with list_uninstall_responses (project.read): newest first, filtered by version and date, with counts by reason and version and the uninstalls that reached the page; the email a person left is returned to an API key only. The feedback form (feedback.extenshi.io) is the same engine for users who still have the extension: it is created in the cabinet, opened from Options, the popup (\"Doesn’t work on this site?\" with `?cat=site_not_working#site=<hostname>`: the site goes in the URL fragment, which is never sent to a server, so it is transmitted only when the person presses Send; `?site=` still works for released extensions), the trial-ended screen or a rating nudge, reads only the parameters v, src, cat, browser, lang and site, and is read, previewed, changed (update_feedback_form, hosted.write) and its answers listed (list_feedback_responses, filters by category, source, version and date) over MCP; its link is FEEDBACK_FORM_URL in the integration config, and REVIEW_URLS holds the review pages of the published store listings. While get_project_state lists FEEDBACK_FORM_URL in integration.unwired the project has no form: offer one to the author (they create it in the cabinet; never invent the URL), then wire the openSnippet from get_feedback_form into Options and the popup. After a rename, find_brand_mentions lists every hosted field still holding the old name and the tool that fixes it; get_project_state reports the same on its own in `staleNames`: the project keeps every name it took (Dojo settings, import_manifest), so earlier names are searched without being asked for. The hosted uninstall form, welcome page and install instructions open in the user’s browser language (the generated snippets pass chrome.i18n.getUILanguage() as `hl`) when the project offers it, otherwise in the project’s own language: built-in text is translated by Extenshi (en + 10 languages); the developer’s own text is translated per field with get_page_translations / set_page_translations (identity; hosted.write to save).";
readonly urls: readonly [string, string, string, string, string, string, string, string, string, string];
}, {
readonly id: "listing-and-marketing";
readonly purpose: "Listing copy, screenshots, landing page, support links and AI discovery assets.";
readonly tools: readonly ["generate_landing_page", "draft_landing_page", "preview_landing_page", "publish_landing_page", "get_landing_page", "list_landing_page_versions", "rollback_landing_page", "unpublish_landing_page", "get_custom_domain", "set_custom_domain", "verify_custom_domain", "remove_custom_domain", "upload_project_media", "upsert_hosted_page"];
readonly access: "The landing-page generator is free and offline: it returns static HTML (CLI: extenshi page generate). Schema v2 (schemaVersion 2) makes it a full homepage: ordered sections (hero, about, features, screenshots, how-it-works, pricing bound to Pay offers by SKU, FAQ with FAQPage JSON-LD, attributed testimonials only, store badges, changelog, links), theme tokens from allowlists, SEO/OG fields, per-locale pages with hreflang, and llms.txt — all declarative, no HTML or JS. draft_landing_page (project.read; CLI: extenshi page draft) builds a v2 form from project state and lists what it could not fill; preview_landing_page (CLI: extenshi page preview) validates and renders exactly what publish would serve, with a path and fix per problem. The same page can be hosted by Extenshi at page.extenshi.io/{code} with publish_landing_page (identity and hosted.write; CLI: extenshi page publish), which also registers it as the project homepage; every publish is a version (list_landing_page_versions / rollback_landing_page; CLI: extenshi page versions / rollback). A custom domain (Pro, one per project; set/verify/get/remove_custom_domain, CLI: extenshi domain add|verify|status|remove) serves the homepage at the domain root after a TXT ownership check and an HTTPS certificate, and switches its canonical and HOMEPAGE_URL; ownership is re-checked every 6 hours and a domain that loses its TXT record is suspended; images there are store screenshots, Dojo uploads or files uploaded with upload_project_media (hosted.write; CLI: extenshi media upload, or page publish --upload-local) to the project's public media store. Store screenshots per locale come from CLI extenshi screenshots and listing artwork from CLI extenshi icon store-assets (formats and sizes: guide section storeMedia). A page hosted elsewhere on HTTPS is registered with upsert_hosted_page (CLI: extenshi page register). The registered homepage feeds HOMEPAGE_URL. Listing copy and store-risk review are covered by CLI generate-listing / review-risk and cabinet tools where enabled. MCP has no listing or SEO execution tool.";
readonly urls: readonly [string, string, string, string, string, string];
}, {
readonly id: "verification-and-ci";
readonly purpose: "Reproducible per-browser packages, installed smoke tests of the exact package in Chromium, Edge and Firefox, store-risk review, final package scan, and release evidence recorded from those results.";
readonly tools: readonly ["scan_extension", "record_project_evidence", "get_release_readiness"];
readonly access: "Local CLI, free: `extenshi package <dir> --browser chrome,edge,firefox` writes byte-reproducible zips plus extenshi-packages.json (sha256 per browser; refuses a placeholder Firefox add-on ID; --fix-war expands wildcard web_accessible_resources). `extenshi test smoke <zip|extenshi-packages.json> --browser chromium|edge|firefox --json` installs that exact zip and checks service worker/background start, manifest errors and console errors on popup/options pages (Playwright for Chromium/Edge, any Firefox binary). `extenshi test run <zip|extenshi-packages.json> --browser chromium|edge|firefox [--scenario <file>] --json` runs the scenarios of extenshi.tests.json against that exact zip and prints one extenshi.test-cell result (Firefox runs only open, wait, waitSettle and expectNoConsoleError so far). `extenshi test scenarios draft <package>` presses up to 6 labelled controls per extension page, writes the control inventory to .extenshi/recon.json and evidence-quoted scenarios to extenshi.tests.draft.json; `extenshi test scenarios prompt <package>` prints a brief from which a coding agent writes extenshi.tests.agent.json plus extenshi.tests.agent.md with a mandatory \"Not checked and why\" section; `extenshi test scenarios migrate` turns a scenes.json into extenshi.tests.json. Drafted and agent-written scenarios run as not written by the author (evidence required, no eval or init, destructive-looking controls refused) until the author copies them into extenshi.tests.json. `--evidence` on scan, review-risk, generate-listing, test smoke and screenshots records scan / permissions / listing (per locale) / installed / screenshots (per locale and store) evidence for the project bound with `extenshi project bind` (advisory listing findings stay passed and are listed in the evidence summary); release prepare accepts extenshi-packages.json. Scan requires an API key and spends 1 scan credit. CI: the scaffold writes .github/workflows/extenshi-verify.yml and extenshi-evidence.yml; CI-sourced evidence arrives through `extenshi evidence ingest` with the create_ci_ingest_secret secret.";
readonly urls: readonly [string, string, string];
}, {
readonly id: "publishing";
readonly purpose: "Store credential validation, submission of the exact tested package to Chrome Web Store, Firefox Add-ons and/or Edge Add-ons, and verification of review status and the public listing.";
readonly tools: readonly ["publish_extension"];
readonly access: string;
readonly urls: readonly [string, string, string, string, string];
}, {
readonly id: "maintenance";
readonly purpose: "Listing claims, finding responses, reviews and uninstall feedback, policy updates and ongoing releases.";
readonly tools: readonly ["get_reviews", "get_security", "get_project_state", "list_uninstall_responses", "list_feedback_responses"];
readonly access: "Catalog reads are metered. Ownership, declarations, responses, badges and feedback management live in the cabinet and depend on account access.";
readonly urls: readonly [string, string, string, string, string];
}, {
readonly id: "monetization";
readonly purpose: "Optional paid-feature integration: seller setup, offers, checkout, signed entitlements and purchase verification.";
readonly tools: readonly ["list_pay_apps", "create_pay_app", "get_pay_app", "get_pay_readiness", "get_pay_payment_evidence", "link_pay_app", "unlink_pay_app", "archive_pay_app", "export_pay_data", "get_pay_seller", "connect_pay_seller", "refresh_pay_seller", "set_pay_seller_profile", "upsert_pay_offer", "archive_pay_offer", "get_pay_offer_translations", "set_pay_offer_translations", "set_pay_enabled", "set_pay_trial", "rotate_pay_key", "get_license_terms_questionnaire", "draft_license_terms", "get_license_terms", "save_license_terms_draft", "request_license_terms_publication", "publish_license_terms", "verify_license_terms_live", "rollback_license_terms"];
readonly access: "Extenshi Pay is in beta. Authors can prepare the integration. Seller agreement acceptance and live payments are currently unavailable to third-party developers. Pay applications work independently of development projects. Explicit pay.read/pay.write permission is required; older connections and API keys have no Pay grant. The exceptions are get_license_terms_questionnaire and draft_license_terms: they need only project read access because they return the questions and an unsaved draft built from the answers in the call, not saved answers or Pay state. The saved terms are read with get_license_terms (pay.read) and saved with save_license_terms_draft (pay.write); the seller identity answers stay the owner’s. Publication goes through the owner: request_license_terms_publication returns an approval link, and the owner’s approval can also decide seller.terms. Only a developer key with the separate pay.legal.publish permission publishes directly (publish_license_terms, not on the hosted connector). verify_license_terms_live checks the page, the paywall links and the seller.terms decision; rollback_license_terms brings an earlier version back the same two ways. Readiness (get_pay_readiness) and the actual SDK distribution determine whether integration is possible. The author completes Stripe KYC in the browser. Registration does not prove production deployment or npm publication.";
readonly urls: readonly [string, "https://dojo.extenshi.io/payments"];
}, {
readonly id: "settings-storage";
readonly purpose: "Optional settings storage: @extenshi/storage keeps one record per key in chrome.storage on the device. Buyers of a license sold through Extenshi Pay can also turn on a cloud backup that restores their settings after a reinstall or in another browser.";
readonly tools: readonly [];
readonly access: "An npm package with no MCP tools; local storage needs no account. Cloud backup ships in @extenshi/storage 0.2.0 with @extenshi/pay 0.11.0, so check `npm view @extenshi/storage version` before offering it. It also needs a Pay application whose owner turned backup on in Dojo.";
readonly urls: readonly [string];
}];
/** Top-level sections of the full guide, selectable via the `sections` parameter. */
export declare const GUIDE_SECTIONS: readonly ["tools", "localActions", "services", "repository", "workflow", "buildMap", "handoff", "storeMedia"];
export type GuideSection = (typeof GUIDE_SECTIONS)[number];
declare function buildSections(registeredTools: readonly GuideTool[]): {
tools: {
docs: string[];
name: string;
description: string;
annotations: {
readOnlyHint?: boolean;
destructiveHint?: boolean;
};
}[];
localActions: {
name: string;
availableInThisConnection: boolean;
fallback: string;
docs: string;
}[];
services: ({
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "documentation";
purpose: "Capabilities, extension shapes, exact CLI commands and reusable skill packages.";
access: "Free reference; no API key. Hosted transport still requires connector sign-in.";
urls: readonly [string, string, string];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "account";
purpose: "Sign-in, API keys for local tools, credit-pool balances ahead of paid work and where a proposed change (a pending_approval response) stands.";
access: "Balance lookup and get_approval are free and require identity; get_approval reads only the signed-in account’s own proposals. Catalog reads and scans use credit pools.";
urls: readonly [string, "https://dojo.extenshi.io/api-keys", "https://dojo.extenshi.io/billing"];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "research";
purpose: "Demand, competitors, user complaints, permissions and existing security findings.";
access: "Identity required. Catalog tools cost 1 read per call; get_security costs 3. Bulk risk: up to 40 per call. Chrome review text is unavailable; its aggregate rating is available.";
urls: readonly [string, "https://catalog.extenshi.io"];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "projects";
purpose: "Existing projects: selected browser types, manifests, repository binding, saved tool state, hosted URLs and starter files.";
access: "The build map tools (get_build_map, show_build_map, report_build_step, set_build_module, request_build_review) exist on the local stdio server only, are free and need no key: they read and write .extenshi/build-map.json of the project directory (guide section buildMap). Own-project MCP reads are free and require identity. Projects are created in the cabinet or with create_project (idempotent, project.write). Owner decisions (AMO add-on id, license, seller identity, pricing, targets) are proposed by agents and decided only by the owner in the cabinet; release readiness reports undecided ones as blockers. Repository metadata, source/built manifests and scope synchronize through typed revisioned patches. project.write, evidence.write and hosted.write require explicit OAuth consent. Repository metadata does not grant GitHub access. CI evidence (source=ci) is written only by the verified ingest endpoint, which authenticates with a secret from create_ci_ingest_secret. Automated release-readiness access requires a Pro project.";
urls: readonly [string, "https://dojo.extenshi.io/projects", "https://dojo.extenshi.io/integrations"];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "manifest";
purpose: "Minimum permissions, target browsers and manifest entries, with every referenced file present.";
access: "Free template reference; project reads require identity. The cabinet also has a manifest editor.";
urls: readonly [string, string];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "localization";
purpose: "Translation of the extension’s own messages (local _locales files) and of the text stored on Extenshi: Pay offers, license terms, privacy policy, hosted pages and the landing page.";
access: "localize_workflow is a free static reference for the local _locales files only; local CLI validation requires no key or Extenshi credits, and translation uses the developer's own provider. Text stored on Extenshi is listed in get_project_state `localization`: every surface with missing and outdated counts per language and fixWith (its read and write tool); Pay surfaces need pay.read. Offer `features` are entitlement keys and stay untranslated.";
urls: readonly [string];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "icons";
purpose: "SVG icon design, toolbar-size preview and store-asset export with the local CLI.";
access: "Free. Drawing, browser preview and file export happen locally; the cabinet offers its own icon generator subject to availability and credits.";
urls: readonly [string, string];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "privacy";
purpose: "A policy that reflects actual data practices: generated and exported, or hosted with version history.";
access: "Hosted policy tools require an owned Pro project. Version reads spend no credit; AI updates have a per-project daily limit. publish_privacy_policy changes the live page. The browser generator supports export. The English policy (and Pay license terms) is the binding text at the base URL; translated copies for the project’s languages live at <url>/<locale> with a notice linking to the English original — Extenshi translates its template text, the developer translates edited sections and free-text answers with get_legal_translations / set_legal_translations.";
urls: readonly [string, string, string];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "onboarding";
purpose: "Welcome page, pin guide, install instructions, feedback form and uninstall survey, with verified URLs wired into the extension.";
access: "Free welcome-page specification and pin guide kit (generate_pin_guide: offline SVG, CSP-safe HTML and chrome.i18n captions in 11 languages for a welcome page bundled in the extension). Editing, hosting and responses live in the cabinet where enabled; account/project limits apply. MCP returns specifications and saved state, and publishes the install instructions page (free; hosted.write) — the uninstall form is created and the welcome page is edited in the cabinet. An existing uninstall survey is read, previewed and changed over MCP (list/get/preview_uninstall_form; update_uninstall_form with dryRun, expectedUpdatedAt and an idempotencyKey; hosted.write), keeping its URL and responses; each change is listed for the owner in Dojo. Its answers are read with list_uninstall_responses (project.read): newest first, filtered by version and date, with counts by reason and version and the uninstalls that reached the page; the email a person left is returned to an API key only. The feedback form (feedback.extenshi.io) is the same engine for users who still have the extension: it is created in the cabinet, opened from Options, the popup (\"Doesn’t work on this site?\" with `?cat=site_not_working#site=<hostname>`: the site goes in the URL fragment, which is never sent to a server, so it is transmitted only when the person presses Send; `?site=` still works for released extensions), the trial-ended screen or a rating nudge, reads only the parameters v, src, cat, browser, lang and site, and is read, previewed, changed (update_feedback_form, hosted.write) and its answers listed (list_feedback_responses, filters by category, source, version and date) over MCP; its link is FEEDBACK_FORM_URL in the integration config, and REVIEW_URLS holds the review pages of the published store listings. While get_project_state lists FEEDBACK_FORM_URL in integration.unwired the project has no form: offer one to the author (they create it in the cabinet; never invent the URL), then wire the openSnippet from get_feedback_form into Options and the popup. After a rename, find_brand_mentions lists every hosted field still holding the old name and the tool that fixes it; get_project_state reports the same on its own in `staleNames`: the project keeps every name it took (Dojo settings, import_manifest), so earlier names are searched without being asked for. The hosted uninstall form, welcome page and install instructions open in the user’s browser language (the generated snippets pass chrome.i18n.getUILanguage() as `hl`) when the project offers it, otherwise in the project’s own language: built-in text is translated by Extenshi (en + 10 languages); the developer’s own text is translated per field with get_page_translations / set_page_translations (identity; hosted.write to save).";
urls: readonly [string, string, string, string, string, string, string, string, string, string];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "listing-and-marketing";
purpose: "Listing copy, screenshots, landing page, support links and AI discovery assets.";
access: "The landing-page generator is free and offline: it returns static HTML (CLI: extenshi page generate). Schema v2 (schemaVersion 2) makes it a full homepage: ordered sections (hero, about, features, screenshots, how-it-works, pricing bound to Pay offers by SKU, FAQ with FAQPage JSON-LD, attributed testimonials only, store badges, changelog, links), theme tokens from allowlists, SEO/OG fields, per-locale pages with hreflang, and llms.txt — all declarative, no HTML or JS. draft_landing_page (project.read; CLI: extenshi page draft) builds a v2 form from project state and lists what it could not fill; preview_landing_page (CLI: extenshi page preview) validates and renders exactly what publish would serve, with a path and fix per problem. The same page can be hosted by Extenshi at page.extenshi.io/{code} with publish_landing_page (identity and hosted.write; CLI: extenshi page publish), which also registers it as the project homepage; every publish is a version (list_landing_page_versions / rollback_landing_page; CLI: extenshi page versions / rollback). A custom domain (Pro, one per project; set/verify/get/remove_custom_domain, CLI: extenshi domain add|verify|status|remove) serves the homepage at the domain root after a TXT ownership check and an HTTPS certificate, and switches its canonical and HOMEPAGE_URL; ownership is re-checked every 6 hours and a domain that loses its TXT record is suspended; images there are store screenshots, Dojo uploads or files uploaded with upload_project_media (hosted.write; CLI: extenshi media upload, or page publish --upload-local) to the project's public media store. Store screenshots per locale come from CLI extenshi screenshots and listing artwork from CLI extenshi icon store-assets (formats and sizes: guide section storeMedia). A page hosted elsewhere on HTTPS is registered with upsert_hosted_page (CLI: extenshi page register). The registered homepage feeds HOMEPAGE_URL. Listing copy and store-risk review are covered by CLI generate-listing / review-risk and cabinet tools where enabled. MCP has no listing or SEO execution tool.";
urls: readonly [string, string, string, string, string, string];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "verification-and-ci";
purpose: "Reproducible per-browser packages, installed smoke tests of the exact package in Chromium, Edge and Firefox, store-risk review, final package scan, and release evidence recorded from those results.";
access: "Local CLI, free: `extenshi package <dir> --browser chrome,edge,firefox` writes byte-reproducible zips plus extenshi-packages.json (sha256 per browser; refuses a placeholder Firefox add-on ID; --fix-war expands wildcard web_accessible_resources). `extenshi test smoke <zip|extenshi-packages.json> --browser chromium|edge|firefox --json` installs that exact zip and checks service worker/background start, manifest errors and console errors on popup/options pages (Playwright for Chromium/Edge, any Firefox binary). `extenshi test run <zip|extenshi-packages.json> --browser chromium|edge|firefox [--scenario <file>] --json` runs the scenarios of extenshi.tests.json against that exact zip and prints one extenshi.test-cell result (Firefox runs only open, wait, waitSettle and expectNoConsoleError so far). `extenshi test scenarios draft <package>` presses up to 6 labelled controls per extension page, writes the control inventory to .extenshi/recon.json and evidence-quoted scenarios to extenshi.tests.draft.json; `extenshi test scenarios prompt <package>` prints a brief from which a coding agent writes extenshi.tests.agent.json plus extenshi.tests.agent.md with a mandatory \"Not checked and why\" section; `extenshi test scenarios migrate` turns a scenes.json into extenshi.tests.json. Drafted and agent-written scenarios run as not written by the author (evidence required, no eval or init, destructive-looking controls refused) until the author copies them into extenshi.tests.json. `--evidence` on scan, review-risk, generate-listing, test smoke and screenshots records scan / permissions / listing (per locale) / installed / screenshots (per locale and store) evidence for the project bound with `extenshi project bind` (advisory listing findings stay passed and are listed in the evidence summary); release prepare accepts extenshi-packages.json. Scan requires an API key and spends 1 scan credit. CI: the scaffold writes .github/workflows/extenshi-verify.yml and extenshi-evidence.yml; CI-sourced evidence arrives through `extenshi evidence ingest` with the create_ci_ingest_secret secret.";
urls: readonly [string, string, string];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "publishing";
purpose: "Store credential validation, submission of the exact tested package to Chrome Web Store, Firefox Add-ons and/or Edge Add-ons, and verification of review status and the public listing.";
access: string;
urls: readonly [string, string, string, string, string];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "maintenance";
purpose: "Listing claims, finding responses, reviews and uninstall feedback, policy updates and ongoing releases.";
access: "Catalog reads are metered. Ownership, declarations, responses, badges and feedback management live in the cabinet and depend on account access.";
urls: readonly [string, string, string, string, string];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "monetization";
purpose: "Optional paid-feature integration: seller setup, offers, checkout, signed entitlements and purchase verification.";
access: "Extenshi Pay is in beta. Authors can prepare the integration. Seller agreement acceptance and live payments are currently unavailable to third-party developers. Pay applications work independently of development projects. Explicit pay.read/pay.write permission is required; older connections and API keys have no Pay grant. The exceptions are get_license_terms_questionnaire and draft_license_terms: they need only project read access because they return the questions and an unsaved draft built from the answers in the call, not saved answers or Pay state. The saved terms are read with get_license_terms (pay.read) and saved with save_license_terms_draft (pay.write); the seller identity answers stay the owner’s. Publication goes through the owner: request_license_terms_publication returns an approval link, and the owner’s approval can also decide seller.terms. Only a developer key with the separate pay.legal.publish permission publishes directly (publish_license_terms, not on the hosted connector). verify_license_terms_live checks the page, the paywall links and the seller.terms decision; rollback_license_terms brings an earlier version back the same two ways. Readiness (get_pay_readiness) and the actual SDK distribution determine whether integration is possible. The author completes Stripe KYC in the browser. Registration does not prove production deployment or npm publication.";
urls: readonly [string, "https://dojo.extenshi.io/payments"];
} | {
toolsInThisConnection: ("list_pay_apps" | "create_pay_app" | "get_pay_app" | "get_pay_readiness" | "get_pay_payment_evidence" | "link_pay_app" | "unlink_pay_app" | "archive_pay_app" | "export_pay_data" | "get_pay_seller" | "connect_pay_seller" | "refresh_pay_seller" | "set_pay_seller_profile" | "upsert_pay_offer" | "archive_pay_offer" | "get_pay_offer_translations" | "set_pay_offer_translations" | "set_pay_enabled" | "set_pay_trial" | "rotate_pay_key" | "get_development_guide" | "search_docs" | "get_skill" | "list_extension_templates" | "get_credit_balance" | "connection_diagnostics" | "get_approval" | "search_extensions" | "get_extension" | "get_reviews" | "get_security" | "get_risk_by_store_ids" | "market_overview" | "list_my_projects" | "create_project" | "get_project_state" | "get_project_scaffold" | "get_decisions" | "propose_decision" | "set_store_listing" | "get_project_workspace" | "import_manifest" | "diff_project_state" | "apply_project_patch" | "record_project_evidence" | "create_ci_ingest_secret" | "upsert_hosted_page" | "verify_hosted_artifact" | "remove_hosted_page" | "list_hosted_pages" | "get_release_readiness" | "get_build_map" | "show_build_map" | "report_build_step" | "set_build_module" | "request_build_review" | "localize_workflow" | "get_legal_translations" | "set_legal_translations" | "get_page_translations" | "set_page_translations" | "generate_icon_workflow" | "list_privacy_policy_versions" | "get_privacy_policy_version" | "update_privacy_policy_with_ai" | "publish_privacy_policy" | "generate_welcome_page_workflow" | "generate_pin_guide" | "get_install_instructions" | "publish_install_instructions" | "unpublish_install_instructions" | "list_uninstall_forms" | "get_uninstall_form" | "update_uninstall_form" | "get_uninstall_offer" | "update_uninstall_offer" | "preview_uninstall_form" | "list_uninstall_responses" | "list_feedback_forms" | "get_feedback_form" | "update_feedback_form" | "preview_feedback_form" | "list_feedback_responses" | "find_brand_mentions" | "generate_landing_page" | "draft_landing_page" | "preview_landing_page" | "publish_landing_page" | "get_landing_page" | "list_landing_page_versions" | "rollback_landing_page" | "unpublish_landing_page" | "get_custom_domain" | "set_custom_domain" | "verify_custom_domain" | "remove_custom_domain" | "upload_project_media" | "scan_extension" | "publish_extension" | "get_license_terms_questionnaire" | "draft_license_terms" | "get_license_terms" | "save_license_terms_draft" | "request_license_terms_publication" | "publish_license_terms" | "verify_license_terms_live" | "rollback_license_terms")[];
id: "settings-storage";
purpose: "Optional settings storage: @extenshi/storage keeps one record per key in chrome.storage on the device. Buyers of a license sold through Extenshi Pay can also turn on a cloud backup that restores their settings after a reinstall or in another browser.";
access: "An npm package with no MCP tools; local storage needs no account. Cloud backup ships in @extenshi/storage 0.2.0 with @extenshi/pay 0.11.0, so check `npm view @extenshi/storage version` before offering it. It also needs a Pay application whose owner turned backup on in Dojo.";
urls: readonly [string];
})[];
repository: {
recommendation: string;
setup: string;
layout: string[];
practice: string;
docs: string[];
};
workflow: readonly [{
readonly id: "scope";
readonly actions: "Stage 1 — Scope: the user problem, target sites and browsers, MVP, permissions/data needs, acceptance criteria, distribution and optional monetization are written down. Deferred features stay out of release promises.";
readonly relatedTools: readonly ["get_development_guide", "search_docs"];
readonly doneWhen: "A written scope and acceptance checklist cover implementation, testing, assets, release and maintenance.";
}, {
readonly id: "research";
readonly actions: "Stage 2 — Research (optional): demand, competitors, user complaints and security findings for a small relevant set of existing extensions; gaps and constraints are recorded. Catalog reads are metered, so the credit balance matters here.";
readonly relatedTools: readonly ["get_credit_balance", "search_extensions", "market_overview", "get_extension", "get_reviews", "get_security", "get_risk_by_store_ids"];
readonly doneWhen: "The chosen feature and supported surfaces have evidence; skipped research is recorded as skipped with a reason.";
}, {
readonly id: "project-and-repository";
readonly actions: "Stage 3 — Project and repository: an existing dojo project and its bound repository are reused. Without a project, one is created in dojo where available, or work continues locally with integration recorded as pending. A Git remote (GitHub preferred) exists before substantial implementation.";
readonly relatedTools: readonly ["list_my_projects", "get_project_state"];
readonly doneWhen: "Project ID (or explicit pending status), repository URL, branch, README, build commands and release checklist are recorded.";
}, {
readonly id: "architecture-and-scaffold";
readonly actions: "Stage 4 — Architecture and scaffold: extension types, minimum permissions and browser-specific files are chosen. A new project gets one scaffold per browser in separate outputs; an existing repository keeps its code. Tool states are read only for the keys the extension needs. get_project_state returns integration.file, the content for integration.path, and integration.unwired, which lists what is still unconnected; the repository changes only when the author asks for them.";
readonly relatedTools: readonly ["list_extension_templates", "get_project_scaffold", "get_project_state"];
readonly doneWhen: "Each manifest references real packaged files; browser variants and the project integration contract are preserved.";
}, {
readonly id: "implementation";
readonly actions: "Stage 5 — Implementation: the MVP, accessible popup/options, settings storage (@extenshi/storage) and error handling, tested on the actual target sites and across the extension lifecycle, including service-worker restart and permission denial. Localization covers message translation, structural validation and manual language/RTL review. Payments or user accounts depend on a verified supported integration with its prerequisites complete.";
readonly relatedTools: readonly ["localize_workflow"];
readonly doneWhen: "Acceptance criteria pass on real target surfaces; optional integrations have end-to-end evidence or remain explicit blockers.";
}, {
readonly id: "assets-and-hosted-pages";
readonly actions: "Stage 6 — Assets and hosted pages: icon, welcome page, screenshots, pin/install instructions, privacy policy, uninstall feedback, support and landing URLs. A landing page is generated as static HTML and either hosted by Extenshi (page.extenshi.io, or the project's custom domain root) or on any HTTPS origin; it is registered as the project homepage, which sets HOMEPAGE_URL. The homepage is drafted from project state (draft_landing_page), checked with preview_landing_page, published as a version and can be rolled back. An existing Pro policy is updated as a reviewed proposal (proposedMarkdown) and published within the author's authorization. Returned URLs are verified against project state.";
readonly relatedTools: readonly ["generate_icon_workflow", "generate_welcome_page_workflow", "generate_pin_guide", "generate_landing_page", "draft_landing_page", "preview_landing_page", "publish_landing_page", "set_custom_domain", "verify_custom_domain", "upload_project_media", "upsert_hosted_page", "list_privacy_policy_versions", "get_privacy_policy_version", "update_privacy_policy_with_ai", "publish_privacy_policy", "get_project_state"];
readonly doneWhen: "Assets show the real product; hosted links load and match actual data practices; installation/uninstallation flows work.";
}, {
readonly id: "localization";
readonly actions: "Stage 7 — Server-side localization: text stored on Extenshi is translated into the project's languages (manifest translations plus the targetLocales decision): Pay offer titles and descriptions, license terms, privacy policy, hosted uninstall surveys, welcome pages and install instructions, and the landing page's locale pages. get_project_state `localization` lists each surface with missing and outdated counts per language and fixWith, the read and write tool that close the gap; `next` names the largest one. get_release_readiness reports the same as the non-blocking TRANSLATIONS_INCOMPLETE warning, get_pay_readiness as offer_translations, and every write that changes source text returns followUps. Offer `features` are entitlement keys the SDK checks and stay untranslated; localized paywall bullets come from the extension's own _locales through showPaywall({ features }). localize_workflow covers only the local _locales files.";
readonly relatedTools: readonly ["get_project_state", "get_pay_offer_translations", "set_pay_offer_translations", "get_legal_translations", "set_legal_translations", "get_page_translations", "set_page_translations", "get_landing_page", "publish_landing_page", "get_pay_readiness", "get_release_readiness", "localize_workflow"];
readonly doneWhen: "get_project_state `localization.complete` is true, or each remaining gap is recorded as deliberately left in the original language.";
}, {
readonly id: "quality-and-listing";
readonly actions: "Stage 8 — Quality and listing: each browser package is built reproducibly (CLI package), and that exact zip is installed and smoke-tested per browser (CLI test smoke); unit/integration checks run, and browser scenarios run against that zip (CLI test run on extenshi.tests.json, drafted with CLI test scenarios draft or prompt). Disclosures, permission justifications, listing copy and screenshots are reviewed against the build (CLI review-risk and generate-listing --store chrome|edge|firefox, which draft CHROMEWEBSTORE.md / EDGE.md / AMO.md — the same listing draft review-risk --listing reads back regardless of which one). A Firefox build with minified/bundled code additionally needs extenshi amo-source (source archive + BUILD.md) and a clean `web-ext lint`. With --evidence, scan, review-risk, generate-listing, test smoke and screenshots record their release evidence for the bound project; the final package is scanned. Exact commands: the CLI docs. CI runs the scaffolded extenshi-verify workflow.";
readonly relatedTools: readonly ["search_docs", "scan_extension", "get_release_readiness"];
readonly doneWhen: "The exact versioned artifact has passing checks, retained scan/review reports and truthful store materials; unresolved findings have a disposition.";
}, {
readonly id: "release";
readonly actions: "Stage 9 — Release: store accounts, credentials and submission access are verified; a validate-only run precedes submission where available. The tested artifact is submitted within the user's publishing authorization through local MCP, CLI or the store console. Upload, submission, approval and public-listing status are recorded separately.";
readonly relatedTools: readonly ["publish_extension"];
readonly doneWhen: "Store status and installed version are verified; pending store review is reported as pending, with artifact and source commit recorded.";
}, {
readonly id: "operate";
readonly actions: "Stage 10 — Operate: catalog listing claim, declarations and security badge, findings and uninstall feedback, optional purchase/license flow checks, and planned updates. Later versions repeat the build, review, scan, policy and release checks.";
readonly relatedTools: readonly ["get_reviews", "get_security", "get_project_state"];
readonly doneWhen: "A handoff records repository/commit, artifacts, URLs, checks, remaining blockers, support owner and follow-up work.";
}];
buildMap: {
readonly what: "A local page served by @extenshi/cli on 127.0.0.1: the build steps of the extension, from the idea to the live store listing, with the dependencies between them. Each step is done, in progress, waiting on the author, blocked by an unfinished step, or not needed for this extension. Steps waiting on the author (icon choice, approval of listing copy and screenshots, store accounts, submission) are counted in the header and open from there.";
readonly forTheAuthor: "One page shows what is done, what an agent is working on and where a decision is needed, instead of a long chat; visual choices such as the icon are compared there side by side. The page runs on the author’s machine, reads the project locally and works without an account.";
readonly commands: {
readonly open: "npx @extenshi/cli@latest map: starts the map server of the project when none runs and opens the page; with the page already open in a tab, no second tab opens.";
readonly status: "npx @extenshi/cli@latest map status --json: progress, steps waiting on the author, steps in progress and steps that can start now; starts nothing.";
readonly decline: "npx @extenshi/cli@latest map decline: records that the author declined the map.";
readonly stop: "npx @extenshi/cli@latest map stop: stops the server; the next start reuses its port, so open tabs and links keep working.";
readonly stepLink: "<map url>#node=<step id> opens one step, for example #node=iconConcepts.";
readonly step: "npx @extenshi/cli@latest map step <step> start|progress|done|stop --agent <label>: an agent reports on a step; `done` closes the current task, and --file proof is hashed into the evidence journal. Refused while the inputs of the step are not done.";
readonly review: "npx @extenshi/cli@latest map review <step> --variant \"<label>=<preview file>\" (1–8, --image for thumbnails): offers the author variants to choose from on the map (iconConcepts, screenshots, listing) and prints the link to the step.";
readonly wait: "npx @extenshi/cli@latest map wait <step>: waits until the author picks a variant or asks for another round, then prints the answer (--json, --timeout).";
readonly update: "npx @extenshi/cli@latest map update: restarts the running map on that release when it is newer (newer steps or a later version); the page reloads by itself and the progress stays.";
readonly choose: "npx @extenshi/cli@latest map choose <step> <variant> | --redo \"<what to change>\": records the author’s answer given in the chat.";
readonly set: "npx @extenshi/cli@latest map set features.<module> on|off|auto: records the author’s answer about an optional module (local stdio server: set_build_module); the author confirms the set on the map.";
};
readonly modules: "Optional modules (analytics, uninstall, feedback, i18n, monetization, onboarding, promo, research, ci) are chosen on the Modules step. Each shows where its value comes from: the author’s choice, the code, a Dojo decision, or a default. A default is not a recommendation and is shown as not confirmed; analytics is off by default. Every module lists the steps it adds, the data that leaves the device and what changes in the privacy policy and store forms. The steps of a module stay locked (waitsOn) until the author confirms the set on the map; an agent records the author’s answers with `map set` and never confirms for them.";
readonly needsYou: "needsYou in `map status --json` and get_build_map is a list of questions, one per step waiting on the author: question, about, options with their current values, current, answer (map, dojo or chat), url or link, record (how an agent records the answer) and blocks (the steps it holds up). Put each one to the author in the same reply that reports the status, one question at a time, with a recommendation.";
readonly oneMapPerProject: "A project has exactly one map and one map server, however many agents work on it. The map lives in the main checkout: from a linked git worktree the CLI resolves the same directory in the main working tree, so every agent and every worktree reads the same .extenshi/build-map.json and reaches the same server. Running `map` again, from any terminal, agent or worktree, returns the server already running; simultaneous starts end with one server.";
readonly progress: "Statuses are derived on every read, not stored: from the project files in the main checkout (manifest and the files it names, icons, builds, packages, the store folder, CI workflows); from the Dojo project the directory is bound to (owner decisions, and release evidence and readiness gates while the map server runs with an API key, refreshed every minute); and from .extenshi/build-map.json, which holds per-step progress, reviews, the offer record, the evidence journal and a log. Work on an agent branch appears once it is in the main checkout. Agents report on steps with `map step` (local stdio server: report_build_step), and the state file is written under .extenshi/build-map.lock.";
readonly reviews: "Visual choices (iconConcepts, screenshots, listing) are made on the map: the agent offers 1–8 variants, each a preview page or image inside the project or an https address (an `npx @extenshi/cli icon preview` page fits icons), with `map review` (request_build_review). The step then waits on the author, who opens each preview, picks one, or says what to change for another round. `map wait` returns the answer; get_build_map shows it under reviews. A pick that differs from an earlier one sends the steps built from the old pick back to run again. An agent never makes the pick for the author.";
readonly offer: "Offering the map is part of the workflow; using it is the author’s choice. On an existing project the offer comes in the first reply about working on it, also when that reply recommends next steps; on a new idea, right after the idea is clear. It is one yes/no question in the author’s language that ends the reply, separate from any list of suggestions rather than one of them, and after a yes the agent runs the command itself rather than handing it to the author. The server starts only after a yes. After a no, the map comes up once more at the first visual choice (usually the icon), and after a second no it is not offered again. The answer is recorded in .extenshi/build-map.json (offer: count, acceptedAt, declinedAt): `map` records a yes and `map decline` a no, so a later agent session reads the answer instead of asking again.";
readonly skills: "Steps name the published agent skills that hold the instructions for their work: the foundation steps name extension-planning, the scaffold and manifest extension-scaffold, the service worker, pages and unit tests extension-surfaces, icon steps extension-icon-design, permissions and listing copy extension-store-readiness, builds, screenshots and the browser matrix extension-testing, localization extension-localization, niche research and the pricing comparison extension-market-research, the data inventory, policy and declarations extension-compliance, the scan, its fixes and CI extension-security-scan, analytics and errors extension-analytics, the welcome page, uninstall survey and feedback form extension-onboarding-feedback, payments extension-paywall, packaging and store submission extension-release. `map status --json` and get_build_map list them under skills (steps: step id → skill names; index: name → what it teaches and the url of its SKILL.md), and `map step <step> start` (report_build_step with state start) answers with the skills of that step. An agent loads them before working on the step: the installed copy when the client has one (the Extenshi plugin ships them all), otherwise the SKILL.md at the url. Only the three store account steps name none: the author registers those accounts.";
readonly versions: "A running map keeps the @extenshi/cli release it started with. It asks npm for a newer one every few minutes, and every CLI or MCP call tells it the steps revision that program knows; while a newer release is out, the page shows an Update button. get_build_map carries map {version, graph} and, when the map and the agent differ or a newer release is out, update: one sentence on what to do. The switch is best made when no choice waits on the author; the new server takes the same port, the page reloads and the progress in .extenshi/build-map.json stays.";
readonly withoutTheMap: "Everything also works in chat: previews are linked there, the author answers there, and the agent records the answer with `map choose` (report_build_step with choice or redo). The state file is kept either way, so a map opened later shows the whole history.";
readonly localServerField: "On the local stdio server, create_project and get_project_state carry buildMap {next, running, url (while running), offered, declined, offers, home} for projectDir (default: the server’s working directory); next is one sentence on the step the offer is at (ask, reopen, once more at the first visual choice, or not again), and buildMap comes first in the answer while it has one. get_build_map, report_build_step and request_build_review read and write the map. show_build_map draws it in the conversation of a client that shows MCP Apps (Claude), where the author answers too. The hosted connector has no access to the author’s files and has none of these: its buildMap.note says where the repository keeps the offer record, and there the map opens from a terminal on the author’s machine.";
readonly docs: `${string}#extenshi-map`;
};
storeMedia: {
readonly screenshots: {
readonly command: "npx @extenshi/cli@latest screenshots <unpacked-dir|zip> --scenes scenes.json [--locales en,de] [--store chrome,edge,firefox] [--small] [--out store-screenshots] [--json] [--evidence --listing <file> [--evidence-browser chrome,edge,firefox]]";
readonly requires: "Playwright with the full Chromium build in the project (npm i -D playwright && npx playwright install chromium); the headless shell cannot load extensions. The source build is never modified: it is staged into a temporary copy.";
readonly output: "<out>/<store>/<locale>/NN-<scene>-WxH.png, plus <out>/screenshots.json (files with sha256, verified locales, warnings).";
readonly evidence: "--evidence records one `screenshots` readiness check per shot locale and store (the store is the browser) for the project bound with `extenshi project bind`, through the same path as `extenshi evidence push`. It binds to the zip that was shot (artifactDigest; an unpacked folder is refused) and to the --listing file (inputDigest — pass the same file to release prepare --listing). The browsers are --store when given, else the extenshi-packages.json next to the zip, and each must be a store the run shoots. A store whose listing file differs (AMO.md for Firefox) needs its own run with --store and that file. Status is failed when a store and locale have no screenshots or more than the store takes (Chrome 5, Edge 6). Binding, zip and listing are checked before Chromium starts. Each record carries the PNGs of that store for the locale as attachments in the private evidence storage of the project (the evidence push --attach upload: 10 MB per file, 20 per record); identical images upload once, and uploading needs a connection.";
readonly localeSwitching: "Each locale runs in a fresh Chromium with its UI language set (--lang; LANGUAGE on Linux; -AppleLanguages on macOS, where --lang has no effect). chrome.i18n inside the extension has to report the locale and render a message from _locales/<locale>; a mismatch fails the run. A locale missing from _locales is refused.";
readonly determinism: "Fixed viewport and device scale factor, reduced motion, animations/transitions/caret disabled, UTC timezone, optional fixed clock (time), fonts and images awaited before capture, store canvas composed by a WebAssembly renderer. Identical inputs produce byte-identical PNGs on the same machine.";
readonly sizes: {
readonly chrome: "1280×800 (default) or 640×400 with --small; full bleed; 1–5 per locale — https://developer.chrome.com/docs/webstore/images";
readonly edge: "1280×800 or 640×480 with --small; up to 6 — https://learn.microsoft.com/en-us/microsoft-edge/extensions/publish/publish-extension";
readonly firefox: "1280×800 recommended (1.6:1), uploaded as AMO previews — https://extensionworkshop.com/documentation/develop/create-an-appealing-listing/";
};
readonly scenesFormat: {
readonly example: {
readonly version: 1;
readonly viewport: {
readonly width: 1280;
readonly height: 800;
};
readonly deviceScaleFactor: 2;
readonly fixtures: "fixtures";
readonly frame: {
readonly background: "#eef2ff";
readonly backgroundTo: "#e0e7ff";
readonly margin: 48;
readonly shadow: true;
readonly radius: 12;
};
readonly setup: readonly [{
readonly storage: {
readonly area: "local";
readonly set: {
readonly onboarded: true;
};
};
}];
readonly scenes: readonly [{
readonly name: "popup";
readonly open: "popup";
readonly steps: readonly [{
readonly click: "#enable";
}, {
readonly wait: 300;
}];
}, {
readonly name: "on-a-page";
readonly open: "fixture:article.{locale}.html";
readonly steps: readonly [{
readonly mouse: {
readonly x: 640;
readonly y: 330;
};
}];
}, {
readonly name: "options";
readonly open: "options";
readonly crop: {
readonly selector: "main";
readonly padding: 24;
};
}];
};
readonly open: "popup | options (from the manifest) | page:<path inside the extension> | fixture:<file under fixtures, served from 127.0.0.1> | url:https://…. {locale} and {lang} expand to the _locales code (pt_BR) and BCP 47 tag (pt-BR).";
readonly steps: "click <selector>, hover <selector>, type <selector> + text, press <key>, mouse {x,y}, scroll {x?,y}, wait <ms up to 30000>, waitFor <selector> (+state), storage {area: local|sync|session, set?, remove?, clear?} in the extension context, eval <JS expression> in the scene page.";
readonly sceneOptions: "viewport, colorScheme (light|dark), init (JS before the page scripts, e.g. stubbing chrome.tabs.query for a popup opened as a tab), crop (viewport | content — default for popup | fullPage | {selector, padding}), fit (contain — centered on the frame, not magnified past its captured pixels | cover), frame, stores (subset).";
readonly fileOptions: "viewport (default 1280×800), deviceScaleFactor (1–3), colorScheme, time (ISO date for Date.now), fixtures (dir, default the scenes file dir), animations (disabled|allow), frame {background, backgroundTo, margin, shadow, radius}, setup (steps run once per locale before the scenes), scenes (1–12).";
};
};
readonly storeAssets: {
readonly command: "npx @extenshi/cli@latest icon store-assets <icon.svg|png> [--store chrome,edge,firefox] [--out store-assets] [--background <color>] [--promo <file>] [--marquee <file>] [--font <file.ttf>]";
readonly outputs: {
readonly chrome: "icon-128.png (96×96 artwork + 16 px transparent padding), promo-small-440x280.png (required), marquee-1400x560.png — https://developer.chrome.com/docs/webstore/images";
readonly edge: "logo-300x300.png (1:1, min 128), promo-small-440x280.png, promo-large-1400x560.png — https://learn.microsoft.com/en-us/microsoft-edge/extensions/publish/publish-extension";
readonly firefox: "icon-128.png (AMO listing icon; AMO derives 32/64), icon-64.png and icon-32.png (manifest icons) — https://mozilla.github.io/addons-server/topics/api/addons.html#addon-icon";
};
readonly notes: "Offline WebAssembly renderer, no API key. Built-in padding in the source is trimmed rather than doubled. Tiles are composed from the icon on a tint of its colour unless --promo / --marquee artwork is given; clipped content, wrong aspect ratios and upscaled rasters are reported as warnings. <style> blocks in SVG sources are removed by the scrubber; text uses matching system fonts or --font.";
};
readonly publicMedia: {
readonly tool: "upload_project_media (hosted.write)";
readonly cli: "npx @extenshi/cli@latest media upload <file…> --project <id>, or page publish --upload-local";
readonly accepts: "PNG, JPEG or WebP up to 2 MB, 16–4096 px per side; SVG is rasterized by the CLI (the MCP tool refuses it). Magic bytes are checked, EXIF/XMP/text metadata and trailing bytes are stripped, and the key is the SHA-256 of the stored bytes, so the URL is stable and a re-upload returns the same URL. Quota: 100 files / 50 MB per project, Dojo uploads included.";
readonly use: "The returned url is accepted by publish_landing_page as screenshots[].url, a screenshots section item url, seo.ogImageUrl or logoUrl.";
};
};
handoff: string[];
};
export type GuideSections = ReturnType<typeof buildSections>;
/** Normalise a caller's `sections` argument: unknown ids are dropped, `all` expands. */
export declare function resolveGuideSections(requested?: readonly string[]): GuideSection[];
/**
* Build the guide. With no `sections`, returns the compact overview: tool names,
* workflow stage ids with exit criteria, and a table of contents. Listed
* sections (or `all`) are returned in full.
*/
export declare function buildDevelopmentGuide(registeredTools: readonly GuideTool[], requested?: readonly string[]): {
schemaVersion: 2;
documentation: string;
availability: string;
} & Partial<GuideSections> & Record<string, unknown>;
export {};
//# sourceMappingURL=development-guide.d.ts.map