@typeroll/mcp-server 0.45.21 → 0.45.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/AGENTS.md CHANGED
@@ -7,6 +7,14 @@ what tools to reach for first.
7
7
  If anything below conflicts with what you observe in the tools, trust the
8
8
  tools — the platform may have moved since this was written.
9
9
 
10
+ **Keep context proportional.** Compact connections expose search_tools,
11
+ describe_tool and separate call_read_tool/call_write_tool/call_admin_tool wrappers.
12
+ Discover the specific tool, read its schema, then call it. Use read_guide with
13
+ sections_only=true and section=<id> rather than loading this whole guide at every
14
+ session. Full mode retains named tools. Load only relevant recipes and app guides.
15
+ The local agent-neutral workspace is project intent, not the generated publishing
16
+ repository; current CMS content remains authoritative.
17
+
10
18
  **Start here for site-shaped tasks.** When the user wants to build,
11
19
  migrate, redesign, or brand a site, call `list_skills` first — the server
12
20
  advertises its own step-by-step playbook (`tr-new-site`, `tr-migrate-wp`,
@@ -1099,3 +1107,43 @@ automatically publish. `read_owner_answers` and `override_owner_answers` provide
1099
1107
  revision-bound, reason-audited administrative correction; a rejected import is not
1100
1108
  permission to override an owner. An app must require the owner-fields descriptor's
1101
1109
  `review_ready` before issuing a visitor editing link.
1110
+
1111
+
1112
+ ## Explicit app release activation (next release)
1113
+
1114
+ `read_extension_installation` exposes a pending migration release and its
1115
+ manifest separately from the currently resolved release. Review app migration
1116
+ instructions, required configuration and provider trust before calling
1117
+ `activate_extension_release`. This updates only that installation's runtime
1118
+ selection, immediately; it does not deploy the site or grant omitted scopes.
1119
+ Publish separately when the app setup and page changes are ready. Installation
1120
+ configuration is site-wide, not isolated by a content branch.
1121
+
1122
+ Preview-version content writes cannot mark main for automatic publication.
1123
+ Passing a branch to content tools does not scope independent installation or
1124
+ site-level operations. Never call a production deploy merely to refresh preview.
1125
+
1126
+ Owner-review notification `accepted` means the provider accepted a message, not
1127
+ that it arrived. `delivery_status` reflects later provider events; `sending` with
1128
+ unknown acceptance requires an audited recovery decision, never a timed resend.
1129
+ Immutable keyed-array identifiers remain in owner descriptors with read_only;
1130
+ retain their values while changing permitted leaves, and never invent replacement
1131
+ IDs to bypass write authority.
1132
+
1133
+ ### Candidate menu and batch-source capabilities
1134
+
1135
+ In the next Core release, `core/navigation_menu` has two block slots: desktop/shared
1136
+ and optional mobile override. Empty mobile content reuses the default tree;
1137
+ nonempty mobile content can have an entirely different composition. Inspect the
1138
+ registry before writing. `collapse_below` controls behavior at 576/768/1024 (or
1139
+ never), not the shared 640/1024/1280/1536 presentation map. Use
1140
+ `core/navigation_links` inside block groups or footers. Article cards expose typed
1141
+ image height, title metrics, padding, radius, horizontal media and secondary
1142
+ actions; a secondary action disables the whole-card target. Source fidelity still
1143
+ requires the complete `tr-migration-evidence` census and matching state coverage.
1144
+
1145
+ Batch page writes accept `answer_sources` on each operation beside `patch` and
1146
+ `save`, using the single-page source metadata schema. Only `source_url` and
1147
+ `import_run_id` may be supplied; identity/authority is assigned by Core. Keyed
1148
+ paths such as `programs/@stable~1a/online` survive batch save. Imported evidence
1149
+ never authorizes overwriting an existing owner answer.
package/README.md CHANGED
@@ -81,11 +81,12 @@ client using it stops working immediately.
81
81
  For a self-hosted portal, point `TYPEROLL_API_URL` at it (e.g.
82
82
  `https://cms.example.com`).
83
83
 
84
- For the optional Claude Code scaffold, run `npx @typeroll/mcp-server init` in your project
85
- folder — it writes/merges this `.mcp.json`, copies the skills into
86
- `.claude/skills/`, and adds an `AGENTS.md` pointer + imagegen-lab
87
- files. Idempotent; `--force` to overwrite. (Skills only:
88
- `npx @typeroll/mcp-server install-skills .claude/skills`.)
84
+ For an optional agent-neutral workspace, run
85
+ `npx @typeroll/mcp-server init ./my-site`. It creates project instructions,
86
+ briefs, decisions and QA files. Local client configuration is opt-in with
87
+ `--client claude|cursor|vscode`; recipes are opt-in with `--recipes`.
88
+ Use `--update` to upgrade unchanged generated files while preserving edits.
89
+ See [Agent workspace](https://typeroll.com/docs/getting-started/agent-workspace/).
89
90
 
90
91
  3. **Tell the agent what kind of work you want.** A good first message:
91
92
 
@@ -132,7 +133,8 @@ the complete schema, compatibility, origin and asset-hash validation.
132
133
  The package ships [AGENTS.md](./AGENTS.md), a self-contained briefing
133
134
  that explains Typeroll conventions, common operations, and the safety
134
135
  boundaries an agent needs to respect. Point your agent at it or use the
135
- `read_guide` tool. Follow the client’s own instructions for loading local recipes.
136
+ `read_guide` tool with `sections_only: true`, then request relevant sections.
137
+ Follow the client’s own instructions for loading local recipes.
136
138
 
137
139
  ## Tool surface
138
140
 
@@ -141,11 +143,9 @@ the full reference + concrete operation recipes.
141
143
 
142
144
  - **Skills + guide (self-describing playbook)** — `read_guide`,
143
145
  `list_skills`, `read_skill`. The server advertises its own operating
144
- guide AND bundled recipes at runtime, so an agent gets the full context
145
- on connection without any files copied locally. `read_guide` returns the
146
- whole AGENTS.md briefing (data model, conventions, safety, tool families)
147
- — the bridge for the hosted connector, which can't read the file off
148
- disk. `list_skills` then surfaces the task recipes (`tr-new-site`,
146
+ guide and bundled recipes at runtime without requiring local copies.
147
+ `read_guide` supports a section index and individual sections; use the full
148
+ manual only when the task needs it. `list_skills` then surfaces the task recipes (`tr-new-site`,
149
149
  `tr-migrate-wp`, `tr-brand`, `tr-responsive`, …); `read_skill name=…`
150
150
  loads one. All pure local reads — no API key or site context — so they
151
151
  work identically on the hosted connector and over stdio.
@@ -293,3 +293,18 @@ documented in [`docs/v1-api.md`](../../docs/v1-api.md).
293
293
  MIT — see [LICENSE](../../LICENSE).
294
294
 
295
295
  Use `read_app_documentation` to discover instructions for the selected site’s enabled modules and Extensions. Private app guides are fetched only for enabled installations using the provider’s authenticated documentation contract; they are not bundled in MCP. Generic discovery requires Core 0.2.8; protected guides require the app-separation release.
296
+
297
+ ## Agent workspace and compact discovery
298
+
299
+ MCP 0.45.23 introduces an agent-neutral `typeroll init` workspace, optional
300
+ client adapters, safe hash-based `init --update`, and read-only `typeroll doctor`.
301
+ Use `workspace-mcp` to bind local calls to `typeroll.json`; no credentials are
302
+ stored there. Recipes are optional rather than automatically injected.
303
+
304
+ Compact mode exposes five discovery/execution tools instead of every schema.
305
+ Choose `?tools=compact` on the hosted endpoint (Core 0.2.27+), `tool_mode` in the
306
+ workspace, or `TYPEROLL_MCP_TOOL_MODE=compact` for legacy stdio. Full mode remains
307
+ available. Read/write/admin wrappers share normal validation and authorization.
308
+
309
+ See [Agent workspace](https://typeroll.com/docs/getting-started/agent-workspace/)
310
+ for the folder layout, commands, version requirements and context-budget advice.