@deepseek-ai/dsh-cordis-client-runner 0.2.2-rc.1 → 0.2.2-rc.2
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/lib/client.js +2411 -7959
- package/lib/client.js.map +1 -0
- package/lib/types/client/api-catalog.d.ts.map +1 -0
- package/lib/types/client/api-catalog.js.map +1 -0
- package/lib/types/client/evaluator.d.ts.map +1 -0
- package/lib/types/client/evaluator.js.map +1 -0
- package/lib/types/client/guard.d.ts.map +1 -0
- package/lib/types/client/guard.js.map +1 -0
- package/lib/types/client/index.d.ts.map +1 -0
- package/lib/types/client/index.js.map +1 -0
- package/lib/types/client/inspect-registry.d.ts.map +1 -0
- package/lib/types/client/inspect-registry.js.map +1 -0
- package/lib/types/client/orchestrator.d.ts.map +1 -0
- package/lib/types/client/orchestrator.js.map +1 -0
- package/lib/types/client/providers.d.ts.map +1 -0
- package/lib/types/client/providers.js.map +1 -0
- package/lib/types/client/runtime.d.ts.map +1 -0
- package/lib/types/client/runtime.js.map +1 -0
- package/lib/types/client/slot-catalog.d.ts +6 -2
- package/lib/types/client/slot-catalog.d.ts.map +1 -0
- package/lib/types/client/slot-catalog.js.map +1 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js.map +1 -0
- package/package.json +10 -7
- package/src/client/api-catalog.ts +1208 -0
- package/src/client/evaluator.ts +222 -0
- package/src/client/guard.ts +245 -0
- package/src/client/index.ts +308 -0
- package/src/client/inspect-registry.ts +150 -0
- package/src/client/orchestrator.ts +458 -0
- package/src/client/providers.ts +263 -0
- package/src/client/runtime.ts +512 -0
- package/src/client/slot-catalog.ts +5782 -0
- package/src/index.ts +9 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","names":["Service"],"sources":["../../../../vendor/timer/src/index.ts","../../../packages/extensions/cordis-client-runner/src/client/evaluator.ts","../../../packages/extensions/cordis-client-runner/src/client/guard.ts","../../../packages/extensions/cordis-client-runner/src/client/runtime.ts","../../../packages/extensions/cordis-client-runner/src/client/orchestrator.ts","../../../packages/extensions/cordis-client-runner/src/client/inspect-registry.ts","../../../packages/extensions/cordis-client-runner/src/client/api-catalog.ts","../../../packages/extensions/cordis-client-runner/src/client/slot-catalog.ts","../../../packages/extensions/cordis-client-runner/src/client/providers.ts","../../../packages/extensions/cordis-client-runner/src/client/index.ts"],"sourcesContent":["import { Context, Service } from '@deepseek-ai/cordis'\n\ndeclare module '@deepseek-ai/cordis' {\n interface Context extends Pick<TimerService, 'interval' | 'timeout' | 'throttle' | 'debounce' | 'setTimeout' | 'setInterval'> {\n timer: TimerService\n }\n}\n\ntype Scheduled<F extends (...args: any[]) => any> = ((...args: Parameters<F>) => void) & { dispose: () => void }\n\n/** Disposable timer helpers mixed into Cordis contexts. */\nexport class TimerService extends Service {\n constructor(ctx: Context) {\n super(ctx, 'timer')\n ctx.mixin('timer', ['timeout', 'interval', 'throttle', 'debounce', 'setTimeout', 'setInterval'])\n }\n\n /** @deprecated use `ctx.timeout()` instead */\n setTimeout(callback: () => void, delay: number) {\n return this.timeout(callback, delay)\n }\n\n /** @deprecated use `ctx.interval()` instead */\n setInterval(callback: () => void, delay: number) {\n return this.interval(callback, delay)\n }\n\n /** Run a callback once, or return a promise that resolves after `delay`. */\n timeout(callback: () => void, delay: number): () => void\n timeout(delay: number): Promise<void>\n timeout(...args: any[]): any {\n const callback = typeof args[0] === 'function' ? args.shift() : undefined\n const delay = args[0] as number\n if (callback) {\n const dispose = this.ctx.effect(() => {\n const timer = setTimeout(() => {\n dispose()\n callback()\n }, delay)\n return () => clearTimeout(timer)\n }, 'ctx.timeout()')\n return dispose\n } else {\n const { promise, resolve, reject } = Promise.withResolvers<void>()\n const dispose = this.ctx.effect(() => {\n const timer = setTimeout(resolve, delay)\n return () => {\n clearTimeout(timer)\n reject(new Error('Context has been disposed'))\n }\n }, 'ctx.timeout()')\n return promise.finally(dispose)\n }\n }\n\n /** Run a callback repeatedly, or return an async iterator of ticks. */\n interval(callback: () => void, delay: number): () => void\n interval<R = any>(delay: number): AsyncIterableIterator<void, R, void>\n interval(...args: any[]): any {\n const callback = typeof args[0] === 'function' ? args.shift() : undefined\n const delay = args[0] as number\n if (callback) {\n return this.ctx.effect(() => {\n const timer = setInterval(callback, delay)\n return () => clearInterval(timer)\n }, 'ctx.interval()')\n } else {\n let done: { kind: 'return'; value: any } | { kind: 'throw'; reason: any } | undefined\n const nextTasks: PromiseWithResolvers<IteratorResult<void>>[] = []\n const dispose = this.ctx.effect(() => {\n const timer = setInterval(() => {\n nextTasks.shift()?.resolve({ done: false, value: undefined })\n }, delay)\n return () => {\n clearInterval(timer)\n if (done) return\n done = { kind: 'throw', reason: new Error('Context has been disposed') }\n for (const task of nextTasks.splice(0)) task.reject(done.reason)\n }\n }, 'ctx.interval()')\n return {\n next: () => {\n if (!done) {\n const task = Promise.withResolvers<IteratorResult<void>>()\n nextTasks.push(task)\n return task.promise\n }\n if (done.kind === 'return') return Promise.resolve({ done: true, value: done.value })\n return Promise.reject(done.reason)\n },\n return: (value) => {\n if (!done) done = { kind: 'return', value }\n for (const task of nextTasks.splice(0)) task.resolve({ done: true, value })\n dispose()\n return Promise.resolve({ done: true, value })\n },\n throw: (reason) => {\n if (!done) done = { kind: 'throw', reason }\n for (const task of nextTasks.splice(0)) task.reject(reason)\n dispose()\n return Promise.resolve({ done: true, value: undefined })\n },\n [Symbol.asyncIterator]() {\n return this\n },\n } satisfies AsyncIterableIterator<void>\n }\n }\n\n private _schedule(label: string, trigger: (args: any[]) => number | NodeJS.Timeout | undefined) {\n let timer: number | NodeJS.Timeout | undefined\n let isDisposed = false\n const dispose = this.ctx.effect(() => () => {\n isDisposed = true\n clearTimeout(timer)\n timer = undefined\n }, label)\n const wrapper: any = (...args: any[]) => {\n if (isDisposed) return\n clearTimeout(timer)\n timer = trigger(args)\n }\n wrapper.dispose = dispose\n return wrapper\n }\n\n /** Return a throttled function whose timer is disposed with the current fiber. */\n throttle<F extends (...args: any[]) => any>(callback: F, delay: number, noTrailing?: boolean): Scheduled<F> {\n let lastCall = -Infinity\n const execute = (...args: any[]) => {\n lastCall = Date.now()\n callback(...args)\n }\n return this._schedule('ctx.throttle()', (args) => {\n const now = Date.now()\n const remaining = delay - now + lastCall\n if (remaining <= 0) {\n execute(...args)\n } else if (!noTrailing) {\n return setTimeout(execute, remaining, ...args)\n }\n })\n }\n\n /** Return a debounced function whose timer is disposed with the current fiber. */\n debounce<F extends (...args: any[]) => any>(callback: F, delay: number): Scheduled<F> {\n return this._schedule('ctx.debounce()', (args) => {\n return setTimeout(callback, delay, ...args)\n })\n }\n}\n\nexport default TimerService\n","/**\n * Browser-half closure evaluation: the package source runs as the body of an\n * async function whose parameters ARE the symbol surface. Shadowing parameters\n * (setTimeout/fetch/require/…) turn the ambient browser globals into teaching\n * redirects without touching the page. The host syntax-prechecked the source at\n * define time; SyntaxError handling here is the engine-divergence fallback and\n * reaches the model through the load report.\n */\n\nimport * as React from 'react'\nimport type { CordisDynamicPluginId } from '@deepseek-ai/dsh-api-remotes/client'\n\n/** A mountable plugin as the closure must return it (FUNCTION or OBJECT form). */\nexport interface DynamicCordisEvaluatedPlugin {\n /** Optional plugin name; the runner overwrites it with the module id. */\n name?: string\n /** Services the browser half declares; the runner overwrites it from the dispatched row. */\n inject?: string[]\n /** Plugin body receiving the guard facade. */\n apply: (ctx: unknown, config?: unknown) => unknown\n}\n\n/** What the evaluator needs from the runner to build one package's closure. */\nexport interface DynamicCordisClosureEnv {\n /** Route `host.call` to this package's host half over the wire. */\n invoke(method: string, args: unknown): Promise<unknown>\n /** Mirror one runtime error text into the load report (console.error copies). */\n noteError(message: string): void\n}\n\nconst TIMER_REDIRECT\n = 'browser timer globals are unavailable in dynamic packages. Declare inject: [\\'timer\\'] on the returned plugin, '\n + 'query Client Service.listService for the exact API, and close over that plugin ctx. In React, create timers '\n + 'from an event handler or React.useEffect and return callback-form disposers from the effect cleanup.'\n\n/**\n * Where each withheld browser global sends the author instead. One home for two\n * consumers: the closure traps below throw these, and a render crash whose\n * message names one of them gets the same redirect appended — a package that\n * reached the global some other way (`window.setInterval`) crashes with the\n * engine's own bare text, and the author needs the redirect either way.\n */\nexport const DYNAMIC_CLIENT_REDIRECTS: Readonly<Record<string, string>> = {\n setTimeout: TIMER_REDIRECT,\n setInterval: TIMER_REDIRECT,\n clearTimeout: TIMER_REDIRECT,\n clearInterval: TIMER_REDIRECT,\n fetch:\n 'network belongs to the HOST half: register a handler there with harness.handle(method, fn) and call it here via host.call(method, args).',\n require:\n 'modules cannot be imported here. React arrives as the `React` closure symbol; everything else goes through ctx services or host.call.',\n}\n\n/** Callable teaching traps shadowing the ambient globals the closure must not reach. */\nfunction closureTraps(): Record<string, () => never> {\n const traps: Record<string, () => never> = {}\n for (const [name, redirect] of Object.entries(DYNAMIC_CLIENT_REDIRECTS)) {\n traps[name] = (): never => {\n throw new Error(`${name} is not available in a dynamic client half — ${redirect}`)\n }\n }\n return traps\n}\n\n/** The `harness` seat exists only host-side; any touch teaches the split. */\nfunction harnessTrap(): unknown {\n return new Proxy({}, {\n get(_target, prop) {\n throw new Error(\n `harness.${String(prop)} belongs to the HOST half (\\`code\\`): register handlers there with harness.handle(method, fn); `\n + 'the browser half calls them via host.call(method, args).',\n )\n },\n })\n}\n\n/** Per-package style-tag bookkeeping behind the `styles.insert` symbol. */\nexport class DynamicCordisStyles {\n private readonly tags = new Set<HTMLStyleElement>()\n\n /** @param pluginId - owning Plugin ID, stamped as `data-dyn` on every tag. */\n constructor(private readonly pluginId: CordisDynamicPluginId) {}\n\n /**\n * Inject one stylesheet, removed automatically on package unload.\n * @param css - raw CSS text.\n * @returns disposer removing this one tag early.\n */\n insert(css: string): () => void {\n if (typeof css !== 'string') throw new Error('styles.insert(css) needs a CSS string')\n const tag = document.createElement('style')\n tag.dataset.dyn = this.pluginId\n tag.textContent = css\n document.head.append(tag)\n this.tags.add(tag)\n return () => {\n this.tags.delete(tag)\n tag.remove()\n }\n }\n\n /** Live tag count (load-report contribution summary). */\n get count(): number {\n return this.tags.size\n }\n\n /** Remove every tag this package still owns (unload path). */\n dispose(): void {\n for (const tag of this.tags) tag.remove()\n this.tags.clear()\n }\n}\n\n/** Stringify one console argument for the error mirror. */\nfunction errorText(arg: unknown): string {\n if (arg instanceof Error) return arg.message\n if (typeof arg === 'string') return arg\n if (arg === undefined) return 'undefined'\n try {\n return JSON.stringify(arg)\n } catch {\n // A circular or otherwise non-serializable console argument: the mirror\n // carries the message, and nothing else here can fail.\n return '[unserializable console argument]'\n }\n}\n\n/** Tagged write-through console; error lines additionally copy into the load report. */\nfunction taggedConsole(pluginId: CordisDynamicPluginId, noteError: (message: string) => void): Console {\n const tag = `[cordis:${pluginId}]`\n const forward = (level: 'log' | 'info' | 'warn' | 'error' | 'debug') => (...args: unknown[]): void => {\n console[level](tag, ...args)\n if (level !== 'error') return\n noteError(args.map(errorText).join(' ').slice(0, 500))\n }\n return {\n ...console,\n log: forward('log'),\n info: forward('info'),\n warn: forward('warn'),\n error: forward('error'),\n debug: forward('debug'),\n }\n}\n\n/**\n * Narrow a closure return value to a mountable plugin (host guard mirror).\n * @param value - whatever the closure returned.\n * @returns whether the value is mountable.\n */\nexport function isDynamicCordisPlugin(value: unknown): value is DynamicCordisEvaluatedPlugin | ((ctx: unknown) => unknown) {\n if (typeof value === 'function') return true\n return typeof value === 'object' && value !== null\n && typeof (value as { apply?: unknown }).apply === 'function'\n}\n\n/**\n * Evaluate one package's browser half and return the (un-guarded) plugin.\n * @param pluginId - stable Plugin ID (console tag and style ownership).\n * @param clientCode - the browser half's source: an async function body returning a plugin.\n * @param env - runner wiring for `host.call` and error mirroring.\n * @param styles - the package's style bookkeeping (owned by the caller so unload can dispose it).\n * @returns the plugin the closure returned.\n * @throws teaching errors for syntax failures and non-plugin returns.\n */\nexport async function evaluateClientHalf(\n pluginId: CordisDynamicPluginId,\n clientCode: string,\n env: DynamicCordisClosureEnv,\n styles: DynamicCordisStyles,\n): Promise<DynamicCordisEvaluatedPlugin | ((ctx: unknown) => unknown)> {\n const traps = closureTraps()\n const parameters = ['React', 'console', 'styles', 'host', 'harness', ...Object.keys(traps), 'process', 'Buffer']\n let closure: (...args: unknown[]) => Promise<unknown>\n try {\n // The wrapper mirrors the host precheck exactly, so line offsets match.\n // Evaluating a definition's browser half IS this package's product: the\n // source arrived from a host process that accepted and prechecked it.\n // oxlint-disable-next-line typescript/no-implied-eval -- see above\n const factory = new Function(...parameters, `return (async () => {\\n${clientCode}\\n})()`)\n closure = factory as (...args: unknown[]) => Promise<unknown>\n } catch (error) {\n if (!(error instanceof SyntaxError)) throw error\n // Engine-divergence fallback: the host precheck already carried the\n // line/caret teaching; browsers give only the message.\n throw new Error(\n `client half failed to parse in this browser: ${error.message}\\n`\n + 'The browser half is plain JavaScript (no JSX, no TypeScript); build elements with React.createElement.',\n )\n }\n const host = {\n /**\n * Call a host-half handler of THIS package (harness.handle pairing). A call\n * with nothing to pass omits the argument: it arrives at the handler as\n * `null`, because the wire carries JSON and `undefined` is not JSON —\n * requiring `host.call('m', {})` would be a ritual, and defaulting to `{}`\n * would invent an empty argument the caller never wrote.\n */\n call: (method: string, args: unknown = null): Promise<unknown> => env.invoke(method, args),\n }\n const returned = await closure(\n React,\n taggedConsole(pluginId, (message) => { env.noteError(message) }),\n styles,\n host,\n harnessTrap(),\n ...Object.values(traps),\n undefined, // process: undefined keeps `typeof process` probes safe\n undefined, // Buffer\n )\n if (!isDynamicCordisPlugin(returned)) {\n if (returned === undefined) {\n throw new Error(\n 'client half returned `undefined` — did you forget `return`?\\n'\n + ' ✓ return (ctx) => { … }\\n'\n + ' ✓ return { name: \\'…\\', inject: [\\'slots\\'], apply(ctx) { … } }',\n )\n }\n throw new Error('client half must `return` a plugin: a function, or an object with an `apply(ctx)` method')\n }\n return returned\n}\n","/**\n * The browser twin of the tool-cordis context facade: a whitelist of\n * lifecycle-safe verbs plus optional `ctx.get()` lookup and declared-service\n * property access, with\n * framework internals withheld and Context-valued returns denied. Two seats\n * carry extra machinery: `slots`, where the registration proxy assigns any\n * shadowing priority and ledgers ordinary entries or Factory definitions — invoking the service with\n * the traced receiver so the effect lands on the CALLING plugin's fiber\n * (SlotRegistry.register must stay a prototype method for exactly that\n * reason) — and `theme`, whose override source is pinned to the package id.\n *\n * This is API discipline, not a security boundary: a dynamic package's code is\n * as trusted as the host process that accepted its definition.\n */\n\nimport { Context } from '@deepseek-ai/cordis'\nimport type { DynamicCordisPackage } from '@deepseek-ai/dsh-api-remotes/client'\nimport type { SlotRegistry } from '@deepseek-ai/dsh-client-ui-renderer/client'\nimport type { ThemeRuntime } from '@deepseek-ai/dsh-client-ui-theme/client'\n\n/** Facade verbs beyond declared services (host CTX_VERBS twin). */\nconst CTX_VERBS = new Set([\n 'effect', 'on', 'once', 'provide', 'timeout', 'interval', 'setTimeout', 'setInterval', 'throttle', 'debounce',\n])\nconst TIMER_VERBS = new Set(['timeout', 'interval', 'setTimeout', 'setInterval', 'throttle', 'debounce'])\n\n/** One package's Slot or Factory registration ledger row (contribution projection source). */\nexport interface DynamicCordisSlotLedgerRow {\n /** Target Slot name, or `factory:<name>` for a Factory definition. */\n slot: string\n /** The assigned shadowing priority (globally unique — how winners are matched back to packages). */\n priority: number | undefined\n}\n\n/** What the facade needs beyond the real ctx to govern one package. */\nexport interface DynamicCordisGuardEnv {\n /** The dispatched Package row. */\n pkg: DynamicCordisPackage\n /** Ledger sink: every Slot or Factory registration this package makes. */\n ledger: DynamicCordisSlotLedgerRow[]\n /**\n * Ownership index sink: the component object seated in a slot, so a later\n * render crash reported against the stored entry can be attributed back to\n * this package. Identity is the key — the registry stores the component\n * verbatim — which is why nothing else has to be remembered about the entry.\n * @param component - whatever the package passed as its component.\n */\n claim(component: unknown): void\n /** Allocate one page-local shadowing rank; later registrations sort first. */\n allocatePriority(): number\n /** Report one post-activation guard rejection to the owning Agent. */\n reportFailure(error: Error): void\n}\n\n/** Reject any service return that is a cordis Context (host guard twin). */\nfunction denyContext(value: unknown, service: string, env: DynamicCordisGuardEnv): unknown {\n if (value instanceof Context) {\n return rejectGuard(env,\n `service \"${service}\" returned a cordis Context, which the dynamic facade does not expose. `\n + 'Operate through your own plugin ctx and the services you declared — never another context.',\n )\n }\n return value\n}\n\n/**\n * Forward service methods with the traced service as receiver — `this.ctx`\n * inside prototype methods (slots.register) must stay the CALLER's ctx so\n * effects land on the calling plugin's fiber — while denying Context returns.\n */\nfunction guardedService(service: object, name: string, env: DynamicCordisGuardEnv): unknown {\n return new Proxy(service, {\n get(target, prop) {\n const value: unknown = Reflect.get(target, prop, target)\n if (typeof value !== 'function') return denyContext(value, name, env)\n return (...args: unknown[]): unknown => {\n const result: unknown = Reflect.apply(value, target, args)\n if (result instanceof Promise) return result.then(resolved => denyContext(resolved, name, env))\n return denyContext(result, name, env)\n }\n },\n })\n}\n\n/** Erased register options as this facade reads and rewrites them. */\ninterface ErasedSlotOptions {\n name?: string\n priority?: number\n [key: string]: unknown\n}\n\n/**\n * The slots seat: automatic shadowing priority and ledger recording around the\n * traced service's own Slot and Factory registration methods.\n */\nfunction guardedSlots(slots: SlotRegistry, env: DynamicCordisGuardEnv): unknown {\n return new Proxy(slots, {\n get(target, prop) {\n const value: unknown = Reflect.get(target, prop, target)\n if (prop !== 'register' && prop !== 'registerFactory') {\n if (typeof value !== 'function') return denyContext(value, 'slots', env)\n return (...args: unknown[]): unknown => denyContext(Reflect.apply(value, target, args), 'slots', env)\n }\n return (rawOptions: unknown, component: unknown): unknown => {\n if (typeof rawOptions !== 'object' || rawOptions === null) {\n return rejectGuard(env, 'slots.register(options, component) needs an options object with a `name`')\n }\n const options = { ...rawOptions as ErasedSlotOptions }\n const slot = options.name\n if (typeof slot !== 'string' || slot.length === 0) {\n return rejectGuard(env, `slots.${prop} options need a string \\`name\\``)\n }\n if (prop === 'registerFactory') {\n const dispose = Reflect.apply(value as (...args: unknown[]) => unknown, target, [options, component])\n env.ledger.push({ slot: `factory:${slot}`, priority: undefined })\n env.claim(component)\n return dispose\n }\n if (slot === 'tool.view.cordis') {\n if (options.key !== 'self') {\n return rejectGuard(env, 'tool.view.cordis only accepts key \"self\"; the runtime binds it to this Package')\n }\n options.key = `${env.pkg.pluginId}.${env.pkg.packageId}`\n }\n // Shadowing kinds get a page-local rank. Later registrations sort first;\n // chain slots keep their own election (select order) untouched.\n const spec = (slots.spec as (key: string) => { kind?: string } | undefined)(slot)\n let priority = options.priority\n if (spec === undefined || spec.kind !== 'chain') {\n priority = env.allocatePriority()\n options.priority = priority\n }\n const register = Reflect.get(target, 'register', target) as (opts: object, comp: unknown) => () => void\n const dispose = register.call(target, options, component)\n env.ledger.push({ slot, priority })\n // After the registry accepted it: a rejected registration seats no entry,\n // so claiming one would index a component no crash can ever name.\n env.claim(component)\n return dispose\n }\n },\n })\n}\n\n/**\n * The theme seat: `overrideTokens`' source is FORCED to the package id — a\n * dynamic package can never impersonate (or evict) another source's layer, and\n * its own layers converge under one identity unload can reason about. The\n * layer's disposer is additionally hung on the calling fiber, because the\n * documented contract is \"unload restores\" and model code cannot be trusted to\n * keep the returned handle (slots parity — register hangs its own cleanup).\n * Everything else forwards through the generic guard.\n */\nfunction guardedTheme(theme: ThemeRuntime, env: DynamicCordisGuardEnv, ctx: Context): unknown {\n return new Proxy(theme, {\n get(target, prop) {\n if (prop !== 'overrideTokens') {\n const value: unknown = Reflect.get(target, prop, target)\n if (typeof value !== 'function') return denyContext(value, 'theme', env)\n return (...args: unknown[]): unknown => {\n const result: unknown = Reflect.apply(value, target, args)\n if (result instanceof Promise) return result.then(resolved => denyContext(resolved, 'theme', env))\n return denyContext(result, 'theme', env)\n }\n }\n return (source: unknown, tokens: unknown): unknown => {\n // Two-argument shape preserved so the facade matches the documented\n // service signature; the source VALUE is replaced, never trusted.\n if (tokens === undefined && typeof source === 'object' && source !== null) {\n return rejectGuard(env,\n 'theme.overrideTokens(source, tokens) takes two arguments; source is replaced with your package id, '\n + 'so pass any string first and the token map second: overrideTokens(\\'mine\\', { \\'--dsw-alias-…\\': { light: \\'…\\', dark: \\'…\\' } })',\n )\n }\n const method = Reflect.get(target, 'overrideTokens', target)\n const dispose = Reflect.apply(method, target, [`${env.pkg.pluginId}.${env.pkg.packageId}`, tokens]) as () => void\n // Fiber-owned lifetime; the returned handle stays valid for early\n // removal (the service disposer is idempotent per layer identity).\n ctx.effect(() => dispose, 'cordis-client-runner: dynamic theme override layer')\n return dispose\n }\n },\n })\n}\n\n/**\n * Build the facade one dynamic plugin's `apply` receives (host sandboxContext\n * twin, browser seats). `ctx.get(name)` performs optional lookup; direct\n * `ctx.serviceName` access is gated by the fiber's `inject` declaration.\n * @param ctx - the plugin's real fiber ctx (loader-created).\n * @param env - package row + ledger sink.\n * @returns the whitelisting proxy standing in for ctx.\n */\nexport function dynamicCordisContext(ctx: Context, env: DynamicCordisGuardEnv): Context {\n const declared = new Set(Object.keys(ctx.fiber.inject))\n const denyRead = (prop: string): never => {\n if (ctx.get(prop) !== undefined) {\n return rejectGuard(env,\n `service \"${prop}\" is not declared by your plugin. Declare it on the plugin you return: `\n + `{ inject: ['${prop}', …], apply(ctx) { … } } — a plain \\`function\\` has no declaration site, `\n + 'so use the object form. The runtime then parks the package if the provider unloads.',\n )\n }\n return rejectGuard(env,\n `dynamic ctx does not expose \"${prop}\". Available: ctx.on / ctx.provide / timer helpers after injecting timer, and any service your `\n + 'returned plugin declared in inject (slots and theme are the usual UI seats). Framework internals are withheld '\n + 'by design.',\n )\n }\n const readService = (name: string, requireDeclaration: boolean): unknown => {\n if (requireDeclaration && !declared.has(name)) return denyRead(name)\n const service = denyContext(ctx.get(name), name, env)\n if (service === null || (typeof service !== 'object' && typeof service !== 'function')) return service\n if (name === 'slots') return guardedSlots(service as SlotRegistry, env)\n if (name === 'theme') return guardedTheme(service as ThemeRuntime, env, ctx)\n return guardedService(service, name, env)\n }\n return new Proxy({}, {\n get(_target, prop) {\n if (prop === 'get') return (name: string): unknown => readService(name, false)\n if (typeof prop !== 'string') return undefined\n // Lazy verb forwarder (host twin): resolve ctx[verb] only when called.\n if (CTX_VERBS.has(prop)) {\n return (...args: unknown[]): unknown => {\n if (TIMER_VERBS.has(prop) && !declared.has('timer')) return denyRead('timer')\n const method = ctx[prop as keyof Context]\n return Reflect.apply(method as (...a: unknown[]) => unknown, ctx, args)\n }\n }\n return readService(prop, true)\n },\n set(_target, prop) {\n return rejectGuard(env, `dynamic ctx is read-only; cannot assign \"${String(prop)}\"`)\n },\n has: (_target, prop) => prop === 'get'\n || (typeof prop === 'string'\n && ((CTX_VERBS.has(prop) && (!TIMER_VERBS.has(prop) || declared.has('timer'))) || declared.has(prop))),\n }) as Context\n}\n\nfunction rejectGuard(env: DynamicCordisGuardEnv, message: string): never {\n const error = new Error(message)\n env.reportFailure(error)\n throw error\n}\n","/**\n * Per-package browser lifecycle: evaluate the closure, wrap `apply` in the guard\n * facade, seat a ready-made factory in the module table, and create a loader\n * entry — so dynamic packages ride the exact machinery static plugins do\n * (activation gating on inject, fiber-effect cleanup, status projection). Unload\n * = loader entry removal (fiber disposal cascades slot entries and facade\n * effects) + factory invalidation + style removal.\n *\n * The engine answers its caller: `load` resolves with what this page ended up\n * with, which is what the run orchestration reports back to the host. Loads\n * converge by Plugin Run ID against live state, not history: loading the exact\n * activation this page already runs is a no-op that still answers, another run\n * replaces it, and the same Package after a retract loads afresh. Per-Plugin\n * serialization keeps a second request from interleaving with one in flight.\n */\n\nimport type { Context } from '@deepseek-ai/cordis'\nimport type { Loader } from '@deepseek-ai/cordis-plugin-loader'\nimport type {\n CordisDynamicPackageId, CordisDynamicPluginId, CordisDynamicPluginRunId, DynamicCordisPackage,\n SessionId,\n} from '@deepseek-ai/dsh-api-remotes/client'\nimport type { ClientModuleSystem } from '@deepseek-ai/dsh-client-modules/client'\nimport type { SlotRegistry } from '@deepseek-ai/dsh-client-ui-renderer/client'\nimport { DynamicCordisStyles, evaluateClientHalf, DYNAMIC_CLIENT_REDIRECTS } from './evaluator.ts'\nimport type { DynamicCordisEvaluatedPlugin } from './evaluator.ts'\nimport { dynamicCordisContext } from './guard.ts'\nimport type { DynamicCordisSlotLedgerRow } from './guard.ts'\n\n/**\n * Snapshot source a surface can subscribe to (the render seam's observable\n * shape). Lives here because both this engine and the run orchestration publish\n * through it, and the orchestration already depends on this module.\n */\nexport interface CordisObservable<T> {\n /** Current value; the reference is stable between mutations. */\n getSnapshot(): T\n /**\n * Observe mutations.\n * @param fn - notified after each committed change.\n * @returns unsubscribe.\n */\n subscribe(fn: () => void): () => void\n}\n\n/** Which stage of a load failed, as the page classified it. */\nexport type DynamicCordisLoadErrorCause = 'evaluate' | 'module-import' | 'activate'\n\n/** Error fields retained by the page runner and Host transport. */\nexport interface CordisErrorDetails {\n /** Original error message. */\n message: string\n /** Original stack when the thrown value supplied one. */\n stack?: string\n}\n\n/** One package's browser half as the host handed it over. */\nexport interface DynamicCordisClientHalf {\n /** Stable Plugin instance. */\n pluginId: CordisDynamicPluginId\n /** Immutable Package source version. */\n packageId: CordisDynamicPackageId\n /** Exact activation. */\n pluginRunId: CordisDynamicPluginRunId\n /** Session the run is carried out for; a later render failure is reported under it. */\n agentId: SessionId\n /** Label from the define call; also the plugin name. */\n name: string\n /** Browser-half source: an async function body returning a plugin. */\n code: string\n}\n\n/**\n * One render-time crash of a dynamic package's slot entry, as this page reports\n * it. Post-settle diagnosis only: the run it belongs to was answered long before\n * (a package that crashes while rendering loaded successfully), so this never\n * reaches a run resolution.\n */\nexport interface DynamicCordisRenderFailure {\n /** Slot key the crashed entry rendered under. */\n slot: string\n /** What the author has to read to fix it: the crash text, plus a redirect when it names a withheld global. */\n message: string\n /** Original render failure stack when available. */\n stack?: string\n /** Whether the crash retired the entry from its cell — the package's UI is gone, not merely broken. */\n abdicated: boolean\n}\n\n/**\n * What this page ended up with. A parked package is a success — the browser half\n * settled and waits on declared services this page has not got.\n */\nexport type DynamicCordisLoadResult =\n | { ok: true; pluginRunId: CordisDynamicPluginRunId; waitingFor?: string[] }\n | ({ ok: false; cause: DynamicCordisLoadErrorCause; error?: unknown } & CordisErrorDetails)\n\n/** The `window.__ModuleLoader__` registration sink (client-modules contract C6). */\ninterface ModuleLoaderSink {\n __ModuleLoader__?: {\n load(handoff: { id: string; factory: (require: (spec: string) => unknown) => unknown }): void\n }\n}\n\n/** One live package's bookkeeping. */\ninterface LivePackage {\n pkg: DynamicCordisPackage\n entryId: string\n styles: DynamicCordisStyles\n ledger: DynamicCordisSlotLedgerRow[]\n /** Services the browser half declared and this page has not got (parked, still a success). */\n waitingFor: string[]\n}\n\n/** Runner dependencies, resolved by the plugin entry at activation. */\nexport interface DynamicCordisRunnerEnv {\n /** The client root context (service reads and the guard's fiber owner). */\n ctx: Context\n /** Client cordis Loader: dynamic packages become entries under it. */\n loader: Loader\n /** Module table, for factory invalidation before every (re-)registration. */\n modules: ClientModuleSystem\n /** Slot registry, for the entry-crash supervision seam. */\n slots: SlotRegistry\n /** Route one `host.call` to the package's host half through the Remote namespace. */\n invoke(\n pluginId: CordisDynamicPluginId,\n pluginRunId: CordisDynamicPluginRunId,\n method: string,\n args: unknown,\n ): Promise<unknown>\n /**\n * Send one render-time crash back to the session that authored the package.\n * Fire-and-forget by contract: the crash already happened, and a failed report\n * must not become a second failure.\n * @param agentId - session the crashed package was run for.\n * @param id - the crashed package.\n * @param failure - slot, teaching text, and whether the entry was retired.\n */\n reportRenderFailure(\n agentId: SessionId,\n pluginId: CordisDynamicPluginId,\n pluginRunId: CordisDynamicPluginRunId,\n failure: DynamicCordisRenderFailure,\n ): void\n /** Send one post-activation Client guard rejection to the owning Agent. */\n reportGuardFailure(\n agentId: SessionId,\n pluginId: CordisDynamicPluginId,\n pluginRunId: CordisDynamicPluginRunId,\n failure: CordisErrorDetails,\n ): void\n}\n\n/** Module-table id of one package (also its loader entry name and fiber name). */\nfunction moduleIdOf(id: CordisDynamicPluginId): string {\n return `dyn/${id}`\n}\n\n/** One live package's contribution summary in this page. */\nexport interface DynamicCordisLivePackage {\n /** Stable Plugin instance. */\n pluginId: CordisDynamicPluginId\n /** Immutable Package source version. */\n packageId: CordisDynamicPackageId\n /** Exact activation loaded in this page. */\n pluginRunId: CordisDynamicPluginRunId\n /** Label from the define call. */\n name: string\n /** Slot names and `factory:<name>` definitions this package registered here. */\n slots: string[]\n /** Live injected-style tag count. */\n styleCount: number\n}\n\n/** The browser-side load engine for dynamic packages. */\nexport class DynamicCordisPackageRunner {\n private readonly live = new Map<CordisDynamicPluginId, LivePackage>()\n /** Serializes load/unload per package id (a second request can outrun a slow load). */\n private readonly queues = new Map<CordisDynamicPluginId, Promise<unknown>>()\n private readonly changeListeners = new Set<() => void>()\n /** Page-local shadowing rank. A later registration receives a lower priority. */\n private nextPriority = 0\n /**\n * Which package seated which component, and for whom. Component identity is the\n * only attribution key that holds:\n * - the registry stores the component verbatim, so a crashed entry carries its\n * own way back — no parallel entry ledger to keep in step;\n * - `entry.registrant` is `options.registrant ?? fiber.name` and the facade does\n * not strip a package-supplied one, so a package could name itself something\n * else — attributing by it would let a package impersonate another;\n * - the assigned shadowing priority is unique but absent on chain entries (their\n * election is deliberately left alone), so it would miss chain crashes;\n * - a package torn down between the crash and the report is still attributable,\n * because this index does not depend on the live record.\n *\n * Two packages cannot collide here: each browser half is evaluated in its own\n * closure, so no component object reaches two of them. A collision is only\n * possible inside ONE package (the same component seated twice), where both\n * entries map to the same id and the value is identical.\n */\n private readonly owners = new WeakMap<object, {\n pluginId: CordisDynamicPluginId\n pluginRunId: CordisDynamicPluginRunId\n agentId: SessionId\n }>()\n /** This page's last render crash per package: what a run surface shows on the row. */\n private readonly failures = new Map<CordisDynamicPluginId, DynamicCordisRenderFailure>()\n private readonly unwatch: () => void\n private snapshotCache: readonly DynamicCordisLivePackage[] | undefined\n private failureCache: ReadonlyMap<CordisDynamicPluginId, DynamicCordisRenderFailure> | undefined\n\n /** @param env - loader/module/slot wiring plus the two host verbs this engine uses. */\n constructor(private readonly env: DynamicCordisRunnerEnv) {\n // The supervision seam fires for EVERY entry crash on the page, factory UI\n // included; only the ones this runner seated are ours to report.\n this.unwatch = env.slots.onEntryError((slot, entry, error, info) => {\n const component: unknown = (entry as { component?: unknown }).component\n const owner = indexable(component) ? this.owners.get(component) : undefined\n if (owner === undefined) return\n const details = errorDetails(error)\n const failure: DynamicCordisRenderFailure = {\n slot,\n message: renderFailureMessage(slot, details.message),\n ...details.stack === undefined ? {} : { stack: details.stack },\n abdicated: info.abdicated,\n }\n // One observation, two outlets with different owners and lifetimes: the host\n // keeps the last crash ACROSS pages for the model, this map is what THIS page\n // currently shows. Neither is derived from the other.\n env.reportRenderFailure(owner.agentId, owner.pluginId, owner.pluginRunId, failure)\n this.failures.set(owner.pluginId, failure)\n this.notify()\n })\n }\n\n /**\n * Observe live-set changes (the run-state surface's re-render seam).\n * @param fn - notified after every converged mutation.\n * @returns unsubscribe.\n */\n subscribe(fn: () => void): () => void {\n this.changeListeners.add(fn)\n return () => { this.changeListeners.delete(fn) }\n }\n\n /**\n * This page's last render crash per package, on the same notification channel as\n * the live set — a surface that already subscribed learns about a crash without\n * a second mechanism to wire.\n */\n readonly renderFailures: CordisObservable<ReadonlyMap<CordisDynamicPluginId, DynamicCordisRenderFailure>> = {\n getSnapshot: () => this.failureCache ??= new Map(this.failures),\n subscribe: fn => this.subscribe(fn),\n }\n\n /**\n * What this page currently has loaded (stable reference between mutations, so\n * it can back a snapshot selector).\n * @returns one row per live package.\n */\n getSnapshot(): readonly DynamicCordisLivePackage[] {\n return this.snapshotCache ??= [...this.live.values()].map(({ pkg, ledger, styles }) => ({\n pluginId: pkg.pluginId,\n packageId: pkg.packageId,\n pluginRunId: pkg.pluginRunId,\n name: pkg.name,\n slots: [...new Set(ledger.map(row => row.slot))],\n styleCount: styles.count,\n }))\n }\n\n /**\n * Whether this page has the browser half loaded — page-local truth, never the\n * host's \"it is running\".\n * @param pluginId - stable Plugin identity.\n * @returns true while one activation of the Plugin is live here.\n */\n isLoaded(pluginId: CordisDynamicPluginId): boolean {\n return this.live.has(pluginId)\n }\n\n /**\n * Load one browser half into this page and answer what happened.\n * @param half - source for one exact Host activation.\n * @returns the outcome the run orchestration reports to the host.\n */\n load(half: DynamicCordisClientHalf): Promise<DynamicCordisLoadResult> {\n return this.enqueue(half.pluginId, async () => {\n const current = this.live.get(half.pluginId)\n if (current !== undefined) {\n // Already running this activation here: nothing to load, but the caller\n // still needs an answer (a replayed run must not look unacknowledged).\n if (current.pkg.pluginRunId === half.pluginRunId) return settled(current)\n await this.teardown(current.pkg.pluginId, current.entryId, current.styles)\n }\n const result = await this.mount(half)\n this.notify()\n return result\n })\n }\n\n /**\n * Unload one package (`cordis/dynamic-retract`: a stop, or an undefine\n * that stops first).\n * @param pluginId - stable Plugin identity.\n * @param pluginRunId - exact activation being retracted; a newer run survives.\n */\n retract(pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId): void {\n void this.enqueue(pluginId, async () => {\n const current = this.live.get(pluginId)\n if (current === undefined || current.pkg.pluginRunId !== pluginRunId) return\n await this.teardown(pluginId, current.entryId, current.styles)\n this.notify()\n })\n }\n\n /** Unload everything (plugin disposal path). */\n async dispose(): Promise<void> {\n this.unwatch()\n for (const current of [...this.live.values()]) {\n await this.teardown(current.pkg.pluginId, current.entryId, current.styles)\n }\n this.notify()\n }\n\n private notify(): void {\n this.snapshotCache = undefined\n this.failureCache = undefined\n for (const fn of [...this.changeListeners]) fn()\n }\n\n /** Queue one package operation behind that package's previous ones. */\n private enqueue<T>(id: CordisDynamicPluginId, op: () => Promise<T>): Promise<T> {\n const previous = this.queues.get(id) ?? Promise.resolve()\n const next = previous.then(op)\n // The queue tail must survive this operation's failure, or one rejection\n // would wedge every later operation on the same package.\n this.queues.set(id, next.then(() => {}, () => {}))\n return next\n }\n\n private async mount(half: DynamicCordisClientHalf): Promise<DynamicCordisLoadResult> {\n const styles = new DynamicCordisStyles(half.pluginId)\n const ledger: DynamicCordisSlotLedgerRow[] = []\n let plugin: DynamicCordisEvaluatedPlugin | ((ctx: unknown) => unknown)\n try {\n plugin = await evaluateClientHalf(half.pluginId, half.code, {\n invoke: (method, args) => this.env.invoke(half.pluginId, half.pluginRunId, method, args),\n noteError: (message) => {\n // A loaded package's own console.error: a page-local diagnostic with\n // no wire carrier (the run round trip settled long before).\n console.error(`[cordis-client-runner] ${half.pluginId} logged an error:`, message)\n },\n }, styles)\n } catch (error) {\n styles.dispose()\n return { ok: false, cause: 'evaluate', ...errorDetails(error), error }\n }\n\n const pkg: DynamicCordisPackage = {\n pluginId: half.pluginId,\n packageId: half.packageId,\n pluginRunId: half.pluginRunId,\n name: half.name,\n }\n const surface = this.guardedSurface(pkg, half.agentId, plugin, ledger)\n const moduleId = moduleIdOf(half.pluginId)\n // Invalidate-then-register keeps re-loading legal: the module table throws\n // loudly on a duplicate factory registration.\n this.env.modules.invalidate(moduleId)\n const sink = (globalThis as ModuleLoaderSink).__ModuleLoader__\n if (sink === undefined) {\n throw new Error('cordis-client-runner: window.__ModuleLoader__ is missing (booted outside the web shell?)')\n }\n sink.load({ id: moduleId, factory: () => surface })\n\n const entryId = await this.env.loader.create({ name: moduleId })\n const fiber = this.env.loader.resolve(entryId).fiber\n if (fiber === undefined) {\n await this.teardown(half.pluginId, entryId, styles)\n return { ok: false, cause: 'module-import', message: 'module import failed (see the browser console)' }\n }\n try {\n await fiber.await()\n } catch (error) {\n await this.teardown(half.pluginId, entryId, styles)\n return { ok: false, cause: 'activate', ...errorDetails(error), error }\n }\n // Settled but not active = legal pending on an unsatisfied declaration. The\n // record is seated only now, so an error mirrored during `apply` cannot\n // claim the package is already live.\n const waitingFor = Object.keys(fiber.inject).filter(name => this.env.ctx.get(name) === undefined)\n const record: LivePackage = { pkg, entryId, styles, ledger, waitingFor }\n this.live.set(half.pluginId, record)\n // A fresh load answers for itself: whatever this page last showed as crashed\n // is no longer true of what is mounted now.\n this.failures.delete(half.pluginId)\n return settled(record)\n }\n\n /**\n * Wrap the evaluated plugin so `apply` sees the guard facade; the surface\n * doubles as the module-table module. The plugin's OWN `inject` survives (the\n * object form's declaration is the facade's service gate, mirroring the host\n * sandbox reading `ctx.fiber.inject`); the function form has no declaration\n * site and therefore reaches no service.\n */\n private guardedSurface(\n pkg: DynamicCordisPackage,\n agentId: SessionId,\n plugin: DynamicCordisEvaluatedPlugin | ((ctx: unknown) => unknown),\n ledger: DynamicCordisSlotLedgerRow[],\n ): DynamicCordisEvaluatedPlugin {\n const claim = (component: unknown): void => {\n if (indexable(component)) {\n this.owners.set(component, { pluginId: pkg.pluginId, pluginRunId: pkg.pluginRunId, agentId })\n }\n }\n const guarded = (ctx: unknown): Context => dynamicCordisContext(ctx as Context, {\n pkg,\n ledger,\n claim,\n allocatePriority: () => --this.nextPriority,\n reportFailure: (error) => {\n this.env.reportGuardFailure(agentId, pkg.pluginId, pkg.pluginRunId, errorDetails(error))\n },\n })\n if (typeof plugin === 'function') {\n return { name: moduleIdOf(pkg.pluginId), apply: (ctx: unknown) => plugin(guarded(ctx)) }\n }\n return {\n ...plugin,\n name: moduleIdOf(pkg.pluginId),\n apply: (ctx: unknown, config?: unknown) => plugin.apply(guarded(ctx), config),\n }\n }\n\n /**\n * Unload one package's contributions. Takes the pieces rather than the record\n * because a load can fail before any record is seated.\n */\n private async teardown(\n id: CordisDynamicPluginId,\n entryId: string,\n styles: DynamicCordisStyles,\n ): Promise<void> {\n this.live.delete(id)\n // Nothing of this package renders here any more, so a crash row would outlive\n // the thing it described.\n this.failures.delete(id)\n // Entry removal disposes the fiber (slot entries and facade effects\n // cascade); the factory invalidation makes a later re-load legal.\n const disposal = this.env.loader.resolve(entryId).fiber?.dispose()\n this.env.loader.remove(entryId)\n await disposal\n this.env.modules.invalidate(moduleIdOf(id))\n styles.dispose()\n }\n}\n\n/** The success answer for a package that is live here, parked or active. */\nfunction settled(record: { pkg: DynamicCordisPackage; waitingFor: string[] }): DynamicCordisLoadResult {\n return {\n ok: true,\n pluginRunId: record.pkg.pluginRunId,\n ...record.waitingFor.length > 0 ? { waitingFor: record.waitingFor } : {},\n }\n}\n\n/**\n * Whether a component can key the ownership index. Identity is the key, so only\n * objects and functions qualify — a package may register anything, and what it\n * registered is what a crash report carries back.\n * @param component - whatever a package passed as its component.\n * @returns true when the value can be indexed by identity.\n */\nfunction indexable(component: unknown): component is object {\n return typeof component === 'object' && component !== null || typeof component === 'function'\n}\n\n/**\n * Preserve error fields for a load result without fabricating a stack.\n * @param error - original thrown value.\n * @returns its message and original string stack, when present.\n */\n/* jscpd:ignore-start */\nexport function errorDetails(error: unknown): CordisErrorDetails {\n if (typeof error !== 'object' || error === null) return { message: String(error) }\n const message = 'message' in error && typeof error.message === 'string'\n ? error.message\n : Object.prototype.toString.call(error)\n const stack = 'stack' in error && typeof error.stack === 'string' ? error.stack : undefined\n return { message, ...stack === undefined ? {} : { stack } }\n}\n/* jscpd:ignore-end */\n\n/**\n * What the authoring session reads about one render crash. The slot says where it\n * happened, the crash message says what broke, and a withheld global named in that\n * text pulls in its redirect — a package that reached `window.setInterval` around\n * the closure trap crashes with the engine's bare message, which teaches nothing.\n */\nfunction renderFailureMessage(slot: string, message: string): string {\n const redirect = Object.entries(DYNAMIC_CLIENT_REDIRECTS)\n .find(([name, text]) => message.includes(name) && !message.includes(text))?.[1]\n const subject = slot.startsWith('factory:')\n ? `your component in Factory \"${slot.slice('factory:'.length)}\"`\n : `your entry in slot \"${slot}\"`\n return `${subject} crashed while React rendered it: ${message}`\n + (redirect === undefined ? '' : `\\n${redirect}`)\n}\n","/**\n * Page-side run orchestration for model approvals and direct panel gestures.\n * Host activation always precedes Client loading. The same Plugin-keyed state\n * drives every surface, so remounting a panel never loses an open approval or\n * an in-flight transition.\n */\n\nimport type {\n ApprovalRequestId,\n CordisDynamicPackageId,\n CordisDynamicPluginId,\n CordisDynamicPluginRunId,\n CordisDynamicRunMode,\n DynamicCordisClientSource,\n DynamicCordisHostHalfResult,\n DynamicCordisInventoryRow,\n DynamicCordisResolveAck,\n DynamicCordisRunResolution,\n DynamicCordisRunResponse,\n SessionId,\n} from '@deepseek-ai/dsh-api-remotes/client'\nimport { errorDetails } from './runtime.ts'\nimport type { CordisErrorDetails, CordisObservable, DynamicCordisPackageRunner } from './runtime.ts'\n\n/** One Plugin's in-flight approval or activation. */\nexport type CordisRunActivity =\n | {\n phase: 'awaiting-approval'\n requestId: ApprovalRequestId\n agentId: SessionId\n packageId: CordisDynamicPackageId\n mode: CordisDynamicRunMode\n name: string\n purpose: string\n }\n | {\n phase: 'orchestrating'\n agentId: SessionId\n packageId: CordisDynamicPackageId\n mode: CordisDynamicRunMode\n }\n\n/** Why this page's latest activation attempt failed. */\nexport interface CordisRunFailure {\n /** Package the attempt targeted. */\n packageId: CordisDynamicPackageId\n /** Which half or settlement stage failed. */\n reason: 'host-half-failed' | 'client-half-failed'\n /** Actionable failure text. */\n message: string\n /** Original failure stack when available. */\n stack?: string\n}\n\n/** Host operations consumed by the orchestrator after transport folding. */\nexport interface CordisRunHostSeam {\n /** Start a new Host activation or attach this page to an existing one. */\n runHostHalf(\n agentId: SessionId,\n pluginId: CordisDynamicPluginId,\n packageId: CordisDynamicPackageId,\n mode: CordisDynamicRunMode,\n requestId: ApprovalRequestId | null,\n approveFutureVersions: boolean,\n ): Promise<DynamicCordisHostHalfResult>\n /** Fetch Client source for one exact active run. */\n getClientCode(\n agentId: SessionId,\n pluginId: CordisDynamicPluginId,\n pluginRunId: CordisDynamicPluginRunId,\n ): Promise<DynamicCordisClientSource>\n /** Settle a model-driven approval. */\n resolveRequestRun(\n requestId: ApprovalRequestId,\n resolution: DynamicCordisRunResolution,\n ): Promise<DynamicCordisResolveAck>\n /** Settle a direct panel activation after this page handles its Client half. */\n settleUserRun(\n agentId: SessionId,\n pluginId: CordisDynamicPluginId,\n resolution: DynamicCordisRunResolution,\n ): Promise<DynamicCordisRunResponse>\n}\n\n/** Dependencies of one page's orchestrator. */\nexport interface CordisRunOrchestratorEnv {\n /** Page-local Client loader. */\n runner: DynamicCordisPackageRunner\n /** Folded Host RPC operations. */\n host: CordisRunHostSeam\n}\n\n/** Forwarded approval request fields used by this page. */\nexport interface CordisRunRequest {\n requestId: ApprovalRequestId\n agentId: SessionId\n pluginId: CordisDynamicPluginId\n packageId: CordisDynamicPackageId\n mode: CordisDynamicRunMode\n name: string\n purpose: string\n requiresApproval: boolean\n}\n\n/** Direct panel activation request. */\nexport interface CordisUserRunRequest {\n agentId: SessionId\n pluginId: CordisDynamicPluginId\n packageId: CordisDynamicPackageId\n mode: CordisDynamicRunMode\n /** Host-only Packages finish without a Client load or settlement call. */\n hasClientHalf: boolean\n}\n\ninterface RunPlan extends CordisUserRunRequest {\n requestId?: ApprovalRequestId\n approveFutureVersions?: boolean\n}\n\n/** Drives Host → Client activation and publishes Plugin-keyed activity. */\nexport class CordisRunOrchestrator {\n private readonly requests = new Map<ApprovalRequestId, CordisRunRequest>()\n private readonly activity = new Map<CordisDynamicPluginId, CordisRunActivity>()\n private readonly failures = new Map<CordisDynamicPluginId, CordisRunFailure>()\n private readonly inFlight = new Map<CordisDynamicPluginId, Promise<void>>()\n private readonly listeners = new Set<() => void>()\n private activityCache: ReadonlyMap<CordisDynamicPluginId, CordisRunActivity> | undefined\n private failureCache: ReadonlyMap<CordisDynamicPluginId, CordisRunFailure> | undefined\n\n /** @param env - Client loader and folded Host operations. */\n constructor(private readonly env: CordisRunOrchestratorEnv) {}\n\n /** Open approvals and current activation attempts, keyed by stable Plugin ID. */\n readonly activeRuns: CordisObservable<ReadonlyMap<CordisDynamicPluginId, CordisRunActivity>> = {\n getSnapshot: () => this.activityCache ??= new Map(this.activity),\n subscribe: fn => this.observe(fn),\n }\n\n /** Latest page-side activation failure for each Plugin. */\n readonly lastRunError: CordisObservable<ReadonlyMap<CordisDynamicPluginId, CordisRunFailure>> = {\n getSnapshot: () => this.failureCache ??= new Map(this.failures),\n subscribe: fn => this.observe(fn),\n }\n\n /**\n * Register a Client activation request, starting it immediately when the Plugin is already authorized.\n * @param request - forwarded approval and activation metadata.\n */\n open(request: CordisRunRequest): void {\n this.requests.set(request.requestId, request)\n if (!request.requiresApproval) {\n void this.orchestrate({\n agentId: request.agentId,\n pluginId: request.pluginId,\n packageId: request.packageId,\n mode: request.mode,\n requestId: request.requestId,\n hasClientHalf: true,\n }).catch((error: unknown) => {\n console.error(`[cordis-client-runner] automatic activation ${request.requestId} failed:`, error)\n })\n return\n }\n if (this.activity.get(request.pluginId)?.phase !== 'orchestrating') {\n this.activity.set(request.pluginId, {\n phase: 'awaiting-approval',\n requestId: request.requestId,\n agentId: request.agentId,\n packageId: request.packageId,\n mode: request.mode,\n name: request.name,\n purpose: request.purpose,\n })\n }\n this.commit()\n }\n\n /**\n * Rebuild pending approvals and automatic Client activations from an authoritative Host inventory read.\n * @param rows - complete process-wide Plugin inventory.\n */\n reconcileApprovals(rows: readonly DynamicCordisInventoryRow[]): void {\n const expected = new Map<ApprovalRequestId, CordisRunRequest>()\n for (const row of rows) {\n const attempt = row.latestRun\n if (attempt?.approvalRequestId === undefined\n || (attempt.status !== 'awaiting-approval'\n && attempt.status !== 'starting-host'\n && attempt.status !== 'client-pending')) continue\n const pkg = row.packages.find(candidate => candidate.packageId === attempt.packageId)\n if (pkg === undefined) continue\n expected.set(attempt.approvalRequestId, {\n requestId: attempt.approvalRequestId,\n agentId: row.agentId,\n pluginId: row.pluginId,\n packageId: attempt.packageId,\n mode: attempt.mode,\n name: pkg.name,\n purpose: pkg.purpose,\n requiresApproval: attempt.requiresApproval ?? attempt.status === 'awaiting-approval',\n })\n }\n\n let changed = false\n for (const [requestId, request] of [...this.requests]) {\n if (expected.has(requestId)) continue\n this.requests.delete(requestId)\n const current = this.activity.get(request.pluginId)\n if (current?.phase === 'awaiting-approval' && current.requestId === requestId) {\n this.activity.delete(request.pluginId)\n }\n changed = true\n }\n for (const [requestId, request] of expected) {\n const previous = this.requests.get(requestId)\n const current = this.activity.get(request.pluginId)\n if (!request.requiresApproval && current?.phase === 'orchestrating') continue\n if (request.requiresApproval\n && sameRequest(previous, request)\n && current?.phase === 'awaiting-approval'\n && current.requestId === requestId) continue\n if (!request.requiresApproval) {\n this.open(request)\n changed = true\n continue\n }\n this.requests.set(requestId, request)\n if (current?.phase !== 'orchestrating') {\n this.activity.set(request.pluginId, {\n phase: 'awaiting-approval',\n requestId,\n agentId: request.agentId,\n packageId: request.packageId,\n mode: request.mode,\n name: request.name,\n purpose: request.purpose,\n })\n }\n changed = true\n }\n if (changed) this.commit()\n }\n\n /**\n * Close an approval settled by another page or by cancellation.\n * @param requestId - approval request that can no longer be answered here.\n */\n close(requestId: ApprovalRequestId): void {\n const request = this.requests.get(requestId)\n if (request === undefined) return\n this.requests.delete(requestId)\n const current = this.activity.get(request.pluginId)\n if (current?.phase === 'awaiting-approval' && current.requestId === requestId) {\n this.activity.delete(request.pluginId)\n }\n this.commit()\n }\n\n /**\n * Approve and execute one still-open model request.\n * @param requestId - approval request to execute.\n * @param approveFutureVersions - whether this approval covers later Packages for the same Plugin.\n */\n approve(requestId: ApprovalRequestId, approveFutureVersions: boolean): Promise<void> {\n const request = this.requests.get(requestId)\n if (request === undefined || !request.requiresApproval) return Promise.resolve()\n return this.orchestrate({\n agentId: request.agentId,\n pluginId: request.pluginId,\n packageId: request.packageId,\n mode: request.mode,\n requestId,\n approveFutureVersions,\n hasClientHalf: true,\n })\n }\n\n /**\n * Reject one still-open model request without executing either half.\n * @param requestId - approval request to reject.\n */\n async decline(requestId: ApprovalRequestId): Promise<void> {\n const request = this.requests.get(requestId)\n if (request === undefined || !request.requiresApproval) return\n const current = this.activity.get(request.pluginId)\n if (current?.phase !== 'awaiting-approval' || current.requestId !== requestId) return\n this.requests.delete(requestId)\n this.activity.delete(request.pluginId)\n this.commit()\n await this.answer(requestId, { ok: false, reason: 'rejected' })\n }\n\n /**\n * Execute a direct panel run; the user gesture itself authorizes it.\n * @param request - exact Package activation selected by the user.\n */\n startUserRun(request: CordisUserRunRequest): Promise<void> {\n return this.orchestrate(request)\n }\n\n private observe(fn: () => void): () => void {\n this.listeners.add(fn)\n return () => { this.listeners.delete(fn) }\n }\n\n private commit(): void {\n this.activityCache = undefined\n this.failureCache = undefined\n for (const fn of [...this.listeners]) fn()\n }\n\n private orchestrate(plan: RunPlan): Promise<void> {\n const running = this.inFlight.get(plan.pluginId)\n if (running !== undefined) return running\n this.activity.set(plan.pluginId, {\n phase: 'orchestrating',\n agentId: plan.agentId,\n packageId: plan.packageId,\n mode: plan.mode,\n })\n this.failures.delete(plan.pluginId)\n if (plan.requestId !== undefined) this.requests.delete(plan.requestId)\n this.commit()\n const attempt = this.drive(plan).finally(() => {\n this.inFlight.delete(plan.pluginId)\n this.activity.delete(plan.pluginId)\n this.commit()\n })\n this.inFlight.set(plan.pluginId, attempt)\n return attempt\n }\n\n private async drive(plan: RunPlan): Promise<void> {\n const started = await this.startHost(plan)\n if (!started.ok) {\n this.fail(plan, 'host-half-failed', started)\n if (plan.requestId !== undefined) {\n await this.answer(plan.requestId, { ...started, reason: 'host-half-failed' })\n }\n return\n }\n if (!plan.hasClientHalf) return\n\n let source: DynamicCordisClientSource\n try {\n source = await this.env.host.getClientCode(plan.agentId, plan.pluginId, started.pluginRunId)\n } catch (error) {\n await this.finishClientFailure(plan, started.pluginRunId, started.startedHere, errorDetails(error), error)\n return\n }\n const loaded = await this.env.runner.load({\n pluginId: source.pluginId,\n packageId: source.packageId,\n pluginRunId: source.pluginRunId,\n agentId: plan.agentId,\n name: source.name,\n code: source.code,\n }).catch((error: unknown) => ({ ok: false, cause: 'evaluate', ...errorDetails(error), error }) as const)\n if (!loaded.ok) {\n await this.finishClientFailure(\n plan,\n started.pluginRunId,\n started.startedHere,\n {\n message: `${loaded.cause}: ${loaded.message}`,\n ...loaded.stack === undefined ? {} : { stack: loaded.stack },\n },\n loaded.error,\n )\n return\n }\n const resolution: DynamicCordisRunResolution = {\n ok: true,\n pluginRunId: loaded.pluginRunId,\n ...loaded.waitingFor === undefined ? {} : { waitingFor: loaded.waitingFor },\n }\n if (plan.requestId !== undefined) {\n await this.answer(plan.requestId, resolution)\n return\n }\n await this.settleDirect(plan, resolution)\n }\n\n private async startHost(plan: RunPlan): Promise<DynamicCordisHostHalfResult> {\n try {\n return await this.env.host.runHostHalf(\n plan.agentId,\n plan.pluginId,\n plan.packageId,\n plan.mode,\n plan.requestId ?? null,\n plan.approveFutureVersions ?? false,\n )\n } catch (error) {\n return { ok: false, ...errorDetails(error) }\n }\n }\n\n private async finishClientFailure(\n plan: RunPlan,\n pluginRunId: CordisDynamicPluginRunId,\n startedHere: boolean,\n failure: CordisErrorDetails,\n originalError?: unknown,\n ): Promise<void> {\n console.error(\n `[cordis-client-runner] Client activation ${plan.pluginId}/${plan.packageId} (${pluginRunId}) failed:`,\n originalError ?? failure,\n )\n this.fail(plan, 'client-half-failed', failure)\n const resolution: DynamicCordisRunResolution = {\n ok: false,\n reason: 'client-half-failed',\n pluginRunId,\n startedHere,\n ...failure,\n }\n if (plan.requestId !== undefined) await this.answer(plan.requestId, resolution)\n else await this.settleDirect(plan, resolution)\n }\n\n private async settleDirect(plan: RunPlan, resolution: DynamicCordisRunResolution): Promise<void> {\n try {\n const response = await this.env.host.settleUserRun(plan.agentId, plan.pluginId, resolution)\n if (!response.ok) this.fail(plan, 'client-half-failed', response)\n } catch (error) {\n this.fail(plan, 'client-half-failed', errorDetails(error))\n }\n }\n\n private async answer(requestId: ApprovalRequestId, resolution: DynamicCordisRunResolution): Promise<void> {\n try {\n await this.env.host.resolveRequestRun(requestId, resolution)\n } catch (error) {\n console.error(`[cordis-client-runner] answering run request ${requestId} failed:`, error)\n }\n }\n\n private fail(\n plan: Pick<RunPlan, 'pluginId' | 'packageId'>,\n reason: CordisRunFailure['reason'],\n failure: CordisErrorDetails,\n ): void {\n this.failures.set(plan.pluginId, { packageId: plan.packageId, reason, ...failure })\n this.commit()\n }\n}\n\nfunction sameRequest(left: CordisRunRequest | undefined, right: CordisRunRequest): boolean {\n return left?.requestId === right.requestId\n && left.agentId === right.agentId\n && left.pluginId === right.pluginId\n && left.packageId === right.packageId\n && left.mode === right.mode\n && left.name === right.name\n && left.purpose === right.purpose\n && left.requiresApproval === right.requiresApproval\n}\n","/** Browser registry for read-only Cordis capability providers. */\n\nimport type { Context } from '@deepseek-ai/cordis'\nimport type {\n CordisInspectProviderManifest, CordisInspectQueryRequest, CordisInspectQueryResolution,\n CordisInspectRequestId, SessionId,\n} from '@deepseek-ai/dsh-api-remotes/client'\nimport type { JsonValue } from '@deepseek-ai/dsh-util-values'\n\n/** Context supplied to a Client inspect provider query. */\nexport interface ClientCordisInspectQueryContext {\n /** Cancellation broadcast by the Host. */\n signal: AbortSignal\n /** Session whose model requested the query. */\n sessionId: SessionId\n}\n\n/** Client provider registration retained beside its serializable manifest. */\nexport interface ClientCordisInspectProviderRegistration {\n /** Provider and explicit query directory. */\n manifest: CordisInspectProviderManifest\n /** Execute one declared read-only method. */\n query(method: string, input: JsonValue | undefined, context: ClientCordisInspectQueryContext): Promise<JsonValue>\n}\n\n/** Remote operations needed by the Client registry. */\nexport interface ClientCordisInspectHost {\n /** Replace the Host's mirrored Client manifest. */\n sync(providers: readonly CordisInspectProviderManifest[]): Promise<void>\n /** Submit one query result; the first accepted page wins. */\n resolve(\n sessionId: SessionId,\n requestId: CordisInspectRequestId,\n resolution: CordisInspectQueryResolution,\n ): Promise<void>\n}\n\n/** Client provider registry, manifest publisher, and live query dispatcher. */\nexport class ClientCordisInspectRegistry {\n private readonly providers = new Map<string, ClientCordisInspectProviderRegistration>()\n private readonly active = new Map<CordisInspectRequestId, AbortController>()\n private publishQueued = false\n private syncChain = Promise.resolve()\n\n /** @param host - folded manifest and query result transport. */\n constructor(private readonly host: ClientCordisInspectHost) {}\n\n /**\n * Register one Client provider and publish a new complete manifest.\n * @param registration - provider manifest and local handler.\n * @returns idempotent disposer.\n */\n register(registration: ClientCordisInspectProviderRegistration): () => void {\n const { manifest } = registration\n if (manifest.id.trim() === '') throw new Error('Client Cordis inspect provider id must not be empty')\n if (this.providers.has(manifest.id)) throw new Error(`Client Cordis inspect provider \"${manifest.id}\" is already registered`)\n const names = new Set<string>()\n for (const method of manifest.methods) {\n if (names.has(method.name)) throw new Error(`Client Cordis inspect provider \"${manifest.id}\" repeats method \"${method.name}\"`)\n names.add(method.name)\n }\n this.providers.set(manifest.id, registration)\n this.publish()\n let disposed = false\n return () => {\n if (disposed) return\n disposed = true\n if (this.providers.get(manifest.id) === registration) {\n this.providers.delete(manifest.id)\n this.publish()\n }\n }\n }\n\n /** Publish the current complete manifest, including after reconnect. */\n publish(): void {\n if (this.publishQueued) return\n this.publishQueued = true\n queueMicrotask(() => {\n this.publishQueued = false\n const manifests = [...this.providers.values()].map(provider => provider.manifest)\n this.syncChain = this.syncChain.then(async () => {\n await this.host.sync(manifests)\n }).catch((error: unknown) => {\n console.error('[cordis-client-runner] syncing inspect providers failed:', error)\n })\n })\n }\n\n /**\n * Execute and answer one Host-broadcast query.\n * @param request - exact provider query and Session correlation received from Host.\n * @returns after the first local result has been sent back to Host.\n */\n async query(request: CordisInspectQueryRequest): Promise<void> {\n if (this.active.has(request.requestId)) return\n const controller = new AbortController()\n this.active.set(request.requestId, controller)\n let resolution: CordisInspectQueryResolution\n try {\n const provider = this.providers.get(request.provider)\n if (provider === undefined) {\n resolution = { ok: false, reason: 'provider-missing', message: `Client inspect provider \"${request.provider}\" is unavailable` }\n } else if (!provider.manifest.methods.some(method => method.name === request.method)) {\n resolution = { ok: false, reason: 'method-missing', message: `Client inspect provider \"${request.provider}\" has no method \"${request.method}\"` }\n } else {\n const data = await provider.query(request.method, request.input, {\n signal: controller.signal,\n sessionId: request.agentId,\n })\n resolution = controller.signal.aborted\n ? { ok: false, reason: 'cancelled', message: 'Client inspect query was cancelled' }\n : { ok: true, data }\n }\n } catch (error) {\n resolution = controller.signal.aborted\n ? { ok: false, reason: 'cancelled', message: 'Client inspect query was cancelled' }\n : { ok: false, reason: 'provider-error', message: error instanceof Error ? error.message : String(error) }\n } finally {\n this.active.delete(request.requestId)\n }\n if (controller.signal.aborted) return\n await this.host.resolve(request.agentId, request.requestId, resolution)\n }\n\n /**\n * Cancel local work after another page answered or the Tool call ended.\n * @param requestId - query correlation that is no longer answerable.\n */\n close(requestId: CordisInspectRequestId): void {\n this.active.get(requestId)?.abort()\n this.active.delete(requestId)\n }\n}\n\ndeclare module '@deepseek-ai/cordis' {\n interface Context {\n /** Browser registry for pre-definition Cordis capability discovery. */\n cordisInspect: ClientCordisInspectRegistry\n }\n}\n\n/**\n * Provide the registry as a normal Client service.\n * @param ctx - Client Cordis context receiving the service.\n * @param registry - page-local inspect registry to publish.\n */\nexport function provideClientCordisInspect(ctx: Context, registry: ClientCordisInspectRegistry): void {\n ctx.provide('cordisInspect', registry)\n}\n","/**\n * Generated by scripts/gen-cordis-inspect-catalog.ts — do not edit by hand; run\n * `pnpm run gen-cordis-inspect-catalog` to regenerate (freshness-gated by\n * `pnpm run verify-cordis-inspect-catalog` in doc-sync).\n *\n * The machine-readable cordis API catalog `cordis_inspect` serves to the\n * model: harness services (summary + structured public method contracts),\n * harness events (mode + structured listener contracts), and the inherited `ctx` API. Produced by\n * the same AST walk as docs/cordis-catalog, so this data and the rendered\n * docs cannot diverge.\n *\n * @module @deepseek-ai/dsh-cordis-client-runner/client/api-catalog\n */\n\n/* jscpd:ignore-start */\n/** One named parameter in a Service method or Event listener. */\nexport interface ApiParameter {\n /** Parameter name from the exact signature. */\n name: string\n /** Source-owned parameter contract. */\n description: string\n}\n\n/** One public service member and its source-owned contract. */\nexport interface ServiceApiMethod {\n /** Public method signature with its body stripped. */\n signature: string\n /** Method purpose and behavior. */\n description: string\n /** Named parameters in signature order. */\n parameters: readonly ApiParameter[]\n /** Non-void result contract when documented. */\n returns?: string\n /** Documented failure conditions. */\n throws?: readonly string[]\n}\n\n/** One harness `ctx.<key>` service and its public methods. */\nexport interface ServiceApiEntry {\n /** The `ctx.<key>` name, e.g. `tools`. */\n key: string\n /** First sentence of the service class JSDoc. */\n summary: string\n /** Complete service description. */\n description: string\n /** Public methods, bodies stripped, in source order. */\n methods: readonly ServiceApiMethod[]\n}\n\n/** One harness event: its dispatch mode, exact signature, and listener contract. */\nexport interface EventApiEntry {\n /** The scoped event name, e.g. `agent/status`. */\n name: string\n /** The dispatch mode from the declaration's `@mode` tag. */\n mode: string\n /** The exact listener signature, whitespace-normalized. */\n signature: string\n /** First sentence of the event JSDoc. */\n summary: string\n /** Complete event description. */\n description: string\n /** Named listener parameters in signature order. */\n parameters: readonly ApiParameter[]\n}\n\n/** One inherited (cordis core + loader/hmr/timer) `ctx` member group with its summary. */\nexport interface InheritedApiEntry {\n /** The `ctx` member name(s), e.g. `ctx.on / ctx.once`. */\n name: string\n /** One-line summary of what the member does. */\n summary: string\n}\n\n/** One named type declaration referenced by a Service or Event signature. */\nexport interface TypeApiEntry {\n /** The exported type/interface name, e.g. `ShellRunResult`. */\n name: string\n /** The full declaration text, comments stripped. */\n declaration: string\n}\n\n/** Every harness `ctx.<key>` service, sorted by key. */\nexport const SERVICE_API: readonly ServiceApiEntry[] = [\n {\n key: 'layout',\n summary: 'Panel navigation and geometry actions exposed through ctx.layout.',\n description: 'Panel navigation and geometry actions exposed through ctx.layout.',\n methods: [\n {\n signature: 'selectPanel(panelId: MainPanelId | null): void',\n description: 'Select a global central panel without changing the current Session.',\n parameters: [{ name: 'panelId', description: 'registered main key, or null to show the Conversation.' }],\n throws: ['if the selected main key is not registered; preserves the current selection.'],\n },\n {\n signature: 'beginNavigation(): AbortSignal',\n description: 'Start an asynchronous navigation, superseding any earlier pending navigation.',\n parameters: [],\n returns: 'a signal aborted by the next navigation or layout disposal; check it before committing UI state.',\n },\n {\n signature: 'toggleSidebar(): void',\n description: 'Toggle the sidebar panel (closed ⟷ contract default width).',\n parameters: [],\n },\n {\n signature: 'openRightbar(track: boolean, fullscreen: boolean): void',\n description: 'Report the right panel\\'s presentation without changing its expanded state.',\n parameters: [{ name: 'track', description: 'whether the normal panel width reserves a grid track, including beneath a fullscreen overlay.' }, { name: 'fullscreen', description: 'whether the panel covers the frame and hides its outer resize handle; independent of the underlying grid track.' }],\n },\n {\n signature: 'closeRightbar(): void',\n description: 'Report the right panel as hidden: no track, no handle.',\n parameters: [],\n },\n ],\n },\n {\n key: 'locale',\n summary: 'Dictionary registry plus locale preference.',\n description: 'Dictionary registry plus locale preference. Lookup walks the active language\\'s declared fallback chain in the entry namespace, then repeats it in the shared common namespace before showing the key itself. Reads go through getLocale; preferences change only through setLocale, while language packs extend the catalog through addLanguage. Continuous sync uses the `locale/change` event or the LocaleFace getSnapshot/subscribe pair installed through `ctx.slots.installLocale`.',\n methods: [\n {\n signature: 'getLocale(): LocaleSnapshot',\n description: 'Read the current immutable locale snapshot.',\n parameters: [],\n returns: 'the current snapshot (stable reference until the next change).',\n },\n {\n signature: 'getSnapshot(): LocaleSnapshot',\n description: 'LocaleFace getSnapshot: the current snapshot (carries `revision`; stable reference between changes, uSES-safe).',\n parameters: [],\n returns: 'the current snapshot.',\n },\n {\n signature: 'subscribe(fn: () => void): () => void',\n description: 'LocaleFace subscribe: notified on every snapshot change (locale switch or dictionary registration — registrations bump the revision so already rendered outlets pick up late-arriving dictionaries and locale definitions).',\n parameters: [{ name: 'fn', description: 'change callback.' }],\n returns: 'unsubscribe.',\n },\n {\n signature: 'setLocale(id: string): void',\n description: 'Switch the active locale — the only user preference write entry.\\n\\nThe durable write happens even when the id already matches the active locale, because the active value may be a provisional browser-derived or fallback resolution that nothing has stored yet. Picking the language already on screen is still an explicit choice, and it must survive a different browser sharing the same DSH home. Only the render notification is conditional: republishing an unchanged locale would churn every subscriber for nothing.',\n parameters: [{ name: 'id', description: 'a registered locale id; unknown ids throw.' }],\n },\n {\n signature: 'addLanguage(input: LanguageRegistration): () => void',\n description: 'Add one selectable language to the shared catalog. Its fallback must already be registered, and following fallback definitions must terminate at English. Dictionaries may register before or after this definition. Registration rechecks an unresolved Host preference and the browser\\'s ordered language list. The caller owns the returned disposer; removing an active language falls back without clearing the stored id.',\n parameters: [{ name: 'input', description: 'stable id, self-described label, and fallback language id.' }],\n returns: 'idempotent disposer removing this exact definition.',\n throws: ['when fields are malformed, the id is occupied, or the fallback target is unknown or creates a cycle.'],\n },\n {\n signature: 'register<N extends Extract<keyof LocaleNamespaceMap, string>>( ns: N, dicts: Record<BuiltInLocaleId, LocaleDictOf<N>> & Record<LocaleId, LocaleDictOf<N>>, ): () => void',\n description: 'Register a declared namespace\\'s dictionaries, all locales in one call — the typed form: each dictionary is checked against the namespace\\'s LocaleNamespaceMap key union (a missing or extra key is a compile error), and both baseline locales are required (bilingual balance enforced at registration). Duplicate (ns, locale) throws (single occupant; a namespace\\'s texts have one owner). Registration bumps the revision so mounted outlets pick up late-arriving dictionaries.',\n parameters: [{ name: 'ns', description: 'a namespace merged into LocaleNamespaceMap.' }, { name: 'dicts', description: 'complete baseline dictionaries and optional dictionaries for additional locale ids.' }],\n returns: 'disposer removing every locale registered by this call (idempotent).',\n },\n {\n signature: 'register(ns: string, locale: string, dict: LocaleDict): () => void',\n description: 'Single-locale untyped form for language-pack contributions and namespaces outside the merge table.',\n parameters: [{ name: 'ns', description: 'namespace.' }, { name: 'locale', description: 'locale tag.' }, { name: 'dict', description: 'dictionary.' }],\n returns: 'disposer (idempotent).',\n throws: ['when locale is not a BCP 47-style tag.'],\n },\n {\n signature: 'bind<N extends Extract<keyof LocaleNamespaceMap, string>>(ns: N): TranslateNS<N>',\n description: 'Bind a declared namespace to a translate function typed to its dictionary key union (plus the shared common vocabulary) — the same key domain the framework-injected `t` seat carries. The returned reference is stable per namespace (repeat binds return the same function), so it can ride inject surfaces without breaking memoization.',\n parameters: [{ name: 'ns', description: 'a namespace merged into LocaleNamespaceMap.' }],\n returns: 'the typed translate function (reads the active locale at call time).',\n },\n {\n signature: 'bind(ns: string): Translate',\n description: 'Untyped form for namespaces outside the merge table (dynamic composition, tests).',\n parameters: [{ name: 'ns', description: 'namespace.' }],\n returns: 'the translate function.',\n },\n ],\n },\n {\n key: 'sessions',\n summary: 'The sessions-service face injected as `ctx.sessions`.',\n description: 'The sessions-service face injected as `ctx.sessions`.',\n methods: [\n {\n signature: 'retain(target: SessionTarget, options: SessionRetainOptions): SessionReference',\n description: 'Retain an exact Client generation and start its shared initial history opening.',\n parameters: [{ name: 'target', description: 'known identity or durable direct-parent address.' }, { name: 'options', description: 'required consumer source and optional independent waiter cancellation.' }],\n returns: 'an owned reference immediately; await `reference.ready` when the initial open attempt must settle first.',\n },\n {\n signature: 'using<T>(target: SessionTarget, options: SessionRetainOptions, operation: (reference: SessionReference) => T | Promise<T>): Promise<T>',\n description: 'Hold one reference through callback settlement, including synchronous and asynchronous failures.',\n parameters: [{ name: 'target', description: 'Session to acquire.' }, { name: 'options', description: 'source and acquisition cancellation.' }, { name: 'operation', description: 'callback using the reference only until its returned value or Promise settles.' }],\n returns: 'the callback result after release; acquisition and callback failures propagate unchanged.',\n },\n {\n signature: 'retainInfo(id: SessionId): ObservableSnapshot<SessionRetainInfo>',\n description: 'Observe local reference counts without retaining, creating a scope, or opening history. The returned source keeps stable identity across same-id generations and remains allocated until the Client root is disposed, even after its final subscriber leaves.',\n parameters: [{ name: 'id', description: 'explicit Session identity; Host existence is not implied.' }],\n returns: 'a stable read-only source across same-id generations, with zero counts when none is live.',\n },\n {\n signature: 'refreshProjections(sessionId: SessionId): Promise<void>',\n description: 'Read projections without starting migration; retry failed or migration-deferred reads.',\n parameters: [{ name: 'sessionId', description: 'Session to inspect without opening its conversation.' }],\n returns: 'completion of the current or newly started refresh.',\n },\n {\n signature: 'search( query: string, signal: AbortSignal, ): Promise<RemoteResult<{ items: SessionSearchResultItem[]; hasMore: boolean }>>',\n description: 'Search the Host\\'s visible message-content index. Results stay request-local; the list snapshot remains the metadata authority.',\n parameters: [{ name: 'query', description: 'non-blank literal phrase.' }, { name: 'signal', description: 'cancellation for a superseded search.' }],\n returns: 'bounded results, or a business/transport error.',\n },\n {\n signature: 'fork(opts: { sessionId: SessionId atSeq?: number increaseTitle?: boolean onCreated?: (childId: SessionId) => void /** False refuses source migration; omission preserves the Host default. */ allowMigration?: boolean }): Promise<SessionId>',\n description: 'Fork a session from an exact inclusive prefix of the source; on resolution the child is catalogued and can be explicitly retained.',\n parameters: [{ name: 'opts', description: 'source session id, the optional exact inclusive boundary seq (a real event seq the caller already knows; a cut inside an open turn is balanced Host-side with synthetic closers, and omission selects the latest completed-turn prefix), and whether to increment an inherited durable title, skipping numbers Host-listed titles already use, before resolving. `onCreated` observes the catalogued child before that optional rename.' }],\n returns: 'the child session id.',\n throws: ['when the fork fails, or when a requested child-title rename fails after creation.'],\n },\n {\n signature: 'scope(id: SessionId): AgentContext | undefined',\n description: 'Borrow an already-retained Agent-scoped Context without extending its lifetime.',\n parameters: [{ name: 'id', description: 'session id.' }],\n returns: 'the live scoped Context, or undefined without a retained generation.',\n },\n {\n signature: 'binding(id: SessionId): SessionBinding | undefined',\n description: 'Borrow an already-retained Session binding without extending its lifetime.',\n parameters: [{ name: 'id', description: 'session id.' }],\n returns: 'the live binding, or undefined without a retained generation.',\n },\n ],\n },\n {\n key: 'slots',\n summary: 'cordis Service layer of the slot system; see the module doc for the split with SlotCore.',\n description: 'cordis Service layer of the slot system; see the module doc for the split with SlotCore.',\n methods: [\n {\n signature: 'declare readonly register: SlotCore[\\'register\\']',\n description: 'The ordinary Slot registration API. The typed face IS the core\\'s register (both overloads reused verbatim — one authority, no structural copy; see SlotCore.register for children declaration, store seat, inject face, load-time validation, and the unload cascade). This layer adds: disposal through the caller\\'s ctx.effect (fiber unload = cascade), exclusive-factory minting (`store: createXxxStore` becomes a per-entry handle), the registrant diagnostics stamp, and store-instance lifecycle on the entry axis.\\n\\nDeclared here, implemented by prototype assignment below the class: it MUST stay a prototype method (never an instance arrow) — the cordis service proxy binds `this.ctx` to the CALLER\\'s context at call time, which is what routes the effect (and the unload cascade) into the caller\\'s fiber. An arrow property would freeze `this` to the service\\'s own root ctx and silently break per-plugin disposal.',\n parameters: [],\n },\n {\n signature: 'declare readonly registerFactory: RegisterFactory',\n description: 'Register one reusable Component Factory under the caller\\'s effect lifetime. A Store factory mints one handle per rendered occurrence rather than per definition. Like SlotRegistry.register, this remains a prototype method so the Cordis proxy binds `this.ctx` to the caller\\'s Context.',\n parameters: [{ name: 'options', description: 'runtime definition checked against `SlotFactoryMap`.' }, { name: 'component', description: 'reusable Factory Component.' }],\n returns: 'the idempotent definition disposer.',\n },\n {\n signature: 'inject(key: keyof SlotMap & string, callback: () => SlotInjectionEffect): () => void',\n description: 'Install an effect for each declaration lifetime of a slot. The callback runs synchronously when the declaration already exists; otherwise it runs inside the declaring `register()` call after the declaration is committed. Collapse disposes the effect and a later declaration runs it again. Callback effects are synchronous disposers; iterable effects install transactionally and dispose in reverse order. The controller belongs to the caller\\'s fiber, so plugin unload cancels a pending wait and removes any active contribution.',\n parameters: [{ name: 'key', description: 'declared SlotMap key to depend on.' }, { name: 'callback', description: 'creates one disposer or an iterable of disposers.' }],\n returns: 'idempotent disposer for the wait and active effect.',\n throws: ['callback setup failures synchronously when the slot is already declared.'],\n },\n ],\n },\n {\n key: 'theme',\n summary: 'Theme registry and preference owner.',\n description: 'Theme registry and preference owner. `light`/`dark` are built in (the base stylesheets carry both palettes); third-party themes register alias-layer overrides. Reads go through getTheme; preference writes only through setTheme; continuous sync only through the `theme/change` event. overrideTokens stacks partial token layers over the active theme without touching the registry. The service holds the `prefers-color-scheme` media query (environment sensing, not presentation) and re-emits when the OS scheme flips while the preference is `system`.',\n methods: [\n {\n signature: 'getTheme(): ThemeSnapshot',\n description: 'Read the current immutable theme snapshot.',\n parameters: [],\n returns: 'the current snapshot (stable reference until the next change).',\n },\n {\n signature: 'setTheme(id: string): void',\n description: 'Switch the theme preference — the only user preference write entry. Built-in preferences are written through the settings scope and every accepted value emits `theme/change`.',\n parameters: [{ name: 'id', description: 'a registered theme id or `system`; unknown ids throw.' }],\n },\n {\n signature: 'setFontSize(role: FontRole, px: number): void',\n description: 'Change one role\\'s font size. Accepted values are written through the settings scope and emit `theme/change`.',\n parameters: [{ name: 'role', description: 'font role.' }, { name: 'px', description: 'integer px within the role\\'s `FONT_SIZE_SPECS` range; out-of-range or fractional values throw.' }],\n },\n {\n signature: 'register(definition: ThemeDefinition): () => void',\n description: 'Register a theme. Duplicate id throws (single occupant per id; the built-in pair counts; `system` is a preference, not a registrable id).',\n parameters: [{ name: 'definition', description: 'theme id, colorScheme, alias-token overrides, and optional icon replacements; the runtime keeps a frozen copy of `icons`. Invalid icon replacements throw a `TypeError` naming the theme and icon.' }],\n returns: 'disposer. Disposing the theme backing the active preference resets the preference to the default so the UI never keeps tokens of an unregistered theme.',\n },\n {\n signature: 'overrideTokens(source: string, tokens: ThemeTokenOverrides): () => void',\n description: 'Stack a token override layer on top of the active theme — the token-level analogue of slot shading: the base theme stays untouched, layers compose in seq order with later layers winning per-token, and removing a layer restores whatever it covered. Calling again with the same source replaces that source\\'s whole layer and restacks it on top (effect re-registration semantics). Emits `theme/change` with the recomposed snapshot.',\n parameters: [{ name: 'source', description: 'layer identity; one layer per source (dynamic packages pass their package id — the façade pins it, so it also names the layer\\'s origin for inspection).' }, { name: 'tokens', description: 'token-name → `{ light, dark }` value pairs. Validated at runtime (model-authored callers reach this boundary with untyped JS); a bare string value throws a teaching error.' }],\n returns: 'disposer removing exactly the layer this call created; a no-op once the source has re-overridden (the newer layer is not torn down).',\n },\n ],\n },\n {\n key: 'timer',\n summary: 'Disposable timer helpers mixed into Cordis contexts.',\n description: 'Disposable timer helpers mixed into Cordis contexts.',\n methods: [\n {\n signature: 'timeout(callback: () => void, delay: number): () => void',\n description: 'Run a callback once and return its disposer.',\n parameters: [],\n },\n {\n signature: 'timeout(delay: number): Promise<void>',\n description: 'Resolve after a delay; disposal rejects the pending promise.',\n parameters: [],\n },\n {\n signature: 'interval(callback: () => void, delay: number): () => void',\n description: 'Run a callback repeatedly and return its disposer.',\n parameters: [],\n },\n {\n signature: 'interval<R = any>(delay: number): AsyncIterableIterator<void, R, void>',\n description: 'Return an async iterator of timer ticks.',\n parameters: [],\n },\n {\n signature: 'throttle<F extends (...args: any[]) => any>(callback: F, delay: number, noTrailing?: boolean): ((...args: Parameters<F>) => void) & { dispose: () => void }',\n description: 'Return a throttled function whose timer is disposed with the current fiber.',\n parameters: [],\n },\n {\n signature: 'debounce<F extends (...args: any[]) => any>(callback: F, delay: number): ((...args: Parameters<F>) => void) & { dispose: () => void }',\n description: 'Return a debounced function whose timer is disposed with the current fiber.',\n parameters: [],\n },\n ],\n },\n {\n key: 'uiWorkspace',\n summary: 'Workspace archive and directory operations consumed by Client UI domains.',\n description: 'Workspace archive and directory operations consumed by Client UI domains.',\n methods: [\n {\n signature: 'openSession(target: SessionTarget): void',\n description: 'Select a Session and show its Conversation as one UI navigation action.',\n parameters: [{ name: 'target', description: 'known Session identity or durable direct-parent subagent address to display.' }],\n },\n {\n signature: 'openWorkspace( workspaceId: WorkspaceId, beforeOpen?: (sessionId: SessionId) => void, options?: Pick<StartSessionOptions, \\'agentPreset\\'>, ): Promise<void>',\n description: 'Connect a Workspace and open its Session unless a later navigation supersedes it.',\n parameters: [{ name: 'workspaceId', description: 'target Workspace.' }, { name: 'beforeOpen', description: 'optional synchronous preparation for the selected Session, skipped after supersession; a throw aborts the open and releases the retained reference.' }, { name: 'options', description: 'choices for the Session the connection creates or reuses.' }],\n returns: 'completion; a superseded request may create a Session but does not open it.',\n throws: ['on failure; a refused creation is also shown through the Workspace notice unless a later navigation or disposal superseded the request.'],\n },\n {\n signature: 'forkSession( sessionId: SessionId, onCreated?: (childId: SessionId) => void, options?: Pick<Parameters<ISessions[\\'fork\\']>[0], \\'allowMigration\\'>, ): Promise<SessionId>',\n description: 'Fork a Session without changing the current selection.',\n parameters: [{ name: 'sessionId', description: 'source Session.' }, { name: 'onCreated', description: 'observer before the optional child-title update.' }, { name: 'options', description: 'optional permission to start source migration; omission preserves the Host default.' }],\n returns: 'the child SessionId after creation and inherited-title increment.',\n },\n {\n signature: 'connectWorkspace(workspaceId: WorkspaceId, options?: Pick<StartSessionOptions, \\'agentPreset\\'>): Promise<SessionId>',\n description: 'Resolve the Session for a new conversation in a Workspace: navigation names the first reusable blank member — listed in the Workspace, not archived, and listing no preset or the requested one — and the Host reuses it under the requested preset or its default, creating another Session when it reuses none. Concurrent calls for the same Workspace and preset share one attempt.',\n parameters: [{ name: 'workspaceId', description: 'target Workspace.' }, { name: 'options', description: 'choices for the created or reused Session.' }],\n returns: 'a Session already addressable through the Session Controller.',\n },\n {\n signature: 'startSession(workspaceId?: WorkspaceId, options?: StartSessionOptions): void',\n description: 'Open the Workspace blank `connectWorkspace` resolves, so New Session returns to that blank\\'s unsent draft. A creation the Host refuses is shown through the Workspace notice and leaves the selection as it was.',\n parameters: [{ name: 'workspaceId', description: 'explicit target; absent inherits the current or most recent Workspace.' }, { name: 'options', description: 'initial content, the blank\\'s preset, and `whenDraftExists`, which decides whether existing text or attachments are kept, replaced, or followed by the prompt.' }],\n },\n {\n signature: 'archiveSession(sessionId: SessionId, options?: { readonly stopActivity?: boolean }): Promise<void>',\n description: 'Archive a Session and clear it when it is the current selection.',\n parameters: [{ name: 'sessionId', description: 'Session to archive.' }, { name: 'options', description: '`stopActivity` asks the Host to stop the Session\\'s running work instead of refusing.' }],\n },\n {\n signature: 'unarchiveSession(sessionId: SessionId): Promise<void>',\n description: 'Unarchive a Session, restoring it to its recorded Workspace position.',\n parameters: [{ name: 'sessionId', description: 'Session to unarchive.' }],\n },\n {\n signature: 'pickDirectory(): Promise<string | null>',\n description: 'Open the Host-native directory picker.',\n parameters: [],\n returns: 'the selected directory, or null when cancelled.',\n },\n {\n signature: 'listDirectory(path?: string, signal?: AbortSignal): Promise<DirectoryListing>',\n description: 'List one Host directory level.',\n parameters: [{ name: 'path', description: 'directory path; absent selects the Host home.' }, { name: 'signal', description: 'cancellation for a superseded scan.' }],\n returns: 'directory entries and breadcrumb ancestry.',\n },\n {\n signature: 'createDirectory(path: string, name: string): Promise<string>',\n description: 'Create a child directory.',\n parameters: [{ name: 'path', description: 'existing parent directory.' }, { name: 'name', description: 'child directory name.' }],\n returns: 'created absolute path.',\n },\n ],\n },\n {\n key: 'workspaces',\n summary: 'Workspace Controller\\'s Client service face.',\n description: 'Workspace Controller\\'s Client service face.',\n methods: [\n {\n signature: 'create(input: { path: string }): Promise<WorkspaceView>',\n description: 'Register an existing path as a Workspace.',\n parameters: [{ name: 'input', description: 'Host create payload.' }],\n returns: 'the created or idempotently resolved Workspace.',\n },\n {\n signature: 'rename(workspaceId: WorkspaceId, title: string): Promise<WorkspaceView>',\n description: 'Rename a Workspace.',\n parameters: [{ name: 'workspaceId', description: 'target Workspace.' }, { name: 'title', description: 'new display title.' }],\n returns: 'the renamed Workspace.',\n },\n {\n signature: 'delete(workspaceId: WorkspaceId): Promise<void>',\n description: 'Delete a Workspace registration without deleting Sessions or files.',\n parameters: [{ name: 'workspaceId', description: 'target Workspace.' }],\n },\n {\n signature: 'archiveSession(sessionId: SessionId, options?: { readonly stopActivity?: boolean }): Promise<void>',\n description: 'Archive a Session from Workspace grouping surfaces.',\n parameters: [{ name: 'sessionId', description: 'Session to archive.' }, { name: 'options', description: '`stopActivity` asks the Host to stop the Session\\'s running work instead of refusing.' }],\n throws: ['{WorkspaceArchiveError} when the Host refuses; without `stopActivity` a Session with running work fails as `workspace/session-active`, its details naming what runs.'],\n },\n {\n signature: 'unarchiveSession(sessionId: SessionId): Promise<void>',\n description: 'Unarchive a Session from the archived Session list.',\n parameters: [{ name: 'sessionId', description: 'Session to unarchive.' }],\n },\n {\n signature: 'insertSessionBefore( workspaceId: WorkspaceId, sessionId: SessionId, beforeSessionId?: SessionId, ): Promise<WorkspaceView>',\n description: 'Move a Session within one Workspace account.',\n parameters: [{ name: 'workspaceId', description: 'owning Workspace.' }, { name: 'sessionId', description: 'Session to move.' }, { name: 'beforeSessionId', description: 'anchor Session; omitted appends.' }],\n returns: 'the changed Workspace.',\n },\n ],\n },\n]\n\n/** Every harness event, sorted by name. */\nexport const EVENT_API: readonly EventApiEntry[] = [\n {\n name: 'connection/reset',\n mode: 'emit',\n signature: '\\'connection/reset\\'(): void',\n summary: 'A connection generation was established.',\n description: 'A connection generation was established. Wire-derived caches must repull; long-lived streams own their own resume and baseline lifecycle.',\n parameters: [],\n },\n {\n name: 'locale/change',\n mode: 'emit',\n signature: '\\'locale/change\\'(snapshot: LocaleSnapshot): void',\n summary: 'The active locale switched.',\n description: 'The active locale switched. Dictionary registrations do NOT emit this event (listeners may re-register slots in response, and boot registers one namespace per package); continuous render refresh rides the LocaleFace revision instead.',\n parameters: [{ name: 'snapshot', description: 'Current immutable locale snapshot.' }],\n },\n {\n name: 'slots/changed',\n mode: 'emit',\n signature: '\\'slots/changed\\'(key: string): void',\n summary: 'An ordinary Slot declaration or entry registration set changed.',\n description: 'An ordinary Slot declaration or entry registration set changed. Factory definitions publish through `subscribeFactory()` instead.',\n parameters: [{ name: 'key', description: 'mutated SlotMap key.' }],\n },\n {\n name: 'theme/change',\n mode: 'emit',\n signature: '\\'theme/change\\'(snapshot: ThemeSnapshot): void',\n summary: 'Theme state changed (preference switched, registry updated, or the OS color scheme changed while the preference is `system`).',\n description: 'Theme state changed (preference switched, registry updated, or the OS color scheme changed while the preference is `system`).',\n parameters: [{ name: 'snapshot', description: 'Current immutable theme snapshot.' }],\n },\n]\n\n/** Shapes of every exported type the Service and Event signatures reference (transitively), sorted by name. */\nexport const TYPE_API: readonly TypeApiEntry[] = [\n {\n name: 'ActionsDecl',\n declaration: 'export type ActionsDecl<T> = Record<string, (draft: T, ...params: any[]) => void>;',\n },\n {\n name: 'AgentContext',\n declaration: 'export type AgentContext = Omit<Context, \\'remote\\'> & {\\n readonly remote: ClientRemote & TypertRemoteScopeApi<\\'agent\\'>;\\n};',\n },\n {\n name: 'AssistantLiveChunkEvent',\n declaration: 'export interface AssistantLiveChunkEvent {\\n readonly type: \\'assistant/live-chunk\\';\\n readonly seq: number;\\n readonly time: number;\\n readonly data: {\\n readonly attemptId: LlmAttemptId;\\n readonly turn: number;\\n readonly step: number;\\n readonly chunk: StreamChunk;\\n };\\n}',\n },\n {\n name: 'BakedActions',\n declaration: 'export type BakedActions<T, A extends ActionsDecl<T>> = {\\n [K in keyof A]: A[K] extends (draft: T, ...params: infer P) => void ? (...params: P) => void : never;\\n};',\n },\n {\n name: 'BeginSubmissionInput',\n declaration: 'export interface BeginSubmissionInput {\\n readonly mode: \\'queue\\' | \\'steer\\';\\n readonly text: string;\\n readonly attachments: readonly PendingSubmissionAttachment[];\\n readonly onAccept?: () => void;\\n readonly onRetire?: (retirement: PendingSubmissionRetirement) => void;\\n}',\n },\n {\n name: 'BoundActions',\n declaration: 'export type BoundActions<H> = H extends StoreHandle<infer T, infer A> ? BakedActions<T, A> : never;',\n },\n {\n name: 'BuiltInLocaleId',\n declaration: 'export type BuiltInLocaleId = typeof LOCALE_IDS[number];',\n },\n {\n name: 'ChainKeysOf',\n declaration: 'export type ChainKeysOf<S extends keyof SlotMap & string> = S extends unknown ? (SlotMap[S][\\'kind\\'] extends \\'chain\\' ? S : never) : never;',\n },\n {\n name: 'ChainRenderOpts',\n declaration: 'export interface ChainRenderOpts {\\n fallback?: ReactNode;\\n fallbackOnly?: boolean;\\n overlay?: boolean;\\n}',\n },\n {\n name: 'ChildrenDecl',\n declaration: 'export type ChildrenDecl = {\\n [P in keyof SlotMap & string]?: SlotSpec<SlotMap[P]>;\\n};',\n },\n {\n name: 'ClientConnectionRpc',\n declaration: 'export interface ClientConnectionRpc {\\n call(channel: string, endpoint: string, payload: unknown, signal?: AbortSignal): Promise<ConnectionRpcResult<unknown>>;\\n readonly open?: (channel: string, endpoint: string, payload: unknown, signal: AbortSignal, uplink?: AsyncIterable<unknown>) => AsyncIterable<unknown>;\\n}',\n },\n {\n name: 'ClientRemote',\n declaration: 'export interface ClientRemote extends TypertClientRemote {\\n $stream<Item>(options: RemoteStreamOptions<Item>): RemoteStream<Item>;\\n readonly $host: RemoteHostFacts;\\n}',\n },\n {\n name: 'CommonKeyOf',\n declaration: 'export type CommonKeyOf = LocaleNamespaceMap extends {\\n common: infer C;\\n} ? C & string : never;',\n },\n {\n name: 'ComposedProps',\n declaration: 'export type ComposedProps<K extends keyof SlotMap & string, EntryKey extends EntryKeyOf<K>, S extends keyof SlotMap & string, H, I extends object, M = never, N = undefined> = PropsRuntime<K, EntryKey> & PropsRenderSlots<S> & PropsRenderFactories & PropsStore<H> & InjectFace<I> & MatchedShare<SlotMap[K], M> & HocShare<SlotMap[K]> & PropsLocale<N>;',\n },\n {\n name: 'ConnectionGeneration',\n declaration: 'export interface ConnectionGeneration {\\n readonly id: number;\\n readonly host: ConnectionHostInfo;\\n}',\n },\n {\n name: 'ConnectionGenerationSource',\n declaration: 'export type ConnectionGenerationSource = (signal: AbortSignal, ready: (host: ConnectionHostInfo) => void) => Promise<void>;',\n },\n {\n name: 'ConnectionGenerationState',\n declaration: 'export interface ConnectionGenerationState {\\n getSnapshot(): ConnectionGeneration | undefined;\\n subscribe(listener: () => void): () => void;\\n}',\n },\n {\n name: 'ConnectionHandle',\n declaration: 'export interface ConnectionHandle {\\n readonly interactions: ConnectionInteractions;\\n readonly isLoopback: boolean;\\n readonly generation: ConnectionGenerationState;\\n readonly state: ConnectionStateSource;\\n readonly rpc: ClientConnectionRpc;\\n openWebSocket(path: string): ConnectionWebSocket;\\n reconnect(): void;\\n registerGenerationSource(source: ConnectionGenerationSource): () => void;\\n start(sinks: ConnectionSinks, config?: ConnectionRecoveryConfig): ConnectionLoop;\\n}',\n },\n {\n name: 'ConnectionHostInfo',\n declaration: 'export interface ConnectionHostInfo {\\n readonly home: string;\\n}',\n },\n {\n name: 'ConnectionInteractions',\n declaration: 'export type ConnectionInteractions = \\'answer\\' | \\'none\\';',\n },\n {\n name: 'ConnectionLoop',\n declaration: 'export interface ConnectionLoop {\\n stop(): void;\\n}',\n },\n {\n name: 'ConnectionRecoveryConfig',\n declaration: 'export interface ConnectionRecoveryConfig {\\n backoffBaseMs?: number;\\n backoffFactor?: number;\\n backoffMaxMs?: number;\\n generationReadyWarnMs?: number;\\n generationReadyTimeoutMs?: number;\\n}',\n },\n {\n name: 'ConnectionRpcFailure',\n declaration: 'export interface ConnectionRpcFailure {\\n readonly code: string;\\n readonly message: string;\\n readonly details: object;\\n}',\n },\n {\n name: 'ConnectionRpcResult',\n declaration: 'export type ConnectionRpcResult<T> = {\\n readonly ok: true;\\n readonly value: T;\\n} | {\\n readonly ok: false;\\n readonly error: ConnectionRpcFailure;\\n};',\n },\n {\n name: 'ConnectionSinks',\n declaration: 'export interface ConnectionSinks {\\n onConnected?: (host: ConnectionHostInfo) => void;\\n onStateChange?: (state: ConnectionState) => void;\\n onReconnectRequested?: () => void;\\n}',\n },\n {\n name: 'ConnectionState',\n declaration: 'export type ConnectionState = \\'connected\\' | \\'disconnected\\' | \\'connecting\\';',\n },\n {\n name: 'ConnectionStateSource',\n declaration: 'export interface ConnectionStateSource {\\n getSnapshot(): ConnectionState | undefined;\\n subscribe(listener: () => void): () => void;\\n}',\n },\n {\n name: 'ConnectionWebSocket',\n declaration: 'export interface ConnectionWebSocket {\\n readonly readyState: number;\\n send(data: string): void;\\n close(code?: number, reason?: string): void;\\n addEventListener<Event extends keyof ConnectionWebSocketEventMap>(event: Event, listener: (event: ConnectionWebSocketEventMap[Event]) => void, options?: {\\n readonly once?: boolean;\\n }): void;\\n removeEventListener<Event extends keyof ConnectionWebSocketEventMap>(event: Event, listener: (event: ConnectionWebSocketEventMap[Event]) => void): void;\\n}',\n },\n {\n name: 'ConnectionWebSocketEventMap',\n declaration: 'export interface ConnectionWebSocketEventMap {\\n readonly open: object;\\n readonly error: object;\\n readonly close: object;\\n readonly message: {\\n readonly data: unknown;\\n };\\n}',\n },\n {\n name: 'DraftInitializationOptions',\n declaration: 'export interface DraftInitializationOptions {\\n readonly prompt?: string;\\n readonly clearPreviousDraft?: boolean;\\n readonly whenDraftExists?: \\'replace\\' | \\'append\\' | \\'keep\\';\\n}',\n },\n {\n name: 'EntryKeyOf',\n declaration: 'export type EntryKeyOf<K extends keyof SlotMap & string> = SlotMap[K] extends {\\n kind: \\'keyed\\';\\n keyProps: infer P extends object;\\n} ? keyof P & string : string;',\n },\n {\n name: 'FactoryComponentPropsOf',\n declaration: 'export type FactoryComponentPropsOf<F extends keyof SlotFactoryMap & string> = FactoryInputPropsOf<F> & FactoryRegistrationPropsOf<F> & ScopeStandardProps<FactoryDefOf<F>[\\'scope\\']> & {\\n useFactorySlot: UseFactorySlot<F>;\\n};',\n },\n {\n name: 'FactoryInjectParams',\n declaration: 'export type FactoryInjectParams<F extends keyof SlotFactoryMap & string> = FactoryDefOf<F>[\\'scope\\'] extends \\'session\\' ? ([\\n FactoryStoreOf<F>\\n] extends [\\n StoreDecl\\n] ? [\\n sessionId: SessionIdOf,\\n actions: BoundActions<FactoryStoreOf<F>>\\n] : [\\n sessionId: SessionIdOf\\n]) : FactoryDefOf<F>[\\'scope\\'] extends \\'session-maybe\\' ? ([\\n FactoryStoreOf<F>\\n] extends [\\n StoreDecl\\n] ? [\\n sessionId: SessionIdOf | undefined,\\n actions: BoundActions<FactoryStoreOf<F>> | undefined\\n] : [\\n sessionId: SessionIdOf | undefined\\n]) : ([\\n FactoryStoreOf<F>\\n] extends [\\n StoreDecl\\n] ? [\\n actions: BoundActions<FactoryStoreOf<F>>\\n] : [\\n]);',\n },\n {\n name: 'FactoryLocalComponent',\n declaration: 'export type FactoryLocalComponent<F extends keyof SlotFactoryMap & string, N extends FactoryLocalNameOf<F>> = SlotComponent<FactoryLocalComponentPropsOf<F, N>>;',\n },\n {\n name: 'FactoryLocalComponentPropsOf',\n declaration: 'export type FactoryLocalComponentPropsOf<F extends keyof SlotFactoryMap & string, N extends FactoryLocalNameOf<F>> = FactoryLocalInputPropsOf<F, N> & FactoryRegistrationPropsOf<F> & ScopeStandardProps<FactoryLocalDefOf<F, N>[\\'scope\\']>;',\n },\n {\n name: 'FactoryRegistrationPropsOf',\n declaration: 'export type FactoryRegistrationPropsOf<F extends keyof SlotFactoryMap & string> = FactoryRenderPropsOf<F> & PropsStore<FactoryStoreOf<F>> & InjectFace<FactoryInjectOf<F>> & PropsLocale<FactoryLocaleOf<F>> & PropsRenderFactories;',\n },\n {\n name: 'FontFamilies',\n declaration: 'export type FontFamilies = Readonly<Record<FontRole, string>>;',\n },\n {\n name: 'FontRole',\n declaration: 'export type FontRole = typeof FONT_ROLES[number];',\n },\n {\n name: 'FontSizes',\n declaration: 'export type FontSizes = Readonly<Record<FontRole, number>>;',\n },\n {\n name: 'GlobalStandardProps',\n declaration: 'export interface GlobalStandardProps {\\n}',\n },\n {\n name: 'HandleOf',\n declaration: 'export type HandleOf<H> = H extends () => infer R ? R : H;',\n },\n {\n name: 'HocShare',\n declaration: 'export type HocShare<E extends SlotEntryDef> = E[\\'kind\\'] extends \\'hoc\\' ? {\\n children: ReactNode;\\n} : object;',\n },\n {\n name: 'HooksSources',\n declaration: 'export type HooksSources = Record<string, HostObservable<unknown>>;',\n },\n {\n name: 'HostObservable',\n declaration: 'export type HostObservable<T> = ObservableSnapshot<T>;',\n },\n {\n name: 'IconGlyph',\n declaration: 'export type IconGlyph = keyof typeof ICON_ARTWORK;',\n },\n {\n name: 'IconReplacements',\n declaration: 'export type IconReplacements = Readonly<Partial<Record<IconSymbolId, string>>>;',\n },\n {\n name: 'IconSymbolId',\n declaration: 'export type IconSymbolId = `dsw-icon-${IconGlyph}-${IconWeight}`;',\n },\n {\n name: 'IconWeight',\n declaration: 'export type IconWeight = \\'regular\\' | \\'medium\\';',\n },\n {\n name: 'InjectFace',\n declaration: 'export type InjectFace<I extends object> = I extends {\\n hooks: infer HS extends HooksSources;\\n} ? I extends {\\n keyedHooks: infer KS extends KeyedHooksSources;\\n} ? Omit<I, \\'hooks\\' | \\'keyedHooks\\'> & PropsHooks<HS> & PropsKeyedHooks<KS> : Omit<I, \\'hooks\\'> & PropsHooks<HS> : I extends {\\n keyedHooks: infer KS extends KeyedHooksSources;\\n} ? Omit<I, \\'keyedHooks\\'> & PropsKeyedHooks<KS> : I;',\n },\n {\n name: 'InjectParams',\n declaration: 'export type InjectParams<K extends keyof SlotMap & string, H> = ScopeOf<K> extends \\'session\\' ? ([\\n H\\n] extends [\\n StoreDecl\\n] ? [\\n sessionId: SessionIdOf,\\n actions: BoundActions<HandleOf<H>>\\n] : [\\n sessionId: SessionIdOf\\n]) : ScopeOf<K> extends \\'session-maybe\\' ? ([\\n H\\n] extends [\\n StoreDecl\\n] ? [\\n sessionId: SessionIdOf | undefined,\\n actions: BoundActions<HandleOf<H>> | undefined\\n] : [\\n sessionId: SessionIdOf | undefined\\n]) : ([\\n H\\n] extends [\\n StoreDecl\\n] ? [\\n actions: BoundActions<HandleOf<H>>\\n] : [\\n]);',\n },\n {\n name: 'ISession',\n declaration: 'export interface ISession {\\n readonly sessionId: SessionId;\\n readonly projections: ProjectionsFace;\\n beginSubmission(input: BeginSubmissionInput): SubmissionHandle;\\n prompt(content: PromptContentPart[], mode: \\'queue\\' | \\'steer\\', signal?: AbortSignal, requestId?: SessionRequestId): Promise<RemoteResult<{\\n accepted: true;\\n }>>;\\n readAttachment(attachment: ImageAttachmentRef): Promise<RemoteResult<{\\n attachment: ImageAttachmentRef;\\n data: Uint8Array;\\n }>>;\\n updateQueue(itemId: MessageId, action: QueueAction): Promise<RemoteResult<{\\n accepted: true;\\n }>>;\\n cancel(): Promise<RemoteResult<{\\n accepted: true;\\n }>>;\\n rename(title: string): Promise<RemoteResult<{\\n title: string;\\n seq: SessionSeq;\\n }>>;\\n loadOlder(options?: {\\n deferConsumption?: boolean;\\n }): Promise<void>;\\n consumeOlder(): boolean;\\n loadThrough(seq: SessionSeq): Promise<void>;\\n command(line: string): Promise<RemoteResult<{\\n matched: boolean;\\n }>>;\\n}',\n },\n {\n name: 'ISessions',\n declaration: 'export interface ISessions {\\n readonly list: ObservableSnapshot<SessionListState>;\\n retain(target: SessionTarget, options: SessionRetainOptions): SessionReference;\\n using<T>(target: SessionTarget, options: SessionRetainOptions, operation: (reference: SessionReference) => T | Promise<T>): Promise<T>;\\n retainInfo(id: SessionId): ObservableSnapshot<SessionRetainInfo>;\\n readonly searchResultLimit: number;\\n create(opts?: {\\n workspaceId?: WorkspaceId;\\n cwd?: string;\\n sessionId?: SessionId;\\n agentPreset?: string;\\n }): Promise<SessionId>;\\n subagentAddress(id: SessionId): SubagentAddress | undefined;\\n refreshProjections(sessionId: SessionId): Promise<void>;\\n refresh(): Promise<void>;\\n search(query: string, signal: AbortSignal): Promise<RemoteResult<{\\n items: SessionSearchResultItem[];\\n hasMore: boolean;\\n }>>;\\n fork(opts: {\\n sessionId: SessionId;\\n atSeq?: number;\\n increaseTitle?: boolean;\\n onCreated?: (childId: SessionId) => void;\\n allowMigration?: boolean;\\n }): Promise<SessionId>;\\n scope(id: SessionId): AgentContext | undefined;\\n scopeOf(ctx: Context): SessionId | undefined;\\n sessionOf(ctx: Context): SessionFace | undefined;\\n binding(id: SessionId): SessionBinding | undefined;\\n}',\n },\n {\n name: 'KeyedHooksSources',\n declaration: 'export type KeyedHooksSources = Record<string, KeyedStandardSource>;',\n },\n {\n name: 'KeyedSnapshotSelectorHook',\n declaration: 'export type KeyedSnapshotSelectorHook<Snapshot> = {\\n (key: string): Snapshot | undefined;\\n <Selected>(key: string, selector: (value: Snapshot | undefined) => Selected, equal?: (left: Selected, right: Selected) => boolean): Selected;\\n};',\n },\n {\n name: 'KeyedStandardSource',\n declaration: 'export type KeyedStandardSource = (key: string, member?: string) => HostObservable<unknown> | undefined;',\n },\n {\n name: 'KeyPropsOf',\n declaration: 'export type KeyPropsOf<K extends keyof SlotMap & string, EntryKey extends EntryKeyOf<K>> = SlotMap[K] extends {\\n kind: \\'keyed\\';\\n keyProps: infer P extends object;\\n} ? EntryKey extends keyof P ? P[EntryKey] extends object ? P[EntryKey] : never : never : object;',\n },\n {\n name: 'LanguageRegistration',\n declaration: 'export interface LanguageRegistration {\\n id: LocaleId;\\n label: string;\\n fallback: LocaleId;\\n}',\n },\n {\n name: 'LiveCompositionNode',\n declaration: 'export type LiveCompositionNode = LiveSlotNode | LiveFactoryNode;',\n },\n {\n name: 'LiveFactoryNode',\n declaration: 'export interface LiveFactoryNode {\\n type: \\'factory\\';\\n name: string;\\n scope: SlotScope;\\n registrant?: string;\\n children: LiveSlotNode[];\\n}',\n },\n {\n name: 'LiveSlotNode',\n declaration: 'export interface LiveSlotNode {\\n type: \\'slot\\';\\n name: string;\\n kind: SlotKind;\\n scope: SlotScope;\\n declaredBy?: string;\\n occupants: LiveSlotOccupant[];\\n children: LiveSlotNode[];\\n}',\n },\n {\n name: 'LiveSlotOccupant',\n declaration: 'export interface LiveSlotOccupant {\\n registrant?: string;\\n key?: string;\\n id?: string;\\n order?: number;\\n priority: number;\\n active: boolean;\\n}',\n },\n {\n name: 'LocaleDefinition',\n declaration: 'export interface LocaleDefinition {\\n readonly id: LocaleId;\\n readonly label: string;\\n readonly fallback?: LocaleId;\\n}',\n },\n {\n name: 'LocaleDict',\n declaration: 'export type LocaleDict = Record<string, string>;',\n },\n {\n name: 'LocaleDictOf',\n declaration: 'export type LocaleDictOf<N extends keyof LocaleNamespaceMap & string> = Record<LocaleNamespaceMap[N] & string, string>;',\n },\n {\n name: 'LocaleId',\n declaration: 'export type LocaleId = string;',\n },\n {\n name: 'LocaleKeysOf',\n declaration: 'export type LocaleKeysOf<N extends keyof LocaleNamespaceMap & string> = (LocaleNamespaceMap[N] & string) | CommonKeyOf;',\n },\n {\n name: 'LocaleNamespaceMap',\n declaration: 'export interface LocaleNamespaceMap {\\n}',\n },\n {\n name: 'LocaleSnapshot',\n declaration: 'export interface LocaleSnapshot {\\n active: LocaleId;\\n locales: readonly LocaleDefinition[];\\n revision: number;\\n}',\n },\n {\n name: 'MainPanelId',\n declaration: 'export type MainPanelId = Branded<\\'MainPanelId\\'>;',\n },\n {\n name: 'MatchedShare',\n declaration: 'export type MatchedShare<E extends SlotEntryDef, M> = E[\\'kind\\'] extends \\'chain\\' ? {\\n matched: M;\\n} : object;',\n },\n {\n name: 'ObservableSnapshot',\n declaration: 'export interface ObservableSnapshot<T> {\\n getSnapshot(): T;\\n subscribe(fn: () => void): () => void;\\n}',\n },\n {\n name: 'OpenState',\n declaration: 'export type OpenState = \\'cold\\' | \\'loading\\' | \\'open\\' | \\'error\\';',\n },\n {\n name: 'OwnerOf',\n declaration: 'export type OwnerOf<K extends keyof SlotMap & string> = SlotMap[K] extends {\\n owner: infer O extends object;\\n} ? O : object;',\n },\n {\n name: 'PendingSubmission',\n declaration: 'export interface PendingSubmission {\\n readonly requestId: SessionRequestId;\\n readonly placement: PendingSubmissionPlacement;\\n readonly time: number;\\n readonly text: string;\\n readonly attachments: readonly PendingSubmissionAttachment[];\\n}',\n },\n {\n name: 'PendingSubmissionAttachment',\n declaration: 'export type PendingSubmissionAttachment = PendingSubmissionImageAttachment | PendingSubmissionFileAttachment;',\n },\n {\n name: 'PendingSubmissionFileAttachment',\n declaration: 'export interface PendingSubmissionFileAttachment {\\n readonly type: \\'file\\';\\n readonly value: FileAttachmentRef;\\n}',\n },\n {\n name: 'PendingSubmissionImage',\n declaration: 'export interface PendingSubmissionImage {\\n readonly previewUrl: string;\\n readonly name?: string;\\n readonly width?: number;\\n readonly height?: number;\\n}',\n },\n {\n name: 'PendingSubmissionImageAttachment',\n declaration: 'export interface PendingSubmissionImageAttachment {\\n readonly type: \\'image\\';\\n readonly value: PendingSubmissionImage;\\n}',\n },\n {\n name: 'PendingSubmissionPlacement',\n declaration: 'export type PendingSubmissionPlacement = \\'transcript\\' | \\'queued\\' | \\'steering\\';',\n },\n {\n name: 'PendingSubmissionRetirement',\n declaration: 'export type PendingSubmissionRetirement = {\\n readonly reason: \\'observed\\';\\n readonly attachments: readonly (ImageAttachmentRef | FileAttachmentRef)[];\\n} | {\\n readonly reason: \\'failed\\';\\n};',\n },\n {\n name: 'ProjectionsFace',\n declaration: 'export interface ProjectionsFace {\\n faceOf(key: string): ObservableSnapshot<unknown>;\\n}',\n },\n {\n name: 'PromptContentPart',\n declaration: 'export type PromptContentPart = {\\n readonly type: \\'text\\';\\n readonly text: string;\\n} | {\\n readonly type: \\'image\\';\\n readonly mediaType: ImageMediaType;\\n readonly data: string;\\n readonly name?: string;\\n} | {\\n readonly type: \\'file\\';\\n readonly receiptId: Branded<\\'file-upload-receipt-id\\'>;\\n};',\n },\n {\n name: 'PromptError',\n declaration: 'export interface PromptError {\\n readonly op: \\'send\\' | \\'stop\\';\\n readonly error: RemoteFailure;\\n}',\n },\n {\n name: 'PropsHooks',\n declaration: 'export type PropsHooks<HS extends HooksSources> = {\\n [N in keyof HS & string as `use${Capitalize<N>}`]: SnapshotSelectorHook<HS[N] extends HostObservable<infer T> ? T : never>;\\n};',\n },\n {\n name: 'PropsKeyedHooks',\n declaration: 'export type PropsKeyedHooks<HS extends KeyedHooksSources> = {\\n [N in keyof HS & string as `use${Capitalize<N>}`]: KeyedSnapshotSelectorHook<HS[N] extends (key: string) => HostObservable<infer T> | undefined ? T : never>;\\n};',\n },\n {\n name: 'PropsLocale',\n declaration: 'export type PropsLocale<N> = N extends keyof LocaleNamespaceMap & string ? {\\n t: TranslateNS<N>;\\n} : object;',\n },\n {\n name: 'PropsRenderFactories',\n declaration: 'export interface PropsRenderFactories {\\n renderFactorySlot: RenderFactorySlot;\\n}',\n },\n {\n name: 'PropsRenderSlots',\n declaration: 'export type PropsRenderSlots<S extends keyof SlotMap & string> = {\\n renderSlot: RenderSlotFn<Exclude<S, ChainKeysOf<S>>>;\\n readonly __renders?: ((key: S) => void) | undefined;\\n} & ([\\n ChainKeysOf<S>\\n] extends [\\n never\\n] ? object : {\\n renderSlotChain: <K extends ChainKeysOf<S>>(key: K, owner: OwnerOf<K>, opts?: ChainRenderOpts) => ReactNode;\\n}) & ([\\n Extract<ScopeOf<S>, \\'session\\' | \\'session-maybe\\'>\\n] extends [\\n never\\n] ? object : {\\n SessionProvider: SessionProviderComponent;\\n});',\n },\n {\n name: 'PropsRuntime',\n declaration: 'export type PropsRuntime<K extends keyof SlotMap & string, EntryKey extends EntryKeyOf<K> = EntryKeyOf<K>> = OwnerOf<K> & KeyPropsOf<K, EntryKey> & SlotInjectFace<SlotInjectOf<K>> & ScopeStandardProps<ScopeOf<K>>;',\n },\n {\n name: 'PropsSlotHooks',\n declaration: 'export type PropsSlotHooks<HS extends object> = {\\n [N in keyof HS & string as `use${Capitalize<N>}`]: BoundHookOf<HS[N]>;\\n};',\n },\n {\n name: 'PropsStore',\n declaration: 'export type PropsStore<H> = H extends StoreHandle<infer T, infer A> ? {\\n useStore: SnapshotSelectorHook<T>;\\n actions: BakedActions<T, A>;\\n} : object;',\n },\n {\n name: 'QueueAction',\n declaration: 'export type QueueAction = {\\n readonly kind: \\'edit\\';\\n readonly content: readonly TextBlock[];\\n} | {\\n readonly kind: \\'remove\\';\\n} | {\\n readonly kind: \\'steer\\';\\n};',\n },\n {\n name: 'RegisterFactory',\n declaration: 'export interface RegisterFactory {\\n <F extends keyof SlotFactoryMap & string>(options: RegisterFactoryOptions<F>, component: SlotComponent<FactoryComponentPropsOf<F>>): () => void;\\n}',\n },\n {\n name: 'RegisterFactoryOptions',\n declaration: 'export type RegisterFactoryOptions<F extends keyof SlotFactoryMap & string> = {\\n name: F;\\n scope: FactoryDefOf<F>[\\'scope\\'];\\n} & FactoryField<F, \\'children\\', FactoryChildrenOf<F>> & FactoryField<F, \\'store\\', FactoryStoreOf<F> | (() => FactoryStoreOf<F>)> & FactoryField<F, \\'inject\\', (...args: FactoryInjectParams<F>) => FactoryInjectOf<F>> & FactoryField<F, \\'locale\\', FactoryLocaleOf<F>> & FactoryField<F, \\'slots\\', RuntimeFactorySlots<F>> & FactoryCollisionCheck<F> & FactoryChildrenCheck<F>;',\n },\n {\n name: 'RemoteHostFacts',\n declaration: 'export interface RemoteHostFacts {\\n readonly home: string | undefined;\\n readonly isLoopback: boolean;\\n}',\n },\n {\n name: 'RemoteStream',\n declaration: 'export class RemoteStream<Item> implements AsyncIterable<RemoteStreamItem<Item>> {\\n constructor(private readonly connection: Pick<ConnectionHandle, \\'generation\\'>, private readonly options: RemoteStreamOptions<Item>);\\n get signal(): AbortSignal;\\n restart(): void;\\n dispose(): Promise<void>;\\n [Symbol.asyncIterator](): AsyncIterator<RemoteStreamItem<Item>>;\\n}',\n },\n {\n name: 'RemoteStreamCarrierError',\n declaration: 'export class RemoteStreamCarrierError extends Error {\\n constructor(message: string, options?: ErrorOptions);\\n}',\n },\n {\n name: 'RemoteStreamItem',\n declaration: 'export interface RemoteStreamItem<Item> {\\n readonly generation: number;\\n readonly value: Item;\\n readonly signal: AbortSignal;\\n accept(): void;\\n}',\n },\n {\n name: 'RemoteStreamOptions',\n declaration: 'export interface RemoteStreamOptions<Item> {\\n readonly name: string;\\n readonly open: (signal: AbortSignal) => AsyncIterable<Item>;\\n readonly ended: (accepted: boolean) => Error;\\n readonly carrierFailed?: (error: RemoteStreamCarrierError) => void;\\n}',\n },\n {\n name: 'RenderFactorySlot',\n declaration: 'export type RenderFactorySlot = <F extends keyof SlotFactoryMap & string>(name: F, props: FactoryInputPropsOf<F>, options?: {\\n slots?: Partial<{\\n [N in FactoryLocalNameOf<F>]: FactoryLocalComponent<F, N>;\\n }>;\\n fallback?: ReactNode;\\n}) => ReactNode;',\n },\n {\n name: 'ScopeOf',\n declaration: 'export type ScopeOf<K extends keyof SlotMap & string> = SlotMap[K][\\'scope\\'];',\n },\n {\n name: 'ScopeStandardProps',\n declaration: 'export type ScopeStandardProps<S extends SlotScope> = (S extends \\'session\\' ? SessionStandardProps : S extends \\'session-maybe\\' ? SessionMaybeStandardProps : object) & GlobalStandardProps;',\n },\n {\n name: 'SessionAreaProps',\n declaration: 'export interface SessionAreaProps {\\n readonly session?: SlotScopeTargetMap[keyof SlotScopeTargetMap & \\'session\\'] | undefined;\\n empty?: (() => ReactNode) | undefined;\\n children: ReactNode;\\n}',\n },\n {\n name: 'SessionAssistantSettlementEntry',\n declaration: 'export interface SessionAssistantSettlementEntry {\\n readonly type: \\'event\\';\\n readonly event: SessionEvent<\\'assistant/message\\'> | SessionEvent<\\'assistant/attempt\\'>;\\n}',\n },\n {\n name: 'SessionBinding',\n declaration: 'export interface SessionBinding {\\n readonly sessionId: SessionId;\\n readonly session: SessionFace;\\n readonly eventSource: SessionEventSource;\\n readonly ctx: AgentContext;\\n}',\n },\n {\n name: 'SessionEventChange',\n declaration: 'export type SessionEventChange = {\\n readonly kind: \\'replace\\';\\n readonly entries: readonly SessionEventLikeEntry[];\\n} | {\\n readonly kind: \\'prepend\\';\\n readonly entries: readonly SessionEventLikeEntry[];\\n} | {\\n readonly kind: \\'append\\';\\n readonly entries: readonly SessionEventLikeEntry[];\\n} | {\\n readonly kind: \\'settle-assistant\\';\\n readonly attemptId: LlmAttemptId;\\n readonly entry?: SessionAssistantSettlementEntry;\\n};',\n },\n {\n name: 'SessionEventLikeEntry',\n declaration: 'export type SessionEventLikeEntry = {\\n readonly type: \\'event\\';\\n readonly event: SessionEvent;\\n} | {\\n readonly type: \\'transient\\';\\n readonly event: AssistantLiveChunkEvent;\\n};',\n },\n {\n name: 'SessionEventSource',\n declaration: 'export type SessionEventSource = ObservableSnapshot<SessionEventWindow>;',\n },\n {\n name: 'SessionEventWindow',\n declaration: 'export interface SessionEventWindow {\\n readonly entries: readonly SessionEventLikeEntry[];\\n readonly hasMore: boolean;\\n readonly revision: number;\\n readonly change: SessionEventChange;\\n}',\n },\n {\n name: 'SessionFace',\n declaration: 'export type SessionFace = ISession & ObservableSnapshot<SessionSnapshot>;',\n },\n {\n name: 'SessionIdOf',\n declaration: 'export type SessionIdOf = SessionStandardProps extends {\\n sessionId: infer S;\\n} ? S : string;',\n },\n {\n name: 'SessionListPhase',\n declaration: 'export type SessionListPhase = \\'pending\\' | \\'ready\\';',\n },\n {\n name: 'SessionListState',\n declaration: 'export interface SessionListState {\\n ids: SessionId[];\\n byId: Record<SessionId, SessionSummary>;\\n phase: SessionListPhase;\\n projectionsBySession: Readonly<Record<SessionId, SessionProjectionSnapshot>>;\\n}',\n },\n {\n name: 'SessionMaybeStandardProps',\n declaration: 'export interface SessionMaybeStandardProps {\\n}',\n },\n {\n name: 'SessionProjectionSnapshot',\n declaration: 'export interface SessionProjectionSnapshot {\\n readonly values: Readonly<Partial<SessionProjectionViewValues>>;\\n readonly state: \\'idle\\' | \\'loading\\' | \\'ready\\' | \\'migration-required\\' | \\'error\\';\\n readonly error: RemoteFailure | null;\\n}',\n },\n {\n name: 'SessionProviderComponent',\n declaration: 'export type SessionProviderComponent = (props: SessionAreaProps) => ReactNode;',\n },\n {\n name: 'SessionReference',\n declaration: 'export interface SessionReference extends Disposable {\\n readonly sessionId: SessionId;\\n readonly binding: SessionBinding;\\n readonly ready: Promise<SessionBinding>;\\n release(): void;\\n}',\n },\n {\n name: 'SessionReferenceSource',\n declaration: 'export type SessionReferenceSource = Extract<keyof SessionReferenceSourceMap, string>;',\n },\n {\n name: 'SessionReferenceSourceMap',\n declaration: 'export interface SessionReferenceSourceMap {\\n controllerOperation: unknown;\\n gateway: unknown;\\n}',\n },\n {\n name: 'SessionRequestId',\n declaration: 'export type SessionRequestId = Branded<\\'session-request-id\\'>;',\n },\n {\n name: 'SessionRetainInfo',\n declaration: 'export interface SessionRetainInfo {\\n readonly referenceCount: number;\\n readonly retainedBy: Readonly<Partial<Record<SessionReferenceSource, number>>>;\\n}',\n },\n {\n name: 'SessionRetainOptions',\n declaration: 'export interface SessionRetainOptions {\\n readonly source: SessionReferenceSource;\\n readonly signal?: AbortSignal | undefined;\\n}',\n },\n {\n name: 'SessionSearchResultItem',\n declaration: 'export interface SessionSearchResultItem {\\n sessionId: SessionId;\\n snippet: string;\\n}',\n },\n {\n name: 'SessionSnapshot',\n declaration: 'export interface SessionSnapshot {\\n readonly sessionId: SessionId;\\n readonly pendingSubmissions: readonly PendingSubmission[];\\n readonly running: boolean;\\n readonly subagent: {\\n readonly address: SubagentAddress;\\n } | null;\\n readonly removed: boolean;\\n readonly openState: OpenState;\\n readonly openError: RemoteFailure | null;\\n readonly hasMore: boolean;\\n readonly historyWasPartial: boolean;\\n readonly loadingOlder: boolean;\\n readonly historyLoadStatus: \\'idle\\' | \\'loading\\' | \\'pendingConsumption\\' | \\'error\\';\\n readonly promptError: PromptError | null;\\n readonly blank: boolean;\\n readonly lastAgentError: string | null;\\n readonly promptAttempted: boolean;\\n readonly awaitingFirstTurn: boolean;\\n}',\n },\n {\n name: 'SessionStandardProps',\n declaration: 'export interface SessionStandardProps {\\n}',\n },\n {\n name: 'SessionTarget',\n declaration: 'export type SessionTarget = SessionId | SubagentAddress;',\n },\n {\n name: 'SlotComponent',\n declaration: 'export type SlotComponent<P> = (props: P) => ReactNode;',\n },\n {\n name: 'SlotCore',\n declaration: 'export class SlotCore {\\n constructor();\\n readonly registerFactory: RegisterFactory;\\n factory(name: string): StoredFactory | undefined;\\n factoryVersion(name: string): number;\\n subscribeFactory(name: string, listener: () => void): () => void;\\n isFactoryLive(definition: StoredFactory): boolean;\\n register<K extends keyof SlotMap & string, const EntryKey extends EntryKeyOf<K> = EntryKeyOf<K>, const D extends ChildrenDecl = Record<never, never>, H extends StoreDecl | undefined = undefined, M = never, N extends (keyof LocaleNamespaceMap & string) | undefined = undefined, C extends SlotComponent<never> = SlotComponent<never>>(options: BaseOptions<K, EntryKey, D, H, M, N> & {\\n inject?: undefined;\\n }, component: C & SlotComponent<ComposedProps<K, NoInfer<EntryKey>, keyof NoInfer<D> & keyof SlotMap & string, HandleOf<NoInfer<H>>, object, NoInfer<M>, NoInfer<N>>> & RendersCheck<C, D>): () => void;\\n register<K extends keyof SlotMap & string, I extends object, const EntryKey extends EntryKeyOf<K> = EntryKeyOf<K>, const D extends ChildrenDecl = Record<never, never>, H extends StoreDecl | undefined = undefined, M = never, N extends (keyof LocaleNamespaceMap & string) | undefined = undefined, C extends SlotComponent<never> = SlotComponent<never>>(options: BaseOptions<K, EntryKey, D, H, M, N> & {\\n inject: (...args: InjectParams<K, H>) => I;\\n }, component: C & SlotComponent<ComposedProps<K, NoInfer<EntryKey>, keyof NoInfer<D> & keyof SlotMap & string, HandleOf<NoInfer<H>>, I, NoInfer<M>, NoInfer<N>>> & RendersCheck<C, D>): () => void;\\n isLive(entry: StoredEntry): boolean;\\n entries(key: string): readonly StoredEntry[];\\n entriesOfSlot(key: string): readonly StoredEntry[];\\n spec<K extends keyof SlotMap & string>(key: K): SlotSpec<SlotMap[K]> | undefined;\\n specDynamic(key: string): SlotSpec<SlotEntryDef> | undefined;\\n snapshot(root?: string): LiveCompositionNode[];\\n declarationEpoch(key: string): number;\\n subscribe(key: string, fn: () => void): () => void;\\n subscribeDeclaration(key: string, fn: () => void): () => void;\\n getVersion(key: string): number;\\n onMutate(fn: (key: string) => void): () => void;\\n reportEntryError(key: string, entry: StoredEntry, error: unknown, info: {\\n abdicate: boolean;\\n }): void;\\n reportFactoryError(name: string, registration: StoredEntry | StoredFactory, error: unknown): void;\\n onEntryError(fn: (key: string, registration: StoredEntry | StoredFactory, error: unknown, info: {\\n abdicated: boolean;\\n }) => void): () => void;\\n}',\n },\n {\n name: 'SlotEntryDef',\n declaration: 'export interface SlotEntryDef {\\n kind: SlotKind;\\n scope: SlotScope;\\n inline?: true;\\n owner?: object;\\n keyProps?: Record<string, object>;\\n hookContext?: unknown;\\n inject?: object;\\n}',\n },\n {\n name: 'SlotFactoryMap',\n declaration: 'export interface SlotFactoryMap {\\n}',\n },\n {\n name: 'SlotInjectFace',\n declaration: 'export type SlotInjectFace<I extends object> = I extends {\\n hooks: infer HS extends object;\\n} ? Omit<I, \\'hooks\\'> & PropsSlotHooks<HS> : I;',\n },\n {\n name: 'SlotInjectOf',\n declaration: 'export type SlotInjectOf<K extends keyof SlotMap & string> = SlotMap[K] extends {\\n inject: infer Injected extends object;\\n} ? Injected : object;',\n },\n {\n name: 'SlotKind',\n declaration: 'export type SlotKind = \\'single\\' | \\'list\\' | \\'keyed\\' | \\'chain\\' | \\'hoc\\';',\n },\n {\n name: 'SlotLabel',\n declaration: 'export type SlotLabel = string | (() => string);',\n },\n {\n name: 'SlotMap',\n declaration: 'export interface SlotMap {\\n}',\n },\n {\n name: 'SlotScope',\n declaration: 'export type SlotScope = \\'root\\' | \\'session-maybe\\' | \\'session\\';',\n },\n {\n name: 'SlotScopeTargetMap',\n declaration: 'export interface SlotScopeTargetMap {\\n}',\n },\n {\n name: 'SlotSpec',\n declaration: 'export type SlotSpec<E extends SlotEntryDef> = {\\n kind: E[\\'kind\\'];\\n scope: E[\\'scope\\'];\\n inline?: true;\\n} & (\\'inject\\' extends keyof E ? E extends {\\n inject: infer Injected extends object;\\n} ? {\\n inject: Injected;\\n} : {\\n inject?: object;\\n} : {\\n inject?: never;\\n});',\n },\n {\n name: 'SnapshotSelectorHook',\n declaration: 'export type SnapshotSelectorHook<T> = <S>(sel: (s: T) => S, eq?: (a: S, b: S) => boolean) => S;',\n },\n {\n name: 'StartSessionOptions',\n declaration: 'export interface StartSessionOptions extends DraftInitializationOptions {\\n readonly agentPreset?: string;\\n}',\n },\n {\n name: 'StoreDecl',\n declaration: 'export type StoreDecl = StoreHandle<any, any> | StoreFactory;',\n },\n {\n name: 'StoredEntry',\n declaration: 'export interface StoredEntry {\\n component: unknown;\\n options: {\\n key?: string;\\n id?: string;\\n order?: number;\\n label?: SlotLabel;\\n priority?: number;\\n };\\n select?: ((owner: never) => unknown) | undefined;\\n inject?: ((...args: never[]) => Record<string, unknown>) | undefined;\\n children?: Readonly<Record<string, SlotSpec<SlotEntryDef>>> | undefined;\\n store?: StoreDecl | undefined;\\n locale?: string | undefined;\\n registrant?: string | undefined;\\n}',\n },\n {\n name: 'StoredFactory',\n declaration: 'export interface StoredFactory {\\n readonly name: string;\\n readonly component: unknown;\\n readonly scope: SlotScope;\\n readonly children?: Readonly<Record<string, SlotSpec<SlotEntryDef>>> | undefined;\\n readonly store?: StoreDecl | undefined;\\n readonly inject?: ((...args: never[]) => Record<string, unknown>) | undefined;\\n readonly locale?: string | undefined;\\n readonly slots?: Readonly<Record<string, {\\n scope: SlotScope;\\n }>> | undefined;\\n readonly registrant?: string | undefined;\\n}',\n },\n {\n name: 'StoreFactory',\n declaration: 'export type StoreFactory = () => StoreHandle<any, any>;',\n },\n {\n name: 'StoreHandle',\n declaration: 'export interface StoreHandle<T, A extends ActionsDecl<T>> {\\n readonly spec: StoreSpec<T, A>;\\n create(scopeKey?: string): StoreInstance<T, A>;\\n}',\n },\n {\n name: 'StoreInstance',\n declaration: 'export interface StoreInstance<T, A extends ActionsDecl<T>> {\\n readonly actions: BakedActions<T, A>;\\n getSnapshot(): T;\\n subscribe(fn: () => void): () => void;\\n clearPersisted(): void;\\n}',\n },\n {\n name: 'StoreSpec',\n declaration: 'export interface StoreSpec<T, A extends ActionsDecl<T>> {\\n init: () => T;\\n persist?: string;\\n actions: A;\\n}',\n },\n {\n name: 'SubmissionHandle',\n declaration: 'export interface SubmissionHandle {\\n readonly requestId: SessionRequestId;\\n abandon(): void;\\n}',\n },\n {\n name: 'ThemeDefinition',\n declaration: 'export interface ThemeDefinition {\\n id: string;\\n colorScheme: \\'light\\' | \\'dark\\';\\n tokens: ThemeTokens;\\n icons?: IconReplacements | undefined;\\n}',\n },\n {\n name: 'ThemePreference',\n declaration: 'export type ThemePreference = typeof THEME_PREFERENCES[number];',\n },\n {\n name: 'ThemeSnapshot',\n declaration: 'export interface ThemeSnapshot {\\n preference: ThemePreference;\\n fontSizes: FontSizes;\\n fontFamilies: FontFamilies;\\n active: ThemeDefinition;\\n themes: readonly ThemeDefinition[];\\n revision: number;\\n}',\n },\n {\n name: 'ThemeTokenModes',\n declaration: 'export interface ThemeTokenModes {\\n light: string;\\n dark: string;\\n}',\n },\n {\n name: 'ThemeTokenOverrides',\n declaration: 'export type ThemeTokenOverrides = Record<string, ThemeTokenModes>;',\n },\n {\n name: 'ThemeTokens',\n declaration: 'export type ThemeTokens = Record<string, string>;',\n },\n {\n name: 'TranslateNS',\n declaration: 'export type TranslateNS<N extends keyof LocaleNamespaceMap & string> = Translate<LocaleKeysOf<N>>;',\n },\n {\n name: 'UseFactorySlot',\n declaration: 'export type UseFactorySlot<F extends keyof SlotFactoryMap & string> = <N extends FactoryLocalNameOf<F>>(name: N, fallback: FactoryLocalComponent<F, N>) => SlotComponent<FactoryLocalInputPropsOf<F, N>>;',\n },\n {\n name: 'WorkspaceView',\n declaration: 'export interface WorkspaceView {\\n readonly workspaceId: WorkspaceId;\\n readonly path: string;\\n readonly title: string;\\n readonly sessionIds: readonly SessionId[];\\n readonly createdAt: string;\\n readonly updatedAt: string;\\n}',\n },\n]\n\n/** The inherited `ctx` API (cordis core + loader/hmr/timer), in curated order. */\nexport const INHERITED_CTX_API: readonly InheritedApiEntry[] = [\n { name: 'ctx.on / ctx.once', summary: 'Register an event listener (disposable).' },\n { name: 'ctx.emit / ctx.parallel / ctx.serial / ctx.bail / ctx.waterfall', summary: 'Dispatch an event (sync / awaited / first-bail / short-circuit chain).' },\n { name: 'ctx.plugin / ctx.inject', summary: 'Load a plugin / declare required services.' },\n { name: 'ctx.effect', summary: 'Register a disposable side effect tied to the fiber.' },\n { name: 'ctx.get / ctx.set / ctx.provide / ctx.accessor / ctx.mixin', summary: 'Low-level service-store access and binding.' },\n { name: 'ctx.extend / ctx.isolate / ctx.intercept', summary: 'Derive a child context (scoped services / isolation / interception).' },\n { name: 'ctx.root / ctx.fiber / ctx.registry / ctx.reflect / ctx.events / ctx.logger', summary: 'Ambient handles onto the running context graph.' },\n { name: 'ctx.timer (+ interval / timeout / throttle / debounce)', summary: 'Disposable timer helpers. The `timer` key is provided at runtime; the four supported helpers are mixed onto ctx directly (declared via Pick).' },\n { name: 'ctx.loader', summary: 'The config Loader that booted the app (present under the loader).' },\n]\n\nfunction referencedTypeClosure(seeds: readonly string[]): TypeApiEntry[] {\n const included = new Set<string>()\n let frontier = [...seeds]\n while (frontier.length > 0) {\n const next: string[] = []\n for (const entry of TYPE_API) {\n if (included.has(entry.name)) continue\n const pattern = new RegExp(`\\\\b${entry.name}\\\\b`)\n if (!frontier.some(text => pattern.test(text))) continue\n included.add(entry.name)\n next.push(entry.declaration)\n }\n frontier = next\n }\n return TYPE_API.filter(entry => included.has(entry.name))\n}\n\nfunction contextProperty(key: string): string {\n return /^[A-Za-z_$][\\w$]*$/.test(key) ? `ctx.${key}` : `ctx[${JSON.stringify(key)}]`\n}\n\n/**\n * Project the Service Catalog as a compact directory or one exact coding contract.\n * @param key - exact Service key; omit it to list all Services and method signatures.\n * @param services - platform-specific visible Service entries.\n * @returns compact navigation data or one detailed Service with its referenced type closure.\n */\nexport function queryServiceApi(key?: string, services: readonly ServiceApiEntry[] = SERVICE_API): object {\n if (key === undefined) {\n return {\n mode: 'catalog',\n services: services.map(service => ({\n key: service.key,\n description: service.summary,\n methods: service.methods.map(method => ({ signature: method.signature })),\n })),\n }\n }\n const service = services.find(candidate => candidate.key === key)\n if (service === undefined) throw new Error(`no catalogued Service named \"${key}\"`)\n return {\n mode: 'service',\n service: {\n key: service.key,\n description: service.description,\n access: {\n optional: { expression: `ctx.get(${JSON.stringify(service.key)})`, requiresUndefinedCheck: true },\n hardDependency: { inject: [service.key], expression: contextProperty(service.key) },\n },\n methods: service.methods,\n },\n referencedTypes: referencedTypeClosure(service.methods.map(method => method.signature)),\n }\n}\n\n/**\n * Project the Event Catalog as a compact directory or one exact listener contract.\n * @param name - exact Event name; omit it to list all Events and listener signatures.\n * @param events - platform-specific visible Event entries.\n * @returns compact navigation data or one detailed Event with its referenced type closure.\n */\nexport function queryEventApi(name?: string, events: readonly EventApiEntry[] = EVENT_API): object {\n if (name === undefined) {\n return {\n mode: 'catalog',\n events: events.map(event => ({\n name: event.name,\n description: event.summary,\n mode: event.mode,\n signature: event.signature,\n })),\n }\n }\n const event = events.find(candidate => candidate.name === name)\n if (event === undefined) throw new Error(`no catalogued Event named \"${name}\"`)\n return {\n mode: 'event',\n event: {\n name: event.name,\n description: event.description,\n mode: event.mode,\n signature: event.signature,\n parameters: event.parameters,\n },\n referencedTypes: referencedTypeClosure([event.signature]),\n }\n}\n/* jscpd:ignore-end */\n","/**\n * Generated by scripts/gen-client-catalog.ts — do not edit by hand; run\n * `pnpm run gen-client-catalog` to regenerate (freshness-gated by\n * `pnpm run verify-client-catalog` in doc-sync).\n *\n * The compile-time contract of the shipped web bundle's slot surface, as\n * `cordis_inspect what:\"client\"` serves it to the model: every SlotMap key a\n * browser half can register into, what that register call must pass, what the\n * component receives, who already occupies the seat, and which owner has to be\n * mounted for the seat to exist. Data only — this module is the one legitimate\n * meeting point of the two planes, so it carries strings, never client imports.\n *\n * @module @deepseek-ai/dsh-cordis-client-runner/client/slot-catalog\n */\n\n/* jscpd:ignore-start */\n/** One option a register call passes for a given slot cardinality. */\nexport interface ClientSlotOption {\n /** Option name as written in the register options object. */\n name: string\n /** Whether the cardinality requires it. */\n requirement: string\n /** Accepted type, in source spelling. */\n type: string\n /** What it does, from the registrant's side. */\n doc: string\n}\n\n/** One browser-half slot a dynamic package can contribute UI into. */\nexport interface ClientSlotEntry {\n /** SlotMap key passed as the register call's `name`. */\n key: string\n /** Cardinality: `single`, `list`, `keyed`, `chain`, or `hoc`. */\n kind: string\n /** Data scope: `root`, `session`, or `session-maybe`. */\n scope: string\n /** First sentence of the contract prose. */\n summary: string\n /** Full contract prose from the SlotMap declaration. */\n doc: string\n /** Options this cardinality accepts (beyond `name`). */\n registerOptions: readonly ClientSlotOption[]\n /** Declarations of the props the owner passes down, with their own documentation. */\n ownerProps: readonly string[]\n /** Names of the shapes those props reference; deliberately not expanded here. */\n ownerPropsReferences: readonly string[]\n /** Framework-supplied component props for this scope. */\n standardProps: readonly string[]\n /** For keyed slots: how the key set is constrained and which keys are taken. */\n keyDomain: string\n /** Opaque per-render-site context passed to slot-level hooks, when the slot declares one. */\n hookContext: string\n /** Slot-level inject face every entry receives, when the slot declares one. */\n slotInject: string\n /** Which mounted entry makes this slot exist. */\n declaredBy: string\n /** Entries the shipped composition already registered here. */\n occupants: readonly string[]\n /**\n * `shadows-shipped-ui` when registering here replaces shipped UI; `wraps-owner-content` when your\n * component wraps the owner content and renders `children` at most once, omitting it to replace\n * that content; `none` when additive.\n */\n replaceRisk: string\n /** A minimal browser half that registers into this slot. */\n example: string\n /** Source pointer of the contract declaration. */\n source: string\n}\n\n/** Rules that apply to every browser-half contribution, in reading order. */\nexport const CLIENT_NOTES: readonly string[] = [\n 'Contribute UI only through `ctx.slots.register(options, Component)`; declare `inject: [\\'slots\\']` in your returned plugin (object form) or the seat is withheld.',\n 'Wrap every registration in `ctx.slots.inject(key, () => ctx.slots.register(...))`. A slot exists only while the entry that declared it is mounted, and registering into an undeclared slot throws; `inject` runs your registration when the declaration is (or becomes) live and re-runs it if the owner remounts.',\n 'Do NOT pass `priority`: the browser-half facade assigns one automatically, and it is LOWER than every shipped entry — in a single or keyed cell that means your entry is the one that renders.',\n 'You cannot `import` anything, so the design-system components are out of reach: build markup with `React.createElement` and ship CSS through `styles.insert(css)`. Use the theme CSS variables (`var(--dsw-alias-bg-layer-1)`, `var(--dsw-alias-label-primary)`, …) instead of literal colors, or your contribution breaks in the other color scheme.',\n 'Every component receives the framework hook seats listed under `framework props` for its scope; a selector hook is called with a selector, e.g. `useSessions(state => state.current)`.',\n 'This catalog is the COMPILE-TIME contract of the shipped web bundle, not a snapshot of one page: a key is registrable only where the owner that declares it is mounted. A failed registration surfaces in the browser-half load report — read it back with `cordis_inspect what:\"temporary\"`.',\n]\n\n/** Every slot the shipped web bundle declares, sorted by key. */\n// Seats of one cardinality repeat their register options and framework props\n// verbatim; that sameness IS the contract a registrant reads, so clone\n// detection is told to skip the data rather than the file.\nexport const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [\n {\n key: 'contextMenu.content',\n kind: 'keyed',\n scope: 'root',\n summary: 'Optional React rows for existing extension positions; data contributions need no renderer.',\n doc: 'Optional React rows for existing extension positions; data contributions need no renderer.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Captured target; changing selection never changes an open menu\\'s target. */\\nexport type ContextMenuTarget = {\\n [K in keyof ContextMenuTargetMap]: { readonly kind: K; readonly value: ContextMenuTargetMap[K] }\\n}[keyof ContextMenuTargetMap]',\n ],\n ownerPropsReferences: [\n 'ContextMenuTargetMap',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: session, tab',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'shell.overlay\\' (client-ui-context-menu), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-sidebar-right TabMenuContent key \\'tab\\'',\n 'client-ui-workspace SessionMenu key \\'session\\'',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'contextMenu.content\\', () => ctx.slots.register(\\n { name: \\'contextMenu.content\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-context-menu/src/client/index.ts:42',\n },\n {\n key: 'contextMenu.icon',\n kind: 'keyed',\n scope: 'root',\n summary: 'Business-owned glyph or image selected by the action\\'s icon key.',\n doc: 'Business-owned glyph or image selected by the action\\'s icon key.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Keyed icon renderer and optional image URL captured with the action. */\\nexport interface ContextMenuIcon {\\n readonly key: string\\n readonly src?: string\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: open-in-app.application, sidebar.close',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'shell.overlay\\' (client-ui-context-menu), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-file-actions Icon',\n 'client-ui-open-in-app Icon',\n 'client-ui-open-in-app ContextMenuApplicationIcon key \\'open-in-app.application\\'',\n 'client-ui-sidebar-right IconCloseOutlineRegular key \\'sidebar.close\\'',\n 'client-ui-workspace Icon',\n 'session-log-export Icon',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'contextMenu.icon\\', () => ctx.slots.register(\\n { name: \\'contextMenu.icon\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-context-menu/src/client/index.ts:40',\n },\n {\n key: 'conversation.approval.detail',\n kind: 'single',\n scope: 'session',\n summary: 'Optional detail for the Tool call correlated with an approval request.',\n doc: 'Optional detail for the Tool call correlated with an approval request.',\n registerOptions: [],\n ownerProps: [\n '/** Stable identity handed to an optional approval-detail renderer. */\\nexport interface ApprovalDetailOwnerProps {\\n /** Tool call correlated with the request. */\\n callId: ToolCallId\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.approval.card\\' (client-ui-approval), so it exists while that definition is registered',\n occupants: [\n 'client-ui-chat ApprovalCommand',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.approval.detail\\', () => ctx.slots.register(\\n { name: \\'conversation.approval.detail\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-approval/src/client/contract/slots.ts:47',\n },\n {\n key: 'conversation.chat.assistant-actions',\n kind: 'list',\n scope: 'session',\n summary: 'Ordered actions for one finalized assistant message.',\n doc: 'Ordered actions for one finalized assistant message. Each entry receives\\nthe durable message id; a fresh `id` adds an action and reusing one replaces\\nthat entry. With no entries, the standard action row remains unchanged.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner currency of finalized-assistant actions. */\\nexport interface AssistantActionOwnerProps {\\n messageId: MessageId\\n}',\n ],\n ownerPropsReferences: [\n 'MessageId',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.chat.node\\' (client-ui-chat), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-message-feedback MessageFeedbackActions id \\'feedback\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.chat.assistant-actions\\', () => ctx.slots.register(\\n { name: \\'conversation.chat.assistant-actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:498',\n },\n {\n key: 'conversation.chat.commandview',\n kind: 'keyed',\n scope: 'session',\n summary: 'Command row keyed by the command name.',\n doc: 'Command row keyed by the command name. The component receives the folded\\ncommand lifecycle and linked compaction when present. Reusing a key\\nreplaces that command renderer; an unoccupied key uses the generic card.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Command-row owner share. */\\nexport interface CommandRowOwnerProps {\\n node: CommandNode\\n compaction?: CompactionSummaryNode\\n}',\n ],\n ownerPropsReferences: [\n 'Command',\n 'CommandNode',\n 'CompactionSummaryNode',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: team',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.chat.node\\' (client-ui-chat), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-agent-team TeamCommandRow key \\'team\\'',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.chat.commandview\\', () => ctx.slots.register(\\n { name: \\'conversation.chat.commandview\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:480',\n },\n {\n key: 'conversation.chat.flow',\n kind: 'single',\n scope: 'session',\n summary: 'Ordered Chat rows and local echoes with viewport-bound visibility hooks.',\n doc: 'Ordered Chat rows and local echoes with viewport-bound visibility hooks.',\n registerOptions: [],\n ownerProps: [\n '/** Ordered rows and reconciled local echoes rendered inside one Chat viewport. */\\nexport interface ChatFlowOwnerProps extends Pick<ChatNodeOwnerProps,\\n \\'cwd\\' | \\'openFile\\' | \\'inspectCall\\' | \\'forkAt\\' | \\'loadImage\\'> {\\n readonly entries: readonly RenderEntry[]\\n readonly pendingInputs: readonly (PendingSubmission | InboxState[\\'next-step\\'][number])[]\\n readonly lastInputTurn: number | undefined\\n readonly deferCollapse: boolean\\n}',\n ],\n ownerPropsReferences: [\n 'ChatNodeOwnerProps',\n 'PendingSubmission',\n 'RenderEntry',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: 'ChatFlowHookContext',\n slotInject: 'ChatFlowInjected',\n declaredBy: 'an entry in \\'conversation.view\\' (client-ui-chat), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-chat ChatFlow',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.chat.flow\\', () => ctx.slots.register(\\n { name: \\'conversation.chat.flow\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:436',\n },\n {\n key: 'conversation.chat.markdown.fence',\n kind: 'hoc',\n scope: 'session',\n summary: 'Language-keyed layers around one Markdown fence in the Chat flow; the content is the plain code block.',\n doc: 'Language-keyed layers around one Markdown fence in the Chat flow; the content is the plain code block.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your layer key. A fresh id adds a layer; reusing a shipped id replaces that layer. Your component may omit `children`, which replaces everything inside the layer.',\n },\n {\n name: 'key',\n requirement: 'optional',\n type: 'string',\n doc: 'Dispatch key this layer serves; omitted, it serves every dispatch. Within one id, an exact-key layer replaces the wildcard layer for that key.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Nesting position, ascending (default 0); the lowest order is the outermost layer. Render the `children` prop at most once.',\n },\n ],\n ownerProps: [\n '/** One Markdown code fence whose language is final, as {@link MarkdownDelegate.renderCode} receives it. */\\nexport interface MarkdownDelegateFenceInfo {\\n /**\\n * The info string\\'s language word, cut at its first character outside\\n * letters, digits, `_`, and `-`, then lowercased (`c++` yields `c`).\\n */\\n readonly lang: string\\n /** The fence body without its closing newline. */\\n readonly code: string\\n /** The surrounding document is still streaming, so `code` may still change. */\\n readonly streaming: boolean\\n /** The info string after the language word, as the author wrote it; absent when the fence names only a language. */\\n readonly meta?: string | undefined\\n}',\n ],\n ownerPropsReferences: [\n 'MarkdownDelegate',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'open: any entryKey the owner dispatches; a layer without key serves every dispatch, already taken: diff, math, patch',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.view\\' (client-ui-chat), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-chat MathFenceLayer id \\'@deepseek-ai/dsh-client-ui-chat/fence/math\\' key \\'math\\'',\n 'client-ui-chat DiffFenceLayer id \\'@deepseek-ai/dsh-client-ui-chat/fence/diff\\' key \\'diff\\'',\n 'client-ui-chat DiffFenceLayer id \\'@deepseek-ai/dsh-client-ui-chat/fence/diff\\' key \\'patch\\'',\n ],\n replaceRisk: 'wraps-owner-content',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.chat.markdown.fence\\', () => ctx.slots.register(\\n { name: \\'conversation.chat.markdown.fence\\', id: \\'my-layer\\', order: 100 },\\n ({ children }) => React.createElement(\\'div\\', null, children),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:433',\n },\n {\n key: 'conversation.chat.message.images',\n kind: 'single',\n scope: 'session',\n summary: 'Renderer for one consecutive group of durable message images.',\n doc: 'Renderer for one consecutive group of durable message images. The owner\\nsupplies image references, an authorized loader, and alignment. A\\nregistration replaces the shipped gallery; without one, images are omitted.',\n registerOptions: [],\n ownerProps: [\n '/** Message image group handed to the optional attachment presentation plugin. */\\nexport interface MessageImagesOwnerProps {\\n /** Durable references or submission-echo previews in source order. */\\n images: readonly MessageImageSource[]\\n /** Gateway-authorized image URL loader for the durable arm. */\\n loadImage: MessageImageLoader\\n /** Horizontal placement inside the owning record. */\\n align: \\'start\\' | \\'end\\'\\n /** Force every image into the compact message-attachment tile size. */\\n compact?: boolean\\n /** Fixed, uncropped thumbnail for an attachment list row. */\\n thumbnail?: boolean\\n}',\n ],\n ownerPropsReferences: [\n 'Message',\n 'MessageImageLoader',\n 'MessageImageSource',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.chat.node\\' (client-ui-chat), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-attachment MessageImages',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.chat.message.images\\', () => ctx.slots.register(\\n { name: \\'conversation.chat.message.images\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:472',\n },\n {\n key: 'conversation.chat.node',\n kind: 'keyed',\n scope: 'session',\n summary: 'Final Chat node renderer, keyed by `ChatNodeKind`.',\n doc: 'Final Chat node renderer, keyed by `ChatNodeKind`. The component receives\\nthe typed node, shared Chat actions, and Turn-data hook. Reusing a key\\nreplaces that node renderer; a kind with no occupant renders no row.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Stable owner currency delivered to a keyed Chat renderer. */\\nexport interface ChatNodeOwnerProps {\\n /** Renderer-owned Node portion selected by the grouping Definition. */\\n groupPart?: string\\n cwd?: string | undefined\\n openFile: (path: string, options?: OpenFileOptions) => void\\n inspectCall: ((callId: ToolCallId) => void) | undefined\\n forkAt: (seq: number) => void\\n /** Session-authorized image loader supplied by the Chat view. */\\n loadImage: MessageImageLoader\\n /** Turn-process state when this Node belongs to a projected Turn. */\\n turnProcess?: TurnProcessOwnerProps | undefined\\n}',\n ],\n ownerPropsReferences: [\n 'MessageImageLoader',\n 'OpenFileOptions',\n 'TurnProcessOwnerProps',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'fixed by the owner\\'s key table { [Kind in ChatNodeKind]: { node: ChatNode<Kind> } }, already taken: assistant-step, command, command-input, compaction, context, manual-compaction, model-retry, question-reply, steering, system-prompt, tool-call, turn-error, turn-max-tokens, turn-process, turn-tail, turn-trigger, unknown, user, workflow-run',\n hookContext: 'ChatNodeHookContext',\n slotInject: 'ChatNodeInjected',\n declaredBy: 'an entry in \\'conversation.chat.flow\\' (client-ui-chat), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-chat UserMessageNodeView key \\'user\\'',\n 'client-ui-chat UserMessageNodeView key \\'steering\\'',\n 'client-ui-chat ContextMessageNodeView key \\'context\\'',\n 'client-ui-chat TurnTriggerNodeView key \\'turn-trigger\\'',\n 'client-ui-chat SystemPromptNodeView key \\'system-prompt\\'',\n 'client-ui-chat AssistantNodeView key \\'assistant-step\\'',\n 'client-ui-chat CommandNodeView key \\'command\\'',\n 'client-ui-chat ManualCompactionNodeView key \\'manual-compaction\\'',\n 'client-ui-chat CompactionNodeView key \\'compaction\\'',\n 'client-ui-chat RetryNodeView key \\'model-retry\\'',\n 'client-ui-chat TurnErrorNodeView key \\'turn-error\\'',\n 'client-ui-chat TurnMaxTokensNodeView key \\'turn-max-tokens\\'',\n 'client-ui-chat TurnProcessNodeView key \\'turn-process\\'',\n 'client-ui-chat TurnTailNodeView key \\'turn-tail\\'',\n 'client-ui-chat UnknownNodeView key \\'unknown\\'',\n 'client-ui-goal GoalCommandInputView key \\'command-input\\'',\n 'client-ui-tool ToolCallTree key \\'tool-call\\'',\n 'client-ui-user-questions QuestionReplyView key \\'question-reply\\'',\n 'client-ui-workflow-run WorkflowRunPanel key \\'workflow-run\\'',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.chat.node\\', () => ctx.slots.register(\\n { name: \\'conversation.chat.node\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:448',\n },\n {\n key: 'conversation.chat.reasoning.body',\n kind: 'single',\n scope: 'session',\n summary: 'Expanded reasoning body with raw and display-ready text.',\n doc: 'Expanded reasoning body with raw and display-ready text. The official entry\\nhas priority 100 and calls the reasoning Content Factory; smaller priority\\nvalues replace it. Contributions must preserve access to untranslated display text.',\n registerOptions: [],\n ownerProps: [\n '/** Original and display-ready reasoning offered to the expanded Body Slot. */\\nexport interface ReasoningBodyOwnerProps {\\n /** Complete or streaming model output. */\\n readonly rawText: string\\n /** Reasoning text prepared for display. */\\n readonly text: string\\n /** Whether the reasoning tail is still streaming. */\\n readonly running: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.chat.node\\' (client-ui-chat), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-chat DefaultReasoningBody',\n 'experimental-client-ui-cot-translation TranslationBody',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.chat.reasoning.body\\', () => ctx.slots.register(\\n { name: \\'conversation.chat.reasoning.body\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:486',\n },\n {\n key: 'conversation.chat.text-interaction',\n kind: 'keyed',\n scope: 'session',\n summary: 'Area-local text gestures and surfaces; each consumer registers its own synchronous admission.',\n doc: 'Area-local text gestures and surfaces; each consumer registers its own synchronous admission.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Area-local actions provided to the currently selected plugin component. */\\nexport interface TextInteractionSurface {\\n readonly trigger: TextInteractionTrigger\\n readonly dismiss: () => void\\n readonly readText: () => string | null\\n readonly clearSelection: () => void\\n}',\n ],\n ownerPropsReferences: [\n 'TextInteractionTrigger',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: quote',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.view\\' (client-ui-chat), so it exists while that entry is mounted',\n occupants: [\n 'message-quotes QuoteSelectionAction key \\'quote\\'',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.chat.text-interaction\\', () => ctx.slots.register(\\n { name: \\'conversation.chat.text-interaction\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:431',\n },\n {\n key: 'conversation.chat.turnTail',\n kind: 'list',\n scope: 'session',\n summary: 'Ordered feature contributions before a completed Turn\\'s action row.',\n doc: 'Ordered feature contributions before a completed Turn\\'s action row. Each\\nentry receives the Turn, closing sequence, and file opener. A fresh `id`\\nadds an entry; entries without content return null.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner currency of the completed-Turn extension chain. */\\nexport interface TurnTailOwnerProps {\\n turn: TurnLocation\\n seq: number\\n openFile: (path: string) => void\\n}',\n ],\n ownerPropsReferences: [\n 'TurnLocation',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.chat.node\\' (client-ui-chat), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-deliverables DeliverablesTail id \\'@deepseek-ai/dsh-client-ui-deliverables\\'',\n 'client-ui-plan PlanCards',\n 'client-ui-schedule ScheduleTurnCard id \\'schedule-created\\'',\n 'client-ui-action-cards ActionCardTail id \\'@deepseek-ai/dsh-client-ui-action-cards\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.chat.turnTail\\', () => ctx.slots.register(\\n { name: \\'conversation.chat.turnTail\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:492',\n },\n {\n key: 'conversation.chat.user.before',\n kind: 'chain',\n scope: 'session',\n summary: 'Message-source decoration owned and rendered by the user Node entry.',\n doc: 'Message-source decoration owned and rendered by the user Node entry.\\nSelectors elect one component from the durable source and row kind.\\nNo match renders no visible content; steering and pending rows do not\\nrender this slot.',\n registerOptions: [\n {\n name: 'select',\n requirement: 'required',\n type: '(owner) => unknown | null',\n doc: 'Pure routing selector. Entries are tried in ascending order; the first non-null result wins and arrives as the component\\'s `matched` prop. All-null falls through to the owner\\'s fallback.',\n },\n ],\n ownerProps: [\n '/**\\n * Owner currency of the message-source decoration above one user message bubble.\\n *\\n * Entry selectors receive the durable message `source` and row kind. A\\n * non-null selection elects the component and reaches it as `matched`.\\n * Entries own their markup and copy; Chat does not interpret the source.\\n */\\nexport interface UserBeforeOwnerProps {\\n /** Durable message source; Chat does not interpret it. */\\n readonly source: unknown\\n /** Chat row kind that owns the decoration site. */\\n readonly kind: \\'user\\' | \\'steering\\'\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.chat.node\\' (client-ui-chat), so it exists while that entry is mounted',\n occupants: [\n 'experimental-liveshare SharedSessionOrigin',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.chat.user.before\\', () => ctx.slots.register(\\n { name: \\'conversation.chat.user.before\\', select: owner => null },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:462',\n },\n {\n key: 'conversation.chat.user.images',\n kind: 'single',\n scope: 'session',\n summary: 'User-message images, including pending and local-echo previews, independently replaceable from output images.',\n doc: 'User-message images, including pending and local-echo previews, independently replaceable from output images.',\n registerOptions: [],\n ownerProps: [\n '/** Message image group handed to the optional attachment presentation plugin. */\\nexport interface MessageImagesOwnerProps {\\n /** Durable references or submission-echo previews in source order. */\\n images: readonly MessageImageSource[]\\n /** Gateway-authorized image URL loader for the durable arm. */\\n loadImage: MessageImageLoader\\n /** Horizontal placement inside the owning record. */\\n align: \\'start\\' | \\'end\\'\\n /** Force every image into the compact message-attachment tile size. */\\n compact?: boolean\\n /** Fixed, uncropped thumbnail for an attachment list row. */\\n thumbnail?: boolean\\n}',\n ],\n ownerPropsReferences: [\n 'Message',\n 'MessageImageLoader',\n 'MessageImageSource',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.chat.user.content\\' (client-ui-chat), so it exists while that definition is registered',\n occupants: [\n 'client-ui-attachment MessageImages',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.chat.user.images\\', () => ctx.slots.register(\\n { name: \\'conversation.chat.user.images\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:474',\n },\n {\n key: 'conversation.composer',\n kind: 'chain',\n scope: 'session',\n summary: 'Selector-routed replacements for the current Session\\'s resident composer; fixed overlays must portal to the document body because the docked composer contains them.',\n doc: 'Selector-routed replacements for the current Session\\'s resident composer; fixed overlays must\\nportal to the document body because the docked composer contains them.',\n registerOptions: [\n {\n name: 'select',\n requirement: 'required',\n type: '(owner) => unknown | null',\n doc: 'Pure routing selector. Entries are tried in ascending order; the first non-null result wins and arrives as the component\\'s `matched` prop. All-null falls through to the owner\\'s fallback.',\n },\n ],\n ownerProps: [\n '/** Owner values used to elect a composer takeover. */\\nexport interface ComposerChainProps {\\n /** Current Session identity used by temporary business-owned entries. */\\n sessionId: SessionId | undefined\\n /** Current Session lifecycle state, absent without a selected Session. */\\n session: SessionSnapshot | undefined\\n /** Effective business-owned interaction awaiting the user in this Session. */\\n pendingInteraction: SessionPendingInteraction | undefined\\n}',\n ],\n ownerPropsReferences: [\n 'SessionId',\n 'SessionPendingInteraction',\n 'SessionSnapshot',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.content\\' (client-ui-conversation), so it exists while that definition is registered',\n occupants: [\n 'client-ui-approval ApprovalPanel',\n 'client-ui-subagent SubagentReadOnlyComposer',\n 'client-ui-user-questions QuestionComposer',\n 'cua ApplicationApproval',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.composer\\', () => ctx.slots.register(\\n { name: \\'conversation.composer\\', select: owner => null },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:290',\n },\n {\n key: 'conversation.composer.bar',\n kind: 'single',\n scope: 'session-maybe',\n summary: 'Resident composer body, including the no-Session inert state; fixed overlays must portal to the document body because the docked composer contains them.',\n doc: 'Resident composer body, including the no-Session inert state; fixed overlays must portal to\\nthe document body because the docked composer contains them.',\n registerOptions: [],\n ownerProps: [\n '/** Owner share of the resident composer bar. */\\nexport interface ComposerBarOwnerProps {\\n /** Hero uses centered placement; composer uses the active bottom placement. */\\n variant: \\'hero\\' | \\'composer\\'\\n /** Conversation content occurrence rendering this composer; an unaddressed document paste reaches the main one. */\\n occurrence: ConversationContentInputProps[\\'variant\\']\\n /** A feature-owned reason that makes message input inert while leaving model selection live. */\\n blocked?: { readonly reason: string }\\n /** Lock all message actions while preserving the resident composer surface. */\\n disabled?: boolean\\n /** Whether the shared Workspace picker is expanded. */\\n workspacePickerOpen?: boolean\\n /** Open the Workspace picker from the inert composer surface. */\\n onRequestWorkspace?: () => void\\n placeholder?: string\\n /** Optional content rendered above the composer surface. */\\n accessory?: ReactNode\\n}',\n ],\n ownerPropsReferences: [\n 'ConversationContentInputProps',\n 'Workspace',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>',\n 'useInput: MaybeSnapshotSelectorHook<InputState>',\n 'inputActions: InputActions | undefined',\n 'useSession: MaybeSnapshotSelectorHook<SessionSnapshot>',\n 'sessionId: SessionId | undefined',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean | undefined',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.content\\' (client-ui-conversation), so it exists while that definition is registered',\n occupants: [\n 'client-ui-conversation InputBar',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.composer.bar\\', () => ctx.slots.register(\\n { name: \\'conversation.composer.bar\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:336',\n },\n {\n key: 'conversation.composer.dock',\n kind: 'list',\n scope: 'session',\n summary: 'Ambient entries below the composer card; fixed overlays must portal to the document body because the docked composer contains them.',\n doc: 'Ambient entries below the composer card; fixed overlays must portal to the document body\\nbecause the docked composer contains them.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.composer.bar\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-chat ActivityPill id \\'activity\\'',\n 'client-ui-chat UsagePill id \\'usage\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.composer.dock\\', () => ctx.slots.register(\\n { name: \\'conversation.composer.dock\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:315',\n },\n {\n key: 'conversation.header',\n kind: 'single',\n scope: 'session-maybe',\n summary: 'Resident navigation container, including when no Session is selected.',\n doc: 'Resident navigation container, including when no Session is selected.',\n registerOptions: [],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>',\n 'useInput: MaybeSnapshotSelectorHook<InputState>',\n 'inputActions: InputActions | undefined',\n 'useSession: MaybeSnapshotSelectorHook<SessionSnapshot>',\n 'sessionId: SessionId | undefined',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean | undefined',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'main.conversation\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-conversation ConversationHeader',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.header\\', () => ctx.slots.register(\\n { name: \\'conversation.header\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:237',\n },\n {\n key: 'conversation.header.leading',\n kind: 'single',\n scope: 'root',\n summary: 'Global navigation before the Session title, available without a Session.',\n doc: 'Global navigation before the Session title, available without a Session.',\n registerOptions: [],\n ownerProps: [\n '/** The leading seat exposes global navigation independently of a Session. */\\nexport interface ConversationHeaderLeadingOwnerProps {\\n /** Marker field: the occupant receives no owner-specific values. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.header\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.header.leading\\', () => ctx.slots.register(\\n { name: \\'conversation.header.leading\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:266',\n },\n {\n key: 'conversation.hero.agentPreset',\n kind: 'single',\n scope: 'session-maybe',\n summary: 'Agent-preset control staged for a New Session.',\n doc: 'Agent-preset control staged for a New Session.',\n registerOptions: [],\n ownerProps: [\n '/** Owner share of the Hero agent-preset control. */\\nexport interface HeroAgentPresetOwnerProps {\\n /** Marker field: the occupant owns its roster and staged selection. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>',\n 'useInput: MaybeSnapshotSelectorHook<InputState>',\n 'inputActions: InputActions | undefined',\n 'useSession: MaybeSnapshotSelectorHook<SessionSnapshot>',\n 'sessionId: SessionId | undefined',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean | undefined',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.content\\' (client-ui-conversation), so it exists while that definition is registered',\n occupants: [\n 'client-ui-agent-preset AgentPresetSeat',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.hero.agentPreset\\', () => ctx.slots.register(\\n { name: \\'conversation.hero.agentPreset\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:298',\n },\n {\n key: 'conversation.hero.brand.mark',\n kind: 'single',\n scope: 'root',\n summary: 'Brand mark shown before the blank-session headline.',\n doc: 'Brand mark shown before the blank-session headline.',\n registerOptions: [],\n ownerProps: [\n '/** Brand-mark presentation selected by the blank home. */\\nexport interface HeroBrandMarkOwnerProps {\\n /** Requested square edge in pixels. */\\n size: number\\n /** Host class preserving the surrounding mark geometry. */\\n className?: string | undefined\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.content\\' (client-ui-conversation), so it exists while that definition is registered',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.hero.brand.mark\\', () => ctx.slots.register(\\n { name: \\'conversation.hero.brand.mark\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:296',\n },\n {\n key: 'conversation.hero.frame',\n kind: 'hoc',\n scope: 'root',\n summary: 'Layers wrapping the Conversation scroll body; `hero` reports a blank, standalone home.',\n doc: 'Layers wrapping the Conversation scroll body; `hero` reports a blank, standalone home.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your layer key. A fresh id adds a layer; reusing a shipped id replaces that layer. Your component may omit `children`, which replaces everything inside the layer.',\n },\n {\n name: 'key',\n requirement: 'optional',\n type: 'string',\n doc: 'Dispatch key this layer serves; omitted, it serves every dispatch. Within one id, an exact-key layer replaces the wildcard layer for that key.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Nesting position, ascending (default 0); the lowest order is the outermost layer. Render the `children` prop at most once.',\n },\n ],\n ownerProps: [\n '/** Conversation state exposed to scroll-body frame layers. */\\nexport interface HeroFrameOwnerProps {\\n /** Whether the body shows the blank home of a standalone, non-embedded Conversation. */\\n hero: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.content\\' (client-ui-conversation), so it exists while that definition is registered',\n occupants: [\n 'client-ui-brand-official PixelWhale id \\'pixel-whale\\'',\n ],\n replaceRisk: 'wraps-owner-content',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.hero.frame\\', () => ctx.slots.register(\\n { name: \\'conversation.hero.frame\\', id: \\'my-layer\\', order: 100 },\\n ({ children }) => React.createElement(\\'div\\', null, children),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:294',\n },\n {\n key: 'conversation.hero.options',\n kind: 'list',\n scope: 'session',\n summary: 'Compact options right-aligned in the New Session row after the workspace and preset controls; rendered only with a Session.',\n doc: 'Compact options right-aligned in the New Session row after the workspace and preset controls; rendered only with a Session.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.content\\' (client-ui-conversation), so it exists while that definition is registered',\n occupants: [\n 'experimental-client-ui-forge WorktreeToggle id \\'forge-panel.worktree\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.hero.options\\', () => ctx.slots.register(\\n { name: \\'conversation.hero.options\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:300',\n },\n {\n key: 'conversation.hero.workspace',\n kind: 'single',\n scope: 'root',\n summary: 'Workspace picker shown by the blank-session Hero.',\n doc: 'Workspace picker shown by the blank-session Hero.',\n registerOptions: [],\n ownerProps: [\n '/** Owner share common to blank-session Workspace pickers. */\\nexport interface EmptyWorkspaceOwnerProps {\\n open: boolean\\n anchorRef?: RefObject<HTMLElement>\\n /** Currently selected Workspace, when available. */\\n selectedId?: WorkspaceId | undefined\\n onPick: (workspaceId: WorkspaceId) => void\\n onClose: () => void\\n}',\n ],\n ownerPropsReferences: [\n 'Workspace',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.content\\' (client-ui-conversation), so it exists while that definition is registered',\n occupants: [\n 'client-ui-workspace WorkspacePicker',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.hero.workspace\\', () => ctx.slots.register(\\n { name: \\'conversation.hero.workspace\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:292',\n },\n {\n key: 'conversation.hero.workspace.directoryFlow',\n kind: 'single',\n scope: 'root',\n summary: 'Directory-flow hole under the conversation empty-state picker (declared by the WorkspacePicker entry).',\n doc: 'Directory-flow hole under the conversation empty-state picker (declared by the WorkspacePicker entry).',\n registerOptions: [],\n ownerProps: [\n '/**\\n * Owner share of the directory-flow holes: the complete conversation between\\n * the trigger surface and the picking interaction. The occupant reads `open`\\n * to run/render its interaction and reports exactly one outcome per open.\\n */\\nexport interface DirectoryFlowOwnerProps {\\n /** True while a picking interaction is requested; flipping back to false withdraws the request. */\\n open: boolean\\n /** True while the owner adopts a picked path (`createWorkspace` in flight); occupants disable their commit affordances. */\\n busy: boolean\\n /** The operator picked a directory (absolute host path); the owner adopts it. */\\n onPicked: (path: string) => void\\n /** The operator dismissed the interaction; the owner just closes the flow. */\\n onCancel: () => void\\n /** The interaction itself failed (chooser missing, listing denied); the owner shows its error surface. */\\n onError: (message: string) => void\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.hero.workspace\\' (client-ui-workspace), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-directory-picker-browse BrowseDirectoryFlow',\n 'client-ui-directory-picker-native NativeDirectoryFlow',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.hero.workspace.directoryFlow\\', () => ctx.slots.register(\\n { name: \\'conversation.hero.workspace.directoryFlow\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-workspace/src/client/contract/slots.ts:137',\n },\n {\n key: 'conversation.input.activity',\n kind: 'single',\n scope: 'session',\n summary: 'Compact action after the model selector; it can expand across the toolbar while retaining the editor and submit action, and fixed overlays must portal to the document body because the docked composer contains them.',\n doc: 'Compact action after the model selector; it can expand across the toolbar while retaining the\\neditor and submit action, and fixed overlays must portal to the document body because the\\ndocked composer contains them.',\n registerOptions: [],\n ownerProps: [\n '/** A toolbar activity hides ordinary accessory controls while expanded; its occupant must release expansion on unmount. */\\nexport interface InputActivityOwnerProps extends InputControlOwnerProps {\\n /** @param active - whether the occupant needs the toolbar width before the submit action. */\\n onActiveChange: (active: boolean) => void\\n}',\n ],\n ownerPropsReferences: [\n 'InputControlOwnerProps',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.composer.bar\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'experimental-client-ui-voice-input VoiceInput',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.input.activity\\', () => ctx.slots.register(\\n { name: \\'conversation.input.activity\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:331',\n },\n {\n key: 'conversation.input.attachments',\n kind: 'single',\n scope: 'session-maybe',\n summary: 'Optional draft-attachment rail and drop target; fixed overlays must portal to the document body because the docked composer contains them.',\n doc: 'Optional draft-attachment rail and drop target; fixed overlays must portal to the document\\nbody because the docked composer contains them.',\n registerOptions: [],\n ownerProps: [\n '/** Input state handed to the optional attachment presentation plugin. */\\nexport interface ComposerAttachmentsOwnerProps {\\n /** Browser-owned draft attachments in input order. */\\n attachments: readonly ComposerAttachment[]\\n /** Whether a document-level file drop may add attachments now. */\\n canAcceptDrop: boolean\\n /**\\n * Add one dropped batch through the composer\\'s validation path.\\n * @param files - dropped, pasted, or picked browser files in source order.\\n * @param directories - members of `files` the drop source identified as directories.\\n */\\n onAddFiles: (files: readonly File[], directories?: ReadonlySet<File>) => void\\n /** Remove one draft attachment through the Conversation service. */\\n onRemoveAttachment: (id: DraftAttachmentId) => void\\n /** Current per-draft upload states for file-kind attachments. */\\n uploads: DraftFileUploads\\n /** Restart one failed file upload. */\\n onRetryFile: (id: DraftAttachmentId) => void\\n /**\\n * Explain one upload the Host refused; such a draft cannot be retried and\\n * stays until it is removed.\\n * @param reason - the refusal `reason` the failed upload carries.\\n * @returns localized text naming the limit or the way out.\\n /* …truncated — full shape in source */',\n ],\n ownerPropsReferences: [\n 'ComposerAttachment',\n 'DraftAttachmentId',\n 'DraftFileUploads',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>',\n 'useInput: MaybeSnapshotSelectorHook<InputState>',\n 'inputActions: InputActions | undefined',\n 'useSession: MaybeSnapshotSelectorHook<SessionSnapshot>',\n 'sessionId: SessionId | undefined',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean | undefined',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.composer.bar\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-attachment ComposerAttachments',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.input.attachments\\', () => ctx.slots.register(\\n { name: \\'conversation.input.attachments\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:341',\n },\n {\n key: 'conversation.input.dock',\n kind: 'list',\n scope: 'session',\n summary: 'Full-width entries above the composer card; fixed overlays must portal to the document body because the docked composer contains them.',\n doc: 'Full-width entries above the composer card; fixed overlays must portal to the document body\\nbecause the docked composer contains them.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Point-in-time owner values for composer extension entries. */\\nexport interface InputZone {\\n readonly session: SessionSnapshot\\n readonly input: InputState\\n}',\n ],\n ownerPropsReferences: [\n 'InputState',\n 'SessionSnapshot',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.content\\' (client-ui-conversation), so it exists while that definition is registered',\n occupants: [\n 'client-ui-conversation QueueDock id \\'queue\\'',\n 'client-ui-conversation TodoDock id \\'todo\\'',\n 'client-ui-goal GoalDock id \\'goal\\'',\n 'experimental-client-ui-claude-code-mods Band id \\'claude-code-mods\\'',\n 'experimental-client-ui-forge WorktreeProgress id \\'forge-panel.worktree\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.input.dock\\', () => ctx.slots.register(\\n { name: \\'conversation.input.dock\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:305',\n },\n {\n key: 'conversation.input.left',\n kind: 'list',\n scope: 'session',\n summary: 'Compact controls at the left of the composer tool row; fixed overlays must portal to the document body because the docked composer contains them.',\n doc: 'Compact controls at the left of the composer tool row; fixed overlays must portal to the\\ndocument body because the docked composer contains them.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.composer.bar\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.input.left\\', () => ctx.slots.register(\\n { name: \\'conversation.input.left\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:320',\n },\n {\n key: 'conversation.input.model',\n kind: 'single',\n scope: 'session',\n summary: 'Model selector inside the composer tool row.',\n doc: 'Model selector inside the composer tool row. When expanded controls cannot\\nshare a line, the row sets --dsh-composer-model-text-display to none and\\n--dsh-composer-model-icon-display to block for an occupant\\'s compact display.\\nFixed overlays must portal to the document body because the docked composer contains them.',\n registerOptions: [],\n ownerProps: [\n '/** Owner share of the named plan, permission, and model controls. */\\nexport interface InputControlOwnerProps {\\n /** Whether the composer currently refuses interaction. */\\n locked: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.composer.bar\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-model-selection ModelSelect',\n 'experimental-liveshare ViewerModelSeat',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.input.model\\', () => ctx.slots.register(\\n { name: \\'conversation.input.model\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:362',\n },\n {\n key: 'conversation.input.model.label',\n kind: 'single',\n scope: 'session',\n summary: 'Non-interactive inline model label; selection controls remain owner-managed.',\n doc: 'Non-interactive inline model label; selection controls remain owner-managed.\\nWithout a contribution, the badge precedes the catalog name in the trigger\\nand follows it in menus.',\n registerOptions: [],\n ownerProps: [\n '/** Catalog data for a model name inside the composer\\'s existing controls. */\\nexport interface ModelLabelOwner {\\n /** Provider identity and localized display name; contains no connection configuration. */\\n provider: Pick<ModelProviderGroup, \\'id\\' | \\'name\\'>\\n /** The exact provider\\'s model catalog entry. */\\n model: ModelCatalogModel\\n /** Trigger caption, root-menu current value, or selectable model row. */\\n placement: \\'trigger\\' | \\'menu\\' | \\'option\\'\\n /** Whether this provider/model pair is the current selection. */\\n selected: boolean\\n}',\n ],\n ownerPropsReferences: [\n 'ModelCatalogModel',\n 'ModelProviderGroup',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.input.model\\' (client-ui-model-selection), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.input.model.label\\', () => ctx.slots.register(\\n { name: \\'conversation.input.model.label\\' },\\n ({ provider, model }) => React.createElement(\\'span\\', { title: provider.name }, model.name),\\n ))\\n },\\n}',\n source: 'packages/client/ui-model-selection/src/client/slots.ts:50',\n },\n {\n key: 'conversation.input.model.options',\n kind: 'list',\n scope: 'session',\n summary: 'Session options appended after model and reasoning controls in the root menu.',\n doc: 'Session options appended after model and reasoning controls in the root menu.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.input.model\\' (client-ui-model-selection), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-agent-team TeamModeToggle id \\'agent-team\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.input.model.options\\', () => ctx.slots.register(\\n { name: \\'conversation.input.model.options\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-model-selection/src/client/slots.ts:23',\n },\n {\n key: 'conversation.input.overlay',\n kind: 'list',\n scope: 'session',\n summary: 'Floating entries rendered inside the resident composer card; fixed overlays must portal to the document body because the docked composer contains them.',\n doc: 'Floating entries rendered inside the resident composer card; fixed overlays must portal to\\nthe document body because the docked composer contains them.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.composer.bar\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-commands PopupSelectView id \\'command-popup\\'',\n 'client-ui-input-trigger MenuView id \\'slash-menu\\'',\n 'client-ui-message-feedback FeedbackDialog id \\'feedback-dialog\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.input.overlay\\', () => ctx.slots.register(\\n { name: \\'conversation.input.overlay\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:310',\n },\n {\n key: 'conversation.input.permission',\n kind: 'single',\n scope: 'session',\n summary: 'Current-session permission control inside the composer tool row; fixed overlays must portal to the document body because the docked composer contains them.',\n doc: 'Current-session permission control inside the composer tool row; fixed overlays must portal\\nto the document body because the docked composer contains them.',\n registerOptions: [],\n ownerProps: [\n '/** Owner share of the named plan, permission, and model controls. */\\nexport interface InputControlOwnerProps {\\n /** Whether the composer currently refuses interaction. */\\n locked: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.composer.bar\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-permission-presets PermissionSelect',\n 'experimental-liveshare ViewerPermissionSeat',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.input.permission\\', () => ctx.slots.register(\\n { name: \\'conversation.input.permission\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:355',\n },\n {\n key: 'conversation.input.plan',\n kind: 'single',\n scope: 'session',\n summary: 'Plan control inside the composer tool row; fixed overlays must portal to the document body because the docked composer contains them.',\n doc: 'Plan control inside the composer tool row; fixed overlays must portal to the document body\\nbecause the docked composer contains them.',\n registerOptions: [],\n ownerProps: [\n '/** Owner share of the named plan, permission, and model controls. */\\nexport interface InputControlOwnerProps {\\n /** Whether the composer currently refuses interaction. */\\n locked: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.composer.bar\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-plan PlanChip',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.input.plan\\', () => ctx.slots.register(\\n { name: \\'conversation.input.plan\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:350',\n },\n {\n key: 'conversation.input.right',\n kind: 'list',\n scope: 'session',\n summary: 'Compact controls before the composer submit action; fixed overlays must portal to the document body because the docked composer contains them.',\n doc: 'Compact controls before the composer submit action; fixed overlays must portal to the\\ndocument body because the docked composer contains them.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.composer.bar\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.input.right\\', () => ctx.slots.register(\\n { name: \\'conversation.input.right\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:325',\n },\n {\n key: 'conversation.plan-review.actions',\n kind: 'list',\n scope: 'session',\n summary: 'Actions for the exact plan under review; approval remains with the question composer.',\n doc: 'Actions for the exact plan under review; approval remains with the question composer.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/**\\n * A request narrowed to the `plan-review` presentation intent: everything the\\n * decision card renders and answers with, so the panel never re-reads the\\n * request fields. `approve` and `decline` are the asker\\'s own options — an\\n * answer must carry one of those labels verbatim — and `plan` is the markdown\\n * body under review.\\n */\\nexport interface PlanReview {\\n /** The reviewed question\\'s id, echoed in the answer. */\\n id: string\\n /** The question text, kept as the card\\'s accessible name. */\\n question: string\\n /** The plan markdown under review. */\\n plan: string\\n /** Logged tool invocation used to reopen this plan. */\\n callId?: ToolCallId\\n /** The option that approves the plan. */\\n approve: QuestionOption\\n /** The option that declines it; absent when the asker offered no other option. */\\n decline?: QuestionOption\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.composer\\' (client-ui-user-questions), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-plan PlanReviewOpen',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.plan-review.actions\\', () => ctx.slots.register(\\n { name: \\'conversation.plan-review.actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-user-questions/src/client/contract/slots.ts:21',\n },\n {\n key: 'conversation.session',\n kind: 'single',\n scope: 'session',\n summary: 'Strict per-Session Conversation body.',\n doc: 'Strict per-Session Conversation body.',\n registerOptions: [],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.content\\' (client-ui-conversation), so it exists while that definition is registered',\n occupants: [\n 'client-ui-conversation ConversationSession',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.session\\', () => ctx.slots.register(\\n { name: \\'conversation.session\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:231',\n },\n {\n key: 'conversation.session.header',\n kind: 'single',\n scope: 'session',\n summary: 'Strict per-Session title, actions, and View navigation.',\n doc: 'Strict per-Session title, actions, and View navigation.',\n registerOptions: [],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.header\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-conversation ConversationSessionHeader',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.session.header\\', () => ctx.slots.register(\\n { name: \\'conversation.session.header\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:239',\n },\n {\n key: 'conversation.session.header.actions',\n kind: 'list',\n scope: 'session',\n summary: 'Title-adjacent Session actions in ascending order; overflow is clipped and faded before the utilities, so overlays must portal.',\n doc: 'Title-adjacent Session actions in ascending order; overflow is clipped and faded before the utilities, so overlays must portal.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Header actions derive their state from standard Session props. */\\nexport interface ConversationHeaderActionOwnerProps {\\n /** Marker field: entries receive no owner-specific values. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.session.header\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-agent-preset AgentPresetLabel id \\'agent-preset\\'',\n 'client-ui-jobs JobListAction id \\'job-list\\'',\n 'client-ui-sidebar-terminal AgentTerminalOpener id \\'agent-terminals\\'',\n 'client-ui-subagent SubagentCatalogAction id \\'subagent-catalog\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.session.header.actions\\', () => ctx.slots.register(\\n { name: \\'conversation.session.header.actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:254',\n },\n {\n key: 'conversation.session.header.actions.subagent.footer',\n kind: 'list',\n scope: 'session',\n summary: 'Content below the root Session\\'s subagent tree.',\n doc: 'Content below the root Session\\'s subagent tree.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.session.header.actions\\' (client-ui-subagent), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-agent-team TeamBoard id \\'agent-team\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.session.header.actions.subagent.footer\\', () => ctx.slots.register(\\n { name: \\'conversation.session.header.actions.subagent.footer\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-subagent/src/client/slots.ts:6',\n },\n {\n key: 'conversation.session.header.corner',\n kind: 'single',\n scope: 'session',\n summary: 'The header\\'s far-right corner, past the utilities\\' edge and into the header\\'s own padding, for one control.',\n doc: 'The header\\'s far-right corner, past the utilities\\' edge and into the\\nheader\\'s own padding, for one control. The corner is laid out only while\\nits occupant renders something; an occupant with nothing to show renders\\nnothing, and the utilities take the header\\'s edge.',\n registerOptions: [],\n ownerProps: [\n '/** The header corner\\'s occupant derives its state from standard Session props. */\\nexport interface ConversationHeaderCornerOwnerProps {\\n /** Marker field: the occupant receives no owner-specific values. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.session.header\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-sidebar-right ExpandButton',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.session.header.corner\\', () => ctx.slots.register(\\n { name: \\'conversation.session.header.corner\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:277',\n },\n {\n key: 'conversation.session.header.lineage',\n kind: 'single',\n scope: 'session',\n summary: 'Optional replacement for one Session breadcrumb title; overlays must portal because the title area clips overflow.',\n doc: 'Optional replacement for one Session breadcrumb title; overlays must portal because the title area clips overflow.',\n registerOptions: [],\n ownerProps: [\n '/** Plain breadcrumb data handed to the optional lineage renderer. */\\nexport interface ConversationHeaderLineageOwnerProps {\\n /** Session represented by this breadcrumb title. */\\n lineageSessionId: SessionId\\n /** Display title available to a combined title/control renderer. */\\n displayTitle: string\\n /** Navigate to an ancestor title when present. */\\n openTitle?: () => void\\n}',\n ],\n ownerPropsReferences: [\n 'SessionId',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.session.header\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-subagent SubagentHeaderLineage',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.session.header.lineage\\', () => ctx.slots.register(\\n { name: \\'conversation.session.header.lineage\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:248',\n },\n {\n key: 'conversation.session.header.utilities',\n kind: 'list',\n scope: 'session',\n summary: 'Right-aligned Session utilities in ascending order.',\n doc: 'Right-aligned Session utilities in ascending order.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Header actions derive their state from standard Session props. */\\nexport interface ConversationHeaderActionOwnerProps {\\n /** Marker field: entries receive no owner-specific values. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.session.header\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-schedule ScheduleCatalogAction id \\'schedule-catalog\\'',\n 'experimental-client-ui-forge HeaderButton id \\'forge-panel\\'',\n 'experimental-liveshare LiveshareShareAction id \\'liveshare-share\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.session.header.utilities\\', () => ctx.slots.register(\\n { name: \\'conversation.session.header.utilities\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:260',\n },\n {\n key: 'conversation.session.header.views.actions',\n kind: 'list',\n scope: 'root',\n summary: 'Rows of the View tab row\\'s More menu; the header shows More only while this list has registrations.',\n doc: 'Rows of the View tab row\\'s More menu; the header shows More only while this list has registrations.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of the View tab row\\'s More menu rows. */\\nexport interface ConversationViewActionsOwnerProps {\\n /** Views outside the header in registration order. */\\n readonly entries: readonly ConversationViewActionEntry[]\\n /**\\n * Select a View in this Session without changing its pin state.\\n * @param id - Listed View id.\\n */\\n readonly onOpen: (id: string) => void\\n /**\\n * Pin or unpin a View in every Session.\\n * @param id - Listed View id.\\n * @param pinned - Whether the View is manually pinned; the width budget can still fold it into More.\\n */\\n readonly onPinnedChange: (id: string, pinned: boolean) => void\\n /** Close the More menu. */\\n readonly onDismiss: () => void\\n}',\n ],\n ownerPropsReferences: [\n 'ConversationViewActionEntry',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.session.header\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-entry-customization EntryMenuContent id \\'entry-customization\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.session.header.views.actions\\', () => ctx.slots.register(\\n { name: \\'conversation.session.header.views.actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:283',\n },\n {\n key: 'conversation.trajectory.images',\n kind: 'single',\n scope: 'session',\n summary: 'Renderer for one group of durable record images in the Trajectory ledger.',\n doc: 'Renderer for one group of durable record images in the Trajectory\\nledger. The owner supplies image references, an authorized loader, and\\nalignment. A registration replaces the shipped gallery; without one,\\nimages are omitted.',\n registerOptions: [],\n ownerProps: [\n '/** Message image group handed to the optional attachment presentation plugin. */\\nexport interface MessageImagesOwnerProps {\\n /** Durable references or submission-echo previews in source order. */\\n images: readonly MessageImageSource[]\\n /** Gateway-authorized image URL loader for the durable arm. */\\n loadImage: MessageImageLoader\\n /** Horizontal placement inside the owning record. */\\n align: \\'start\\' | \\'end\\'\\n /** Force every image into the compact message-attachment tile size. */\\n compact?: boolean\\n /** Fixed, uncropped thumbnail for an attachment list row. */\\n thumbnail?: boolean\\n}',\n ],\n ownerPropsReferences: [\n 'Message',\n 'MessageImageLoader',\n 'MessageImageSource',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.view\\' (client-ui-trajectory), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-attachment MessageImages',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.trajectory.images\\', () => ctx.slots.register(\\n { name: \\'conversation.trajectory.images\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-trajectory/src/client/trajectory-contract.ts:103',\n },\n {\n key: 'conversation.user.text.node',\n kind: 'keyed',\n scope: 'session',\n summary: 'One business-owned inline renderer for a pure JSON text node.',\n doc: 'One business-owned inline renderer for a pure JSON text node.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** JSON-only owner data common to every business text node. */\\nexport interface UserTextNodeOwnerProps {\\n readonly raw: string\\n readonly interactive: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'fixed by the owner\\'s key table { [Id in UserTextId]: { node: UserTextNode<Id> } }, already taken: command, file, folder, quote, secret, session, skill, text',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'conversation.user.text\\' (client-ui-conversation), so it exists while that definition is registered',\n occupants: [\n 'client-ui-conversation PlainUserText key \\'text\\'',\n 'client-ui-conversation SessionReference key \\'session\\'',\n 'client-ui-goal GoalCommandReference key \\'command\\'',\n 'client-ui-reference FileReference key \\'file\\'',\n 'client-ui-reference FolderReference key \\'folder\\'',\n 'client-ui-secret-mask SecretText key \\'secret\\'',\n 'client-ui-skill SkillReference key \\'skill\\'',\n 'message-quotes QuotedUserText key \\'quote\\'',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.user.text.node\\', () => ctx.slots.register(\\n { name: \\'conversation.user.text.node\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:221',\n },\n {\n key: 'conversation.view',\n kind: 'list',\n scope: 'session',\n summary: 'Registered Conversation target Views, rendered one at a time.',\n doc: 'Registered Conversation target Views, rendered one at a time.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Conversation View entries obtain their data from registered standard hooks. */\\nexport interface ConvViewOwnerProps {\\n /** Open a tool call\\'s inspector when an inspection target is available. */\\n inspectCall: ((callId: string) => void) | undefined\\n /** Focus request addressed to the selected View. */\\n viewRequest: import(\\'./views.ts\\').ConversationViewRequest | null\\n /** Select a View and address one opaque focus identity to it. */\\n openView: (view: string, focus: string) => void\\n /** Acknowledge the current one-shot focus request. */\\n completeViewRequest: () => void\\n}',\n ],\n ownerPropsReferences: [\n 'ConversationViewRequest',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.session\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-chat ChatView id \\'chat\\'',\n 'client-ui-trajectory TrajectoryView id \\'trajectory\\'',\n 'experimental-client-ui-stats StatsView id \\'stats\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'conversation.view\\', () => ctx.slots.register(\\n { name: \\'conversation.view\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:285',\n },\n {\n key: 'deliverables.file.actions',\n kind: 'list',\n scope: 'session',\n summary: 'Open one file through its authorized Session event coordinates.',\n doc: 'Open one file through its authorized Session event coordinates.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Native file action selected by an explicit user gesture. */\\nexport type PresentedAction = \\'open\\' | \\'reveal\\'',\n '/**\\n * Settled result of one native file gesture, for the contributed control to\\n * announce: the Host acknowledged an application open or a file-manager\\n * reveal, the gesture failed, or the request was deliberately dropped because\\n * the same file was already opening or this controller was disposed. Only an\\n * acknowledged operation may be announced as a success.\\n */\\nexport type PresentedOpenOutcome =\\n | { readonly kind: \\'opened\\' }\\n | { readonly kind: \\'revealed\\' }\\n | { readonly kind: \\'failed\\'; readonly failure: PresentedOpenFailure }\\n | { readonly kind: \\'skipped\\' }',\n ],\n ownerPropsReferences: [\n 'PresentedOpenFailure',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.chat.turnTail\\' (client-ui-deliverables), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-open-in-app FileRouteAction id \\'open-in-app\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'deliverables.file.actions\\', () => ctx.slots.register(\\n { name: \\'deliverables.file.actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-deliverables/src/client/file-actions.ts:8',\n },\n {\n key: 'deliverables.review.file.actions',\n kind: 'list',\n scope: 'session',\n summary: 'The same file actions owned by a changed-file review tab.',\n doc: 'The same file actions owned by a changed-file review tab.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Slot contract table. Owners extend via declaration merging; entries are {@link SlotEntryDef}. */\\nexport interface SlotMap {}',\n ],\n ownerPropsReferences: [\n 'SlotEntryDef',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.right.pane.tab\\' (client-ui-deliverables), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-open-in-app FileRouteAction id \\'open-in-app\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'deliverables.review.file.actions\\', () => ctx.slots.register(\\n { name: \\'deliverables.review.file.actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-deliverables/src/client/file-actions.ts:21',\n },\n {\n key: 'main',\n kind: 'keyed',\n scope: 'root',\n summary: 'Central panel selected by sidebar entry id.',\n doc: 'Central panel selected by sidebar entry id. The reserved `conversation`\\nkey hosts the Conversation; other keys receive no Session binding.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: conversation',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'root\\' (client-ui-layout), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-conversation ConversationPanel key \\'conversation\\'',\n 'client-ui-plugin-manager PluginManagerPage',\n 'client-ui-schedule TaskManagerPage',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'main\\', () => ctx.slots.register(\\n { name: \\'main\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-layout/src/client/index.ts:75',\n },\n {\n key: 'main.conversation',\n kind: 'single',\n scope: 'session-maybe',\n summary: 'Conversation shell beneath its root-scoped main-panel entry.',\n doc: 'Conversation shell beneath its root-scoped main-panel entry.',\n registerOptions: [],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>',\n 'useInput: MaybeSnapshotSelectorHook<InputState>',\n 'inputActions: InputActions | undefined',\n 'useSession: MaybeSnapshotSelectorHook<SessionSnapshot>',\n 'sessionId: SessionId | undefined',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean | undefined',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'main\\' (client-ui-conversation), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-conversation ConversationRoot',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'main.conversation\\', () => ctx.slots.register(\\n { name: \\'main.conversation\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-conversation/src/client/contract/slots.ts:229',\n },\n {\n key: 'plugins.add.actions',\n kind: 'list',\n scope: 'root',\n summary: 'Additional MenuItemButton rows after installation: 72px high, with a title and a description capped at two lines.',\n doc: 'Additional MenuItemButton rows after installation: 72px high, with a title and a description capped at two lines.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Add-plugin menu actions, independent of any selected bundle or Session. */\\nexport interface PluginAddActionsProps {\\n /** Close the add-plugin menu before starting the contributed action. */\\n readonly onDismiss: () => void\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'main\\' (client-ui-plugin-manager), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-agent-preset CreatePluginMenuItem id \\'create-plugin\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'plugins.add.actions\\', () => ctx.slots.register(\\n { name: \\'plugins.add.actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:135',\n },\n {\n key: 'plugins.bundle.activation',\n kind: 'keyed',\n scope: 'root',\n summary: 'Optional guidance after the user enables a bundle from the list, keyed by npm package name.',\n doc: 'Optional guidance after the user enables a bundle from the list, keyed by npm package name.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** One user-requested bundle activation and navigation to its configuration page. */\\nexport interface PluginActivationOwnerProps {\\n readonly packageName: string\\n /** Dismiss guidance for this activation. */\\n readonly onDismiss: () => void\\n /** Dismiss guidance and open this bundle\\'s detail page. */\\n readonly onOpenDetails: () => void\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: @deepseek-ai/dsh-cua-bundle, @deepseek-ai/dsh-experimental-voice-input-bundle',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'main\\' (client-ui-plugin-manager), so it exists while that entry is mounted',\n occupants: [\n 'experimental-client-ui-voice-input VoiceSetupPrompt key \\'@deepseek-ai/dsh-experimental-voice-input-bundle\\'',\n 'cua PermissionSetup key \\'@deepseek-ai/dsh-cua-bundle\\'',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'plugins.bundle.activation\\', () => ctx.slots.register(\\n { name: \\'plugins.bundle.activation\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:143',\n },\n {\n key: 'plugins.bundle.config',\n kind: 'keyed',\n scope: 'root',\n summary: 'A bundle\\'s own configuration, keyed by the bundle\\'s package name and rendered on the bundle\\'s page between its description and its rows (`view: \\'page\\'` only).',\n doc: 'A bundle\\'s own configuration, keyed by the bundle\\'s package name and\\nrendered on the bundle\\'s page between its description and its rows\\n(`view: \\'page\\'` only).',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** The view the page asks a configuration entry for. */\\nexport interface PluginConfigViewProps {\\n /** `summary` renders the one-liner alone, as text or inline nodes; `page` renders the form with its save control. */\\n readonly view: \\'summary\\' | \\'page\\'\\n /** Host-owned configuration values and write actions for this page\\'s entry. */\\n readonly form?: ConfigPageForm | undefined\\n}',\n ],\n ownerPropsReferences: [\n 'ConfigPageForm',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: @deepseek-ai/dsh-cua-bundle, @deepseek-ai/dsh-experimental-cot-translation-bundle, @deepseek-ai/dsh-experimental-voice-input-bundle',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'main\\' (client-ui-plugin-manager), so it exists while that entry is mounted',\n occupants: [\n 'experimental-client-ui-cot-translation TranslationSettings key \\'@deepseek-ai/dsh-experimental-cot-translation-bundle\\'',\n 'experimental-client-ui-voice-input VoicePreparation key \\'@deepseek-ai/dsh-experimental-voice-input-bundle\\'',\n 'cua PermissionPanel key \\'@deepseek-ai/dsh-cua-bundle\\'',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'plugins.bundle.config\\', () => ctx.slots.register(\\n { name: \\'plugins.bundle.config\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:159',\n },\n {\n key: 'plugins.detail.actions',\n kind: 'list',\n scope: 'root',\n summary: 'Controls at the head of a detail page, before the page\\'s own switch and uninstall, rendered with the page\\'s subject.',\n doc: 'Controls at the head of a detail page, before the page\\'s own switch and\\nuninstall, rendered with the page\\'s subject. An entry renders null for a\\nsubject it has no control for.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** The owner props every detail contribution is rendered with. */\\nexport interface PluginDetailProps {\\n /** The subject of the open page; an entry renders null for a subject it has nothing for. */\\n readonly subject: PluginsSubject\\n}',\n ],\n ownerPropsReferences: [\n 'PluginsSubject',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'main\\' (client-ui-plugin-manager), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'plugins.detail.actions\\', () => ctx.slots.register(\\n { name: \\'plugins.detail.actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:173',\n },\n {\n key: 'plugins.detail.badge',\n kind: 'list',\n scope: 'root',\n summary: 'Tags beside a detail page\\'s title, after the version, beta, and problem tags the page draws itself, rendered with the page\\'s subject.',\n doc: 'Tags beside a detail page\\'s title, after the version, beta, and problem\\ntags the page draws itself, rendered with the page\\'s subject.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** The owner props every detail contribution is rendered with. */\\nexport interface PluginDetailProps {\\n /** The subject of the open page; an entry renders null for a subject it has nothing for. */\\n readonly subject: PluginsSubject\\n}',\n ],\n ownerPropsReferences: [\n 'PluginsSubject',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'main\\' (client-ui-plugin-manager), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'plugins.detail.badge\\', () => ctx.slots.register(\\n { name: \\'plugins.detail.badge\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:178',\n },\n {\n key: 'plugins.detail.section',\n kind: 'list',\n scope: 'root',\n summary: 'Sections under a detail page\\'s own content: after the source on a bundle\\'s page, after the configuration on a row\\'s or an official plugin\\'s page.',\n doc: 'Sections under a detail page\\'s own content: after the source on a bundle\\'s\\npage, after the configuration on a row\\'s or an official plugin\\'s page.\\nAn entry draws its own section chrome and renders null for a subject it\\nhas nothing for.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** The owner props every detail contribution is rendered with. */\\nexport interface PluginDetailProps {\\n /** The subject of the open page; an entry renders null for a subject it has nothing for. */\\n readonly subject: PluginsSubject\\n}',\n ],\n ownerPropsReferences: [\n 'PluginsSubject',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'main\\' (client-ui-plugin-manager), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'plugins.detail.section\\', () => ctx.slots.register(\\n { name: \\'plugins.detail.section\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:185',\n },\n {\n key: 'plugins.item',\n kind: 'list',\n scope: 'root',\n summary: 'One official plugin the Plugins page lists in its Official group after the official bundles: `label` is the card\\'s title and `order` its place.',\n doc: 'One official plugin the Plugins page lists in its Official group after\\nthe official bundles: `label` is the card\\'s title and `order` its place.\\nThe page renders the entry as the card\\'s one-liner (`view: \\'summary\\'`)\\nand, once the card is opened, as the body of the plugin\\'s own page\\n(`view: \\'page\\'`). OCCUPIED by the official settings pages, one companion\\npackage per host-plane namespace; a bundle\\'s configuration belongs in\\n`plugins.bundle.config` or `plugins.row.config` instead.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** The view the page asks a configuration entry for. */\\nexport interface PluginConfigViewProps {\\n /** `summary` renders the one-liner alone, as text or inline nodes; `page` renders the form with its save control. */\\n readonly view: \\'summary\\' | \\'page\\'\\n /** Host-owned configuration values and write actions for this page\\'s entry. */\\n readonly form?: ConfigPageForm | undefined\\n}',\n ],\n ownerPropsReferences: [\n 'ConfigPageForm',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'main\\' (client-ui-plugin-manager), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-agent-loop AgentLoopCard id \\'agent-loop\\'',\n 'client-ui-settings-shell ShellCard id \\'shell\\'',\n 'client-ui-settings-subagent SubagentCard id \\'subagent\\'',\n 'client-ui-settings-web-search WebSearchCard id \\'web-search\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'plugins.item\\', () => ctx.slots.register(\\n { name: \\'plugins.item\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:153',\n },\n {\n key: 'plugins.row.config',\n kind: 'keyed',\n scope: 'root',\n summary: 'The configuration of one row a bundle declares, keyed by `<package name>#<row id>` with the row id as the bundle\\'s patch declares it: the row on the bundle\\'s page gains a configure control that opens the entry\\'s page, headed by the plugin\\'s display title and description.',\n doc: 'The configuration of one row a bundle declares, keyed by\\n`<package name>#<row id>` with the row id as the bundle\\'s patch declares\\nit: the row on the bundle\\'s page gains a configure control that opens\\nthe entry\\'s page, headed by the plugin\\'s display title and description.\\nAn absent description falls back to the entry\\'s `view: \\'summary\\'`.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** The view the page asks a configuration entry for. */\\nexport interface PluginConfigViewProps {\\n /** `summary` renders the one-liner alone, as text or inline nodes; `page` renders the form with its save control. */\\n readonly view: \\'summary\\' | \\'page\\'\\n /** Host-owned configuration values and write actions for this page\\'s entry. */\\n readonly form?: ConfigPageForm | undefined\\n}',\n ],\n ownerPropsReferences: [\n 'ConfigPageForm',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), none are taken yet',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'main\\' (client-ui-plugin-manager), so it exists while that entry is mounted',\n occupants: [\n 'experimental-client-ui-forge WorktreeSettings',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'plugins.row.config\\', () => ctx.slots.register(\\n { name: \\'plugins.row.config\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:167',\n },\n {\n key: 'plugins.tab',\n kind: 'list',\n scope: 'root',\n summary: 'Tabs after the page\\'s own Installed tab, such as Discover: `label` names the tab and `order` places it.',\n doc: 'Tabs after the page\\'s own Installed tab, such as Discover: `label` names the tab and `order` places it. The\\npage renders the selected entry under its header and tabs; the entry draws its own content and installs and\\nupdates through the owner\\'s `install` and `update`.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner props of a page tab another plugin contributes, such as Discover. */\\nexport interface PluginTabProps {\\n /**\\n * Install an exact version the person already confirmed: the page\\'s install dialog opens at its check and progress\\n * screens, without the spec form, and names the plugin and version above the spec.\\n * @param target - the spec, optional registry, and display text.\\n */\\n readonly install: (target: PluginTabInstall) => void\\n /**\\n * Open the page\\'s update dialog at its confirmation for a bundle the Host lists with `update: \\'git\\'`, from the\\n * version the page lists; nothing opens before the page has listed the bundle or while another update runs. The\\n * update removes the installed version, installs the target, and installs the removed version again when that fails.\\n * @param target - the package, the target version, and its Git spec.\\n */\\n readonly update: (target: PluginTabUpdate) => void\\n /**\\n * Switch to the Installed tab and open a bundle\\'s page, whose back button returns to the calling tab.\\n * @param packageName - npm package name of the bundle.\\n */\\n readonly openPackage: (packageName: string) => void\\n}',\n ],\n ownerPropsReferences: [\n 'Git',\n 'PluginTabInstall',\n 'PluginTabUpdate',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'main\\' (client-ui-plugin-manager), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-plugin-market DiscoverSection id \\'discover\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'plugins.tab\\', () => ctx.slots.register(\\n { name: \\'plugins.tab\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:141',\n },\n {\n key: 'rightbar',\n kind: 'single',\n scope: 'root',\n summary: 'The right column: a track the centre makes room for, or nothing.',\n doc: 'The right column: a track the centre makes room for, or nothing. OCCUPIED\\nby the right Sidebar, which uses the resolved column width in normal\\nmode and covers the viewport in fullscreen, retaining the wide-screen\\ncolumn reservation underneath.\\n\\nWhether the panel is shown, and whether it takes a track, is the\\noccupant\\'s own recorded business — it reports the composition of its\\nexpanded and presentation state through `ctx.layout`, and the frame sizes\\nthe track and places the resize handle from that. The expand control is\\nnot this column\\'s: it is a button in the conversation header. The root\\noccupant decides when to render its Session-bound content.',\n registerOptions: [],\n ownerProps: [\n '/** Right column owner share: resolved normal geometry and opening eligibility. */\\nexport interface RightbarOwnerProps {\\n /** Resolved normal panel width in px, not the saved preference; zero if it cannot fit. */\\n width: number\\n /** Current frame width in px. */\\n viewportWidth: number\\n /**\\n * Whether a normal right panel can retain 300px beside a 400px center.\\n * Before a narrow opening, includes the space from collapsing the left sidebar.\\n */\\n canShow: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'root\\' (client-ui-layout), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-sidebar-right RightbarRoot',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'rightbar\\', () => ctx.slots.register(\\n { name: \\'rightbar\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-layout/src/client/index.ts:89',\n },\n {\n key: 'rightbar.session',\n kind: 'single',\n scope: 'session',\n summary: 'Session content selected by the root-scoped right Sidebar controller.',\n doc: 'Session content selected by the root-scoped right Sidebar controller.',\n registerOptions: [],\n ownerProps: [\n '/** Right column owner share: resolved normal geometry and opening eligibility. */\\nexport interface RightbarOwnerProps {\\n /** Resolved normal panel width in px, not the saved preference; zero if it cannot fit. */\\n width: number\\n /** Current frame width in px. */\\n viewportWidth: number\\n /**\\n * Whether a normal right panel can retain 300px beside a 400px center.\\n * Before a narrow opening, includes the space from collapsing the left sidebar.\\n */\\n canShow: boolean\\n}',\n '/** Identity of one open tab; distinct copies of one content share `contentId`, never `TabId`. */\\nexport type TabId = Branded<\\'TabId\\'>',\n ],\n ownerPropsReferences: [\n 'Branded',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'rightbar\\' (client-ui-sidebar-right), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-sidebar-right RightbarSeat',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'rightbar.session\\', () => ctx.slots.register(\\n { name: \\'rightbar.session\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-right/src/client/contract/slots.ts:43',\n },\n {\n key: 'root',\n kind: 'single',\n scope: 'root',\n summary: 'The built-in render-tree root hole (seeded by SlotCore): the one slot the shell itself renders, and the ancestor of every other seat.',\n doc: 'The built-in render-tree root hole (seeded by SlotCore): the one slot the\\nshell itself renders, and the ancestor of every other seat. OCCUPIED by\\nui-layout\\'s AppFrame, which declares the sidebar, conversation, details,\\nand shell.overlay seats inside it.\\n\\nDO NOT register here. This is a single slot, so a second entry does not\\nsit beside the frame — it shadows it, and a dynamically registered entry\\nis assigned a lower priority than the shipped one, which makes it the\\nwinner: the page would render your component alone, with every seat the\\nframe declares gone. For a surface of your own that floats over the whole\\napp, register into `shell.overlay` instead (a list slot: additive, and\\nclick-through until your entry opts into pointer events).',\n registerOptions: [],\n ownerProps: [\n '/** Root owner share: the shell supplies nothing — the frame is inject-assembled. */\\nexport interface RootOwnerProps { children?: never }',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'the runtime itself (built in; always present)',\n occupants: [\n 'client-ui-layout AppFrame',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'root\\', () => ctx.slots.register(\\n { name: \\'root\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-renderer/src/client/registry.ts:44',\n },\n {\n key: 'settings.action',\n kind: 'list',\n scope: 'root',\n summary: 'Optional actions rendered in the content-column header before Close.',\n doc: 'Optional actions rendered in the content-column header before Close.\\nRegistrants own visibility, behavior, copy, and failure presentation;\\nthe shell supplies only the ordered render site.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of the header title seat (the shell supplies nothing). */\\nexport interface SettingsHeaderOwnerProps {\\n /** Marker field: header owner props are intentionally empty. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.settings\\' (client-ui-settings-general), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-general SettingsDocumentAction id \\'open-document\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.action\\', () => ctx.slots.register(\\n { name: \\'settings.action\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings/src/client/contract/slots.ts:39',\n },\n {\n key: 'settings.close',\n kind: 'single',\n scope: 'root',\n summary: 'The close button\\'s visually-hidden label text (the button itself — icon, geometry, focus — is shell chrome).',\n doc: 'The close button\\'s visually-hidden label text (the button itself —\\nicon, geometry, focus — is shell chrome). Absent contribution leaves\\nthe button without an accessible name (broken-composition state).',\n registerOptions: [],\n ownerProps: [\n '/** Owner share of the header title seat (the shell supplies nothing). */\\nexport interface SettingsHeaderOwnerProps {\\n /** Marker field: header owner props are intentionally empty. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.settings\\' (client-ui-settings-general), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-general CloseLabel',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.close\\', () => ctx.slots.register(\\n { name: \\'settings.close\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings/src/client/contract/slots.ts:45',\n },\n {\n key: 'settings.general.item',\n kind: 'list',\n scope: 'root',\n summary: 'One preference row inside the General section — the additive seat for a single setting that needs no page of its own (a whole page is `settings.section`), contributed by the feature plugin that owns the preference (locale → Language, ui-theme → Appearance, ui-conversation → Composer Enter).',\n doc: 'One preference row inside the General section — the additive seat for a\\nsingle setting that needs no page of its own (a whole page is\\n`settings.section`), contributed by the feature plugin that owns the\\npreference (locale → Language, ui-theme → Appearance, ui-conversation →\\nComposer Enter). Options: `id` (row key), `order` (row position). The\\nsection column only stacks rows, so a row draws its own internals,\\nincluding its label: nothing projects a `label` here and the owner passes\\nno props at all — copy, current value, and the write path are all yours,\\nthrough your own inject face and `host.call`. Declared at runtime by\\nui-settings-general\\'s General entry; the type lives here with every other\\nsettings slot type, because this package is the settings domain\\'s base\\nlayer and every registrant already depends on it for `ctx.configForms`.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of a General preference row (the section supplies nothing). */\\nexport interface SettingsGeneralItemOwnerProps {\\n /** Marker field: item owner props are intentionally empty. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'settings.section\\' (client-ui-settings-general), so it exists while that entry is mounted',\n occupants: [\n 'client-locale LanguageRow id \\'language\\'',\n 'client-ui-chat LinkOpeningRow id \\'link-opening\\'',\n 'client-ui-chat PerformanceUsageRow id \\'performance-usage\\'',\n 'client-ui-chat TranscriptViewRow id \\'transcript-view\\'',\n 'client-ui-conversation EnterBehaviorRow id \\'composer-enter\\'',\n 'client-ui-permission-presets PermissionRow id \\'permission\\'',\n 'client-ui-settings-general DeveloperToolsRow id \\'developer-tools\\'',\n 'client-ui-settings-general CurrentVersionRow id \\'current-version\\'',\n 'client-ui-settings-general DesktopChannelRow id \\'desktop-update-channel\\'',\n 'client-ui-settings-session-log UploadRow',\n 'client-ui-shortcuts ShortcutsRow id \\'shortcuts\\'',\n 'client-ui-theme AppearanceRow id \\'appearance\\'',\n 'client-ui-theme FontSettingsGroup id \\'font-size\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.general.item\\', () => ctx.slots.register(\\n { name: \\'settings.general.item\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings/src/client/contract/slots.ts:100',\n },\n {\n key: 'settings.header',\n kind: 'single',\n scope: 'root',\n summary: 'The panel title text seat.',\n doc: 'The panel title text seat. Content renders inside the nav heading row;\\nthe dialog\\'s accessible name points at that node via aria-labelledby.\\nAbsent contribution leaves the heading empty.',\n registerOptions: [],\n ownerProps: [\n '/** Owner share of the header title seat (the shell supplies nothing). */\\nexport interface SettingsHeaderOwnerProps {\\n /** Marker field: header owner props are intentionally empty. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.settings\\' (client-ui-settings-general), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-general HeaderContent',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.header\\', () => ctx.slots.register(\\n { name: \\'settings.header\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings/src/client/contract/slots.ts:33',\n },\n {\n key: 'settings.launcher',\n kind: 'single',\n scope: 'root',\n summary: 'Optional sidebar account launcher; opens the shell-owned settings panel.',\n doc: 'Optional sidebar account launcher; opens the shell-owned settings panel.',\n registerOptions: [],\n ownerProps: [\n '/** Sidebar launcher geometry and settings navigation. */\\nexport interface SettingsLauncherOwnerProps {\\n /** Whether the sidebar shows labels. */\\n wide: boolean\\n /** Whether the settings dialog covers the sidebar; a launcher may treat a false-to-true edge as one Settings entry. */\\n settingsOpen: boolean\\n /** Effective Settings key labels and accessible combination; omitted when unbound. */\\n settingsShortcut?: { readonly keys: readonly string[]; readonly aria?: string | undefined }\\n /** @param sectionId - section to open; absent uses the shell\\'s default section. */\\n openSettings: (sectionId?: string) => void\\n /** @param id - registered onboarding editor to open explicitly. */\\n openOnboarding: (id: string) => void\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.settings\\' (client-ui-settings-general), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-account AccountMenu',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.launcher\\', () => ctx.slots.register(\\n { name: \\'settings.launcher\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings/src/client/contract/slots.ts:17',\n },\n {\n key: 'settings.launcher.notifications',\n kind: 'single',\n scope: 'root',\n summary: 'Notifications anchored at the account menu; the contribution owns its markup and lifecycle.',\n doc: 'Notifications anchored at the account menu; the contribution owns its markup and lifecycle.',\n registerOptions: [],\n ownerProps: [\n '/** Account-menu presentation facts supplied to its notification extension. */\\nexport interface AccountNotificationsOwnerProps {\\n /** Whether the account menu can display notifications outside onboarding. */\\n active: boolean\\n /** Open the account section in the existing settings shell. */\\n openAccount: () => void\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'settings.launcher\\' (client-ui-settings-account), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-account-notifications AccountNotifications',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.launcher.notifications\\', () => ctx.slots.register(\\n { name: \\'settings.launcher.notifications\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings-account/src/client/account-ui.ts:47',\n },\n {\n key: 'settings.models.footer',\n kind: 'list',\n scope: 'root',\n summary: 'Ordered extension area after the provider rows and the add controls.',\n doc: 'Ordered extension area after the provider rows and the add controls.\\nWithout a registrant the area renders nothing.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of the footer area (the section supplies nothing). */\\nexport interface ModelsFooterOwnerProps {\\n /** Marker field: footer owner props are intentionally empty. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'settings.section\\' (client-ui-settings-models), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.models.footer\\', () => ctx.slots.register(\\n { name: \\'settings.models.footer\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings-models/src/client/slot-contract.ts:40',\n },\n {\n key: 'settings.models.provider-card',\n kind: 'keyed',\n scope: 'root',\n summary: 'One provider card\\'s adapter extension area, dispatched with `entryKey = settingsNs` on every card that renders a directory row: a saved row\\'s card (its first-run setup posture included) and the add-provider draft card.',\n doc: 'One provider card\\'s adapter extension area, dispatched with\\n`entryKey = settingsNs` on every card that renders a directory row: a\\nsaved row\\'s card (its first-run setup posture included) and the\\nadd-provider draft card. The hand-declared draft card has no directory\\nrow yet, so it dispatches nothing until saved. Without a registrant the\\narea renders nothing.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Owner share of one provider-card extension occurrence. */\\nexport interface ProviderCardExtrasOwnerProps {\\n /** The card\\'s directory row (route id, display name, settings address, live state). */\\n provider: ProviderDirectoryEntry\\n /** Whether any layer configures this provider (its profile resolves); `false` while the add-provider draft edits a dormant row. */\\n configured: boolean\\n /** Whether the row\\'s referenced api-key credential is confirmed configured (the page\\'s credential join). */\\n keyConfigured: boolean\\n}',\n ],\n ownerPropsReferences: [\n 'ProviderDirectoryEntry',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), none are taken yet',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'settings.section\\' (client-ui-settings-models), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.models.provider-card\\', () => ctx.slots.register(\\n { name: \\'settings.models.provider-card\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings-models/src/client/slot-contract.ts:33',\n },\n {\n key: 'settings.models.sign-in',\n kind: 'single',\n scope: 'root',\n summary: 'Optional account login choice before the credential editor.',\n doc: 'Optional account login choice before the credential editor.',\n registerOptions: [],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'settings.onboarding\\' (client-ui-settings-models), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-account AccountOnboarding',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.models.sign-in\\', () => ctx.slots.register(\\n { name: \\'settings.models.sign-in\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings-models/src/client/slot-contract.ts:35',\n },\n {\n key: 'settings.onboarding',\n kind: 'list',\n scope: 'root',\n summary: 'Root-scoped onboarding steps contributed by settings features.',\n doc: 'Root-scoped onboarding steps contributed by settings features. The\\nshell mounts one ordered step at a time; the active registrant either\\ncompletes itself or keeps ownership until the user completes its sole\\npath. Registrants own readiness, copy, dialog behavior, AND visible\\nchrome: a step wraps its visible content in its modal surface (including\\n`#root` inert ownership) and renders null while private facts are still\\nloading. The shell paints no chrome of its own, so a mounted-but-deciding\\nstep shows and blocks nothing.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of the currently active settings-backed onboarding step. */\\nexport interface SettingsOnboardingOwnerProps {\\n /** Stable id of the step currently selected by the coordinator. */\\n stepId: string\\n /** User explicitly reopened this step outside first-run onboarding. */\\n explicit?: boolean\\n /** Complete or skip this step and transfer ownership to the next entry. */\\n complete: () => void\\n /** Open the settings panel directly on one registered section. */\\n openSection: (id: string) => void\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.settings\\' (client-ui-settings-general), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-models WelcomeNotice id \\'welcome-notice\\'',\n 'client-ui-settings-models DeepSeekOnboardingDialog id \\'deepseek-official\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.onboarding\\', () => ctx.slots.register(\\n { name: \\'settings.onboarding\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings/src/client/contract/slots.ts:85',\n },\n {\n key: 'settings.plugins.tab',\n kind: 'list',\n scope: 'root',\n summary: 'One page inside the Plugins settings section.',\n doc: 'One page inside the Plugins settings section. The section owner renders\\nlocalized entry labels as tabs and mounts each contribution inside its\\ncorresponding tab panel. Options: `id` (tab key), `order` (tab order),\\nand `label` (registrant-localized tab text). Declared at runtime by the\\nfeature that owns the Plugins section; the type lives here so inventory\\nand configuration plugins collaborate without depending on one another.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of a Plugins tab (the section supplies nothing). */\\nexport interface SettingsPluginsTabOwnerProps {\\n /** Marker field: tab owner props are intentionally empty. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'settings.section\\' (client-ui-settings-plugins), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-plugin-inventory PluginInventorySettingsTab id \\'all\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.plugins.tab\\', () => ctx.slots.register(\\n { name: \\'settings.plugins.tab\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings/src/client/contract/slots.ts:74',\n },\n {\n key: 'settings.section',\n kind: 'list',\n scope: 'root',\n summary: 'One settings page per list entry.',\n doc: 'One settings page per list entry. Registrant options carry the nav\\nidentity: `id` (section key, drives `only` filtering), `order` (nav\\nposition), `label` (registrant-localized display text — the registrant\\nre-registers with fresh text on locale change, so the shell never\\nsubscribes locale state; the ledger bump doubles as the shell\\'s\\nre-render trigger). Sections render inside the panel content column.\\n(`settings.general.item`, declared by ui-settings-general\\'s General\\nentry, is typed in the locale package — the common dependency of every\\nitem registrant; the shell neither declares nor renders it.)',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/**\\n * Owner share of a settings section entry. The shell owns modal visibility\\n * and navigation; a section\\'s data arrives through its own inject faces and\\n * stores. `close` is the one shell affordance a section receives, for flows\\n * that leave settings altogether (starting a session from a section) — the\\n * onboarding coordinator\\'s `openSection`/`complete` precedent, inverted.\\n */\\nexport interface SettingsSectionOwnerProps {\\n /** Close the settings panel (the shell owns the open state). */\\n close: () => void\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.settings\\' (client-ui-settings-general), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-agent-preset AgentPresetSection id \\'agent-presets\\'',\n 'client-ui-settings-account AccountSection id \\'account\\'',\n 'client-ui-settings-general GeneralSection id \\'general\\'',\n 'client-ui-settings-models ModelsSection id \\'models\\'',\n 'client-ui-settings-plugins PluginsSettingsSection id \\'plugins\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.section\\', () => ctx.slots.register(\\n { name: \\'settings.section\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings/src/client/contract/slots.ts:57',\n },\n {\n key: 'settings.section.icon',\n kind: 'list',\n scope: 'root',\n summary: 'Optional navigation icons addressed by the matching settings.section id.',\n doc: 'Optional navigation icons addressed by the matching settings.section id.\\nThe registration id must equal the target section\\'s id; unmatched ids\\nnever render. The icon\\'s label option is not displayed.\\nThe shell owns the button and label and keeps its default glyph when\\nno icon is registered for that id.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Icon presentation supplied by the settings navigation row. */\\nexport interface SettingsSectionIconOwnerProps {\\n /** Requested square edge in pixels. */\\n size: number\\n /** Whether this section is selected. */\\n active: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.settings\\' (client-ui-settings-general), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.section.icon\\', () => ctx.slots.register(\\n { name: \\'settings.section.icon\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings/src/client/contract/slots.ts:65',\n },\n {\n key: 'settings.trigger',\n kind: 'single',\n scope: 'root',\n summary: 'The sidebar-foot trigger row content: icon + label, supplied as slot content (the accessible name comes from the content — rail state renders the label visually hidden).',\n doc: 'The sidebar-foot trigger row content: icon + label, supplied as slot\\ncontent (the accessible name comes from the content — rail state\\nrenders the label visually hidden). The shell renders the button\\nchrome and owns open state. Absent contribution degrades to an\\nicon-only button without an accessible name (broken-composition state;\\nthe shipped composition always registers the seat).',\n registerOptions: [],\n ownerProps: [\n '/** Owner share of the trigger content seat: the sidebar column state. */\\nexport interface SettingsTriggerOwnerProps {\\n /** Whether the sidebar renders wide content (false = 56px rail, icon only). */\\n wide: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.settings\\' (client-ui-settings-general), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-general TriggerContent',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'settings.trigger\\', () => ctx.slots.register(\\n { name: \\'settings.trigger\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-settings/src/client/contract/slots.ts:27',\n },\n {\n key: 'shell.bottom',\n kind: 'single',\n scope: 'root',\n summary: 'Full-width bottom content below all three columns.',\n doc: 'Full-width bottom content below all three columns. Its rendered height\\nreduces the columns\\' available height; empty content reserves no space.\\nThe occupant owns its height, visibility, and controls. It receives no\\nSession binding and remains mounted across main-panel navigation.',\n registerOptions: [],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'root\\' (client-ui-layout), so it exists while that entry is mounted',\n occupants: [\n 'experimental-inspector InspectorPage',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'shell.bottom\\', () => ctx.slots.register(\\n { name: \\'shell.bottom\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-layout/src/client/index.ts:96',\n },\n {\n key: 'shell.leading',\n kind: 'single',\n scope: 'root',\n summary: 'Window-chrome seat at the frame\\'s top-left, over every main panel.',\n doc: 'Window-chrome seat at the frame\\'s top-left, over every main panel.\\nMounted for narrow drawers and collapsed macOS desktop sidebars. macOS\\ntraffic lights sit before it outside native fullscreen; browser controls\\nstart at the frame edge.\\nOCCUPIED by ui-sidebar\\'s reopen/New Session controls.\\n\\nWhile the seat is mounted the frame publishes\\n`--dsh-frame-leading-clearance` (the inline inset the seat\\'s band\\noccupies, measured from the frame\\'s left edge); a main panel whose\\ncontent reaches the top-left corner pads by it so nothing lands under\\nthe lights or the controls.',\n registerOptions: [],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'root\\' (client-ui-layout), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-sidebar HeaderLeadingControls',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'shell.leading\\', () => ctx.slots.register(\\n { name: \\'shell.leading\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-layout/src/client/index.ts:121',\n },\n {\n key: 'shell.overlay',\n kind: 'list',\n scope: 'root',\n summary: 'Frame-wide floating layer, above every column and outside their scroll containers.',\n doc: 'Frame-wide floating layer, above every column and outside their scroll\\ncontainers. Deliberately generic and unowned by any feature: a badge, a\\ntoast stack or a status pill all belong here, and entries order among\\nthemselves. The layer itself is click-through — entries opt back into\\npointer events — so an occupant never blocks the app underneath.\\n\\nThis is the additive seat for a frame-wide surface of your own: a fresh\\n`id` is added beside the shipped entries instead of replacing them.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'root\\' (client-ui-layout), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-agent-team TeamDisableConfirmation id \\'agent-team.disable\\'',\n 'client-ui-chat QuotaNoticeHost id \\'chat.quota-notice\\'',\n 'client-ui-context-menu MenuOverlay id \\'context-menu\\'',\n 'client-ui-file-drag FileDragFeedback id \\'file-drag.feedback\\'',\n 'client-ui-open-in-app OpenInAppToast id \\'open-in-app.toast\\'',\n 'client-ui-plugin-manager PluginRefreshToast id \\'plugin-manager.refresh-toast\\'',\n 'client-ui-schedule ScheduleDeleteToast id \\'schedule.delete-toast\\'',\n 'client-ui-settings-account DesktopOnboardingEntry id \\'desktop-onboarding\\'',\n 'client-ui-settings-account AccountPlatformHost id \\'account.platform-page\\'',\n 'client-ui-settings-general DesktopChannelToast id \\'desktop-channel-toast\\'',\n 'client-ui-settings-general HostReleasePrompt id \\'host-release-change\\'',\n 'client-ui-settings-session-log UploadToast id \\'session-log-upload-toast\\'',\n 'client-ui-shortcuts ShortcutReference id \\'shortcuts\\'',\n 'client-ui-workspace SessionRenameDialog id \\'workspace.session-rename\\'',\n 'client-ui-workspace SessionArchiveConfirmDialog id \\'workspace.session-archive\\'',\n 'client-ui-workspace RowActionToast id \\'workspace.row-toast\\'',\n 'experimental-client-ui-forge ActionToast id \\'forge-panel.toast\\'',\n 'cua PermissionToast id \\'cua-permission-outcome\\'',\n 'session-log-export SessionMarkdownCopyToast id \\'session-log-download.copy-toast\\'',\n 'session-log-export SessionLogDownloadDialog id \\'session-log-download\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'shell.overlay\\', () => ctx.slots.register(\\n { name: \\'shell.overlay\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-layout/src/client/index.ts:107',\n },\n {\n key: 'shell.quota-notice',\n kind: 'chain',\n scope: 'root',\n summary: 'Frame-wide quota notice chain.',\n doc: 'Frame-wide quota notice chain. The Chat-owned host in `shell.overlay`\\noffers the one live notice; the first entry whose selector claims its\\ncode takes over the surface, and the all-decline case renders the host\\'s\\ngeneric warning Toast. The host lives outside the Chat panel, so a notice\\nsurvives switching or closing the panel that reported it.',\n registerOptions: [\n {\n name: 'select',\n requirement: 'required',\n type: '(owner) => unknown | null',\n doc: 'Pure routing selector. Entries are tried in ascending order; the first non-null result wins and arrives as the component\\'s `matched` prop. All-null falls through to the owner\\'s fallback.',\n },\n ],\n ownerProps: [\n '/** Owner currency of one quota notice offered to the frame-wide chain. */\\nexport interface QuotaNoticeOwnerProps {\\n /** Stable failure code retained in the Session log. */\\n code: QuotaNoticeCode\\n /** Provider-neutral notice copy in the active locale. */\\n message: string\\n /** Take the notice down. */\\n dismiss: () => void\\n /**\\n * Prevent later quota failures from replacing this notice. Dismissal clears\\n * all holds; releasing the last hold resumes future notices without replay.\\n * Callers must release on unmount.\\n * @returns idempotent release that cannot clear another hold.\\n */\\n keepOpen: () => () => void\\n}',\n ],\n ownerPropsReferences: [\n 'QuotaNoticeCode',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'shell.overlay\\' (client-ui-chat), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-account AccountQuotaNotice',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'shell.quota-notice\\', () => ctx.slots.register(\\n { name: \\'shell.quota-notice\\', select: owner => null },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-chat/src/client/contract/slots.ts:506',\n },\n {\n key: 'sidebar',\n kind: 'single',\n scope: 'root',\n summary: 'The whole left column.',\n doc: 'The whole left column. OCCUPIED by ui-sidebar\\'s SidebarRoot, which\\ndeclares the workspace and settings seats inside it — registering here\\nreplaces the navigation column outright rather than adding to it, and\\nthe seats it declares disappear with it. To add something to the\\nsidebar, register into one of those inner seats instead.\\n\\nThe occupant receives the frame\\'s collapsed state, width and drawer mode.\\nDrawer content stays mounted while hidden; other browser columns retain\\na compact control rail while collapsed.',\n registerOptions: [],\n ownerProps: [\n '/** Sidebar owner share: live column state from the frame\\'s concession solve. */\\nexport interface SidebarOwnerProps {\\n /** True when closed; a drawer is hidden, while other browser columns retain a rail. */\\n collapsed: boolean\\n /** Rendered sidebar width in px; a hidden drawer retains its expanded width. */\\n width: number\\n /** Present the retained sidebar content as an overlay drawer. */\\n drawer: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'root\\' (client-ui-layout), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-sidebar SidebarRoot',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar\\', () => ctx.slots.register(\\n { name: \\'sidebar\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-layout/src/client/index.ts:70',\n },\n {\n key: 'sidebar.brand.mark',\n kind: 'single',\n scope: 'root',\n summary: 'Brand mark rendered in the expanded brand row and collapsed rail.',\n doc: 'Brand mark rendered in the expanded brand row and collapsed rail.\\nDeclared by this package\\'s `sidebar` entry; deployments may replace\\nthe shell\\'s fish fallback without replacing the surrounding controls.',\n registerOptions: [],\n ownerProps: [\n '/** Geometry supplied to the sidebar brand-mark occupant. */\\nexport interface SidebarBrandMarkOwnerProps {\\n /** Requested square edge in pixels. */\\n size: number\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar\\' (client-ui-sidebar), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-brand-official OfficialBrandMark',\n 'experimental-liveshare ViewerBrandMark',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.brand.mark\\', () => ctx.slots.register(\\n { name: \\'sidebar.brand.mark\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar/src/client/contract/slots.ts:37',\n },\n {\n key: 'sidebar.brand.name',\n kind: 'single',\n scope: 'root',\n summary: 'Brand name rendered beside the expanded mark.',\n doc: 'Brand name rendered beside the expanded mark. Declared by this\\npackage\\'s `sidebar` entry; the shell supplies a generic text fallback.',\n registerOptions: [],\n ownerProps: [\n '/** Empty owner share for the sidebar brand-name occupant. */\\nexport interface SidebarBrandNameOwnerProps {\\n /** Marker field: the occupant owns its own content and width. */\\n children?: never\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar\\' (client-ui-sidebar), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-brand-official OfficialBrandName',\n 'experimental-liveshare ViewerBrandName',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.brand.name\\', () => ctx.slots.register(\\n { name: \\'sidebar.brand.name\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar/src/client/contract/slots.ts:42',\n },\n {\n key: 'sidebar.chat.conversation',\n kind: 'single',\n scope: 'session',\n summary: 'Session-scoped Conversation occurrence hosted by one Sidebar chat tab.',\n doc: 'Session-scoped Conversation occurrence hosted by one Sidebar chat tab.',\n registerOptions: [],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.right.pane.tab\\' (client-ui-subagent), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-subagent ConversationSlotPanel',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.chat.conversation\\', () => ctx.slots.register(\\n { name: \\'sidebar.chat.conversation\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-subagent/src/client/sidebar-chat/index.tsx:42',\n },\n {\n key: 'sidebar.footer.action',\n kind: 'list',\n scope: 'root',\n summary: 'Optional actions beside Settings at the sidebar foot.',\n doc: 'Optional actions beside Settings at the sidebar foot. Declared by this\\npackage\\'s \\'sidebar\\' entry; each action receives only the column state.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of an action rendered beside Settings at the sidebar foot. */\\nexport interface SidebarFooterActionOwnerProps {\\n /** Whether the sidebar renders wide content (false = 56px rail). */\\n wide: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar\\' (client-ui-sidebar), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-cordis CordisPanel id \\'cordis-panel\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.footer.action\\', () => ctx.slots.register(\\n { name: \\'sidebar.footer.action\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar/src/client/contract/slots.ts:75',\n },\n {\n key: 'sidebar.panellist',\n kind: 'list',\n scope: 'root',\n summary: 'Global panel icons.',\n doc: 'Global panel icons. Each list id addresses the matching main panel;\\nthe sidebar owns the button and resolves its label from list metadata.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Icon presentation supplied by the global panel row. */\\nexport interface SidebarPanelIconOwnerProps {\\n /** Requested square edge in pixels. */\\n size: number\\n /** Whether this panel is selected in the main column. */\\n active: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'factory \\'sidebar.panel.icon\\' (client-ui-sidebar), so it exists while that definition is registered',\n occupants: [\n 'client-ui-plugin-manager PluginsPanelIcon',\n 'client-ui-schedule TaskManagerIcon',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.panellist\\', () => ctx.slots.register(\\n { name: \\'sidebar.panellist\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar/src/client/contract/slots.ts:47',\n },\n {\n key: 'sidebar.panellist.actions',\n kind: 'list',\n scope: 'root',\n summary: 'Rows of the panel list\\'s More menu; the sidebar shows More only while this list has registrations.',\n doc: 'Rows of the panel list\\'s More menu; the sidebar shows More only while this list has registrations.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of the panel list\\'s More menu rows. */\\nexport interface SidebarPanelActionsOwnerProps {\\n /** Customizable panels in registration order; Plugins is never listed. */\\n readonly entries: readonly SidebarPanelActionEntry[]\\n /**\\n * Open a panel without changing its pin state.\\n * @param id - Listed panel id.\\n */\\n readonly onOpen: (id: string) => void\\n /**\\n * Show (true) or unpin (false) a panel launcher.\\n * @param id - Listed panel id.\\n * @param pinned - Whether the launcher shows in the sidebar.\\n */\\n readonly onPinnedChange: (id: string, pinned: boolean) => void\\n /** Close the More menu. */\\n readonly onDismiss: () => void\\n}',\n ],\n ownerPropsReferences: [\n 'SidebarPanelActionEntry',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar\\' (client-ui-sidebar), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-entry-customization EntryMenuContent id \\'entry-customization\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.panellist.actions\\', () => ctx.slots.register(\\n { name: \\'sidebar.panellist.actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar/src/client/contract/slots.ts:49',\n },\n {\n key: 'sidebar.right.pane.tab',\n kind: 'keyed',\n scope: 'session',\n summary: 'One tab\\'s body, dispatched with the `id` of the type in force for `tab.kind`.',\n doc: 'One tab\\'s body, dispatched with the `id` of the type in force for\\n`tab.kind`. A tab type registers here under its definition\\'s `id` and\\nreceives every tab of that kind, in every pane, docked or floating. A kind\\nwith no type in force renders the owner\\'s \"nothing can view this\" notice\\nrather than an empty pane.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), none are taken yet',\n hookContext: 'TabHookContext',\n slotInject: 'SidebarRightTabInjected',\n declaredBy: 'an entry in \\'rightbar.session\\' (client-ui-sidebar-right), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-deliverables ReviewTab',\n 'client-ui-plan PlanPreview',\n 'client-ui-schedule ScheduleTaskTab',\n 'client-ui-sidebar-browser BrowserBody',\n 'client-ui-sidebar-documentpreview TextPreview',\n 'client-ui-sidebar-files FilesBody',\n 'client-ui-sidebar-right GuideBody',\n 'client-ui-sidebar-terminal LazyTerminalBody',\n 'client-ui-subagent SidebarChatTab',\n 'experimental-client-ui-forge ForgeTab',\n 'experimental-client-ui-forge ChangesTab',\n 'experimental-liveshare ViewerSharePathBody',\n 'experimental-session-inspector SessionInspectorView',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.pane.tab\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.pane.tab\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-right/src/client/contract/slots.ts:59',\n },\n {\n key: 'sidebar.right.pane.tab.title',\n kind: 'keyed',\n scope: 'session',\n summary: 'A tab\\'s title as its chip (and a floating panel\\'s header) shows it, dispatched with the same key and information hook as the body.',\n doc: 'A tab\\'s title as its chip (and a floating panel\\'s header) shows it,\\ndispatched with the same key and information hook as the body. A type with a\\nlive title — a terminal named after its shell, a chat after its first\\nline — registers here and reads its own store; one without registers\\nnothing and the chip shows the registry\\'s `title(address)` text captured\\nat open time.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), none are taken yet',\n hookContext: 'TabHookContext',\n slotInject: 'SidebarRightTabInjected',\n declaredBy: 'an entry in \\'rightbar.session\\' (client-ui-sidebar-right), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-plan PlanTitle',\n 'client-ui-schedule ScheduleTaskTabTitle',\n 'client-ui-sidebar-browser BrowserTitle',\n 'client-ui-sidebar-documentpreview TextTitle',\n 'client-ui-sidebar-files FilesTitle',\n 'client-ui-sidebar-right GuideTitle',\n 'client-ui-sidebar-terminal TerminalTitle',\n 'experimental-client-ui-forge ForgeTabTitle',\n 'experimental-client-ui-forge ChangesTabTitle',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.pane.tab.title\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.pane.tab.title\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-right/src/client/contract/slots.ts:73',\n },\n {\n key: 'sidebar.right.tab.document',\n kind: 'keyed',\n scope: 'session',\n summary: 'Document body selected by a registered implementation id.',\n doc: 'Document body selected by a registered implementation id.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Content and viewing inputs shared by document bodies and nested PDF presentation. */\\nexport interface DocumentBodyOwner {\\n /** Observe a file read by this renderer. @param address - complete file resource address. */\\n readonly addResource: (address: string) => void\\n /** Replace this renderer\\'s dependencies. @param addresses - complete file resource addresses. */\\n readonly setResources: (addresses: readonly string[]) => void\\n /** Original file address, also readable through the standard useResource hook. */\\n readonly resourceAddress: string\\n /** Ordinary file content or a renderer-owned loading request; text accumulates until eof. */\\n readonly content: DocumentContent\\n /** The document toolbar\\'s current wrapping preference. */\\n readonly wrap: boolean\\n /** Report a renderer-owned scrollport; passing `null` restores the shared body as the owner. */\\n readonly scrollportRef: RefCallback<HTMLElement>\\n}',\n ],\n ownerPropsReferences: [\n 'DocumentContent',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), none are taken yet',\n hookContext: 'UseSidebarRightTabInfo',\n slotInject: '{ hooks: { tabInfo: SlotHookFactory<\\'sidebar.right.tab.document\\', UseSidebarRightTabInfo> } }',\n declaredBy: 'an entry in \\'sidebar.right.pane.tab\\' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-sidebar-documentpreview CodeBody',\n 'client-ui-sidebar-documentpreview LazyExcelBody',\n 'client-ui-sidebar-documentpreview HtmlBody',\n 'client-ui-sidebar-documentpreview ImageBody',\n 'client-ui-sidebar-documentpreview MarkdownBody',\n 'client-ui-sidebar-documentpreview OfficeBody',\n 'client-ui-sidebar-documentpreview LazyPdfBody',\n 'client-ui-sidebar-documentpreview TextBody',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.tab.document\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.tab.document\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:51',\n },\n {\n key: 'sidebar.right.tab.document.action',\n kind: 'keyed',\n scope: 'session',\n summary: 'Renderer-specific controls before the document toolbar\\'s reload button.',\n doc: 'Renderer-specific controls before the document toolbar\\'s reload button.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/**\\n * Ordinary file contents, or a request for the selected renderer to load its content.\\n * Byte arrays are transient UI input, never persisted layout or Session data.\\n */\\nexport type DocumentContent =\\n | { readonly kind: \\'text\\'; readonly text: string; readonly pages: readonly DocumentTextPage[]; readonly eof: boolean }\\n | { readonly kind: \\'bytes\\'; readonly data: Uint8Array<ArrayBuffer> }\\n | {\\n readonly kind: \\'renderer\\'\\n /** Changes on reload or implementation replacement; retained contents belong to one revision. */\\n readonly revision: number\\n /** Report the displayed source version; stale revisions cannot update the owner. @param version - loaded source version. */\\n readonly loaded: (version: string) => void\\n /** End a failed load; a later file change can start another revision. */\\n readonly failed: () => void\\n /** Cancel the current load and start a new revision. */\\n readonly reload: () => void\\n }',\n ],\n ownerPropsReferences: [\n 'DocumentTextPage',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), none are taken yet',\n hookContext: 'UseSidebarRightTabInfo',\n slotInject: '{ hooks: { tabInfo: SlotHookFactory<\\'sidebar.right.tab.document\\', UseSidebarRightTabInfo> } }',\n declaredBy: 'an entry in \\'sidebar.right.pane.tab\\' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-sidebar-documentpreview OfficeFontAction',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.tab.document.action\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.tab.document.action\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:87',\n },\n {\n key: 'sidebar.right.tab.document.actions',\n kind: 'list',\n scope: 'session',\n summary: 'Header toolbar contributions acting on the previewed file, rendered after the preview\\'s own controls once the file\\'s Host path is known.',\n doc: 'Header toolbar contributions acting on the previewed file, rendered\\nafter the preview\\'s own controls once the file\\'s Host path is known.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.right.pane.tab\\' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-open-in-app OpenPathAction id \\'open-in-app\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.tab.document.actions\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.tab.document.actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:66',\n },\n {\n key: 'sidebar.right.tab.document.office.pdf',\n kind: 'keyed',\n scope: 'session',\n summary: 'PDF presentation supplied with Office-owned converted bytes.',\n doc: 'PDF presentation supplied with Office-owned converted bytes.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Content and viewing inputs shared by document bodies and nested PDF presentation. */\\nexport interface DocumentBodyOwner {\\n /** Observe a file read by this renderer. @param address - complete file resource address. */\\n readonly addResource: (address: string) => void\\n /** Replace this renderer\\'s dependencies. @param addresses - complete file resource addresses. */\\n readonly setResources: (addresses: readonly string[]) => void\\n /** Original file address, also readable through the standard useResource hook. */\\n readonly resourceAddress: string\\n /** Ordinary file content or a renderer-owned loading request; text accumulates until eof. */\\n readonly content: DocumentContent\\n /** The document toolbar\\'s current wrapping preference. */\\n readonly wrap: boolean\\n /** Report a renderer-owned scrollport; passing `null` restores the shared body as the owner. */\\n readonly scrollportRef: RefCallback<HTMLElement>\\n}',\n ],\n ownerPropsReferences: [\n 'DocumentContent',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), none are taken yet',\n hookContext: 'UseSidebarRightTabInfo',\n slotInject: '{ hooks: { tabInfo: SlotHookFactory<\\'sidebar.right.tab.document\\', UseSidebarRightTabInfo> } }',\n declaredBy: 'an entry in \\'sidebar.right.tab.document\\' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-sidebar-documentpreview LazyPdfBody',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.tab.document.office.pdf\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.tab.document.office.pdf\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:19',\n },\n {\n key: 'sidebar.right.tab.document.unpreviewable',\n kind: 'list',\n scope: 'session',\n summary: 'Empty-state contributions for a file this preview cannot render, offered where Retry would stand once the file\\'s Host path is known.',\n doc: 'Empty-state contributions for a file this preview cannot render,\\noffered where Retry would stand once the file\\'s Host path is known.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.right.pane.tab\\' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-open-in-app OpenPathEmptyAction id \\'open-in-app\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.tab.document.unpreviewable\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.tab.document.unpreviewable\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:78',\n },\n {\n key: 'sidebar.right.tab.files.actions',\n kind: 'list',\n scope: 'session',\n summary: 'Workspace directory actions after the `files` page\\'s reload control.',\n doc: 'Workspace directory actions after the `files` page\\'s reload control.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.right.pane.tab\\' (client-ui-sidebar-files), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-open-in-app OpenInAppAction id \\'open-in-app\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.tab.files.actions\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.tab.files.actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-files/src/client/index.ts:46',\n },\n {\n key: 'sidebar.right.tab.guide',\n kind: 'chain',\n scope: 'session',\n summary: 'The guide tab\\'s body.',\n doc: 'The guide tab\\'s body. Selectors run in chain order and the first\\nnon-declining entry replaces the shipped guide entirely; with no entry, or\\nwith every entry declining, the shipped guide renders.',\n registerOptions: [\n {\n name: 'select',\n requirement: 'required',\n type: '(owner) => unknown | null',\n doc: 'Pure routing selector. Entries are tried in ascending order; the first non-null result wins and arrives as the component\\'s `matched` prop. All-null falls through to the owner\\'s fallback.',\n },\n ],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: 'UseSidebarRightTabInfo',\n slotInject: '{ hooks: { tabInfo: SlotHookFactory<\\'sidebar.right.tab.guide\\', UseSidebarRightTabInfo> } }',\n declaredBy: 'an entry in \\'sidebar.right.pane.tab\\' (client-ui-sidebar-right), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.tab.guide\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.tab.guide\\', select: owner => null },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-right/src/client/contract/slots.ts:84',\n },\n {\n key: 'sidebar.right.tab.guide.actions',\n kind: 'list',\n scope: 'root',\n summary: 'Rows of the guide\\'s More menu; the guide shows More only while this list has registrations.',\n doc: 'Rows of the guide\\'s More menu; the guide shows More only while this list has registrations.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of the guide\\'s More menu rows. */\\nexport interface SidebarRightGuideActionsOwnerProps {\\n /** Guide cards in registry order; cards of kind `files` are never listed. */\\n readonly entries: readonly SidebarRightGuideActionEntry[]\\n /**\\n * Open a card\\'s tab type in the guide\\'s place without changing its pin state.\\n * @param id - Listed card id.\\n */\\n readonly onOpen: (id: string) => void\\n /**\\n * Show (true) or unpin (false) a guide card.\\n * @param id - Listed card id.\\n * @param pinned - Whether the card shows on the guide.\\n */\\n readonly onPinnedChange: (id: string, pinned: boolean) => void\\n /** Close the More menu. */\\n readonly onDismiss: () => void\\n}',\n ],\n ownerPropsReferences: [\n 'SidebarRightGuideActionEntry',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.right.pane.tab\\' (client-ui-sidebar-right), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-entry-customization EntryMenuContent id \\'entry-customization\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.tab.guide.actions\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.tab.guide.actions\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-right/src/client/contract/slots.ts:91',\n },\n {\n key: 'sidebar.right.tab.guide.entry',\n kind: 'keyed',\n scope: 'session',\n summary: 'One provider\\'s guide card, with the standard card as the owner\\'s fallback.',\n doc: 'One provider\\'s guide card, with the standard card as the owner\\'s fallback.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Resolved guide copy and entry identity supplied to a provider\\'s card renderer. */\\nexport interface SidebarRightGuideEntryOwnerProps {\\n readonly entryId: string\\n readonly kind: string\\n readonly title: string\\n readonly description?: string\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), none are taken yet',\n hookContext: 'UseSidebarRightTabInfo',\n slotInject: '{ hooks: { tabInfo: SlotHookFactory<\\'sidebar.right.tab.guide.entry\\', UseSidebarRightTabInfo> } }',\n declaredBy: 'an entry in \\'sidebar.right.pane.tab\\' (client-ui-sidebar-right), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-sidebar-terminal TerminalGuide',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.tab.guide.entry\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.tab.guide.entry\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-right/src/client/contract/slots.ts:93',\n },\n {\n key: 'sidebar.right.tab.menu.item',\n kind: 'list',\n scope: 'session',\n summary: 'Extra items at the end of one tab\\'s actions menu, in registration order.',\n doc: 'Extra items at the end of one tab\\'s actions menu, in registration order.\\nEntries decide their own visibility from the tab they are given. Without a\\nregistrant the menu shows only the kit\\'s own layout actions.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of one tab-menu item occurrence. */\\nexport interface SidebarRightTabMenuOwnerProps {\\n /** The tab whose menu is open. */\\n tab: TabRecord\\n /**\\n * Dismiss the menu.\\n *\\n * An item that acts MUST call this: the menu is the kit\\'s, and it closes on\\n * its own actions only. An item that leaves it open leaves a menu floating\\n * over content the action may have just replaced.\\n */\\n dismiss: () => void\\n}',\n ],\n ownerPropsReferences: [\n 'TabRecord',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'contextMenu.content\\' (client-ui-sidebar-right), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.right.tab.menu.item\\', () => ctx.slots.register(\\n { name: \\'sidebar.right.tab.menu.item\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar-right/src/client/contract/slots.ts:105',\n },\n {\n key: 'sidebar.session.row.hover',\n kind: 'list',\n scope: 'root',\n summary: 'Section of the Session row\\'s hover card between its relative time and its trailing status line.',\n doc: 'Section of the Session row\\'s hover card between its relative time and\\nits trailing status line. Mounted only while that card is open.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/**\\n * Owner share of the two Session-row schedule seats. Both receive only the\\n * row\\'s Session identity: the occupant reads that Session\\'s own scheduled\\n * tasks, and reading them activates nothing.\\n */\\nexport interface SessionRowScheduleOwnerProps {\\n /** Session this row shows; the occupant addresses its own data by this id. */\\n readonly sessionId: SessionId\\n}',\n ],\n ownerPropsReferences: [\n 'SessionId',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.workspaces\\' (client-ui-workspace), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-schedule SessionScheduleHover id \\'schedule-tasks\\'',\n 'experimental-client-ui-forge SessionHoverForge id \\'forge-panel.row\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.session.row.hover\\', () => ctx.slots.register(\\n { name: \\'sidebar.session.row.hover\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-workspace/src/client/contract/slots.ts:163',\n },\n {\n key: 'sidebar.session.row.leading',\n kind: 'list',\n scope: 'root',\n summary: 'Leading decoration of one Session row, in the 16px cell before the title that the row\\'s own state dot otherwise occupies.',\n doc: 'Leading decoration of one Session row, in the 16px cell before the title\\nthat the row\\'s own state dot otherwise occupies. A higher-priority state\\n(a pending interaction, a new message, live activity) replaces the seat\\nwith that dot for the same row, so an occupant here never renders beside\\na status dot and is mounted only by a row whose primary state is idle.\\nAn archived row keeps that cell blank — neither its status dot nor this\\nseat renders there, and its live status appears on the hover card only.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/**\\n * Owner share of the two Session-row schedule seats. Both receive only the\\n * row\\'s Session identity: the occupant reads that Session\\'s own scheduled\\n * tasks, and reading them activates nothing.\\n */\\nexport interface SessionRowScheduleOwnerProps {\\n /** Session this row shows; the occupant addresses its own data by this id. */\\n readonly sessionId: SessionId\\n}',\n ],\n ownerPropsReferences: [\n 'SessionId',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.workspaces\\' (client-ui-workspace), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-schedule SessionScheduleMark id \\'schedule-mark\\'',\n 'experimental-liveshare ViewerForkMarker id \\'liveshare.fork\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.session.row.leading\\', () => ctx.slots.register(\\n { name: \\'sidebar.session.row.leading\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-workspace/src/client/contract/slots.ts:149',\n },\n {\n key: 'sidebar.session.row.trailing',\n kind: 'list',\n scope: 'root',\n summary: 'Non-interactive icons after the row\\'s time label, before its pin marker, in ascending `order`.',\n doc: 'Non-interactive icons after the row\\'s time label, before its pin marker,\\nin ascending `order`. On hover-capable devices, hidden while the row is\\nhovered, has keyboard focus on itself or its actions, or has an open menu.\\nHoverless devices keep the icons beside the menu trigger. Blank Sessions\\nomit the slot. Occupants address their own data by Session id; they must not\\nbind or retain the Session.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of the trailing icon list; rendering does not bind the Session. */\\nexport interface SessionRowTrailingOwnerProps {\\n /** Session this row shows. */\\n readonly sessionId: SessionId\\n}',\n ],\n ownerPropsReferences: [\n 'SessionId',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.workspaces\\' (client-ui-workspace), so it exists while that entry is mounted',\n occupants: [\n 'experimental-client-ui-forge SessionRowForge id \\'forge-panel.row\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.session.row.trailing\\', () => ctx.slots.register(\\n { name: \\'sidebar.session.row.trailing\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-workspace/src/client/contract/slots.ts:158',\n },\n {\n key: 'sidebar.settings',\n kind: 'single',\n scope: 'root',\n summary: 'The settings seat at the sidebar foot.',\n doc: 'The settings seat at the sidebar foot. Declared by this package\\'s\\n\\'sidebar\\' entry; ui-settings registers its trigger row + modal panel.\\nThe sidebar passes only its column state — it holds no settings state.',\n registerOptions: [],\n ownerProps: [\n '/**\\n * Owner share of the sidebar settings seat: the column display state the\\n * occupant\\'s trigger row must render against (wide row vs rail icon).\\n */\\nexport interface SidebarSettingsOwnerProps {\\n /** Whether the sidebar renders wide content (false = 56px rail). */\\n wide: boolean\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar\\' (client-ui-sidebar), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-general SettingsRoot',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.settings\\', () => ctx.slots.register(\\n { name: \\'sidebar.settings\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar/src/client/contract/slots.ts:70',\n },\n {\n key: 'sidebar.toggle.badge',\n kind: 'single',\n scope: 'root',\n summary: 'Non-interactive notification inside the collapsed sidebar expand button.',\n doc: 'Non-interactive notification inside the collapsed sidebar expand button.',\n registerOptions: [],\n ownerProps: [],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar\\' (client-ui-sidebar), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-settings-general DesktopUpdateBadge',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.toggle.badge\\', () => ctx.slots.register(\\n { name: \\'sidebar.toggle.badge\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar/src/client/contract/slots.ts:31',\n },\n {\n key: 'sidebar.workspaces',\n kind: 'single',\n scope: 'root',\n summary: 'The workspace/session browsing region: section header, search, the grouped/flat session list, and every workspace dialog.',\n doc: 'The workspace/session browsing region: section header, search, the\\ngrouped/flat session list, and every workspace dialog. Declared by this\\npackage\\'s \\'sidebar\\' entry (declaring is claiming); ui-workspace\\nregisters the browser. The section renders inside the sidebar viewport,\\nwhich is a size container one viewport tall and a scroll-state container,\\nand binds its own vertical scroller through `useSectionScroller`.',\n registerOptions: [],\n ownerProps: [\n '/**\\n * Owner share of the browser hole — the only facts crossing the shell/region\\n * boundary. Business data and actions arrive through the region\\'s own inject.\\n */\\nexport interface SidebarSectionOwnerProps {\\n /** Shell fold-state output: wide renders the full browser, rail the icon column. */\\n wide: boolean\\n /** Ensure the sidebar is visible; safe to call while already expanded. */\\n expandSidebar: () => void\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: 'SidebarSectionHookContext',\n slotInject: 'SidebarSectionInjected',\n declaredBy: 'an entry in \\'sidebar\\' (client-ui-sidebar), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-workspace WorkspaceBrowser',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.workspaces\\', () => ctx.slots.register(\\n { name: \\'sidebar.workspaces\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-sidebar/src/client/contract/slots.ts:58',\n },\n {\n key: 'sidebar.workspaces.directoryFlow',\n kind: 'single',\n scope: 'root',\n summary: 'Directory-flow hole under the sidebar browsing region (declared by the WorkspaceBrowser entry).',\n doc: 'Directory-flow hole under the sidebar browsing region (declared by the WorkspaceBrowser entry).',\n registerOptions: [],\n ownerProps: [\n '/**\\n * Owner share of the directory-flow holes: the complete conversation between\\n * the trigger surface and the picking interaction. The occupant reads `open`\\n * to run/render its interaction and reports exactly one outcome per open.\\n */\\nexport interface DirectoryFlowOwnerProps {\\n /** True while a picking interaction is requested; flipping back to false withdraws the request. */\\n open: boolean\\n /** True while the owner adopts a picked path (`createWorkspace` in flight); occupants disable their commit affordances. */\\n busy: boolean\\n /** The operator picked a directory (absolute host path); the owner adopts it. */\\n onPicked: (path: string) => void\\n /** The operator dismissed the interaction; the owner just closes the flow. */\\n onCancel: () => void\\n /** The interaction itself failed (chooser missing, listing denied); the owner shows its error surface. */\\n onError: (message: string) => void\\n}',\n ],\n ownerPropsReferences: [],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.workspaces\\' (client-ui-workspace), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-directory-picker-browse BrowseDirectoryFlow',\n 'client-ui-directory-picker-native NativeDirectoryFlow',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.workspaces.directoryFlow\\', () => ctx.slots.register(\\n { name: \\'sidebar.workspaces.directoryFlow\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-workspace/src/client/contract/slots.ts:139',\n },\n {\n key: 'sidebar.workspaces.session.menu.item',\n kind: 'list',\n scope: 'root',\n summary: 'Legacy external Session menu rows, in ascending `order`, rendered together before the built-in Archive action.',\n doc: 'Legacy external Session menu rows, in ascending `order`, rendered\\ntogether before the built-in Archive action. Built-in actions use\\nctx.contextMenus; Slot priority cannot replace them. Each entry renders a\\n`role=\"menuitem\"` button, owns its visibility and localized label,\\nand dismisses through `useMenuOpenState`. The shared menu supplies\\nkeyboard navigation and focus return.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of one Session row action occurrence: the row the action belongs to. */\\nexport interface SessionRowOwnerProps {\\n /** Session the row shows. */\\n sessionId: SessionId\\n /** Row display title: persisted title, or empty when the Session has none. */\\n displayTitle: string\\n}',\n ],\n ownerPropsReferences: [\n 'SessionId',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: 'MenuOpenState',\n slotInject: '{ hooks: { menuOpenState: SlotHookFactory<\\'sidebar.workspaces.session.menu.item\\', UseMenuOpenState> shortcuts: HostObservable<readonly ShortcutCatalogEntry[]> } }',\n declaredBy: 'an entry in \\'contextMenu.content\\' (client-ui-workspace), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n const copyLabel = \\'Copy session title\\' // Localize in the contributing package.\\n ctx.slots.inject(\\'sidebar.workspaces.session.menu.item\\', () => ctx.slots.register(\\n { name: \\'sidebar.workspaces.session.menu.item\\', id: \\'copy-session-title\\', order: 500 },\\n ({ displayTitle, useMenuOpenState }) => {\\n const [, setMenuOpen] = useMenuOpenState()\\n return React.createElement(\\n \\'button\\',\\n {\\n type: \\'button\\', role: \\'menuitem\\',\\n onClick: () => { setMenuOpen(false); void navigator.clipboard.writeText(displayTitle) },\\n },\\n copyLabel,\\n )\\n },\\n ))\\n },\\n}',\n source: 'packages/client/ui-workspace/src/client/contract/slots.ts:193',\n },\n {\n key: 'sidebar.workspaces.session.row.action',\n kind: 'list',\n scope: 'root',\n summary: 'The hover buttons at the end of one Session row, in ascending `order`, after the \"...\" menu trigger.',\n doc: 'The hover buttons at the end of one Session row, in ascending `order`,\\nafter the \"...\" menu trigger. ui-workspace registers `archive` (100) and\\n`pin` (200) here. An entry renders one icon button (or nothing, when its\\naction does not apply to the row) and owns the action it performs. Clicks\\ninside the strip stay in the strip, so the button needs no propagation\\nhandling to keep the row from opening. Hoverless devices hide this slot;\\ncontribute the action to the menu list as well for touch access.',\n registerOptions: [\n {\n name: 'id',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it.',\n },\n {\n name: 'order',\n requirement: 'optional',\n type: 'number',\n doc: 'Position among the entries, ascending (default 0).',\n },\n {\n name: 'label',\n requirement: 'optional',\n type: 'string | (() => string)',\n doc: 'Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering.',\n },\n ],\n ownerProps: [\n '/** Owner share of one Session row action occurrence: the row the action belongs to. */\\nexport interface SessionRowOwnerProps {\\n /** Session the row shows. */\\n sessionId: SessionId\\n /** Row display title: persisted title, or empty when the Session has none. */\\n displayTitle: string\\n}',\n ],\n ownerPropsReferences: [\n 'SessionId',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'sidebar.workspaces\\' (client-ui-workspace), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-workspace ArchiveSessionRowButton id \\'archive\\'',\n 'client-ui-workspace PinSessionRowButton id \\'pin\\'',\n ],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'sidebar.workspaces.session.row.action\\', () => ctx.slots.register(\\n { name: \\'sidebar.workspaces.session.row.action\\', id: \\'my-entry\\', order: 100, label: \\'My entry\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-workspace/src/client/contract/slots.ts:212',\n },\n {\n key: 'tool.call.images',\n kind: 'single',\n scope: 'session',\n summary: 'Durable images of a settled image-bearing Tool call, rendered through the attachment presentation plugin.',\n doc: 'Durable images of a settled image-bearing Tool call, rendered through\\nthe attachment presentation plugin. The Tool layer never imports an\\nattachment implementation: a toolview declares this slot as a child and\\nrenders it with the image card\\'s references plus the Gateway-authorized\\nloader it received in its owner, and the attachment plugin fills the\\ngallery. Composing no attachment presentation plugin renders nothing,\\nwhich is why the image card keeps its own envelope text beside the\\ngallery. A child slot is declared by exactly one entry: registering a\\nsecond toolview that declares the same child throws at load, so a\\nfuture image-bearing tool must reuse this entry or own a distinct\\nslot.',\n registerOptions: [],\n ownerProps: [\n '/** Owner currency of the Tool image gallery slot: references plus the loader. */\\nexport interface ToolImagesOwnerProps {\\n /** Durable references or submission-echo previews in result order. */\\n images: readonly MessageImageSource[]\\n /** Gateway-authorized image URL loader for the durable arm. */\\n loadImage: MessageImageLoader\\n /** Horizontal placement inside the owning record. */\\n align: \\'start\\' | \\'end\\'\\n}',\n ],\n ownerPropsReferences: [\n 'MessageImageLoader',\n 'MessageImageSource',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: '',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'tool.call.toolview\\' (client-ui-tool), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-attachment MessageImages',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'tool.call.images\\', () => ctx.slots.register(\\n { name: \\'tool.call.images\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-tool/src/client/contract/slots.ts:41',\n },\n {\n key: 'tool.call.toolview',\n kind: 'keyed',\n scope: 'session',\n summary: 'Keyed Tool view dispatched by wire name, including custom tools.',\n doc: 'Keyed Tool view dispatched by wire name, including custom tools.\\nRegister with `key: \\'<tool name>\\'`; a typo never renders.\\nOccupied keys replace the view; unclaimed keys use the generic row. Owner\\nphase data includes `name` and lazy `args`; preparing arguments may be incomplete.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Standard owner currency supplied to every atomic Tool view. */\\nexport interface ToolCallCommonProps {\\n /** Stable Hook; each invocation owns its open state and subscribes to enclosing-Turn resets. */\\n useDisclosure: UseDisclosure\\n /** Call identity, stable across all stages. */\\n callId: string\\n /** Wire Tool name and keyed dispatch value. */\\n toolName: string\\n /** Session workspace root for relative summaries. */\\n cwd?: string | undefined\\n /** Host account home; POSIX home-rooted summaries display as `~`. */\\n home?: string | undefined\\n /** Open an argument path at its optional requested line. */\\n openFile: (path: string, options?: OpenFileOptions) => void\\n /** Chat-supplied, Gateway-authorized loader for durable images; Tool views do not manage attachment URLs. */\\n loadImage: MessageImageLoader\\n /** Inspect this call in the trajectory view when available. */\\n inspect?: (() => void) | undefined\\n}',\n '/** Common owner callbacks and the data admitted at the current tool stage. */\\nexport type ToolCallOwnerProps = ToolCallCommonProps & ToolCallPhaseProps',\n '/** Stage-specific tool data; only start/result expose the dispatched call material. */\\nexport type ToolCallPhaseProps =\\n | { readonly phase: \\'preparing\\'; readonly block: PreparingToolCall }\\n | { readonly phase: \\'start\\'; readonly block: StartedToolCall }\\n | { readonly phase: \\'result\\'; readonly block: ToolResultNode }',\n ],\n ownerPropsReferences: [\n 'MessageImageLoader',\n 'OpenFileOptions',\n 'PreparingToolCall',\n 'StartedToolCall',\n 'ToolResultNode',\n 'UseDisclosure',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: apply_patch, ask_user_question, bash, cordis_define, cordis_inspect_list, cordis_inspect_query, cordis_inspect_self, cordis_run, cordis_stop, cordis_undefine, create_goal, edit, get_goal, glob, grep, interrupt_agent, job_kill, job_list, job_output, list_agents, list_subagent_models, lsp, office_convert, office_recalculate, office_render, present, propose_action, ralph, read, read_image, schedule_create, schedule_delete, schedule_edit, schedule_list, schedule_update, schedule_view, send_message, session_event_read, session_event_search, session_event_trace, session_search, session_trace, skill, spawn_teammate, subagent, subagent_fork, team_task_create, team_task_get, team_task_list, team_task_update, terminal_close, terminal_list, terminal_open, terminal_read, terminal_signal, todo_write, update_goal, wait_agent, web_fetch, web_search, workflow, write',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'conversation.chat.node\\' (client-ui-tool), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-deliverables PresentRow key \\'present\\'',\n 'client-ui-skill SkillRow key \\'skill\\'',\n 'client-ui-tool AskQuestionRow key \\'ask_user_question\\'',\n 'client-ui-tool BashRow key \\'bash\\'',\n 'client-ui-tool DetailsRow key \\'create_goal\\'',\n 'client-ui-tool DetailsRow key \\'get_goal\\'',\n 'client-ui-tool DetailsRow key \\'update_goal\\'',\n 'client-ui-tool DetailsRow key \\'schedule_create\\'',\n 'client-ui-tool DetailsRow key \\'schedule_list\\'',\n 'client-ui-tool DetailsRow key \\'schedule_view\\'',\n 'client-ui-tool DetailsRow key \\'schedule_edit\\'',\n 'client-ui-tool DetailsRow key \\'schedule_delete\\'',\n 'client-ui-tool DetailsRow key \\'schedule_update\\'',\n 'client-ui-tool DetailsRow key \\'cordis_inspect_list\\'',\n 'client-ui-tool DetailsRow key \\'cordis_inspect_query\\'',\n 'client-ui-tool DetailsRow key \\'cordis_inspect_self\\'',\n 'client-ui-tool DetailsRow key \\'workflow\\'',\n 'client-ui-tool DetailsRow key \\'ralph\\'',\n 'client-ui-tool DetailsRow key \\'session_event_read\\'',\n 'client-ui-tool DetailsRow key \\'session_event_search\\'',\n 'client-ui-tool DetailsRow key \\'session_event_trace\\'',\n 'client-ui-tool DetailsRow key \\'session_search\\'',\n 'client-ui-tool DetailsRow key \\'session_trace\\'',\n 'client-ui-tool DetailsRow key \\'list_subagent_models\\'',\n 'client-ui-tool DetailsRow key \\'subagent\\'',\n 'client-ui-tool DetailsRow key \\'subagent_fork\\'',\n 'client-ui-tool DetailsRow key \\'list_agents\\'',\n 'client-ui-tool DetailsRow key \\'send_message\\'',\n 'client-ui-tool DetailsRow key \\'interrupt_agent\\'',\n 'client-ui-tool DetailsRow key \\'job_list\\'',\n 'client-ui-tool DetailsRow key \\'job_output\\'',\n 'client-ui-tool DetailsRow key \\'job_kill\\'',\n 'client-ui-tool DetailsRow key \\'terminal_open\\'',\n 'client-ui-tool DetailsRow key \\'terminal_read\\'',\n 'client-ui-tool DetailsRow key \\'terminal_list\\'',\n 'client-ui-tool DetailsRow key \\'terminal_signal\\'',\n 'client-ui-tool DetailsRow key \\'terminal_close\\'',\n 'client-ui-tool DetailsRow key \\'lsp\\'',\n 'client-ui-tool DetailsRow key \\'spawn_teammate\\'',\n 'client-ui-tool DetailsRow key \\'team_task_create\\'',\n 'client-ui-tool DetailsRow key \\'team_task_get\\'',\n 'client-ui-tool DetailsRow key \\'team_task_update\\'',\n 'client-ui-tool DetailsRow key \\'team_task_list\\'',\n 'client-ui-tool DetailsRow key \\'wait_agent\\'',\n 'client-ui-tool FileMutationRow key \\'apply_patch\\'',\n 'client-ui-tool FileMutationRow key \\'edit\\'',\n 'client-ui-tool FileMutationRow key \\'write\\'',\n 'client-ui-tool OfficeRow key \\'office_render\\'',\n 'client-ui-tool OfficeRow key \\'office_convert\\'',\n 'client-ui-tool OfficeRow key \\'office_recalculate\\'',\n 'client-ui-tool ReadImageRow key \\'read_image\\'',\n 'client-ui-tool ReadRow key \\'read\\'',\n 'client-ui-tool SearchRow key \\'grep\\'',\n 'client-ui-tool SearchRow key \\'glob\\'',\n 'client-ui-tool TodoRow key \\'todo_write\\'',\n 'client-ui-tool WebRow key \\'web_search\\'',\n 'client-ui-tool WebRow key \\'web_fetch\\'',\n 'client-ui-action-cards ProposeRow key \\'propose_action\\'',\n 'client-ui-cordis CordisDefineRow key \\'cordis_define\\'',\n 'client-ui-cordis CordisRunRow key \\'cordis_run\\'',\n 'client-ui-cordis CordisActionRow key \\'cordis_stop\\'',\n 'client-ui-cordis CordisActionRow key \\'cordis_undefine\\'',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'tool.call.toolview\\', () => ctx.slots.register(\\n { name: \\'tool.call.toolview\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-tool/src/client/contract/slots.ts:23',\n },\n {\n key: 'tool.view.cordis',\n kind: 'keyed',\n scope: 'session',\n summary: 'Interactive Package-owned region rendered inside the latest eligible `cordis_run` card in the conversation flow.',\n doc: 'Interactive Package-owned region rendered inside the latest eligible\\n`cordis_run` card in the conversation flow. Use it for controls and other\\nUI the user can interact with. Dynamic Client code registers with\\n`key: \\'self\\'`; the Guard binds that key to the current Plugin and Package.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Owner currency delivered to a dynamic Package\\'s business view. */\\nexport interface CordisToolViewOwnerProps {\\n readonly pluginId: CordisDynamicPluginId\\n readonly packageId: CordisDynamicPackageId\\n readonly pluginRunId: CordisDynamicPluginRunId\\n}',\n ],\n ownerPropsReferences: [\n 'CordisDynamicPackageId',\n 'CordisDynamicPluginId',\n 'CordisDynamicPluginRunId',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n 'useChat: UseChat',\n 'useConversation: UseConversation',\n 'useInput: SnapshotSelectorHook<InputState>',\n 'inputActions: InputActions',\n 'useSession: SessionSnapshotSelector',\n 'sessionId: SessionId',\n 'useProjection: UseProjection',\n 'useAccess: (action: RemoteEndpoint) => boolean',\n 'useTrajectory: UseTrajectory',\n ],\n keyDomain: 'open: any string the owner dispatches (no compile-time key set), none are taken yet',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'tool.call.toolview\\' (client-ui-cordis), so it exists while that entry is mounted',\n occupants: [],\n replaceRisk: 'none',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'tool.view.cordis\\', () => ctx.slots.register(\\n { name: \\'tool.view.cordis\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/extensions/ui-cordis/src/client/slots.ts:31',\n },\n {\n key: 'workspace.toast',\n kind: 'keyed',\n scope: 'root',\n summary: 'Workspace notices selected by their existing business discriminator.',\n doc: 'Workspace notices selected by their existing business discriminator.',\n registerOptions: [\n {\n name: 'key',\n requirement: 'required',\n type: 'string',\n doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',\n },\n ],\n ownerProps: [\n '/** Owner operations available to every keyed Workspace notice. */\\nexport interface WorkspaceToastOwnerProps {\\n /** Dismiss the displayed notice. */\\n dismissToast: () => void\\n}',\n ],\n ownerPropsReferences: [\n 'Workspace',\n ],\n standardProps: [\n 'useRemoteAccess: (action: RemoteEndpoint) => boolean',\n 'useResource: UseResource',\n 'useContextMenu: UseContextMenu',\n 'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',\n 'usePanelInfo: UsePanelInfo',\n 'useSessions: UseSessions',\n 'useSessionStatus: UseSessionStatus',\n 'useSessionRetainInfo: UseSessionRetainInfo',\n 'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',\n 'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',\n ],\n keyDomain: 'fixed by the owner\\'s key table { [K in ToastKind]: ToastNotice<K> }, already taken: archivedNotOpenable, createFailed, defaultWorkspaceFailed, forkRequiresOpen, pinFailed, sessionIdCopied, sessionIdCopyFailed, shortcutForkFailed, unpinFailed',\n hookContext: '',\n slotInject: '',\n declaredBy: 'an entry in \\'shell.overlay\\' (client-ui-workspace), so it exists while that entry is mounted',\n occupants: [\n 'client-ui-workspace ToastEntry<PropsRuntime<\\'workspace.toast\\', \\'sessionIdCopi… key \\'sessionIdCopied\\'',\n 'client-ui-workspace ToastEntry<PropsRuntime<\\'workspace.toast\\', \\'sessionIdCopy… key \\'sessionIdCopyFailed\\'',\n 'client-ui-workspace ToastEntry<PropsRuntime<\\'workspace.toast\\', \\'pinFailed\\'>> key \\'pinFailed\\'',\n 'client-ui-workspace ToastEntry<PropsRuntime<\\'workspace.toast\\', \\'unpinFailed\\'>> key \\'unpinFailed\\'',\n 'client-ui-workspace ToastEntry<PropsRuntime<\\'workspace.toast\\', \\'archivedNotOp… key \\'archivedNotOpenable\\'',\n 'client-ui-workspace ToastEntry<PropsRuntime<\\'workspace.toast\\', \\'defaultWorksp… key \\'defaultWorkspaceFailed\\'',\n 'client-ui-workspace ToastEntry<PropsRuntime<\\'workspace.toast\\', \\'shortcutForkF… key \\'shortcutForkFailed\\'',\n 'client-ui-workspace ToastEntry<PropsRuntime<\\'workspace.toast\\', \\'createFailed\\'>> key \\'createFailed\\'',\n 'client-ui-workspace ToastEntry<PropsRuntime<\\'workspace.toast\\', \\'forkRequiresO… key \\'forkRequiresOpen\\'',\n 'client-ui-workspace ArchiveToastEntry',\n ],\n replaceRisk: 'shadows-shipped-ui',\n example: 'return {\\n inject: [\\'slots\\'],\\n apply(ctx) {\\n ctx.slots.inject(\\'workspace.toast\\', () => ctx.slots.register(\\n { name: \\'workspace.toast\\', key: \\'<one key the owner dispatches>\\' },\\n () => React.createElement(\\'div\\', null, \\'hello\\'),\\n ))\\n },\\n}',\n source: 'packages/client/ui-workspace/src/client/contract/toast.ts:53',\n },\n]\n/* jscpd:ignore-end */\n","/** Built-in Client inspect providers over live Client-owned services. */\n\nimport type { Context } from '@deepseek-ai/cordis'\nimport type { JsonValue } from '@deepseek-ai/dsh-util-values'\nimport type { SlotRegistry } from '@deepseek-ai/dsh-client-ui-renderer/client'\nimport type {} from '@deepseek-ai/dsh-client-ui-theme/client'\nimport { queryEventApi, queryServiceApi } from './api-catalog.ts'\nimport type { ClientCordisInspectProviderRegistration } from './inspect-registry.ts'\nimport { CLIENT_SLOT_API } from './slot-catalog.ts'\nimport type { ClientSlotEntry } from './slot-catalog.ts'\n\n/* jscpd:ignore-start */\nconst EMPTY_INPUT = { type: 'object', properties: {}, additionalProperties: false } as const\nconst ANY_OUTPUT = { description: 'JSON data owned by this inspect provider.' } as const\nconst SERVICE_INPUT = exactInput('service', 'Exact Service key. Omit it for the compact Service and method-signature directory.')\nconst EVENT_INPUT = exactInput('event', 'Exact Event name. Omit it for the compact Event and listener-signature directory.')\nconst SERVICE_OUTPUT = {\n description: 'Compact Service directory, or one exact Service contract with only its referenced type declarations.',\n} as const\nconst EVENT_OUTPUT = {\n description: 'Compact Event directory, or one exact Event contract with only its referenced type declarations.',\n} as const\n/* jscpd:ignore-end */\nconst SUBTREE_OUTPUT = {\n description: 'Compact topology trees. An exact Slot includes its catalog and occupants; an exact Factory includes identity, scope, and registrant.',\n} as const\nconst SUBTREE_INPUT = {\n type: 'object',\n properties: {\n root: {\n type: 'string',\n description: 'Exact live Slot key or factory:<name>. When supplied, selected contains that declaration.',\n },\n },\n additionalProperties: false,\n} as const\n\n/** Exact Client closure symbols exposed by the evaluator and guard. */\nexport const CLIENT_BUILTIN_INSPECTION: readonly JsonValue[] = [\n {\n name: 'ctx',\n description: 'Restricted Cordis Context. Prefer ctx.get(name) with an undefined check; use inject only for hard dependencies.',\n signatures: [\n 'ctx.get(name: string): unknown | undefined',\n 'ctx.on(name: string, listener: Function): () => void',\n 'ctx.provide(name: string, value: unknown): () => void',\n 'ctx.effect(callback: Function, label?: string): () => void',\n ],\n },\n {\n name: 'React',\n description: 'React runtime exposed without JSX transformation.',\n signatures: ['React.createElement(type, props, ...children): ReactElement', 'React.useState(initial)', 'React.useEffect(effect, deps)'],\n },\n {\n name: 'host',\n description: 'Package-private JSON RPC from Client to this Package\\'s Host half.',\n signatures: ['host.call(method: string, args?: JsonValue): Promise<JsonValue>'],\n },\n {\n name: 'styles',\n description: 'Package-owned stylesheet insertion cleaned up with the Client run.',\n signatures: ['styles.insert(css: string): () => void'],\n },\n {\n name: 'console',\n description: 'Package-tagged browser logging.',\n signatures: ['console.log(...values): void', 'console.error(...values): void'],\n },\n]\n\n/**\n * Construct the first-party Client provider registrations.\n * @param ctx - Client context used for live Service-backed queries.\n * @returns registrations for static catalogs and live Client capabilities.\n */\nexport function clientInspectProviders(ctx: Context): ClientCordisInspectProviderRegistration[] {\n return [\n registration(\n 'Service',\n 'Progressive Client Service discovery: compact capability/signature directory, then one exact coding contract.',\n 'listService',\n input => queryServiceApi(readExact(input, 'service')) as unknown as JsonValue,\n SERVICE_INPUT,\n SERVICE_OUTPUT,\n ),\n registration(\n 'Event',\n 'Progressive Client Event discovery: compact listener directory, then one exact event contract.',\n 'listEvents',\n input => queryEventApi(readExact(input, 'event')) as unknown as JsonValue,\n EVENT_INPUT,\n EVENT_OUTPUT,\n ),\n registration('Builtin', 'Plain-JavaScript symbols available to a dynamic Client half.', 'listBuiltins', () => ({\n builtins: [...CLIENT_BUILTIN_INSPECTION],\n referencedTypes: [],\n })),\n {\n manifest: {\n id: 'Slots',\n description: 'Progressive live Slot inspection with explicit Slot and Factory topology nodes.',\n methods: [{\n name: 'listSubTree',\n description: 'Return compact live Slot and Factory trees, plus available detail for one exact root.',\n inputSchema: SUBTREE_INPUT,\n outputSchema: SUBTREE_OUTPUT,\n }],\n },\n query(method, input) {\n if (method !== 'listSubTree') throw new Error(`unknown Slots inspect method \"${method}\"`)\n const slots = ctx.get('slots')\n if (slots === undefined) throw new Error('Client Slots service is not running')\n const root = typeof input === 'object' && input !== null && !Array.isArray(input)\n && typeof input.root === 'string' ? input.root : undefined\n const trees = slots.snapshot(root)\n const selected = trees[0]\n return Promise.resolve({\n ...root === undefined ? {} : { requestedRoot: { name: root, available: trees.length > 0 } },\n trees: trees.map(compactSlotTree),\n ...root === undefined || selected === undefined ? {} : { selected: inspectLiveSlot(selected) },\n referencedTypes: [],\n })\n },\n },\n registration('Theme', 'Current theme token names and light/dark override requirements.', 'listTokens', () => {\n const theme = ctx.get('theme')\n if (theme === undefined) throw new Error('Client Theme service is not running')\n return { tokens: theme.exportInspectTokens(), referencedTypes: [] } as unknown as JsonValue\n }),\n ]\n}\n\n/* jscpd:ignore-start */\nfunction registration(\n id: string,\n description: string,\n method: string,\n query: (input: JsonValue | undefined) => JsonValue | Promise<JsonValue>,\n inputSchema: JsonValue = EMPTY_INPUT,\n outputSchema: JsonValue = ANY_OUTPUT,\n): ClientCordisInspectProviderRegistration {\n return {\n manifest: {\n id,\n description,\n methods: [{\n name: method,\n description,\n inputSchema,\n outputSchema,\n }],\n },\n async query(requested, input) {\n if (requested !== method) throw new Error(`unknown ${id} inspect method \"${requested}\"`)\n return await query(input)\n },\n }\n}\n\nfunction exactInput(field: string, description: string): JsonValue {\n return { type: 'object', properties: { [field]: { type: 'string', description } }, additionalProperties: false }\n}\n\nfunction readExact(input: JsonValue | undefined, field: string): string | undefined {\n if (input === undefined || input === null || Array.isArray(input) || typeof input !== 'object') return undefined\n const value = input[field]\n return typeof value === 'string' ? value : undefined\n}\n/* jscpd:ignore-end */\n\ntype LiveCompositionNode = ReturnType<SlotRegistry['snapshot']>[number]\n\nconst SLOT_CATALOG = new Map(CLIENT_SLOT_API.map(entry => [entry.key, entry]))\nconst GUARDED_SLOT_KEYS = new Map<string, {\n description: string\n values: readonly { value: string; description: string }[]\n}>([\n ['tool.view.cordis', {\n description: 'fixed by the dynamic Client Guard',\n values: [{\n value: 'self',\n description: 'The only accepted key. The Guard binds it to this Package\\'s pluginId and packageId.',\n }],\n }],\n])\n\nfunction compactSlotTree(node: LiveCompositionNode): JsonValue {\n if (node.type === 'factory') {\n return {\n type: node.type,\n name: node.name,\n scope: node.scope,\n children: node.children.map(compactSlotTree),\n }\n }\n const catalog = SLOT_CATALOG.get(node.name)\n const guardedKeys = catalog === undefined ? undefined : GUARDED_SLOT_KEYS.get(catalog.key)\n return {\n type: node.type,\n name: node.name,\n kind: node.kind,\n scope: node.scope,\n ...catalog === undefined ? {} : {\n purpose: catalog.summary,\n replaceRisk: catalog.replaceRisk,\n ...catalog.registerOptions.length === 0 ? {} : {\n registration: catalog.registerOptions.map(option => ({\n name: option.name,\n type: option.type,\n required: option.requirement === 'required',\n })),\n },\n ...catalog.keyDomain === '' ? {} : {\n keyDomain: guardedKeys?.description ?? catalog.keyDomain,\n ...guardedKeys === undefined ? {} : { allowedKeys: guardedKeys.values.map(value => ({ ...value })) },\n },\n },\n children: node.children.map(compactSlotTree),\n }\n}\n\nfunction inspectLiveSlot(node: LiveCompositionNode): JsonValue {\n if (node.type === 'factory') {\n return {\n type: node.type,\n name: node.name,\n scope: node.scope,\n ...node.registrant === undefined ? {} : { registrant: node.registrant },\n }\n }\n const catalog = SLOT_CATALOG.get(node.name)\n return {\n type: node.type,\n name: node.name,\n kind: node.kind,\n scope: node.scope,\n ...node.declaredBy === undefined ? {} : { declaredBy: node.declaredBy },\n occupants: node.occupants.map(occupant => ({ ...occupant })),\n ...catalog === undefined ? {} : { catalog: inspectSlotCatalog(catalog) },\n }\n}\n\nfunction inspectSlotCatalog(entry: ClientSlotEntry): JsonValue {\n const guardedKeys = GUARDED_SLOT_KEYS.get(entry.key)\n return {\n description: entry.doc,\n registration: entry.registerOptions.map(option => ({\n name: option.name,\n type: option.type,\n required: option.requirement === 'required',\n description: option.doc,\n })),\n ownerProps: [...entry.ownerProps],\n ownerPropsReferences: [...entry.ownerPropsReferences],\n standardProps: [...entry.standardProps],\n keyDomain: guardedKeys?.description ?? entry.keyDomain,\n ...guardedKeys === undefined ? {} : { allowedKeys: guardedKeys.values.map(value => ({ ...value })) },\n hookContext: entry.hookContext,\n slotInject: entry.slotInject,\n replaceRisk: entry.replaceRisk,\n }\n}\n","/**\n * Dynamic-package runner, browser half: the load engine that turns one browser\n * half's source into a live cordis plugin (closure → guard → module table →\n * loader entry, ./runtime.ts), plus the retract announcement that unloads it.\n *\n * Nothing loads on activation: this page holds no dynamic package until a\n * dispatch arrives, and a dispatch only follows a model `cordis_run` or a user\n * pressing a card's start control. A refresh therefore starts clean by design —\n * host process memory still holds the definition, the page simply does not run\n * it until asked again.\n */\n\nimport type { Context } from '@deepseek-ai/cordis'\nimport { TimerService } from '@deepseek-ai/cordis-plugin-timer'\nimport type {\n ApprovalRequestId, CordisDynamicPluginId, DynamicCordisInvokeResult,\n DynamicCordisInventoryRow,\n} from '@deepseek-ai/dsh-api-remotes/client'\nimport type { ClientModuleSystem } from '@deepseek-ai/dsh-client-modules/client'\nimport type { SlotRegistry } from '@deepseek-ai/dsh-client-ui-renderer/client'\nimport type { JsonValue } from '@deepseek-ai/dsh-util-values'\n// The Client Remote assembly is the one place the two planes meet: it mounts the\n// `dynamicCordisRunner` namespace and re-exports its payload vocabulary, so this\n// package names what it sends without importing a Host package.\nimport type { DynamicCordisLivePackage } from './runtime.ts'\nimport { DynamicCordisPackageRunner } from './runtime.ts'\nimport { CordisRunOrchestrator } from './orchestrator.ts'\nimport { ClientCordisInspectRegistry, provideClientCordisInspect } from './inspect-registry.ts'\nimport { clientInspectProviders } from './providers.ts'\nimport type { CordisRunActivity, CordisRunFailure, CordisUserRunRequest } from './orchestrator.ts'\nimport type { CordisObservable, DynamicCordisRenderFailure } from './runtime.ts'\n\nexport { CordisRunOrchestrator } from './orchestrator.ts'\nexport { ClientCordisInspectRegistry } from './inspect-registry.ts'\nexport type {\n ClientCordisInspectHost, ClientCordisInspectProviderRegistration, ClientCordisInspectQueryContext,\n} from './inspect-registry.ts'\nexport type {\n CordisRunActivity, CordisRunFailure, CordisRunHostSeam,\n CordisRunOrchestratorEnv, CordisRunRequest, CordisUserRunRequest,\n} from './orchestrator.ts'\nexport { DynamicCordisPackageRunner } from './runtime.ts'\nexport type {\n CordisObservable, DynamicCordisClientHalf, DynamicCordisLivePackage, DynamicCordisLoadErrorCause,\n DynamicCordisLoadResult, DynamicCordisRenderFailure, DynamicCordisRunnerEnv,\n} from './runtime.ts'\n\nexport { DynamicCordisStyles, evaluateClientHalf, isDynamicCordisPlugin } from './evaluator.ts'\nexport type { DynamicCordisClosureEnv, DynamicCordisEvaluatedPlugin } from './evaluator.ts'\nexport { dynamicCordisContext } from './guard.ts'\nexport type { DynamicCordisGuardEnv, DynamicCordisSlotLedgerRow } from './guard.ts'\n// Re-exported so consumers of the service face and the two events can name\n// their subjects without reaching into the wire contract themselves.\nexport type {\n ApprovalRequestId, CordisDynamicPackageId, CordisDynamicPluginId, CordisDynamicPluginRunId,\n DynamicCordisPackage,\n} from '@deepseek-ai/dsh-api-remotes/client'\n\n\n/**\n * What a run surface reads and calls. The activity map is the single home of\n * \"a run is in flight\", so an affordance never keeps its own copy — that is what\n * makes it survive a remount.\n */\nexport interface CordisRunnerFace {\n /** Each definition's in-flight run activity. */\n readonly activeRuns: CordisObservable<ReadonlyMap<CordisDynamicPluginId, CordisRunActivity>>\n /** The last failure of this page's own run attempt, per definition. */\n readonly lastRunError: CordisObservable<ReadonlyMap<CordisDynamicPluginId, CordisRunFailure>>\n /**\n * This page's last render crash per definition: a browser half that loaded\n * cleanly and then broke while React rendered it. Page-local and current by\n * construction — cleared when the package stops, is retracted, or loads again —\n * which is what makes it safe for a row to render directly. The host keeps its\n * own last-across-pages copy for the model; the two have different owners and\n * lifetimes and neither is derived from the other.\n */\n readonly renderFailures: CordisObservable<ReadonlyMap<CordisDynamicPluginId, DynamicCordisRenderFailure>>\n /**\n * Restore pending approvals after a page reconnect or missed event.\n * @param rows - current dynamic Plugin inventory.\n */\n reconcileApprovals(rows: readonly DynamicCordisInventoryRow[]): void\n /**\n * Answer one run request with \"run it\" and drive both halves.\n * @param requestId - the request being answered; unknown or settled ids are a no-op.\n * @param approveFutureVersions - whether this decision covers later Packages of the same Plugin.\n * @returns after the orchestration settled.\n */\n approve(requestId: ApprovalRequestId, approveFutureVersions: boolean): Promise<void>\n /**\n * Answer one run request with \"do not run it\".\n * @param requestId - the request being answered; unknown or settled ids are a no-op.\n * @returns after the refusal reached the host.\n */\n decline(requestId: ApprovalRequestId): Promise<void>\n /**\n * Run a definition here at the user's own request (the gesture authorizes it).\n * A definition with a browser half also loads onto this page; a host-only one\n * only comes up in the host process.\n * @param request - the definition to run, its session, and whether it has a browser half.\n * @returns after the orchestration settled.\n */\n startUserRun(request: CordisUserRunRequest): Promise<void>\n /**\n * Observe what this page has loaded.\n * @param fn - notified after every converged load or unload.\n * @returns unsubscribe.\n */\n subscribe(fn: () => void): () => void\n /**\n * Read what this page currently has loaded.\n * @returns immutable rows for live Client halves.\n */\n getSnapshot(): readonly DynamicCordisLivePackage[]\n /**\n * Whether this page loaded a definition's browser half — page-local truth,\n * never the host's \"it is running\".\n * @param pluginId - stable Plugin identity.\n * @returns true while a load is live here.\n */\n isLoaded(pluginId: CordisDynamicPluginId): boolean\n}\n\ndeclare module '@deepseek-ai/cordis' {\n interface Context {\n /** Run orchestration and page-local load state: what run surfaces read and call. */\n dynamicCordisRunner: CordisRunnerFace\n }\n}\n\n/** Teaching text for a routing failure the infrastructure itself reports. */\nfunction invokeFailure(pluginId: CordisDynamicPluginId, method: string, result: Extract<DynamicCordisInvokeResult, { ok: false }>): string {\n const where = `host.call(\"${method}\") on ${pluginId}`\n if (result.code === 'plugin-not-running') {\n return `${where} found no active Host half — the Plugin is stopped or was removed.`\n }\n if (result.code === 'stale-run') {\n return `${where} belongs to an activation that has already been replaced.`\n }\n if (result.code === 'method-not-found') {\n return `${where} is not registered: the host half must declare it with harness.handle(\"${method}\", fn).`\n }\n return `${where} failed inside the host handler: ${result.message}`\n}\n\n/** Preserve a Host handler's stack while adding the Client call site diagnosis. */\nfunction invokeError(\n pluginId: CordisDynamicPluginId,\n method: string,\n result: Extract<DynamicCordisInvokeResult, { ok: false }>,\n): Error {\n const error = new Error(invokeFailure(pluginId, method, result))\n if (result.stack !== undefined) error.stack = `${error.stack ?? error.message}\\nHost stack:\\n${result.stack}`\n return error\n}\n\n/**\n * Teaching text for a `host.call` the wire itself refused: the generated codec\n * rejected the argument before sending, or the result on the way back, or the\n * transport broke. The infrastructure's message names the field it refused but\n * not the call it belonged to, and the model authored both halves — so this adds\n * the call and the contract it has to satisfy.\n */\nfunction wireFailure(id: CordisDynamicPluginId, method: string, error: unknown): string {\n const message = error instanceof Error ? error.message : String(error)\n return `host.call(\"${method}\") on ${id} did not complete: ${message}\\n`\n + 'Both directions carry JSON only: pass plain JSON data as the argument — or omit it, and the handler receives '\n + `null — and answer from harness.handle(\"${method}\", fn) with JSON (\\`return null\\` when there is nothing to report).`\n}\n\n/** Stable Cordis plugin name. */\nexport const name = 'cordis-client-runner'\n\n/**\n * Required services: the loader/module chain for entries, the slot registry for\n * contributions, and the `dynamicCordisRunner` Remote namespace. Declaring the\n * namespace parks this plugin until the host side exists, so a page never loads\n * a browser half whose host half it could not reach.\n */\nexport const inject = ['loader', 'modules', 'slots', 'remote', 'remote.dynamicCordisRunner']\n\n/**\n * Client plugin body: build the runner and subscribe the dispatch family.\n * @param ctx - client root context.\n */\nexport function apply(ctx: Context): void {\n new TimerService(ctx)\n const inspect = new ClientCordisInspectRegistry({\n sync: async (providers) => {\n const answered = await ctx.remote.dynamicCordisRunner.syncInspectManifest(providers)\n if (!answered.ok) throw new Error(`${answered.error.code}: ${answered.error.message}`)\n },\n resolve: async (agentId, requestId, resolution) => {\n const answered = await ctx.remote.dynamicCordisRunner.resolveInspectQuery(agentId, requestId, resolution)\n if (!answered.ok) throw new Error(`${answered.error.code}: ${answered.error.message}`)\n },\n })\n provideClientCordisInspect(ctx, inspect)\n for (const provider of clientInspectProviders(ctx)) {\n ctx.effect(() => inspect.register(provider), `cordis-client-runner: inspect ${provider.manifest.id}`)\n }\n ctx.on('connection/reset', () => { inspect.publish() })\n\n const runner = new DynamicCordisPackageRunner({\n ctx,\n loader: ctx.loader,\n modules: ctx.get('modules') as ClientModuleSystem,\n slots: ctx.get('slots') as SlotRegistry,\n invoke: async (pluginId, pluginRunId, method, args) => {\n // Model-authored arguments reach this boundary untyped; the namespace's\n // generated codec is what validates them as JSON, and its rejection is a\n // bare field name — this is the only place that still knows which call it\n // belonged to, so the teaching has to be added here.\n const answered = await ctx.remote.dynamicCordisRunner.invoke(pluginId, pluginRunId, method, args as JsonValue)\n .catch((error: unknown) => { throw new Error(wireFailure(pluginId, method, error)) })\n // Two failure layers, and they teach different things: the carrier's error\n // branch means the call never reached the host half, while the namespace's\n // own `ok: false` is that half answering with a refusal.\n if (!answered.ok) throw new Error(wireFailure(pluginId, method, `${answered.error.code}: ${answered.error.message}`))\n const result = answered.value\n if (result.ok) return result.value\n throw invokeError(pluginId, method, result)\n },\n // Post-settle diagnosis, deliberately fire-and-forget: the run this package\n // belongs to was answered before it ever rendered, so nothing waits on this\n // and a failed report must not turn one crash into two.\n reportRenderFailure: (agentId, pluginId, pluginRunId, failure) => {\n void ctx.remote.dynamicCordisRunner.reportRenderFailure(agentId, pluginId, pluginRunId, failure).then((result) => {\n if (!result.ok) {\n console.error(`[cordis-client-runner] reporting a render failure of ${pluginId} failed:`, result.error)\n }\n }, (error: unknown) => {\n console.error(`[cordis-client-runner] reporting a render failure of ${pluginId} failed:`, error)\n })\n },\n reportGuardFailure: (agentId, pluginId, pluginRunId, failure) => {\n void ctx.remote.dynamicCordisRunner.reportClientGuardFailure(agentId, pluginId, pluginRunId, failure).then((result) => {\n if (!result.ok) {\n console.error(`[cordis-client-runner] reporting a guard failure of ${pluginId} failed:`, result.error)\n }\n }, (error: unknown) => {\n console.error(`[cordis-client-runner] reporting a guard failure of ${pluginId} failed:`, error)\n })\n },\n })\n const orchestrator = new CordisRunOrchestrator({\n runner,\n host: {\n // The seam names business payloads only, so a carrier failure is folded\n // here into whatever each verb already does with one: the short-circuit\n // message for a start, a throw where the caller has a catch of its own.\n runHostHalf: async (agentId, pluginId, packageId, mode, requestId, approveFutureVersions) => {\n const answered = await ctx.remote.dynamicCordisRunner.runHostHalf(\n agentId, pluginId, packageId, mode, requestId, approveFutureVersions,\n )\n return answered.ok ? answered.value : { ok: false, message: `${answered.error.code}: ${answered.error.message}` }\n },\n getClientCode: async (agentId, pluginId, pluginRunId) => {\n const answered = await ctx.remote.dynamicCordisRunner.getClientCode(agentId, pluginId, pluginRunId)\n if (!answered.ok) throw new Error(`${answered.error.code}: ${answered.error.message}`)\n return answered.value\n },\n resolveRequestRun: async (requestId, resolution) => {\n const answered = await ctx.remote.dynamicCordisRunner.resolveRequestRun(requestId, resolution)\n // Thrown rather than returned: `answer` logs and drops a failed answer,\n // and the host settles the request on its own either way.\n if (!answered.ok) throw new Error(`${answered.error.code}: ${answered.error.message}`)\n return answered.value\n },\n settleUserRun: async (agentId, pluginId, resolution) => {\n const answered = await ctx.remote.dynamicCordisRunner.settleUserRun(agentId, pluginId, resolution)\n if (!answered.ok) throw new Error(`${answered.error.code}: ${answered.error.message}`)\n return answered.value\n },\n },\n })\n const face: CordisRunnerFace = {\n activeRuns: orchestrator.activeRuns,\n lastRunError: orchestrator.lastRunError,\n renderFailures: runner.renderFailures,\n reconcileApprovals: (rows) => { orchestrator.reconcileApprovals(rows) },\n approve: (requestId, approveFutureVersions) => orchestrator.approve(requestId, approveFutureVersions),\n decline: requestId => orchestrator.decline(requestId),\n startUserRun: request => orchestrator.startUserRun(request),\n subscribe: fn => runner.subscribe(fn),\n getSnapshot: () => runner.getSnapshot(),\n isLoaded: id => runner.isLoaded(id),\n }\n ctx.provide('dynamicCordisRunner', face)\n ctx.effect(() => () => { void runner.dispose() }, 'cordis-client-runner: dynamic package runner')\n\n // Forwarded Host events: `$on` hands the listener the Host's own argument list,\n // so these read the request itself rather than a transport envelope.\n ctx.remote.$on('cordis/request-run', (request) => {\n orchestrator.open(request)\n })\n ctx.remote.$on('cordis/request-run-resolved', (resolved) => { orchestrator.close(resolved.requestId) })\n ctx.remote.$on('cordis/dynamic-retract', (retracted) => {\n runner.retract(retracted.pluginId, retracted.pluginRunId)\n })\n ctx.remote.$on('cordis/inspect-query', (request) => {\n void inspect.query(request).catch((error: unknown) => {\n console.error(`[cordis-client-runner] inspect query ${request.provider}.${request.method} failed:`, error)\n })\n })\n ctx.remote.$on('cordis/inspect-query-resolved', (resolved) => { inspect.close(resolved.requestId) })\n}\n"],"mappings":";gmCAWA,IAAa,aAAb,cAAkCA,oBAAAA,OAAQ,CACxC,YAAY,IAAc,CACxB,MAAM,IAAK,OAAO,EAClB,IAAI,MAAM,QAAS,CAAC,U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O,UACP,QAAS,uDACT,IAAK;;yEACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CACV;;;EAAA,EAEF,qBAAsB,CACpB,WAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,kGACZ,UAAW,CACT,iEAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,4DAEV,CACE,IAAK,gCACL,KAAM,QACN,MAAO,UACP,QAAS,yCACT,IAAK;;0EACL,gBAAiB,CACf,CACE,KAAM,MACN,YAAa,WACb,KAAM,SACN,IAAK,4IAGT,WAAY,CACV;;;;EAAA,EAEF,qBAAsB,CACpB,UACA,cACA,yBAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,uFACX,YAAa,GACb,WAAY,GACZ,WAAY,kGACZ,UAAW,CACT,gDAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,4DAEV,CACE,IAAK,yBACL,KAAM,SACN,MAAO,UACP,QAAS,2EACT,IAAK,2EACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;;;;EAAA,EAEF,qBAAsB,CACpB,qBACA,oBACA,eAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,sBACb,WAAY,mBACZ,WA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,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,uVACX,YAAa,sBACb,WAAY,mBACZ,WAAY,kGACZ,UAAW,CACT,gDACA,oDACA,sDACA,wDACA,0DACA,wDACA,+CACA,kEACA,qDACA,iDACA,oDACA,6DACA,wDACA,kDACA,+CACA,0DACA,8CACA,kEACA,8DAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,4DAEV,CACE,IAAK,mCACL,KAAM,SACN,MAAO,UACP,QAAS,2DACT,IAAK;;qFACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;;;;;EAAA,EAEF,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,kGACZ,UAAW,CACT,sCACA,wDAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,4DAEV,CACE,IAAK,qCACL,KAAM,QACN,MAAO,UACP,QAAS,gGACT,IAAK,gGACL,gBAAiB,CACf,CACE,KAAM,MACN,YAAa,WACb,KAAM,SACN,IAAK,4IAGT,WAAY,CACV;;;;;;EAAA,EAEF,qBAAsB,CACpB,wBAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,wFACX,YAAa,GACb,WAAY,GACZ,WAAY,6FACZ,UAAW,CACT,iDAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,4DAEV,CACE,IAAK,6BACL,KAAM,OACN,MAAO,UACP,QAAS,sEACT,IAAK;;qDACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CACV;;;;;EAAA,EAEF,qBAAsB,CACpB,cAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,kGACZ,UAAW,CACT,uFACA,2BACA,4DACA,sFAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,4DAEV,CACE,IAAK,gCACL,KAAM,QACN,MAAO,UACP,QAAS,uEACT,IAAK;;;mBACL,gBAAiB,CACf,CACE,KAAM,SACN,YAAa,WACb,KAAM,4BACN,IAAK,+LAGT,WAAY,CACV;;;;;;;;;;;;EAAA,EAEF,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,kGACZ,UAAW,CACT,4CAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,4DAEV,CACE,IAAK,gCACL,KAAM,SACN,MAAO,UACP,QAAS,gHACT,IAAK,gHACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;;;;;;;;;EAAA,EAEF,qBAAsB,CACpB,UACA,qBACA,sBAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,8GACZ,UAAW,CACT,oCAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,4DAEV,CACE,IAAK,wBACL,KAAM,QACN,MAAO,UACP,QAAS,uKACT,IAAK;wEACL,gBAAiB,CACf,CACE,KAAM,SACN,YAAa,WACb,KAAM,4BACN,IAAK,+LAGT,WAAY,CACV;;;;;;;;EAAA,EAEF,qBAAsB,CACpB,YACA,4BACA,mBAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,4GACZ,UAAW,CACT,mCACA,8CACA,4CACA,2BAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,4BACL,KAAM,SACN,MAAO,gBACP,QAAS,2JACT,IAAK;8DACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;;;;;;;;;;;;;;EAAA,EAEF,qBAAsB,CACpB,gCACA,WAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mEACA,kDACA,yCACA,yDACA,mCACA,+BACA,8DAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,4GACZ,UAAW,CACT,iCAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,6BACL,KAAM,OACN,MAAO,UACP,QAAS,sIACT,IAAK;4CACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA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CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mEACA,kDACA,yCACA,yDACA,mCACA,+BACA,8DAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,6GACZ,UAAW,CACT,0CAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,0BACL,KAAM,OACN,MAAO,UACP,QAAS,yIACT,IAAK;4CACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CACV;;;;EAAA,EAEF,qBAAsB,CACpB,aACA,iBAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,4GACZ,UAAW,CACT,8CACA,4CACA,oCACA,qEACA,2EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,0BACL,KAAM,OACN,MAAO,UACP,QAAS,oJACT,IAAK;0DACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,6GACZ,UAAW,CAAA,EACX,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,2BACL,KAAM,SACN,MAAO,UACP,QAAS,+CACT,IAAK;;;4FACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;EAAA,EAEF,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,6GACZ,UAAW,CACT,wCACA,wCAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,iCACL,KAAM,SACN,MAAO,UACP,QAAS,+EACT,IAAK;;0BACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;;;;;;;EAAA,EAEF,qBAAsB,CACpB,oBACA,oBAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,+GACZ,UAAW,CAAA,EACX,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,6DAEV,CACE,IAAK,mCACL,KAAM,OACN,MAAO,UACP,QAAS,gFACT,IAAK,gFACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,+GACZ,UAAW,CACT,qDAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,6DAEV,CACE,IAAK,6BACL,KAAM,OACN,MAAO,UACP,QAAS,0JACT,IAAK;8DACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,6GACZ,UAAW,CACT,wDACA,mDACA,kEAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,gCACL,KAAM,SACN,MAAO,UACP,QAAS,8JACT,IAAK;iEACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;EAAA,EAEF,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,6GACZ,UAAW,CACT,gDACA,6CAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,0BACL,KAAM,SACN,MAAO,UACP,QAAS,wIACT,IAAK;4CACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;EAAA,EAEF,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gC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AAA,EACjB,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,4GACZ,UAAW,CACT,4CAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,8BACL,KAAM,SACN,MAAO,UACP,QAAS,0DACT,IAAK,0DACL,gBAAiB,CAAA,EACjB,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,uGACZ,UAAW,CACT,kDAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,sCACL,KAAM,OACN,MAAO,UACP,QAAS,kIACT,IAAK,kIACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CACV;;;;EAAA,EAEF,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,+GACZ,UAAW,CACT,4DACA,6CACA,sEACA,kEAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,sDACL,KAAM,OACN,MAAO,UACP,QAAS,kDACT,IAAK,kDACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,mHACZ,UAAW,CACT,gDAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,qDAEV,CACE,IAAK,qCACL,KAAM,SACN,MAAO,UACP,QAAS,8GACT,IAAK;;;oDACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;EAAA,EAEF,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,+GACZ,UAAW,CACT,sCAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,sCACL,KAAM,SACN,MAAO,UACP,QAAS,qHACT,IAAK,qHACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;;;;;EAAA,EAEF,qBAAsB,CACpB,WAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,+GACZ,UAAW,CACT,0CAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,wCACL,KAAM,OACN,MAAO,UACP,QAAS,sDACT,IAAK,sDACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CACV;;;;EAAA,EAEF,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,+GACZ,UAAW,CACT,iEACA,6DACA,oEAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,4CACL,KAAM,OACN,MAAO,OACP,QAAS,sGACT,IAAK,sGACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CACV;;;;;;;;;;;;;;;;;EAAA,EAEF,qBAAsB,CACpB,6BAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,qFAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,+GACZ,UAAW,CACT,yEAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,iCACL,KAAM,SACN,MAAO,UACP,QAAS,4EACT,IAAK;;;qBACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;;;;;;;;;EAAA,EAEF,qBAAsB,CACpB,UACA,qBACA,sBAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,mGACZ,UAAW,CACT,oCAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,uEAEV,CACE,IAAK,8BACL,KAAM,QACN,MAAO,UACP,QAAS,gEACT,IAAK,gEACL,gBAAiB,CACf,CACE,KAAM,MACN,YAAa,WACb,KAAM,SACN,IAAK,4IAGT,WAAY,CACV;;;;EAAA,EAEF,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,+JACX,YAAa,GACb,WAAY,GACZ,WAAY,8GACZ,UAAW,CACT,kDACA,wDACA,oDACA,+CACA,mDACA,gDACA,6CACA,6CAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,oBACL,KAAM,OACN,MAAO,UACP,QAAS,gEACT,IAAK,gEACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CACV;;;;;;;;;;EAAA,EAEF,qBAAsB,CACpB,yBAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,wGACZ,UAAW,CACT,oCACA,sDACA,qDAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,4BACL,KAAM,OACN,MAAO,UACP,QAAS,kEACT,IAAK,kEACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CACV;iDACA;;;;;;;;;;;iCAAA,EAEF,qBAAsB,CACpB,sBAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,8GACZ,UAAW,CACT,wDAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,gEAEV,CACE,IAAK,mCACL,KAAM,OACN,MAAO,UACP,QAAS,4DACT,IAAK,4DACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CACV;4BAAA,EAEF,qBAAsB,CACpB,cAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,0GACZ,UAAW,CACT,wDAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,iEAEV,CACE,IAAK,OACL,KAAM,QACN,MAAO,OACP,QAAS,8CACT,IAAK,8IACL,gBAAiB,CACf,CACE,KAAM,MACN,YAAa,WACb,KAAM,SACN,IAAK,4IAGT,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,qFAEF,UAAW,+FACX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,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,qFAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,qGACZ,UAAW,CACT,4CACA,oCAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,8DAEV,CACE,IAAK,4BACL,KAAM,OACN,MAAO,OACP,QAAS,qGACT,IAAK,qGACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CACV;;;;;;;;;;;;;;;;;EAAA,EAEF,qBAAsB,CACpB,yBAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,qFAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,sFACZ,UAAW,CACT,yEAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,8DAEV,CACE,IAAK,yBACL,KAAM,QACN,MAAO,UACP,QAAS,gFACT,IAAK;;;;4BACL,gBAAiB,CACf,CACE,KAAM,MACN,YAAa,WACb,KAAM,SACN,IAAK,4IAGT,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,sFACX,YAAa,iBACb,WAAY,0BACZ,WAAY,qGACZ,UAAW,CACT,mCACA,6BACA,qCACA,wCACA,gDACA,oCACA,oCACA,8CACA,oCACA,wCACA,0CACA,6CACA,uDAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,+BACL,KAAM,QACN,MAAO,UACP,QAAS,qIACT,IAAK;;;;;eACL,gBAAiB,CACf,CACE,KAAM,MACN,YAAa,WACb,KAAM,SACN,IAAK,4IAGT,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,sFACX,YAAa,iBACb,WAAY,0BACZ,WAAY,qGACZ,UAAW,CACT,2BACA,0CACA,yCACA,8CACA,qCACA,qCACA,2CACA,6CACA,gDAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,IAAK,6BACL,KAAM,QACN,MAAO,UACP,QAAS,4DACT,IAAK,4DACL,gBAAiB,CACf,CACE,KAAM,MACN,YAAa,WACb,KAAM,SACN,IAAK,4IAGT,WAAY,CACV;;;;;;;;;;;;;;EAAA,EAEF,qBAAsB,CACpB,iBAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,sFACX,YAAa,yBACb,WAAY,gGACZ,WAAY,qHACZ,UAAW,CACT,6CACA,kDACA,6CACA,8CACA,iDACA,+CACA,gDACA,8CAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,iFAEV,CACE,IAAK,oCACL,KAAM,QACN,MAAO,UACP,QAAS,0EACT,IAAK,0EACL,gBAAiB,CACf,CACE,KAAM,MACN,YAAa,WACb,KAAM,SACN,IAAK,4IAGT,WAAY,CACV;;;;;;;;;;;;;;;;;IAAA,EAEF,qBAAsB,CACpB,kBAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,sFACX,YAAa,yBACb,WAAY,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a,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,qHACZ,UAAW,CACT,4DAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,iFAEV,CACE,IAAK,kCACL,KAAM,OACN,MAAO,UACP,QAAS,uEACT,IAAK,uEACL,gBAAiB,CACf,CACE,KAAM,KACN,YAAa,WACb,KAAM,SACN,IAAK,uMAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,SACN,IAAK,sDAEP,CACE,KAAM,QACN,YAAa,WACb,KAAM,0BACN,IAAK,4KAGT,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,2GACZ,UAAW,CACT,wDAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,2DAEV,CACE,IAAK,0BACL,KAAM,QACN,MAAO,UACP,QAAS,wBACT,IAAK;;wDACL,gBAAiB,CACf,CACE,KAAM,SACN,YAAa,WACb,KAAM,4BACN,IAAK,+LAGT,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,yBACb,WAAY,6FACZ,WAAY,2GACZ,UAAW,CAAA,EACX,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,oEAEV,CACE,I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pB,WAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,qFAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,mGACZ,UAAW,CACT,2DACA,kDAAA,EAEF,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,iEAEV,CACE,IAAK,mBACL,KAAM,SACN,MAAO,UACP,QAAS,4GACT,IAAK;;;;;;;;;;OACL,gBAAiB,CAAA,EACjB,WAAY,CACV;;;;;;;;EAAA,EAEF,qBAAsB,CACpB,qBACA,oBAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,GACX,YAAa,GACb,WAAY,GACZ,WAAY,8FACZ,UAAW,CACT,oCAAA,EAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,2DAEV,CACE,IAAK,qBACL,KAAM,QACN,MAAO,UACP,QAAS,mEACT,IAAK,6RACL,gBAAiB,CACf,CACE,KAAM,MACN,YAAa,WACb,KAAM,SACN,IAAK,4IAGT,WAAY,CACV;;;;;;;;;;;;;;;;;;GACA;2EACA;;;;mEAEF,qBAAsB,CACpB,qBACA,kBACA,oBACA,kBACA,iBACA,iBAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,i7BACX,YAAa,GACb,WAAY,GACZ,WAAY,kGACZ,UAAW,CACT,kDACA,uCACA,wDACA,oCACA,8CACA,2CACA,8CACA,kDACA,gDACA,gDACA,gDACA,kDACA,kDACA,sDACA,uDACA,sDACA,2CACA,wCACA,qDACA,uDACA,sDACA,iDACA,gDACA,uDACA,2CACA,gDACA,8CACA,+CACA,kDACA,2CACA,6CACA,2CACA,gDACA,gDACA,gDACA,kDACA,iDACA,sCACA,iDACA,mDACA,gDACA,mDACA,iDACA,6CACA,mDACA,4CACA,6CACA,+CACA,gDACA,oDACA,+CACA,oCACA,sCACA,sCACA,0CACA,yCACA,wCACA,yDACA,uDACA,iDACA,qDACA,0DAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,2DAEV,CACE,IAAK,mBACL,KAAM,QACN,MAAO,UACP,QAAS,mHACT,IAAK,iSACL,gBAAiB,CACf,CACE,KAAM,MACN,YAAa,WACb,KAAM,SACN,IAAK,4IAGT,WAAY,CACV;;;;;EAAA,EAEF,qBAAsB,CACpB,yBACA,wBACA,4BAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,oFACA,mBACA,mCACA,6CACA,6BACA,sCACA,uBACA,+BACA,iDACA,gCAEF,UAAW,sFACX,YAAa,GACb,WAAY,GACZ,WAAY,gGACZ,UAAW,CAAA,EACX,YAAa,OACb,QAAS;;;;;;;;GACT,OAAQ,wDAEV,CACE,IAAK,kBACL,KAAM,QACN,MAAO,OACP,QAAS,uEACT,IAAK,uEACL,gBAAiB,CACf,CACE,KAAM,MACN,YAAa,WACb,KAAM,SACN,IAAK,4IAGT,WAAY,CACV;;;;EAAA,EAEF,qBAAsB,CACpB,WAAA,EAEF,cAAe,CACb,uDACA,2BACA,iCACA,yDACA,6BACA,2BACA,qCACA,6CACA,8EACA,qFAEF,UAAW,oPACX,YAAa,GACb,WAAY,GACZ,WAAY,8FACZ,UAAW,CACT,uGACA,2GACA,+FACA,mGACA,2GACA,8GACA,0GACA,qGACA,wGACA,yCAEF,YAAa,qBACb,QAAS;;;;;;;;GACT,OAAQ,iECtoLZ,MAAM,YAAc,CAAE,KAAM,SAAU,WAAY,CAAA,EAAI,qBAAsB,KAAK,EACjF,MAAM,WAAa,CAAE,YAAa,2CAA2C,EAC7E,MAAM,cAAgB,WAAW,UAAW,oFAAoF,EAChI,MAAM,YAAc,WAAW,QAAS,m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