返回 CodeWhale
inspect-catalog.json
根目录 / crates / engine / extension-host / src / dsh / inspect-catalog.json
1 {
2 "version": 1,
3 "targetDshVersion": "0.2.2-rc.1",
4 "host": {
5 "services": [
6 {
7 "key": "tools",
8 "group": "dsh",
9 "summary": "The tool registry: a plugin adds model-callable tools. The Engine owns calling, approval and results.",
10 "availability": "always",
11 "availabilityText": "Available to every plugin that injects it.",
12 "methods": [
13 {
14 "name": "register",
15 "signature": "register(definition: ToolDefinition): () => void",
16 "summary": "Register one tool built with defineTool from @deepseek-ai/dsh-tools. The definition must stay inside the supported JSON Schema subset (type, oneOf, properties, required, additionalProperties, items, enum, const). A second argument is refused. Returns an idempotent disposer."
17 },
18 {
19 "name": "get",
20 "signature": "get(name: string, agent: Agent): { name: string } | undefined",
21 "summary": "Whether the calling agent has a tool by this name. Answers only inside a live tool call, for that call's own agent."
22 },
23 {
24 "name": "guard",
25 "signature": "guard(fn: (exec: ToolExec) => string | { kind?: 'deny', reason: string } | undefined): () => void",
26 "summary": "Register a deny-only tool guard through the tools/pre-execute admission path. Can deny or abstain, never auto-approve."
27 }
28 ]
29 },
30 {
31 "key": "commands",
32 "group": "dsh",
33 "summary": "Slash commands a person types. A handler runs only when the person types the command.",
34 "availability": "always",
35 "availabilityText": "Available to every plugin that injects it.",
36 "methods": [
37 {
38 "name": "register",
39 "signature": "register(definition: { name: string, description: string, argumentHint?: string, handler(call: { args: string, signal: AbortSignal }): CommandResult }): () => void",
40 "summary": "Register one slash command. Names start with a lower case letter, then lower case letters, digits, _ and -, at most 64 characters; at most 64 commands per plugin. A name that clashes with a built-in command gets the alias plugin-<plugin-slug>-<command>, and is refused if that alias is invalid or also taken. A name another plugin already registered is refused, so pick a plugin-specific name. Returns an idempotent disposer."
41 }
42 ]
43 },
44 {
45 "key": "storage",
46 "group": "dsh",
47 "summary": "Owner-local JSON persistence under the data folder the Engine assigned. It holds no session history and no secrets.",
48 "availability": "always",
49 "availabilityText": "Available to every plugin that injects it.",
50 "methods": [
51 {
52 "name": "get",
53 "signature": "get(key: string): Promise<Json | undefined>",
54 "summary": "Read one stored value."
55 },
56 {
57 "name": "set",
58 "signature": "set(key: string, value: Json): Promise<void>",
59 "summary": "Store one JSON value, within the bounded key, value and owner limits."
60 },
61 {
62 "name": "delete",
63 "signature": "delete(key: string): Promise<void>",
64 "summary": "Remove one stored value."
65 }
66 ]
67 },
68 {
69 "key": "skills",
70 "group": "dsh",
71 "summary": "Skill roots: reviewed folders of skills added to the Engine's skill catalog.",
72 "availability": "always",
73 "availabilityText": "Available to every plugin that injects it.",
74 "methods": [
75 {
76 "name": "registerRoot",
77 "signature": "registerRoot(definition: { path: string }): () => void",
78 "summary": "Add a bundle-relative folder of SKILL.md packages. At most 8 roots per plugin. Absolute paths, links, empty components, . and .. are refused."
79 }
80 ]
81 },
82 {
83 "key": "sessions",
84 "group": "dsh",
85 "summary": "The session of the calling tool invocation.",
86 "availability": "tool-invocation",
87 "availabilityText": "Answers only inside a live tool call of the plugin.",
88 "methods": [
89 {
90 "name": "flush",
91 "signature": "flush(session: Session): Promise<boolean>",
92 "summary": "Ask the Engine to persist the committed prefix of the exact session of this tool call. Nothing else on sessions is available."
93 }
94 ]
95 },
96 {
97 "key": "userQuestions",
98 "group": "dsh",
99 "summary": "Questions put to the person through the Engine's own question card.",
100 "availability": "tool-invocation",
101 "availabilityText": "Answers only inside a live tool call of the plugin.",
102 "methods": [
103 {
104 "name": "ask",
105 "signature": "ask(request: { agent: Agent, questions: Question[], signal?: AbortSignal }): Promise<Answers>",
106 "summary": "Ask the person typed questions during a live root tool call. Timed or continued questions (wait) are not supported."
107 }
108 ]
109 },
110 {
111 "key": "subagents",
112 "group": "dsh",
113 "summary": "One independent child agent a root tool call may start.",
114 "availability": "tool-invocation",
115 "availabilityText": "Answers only inside a live tool call of the plugin.",
116 "methods": [
117 {
118 "name": "getProvider",
119 "signature": "getProvider(id: 'spawn'): Provider",
120 "summary": "Describe the one provider: a fresh child with no inherited conversation."
121 },
122 {
123 "name": "startActivation",
124 "signature": "startActivation(options: { provider: 'spawn', childId: string, request: { parent: Agent, prompt: TextBlock[], agentOptions?: { model?: string } }, signal?: AbortSignal, delivery?: 'caller' | 'parent' }): Promise<{ childId: string, messageId: string, result: Promise<ChildResult>, dispose(): Promise<void> }>",
125 "summary": "Start the child through the Engine's approval gate. Resolves to the activation handle { childId, messageId, result, dispose }. Prompts are text only; only the model option is accepted. Needs the live calling agent as parent and is not available inside a child."
126 },
127 {
128 "name": "result",
129 "signature": "activation.result: Promise<{ stopReason: string, output: { type: 'text', text: string }[], diagnostic?: string }>",
130 "summary": "A getter, not a method: read the property, do not call it. Resolves when the child finishes, with its stop reason and its text output blocks; diagnostic notes dropped non-text blocks."
131 },
132 {
133 "name": "dispose",
134 "signature": "activation.dispose(): Promise<void>",
135 "summary": "Stop that exact child and its own descendants."
136 }
137 ]
138 },
139 {
140 "key": "agents",
141 "group": "dsh",
142 "summary": "Reserved. The host offers no methods on agents.",
143 "availability": "none",
144 "availabilityText": "No methods.",
145 "methods": []
146 },
147 {
148 "key": "systemPrompt",
149 "group": "dsh",
150 "summary": "The child agent's persona slot, reachable only inside an agent/created listener.",
151 "availability": "child-agent-hook",
152 "availabilityText": "Answers only inside an agent/created listener, on the child agent.",
153 "methods": [
154 {
155 "name": "section",
156 "signature": "agent.ctx.systemPrompt.section({ name: 'deployment:persona-prefix', order: agent.ctx.systemPrompt.getSectionOrder('DEPLOYMENT_PERSONA_PREFIX'), text: string }): () => void",
157 "summary": "Set the child's persona text, at most 32 KiB, once. name must be the string deployment:persona-prefix (the PERSONA_PREFIX_SECTION value) and order must be what getSectionOrder('DEPLOYMENT_PERSONA_PREFIX') returns, which is 0. Anything else is refused. Called anywhere else it fails. The Engine's own system prompt cannot be replaced."
158 }
159 ]
160 },
161 {
162 "key": "llm",
163 "group": "dsh",
164 "summary": "Host-mediated model catalog lookup, completions, and streaming.",
165 "availability": "review-grant",
166 "availabilityText": "Served by the Engine only when the plugin's review granted it.",
167 "methods": [
168 {
169 "name": "catalog",
170 "signature": "catalog(options?: { provider?: string }): Promise<ModelCatalog>",
171 "summary": "List available providers and models."
172 },
173 {
174 "name": "complete",
175 "signature": "complete(request: LlmRequest): Promise<LlmResponse>",
176 "summary": "Run a single non-streaming completion through Core."
177 },
178 {
179 "name": "listModels",
180 "signature": "listModels(provider?: string): Promise<ModelSummary[]>",
181 "summary": "List model entries with context and modality metadata."
182 },
183 {
184 "name": "resolveModelInfo",
185 "signature": "resolveModelInfo(modelId: string): Promise<ModelSummary | null>",
186 "summary": "Look up metadata for one model identifier."
187 },
188 {
189 "name": "stream",
190 "signature": "stream(request: LlmRequest): AsyncIterable<LlmChunk>",
191 "summary": "Stream completion chunks through Core."
192 }
193 ]
194 },
195 {
196 "key": "credentials",
197 "group": "dsh",
198 "summary": "Reviewed credential resolution and host-guarded HTTP fetch.",
199 "availability": "review-grant",
200 "availabilityText": "Served by the Engine only when the plugin's review granted it.",
201 "methods": [
202 {
203 "name": "resolve",
204 "signature": "resolve(key: string, options?: Record<string, unknown>): Promise<CredentialValue>",
205 "summary": "Resolve an approved credential key."
206 },
207 {
208 "name": "describe",
209 "signature": "describe(key: string): Promise<CredentialMeta>",
210 "summary": "Inspect metadata for a credential key."
211 },
212 {
213 "name": "set",
214 "signature": "set(key: string, secret: string, options?: Record<string, unknown>): Promise<void>",
215 "summary": "Store a secret in Codewhale credential storage."
216 },
217 {
218 "name": "fetch",
219 "signature": "fetch(input: string, init?: FetchInit): Promise<FetchResponse>",
220 "summary": "Perform a policy-checked outbound HTTP request."
221 }
222 ]
223 },
224 {
225 "key": "settings",
226 "group": "dsh",
227 "summary": "Reviewed read/write access to declared Codewhale plugin settings.",
228 "availability": "review-grant",
229 "availabilityText": "Served by the Engine only when the plugin's review granted it.",
230 "methods": [
231 {
232 "name": "describe",
233 "signature": "describe(keys?: string[]): Promise<Record<string, unknown>>",
234 "summary": "Read reviewed setting values and schemas."
235 },
236 {
237 "name": "update",
238 "signature": "update(patch: Record<string, unknown>, options?: Record<string, unknown>): Promise<void>",
239 "summary": "Merge partial updates into allowed settings."
240 },
241 {
242 "name": "replace",
243 "signature": "replace(patch: Record<string, unknown>, options?: Record<string, unknown>): Promise<void>",
244 "summary": "Replace reviewed setting keys atomically."
245 },
246 {
247 "name": "mutate",
248 "signature": "mutate(fn: (current: Record<string, unknown>) => Record<string, unknown>): Promise<void>",
249 "summary": "Apply a synchronous transform to reviewed settings."
250 }
251 ]
252 },
253 {
254 "key": "pluginManager",
255 "group": "dsh",
256 "summary": "Reviewed plugin installation and removal requests through Core.",
257 "availability": "review-grant",
258 "availabilityText": "Served by the Engine only when the plugin's review granted it.",
259 "methods": [
260 {
261 "name": "installBundle",
262 "signature": "installBundle(packageName: string, options?: Record<string, unknown>): Promise<unknown>",
263 "summary": "Request Core to preview or install a plugin bundle."
264 },
265 {
266 "name": "removeBundle",
267 "signature": "removeBundle(packageName: string): Promise<void>",
268 "summary": "Request Core to remove an installed plugin bundle."
269 },
270 {
271 "name": "cancelInstall",
272 "signature": "cancelInstall(): Promise<void>",
273 "summary": "Cancel an active plugin installation request."
274 }
275 ]
276 },
277 {
278 "key": "deepseekAccount",
279 "group": "dsh",
280 "summary": "DeepSeek account balance queries through the authenticated provider.",
281 "availability": "review-grant",
282 "availabilityText": "Served by the Engine only when the plugin's review granted it.",
283 "methods": [
284 {
285 "name": "getBalance",
286 "signature": "getBalance(options?: Record<string, unknown>): Promise<AccountBalance>",
287 "summary": "Fetch the active DeepSeek account balance."
288 }
289 ]
290 },
291 {
292 "key": "terminal",
293 "group": "dsh",
294 "summary": "Reviewed interactive terminal sessions inside the workspace.",
295 "availability": "review-grant",
296 "availabilityText": "Served by the Engine only when the plugin's review granted it.",
297 "methods": [
298 {
299 "name": "list",
300 "signature": "list(): Promise<TerminalSession[]>",
301 "summary": "List active terminal sessions for this owner."
302 },
303 {
304 "name": "run",
305 "signature": "run(options?: { argv?: string[], cwd?: string }): Promise<TerminalSession>",
306 "summary": "Start a terminal session in the workspace."
307 },
308 {
309 "name": "send",
310 "signature": "send(id: string, data: string): Promise<void>",
311 "summary": "Write input to a running terminal session."
312 },
313 {
314 "name": "wait",
315 "signature": "wait(id: string, options?: { timeoutMs?: number }): Promise<TerminalExit>",
316 "summary": "Wait for output or completion from a terminal session."
317 },
318 {
319 "name": "cancel",
320 "signature": "cancel(id: string): Promise<void>",
321 "summary": "Terminate a running terminal session."
322 },
323 {
324 "name": "reset",
325 "signature": "reset(id: string): Promise<void>",
326 "summary": "Reset a terminal session buffer."
327 }
328 ]
329 },
330 {
331 "key": "attachments",
332 "group": "dsh",
333 "summary": "Conversation image validation, storage, and bounded read/resize through the Engine.",
334 "availability": "review-grant",
335 "availabilityText": "Served by the Engine only when the plugin's review granted it.",
336 "methods": [
337 {
338 "name": "validateImage",
339 "signature": "validateImage(input: ImageBytesInput, signal?: AbortSignal): Promise<ValidateImageResult>",
340 "summary": "Validate an image payload against Codewhale image limits."
341 },
342 {
343 "name": "saveImage",
344 "signature": "saveImage(input: ImageBytesInput, signal?: AbortSignal): Promise<StoredImageAttachmentRef>",
345 "summary": "Store a validated conversation image attachment for the active tool result."
346 },
347 {
348 "name": "readImage",
349 "signature": "readImage(ref: ImageAttachmentRef, signal?: AbortSignal): Promise<ReadImageResult>",
350 "summary": "Read a stored conversation image by attachment reference."
351 },
352 {
353 "name": "readImageRequest",
354 "signature": "readImageRequest(ref: ImageAttachmentRef, target?: ReadImageRequestTarget, signal?: AbortSignal): Promise<ReadImageRequestResult>",
355 "summary": "Read a resized/fitted variant of a stored conversation image."
356 }
357 ]
358 },
359 {
360 "key": "agentPresets",
361 "group": "dsh",
362 "summary": "Reviewed read-only agent preset catalog scoped to the owning plugin.",
363 "availability": "always",
364 "availabilityText": "Available to every plugin that injects it.",
365 "methods": [
366 {
367 "name": "list",
368 "signature": "list(): Promise<AgentPreset[]>",
369 "summary": "List reviewed presets visible to this owner."
370 },
371 {
372 "name": "get",
373 "signature": "get(id: string): Promise<AgentPreset | undefined>",
374 "summary": "Look up one reviewed preset by id."
375 },
376 {
377 "name": "register",
378 "signature": "register(preset: AgentPreset): () => void",
379 "summary": "Register an owner-scoped preset metadata entry."
380 }
381 ]
382 },
383 {
384 "key": "agentDefaultModel",
385 "group": "dsh",
386 "summary": "Read-only view of the active invocation default model selection.",
387 "availability": "tool-invocation",
388 "availabilityText": "Answers only inside a live tool call of the plugin.",
389 "methods": [
390 {
391 "name": "currentSelection",
392 "signature": "currentSelection(): { provider: string, model: string } | undefined",
393 "summary": "Return the read-only default provider/model for the live invocation."
394 }
395 ]
396 },
397 {
398 "key": "sessionProjections",
399 "group": "dsh",
400 "summary": "Read-only projection of active session messages and events.",
401 "availability": "tool-invocation",
402 "availabilityText": "Answers only inside a live tool call of the plugin.",
403 "methods": [
404 {
405 "name": "get",
406 "signature": "get(sessionId?: string): SessionProjection | undefined",
407 "summary": "Return the read-only projection for the active session."
408 },
409 {
410 "name": "list",
411 "signature": "list(): SessionProjection[]",
412 "summary": "List read-only session projections visible to the live invocation."
413 }
414 ]
415 },
416 {
417 "key": "workspaceRegistry",
418 "group": "dsh",
419 "summary": "Read-only workspace metadata for the active invocation.",
420 "availability": "tool-invocation",
421 "availabilityText": "Answers only inside a live tool call of the plugin.",
422 "methods": [
423 {
424 "name": "list",
425 "signature": "list(): WorkspaceMeta[]",
426 "summary": "List read-only workspace metadata visible to the live invocation."
427 },
428 {
429 "name": "get",
430 "signature": "get(id: string): WorkspaceMeta | undefined",
431 "summary": "Look up read-only workspace metadata by id or path."
432 },
433 {
434 "name": "resolveByPath",
435 "signature": "resolveByPath(path: string): WorkspaceMeta | undefined",
436 "summary": "Resolve read-only workspace metadata by filesystem path."
437 }
438 ]
439 },
440 {
441 "key": "typertGateway",
442 "group": "dsh",
443 "summary": "Owner-scoped Typert service descriptor registry.",
444 "availability": "always",
445 "availabilityText": "Available to every plugin that injects it.",
446 "methods": [
447 {
448 "name": "register",
449 "signature": "register(name: string, service: unknown, descriptors?: unknown[]): () => void",
450 "summary": "Register an owner-scoped Typert service and its descriptors."
451 },
452 {
453 "name": "list",
454 "signature": "list(): string[]",
455 "summary": "List Typert service names registered by this owner."
456 },
457 {
458 "name": "get",
459 "signature": "get(name: string): { service: unknown, descriptors: unknown[] } | undefined",
460 "summary": "Look up a registered Typert service by name."
461 }
462 ]
463 },
464 {
465 "key": "web",
466 "group": "dsh",
467 "summary": "Network-policy-guarded web fetch and owner-scoped search provider registration.",
468 "availability": "review-grant",
469 "availabilityText": "Served by the Engine only when the plugin's review granted it.",
470 "methods": [
471 {
472 "name": "fetch",
473 "signature": "fetch(input: string | URL | Request, init?: RequestInit): Promise<Response>",
474 "summary": "Perform a policy-checked outbound HTTP request through the Engine network broker."
475 },
476 {
477 "name": "registerSearchProvider",
478 "signature": "registerSearchProvider(provider: SearchProvider): () => void",
479 "summary": "Register an owner-scoped web search provider."
480 }
481 ]
482 },
483 {
484 "key": "webServer",
485 "group": "dsh",
486 "summary": "Sandboxed Engine-brokered in-memory HTTP route registry (no raw sockets).",
487 "availability": "always",
488 "availabilityText": "Available to every plugin that injects it.",
489 "methods": [
490 {
491 "name": "register",
492 "signature": "register(route: { kind?: 'exact' | 'prefix', path: string, method?: string, methods?: string[], handler: (req, res) => void | Promise<void> }): () => void",
493 "summary": "Register an owner-scoped HTTP route dispatched through Engine plugin_route/dispatch."
494 },
495 {
496 "name": "getOrigin",
497 "signature": "getOrigin(): string",
498 "summary": "Return the loopback origin advertised to the plugin."
499 }
500 ]
501 },
502 {
503 "key": "connection",
504 "group": "dsh",
505 "summary": "Scoped loopback connection status, trust fence, Fetch route registry, and RPC channel registry.",
506 "availability": "always",
507 "availabilityText": "Available to every plugin that injects it.",
508 "methods": [
509 {
510 "name": "requestRejection",
511 "signature": "requestRejection(req?: { headers?: Record<string, string | string[] | undefined> }): { status: number, message: string } | null",
512 "summary": "Verify loopback Host and non-cross-site Fetch metadata."
513 },
514 {
515 "name": "fetch.register",
516 "signature": "fetch.register(route: { path: string, methods?: string[], fetch: (req: Request) => Response | Promise<Response> }): () => void",
517 "summary": "Register an owner-scoped Fetch-style route handler."
518 },
519 {
520 "name": "rpc.handle",
521 "signature": "rpc.handle(channel: string, handler: (endpoint: string, payload: unknown) => unknown | Promise<unknown>): () => void",
522 "summary": "Register an owner-scoped JSON RPC channel handler."
523 }
524 ]
525 },
526 {
527 "key": "sessionTitle",
528 "group": "dsh",
529 "summary": "Owner-scoped in-memory session title store and rename observer.",
530 "availability": "always",
531 "availabilityText": "Available to every plugin that injects it.",
532 "methods": [
533 {
534 "name": "get",
535 "signature": "get(session: unknown): string | undefined",
536 "summary": "Read a session title stored by this owner."
537 },
538 {
539 "name": "rename",
540 "signature": "rename(session: unknown, title: string): string",
541 "summary": "Store a bounded single-line title for a session under this owner."
542 },
543 {
544 "name": "register",
545 "signature": "register(listener: (sessionId: string, title: string) => void): () => void",
546 "summary": "Observe session title updates within this owner."
547 }
548 ]
549 },
550 {
551 "key": "profileContext",
552 "group": "dsh",
553 "summary": "Read-only owner-scoped profile directory metadata.",
554 "availability": "always",
555 "availabilityText": "Available to every plugin that injects it.",
556 "methods": [
557 {
558 "name": "dir",
559 "signature": "get dir(): string",
560 "summary": "Return the owner's scoped data directory (fails closed when absent)."
561 },
562 {
563 "name": "installAnchor",
564 "signature": "get installAnchor(): string",
565 "summary": "Return the owner's scoped install anchor directory."
566 }
567 ]
568 },
569 {
570 "key": "sessionPersistence",
571 "group": "dsh",
572 "summary": "Read-only session log lookup surface; Core owns durable session logs and refuses plugin mutations.",
573 "availability": "always",
574 "availabilityText": "Available to every plugin that injects it.",
575 "methods": [
576 {
577 "name": "findLog",
578 "signature": "findLog(id?: unknown): Promise<undefined>",
579 "summary": "Resolve undefined; host session logs are not exposed on disk to plugins."
580 },
581 {
582 "name": "listLogs",
583 "signature": "listLogs(): Promise<readonly unknown[]>",
584 "summary": "Return an empty frozen list."
585 },
586 {
587 "name": "readLog",
588 "signature": "readLog(id?: unknown): Promise<undefined>",
589 "summary": "Resolve undefined; host session logs are private to Core."
590 },
591 {
592 "name": "artifactDirectory",
593 "signature": "artifactDirectory(headerOrId?: unknown): undefined",
594 "summary": "Return undefined; host session directories are private to Core."
595 }
596 ]
597 },
598 {
599 "key": "storageDomain",
600 "group": "dsh",
601 "summary": "Owner-scoped, bounded in-memory structured storage domains isolated per plugin.",
602 "availability": "always",
603 "availabilityText": "Available to every plugin that injects it.",
604 "methods": [
605 {
606 "name": "open",
607 "signature": "open(spec: { name: string } | string): Promise<ScopedStorageDomainHandle>",
608 "summary": "Open an owner-scoped in-memory storage domain with bounded tables and entries."
609 },
610 {
611 "name": "get",
612 "signature": "get(name: string): ScopedStorageDomainHandle | undefined",
613 "summary": "Look up an already-opened domain for this owner."
614 },
615 {
616 "name": "list",
617 "signature": "list(): readonly string[]",
618 "summary": "List domains currently opened by this owner."
619 }
620 ]
621 },
622 {
623 "key": "invariants",
624 "group": "dsh",
625 "summary": "Owner-scoped invariant registration table cleaned up on plugin disposal.",
626 "availability": "always",
627 "availabilityText": "Available to every plugin that injects it.",
628 "methods": [
629 {
630 "name": "register",
631 "signature": "register(name: string, install?: unknown): () => void",
632 "summary": "Register a named invariant under this owner and return a disposer."
633 },
634 {
635 "name": "list",
636 "signature": "list(): readonly string[]",
637 "summary": "List invariant names registered by this owner."
638 }
639 ]
640 },
641 {
642 "key": "permissionPresets",
643 "group": "dsh",
644 "summary": "Read-only catalog of Codewhale permission posture names; Core owns approval authority.",
645 "availability": "always",
646 "availabilityText": "Available to every plugin that injects it.",
647 "methods": [
648 {
649 "name": "availability",
650 "signature": "get availability(): 'readonly'",
651 "summary": "Report that permission presets are read-only."
652 },
653 {
654 "name": "defaultPreset",
655 "signature": "get defaultPreset(): string",
656 "summary": "Return the default posture name ('ask')."
657 },
658 {
659 "name": "names",
660 "signature": "get names(): readonly string[]",
661 "summary": "List Codewhale permission posture names."
662 },
663 {
664 "name": "list",
665 "signature": "list(): readonly { name: string, readonly: boolean }[]",
666 "summary": "List read-only permission preset descriptors."
667 },
668 {
669 "name": "get",
670 "signature": "get(name: string): { name: string, readonly: boolean } | undefined",
671 "summary": "Look up one permission preset descriptor by name."
672 }
673 ]
674 },
675 {
676 "key": "logger",
677 "group": "cordis",
678 "summary": "Cordis logging. Every line becomes a host log notification attributed to the plugin.",
679 "availability": "always",
680 "availabilityText": "Available to every plugin that injects it.",
681 "methods": [
682 {
683 "name": "logger",
684 "signature": "ctx.logger(name?: string): Logger",
685 "summary": "A named logger with debug, info, warn and error. The host reports error and warn as such and everything else as info."
686 }
687 ]
688 },
689 {
690 "key": "events",
691 "group": "cordis",
692 "summary": "Cordis event dispatch. Query the host Event provider for the events this host fires.",
693 "availability": "always",
694 "availabilityText": "Available to every plugin that injects it.",
695 "methods": [
696 {
697 "name": "on",
698 "signature": "ctx.on(name: string, listener: Function, options?: boolean | { prepend?: boolean, global?: boolean }): () => boolean",
699 "summary": "Listen to an event. The host refuses five lifecycle events and limits the options of two (see the Event provider)."
700 },
701 {
702 "name": "once",
703 "signature": "ctx.once(name: string, listener: Function, options?: boolean | { prepend?: boolean, global?: boolean }): () => boolean",
704 "summary": "Listen to an event once."
705 },
706 {
707 "name": "emit",
708 "signature": "ctx.emit(name: string, ...args: any[]): void",
709 "summary": "Dispatch an event to its listeners."
710 }
711 ]
712 },
713 {
714 "key": "reflect",
715 "group": "cordis",
716 "summary": "Cordis service reflection. A plugin may provide its own services but not the Engine's.",
717 "availability": "always",
718 "availabilityText": "Available to every plugin that injects it.",
719 "methods": [
720 {
721 "name": "provide",
722 "signature": "ctx.reflect.provide(name: string, value?: any): () => void",
723 "summary": "Provide a service under a name. Names in refusedServices are refused: the Engine owns them."
724 },
725 {
726 "name": "get",
727 "signature": "ctx.reflect.get(name: string, strict?: boolean): any",
728 "summary": "Read a provided service."
729 }
730 ]
731 },
732 {
733 "key": "registry",
734 "group": "cordis",
735 "summary": "Cordis plugin registry.",
736 "availability": "always",
737 "availabilityText": "Available to every plugin that injects it.",
738 "methods": [
739 {
740 "name": "get",
741 "signature": "ctx.registry.get(plugin: Plugin): Runtime | undefined",
742 "summary": "Look up the runtime record of a plugin."
743 },
744 {
745 "name": "resolve",
746 "signature": "ctx.registry.resolve(plugin: Plugin): Function | undefined",
747 "summary": "Resolve a plugin shape to its callback."
748 }
749 ]
750 },
751 {
752 "key": "prompt",
753 "group": "codewhale",
754 "summary": "Attributed sections of the Engine's runtime prompt. A plugin cannot replace the system prompt.",
755 "availability": "always",
756 "availabilityText": "Available to every plugin that injects it.",
757 "methods": [
758 {
759 "name": "registerSection",
760 "signature": "registerSection(definition: { id: string, text: string, interpolate?: 'model-cwd' }): () => void",
761 "summary": "Contribute a plain-text section of at most 4 KiB; at most 128 sections per plugin. The id is lower case letters, digits, _ and -, starts with a letter, at most 64 characters. With interpolate set, only {{model}} and {{cwd}} are expanded."
762 }
763 ]
764 },
765 {
766 "key": "avatars",
767 "group": "codewhale",
768 "summary": "Avatar packs for the terminal.",
769 "availability": "always",
770 "availabilityText": "Available to every plugin that injects it.",
771 "methods": [
772 {
773 "name": "registerPack",
774 "signature": "registerPack(definition: { path: string }): () => void",
775 "summary": "Register a reviewed bundle-relative avatar pack: a path ending in .json, at most 4 packs per plugin."
776 }
777 ]
778 },
779 {
780 "key": "mcp",
781 "group": "codewhale",
782 "summary": "Proposals of MCP servers. The Engine owns connection, credentials and tool calls.",
783 "availability": "native-review",
784 "availabilityText": "Available to a reviewed native plugin.",
785 "methods": [
786 {
787 "name": "registerServer",
788 "signature": "registerServer(definition: { serverName: string, server: Record<string, unknown> }): () => void",
789 "summary": "Propose one server. serverName is a letter or digit followed by up to 31 letters, digits, _ or -. headers and env must stay empty and the url may carry no credentials, query or fragment. At most 64 servers per plugin; at most 64 KiB per definition."
790 }
791 ]
792 },
793 {
794 "key": "shellHooks",
795 "group": "codewhale",
796 "summary": "Claude Code and Codex style command hooks, run by the Engine.",
797 "availability": "native-review",
798 "availabilityText": "Available to a reviewed native plugin.",
799 "methods": [
800 {
801 "name": "register",
802 "signature": "register(definition: { dialect: 'claude-code' | 'codex', point: string, matcher?: string, hook: { event: string, command: string, timeout_secs: number, background: false, continue_on_error: false, name: string } }): () => void",
803 "summary": "Register one command hook for a reviewed native plugin. Forced continuation, observer steering, non-command and asynchronous hooks are not supported."
804 }
805 ]
806 },
807 {
808 "key": "remote",
809 "group": "codewhale",
810 "summary": "Remote pairing, served by the Engine.",
811 "availability": "review-grant",
812 "availabilityText": "Served by the Engine only when the plugin's review granted it.",
813 "methods": [
814 {
815 "name": "status",
816 "signature": "status(): Promise<Status>",
817 "summary": "Whether remote access is on."
818 },
819 {
820 "name": "pair",
821 "signature": "pair(options?: { label?: string }): Promise<Pairing>",
822 "summary": "Start a pairing."
823 },
824 {
825 "name": "clients",
826 "signature": "clients(): Promise<Client[]>",
827 "summary": "List paired clients."
828 },
829 {
830 "name": "revoke",
831 "signature": "revoke(id: string): Promise<void>",
832 "summary": "Revoke one grant by the id pair returned."
833 }
834 ]
835 },
836 {
837 "key": "workspace",
838 "group": "codewhale",
839 "summary": "Bounded workspace file reads, writes, directory listings, and approved command execution.",
840 "availability": "review-grant",
841 "availabilityText": "Served by the Engine only when the plugin's review granted it.",
842 "methods": [
843 {
844 "name": "read",
845 "signature": "read(path: string, options?: { startLine?: number, maxLines?: number }): Promise<string>",
846 "summary": "Read a file inside the reviewed workspace root."
847 },
848 {
849 "name": "list",
850 "signature": "list(path?: string): Promise<WorkspaceEntry[]>",
851 "summary": "List entries under a workspace directory."
852 },
853 {
854 "name": "write",
855 "signature": "write(path: string, content: string): Promise<void>",
856 "summary": "Write a file inside the reviewed workspace root."
857 },
858 {
859 "name": "exec",
860 "signature": "exec(argv: string[], options?: { cwd?: string, timeoutMs?: number }): Promise<ExecResult>",
861 "summary": "Run a reviewed command inside the workspace."
862 }
863 ]
864 }
865 ],
866 "refusedServices": [
867 "shellHooks",
868 "loader",
869 "approval",
870 "agents",
871 "subagents",
872 "sessions",
873 "llm",
874 "sandboxPolicy",
875 "credentials",
876 "fs",
877 "subprocess",
878 "systemPrompt",
879 "runtimeLoop",
880 "tools",
881 "commands",
882 "prompt",
883 "storage",
884 "skills",
885 "avatars",
886 "mcp",
887 "logger",
888 "userQuestions",
889 "remote",
890 "workspace",
891 "settings",
892 "pluginManager",
893 "deepseekAccount",
894 "terminal",
895 "attachments",
896 "agentPresets",
897 "agentDefaultModel",
898 "sessionProjections",
899 "workspaceRegistry",
900 "typertGateway",
901 "web",
902 "webServer",
903 "connection",
904 "sessionTitle",
905 "profileContext",
906 "sessionPersistence",
907 "storageDomain",
908 "invariants",
909 "permissionPresets"
910 ],
911 "events": [
912 {
913 "name": "tools/pre-execute",
914 "status": "supported",
915 "mode": "ordered listeners, native hooks first, then plugin listeners in registration order",
916 "signature": "ctx.on('tools/pre-execute', async (exec: { name: string, callId: string, arguments: object, signal: AbortSignal, workspace: string, mode: string, model: string }, next: () => Promise<Abstention>) => Verdict | undefined)",
917 "summary": "Programmable tool admission for a reviewed native plugin. The frozen call view has no session, agent, tool or approval handle. Return { kind: 'deny', reason }, { kind: 'ask', reason? }, { kind: 'revise', input }, { kind: 'annotate', text } or { kind: 'abstain' }; undefined abstains. A malformed answer, error or timeout fails the call closed. The listener batch has a five second deadline.",
918 "options": "prepend and global are refused."
919 },
920 {
921 "name": "tools/post-execute",
922 "status": "supported",
923 "mode": "read-only observers in registration order, after the tool finishes",
924 "signature": "ctx.on('tools/post-execute', async (exec: { name: string, callId: string, arguments: { is_error: boolean, duration_ms: number }, signal: AbortSignal, workspace: string, mode: string, model: string }, next: () => Promise<Abstention>) => void)",
925 "summary": "Observes a finished tool call for a reviewed native plugin. The view carries only whether the call failed and how long it took, never its output, session or agent. The return value is ignored and an error is logged, so an observer cannot change or fail the call. The listener batch has a five second deadline.",
926 "options": "prepend and global are refused."
927 },
928 {
929 "name": "tools/result",
930 "status": "supported",
931 "mode": "read-only observers in registration order, after the tool finishes",
932 "signature": "ctx.on('tools/result', async (exec: { name: string, callId: string, arguments: { is_error: boolean, duration_ms: number }, signal: AbortSignal, workspace: string, mode: string, model: string }, next: () => Promise<Abstention>) => void)",
933 "summary": "Alias for read-only tool outcome observation backed by tools/post-execute. Cannot mutate or veto execution.",
934 "options": "prepend and global are refused."
935 },
936 {
937 "name": "agent/created",
938 "status": "supported",
939 "mode": "listeners of the owning plugin only",
940 "signature": "ctx.on('agent/created', async ({ agent }: { agent: { id: string, ctx: { systemPrompt: { getSectionOrder(name), section(section) }, tools: { restrict(filter: { deny: string[] }) } } } }) => void)",
941 "summary": "Fires for a child agent that this plugin's own subagents.startActivation creates, before the child starts. The listener may set the child's persona and deny tools to it; the window closes when the listeners return.",
942 "options": "global is refused."
943 },
944 {
945 "name": "agent/pre-step",
946 "status": "refused",
947 "summary": "Not projected by this host: no core projection exists, so a listener would never fire."
948 },
949 {
950 "name": "agent/turn-stopping",
951 "status": "refused",
952 "summary": "Not projected by this host: no core projection exists, so a listener would never fire."
953 },
954 {
955 "name": "subagent/start",
956 "status": "refused",
957 "summary": "Not projected by this host: no core projection exists, so a listener would never fire."
958 },
959 {
960 "name": "subagent/end",
961 "status": "refused",
962 "summary": "Not projected by this host: no core projection exists, so a listener would never fire."
963 },
964 {
965 "name": "approval/request",
966 "status": "refused",
967 "summary": "Not projected by this host: no core projection exists, so a listener would never fire."
968 }
969 ],
970 "cordisInternalEvents": "Cordis fires its own internal/* lifecycle events. They are not part of this host's supported contract and are not listed.",
971 "config": [
972 {
973 "id": "row:@deepseek-ai/dsh-mcp-client",
974 "name": "@deepseek-ai/dsh-mcp-client",
975 "bridge": "mcp",
976 "summary": "An MCP server row. The Engine proposes the server and owns the connection.",
977 "limits": [
978 "stdio rows name a command; streamable-http and sse rows name a url.",
979 "Reconnect and instruction bounds belong to the Engine and are not configurable here."
980 ],
981 "example": {
982 "transport": "stdio",
983 "serverName": "docs",
984 "command": "node",
985 "args": [
986 "server.js"
987 ],
988 "cwd": "."
989 },
990 "schema": {
991 "$schema": "https://json-schema.org/draft/2020-12/schema",
992 "title": "@deepseek-ai/dsh-mcp-client",
993 "type": "object",
994 "additionalProperties": false,
995 "required": [
996 "transport",
997 "serverName"
998 ],
999 "properties": {
1000 "transport": {
1001 "type": "string",
1002 "enum": [
1003 "stdio",
1004 "streamable-http",
1005 "sse"
1006 ]
1007 },
1008 "serverName": {
1009 "type": "string",
1010 "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,31}$"
1011 },
1012 "command": {
1013 "type": "string",
1014 "description": "stdio only: the program to run."
1015 },
1016 "args": {
1017 "type": "array",
1018 "items": {
1019 "type": "string"
1020 },
1021 "description": "stdio only."
1022 },
1023 "env": {
1024 "type": "object",
1025 "maxProperties": 0,
1026 "description": "Must be empty or absent: credentials stay with the Engine."
1027 },
1028 "cwd": {
1029 "type": "string",
1030 "description": "stdio only: a bundle-relative directory, no .. components."
1031 },
1032 "url": {
1033 "type": "string",
1034 "description": "streamable-http and sse: the endpoint, with no credentials, query or fragment."
1035 },
1036 "headers": {
1037 "type": "object",
1038 "maxProperties": 0,
1039 "description": "Must be empty or absent: credentials stay with the Engine."
1040 },
1041 "toolCallTimeoutMs": {
1042 "type": "integer",
1043 "minimum": 1000,
1044 "maximum": 86400000,
1045 "multipleOf": 1000
1046 },
1047 "failOnStartupError": {
1048 "type": "boolean",
1049 "description": "When true, install and enable connect the server first and report failure if it cannot start; when false or absent, the Engine connects lazily and reports failures through /mcp."
1050 }
1051 }
1052 }
1053 },
1054 {
1055 "id": "row:@deepseek-ai/dsh-skill-filesystem",
1056 "name": "@deepseek-ai/dsh-skill-filesystem",
1057 "bridge": "skills",
1058 "summary": "A skill folder row, limited to reviewed roots inside the bundle.",
1059 "limits": [
1060 "Both includeDefaultRoots and watch must be written out as false."
1061 ],
1062 "example": {
1063 "includeDefaultRoots": false,
1064 "watch": false,
1065 "customSkillDirs": [
1066 "skills"
1067 ]
1068 },
1069 "schema": {
1070 "$schema": "https://json-schema.org/draft/2020-12/schema",
1071 "title": "@deepseek-ai/dsh-skill-filesystem",
1072 "type": "object",
1073 "additionalProperties": false,
1074 "required": [
1075 "includeDefaultRoots",
1076 "watch",
1077 "customSkillDirs"
1078 ],
1079 "properties": {
1080 "providerName": {
1081 "type": "string",
1082 "maxLength": 64
1083 },
1084 "includeDefaultRoots": {
1085 "type": "boolean",
1086 "const": false,
1087 "description": "Must be false: ambient roots are not read."
1088 },
1089 "watch": {
1090 "type": "boolean",
1091 "const": false,
1092 "description": "Must be false: there is no file watcher."
1093 },
1094 "customSkillDirs": {
1095 "type": "array",
1096 "minItems": 1,
1097 "maxItems": 8,
1098 "items": {
1099 "type": "string"
1100 },
1101 "description": "Bundle-relative skill roots, no duplicates."
1102 }
1103 }
1104 }
1105 },
1106 {
1107 "id": "row:@deepseek-ai/dsh-hooks-claude-code",
1108 "name": "@deepseek-ai/dsh-hooks-claude-code",
1109 "bridge": "hooks-claude-code",
1110 "summary": "Claude Code style command hooks read from a reviewed file in the bundle.",
1111 "limits": [
1112 "projectDir is refused: each process uses the current workspace.",
1113 "Only command hooks run; non-command and asynchronous hooks fail the row.",
1114 "At most 128 commands per row."
1115 ],
1116 "example": {
1117 "configPath": "hooks/hooks.json"
1118 },
1119 "hookEvents": [
1120 {
1121 "event": "SessionStart",
1122 "point": "session_start"
1123 },
1124 {
1125 "event": "UserPromptSubmit",
1126 "point": "message_submit"
1127 },
1128 {
1129 "event": "PreToolUse",
1130 "point": "tool_call_before"
1131 },
1132 {
1133 "event": "PostToolUse",
1134 "point": "tool_call_after"
1135 },
1136 {
1137 "event": "Stop",
1138 "point": "turn_end"
1139 },
1140 {
1141 "event": "SubagentStart",
1142 "point": "subagent_spawn"
1143 },
1144 {
1145 "event": "SubagentStop",
1146 "point": "subagent_complete"
1147 }
1148 ],
1149 "schema": {
1150 "$schema": "https://json-schema.org/draft/2020-12/schema",
1151 "title": "@deepseek-ai/dsh-hooks-claude-code",
1152 "type": "object",
1153 "additionalProperties": true,
1154 "required": [
1155 "configPath"
1156 ],
1157 "properties": {
1158 "configPath": {
1159 "type": "string",
1160 "description": "A regular file inside the bundle, at most 1 MiB, unchanged since review."
1161 },
1162 "pluginRoot": {
1163 "type": "string",
1164 "description": "Absent, \".\", or this reviewed bundle root."
1165 },
1166 "defaultTimeoutMs": {
1167 "type": "integer",
1168 "minimum": 1000,
1169 "maximum": 86400000,
1170 "multipleOf": 1000,
1171 "description": "Whole seconds, used when a hook sets none; default 600000."
1172 }
1173 }
1174 }
1175 },
1176 {
1177 "id": "row:@deepseek-ai/dsh-hooks-codex",
1178 "name": "@deepseek-ai/dsh-hooks-codex",
1179 "bridge": "hooks-codex",
1180 "summary": "Codex style command hooks read from a reviewed file in the bundle.",
1181 "limits": [
1182 "projectDir is refused: each process uses the current workspace.",
1183 "Only command hooks run; non-command and asynchronous hooks fail the row.",
1184 "At most 128 commands per row."
1185 ],
1186 "example": {
1187 "configPath": "hooks/hooks.json"
1188 },
1189 "hookEvents": [
1190 {
1191 "event": "SessionStart",
1192 "point": "session_start"
1193 },
1194 {
1195 "event": "UserPromptSubmit",
1196 "point": "message_submit"
1197 },
1198 {
1199 "event": "PreToolUse",
1200 "point": "tool_call_before"
1201 },
1202 {
1203 "event": "PostToolUse",
1204 "point": "tool_call_after"
1205 },
1206 {
1207 "event": "Stop",
1208 "point": "turn_end"
1209 },
1210 {
1211 "event": "SubagentStart",
1212 "point": "subagent_spawn"
1213 },
1214 {
1215 "event": "SubagentStop",
1216 "point": "subagent_complete"
1217 }
1218 ],
1219 "schema": {
1220 "$schema": "https://json-schema.org/draft/2020-12/schema",
1221 "title": "@deepseek-ai/dsh-hooks-codex",
1222 "type": "object",
1223 "additionalProperties": true,
1224 "required": [
1225 "configPath"
1226 ],
1227 "properties": {
1228 "configPath": {
1229 "type": "string",
1230 "description": "A regular file inside the bundle, at most 1 MiB, unchanged since review."
1231 },
1232 "pluginRoot": {
1233 "type": "string",
1234 "description": "Absent, \".\", or this reviewed bundle root."
1235 },
1236 "defaultTimeoutMs": {
1237 "type": "integer",
1238 "minimum": 1000,
1239 "maximum": 86400000,
1240 "multipleOf": 1000,
1241 "description": "Whole seconds, used when a hook sets none; default 600000."
1242 }
1243 }
1244 }
1245 },
1246 {
1247 "id": "row:@deepseek-ai/dsh-persona",
1248 "name": "@deepseek-ai/dsh-persona",
1249 "bridge": "persona",
1250 "summary": "Text added before and after the Engine's own prompt for this plugin's entry.",
1251 "limits": [
1252 "Needs an exact Engine-selected entry scope."
1253 ],
1254 "example": {
1255 "prefix": "Answer in short sentences."
1256 },
1257 "schema": {
1258 "$schema": "https://json-schema.org/draft/2020-12/schema",
1259 "title": "@deepseek-ai/dsh-persona",
1260 "type": "object",
1261 "additionalProperties": false,
1262 "required": [
1263 "prefix"
1264 ],
1265 "properties": {
1266 "prefix": {
1267 "type": "string",
1268 "description": "At most 4096 UTF-8 bytes, no control characters. Only {{model}} and {{cwd}} are expanded."
1269 },
1270 "suffix": {
1271 "type": "string",
1272 "description": "Same limits as prefix."
1273 },
1274 "complete": {
1275 "type": "boolean",
1276 "const": false,
1277 "description": "Replacing the whole prompt belongs to the Engine."
1278 },
1279 "includeRuntimeContext": {
1280 "type": "boolean",
1281 "const": true,
1282 "description": "Suppressing the runtime context belongs to the Engine."
1283 }
1284 }
1285 }
1286 },
1287 {
1288 "id": "row:@deepseek-ai/dsh-storage",
1289 "name": "@deepseek-ai/dsh-storage",
1290 "bridge": "host-spine",
1291 "summary": "Storage row bridge satisfied natively by the Engine spine.",
1292 "limits": [
1293 "Served natively by the Codewhale Engine spine; row configuration is inert."
1294 ],
1295 "example": {},
1296 "schema": {
1297 "$schema": "https://json-schema.org/draft/2020-12/schema",
1298 "title": "@deepseek-ai/dsh-storage",
1299 "type": "object",
1300 "additionalProperties": true
1301 }
1302 },
1303 {
1304 "id": "row:@deepseek-ai/dsh-storage-json",
1305 "name": "@deepseek-ai/dsh-storage-json",
1306 "bridge": "host-spine",
1307 "summary": "JSON storage row bridge satisfied natively by the Engine spine.",
1308 "limits": [
1309 "Served natively by the Codewhale Engine spine; row configuration is inert."
1310 ],
1311 "example": {},
1312 "schema": {
1313 "$schema": "https://json-schema.org/draft/2020-12/schema",
1314 "title": "@deepseek-ai/dsh-storage-json",
1315 "type": "object",
1316 "additionalProperties": true
1317 }
1318 },
1319 {
1320 "id": "row:@deepseek-ai/dsh-storage-domain",
1321 "name": "@deepseek-ai/dsh-storage-domain",
1322 "bridge": "host-spine",
1323 "summary": "Domain storage row bridge satisfied natively by the Engine spine.",
1324 "limits": [
1325 "Served natively by the Codewhale Engine spine; row configuration is inert."
1326 ],
1327 "example": {},
1328 "schema": {
1329 "$schema": "https://json-schema.org/draft/2020-12/schema",
1330 "title": "@deepseek-ai/dsh-storage-domain",
1331 "type": "object",
1332 "additionalProperties": true
1333 }
1334 },
1335 {
1336 "id": "row:@deepseek-ai/dsh-workspace",
1337 "name": "@deepseek-ai/dsh-workspace",
1338 "bridge": "host-spine",
1339 "summary": "Workspace row bridge satisfied natively by the Engine spine.",
1340 "limits": [
1341 "Served natively by the Codewhale Engine spine; row configuration is inert."
1342 ],
1343 "example": {},
1344 "schema": {
1345 "$schema": "https://json-schema.org/draft/2020-12/schema",
1346 "title": "@deepseek-ai/dsh-workspace",
1347 "type": "object",
1348 "additionalProperties": true
1349 }
1350 },
1351 {
1352 "id": "row:@deepseek-ai/dsh-code-runtime-worker-thread",
1353 "name": "@deepseek-ai/dsh-code-runtime-worker-thread",
1354 "bridge": "host-spine",
1355 "summary": "Worker-thread runtime row bridge satisfied natively by the Engine spine.",
1356 "limits": [
1357 "Served natively by the Codewhale Engine spine; row configuration is inert."
1358 ],
1359 "example": {},
1360 "schema": {
1361 "$schema": "https://json-schema.org/draft/2020-12/schema",
1362 "title": "@deepseek-ai/dsh-code-runtime-worker-thread",
1363 "type": "object",
1364 "additionalProperties": true
1365 }
1366 },
1367 {
1368 "id": "row:@deepseek-ai/dsh-tool-subagent/model-selection-settings",
1369 "name": "@deepseek-ai/dsh-tool-subagent/model-selection-settings",
1370 "bridge": "host-spine",
1371 "summary": "Subagent model-selection settings row bridge satisfied natively by the Engine spine.",
1372 "limits": [
1373 "Served natively by the Codewhale Engine spine; row configuration is inert."
1374 ],
1375 "example": {},
1376 "schema": {
1377 "$schema": "https://json-schema.org/draft/2020-12/schema",
1378 "title": "@deepseek-ai/dsh-tool-subagent/model-selection-settings",
1379 "type": "object",
1380 "additionalProperties": true
1381 }
1382 },
1383 {
1384 "id": "row:@deepseek-ai/dsh-agent-preset-registry",
1385 "name": "@deepseek-ai/dsh-agent-preset-registry",
1386 "bridge": "host-spine",
1387 "summary": "Agent-preset registry row bridge satisfied natively by the Engine spine.",
1388 "limits": [
1389 "Served natively by the Codewhale Engine spine; row configuration is inert."
1390 ],
1391 "example": {},
1392 "schema": {
1393 "$schema": "https://json-schema.org/draft/2020-12/schema",
1394 "title": "@deepseek-ai/dsh-agent-preset-registry",
1395 "type": "object",
1396 "additionalProperties": true
1397 }
1398 },
1399 {
1400 "id": "row:@deepseek-ai/dsh-cordis-host-runner",
1401 "name": "@deepseek-ai/dsh-cordis-host-runner",
1402 "bridge": "host-spine",
1403 "summary": "Host-runner row bridge satisfied natively by the Engine spine.",
1404 "limits": [
1405 "Served natively by the Codewhale Engine spine; row configuration is inert."
1406 ],
1407 "example": {},
1408 "schema": {
1409 "$schema": "https://json-schema.org/draft/2020-12/schema",
1410 "title": "@deepseek-ai/dsh-cordis-host-runner",
1411 "type": "object",
1412 "additionalProperties": true
1413 }
1414 },
1415 {
1416 "id": "row:@deepseek-ai/dsh-host-webserver",
1417 "name": "@deepseek-ai/dsh-host-webserver",
1418 "bridge": "host-spine",
1419 "summary": "Host webserver row bridge satisfied natively by the Engine spine.",
1420 "limits": [
1421 "Served natively by the Codewhale Engine spine; row configuration is inert."
1422 ],
1423 "example": {},
1424 "schema": {
1425 "$schema": "https://json-schema.org/draft/2020-12/schema",
1426 "title": "@deepseek-ai/dsh-host-webserver",
1427 "type": "object",
1428 "additionalProperties": true
1429 }
1430 }
1431 ]
1432 },
1433 "client": {
1434 "seats": [
1435 {
1436 "seat": "customize.plugins.detail",
1437 "drawn": true,
1438 "where": "The plugin's own page under Customize, Plugins."
1439 },
1440 {
1441 "seat": "conversation.composer.dock",
1442 "drawn": false,
1443 "where": "Under the composer. The desktop app does not place it yet."
1444 },
1445 {
1446 "seat": "conversation.chat.node",
1447 "drawn": false,
1448 "where": "Inside the conversation. The desktop app does not place it yet."
1449 },
1450 {
1451 "seat": "workpane.panel",
1452 "drawn": false,
1453 "where": "The work pane. The desktop app does not place it yet."
1454 },
1455 {
1456 "seat": "sidebar.section",
1457 "drawn": false,
1458 "where": "The sidebar. The desktop app does not place it yet."
1459 },
1460 {
1461 "seat": "command.row",
1462 "drawn": false,
1463 "where": "The command list. The desktop app does not place it yet."
1464 }
1465 ],
1466 "slots": [
1467 {
1468 "slot": "plugins.bundle.config",
1469 "seat": "customize.plugins.detail",
1470 "supported": true
1471 },
1472 {
1473 "slot": "plugins.row.config",
1474 "seat": "customize.plugins.detail",
1475 "supported": true
1476 },
1477 {
1478 "slot": "plugins.tab",
1479 "seat": "customize.plugins.detail",
1480 "supported": true
1481 },
1482 {
1483 "slot": "plugins.detail.section",
1484 "seat": "customize.plugins.detail",
1485 "supported": true
1486 },
1487 {
1488 "slot": "plugins.item",
1489 "seat": "customize.plugins.detail",
1490 "supported": true
1491 },
1492 {
1493 "slot": "plugins.detail.actions",
1494 "seat": "customize.plugins.detail",
1495 "supported": true
1496 },
1497 {
1498 "slot": "plugins.detail.badge",
1499 "seat": "customize.plugins.detail",
1500 "supported": true
1501 },
1502 {
1503 "slot": "settings.section",
1504 "seat": "customize.plugins.detail",
1505 "supported": true
1506 },
1507 {
1508 "slot": "settings.section.icon",
1509 "seat": "customize.plugins.detail",
1510 "supported": true
1511 },
1512 {
1513 "slot": "settings.plugin.item",
1514 "seat": "customize.plugins.detail",
1515 "supported": true
1516 },
1517 {
1518 "slot": "settings.general.item",
1519 "seat": "customize.plugins.detail",
1520 "supported": true
1521 },
1522 {
1523 "slot": "settings.plugins.tab",
1524 "seat": "customize.plugins.detail",
1525 "supported": true
1526 },
1527 {
1528 "slot": "web-ui.plugin.item",
1529 "seat": "customize.plugins.detail",
1530 "supported": true
1531 },
1532 {
1533 "slot": "conversation.chat.node",
1534 "seat": "conversation.chat.node",
1535 "supported": true
1536 },
1537 {
1538 "slot": "conversation.chat.turnTail",
1539 "seat": "conversation.chat.node",
1540 "supported": true
1541 },
1542 {
1543 "slot": "conversation.chat.assistant-actions",
1544 "seat": "conversation.chat.node",
1545 "supported": true
1546 },
1547 {
1548 "slot": "conversation.chat.commandview",
1549 "seat": "conversation.chat.node",
1550 "supported": true
1551 },
1552 {
1553 "slot": "conversation.chat.text-interaction",
1554 "seat": "conversation.chat.node",
1555 "supported": true
1556 },
1557 {
1558 "slot": "conversation.user.text.node",
1559 "seat": "conversation.chat.node",
1560 "supported": true
1561 },
1562 {
1563 "slot": "tool.call.toolview",
1564 "seat": "conversation.chat.node",
1565 "supported": true
1566 },
1567 {
1568 "slot": "conversation.view",
1569 "seat": "conversation.chat.node",
1570 "supported": true
1571 },
1572 {
1573 "slot": "conversation.input.dock",
1574 "seat": "conversation.composer.dock",
1575 "supported": true
1576 },
1577 {
1578 "slot": "conversation.input.overlay",
1579 "seat": "conversation.composer.dock",
1580 "supported": true
1581 },
1582 {
1583 "slot": "conversation.input.right",
1584 "seat": "conversation.composer.dock",
1585 "supported": true
1586 },
1587 {
1588 "slot": "conversation.composer.dock",
1589 "seat": "conversation.composer.dock",
1590 "supported": true
1591 },
1592 {
1593 "slot": "sidebar.right.pane.tab",
1594 "seat": "workpane.panel",
1595 "supported": true
1596 },
1597 {
1598 "slot": "sidebar.right.pane.tab.title",
1599 "seat": "workpane.panel",
1600 "supported": true
1601 },
1602 {
1603 "slot": "shell.overlay",
1604 "seat": "workpane.panel",
1605 "supported": true
1606 },
1607 {
1608 "slot": "main",
1609 "seat": "workpane.panel",
1610 "supported": true
1611 },
1612 {
1613 "slot": "main.conversation",
1614 "seat": "workpane.panel",
1615 "supported": true
1616 },
1617 {
1618 "slot": "main.page-menu",
1619 "seat": "workpane.panel",
1620 "supported": true
1621 },
1622 {
1623 "slot": "sidebar.panellist",
1624 "seat": "sidebar.section",
1625 "supported": true
1626 },
1627 {
1628 "slot": "sidebar.channels",
1629 "seat": "sidebar.section",
1630 "supported": true
1631 },
1632 {
1633 "slot": "sidebar.workspaces",
1634 "seat": "sidebar.section",
1635 "supported": true
1636 },
1637 {
1638 "slot": "sidebar.footer.action",
1639 "seat": "sidebar.section",
1640 "supported": true
1641 },
1642 {
1643 "slot": "sidebar.session.row.leading",
1644 "seat": "sidebar.section",
1645 "supported": true
1646 },
1647 {
1648 "slot": "sidebar.workspaces.session.row.action",
1649 "seat": "sidebar.section",
1650 "supported": true
1651 },
1652 {
1653 "slot": "conversation.session.header.actions",
1654 "seat": "command.row",
1655 "supported": true
1656 },
1657 {
1658 "slot": "conversation.session.header.lineage",
1659 "seat": "command.row",
1660 "supported": true
1661 },
1662 {
1663 "slot": "conversation.session.header.utilities",
1664 "seat": "command.row",
1665 "supported": true
1666 },
1667 {
1668 "slot": "contextMenu.icon",
1669 "seat": null,
1670 "supported": false,
1671 "reason": "no ADE seat yet"
1672 }
1673 ],
1674 "theme": {
1675 "tokens": [],
1676 "colorSchemes": [
1677 "light",
1678 "dark"
1679 ],
1680 "scheme": "The frame sets data-theme and color-scheme on its document to the app's current scheme and follows changes.",
1681 "api": [
1682 {
1683 "name": "ctx.theme.getTheme",
1684 "signature": "getTheme(): { active: { colorScheme: 'light' | 'dark' } }",
1685 "summary": "The scheme in use now."
1686 },
1687 {
1688 "name": "ctx.theme.overrideTokens",
1689 "signature": "overrideTokens(source: string, tokens: Record<string, { light: string, dark: string }>): () => void",
1690 "summary": "Set custom properties on the frame's document for each scheme. source is at most 256 characters; each name starts with -- and is at most 128 characters; each value is at most 512 characters. Returns a disposer."
1691 }
1692 ],
1693 "notes": [
1694 "The frame defines no named design tokens of its own. There are no --dsw-* tokens to read: a plugin that wants tokens defines them with overrideTokens and uses them in its own styles.",
1695 "The frame's background is transparent and its margin is zero, so the plugin sits on the app's own surface."
1696 ]
1697 }
1698 }
1699 }
1700
1700 lines JSON