@deepseek-ai/dsh-cordis-client-runner 0.2.3-alpha.1 → 0.2.3-alpha.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  window.__ModuleLoader__.load({id:`@deepseek-ai/dsh-cordis-client-runner`,factory:require=>{var module={exports:{}};var exports=module.exports;Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf;var __hasOwnProp=Object.prototype.hasOwnProperty;var __copyProps=(to,from,except,desc)=>{if(from&&typeof from===`object`||typeof from===`function`){for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;i<n;i++){key=keys[i];if(!__hasOwnProp.call(to,key)&&key!==except){__defProp(to,key,{get:(k=>from[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}}}return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:true}):target,mod));let _deepseek_ai_cordis=require("@deepseek-ai/cordis");let react=require("react");react=__toESM(react,1);var TimerService=class extends _deepseek_ai_cordis.Service{constructor(ctx){super(ctx,`timer`);ctx.mixin(`timer`,[`timeout`,`interval`,`throttle`,`debounce`,`setTimeout`,`setInterval`])}setTimeout(callback,delay){return this.timeout(callback,delay)}setInterval(callback,delay){return this.interval(callback,delay)}timeout(...args){const callback=typeof args[0]===`function`?args.shift():void 0;const delay=args[0];if(callback){const dispose=this.ctx.effect(()=>{const timer=setTimeout(()=>{dispose();callback()},delay);return()=>clearTimeout(timer)},`ctx.timeout()`);return dispose}else{const{promise,resolve,reject}=Promise.withResolvers();const dispose=this.ctx.effect(()=>{const timer=setTimeout(resolve,delay);return()=>{clearTimeout(timer);reject(new Error(`Context has been disposed`))}},`ctx.timeout()`);return promise.finally(dispose)}}interval(...args){const callback=typeof args[0]===`function`?args.shift():void 0;const delay=args[0];if(callback)return this.ctx.effect(()=>{const timer=setInterval(callback,delay);return()=>clearInterval(timer)},`ctx.interval()`);else{let done;const nextTasks=[];const dispose=this.ctx.effect(()=>{const timer=setInterval(()=>{nextTasks.shift()?.resolve({done:false,value:void 0})},delay);return()=>{clearInterval(timer);if(done)return;done={kind:`throw`,reason:new Error(`Context has been disposed`)};for(const task of nextTasks.splice(0))task.reject(done.reason)}},`ctx.interval()`);return{next:()=>{if(!done){const task=Promise.withResolvers();nextTasks.push(task);return task.promise}if(done.kind===`return`)return Promise.resolve({done:true,value:done.value});return Promise.reject(done.reason)},return:value=>{if(!done)done={kind:`return`,value};for(const task of nextTasks.splice(0))task.resolve({done:true,value});dispose();return Promise.resolve({done:true,value})},throw:reason=>{if(!done)done={kind:`throw`,reason};for(const task of nextTasks.splice(0))task.reject(reason);dispose();return Promise.resolve({done:true,value:void 0})},[Symbol.asyncIterator](){return this}}}}_schedule(label,trigger){let timer;let isDisposed=false;const dispose=this.ctx.effect(()=>()=>{isDisposed=true;clearTimeout(timer);timer=void 0},label);const wrapper=(...args)=>{if(isDisposed)return;clearTimeout(timer);timer=trigger(args)};wrapper.dispose=dispose;return wrapper}throttle(callback,delay,noTrailing){let lastCall=-Infinity;const execute=(...args)=>{lastCall=Date.now();callback(...args)};return this._schedule(`ctx.throttle()`,args=>{const remaining=delay-Date.now()+lastCall;if(remaining<=0)execute(...args);else if(!noTrailing)return setTimeout(execute,remaining,...args)})}debounce(callback,delay){return this._schedule(`ctx.debounce()`,args=>{return setTimeout(callback,delay,...args)})}};const TIMER_REDIRECT=`browser timer globals are unavailable in dynamic packages. Declare inject: ['timer'] on the returned plugin, query Client Service.listService for the exact API, and close over that plugin ctx. In React, create timers from an event handler or React.useEffect and return callback-form disposers from the effect cleanup.`;const DYNAMIC_CLIENT_REDIRECTS={setTimeout:TIMER_REDIRECT,setInterval:TIMER_REDIRECT,clearTimeout:TIMER_REDIRECT,clearInterval:TIMER_REDIRECT,fetch:`network belongs to the HOST half: register a handler there with harness.handle(method, fn) and call it here via host.call(method, args).`,require:"modules cannot be imported here. React arrives as the `React` closure symbol; everything else goes through ctx services or host.call."};function closureTraps(){const traps={};for(const[name,redirect]of Object.entries(DYNAMIC_CLIENT_REDIRECTS))traps[name]=()=>{throw new Error(`${name} is not available in a dynamic client half — ${redirect}`)};return traps}function harnessTrap(){return new Proxy({},{get(_target,prop){throw new Error(`harness.${String(prop)} belongs to the HOST half (\`code\`): register handlers there with harness.handle(method, fn); the browser half calls them via host.call(method, args).`)}})}var DynamicCordisStyles=class{pluginId;tags=new Set;constructor(pluginId){this.pluginId=pluginId}insert(css){if(typeof css!==`string`)throw new Error(`styles.insert(css) needs a CSS string`);const tag=document.createElement(`style`);tag.dataset.dyn=this.pluginId;tag.textContent=css;document.head.append(tag);this.tags.add(tag);return()=>{this.tags.delete(tag);tag.remove()}}get count(){return this.tags.size}dispose(){for(const tag of this.tags)tag.remove();this.tags.clear()}};function errorText(arg){if(arg instanceof Error)return arg.message;if(typeof arg===`string`)return arg;if(arg===void 0)return`undefined`;try{return JSON.stringify(arg)}catch{return`[unserializable console argument]`}}function taggedConsole(pluginId,noteError){const tag=`[cordis:${pluginId}]`;const forward=level=>(...args)=>{console[level](tag,...args);if(level!==`error`)return;noteError(args.map(errorText).join(` `).slice(0,500))};return{...console,log:forward(`log`),info:forward(`info`),warn:forward(`warn`),error:forward(`error`),debug:forward(`debug`)}}function isDynamicCordisPlugin(value){if(typeof value===`function`)return true;return typeof value===`object`&&value!==null&&typeof value.apply===`function`}async function evaluateClientHalf(pluginId,clientCode,env,styles){const traps=closureTraps();const parameters=[`React`,`console`,`styles`,`host`,`harness`,...Object.keys(traps),`process`,`Buffer`];let closure;try{closure=new Function(...parameters,`return (async () => {\n${clientCode}\n})()`)}catch(error){if(!(error instanceof SyntaxError))throw error;throw new Error(`client half failed to parse in this browser: ${error.message}\nThe browser half is plain JavaScript (no JSX, no TypeScript); build elements with React.createElement.`)}const returned=await closure(react,taggedConsole(pluginId,message=>{env.noteError(message)}),styles,{call:(method,args=null)=>env.invoke(method,args)},harnessTrap(),...Object.values(traps),void 0,void 0);if(!isDynamicCordisPlugin(returned)){if(returned===void 0)throw new Error("client half returned `undefined` — did you forget `return`?\n ✓ return (ctx) => { … }\n ✓ return { name: '…', inject: ['slots'], apply(ctx) { … } }");throw new Error("client half must `return` a plugin: a function, or an object with an `apply(ctx)` method")}return returned}const CTX_VERBS=new Set([`effect`,`on`,`once`,`provide`,`timeout`,`interval`,`setTimeout`,`setInterval`,`throttle`,`debounce`]);const TIMER_VERBS=new Set([`timeout`,`interval`,`setTimeout`,`setInterval`,`throttle`,`debounce`]);function denyContext(value,service,env){if(value instanceof _deepseek_ai_cordis.Context)return rejectGuard(env,`service "${service}" returned a cordis Context, which the dynamic facade does not expose. Operate through your own plugin ctx and the services you declared — never another context.`);return value}function guardedService(service,name,env){return new Proxy(service,{get(target,prop){const value=Reflect.get(target,prop,target);if(typeof value!==`function`)return denyContext(value,name,env);return(...args)=>{const result=Reflect.apply(value,target,args);if(result instanceof Promise)return result.then(resolved=>denyContext(resolved,name,env));return denyContext(result,name,env)}}})}function guardedSlots(slots,env){return new Proxy(slots,{get(target,prop){const value=Reflect.get(target,prop,target);if(prop!==`register`&&prop!==`registerFactory`){if(typeof value!==`function`)return denyContext(value,`slots`,env);return(...args)=>denyContext(Reflect.apply(value,target,args),`slots`,env)}return(rawOptions,component)=>{if(typeof rawOptions!==`object`||rawOptions===null)return rejectGuard(env,"slots.register(options, component) needs an options object with a `name`");const options={...rawOptions};const slot=options.name;if(typeof slot!==`string`||slot.length===0)return rejectGuard(env,`slots.${prop} options need a string \`name\``);if(prop===`registerFactory`){const dispose=Reflect.apply(value,target,[options,component]);env.ledger.push({slot:`factory:${slot}`,priority:void 0});env.claim(component);return dispose}if(slot===`tool.view.cordis`){if(options.key!==`self`)return rejectGuard(env,`tool.view.cordis only accepts key "self"; the runtime binds it to this Package`);options.key=`${env.pkg.pluginId}.${env.pkg.packageId}`}const spec=slots.spec(slot);let priority=options.priority;if(spec===void 0||spec.kind!==`chain`){priority=env.allocatePriority();options.priority=priority}const dispose=Reflect.get(target,`register`,target).call(target,options,component);env.ledger.push({slot,priority});env.claim(component);return dispose}}})}function guardedTheme(theme,env,ctx){return new Proxy(theme,{get(target,prop){if(prop!==`overrideTokens`){const value=Reflect.get(target,prop,target);if(typeof value!==`function`)return denyContext(value,`theme`,env);return(...args)=>{const result=Reflect.apply(value,target,args);if(result instanceof Promise)return result.then(resolved=>denyContext(resolved,`theme`,env));return denyContext(result,`theme`,env)}}return(source,tokens)=>{if(tokens===void 0&&typeof source===`object`&&source!==null)return rejectGuard(env,`theme.overrideTokens(source, tokens) takes two arguments; source is replaced with your package id, so pass any string first and the token map second: overrideTokens('mine', { '--dsw-alias-…': { light: '…', dark: '…' } })`);const method=Reflect.get(target,`overrideTokens`,target);const dispose=Reflect.apply(method,target,[`${env.pkg.pluginId}.${env.pkg.packageId}`,tokens]);ctx.effect(()=>dispose,`cordis-client-runner: dynamic theme override layer`);return dispose}}})}function dynamicCordisContext(ctx,env){const declared=new Set(Object.keys(ctx.fiber.inject));const denyRead=prop=>{if(ctx.get(prop)!==void 0)return rejectGuard(env,`service "${prop}" is not declared by your plugin. Declare it on the plugin you return: { inject: ['${prop}', …], apply(ctx) { … } } — a plain \`function\` has no declaration site, so use the object form. The runtime then parks the package if the provider unloads.`);return rejectGuard(env,`dynamic ctx does not expose "${prop}". Available: ctx.on / ctx.provide / timer helpers after injecting timer, and any service your returned plugin declared in inject (slots and theme are the usual UI seats). Framework internals are withheld by design.`)};const readService=(name,requireDeclaration)=>{if(requireDeclaration&&!declared.has(name))return denyRead(name);const service=denyContext(ctx.get(name),name,env);if(service===null||typeof service!==`object`&&typeof service!==`function`)return service;if(name===`slots`)return guardedSlots(service,env);if(name===`theme`)return guardedTheme(service,env,ctx);return guardedService(service,name,env)};return new Proxy({},{get(_target,prop){if(prop===`get`)return name=>readService(name,false);if(typeof prop!==`string`)return void 0;if(CTX_VERBS.has(prop))return(...args)=>{if(TIMER_VERBS.has(prop)&&!declared.has(`timer`))return denyRead(`timer`);const method=ctx[prop];return Reflect.apply(method,ctx,args)};return readService(prop,true)},set(_target,prop){return rejectGuard(env,`dynamic ctx is read-only; cannot assign "${String(prop)}"`)},has:(_target,prop)=>prop===`get`||typeof prop===`string`&&(CTX_VERBS.has(prop)&&(!TIMER_VERBS.has(prop)||declared.has(`timer`))||declared.has(prop))})}function rejectGuard(env,message){const error=new Error(message);env.reportFailure(error);throw error}function moduleIdOf(id){return`dyn/${id}`}var DynamicCordisPackageRunner=class{env;live=new Map;queues=new Map;changeListeners=new Set;nextPriority=0;owners=new WeakMap;failures=new Map;unwatch;snapshotCache;failureCache;constructor(env){this.env=env;this.unwatch=env.slots.onEntryError((slot,entry,error,info)=>{const component=entry.component;const owner=indexable(component)?this.owners.get(component):void 0;if(owner===void 0)return;const details=errorDetails(error);const failure={slot,message:renderFailureMessage(slot,details.message),...details.stack===void 0?{}:{stack:details.stack},abdicated:info.abdicated};env.reportRenderFailure(owner.agentId,owner.pluginId,owner.pluginRunId,failure);this.failures.set(owner.pluginId,failure);this.notify()})}subscribe(fn){this.changeListeners.add(fn);return()=>{this.changeListeners.delete(fn)}}renderFailures={getSnapshot:()=>this.failureCache??=new Map(this.failures),subscribe:fn=>this.subscribe(fn)};getSnapshot(){return this.snapshotCache??=[...this.live.values()].map(({pkg,ledger,styles})=>({pluginId:pkg.pluginId,packageId:pkg.packageId,pluginRunId:pkg.pluginRunId,name:pkg.name,slots:[...new Set(ledger.map(row=>row.slot))],styleCount:styles.count}))}isLoaded(pluginId){return this.live.has(pluginId)}load(half){return this.enqueue(half.pluginId,async()=>{const current=this.live.get(half.pluginId);if(current!==void 0){if(current.pkg.pluginRunId===half.pluginRunId)return settled(current);await this.teardown(current.pkg.pluginId,current.entryId,current.styles)}const result=await this.mount(half);this.notify();return result})}retract(pluginId,pluginRunId){this.enqueue(pluginId,async()=>{const current=this.live.get(pluginId);if(current===void 0||current.pkg.pluginRunId!==pluginRunId)return;await this.teardown(pluginId,current.entryId,current.styles);this.notify()})}async dispose(){this.unwatch();for(const current of[...this.live.values()])await this.teardown(current.pkg.pluginId,current.entryId,current.styles);this.notify()}notify(){this.snapshotCache=void 0;this.failureCache=void 0;for(const fn of[...this.changeListeners])fn()}enqueue(id,op){const next=(this.queues.get(id)??Promise.resolve()).then(op);this.queues.set(id,next.then(()=>{},()=>{}));return next}async mount(half){const styles=new DynamicCordisStyles(half.pluginId);const ledger=[];let plugin;try{plugin=await evaluateClientHalf(half.pluginId,half.code,{invoke:(method,args)=>this.env.invoke(half.pluginId,half.pluginRunId,method,args),noteError:message=>{console.error(`[cordis-client-runner] ${half.pluginId} logged an error:`,message)}},styles)}catch(error){styles.dispose();return{ok:false,cause:`evaluate`,...errorDetails(error),error}}const pkg={pluginId:half.pluginId,packageId:half.packageId,pluginRunId:half.pluginRunId,name:half.name};const surface=this.guardedSurface(pkg,half.agentId,plugin,ledger);const moduleId=moduleIdOf(half.pluginId);this.env.modules.invalidate(moduleId);const sink=globalThis.__ModuleLoader__;if(sink===void 0)throw new Error(`cordis-client-runner: window.__ModuleLoader__ is missing (booted outside the web shell?)`);sink.load({id:moduleId,factory:()=>surface});const entryId=await this.env.loader.create({name:moduleId});const fiber=this.env.loader.resolve(entryId).fiber;if(fiber===void 0){await this.teardown(half.pluginId,entryId,styles);return{ok:false,cause:`module-import`,message:`module import failed (see the browser console)`}}try{await fiber.await()}catch(error){await this.teardown(half.pluginId,entryId,styles);return{ok:false,cause:`activate`,...errorDetails(error),error}}const record={pkg,entryId,styles,ledger,waitingFor:Object.keys(fiber.inject).filter(name=>this.env.ctx.get(name)===void 0)};this.live.set(half.pluginId,record);this.failures.delete(half.pluginId);return settled(record)}guardedSurface(pkg,agentId,plugin,ledger){const claim=component=>{if(indexable(component))this.owners.set(component,{pluginId:pkg.pluginId,pluginRunId:pkg.pluginRunId,agentId})};const guarded=ctx=>dynamicCordisContext(ctx,{pkg,ledger,claim,allocatePriority:()=>--this.nextPriority,reportFailure:error=>{this.env.reportGuardFailure(agentId,pkg.pluginId,pkg.pluginRunId,errorDetails(error))}});if(typeof plugin===`function`)return{name:moduleIdOf(pkg.pluginId),apply:ctx=>plugin(guarded(ctx))};return{...plugin,name:moduleIdOf(pkg.pluginId),apply:(ctx,config)=>plugin.apply(guarded(ctx),config)}}async teardown(id,entryId,styles){this.live.delete(id);this.failures.delete(id);const disposal=this.env.loader.resolve(entryId).fiber?.dispose();this.env.loader.remove(entryId);await disposal;this.env.modules.invalidate(moduleIdOf(id));styles.dispose()}};function settled(record){return{ok:true,pluginRunId:record.pkg.pluginRunId,...record.waitingFor.length>0?{waitingFor:record.waitingFor}:{}}}function indexable(component){return typeof component===`object`&&component!==null||typeof component===`function`}function errorDetails(error){if(typeof error!==`object`||error===null)return{message:String(error)};const message=`message`in error&&typeof error.message===`string`?error.message:Object.prototype.toString.call(error);const stack=`stack`in error&&typeof error.stack===`string`?error.stack:void 0;return{message,...stack===void 0?{}:{stack}}}function renderFailureMessage(slot,message){const redirect=Object.entries(DYNAMIC_CLIENT_REDIRECTS).find(([name,text])=>message.includes(name)&&!message.includes(text))?.[1];return`${slot.startsWith(`factory:`)?`your component in Factory "${slot.slice(8)}"`:`your entry in slot "${slot}"`} crashed while React rendered it: ${message}`+(redirect===void 0?``:`\n${redirect}`)}var CordisRunOrchestrator=class{env;requests=new Map;activity=new Map;failures=new Map;inFlight=new Map;listeners=new Set;activityCache;failureCache;constructor(env){this.env=env}activeRuns={getSnapshot:()=>this.activityCache??=new Map(this.activity),subscribe:fn=>this.observe(fn)};lastRunError={getSnapshot:()=>this.failureCache??=new Map(this.failures),subscribe:fn=>this.observe(fn)};open(request){this.requests.set(request.requestId,request);if(!request.requiresApproval){this.orchestrate({agentId:request.agentId,pluginId:request.pluginId,packageId:request.packageId,mode:request.mode,requestId:request.requestId,hasClientHalf:true}).catch(error=>{console.error(`[cordis-client-runner] automatic activation ${request.requestId} failed:`,error)});return}if(this.activity.get(request.pluginId)?.phase!==`orchestrating`)this.activity.set(request.pluginId,{phase:`awaiting-approval`,requestId:request.requestId,agentId:request.agentId,packageId:request.packageId,mode:request.mode,name:request.name,purpose:request.purpose});this.commit()}reconcileApprovals(rows){const expected=new Map;for(const row of rows){const attempt=row.latestRun;if(attempt?.approvalRequestId===void 0||attempt.status!==`awaiting-approval`&&attempt.status!==`starting-host`&&attempt.status!==`client-pending`)continue;const pkg=row.packages.find(candidate=>candidate.packageId===attempt.packageId);if(pkg===void 0)continue;expected.set(attempt.approvalRequestId,{requestId:attempt.approvalRequestId,agentId:row.agentId,pluginId:row.pluginId,packageId:attempt.packageId,mode:attempt.mode,name:pkg.name,purpose:pkg.purpose,requiresApproval:attempt.requiresApproval??attempt.status===`awaiting-approval`})}let changed=false;for(const[requestId,request]of[...this.requests]){if(expected.has(requestId))continue;this.requests.delete(requestId);const current=this.activity.get(request.pluginId);if(current?.phase===`awaiting-approval`&&current.requestId===requestId)this.activity.delete(request.pluginId);changed=true}for(const[requestId,request]of expected){const previous=this.requests.get(requestId);const current=this.activity.get(request.pluginId);if(!request.requiresApproval&&current?.phase===`orchestrating`)continue;if(request.requiresApproval&&sameRequest(previous,request)&&current?.phase===`awaiting-approval`&&current.requestId===requestId)continue;if(!request.requiresApproval){this.open(request);changed=true;continue}this.requests.set(requestId,request);if(current?.phase!==`orchestrating`)this.activity.set(request.pluginId,{phase:`awaiting-approval`,requestId,agentId:request.agentId,packageId:request.packageId,mode:request.mode,name:request.name,purpose:request.purpose});changed=true}if(changed)this.commit()}close(requestId){const request=this.requests.get(requestId);if(request===void 0)return;this.requests.delete(requestId);const current=this.activity.get(request.pluginId);if(current?.phase===`awaiting-approval`&&current.requestId===requestId)this.activity.delete(request.pluginId);this.commit()}approve(requestId,approveFutureVersions){const request=this.requests.get(requestId);if(request===void 0||!request.requiresApproval)return Promise.resolve();return this.orchestrate({agentId:request.agentId,pluginId:request.pluginId,packageId:request.packageId,mode:request.mode,requestId,approveFutureVersions,hasClientHalf:true})}async decline(requestId){const request=this.requests.get(requestId);if(request===void 0||!request.requiresApproval)return;const current=this.activity.get(request.pluginId);if(current?.phase!==`awaiting-approval`||current.requestId!==requestId)return;this.requests.delete(requestId);this.activity.delete(request.pluginId);this.commit();await this.answer(requestId,{ok:false,reason:`rejected`})}startUserRun(request){return this.orchestrate(request)}observe(fn){this.listeners.add(fn);return()=>{this.listeners.delete(fn)}}commit(){this.activityCache=void 0;this.failureCache=void 0;for(const fn of[...this.listeners])fn()}orchestrate(plan){const running=this.inFlight.get(plan.pluginId);if(running!==void 0)return running;this.activity.set(plan.pluginId,{phase:`orchestrating`,agentId:plan.agentId,packageId:plan.packageId,mode:plan.mode});this.failures.delete(plan.pluginId);if(plan.requestId!==void 0)this.requests.delete(plan.requestId);this.commit();const attempt=this.drive(plan).finally(()=>{this.inFlight.delete(plan.pluginId);this.activity.delete(plan.pluginId);this.commit()});this.inFlight.set(plan.pluginId,attempt);return attempt}async drive(plan){const started=await this.startHost(plan);if(!started.ok){this.fail(plan,`host-half-failed`,started);if(plan.requestId!==void 0)await this.answer(plan.requestId,{...started,reason:`host-half-failed`});return}if(!plan.hasClientHalf)return;let source;try{source=await this.env.host.getClientCode(plan.agentId,plan.pluginId,started.pluginRunId)}catch(error){await this.finishClientFailure(plan,started.pluginRunId,started.startedHere,errorDetails(error),error);return}const loaded=await this.env.runner.load({pluginId:source.pluginId,packageId:source.packageId,pluginRunId:source.pluginRunId,agentId:plan.agentId,name:source.name,code:source.code}).catch(error=>({ok:false,cause:`evaluate`,...errorDetails(error),error}));if(!loaded.ok){await this.finishClientFailure(plan,started.pluginRunId,started.startedHere,{message:`${loaded.cause}: ${loaded.message}`,...loaded.stack===void 0?{}:{stack:loaded.stack}},loaded.error);return}const resolution={ok:true,pluginRunId:loaded.pluginRunId,...loaded.waitingFor===void 0?{}:{waitingFor:loaded.waitingFor}};if(plan.requestId!==void 0){await this.answer(plan.requestId,resolution);return}await this.settleDirect(plan,resolution)}async startHost(plan){try{return await this.env.host.runHostHalf(plan.agentId,plan.pluginId,plan.packageId,plan.mode,plan.requestId??null,plan.approveFutureVersions??false)}catch(error){return{ok:false,...errorDetails(error)}}}async finishClientFailure(plan,pluginRunId,startedHere,failure,originalError){console.error(`[cordis-client-runner] Client activation ${plan.pluginId}/${plan.packageId} (${pluginRunId}) failed:`,originalError??failure);this.fail(plan,`client-half-failed`,failure);const resolution={ok:false,reason:`client-half-failed`,pluginRunId,startedHere,...failure};if(plan.requestId!==void 0)await this.answer(plan.requestId,resolution);else await this.settleDirect(plan,resolution)}async settleDirect(plan,resolution){try{const response=await this.env.host.settleUserRun(plan.agentId,plan.pluginId,resolution);if(!response.ok)this.fail(plan,`client-half-failed`,response)}catch(error){this.fail(plan,`client-half-failed`,errorDetails(error))}}async answer(requestId,resolution){try{await this.env.host.resolveRequestRun(requestId,resolution)}catch(error){console.error(`[cordis-client-runner] answering run request ${requestId} failed:`,error)}}fail(plan,reason,failure){this.failures.set(plan.pluginId,{packageId:plan.packageId,reason,...failure});this.commit()}};function sameRequest(left,right){return left?.requestId===right.requestId&&left.agentId===right.agentId&&left.pluginId===right.pluginId&&left.packageId===right.packageId&&left.mode===right.mode&&left.name===right.name&&left.purpose===right.purpose&&left.requiresApproval===right.requiresApproval}var ClientCordisInspectRegistry=class{host;providers=new Map;active=new Map;publishQueued=false;syncChain=Promise.resolve();constructor(host){this.host=host}register(registration){const{manifest}=registration;if(manifest.id.trim()===``)throw new Error(`Client Cordis inspect provider id must not be empty`);if(this.providers.has(manifest.id))throw new Error(`Client Cordis inspect provider "${manifest.id}" is already registered`);const names=new Set;for(const method of manifest.methods){if(names.has(method.name))throw new Error(`Client Cordis inspect provider "${manifest.id}" repeats method "${method.name}"`);names.add(method.name)}this.providers.set(manifest.id,registration);this.publish();let disposed=false;return()=>{if(disposed)return;disposed=true;if(this.providers.get(manifest.id)===registration){this.providers.delete(manifest.id);this.publish()}}}publish(){if(this.publishQueued)return;this.publishQueued=true;queueMicrotask(()=>{this.publishQueued=false;const manifests=[...this.providers.values()].map(provider=>provider.manifest);this.syncChain=this.syncChain.then(async()=>{await this.host.sync(manifests)}).catch(error=>{console.error(`[cordis-client-runner] syncing inspect providers failed:`,error)})})}async query(request){if(this.active.has(request.requestId))return;const controller=new AbortController;this.active.set(request.requestId,controller);let resolution;try{const provider=this.providers.get(request.provider);if(provider===void 0)resolution={ok:false,reason:`provider-missing`,message:`Client inspect provider "${request.provider}" is unavailable`};else if(!provider.manifest.methods.some(method=>method.name===request.method))resolution={ok:false,reason:`method-missing`,message:`Client inspect provider "${request.provider}" has no method "${request.method}"`};else{const data=await provider.query(request.method,request.input,{signal:controller.signal,sessionId:request.agentId});resolution=controller.signal.aborted?{ok:false,reason:`cancelled`,message:`Client inspect query was cancelled`}:{ok:true,data}}}catch(error){resolution=controller.signal.aborted?{ok:false,reason:`cancelled`,message:`Client inspect query was cancelled`}:{ok:false,reason:`provider-error`,message:error instanceof Error?error.message:String(error)}}finally{this.active.delete(request.requestId)}if(controller.signal.aborted)return;await this.host.resolve(request.agentId,request.requestId,resolution)}close(requestId){this.active.get(requestId)?.abort();this.active.delete(requestId)}};function provideClientCordisInspect(ctx,registry){ctx.provide(`cordisInspect`,registry)}const SERVICE_API=[{key:`layout`,summary:`Panel navigation and geometry actions exposed through ctx.layout.`,description:`Panel navigation and geometry actions exposed through ctx.layout.`,methods:[{signature:`selectPanel(panelId: MainPanelId | null): void`,description:`Select a global central panel without changing the current Session.`,parameters:[{name:`panelId`,description:`registered main key, or null to show the Conversation.`}],throws:[`if the selected main key is not registered; preserves the current selection.`]},{signature:`beginNavigation(): AbortSignal`,description:`Start an asynchronous navigation, superseding any earlier pending navigation.`,parameters:[],returns:`a signal aborted by the next navigation or layout disposal; check it before committing UI state.`},{signature:`toggleSidebar(): void`,description:`Toggle the sidebar panel (closed ⟷ contract default width).`,parameters:[]},{signature:`openRightbar(track: boolean, fullscreen: boolean): void`,description:`Report the right panel's presentation without changing its expanded state.`,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.`}]},{signature:`closeRightbar(): void`,description:`Report the right panel as hidden: no track, no handle.`,parameters:[]}]},{key:`locale`,summary:`Dictionary registry plus locale preference.`,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`.",methods:[{signature:`getLocale(): LocaleSnapshot`,description:`Read the current immutable locale snapshot.`,parameters:[],returns:`the current snapshot (stable reference until the next change).`},{signature:`getSnapshot(): LocaleSnapshot`,description:"LocaleFace getSnapshot: the current snapshot (carries `revision`; stable reference between changes, uSES-safe).",parameters:[],returns:`the current snapshot.`},{signature:`subscribe(fn: () => void): () => void`,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).`,parameters:[{name:`fn`,description:`change callback.`}],returns:`unsubscribe.`},{signature:`setLocale(id: string): void`,description:`Switch the active locale — the only user preference write entry.
3
3
 
4
- The 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.`,parameters:[{name:`id`,description:`a registered locale id; unknown ids throw.`}]},{signature:`addLanguage(input: LanguageRegistration): () => void`,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.`,parameters:[{name:`input`,description:`stable id, self-described label, and fallback language id.`}],returns:`idempotent disposer removing this exact definition.`,throws:[`when fields are malformed, the id is occupied, or the fallback target is unknown or creates a cycle.`]},{signature:`register<N extends Extract<keyof LocaleNamespaceMap, string>>( ns: N, dicts: Record<BuiltInLocaleId, LocaleDictOf<N>> & Record<LocaleId, LocaleDictOf<N>>, ): () => void`,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.`,parameters:[{name:`ns`,description:`a namespace merged into LocaleNamespaceMap.`},{name:`dicts`,description:`complete baseline dictionaries and optional dictionaries for additional locale ids.`}],returns:`disposer removing every locale registered by this call (idempotent).`},{signature:`register(ns: string, locale: string, dict: LocaleDict): () => void`,description:`Single-locale untyped form for language-pack contributions and namespaces outside the merge table.`,parameters:[{name:`ns`,description:`namespace.`},{name:`locale`,description:`locale tag.`},{name:`dict`,description:`dictionary.`}],returns:`disposer (idempotent).`,throws:[`when locale is not a BCP 47-style tag.`]},{signature:`bind<N extends Extract<keyof LocaleNamespaceMap, string>>(ns: N): TranslateNS<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.",parameters:[{name:`ns`,description:`a namespace merged into LocaleNamespaceMap.`}],returns:`the typed translate function (reads the active locale at call time).`},{signature:`bind(ns: string): Translate`,description:`Untyped form for namespaces outside the merge table (dynamic composition, tests).`,parameters:[{name:`ns`,description:`namespace.`}],returns:`the translate function.`}]},{key:`sessions`,summary:"The sessions-service face injected as `ctx.sessions`.",description:"The sessions-service face injected as `ctx.sessions`.",methods:[{signature:`retain(target: SessionTarget, options: SessionRetainOptions): SessionReference`,description:`Retain an exact Client generation and start its shared initial history opening.`,parameters:[{name:`target`,description:`known identity or durable direct-parent address.`},{name:`options`,description:`required consumer source and optional independent waiter cancellation.`}],returns:"an owned reference immediately; await `reference.ready` when the initial open attempt must settle first."},{signature:`using<T>(target: SessionTarget, options: SessionRetainOptions, operation: (reference: SessionReference) => T | Promise<T>): Promise<T>`,description:`Hold one reference through callback settlement, including synchronous and asynchronous failures.`,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.`}],returns:`the callback result after release; acquisition and callback failures propagate unchanged.`},{signature:`retainInfo(id: SessionId): ObservableSnapshot<SessionRetainInfo>`,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.`,parameters:[{name:`id`,description:`explicit Session identity; Host existence is not implied.`}],returns:`a stable read-only source across same-id generations, with zero counts when none is live.`},{signature:`refreshProjections(sessionId: SessionId): Promise<void>`,description:`Read projections without starting migration; retry failed or migration-deferred reads.`,parameters:[{name:`sessionId`,description:`Session to inspect without opening its conversation.`}],returns:`completion of the current or newly started refresh.`},{signature:`search( query: string, signal: AbortSignal, ): Promise<RemoteResult<{ items: SessionSearchResultItem[]; hasMore: boolean }>>`,description:`Search the Host's visible message-content index. Results stay request-local; the list snapshot remains the metadata authority.`,parameters:[{name:`query`,description:`non-blank literal phrase.`},{name:`signal`,description:`cancellation for a superseded search.`}],returns:`bounded results, or a business/transport error.`},{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>`,description:`Fork a session from an exact inclusive prefix of the source; on resolution the child is catalogued and can be explicitly retained.`,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."}],returns:`the child session id.`,throws:[`when the fork fails, or when a requested child-title rename fails after creation.`]},{signature:`scope(id: SessionId): AgentContext | undefined`,description:`Borrow an already-retained Agent-scoped Context without extending its lifetime.`,parameters:[{name:`id`,description:`session id.`}],returns:`the live scoped Context, or undefined without a retained generation.`},{signature:`binding(id: SessionId): SessionBinding | undefined`,description:`Borrow an already-retained Session binding without extending its lifetime.`,parameters:[{name:`id`,description:`session id.`}],returns:`the live binding, or undefined without a retained generation.`}]},{key:`slots`,summary:`cordis Service layer of the slot system; see the module doc for the split with SlotCore.`,description:`cordis Service layer of the slot system; see the module doc for the split with SlotCore.`,methods:[{signature:`declare readonly register: SlotCore['register']`,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.",parameters:[]},{signature:`declare readonly registerFactory: RegisterFactory`,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.",parameters:[{name:`options`,description:"runtime definition checked against `SlotFactoryMap`."},{name:`component`,description:`reusable Factory Component.`}],returns:`the idempotent definition disposer.`},{signature:`inject(key: keyof SlotMap & string, callback: () => SlotInjectionEffect): () => void`,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.",parameters:[{name:`key`,description:`declared SlotMap key to depend on.`},{name:`callback`,description:`creates one disposer or an iterable of disposers.`}],returns:`idempotent disposer for the wait and active effect.`,throws:[`callback setup failures synchronously when the slot is already declared.`]}]},{key:`theme`,summary:`Theme registry and preference owner.`,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`.",methods:[{signature:`getTheme(): ThemeSnapshot`,description:`Read the current immutable theme snapshot.`,parameters:[],returns:`the current snapshot (stable reference until the next change).`},{signature:`setTheme(id: string): void`,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`.",parameters:[{name:`id`,description:"a registered theme id or `system`; unknown ids throw."}]},{signature:`setFontSize(role: FontRole, px: number): void`,description:"Change one role's font size. Accepted values are written through the settings scope and emit `theme/change`.",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."}]},{signature:`register(definition: ThemeDefinition): () => void`,description:"Register a theme. Duplicate id throws (single occupant per id; the built-in pair counts; `system` is a preference, not a registrable id).",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."}],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.`},{signature:`overrideTokens(source: string, tokens: ThemeTokenOverrides): () => void`,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.",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."}],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).`}]},{key:`timer`,summary:`Disposable timer helpers mixed into Cordis contexts.`,description:`Disposable timer helpers mixed into Cordis contexts.`,methods:[{signature:`timeout(callback: () => void, delay: number): () => void`,description:`Run a callback once and return its disposer.`,parameters:[]},{signature:`timeout(delay: number): Promise<void>`,description:`Resolve after a delay; disposal rejects the pending promise.`,parameters:[]},{signature:`interval(callback: () => void, delay: number): () => void`,description:`Run a callback repeatedly and return its disposer.`,parameters:[]},{signature:`interval<R = any>(delay: number): AsyncIterableIterator<void, R, void>`,description:`Return an async iterator of timer ticks.`,parameters:[]},{signature:`throttle<F extends (...args: any[]) => any>(callback: F, delay: number, noTrailing?: boolean): ((...args: Parameters<F>) => void) & { dispose: () => void }`,description:`Return a throttled function whose timer is disposed with the current fiber.`,parameters:[]},{signature:`debounce<F extends (...args: any[]) => any>(callback: F, delay: number): ((...args: Parameters<F>) => void) & { dispose: () => void }`,description:`Return a debounced function whose timer is disposed with the current fiber.`,parameters:[]}]},{key:`uiWorkspace`,summary:`Workspace archive and directory operations consumed by Client UI domains.`,description:`Workspace archive and directory operations consumed by Client UI domains.`,methods:[{signature:`openSession(target: SessionTarget): void`,description:`Select a Session and show its Conversation as one UI navigation action.`,parameters:[{name:`target`,description:`known Session identity or durable direct-parent subagent address to display.`}]},{signature:`openWorkspace( workspaceId: WorkspaceId, beforeOpen?: (sessionId: SessionId) => void, options?: Pick<StartSessionOptions, 'agentPreset'>, ): Promise<void>`,description:`Connect a Workspace and open its Session unless a later navigation supersedes it.`,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.`}],returns:`completion; a superseded request may create a Session but does not open it.`,throws:[`on failure; a refused creation is also shown through the Workspace notice unless a later navigation or disposal superseded the request.`]},{signature:`forkSession( sessionId: SessionId, onCreated?: (childId: SessionId) => void, options?: Pick<Parameters<ISessions['fork']>[0], 'allowMigration'>, ): Promise<SessionId>`,description:`Fork a Session without changing the current selection.`,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.`}],returns:`the child SessionId after creation and inherited-title increment.`},{signature:`connectWorkspace(workspaceId: WorkspaceId, options?: Pick<StartSessionOptions, 'agentPreset'>): Promise<SessionId>`,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.`,parameters:[{name:`workspaceId`,description:`target Workspace.`},{name:`options`,description:`choices for the created or reused Session.`}],returns:`a Session already addressable through the Session Controller.`},{signature:`startSession(workspaceId?: WorkspaceId, options?: StartSessionOptions): void`,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.",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."}]},{signature:`archiveSession(sessionId: SessionId, options?: { readonly stopActivity?: boolean }): Promise<void>`,description:`Archive a Session and clear it when it is the current selection.`,parameters:[{name:`sessionId`,description:`Session to archive.`},{name:`options`,description:"`stopActivity` asks the Host to stop the Session's running work instead of refusing."}]},{signature:`unarchiveSession(sessionId: SessionId): Promise<void>`,description:`Unarchive a Session, restoring it to its recorded Workspace position.`,parameters:[{name:`sessionId`,description:`Session to unarchive.`}]},{signature:`pickDirectory(): Promise<string | null>`,description:`Open the Host-native directory picker.`,parameters:[],returns:`the selected directory, or null when cancelled.`},{signature:`listDirectory(path?: string, signal?: AbortSignal): Promise<DirectoryListing>`,description:`List one Host directory level.`,parameters:[{name:`path`,description:`directory path; absent selects the Host home.`},{name:`signal`,description:`cancellation for a superseded scan.`}],returns:`directory entries and breadcrumb ancestry.`},{signature:`createDirectory(path: string, name: string): Promise<string>`,description:`Create a child directory.`,parameters:[{name:`path`,description:`existing parent directory.`},{name:`name`,description:`child directory name.`}],returns:`created absolute path.`}]},{key:`workspaces`,summary:`Workspace Controller's Client service face.`,description:`Workspace Controller's Client service face.`,methods:[{signature:`create(input: { path: string }): Promise<WorkspaceView>`,description:`Register an existing path as a Workspace.`,parameters:[{name:`input`,description:`Host create payload.`}],returns:`the created or idempotently resolved Workspace.`},{signature:`rename(workspaceId: WorkspaceId, title: string): Promise<WorkspaceView>`,description:`Rename a Workspace.`,parameters:[{name:`workspaceId`,description:`target Workspace.`},{name:`title`,description:`new display title.`}],returns:`the renamed Workspace.`},{signature:`delete(workspaceId: WorkspaceId): Promise<void>`,description:`Delete a Workspace registration without deleting Sessions or files.`,parameters:[{name:`workspaceId`,description:`target Workspace.`}]},{signature:`archiveSession(sessionId: SessionId, options?: { readonly stopActivity?: boolean }): Promise<void>`,description:`Archive a Session from Workspace grouping surfaces.`,parameters:[{name:`sessionId`,description:`Session to archive.`},{name:`options`,description:"`stopActivity` asks the Host to stop the Session's running work instead of refusing."}],throws:["{WorkspaceArchiveError} when the Host refuses; without `stopActivity` a Session with running work fails as `workspace/session-active`, its details naming what runs."]},{signature:`unarchiveSession(sessionId: SessionId): Promise<void>`,description:`Unarchive a Session from the archived Session list.`,parameters:[{name:`sessionId`,description:`Session to unarchive.`}]},{signature:`insertSessionBefore( workspaceId: WorkspaceId, sessionId: SessionId, beforeSessionId?: SessionId, ): Promise<WorkspaceView>`,description:`Move a Session within one Workspace account.`,parameters:[{name:`workspaceId`,description:`owning Workspace.`},{name:`sessionId`,description:`Session to move.`},{name:`beforeSessionId`,description:`anchor Session; omitted appends.`}],returns:`the changed Workspace.`}]}];const EVENT_API=[{name:`connection/reset`,mode:`emit`,signature:`'connection/reset'(): void`,summary:`A connection generation was established.`,description:`A connection generation was established. Wire-derived caches must repull; long-lived streams own their own resume and baseline lifecycle.`,parameters:[]},{name:`locale/change`,mode:`emit`,signature:`'locale/change'(snapshot: LocaleSnapshot): void`,summary:`The active locale switched.`,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.`,parameters:[{name:`snapshot`,description:`Current immutable locale snapshot.`}]},{name:`slots/changed`,mode:`emit`,signature:`'slots/changed'(key: string): void`,summary:`An ordinary Slot declaration or entry registration set changed.`,description:"An ordinary Slot declaration or entry registration set changed. Factory definitions publish through `subscribeFactory()` instead.",parameters:[{name:`key`,description:`mutated SlotMap key.`}]},{name:`theme/change`,mode:`emit`,signature:`'theme/change'(snapshot: ThemeSnapshot): void`,summary:"Theme state changed (preference switched, registry updated, or the OS color scheme changed while the preference is `system`).",description:"Theme state changed (preference switched, registry updated, or the OS color scheme changed while the preference is `system`).",parameters:[{name:`snapshot`,description:`Current immutable theme snapshot.`}]}];const TYPE_API=[{name:`ActionsDecl`,declaration:`export type ActionsDecl<T> = Record<string, (draft: T, ...params: any[]) => void>;`},{name:`AgentContext`,declaration:`export type AgentContext = Omit<Context, 'remote'> & {
4
+ The 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.`,parameters:[{name:`id`,description:`a registered locale id; unknown ids throw.`}]},{signature:`addLanguage(input: LanguageRegistration): () => void`,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.`,parameters:[{name:`input`,description:`stable id, self-described label, and fallback language id.`}],returns:`idempotent disposer removing this exact definition.`,throws:[`when fields are malformed, the id is occupied, or the fallback target is unknown or creates a cycle.`]},{signature:`register<N extends Extract<keyof LocaleNamespaceMap, string>>( ns: N, dicts: Record<BuiltInLocaleId, LocaleDictOf<N>> & Record<LocaleId, LocaleDictOf<N>>, ): () => void`,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.`,parameters:[{name:`ns`,description:`a namespace merged into LocaleNamespaceMap.`},{name:`dicts`,description:`complete baseline dictionaries and optional dictionaries for additional locale ids.`}],returns:`disposer removing every locale registered by this call (idempotent).`},{signature:`register(ns: string, locale: string, dict: LocaleDict): () => void`,description:`Single-locale untyped form for language-pack contributions and namespaces outside the merge table.`,parameters:[{name:`ns`,description:`namespace.`},{name:`locale`,description:`locale tag.`},{name:`dict`,description:`dictionary.`}],returns:`disposer (idempotent).`,throws:[`when locale is not a BCP 47-style tag.`]},{signature:`bind<N extends Extract<keyof LocaleNamespaceMap, string>>(ns: N): TranslateNS<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.",parameters:[{name:`ns`,description:`a namespace merged into LocaleNamespaceMap.`}],returns:`the typed translate function (reads the active locale at call time).`},{signature:`bind(ns: string): Translate`,description:`Untyped form for namespaces outside the merge table (dynamic composition, tests).`,parameters:[{name:`ns`,description:`namespace.`}],returns:`the translate function.`}]},{key:`sessions`,summary:"The sessions-service face injected as `ctx.sessions`.",description:"The sessions-service face injected as `ctx.sessions`.",methods:[{signature:`retain(target: SessionTarget, options: SessionRetainOptions): SessionReference`,description:`Retain an exact Client generation and start its shared initial history opening.`,parameters:[{name:`target`,description:`known identity or durable direct-parent address.`},{name:`options`,description:`required consumer source and optional independent waiter cancellation.`}],returns:"an owned reference immediately; await `reference.ready` when the initial open attempt must settle first."},{signature:`using<T>(target: SessionTarget, options: SessionRetainOptions, operation: (reference: SessionReference) => T | Promise<T>): Promise<T>`,description:`Hold one reference through callback settlement, including synchronous and asynchronous failures.`,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.`}],returns:`the callback result after release; acquisition and callback failures propagate unchanged.`},{signature:`retainInfo(id: SessionId): ObservableSnapshot<SessionRetainInfo>`,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.`,parameters:[{name:`id`,description:`explicit Session identity; Host existence is not implied.`}],returns:`a stable read-only source across same-id generations, with zero counts when none is live.`},{signature:`refreshProjections(sessionId: SessionId): Promise<void>`,description:`Read projections without starting migration; retry failed or migration-deferred reads.`,parameters:[{name:`sessionId`,description:`Session to inspect without opening its conversation.`}],returns:`completion of the current or newly started refresh.`},{signature:`search( query: string, signal: AbortSignal, ): Promise<RemoteResult<{ items: SessionSearchResultItem[]; hasMore: boolean }>>`,description:`Search the Host's visible message-content index. Results stay request-local; the list snapshot remains the metadata authority.`,parameters:[{name:`query`,description:`non-blank literal phrase.`},{name:`signal`,description:`cancellation for a superseded search.`}],returns:`bounded results, or a business/transport error.`},{signature:"fork(opts: { sessionId: SessionId atSeq?: number increaseTitle?: boolean onCreated?: (childId: SessionId) => void /** False refuses source migration; omission preserves the Host default. */ allowMigration?: boolean /** `side` records the child as a side conversation; omission creates an ordinary Session. */ origin?: 'side' }): Promise<SessionId>",description:`Fork a session from an exact inclusive prefix of the source; on resolution the child is catalogued and can be explicitly retained.`,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, including a child published before Workspace attachment failed."}],returns:`the child session id.`,throws:[`when the fork fails, or when a requested child-title rename fails after creation.`]},{signature:`scope(id: SessionId): AgentContext | undefined`,description:`Borrow an already-retained Agent-scoped Context without extending its lifetime.`,parameters:[{name:`id`,description:`session id.`}],returns:`the live scoped Context, or undefined without a retained generation.`},{signature:`binding(id: SessionId): SessionBinding | undefined`,description:`Borrow an already-retained Session binding without extending its lifetime.`,parameters:[{name:`id`,description:`session id.`}],returns:`the live binding, or undefined without a retained generation.`}]},{key:`slots`,summary:`cordis Service layer of the slot system; see the module doc for the split with SlotCore.`,description:`cordis Service layer of the slot system; see the module doc for the split with SlotCore.`,methods:[{signature:`declare readonly register: SlotCore['register']`,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.",parameters:[]},{signature:`declare readonly registerFactory: RegisterFactory`,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.",parameters:[{name:`options`,description:"runtime definition checked against `SlotFactoryMap`."},{name:`component`,description:`reusable Factory Component.`}],returns:`the idempotent definition disposer.`},{signature:`inject(key: keyof SlotMap & string, callback: () => SlotInjectionEffect): () => void`,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.",parameters:[{name:`key`,description:`declared SlotMap key to depend on.`},{name:`callback`,description:`creates one disposer or an iterable of disposers.`}],returns:`idempotent disposer for the wait and active effect.`,throws:[`callback setup failures synchronously when the slot is already declared.`]}]},{key:`theme`,summary:`Theme registry and preference owner.`,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`.",methods:[{signature:`getTheme(): ThemeSnapshot`,description:`Read the current immutable theme snapshot.`,parameters:[],returns:`the current snapshot (stable reference until the next change).`},{signature:`setTheme(id: string): void`,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`.",parameters:[{name:`id`,description:"a registered theme id or `system`; unknown ids throw."}]},{signature:`setFontSize(role: FontRole, px: number): void`,description:"Change one role's font size. Accepted values are written through the settings scope and emit `theme/change`.",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."}]},{signature:`register(definition: ThemeDefinition): () => void`,description:"Register a theme. Duplicate id throws (single occupant per id; the built-in pair counts; `system` is a preference, not a registrable id).",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."}],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.`},{signature:`overrideTokens(source: string, tokens: ThemeTokenOverrides): () => void`,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.",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."}],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).`}]},{key:`timer`,summary:`Disposable timer helpers mixed into Cordis contexts.`,description:`Disposable timer helpers mixed into Cordis contexts.`,methods:[{signature:`timeout(callback: () => void, delay: number): () => void`,description:`Run a callback once and return its disposer.`,parameters:[]},{signature:`timeout(delay: number): Promise<void>`,description:`Resolve after a delay; disposal rejects the pending promise.`,parameters:[]},{signature:`interval(callback: () => void, delay: number): () => void`,description:`Run a callback repeatedly and return its disposer.`,parameters:[]},{signature:`interval<R = any>(delay: number): AsyncIterableIterator<void, R, void>`,description:`Return an async iterator of timer ticks.`,parameters:[]},{signature:`throttle<F extends (...args: any[]) => any>(callback: F, delay: number, noTrailing?: boolean): ((...args: Parameters<F>) => void) & { dispose: () => void }`,description:`Return a throttled function whose timer is disposed with the current fiber.`,parameters:[]},{signature:`debounce<F extends (...args: any[]) => any>(callback: F, delay: number): ((...args: Parameters<F>) => void) & { dispose: () => void }`,description:`Return a debounced function whose timer is disposed with the current fiber.`,parameters:[]}]},{key:`uiWorkspace`,summary:`Workspace archive and directory operations consumed by Client UI domains.`,description:`Workspace archive and directory operations consumed by Client UI domains.`,methods:[{signature:`openSession(target: SessionTarget): void`,description:`Select a Session and show its Conversation as one UI navigation action.`,parameters:[{name:`target`,description:`known Session identity or durable direct-parent subagent address to display.`}]},{signature:`openWorkspace( workspaceId: WorkspaceId, beforeOpen?: (sessionId: SessionId) => void, options?: Pick<StartSessionOptions, 'agentPreset'>, ): Promise<void>`,description:`Connect a Workspace and open its Session unless a later navigation supersedes it.`,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.`}],returns:`completion; a superseded request may create a Session but does not open it.`,throws:[`on failure; a refused creation is also shown through the Workspace notice unless a later navigation or disposal superseded the request.`]},{signature:`forkSession( sessionId: SessionId, onCreated?: (childId: SessionId) => void, options?: Pick<Parameters<ISessions['fork']>[0], 'allowMigration' | 'atSeq'>, ): Promise<SessionId>`,description:`Fork a Session without changing the current selection.`,parameters:[{name:`sessionId`,description:`source Session.`},{name:`onCreated`,description:`observer before the optional child-title update.`},{name:`options`,description:`optional migration permission (omission keeps the Host default) and inclusive event cut.`}],returns:`the child SessionId after creation and inherited-title increment.`},{signature:`connectWorkspace(workspaceId: WorkspaceId, options?: Pick<StartSessionOptions, 'agentPreset'>): Promise<SessionId>`,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.`,parameters:[{name:`workspaceId`,description:`target Workspace.`},{name:`options`,description:`choices for the created or reused Session.`}],returns:`a Session already addressable through the Session Controller.`},{signature:`startSession(workspaceId?: WorkspaceId, options?: StartSessionOptions): void`,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.",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."}]},{signature:`archiveSession(sessionId: SessionId, options?: { readonly stopActivity?: boolean }): Promise<void>`,description:`Archive a Session and clear it when it is the current selection.`,parameters:[{name:`sessionId`,description:`Session to archive.`},{name:`options`,description:"`stopActivity` asks the Host to stop the Session's running work instead of refusing."}]},{signature:`unarchiveSession(sessionId: SessionId): Promise<void>`,description:`Unarchive a Session, restoring it to its recorded Workspace position.`,parameters:[{name:`sessionId`,description:`Session to unarchive.`}]},{signature:`pickDirectory(): Promise<string | null>`,description:`Open the Host-native directory picker.`,parameters:[],returns:`the selected directory, or null when cancelled.`},{signature:`listDirectory(path?: string, signal?: AbortSignal): Promise<DirectoryListing>`,description:`List one Host directory level.`,parameters:[{name:`path`,description:`directory path; absent selects the Host home.`},{name:`signal`,description:`cancellation for a superseded scan.`}],returns:`directory entries and breadcrumb ancestry.`},{signature:`createDirectory(path: string, name: string): Promise<string>`,description:`Create a child directory.`,parameters:[{name:`path`,description:`existing parent directory.`},{name:`name`,description:`child directory name.`}],returns:`created absolute path.`}]},{key:`workspaces`,summary:`Workspace Controller's Client service face.`,description:`Workspace Controller's Client service face.`,methods:[{signature:`create(input: { path: string }): Promise<WorkspaceView>`,description:`Register an existing path as a Workspace.`,parameters:[{name:`input`,description:`Host create payload.`}],returns:`the created or idempotently resolved Workspace.`},{signature:`rename(workspaceId: WorkspaceId, title: string): Promise<WorkspaceView>`,description:`Rename a Workspace.`,parameters:[{name:`workspaceId`,description:`target Workspace.`},{name:`title`,description:`new display title.`}],returns:`the renamed Workspace.`},{signature:`delete(workspaceId: WorkspaceId): Promise<void>`,description:`Delete a Workspace registration without deleting Sessions or files.`,parameters:[{name:`workspaceId`,description:`target Workspace.`}]},{signature:`archiveSession(sessionId: SessionId, options?: { readonly stopActivity?: boolean }): Promise<void>`,description:`Archive a Session from Workspace grouping surfaces.`,parameters:[{name:`sessionId`,description:`Session to archive.`},{name:`options`,description:"`stopActivity` asks the Host to stop the Session's running work instead of refusing."}],throws:["{WorkspaceArchiveError} when the Host refuses; without `stopActivity` a Session with running work fails as `workspace/session-active`, its details naming what runs."]},{signature:`unarchiveSession(sessionId: SessionId): Promise<void>`,description:`Unarchive a Session from the archived Session list.`,parameters:[{name:`sessionId`,description:`Session to unarchive.`}]},{signature:`insertSessionBefore( workspaceId: WorkspaceId, sessionId: SessionId, beforeSessionId?: SessionId, ): Promise<WorkspaceView>`,description:`Move a Session within one Workspace account.`,parameters:[{name:`workspaceId`,description:`owning Workspace.`},{name:`sessionId`,description:`Session to move.`},{name:`beforeSessionId`,description:`anchor Session; omitted appends.`}],returns:`the changed Workspace.`}]}];const EVENT_API=[{name:`connection/reset`,mode:`emit`,signature:`'connection/reset'(): void`,summary:`A connection generation was established.`,description:`A connection generation was established. Wire-derived caches must repull; long-lived streams own their own resume and baseline lifecycle.`,parameters:[]},{name:`locale/change`,mode:`emit`,signature:`'locale/change'(snapshot: LocaleSnapshot): void`,summary:`The active locale switched.`,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.`,parameters:[{name:`snapshot`,description:`Current immutable locale snapshot.`}]},{name:`slots/changed`,mode:`emit`,signature:`'slots/changed'(key: string): void`,summary:`An ordinary Slot declaration or entry registration set changed.`,description:"An ordinary Slot declaration or entry registration set changed. Factory definitions publish through `subscribeFactory()` instead.",parameters:[{name:`key`,description:`mutated SlotMap key.`}]},{name:`theme/change`,mode:`emit`,signature:`'theme/change'(snapshot: ThemeSnapshot): void`,summary:"Theme state changed (preference switched, registry updated, or the OS color scheme changed while the preference is `system`).",description:"Theme state changed (preference switched, registry updated, or the OS color scheme changed while the preference is `system`).",parameters:[{name:`snapshot`,description:`Current immutable theme snapshot.`}]}];const TYPE_API=[{name:`ActionsDecl`,declaration:`export type ActionsDecl<T> = Record<string, (draft: T, ...params: any[]) => void>;`},{name:`AgentContext`,declaration:`export type AgentContext = Omit<Context, 'remote'> & {
5
5
  readonly remote: ClientRemote & TypertRemoteScopeApi<'agent'>;
6
6
  };`},{name:`AssistantLiveChunkEvent`,declaration:`export interface AssistantLiveChunkEvent {
7
7
  readonly type: 'assistant/live-chunk';
@@ -215,6 +215,7 @@ The durable write happens even when the id already matches the active locale, be
215
215
  increaseTitle?: boolean;
216
216
  onCreated?: (childId: SessionId) => void;
217
217
  allowMigration?: boolean;
218
+ origin?: 'side';
218
219
  }): Promise<SessionId>;
219
220
  scope(id: SessionId): AgentContext | undefined;
220
221
  scopeOf(ctx: Context): SessionId | undefined;
@@ -289,8 +290,21 @@ The durable write happens even when the id already matches the active locale, be
289
290
  readonly attachments: readonly (ImageAttachmentRef | FileAttachmentRef)[];
290
291
  } | {
291
292
  readonly reason: 'failed';
292
- };`},{name:`ProjectionsFace`,declaration:`export interface ProjectionsFace {
293
+ };`},{name:`ProjectionsBaseline`,declaration:`export interface ProjectionsBaseline {
294
+ asOfSeq: SessionSeqCursor;
295
+ values: Readonly<Record<string, unknown>>;
296
+ }`},{name:`ProjectionsFace`,declaration:`export interface ProjectionsFace {
293
297
  faceOf(key: string): ObservableSnapshot<unknown>;
298
+ }`},{name:`ProjectionValueStore`,declaration:`export class ProjectionValueStore {
299
+ faceOf(key: string): ObservableSnapshot<unknown>;
300
+ get(key: string): unknown;
301
+ seqOf(key: string): SessionSeqCursor | undefined;
302
+ values(): Readonly<Partial<SessionProjectionMap>>;
303
+ subscribeAny(listener: () => void): () => void;
304
+ apply(key: string, value: unknown, seq: SessionSeqCursor): void;
305
+ applyCached(values: Readonly<Record<string, unknown>>): void;
306
+ seed(baseline: ProjectionsBaseline): void;
307
+ clear(): void;
294
308
  }`},{name:`PromptContentPart`,declaration:`export type PromptContentPart = {
295
309
  readonly type: 'text';
296
310
  readonly text: string;
@@ -338,8 +352,7 @@ The durable write happens even when the id already matches the active locale, be
338
352
  <F extends keyof SlotFactoryMap & string>(options: RegisterFactoryOptions<F>, component: SlotComponent<FactoryComponentPropsOf<F>>): () => void;
339
353
  }`},{name:`RegisterFactoryOptions`,declaration:`export type RegisterFactoryOptions<F extends keyof SlotFactoryMap & string> = {
340
354
  name: F;
341
- scope: FactoryDefOf<F>['scope'];
342
- } & 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>;`},{name:`RemoteHostFacts`,declaration:`export interface RemoteHostFacts {
355
+ } & FactoryOutletSpec<FactoryDefOf<F>['scope']> & 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>;`},{name:`RemoteHostFacts`,declaration:`export interface RemoteHostFacts {
343
356
  readonly home: string | undefined;
344
357
  readonly isLoopback: boolean;
345
358
  }`},{name:`RemoteStream`,declaration:`export class RemoteStream<Item> implements AsyncIterable<RemoteStreamItem<Item>> {
@@ -365,7 +378,51 @@ The durable write happens even when the id already matches the active locale, be
365
378
  [N in FactoryLocalNameOf<F>]: FactoryLocalComponent<F, N>;
366
379
  }>;
367
380
  fallback?: ReactNode;
368
- }) => ReactNode;`},{name:`ScopeOf`,declaration:`export type ScopeOf<K extends keyof SlotMap & string> = SlotMap[K]['scope'];`},{name:`ScopeStandardProps`,declaration:`export type ScopeStandardProps<S extends SlotScope> = (S extends 'session' ? SessionStandardProps : S extends 'session-maybe' ? SessionMaybeStandardProps : object) & GlobalStandardProps;`},{name:`SessionAreaProps`,declaration:`export interface SessionAreaProps {
381
+ }) => ReactNode;`},{name:`ScopeOf`,declaration:`export type ScopeOf<K extends keyof SlotMap & string> = SlotMap[K]['scope'];`},{name:`ScopeStandardProps`,declaration:`export type ScopeStandardProps<S extends SlotScope> = (S extends 'session' ? SessionStandardProps : S extends 'session-maybe' ? SessionMaybeStandardProps : object) & GlobalStandardProps;`},{name:`Session`,declaration:`export class Session implements SessionFace {
382
+ readonly projections: ProjectionValueStore;
383
+ readonly eventSource;
384
+ constructor(readonly sessionId: SessionId, private readonly remote: SessionRemotes, private readonly options: SessionOptions = {});
385
+ bindScope(actx: Context): void;
386
+ unbindScope(): void;
387
+ beginSubmission(input: BeginSubmissionInput): SubmissionHandle;
388
+ async prompt(content: PromptContentPart[], mode: 'queue' | 'steer', signal?: AbortSignal, requestId?: SessionRequestId): Promise<RemoteResult<{
389
+ accepted: true;
390
+ }>>;
391
+ async readAttachment(attachment: ImageAttachmentRef): Promise<RemoteResult<{
392
+ attachment: ImageAttachmentRef;
393
+ data: Uint8Array;
394
+ }>>;
395
+ async updateQueue(itemId: MessageId, action: QueueAction): Promise<RemoteResult<{
396
+ accepted: true;
397
+ }>>;
398
+ async cancel(): Promise<RemoteResult<{
399
+ accepted: true;
400
+ }>>;
401
+ async rename(title: string): Promise<RemoteResult<{
402
+ title: string;
403
+ seq: SessionSeq;
404
+ }>>;
405
+ async command(line: string): Promise<RemoteResult<{
406
+ matched: boolean;
407
+ }>>;
408
+ open(): Promise<void>;
409
+ async loadOlder(options?: {
410
+ deferConsumption?: boolean;
411
+ }): Promise<void>;
412
+ consumeOlder(): boolean;
413
+ loadThrough(seq: SessionSeq): Promise<void>;
414
+ async resync(): Promise<void>;
415
+ subscribe(listener: () => void): () => void;
416
+ getSnapshot(): SessionSnapshot;
417
+ handleRunning(running: boolean): void;
418
+ configureSubagent(address: SubagentAddress | undefined): void;
419
+ handleBlank(blank: boolean): void;
420
+ handleRemoved(): void;
421
+ handleAgentError(message: string): void;
422
+ bufferOlder(): void;
423
+ async disconnect(): Promise<void>;
424
+ async dispose(): Promise<void>;
425
+ }`},{name:`SessionAreaProps`,declaration:`export interface SessionAreaProps {
369
426
  readonly session?: SlotScopeTargetMap[keyof SlotScopeTargetMap & 'session'] | undefined;
370
427
  empty?: (() => ReactNode) | undefined;
371
428
  children: ReactNode;
@@ -377,6 +434,8 @@ The durable write happens even when the id already matches the active locale, be
377
434
  readonly session: SessionFace;
378
435
  readonly eventSource: SessionEventSource;
379
436
  readonly ctx: AgentContext;
437
+ }`},{name:`SessionCommandsRemote`,declaration:`export interface SessionCommandsRemote {
438
+ execute(agentId: SessionId, line: string, attachments: readonly CommandSubmitAttachment[], signal?: AbortSignal): Promise<RemoteResult<object | undefined>>;
380
439
  }`},{name:`SessionEventChange`,declaration:`export type SessionEventChange = {
381
440
  readonly kind: 'replace';
382
441
  readonly entries: readonly SessionEventLikeEntry[];
@@ -409,6 +468,10 @@ The durable write happens even when the id already matches the active locale, be
409
468
  phase: SessionListPhase;
410
469
  projectionsBySession: Readonly<Record<SessionId, SessionProjectionSnapshot>>;
411
470
  }`},{name:`SessionMaybeStandardProps`,declaration:`export interface SessionMaybeStandardProps {
471
+ }`},{name:`SessionOptions`,declaration:`export interface SessionOptions {
472
+ address?: SubagentAddress;
473
+ onEngaged?(session: Session): void;
474
+ projections?: ProjectionValueStore;
412
475
  }`},{name:`SessionProjectionSnapshot`,declaration:`export interface SessionProjectionSnapshot {
413
476
  readonly values: Readonly<Partial<SessionProjectionViewValues>>;
414
477
  readonly state: 'idle' | 'loading' | 'ready' | 'migration-required' | 'error';
@@ -421,6 +484,11 @@ The durable write happens even when the id already matches the active locale, be
421
484
  }`},{name:`SessionReferenceSource`,declaration:`export type SessionReferenceSource = Extract<keyof SessionReferenceSourceMap, string>;`},{name:`SessionReferenceSourceMap`,declaration:`export interface SessionReferenceSourceMap {
422
485
  controllerOperation: unknown;
423
486
  gateway: unknown;
487
+ }`},{name:`SessionRemote`,declaration:`export type SessionRemote = ClientRemote['session'];`},{name:`SessionRemotes`,declaration:`export interface SessionRemotes {
488
+ readonly $stream: ClientRemote['$stream'];
489
+ readonly commands: SessionCommandsRemote;
490
+ readonly session: SessionRemote;
491
+ readonly subagents: SessionSubagentsRemote;
424
492
  }`},{name:`SessionRequestId`,declaration:`export type SessionRequestId = Branded<'session-request-id'>;`},{name:`SessionRetainFacet`,declaration:`export type SessionRetainFacet = Extract<keyof SessionRetainFacetMap, string>;`},{name:`SessionRetainFacetMap`,declaration:`export interface SessionRetainFacetMap {
425
493
  }`},{name:`SessionRetainInfo`,declaration:`export interface SessionRetainInfo {
426
494
  readonly referenceCount: number;
@@ -455,7 +523,10 @@ The durable write happens even when the id already matches the active locale, be
455
523
  readonly promptAttempted: boolean;
456
524
  readonly awaitingFirstTurn: boolean;
457
525
  }`},{name:`SessionStandardProps`,declaration:`export interface SessionStandardProps {
458
- }`},{name:`SessionTarget`,declaration:`export type SessionTarget = SessionId | SubagentAddress;`},{name:`SlotComponent`,declaration:`export type SlotComponent<P> = (props: P) => ReactNode;`},{name:`SlotCore`,declaration:`export class SlotCore {
526
+ }`},{name:`SessionSubagentsRemote`,declaration:`export interface SessionSubagentsRemote {
527
+ prompt(request: SubagentPromptRequest, signal?: AbortSignal): Promise<RemoteResult<SubagentPromptReceipt>>;
528
+ interruptByUser(childSessionId: SessionId): Promise<RemoteResult<SubagentInterruptReceipt>>;
529
+ }`},{name:`SessionTarget`,declaration:`export type SessionTarget = SessionId | SubagentAddress;`},{name:`SlotComponent`,declaration:`export type SlotComponent<P> = (props: P) => ReturnType<FunctionComponent>;`},{name:`SlotCore`,declaration:`export class SlotCore {
459
530
  constructor();
460
531
  readonly registerFactory: RegisterFactory;
461
532
  factory(name: string): StoredFactory | undefined;
@@ -535,14 +606,14 @@ The durable write happens even when the id already matches the active locale, be
535
606
  readonly name: string;
536
607
  readonly component: unknown;
537
608
  readonly scope: SlotScope;
609
+ readonly inline?: true;
538
610
  readonly children?: Readonly<Record<string, SlotSpec<SlotEntryDef>>> | undefined;
539
611
  readonly store?: StoreDecl | undefined;
540
612
  readonly inject?: ((...args: never[]) => Record<string, unknown>) | undefined;
541
613
  readonly locale?: string | undefined;
542
- readonly slots?: Readonly<Record<string, {
543
- scope: SlotScope;
544
- }>> | undefined;
614
+ readonly slots?: Readonly<Record<string, FactoryOutletSpec>> | undefined;
545
615
  readonly registrant?: string | undefined;
616
+ readonly module?: string | undefined;
546
617
  }`},{name:`StoreFactory`,declaration:`export type StoreFactory = () => StoreHandle<any, any>;`},{name:`StoreHandle`,declaration:`export interface StoreHandle<T, A extends ActionsDecl<T>> {
547
618
  readonly spec: StoreSpec<T, A>;
548
619
  create(scopeKey?: string): StoreInstance<T, A>;
@@ -580,10 +651,38 @@ The durable write happens even when the id already matches the active locale, be
580
651
  readonly sessionIds: readonly SessionId[];
581
652
  readonly createdAt: string;
582
653
  readonly updatedAt: string;
583
- }`}];function referencedTypeClosure(seeds){const included=new Set;let frontier=[...seeds];while(frontier.length>0){const next=[];for(const entry of TYPE_API){if(included.has(entry.name))continue;const pattern=new RegExp(`\\b${entry.name}\\b`);if(!frontier.some(text=>pattern.test(text)))continue;included.add(entry.name);next.push(entry.declaration)}frontier=next}return TYPE_API.filter(entry=>included.has(entry.name))}function contextProperty(key){return/^[A-Za-z_$][\w$]*$/.test(key)?`ctx.${key}`:`ctx[${JSON.stringify(key)}]`}function queryServiceApi(key,services=SERVICE_API){if(key===void 0)return{mode:`catalog`,services:services.map(service=>({key:service.key,description:service.summary,methods:service.methods.map(method=>({signature:method.signature}))}))};const service=services.find(candidate=>candidate.key===key);if(service===void 0)throw new Error(`no catalogued Service named "${key}"`);return{mode:`service`,service:{key:service.key,description:service.description,access:{optional:{expression:`ctx.get(${JSON.stringify(service.key)})`,requiresUndefinedCheck:true},hardDependency:{inject:[service.key],expression:contextProperty(service.key)}},methods:service.methods},referencedTypes:referencedTypeClosure(service.methods.map(method=>method.signature))}}function queryEventApi(name,events=EVENT_API){if(name===void 0)return{mode:`catalog`,events:events.map(event=>({name:event.name,description:event.summary,mode:event.mode,signature:event.signature}))};const event=events.find(candidate=>candidate.name===name);if(event===void 0)throw new Error(`no catalogued Event named "${name}"`);return{mode:`event`,event:{name:event.name,description:event.description,mode:event.mode,signature:event.signature,parameters:event.parameters},referencedTypes:referencedTypeClosure([event.signature])}}const CLIENT_SLOT_API=[{key:`contextMenu.content`,kind:`keyed`,scope:`root`,summary:`Optional React rows for existing extension positions; data contributions need no renderer.`,doc:`Optional React rows for existing extension positions; data contributions need no renderer.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Captured target; changing selection never changes an open menu's target. */
654
+ }`}];function referencedTypeClosure(seeds){const included=new Set;let frontier=[...seeds];while(frontier.length>0){const next=[];for(const entry of TYPE_API){if(included.has(entry.name))continue;const pattern=new RegExp(`\\b${entry.name}\\b`);if(!frontier.some(text=>pattern.test(text)))continue;included.add(entry.name);next.push(entry.declaration)}frontier=next}return TYPE_API.filter(entry=>included.has(entry.name))}function contextProperty(key){return/^[A-Za-z_$][\w$]*$/.test(key)?`ctx.${key}`:`ctx[${JSON.stringify(key)}]`}function queryServiceApi(key,services=SERVICE_API){if(key===void 0)return{mode:`catalog`,services:services.map(service=>({key:service.key,description:service.summary,methods:service.methods.map(method=>({signature:method.signature}))}))};const service=services.find(candidate=>candidate.key===key);if(service===void 0)throw new Error(`no catalogued Service named "${key}"`);return{mode:`service`,service:{key:service.key,description:service.description,access:{optional:{expression:`ctx.get(${JSON.stringify(service.key)})`,requiresUndefinedCheck:true},hardDependency:{inject:[service.key],expression:contextProperty(service.key)}},methods:service.methods},referencedTypes:referencedTypeClosure(service.methods.map(method=>method.signature))}}function queryEventApi(name,events=EVENT_API){if(name===void 0)return{mode:`catalog`,events:events.map(event=>({name:event.name,description:event.summary,mode:event.mode,signature:event.signature}))};const event=events.find(candidate=>candidate.name===name);if(event===void 0)throw new Error(`no catalogued Event named "${name}"`);return{mode:`event`,event:{name:event.name,description:event.description,mode:event.mode,signature:event.signature,parameters:event.parameters},referencedTypes:referencedTypeClosure([event.signature])}}const CLIENT_SLOT_API=[{key:`connectors.actions`,kind:`list`,scope:`root`,summary:`The Connectors tab's actions at the end of its first heading's row, shown while the tab shows its lists; this plugin registers the button that opens a new custom MCP server's form there once the manager's Remote exists.`,doc:`The Connectors tab's actions at the end of its first heading's row, shown while the tab shows its lists; this
655
+ plugin registers the button that opens a new custom MCP server's form there once the manager's Remote exists.
656
+ The tab passes the change of its view.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** What the Connectors tab passes to each of its actions: the change of the view it shows. */
657
+ export interface ConnectorsActionOwnerProps {
658
+ readonly setView: (view: CustomServersView) => void
659
+ }`],ownerPropsReferences:[`CustomServersView`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'plugins.tab' (client-ui-connectors), so it exists while that entry is mounted`,occupants:[`client-ui-connectors AddServerAction`],replaceRisk:`none`,example:`return {
660
+ inject: ['slots'],
661
+ apply(ctx) {
662
+ ctx.slots.inject('connectors.actions', () => ctx.slots.register(
663
+ { name: 'connectors.actions', id: 'my-entry', order: 100, label: 'My entry' },
664
+ () => React.createElement('div', null, 'hello'),
665
+ ))
666
+ },
667
+ }`,source:`packages/experimental/client-ui-connectors/src/client/index.ts:26`},{key:`connectors.custom`,kind:`single`,scope:`root`,summary:`The Connectors tab's section below the official connectors; this plugin registers the custom MCP servers section there once the manager's Remote exists.`,doc:`The Connectors tab's section below the official connectors; this plugin registers the custom MCP servers
668
+ section there once the manager's Remote exists. The tab passes the section's view and shows only the section,
669
+ under the Plugins page's crumb, while the view is a server's page; without an entry the tab shows only the
670
+ official connectors.`,registerOptions:[],ownerProps:[`/** What the Connectors tab passes: the view it shows, and the change the section asks for. */
671
+ export interface CustomServersOwnerProps {
672
+ readonly view: CustomServersView
673
+ readonly setView: (view: CustomServersView) => void
674
+ }`],ownerPropsReferences:[`CustomServersView`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'plugins.tab' (client-ui-connectors), so it exists while that entry is mounted`,occupants:[`client-ui-connectors CustomServersSection`],replaceRisk:`shadows-shipped-ui`,example:`return {
675
+ inject: ['slots'],
676
+ apply(ctx) {
677
+ ctx.slots.inject('connectors.custom', () => ctx.slots.register(
678
+ { name: 'connectors.custom' },
679
+ () => React.createElement('div', null, 'hello'),
680
+ ))
681
+ },
682
+ }`,source:`packages/experimental/client-ui-connectors/src/client/index.ts:33`},{key:`contextMenu.content`,kind:`keyed`,scope:`root`,summary:`Optional React rows for existing extension positions; data contributions need no renderer.`,doc:`Optional React rows for existing extension positions; data contributions need no renderer.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Captured target; changing selection never changes an open menu's target. */
584
683
  export type ContextMenuTarget = {
585
684
  [K in keyof ContextMenuTargetMap]: { readonly kind: K; readonly value: ContextMenuTargetMap[K] }
586
- }[keyof ContextMenuTargetMap]`],ownerPropsReferences:[`ContextMenuTargetMap`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: session, tab`,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-context-menu), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right TabMenuContent key 'tab'`,`client-ui-workspace SessionMenu key 'session'`],replaceRisk:`shadows-shipped-ui`,example:`return {
685
+ }[keyof ContextMenuTargetMap]`],ownerPropsReferences:[`ContextMenuTargetMap`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: session, tab`,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-context-menu), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right TabMenuContent key 'tab'`,`client-ui-workspace SessionMenu key 'session'`],replaceRisk:`shadows-shipped-ui`,example:`return {
587
686
  inject: ['slots'],
588
687
  apply(ctx) {
589
688
  ctx.slots.inject('contextMenu.content', () => ctx.slots.register(
@@ -595,7 +694,7 @@ export type ContextMenuTarget = {
595
694
  export interface ContextMenuIcon {
596
695
  readonly key: string
597
696
  readonly src?: string
598
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: open-in-app.application, reference.addToChat, sidebar.close`,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-context-menu), so it exists while that entry is mounted`,occupants:[`client-ui-file-actions Icon`,`client-ui-open-in-app Icon`,`client-ui-open-in-app ContextMenuApplicationIcon key 'open-in-app.application'`,`client-ui-reference IconPlusOutlineRegular key 'reference.addToChat'`,`client-ui-sidebar-right IconCloseOutlineRegular key 'sidebar.close'`,`client-ui-workspace Icon`,`session-log-export Icon`],replaceRisk:`shadows-shipped-ui`,example:`return {
697
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: open-in-app.application, reference.addToChat, sidebar.close`,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-context-menu), so it exists while that entry is mounted`,occupants:[`client-ui-file-actions Icon`,`client-ui-open-in-app Icon`,`client-ui-open-in-app ContextMenuApplicationIcon key 'open-in-app.application'`,`client-ui-reference IconPlusOutlineRegular key 'reference.addToChat'`,`client-ui-sidebar-right IconCloseOutlineRegular key 'sidebar.close'`,`client-ui-workspace Icon`,`session-log-export Icon`],replaceRisk:`shadows-shipped-ui`,example:`return {
599
698
  inject: ['slots'],
600
699
  apply(ctx) {
601
700
  ctx.slots.inject('contextMenu.icon', () => ctx.slots.register(
@@ -607,7 +706,7 @@ export interface ContextMenuIcon {
607
706
  export interface ApprovalDetailOwnerProps {
608
707
  /** Tool call correlated with the request. */
609
708
  callId: ToolCallId
610
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.approval.card' (client-ui-approval), so it exists while that definition is registered`,occupants:[`client-ui-chat ApprovalCommand`],replaceRisk:`shadows-shipped-ui`,example:`return {
709
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.approval.card' (client-ui-approval), so it exists while that definition is registered`,occupants:[`client-ui-chat ApprovalCommand`],replaceRisk:`shadows-shipped-ui`,example:`return {
611
710
  inject: ['slots'],
612
711
  apply(ctx) {
613
712
  ctx.slots.inject('conversation.approval.detail', () => ctx.slots.register(
@@ -625,7 +724,7 @@ within the end gutter to stay clear of the transcript column. The
625
724
  layer publishes that gutter, the inline space between the transcript
626
725
  column and the frame's end edge, as the \`--dsh-chat-aside-gutter\`
627
726
  custom property; its percentage resolves in the inline sizes of an
628
- element whose containing block is the layer.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-session-panel SessionPanel`],replaceRisk:`shadows-shipped-ui`,example:`return {
727
+ element whose containing block is the layer.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-session-panel SessionPanel`],replaceRisk:`shadows-shipped-ui`,example:`return {
629
728
  inject: ['slots'],
630
729
  apply(ctx) {
631
730
  ctx.slots.inject('conversation.chat.aside', () => ctx.slots.register(
@@ -633,12 +732,14 @@ element whose containing block is the layer.`,registerOptions:[],ownerProps:[],o
633
732
  () => React.createElement('div', null, 'hello'),
634
733
  ))
635
734
  },
636
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:447`},{key:`conversation.chat.assistant-actions`,kind:`list`,scope:`session`,summary:`Ordered actions for one finalized assistant message.`,doc:`Ordered actions for one finalized assistant message. Each entry receives
735
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:455`},{key:`conversation.chat.assistant-actions`,kind:`list`,scope:`session`,summary:`Ordered actions for one finalized assistant message.`,doc:`Ordered actions for one finalized assistant message. Each entry receives
637
736
  the durable message id; a fresh \`id\` adds an action and reusing one replaces
638
- that entry. With no entries, the standard action row remains unchanged.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner currency of finalized-assistant actions. */
737
+ that entry. With no entries, the standard action row remains unchanged.
738
+ A control carrying \`data-action-ongoing\` keeps a row that is otherwise
739
+ shown only on hover or focus visible while its action runs.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner currency of finalized-assistant actions. */
639
740
  export interface AssistantActionOwnerProps {
640
741
  messageId: MessageId
641
- }`],ownerPropsReferences:[`MessageId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-message-feedback MessageFeedbackActions id 'feedback'`],replaceRisk:`none`,example:`return {
742
+ }`],ownerPropsReferences:[`MessageId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-message-feedback MessageFeedbackActions id 'feedback'`,`client-ui-read-aloud ReadAloudAction id 'read-aloud'`],replaceRisk:`none`,example:`return {
642
743
  inject: ['slots'],
643
744
  apply(ctx) {
644
745
  ctx.slots.inject('conversation.chat.assistant-actions', () => ctx.slots.register(
@@ -646,13 +747,13 @@ export interface AssistantActionOwnerProps {
646
747
  () => React.createElement('div', null, 'hello'),
647
748
  ))
648
749
  },
649
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:512`},{key:`conversation.chat.commandview`,kind:`keyed`,scope:`session`,summary:`Command row keyed by the command name.`,doc:`Command row keyed by the command name. The component receives the folded
750
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:522`},{key:`conversation.chat.commandview`,kind:`keyed`,scope:`session`,summary:`Command row keyed by the command name.`,doc:`Command row keyed by the command name. The component receives the folded
650
751
  command lifecycle and linked compaction when present. Reusing a key
651
752
  replaces that command renderer; an unoccupied key uses the generic card.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Command-row owner share. */
652
753
  export interface CommandRowOwnerProps {
653
754
  node: CommandNode
654
755
  compaction?: CompactionSummaryNode
655
- }`],ownerPropsReferences:[`Command`,`CommandNode`,`CompactionSummaryNode`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: team`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamCommandRow key 'team'`],replaceRisk:`shadows-shipped-ui`,example:`return {
756
+ }`],ownerPropsReferences:[`Command`,`CommandNode`,`CompactionSummaryNode`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: team`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamCommandRow key 'team'`],replaceRisk:`shadows-shipped-ui`,example:`return {
656
757
  inject: ['slots'],
657
758
  apply(ctx) {
658
759
  ctx.slots.inject('conversation.chat.commandview', () => ctx.slots.register(
@@ -660,14 +761,14 @@ export interface CommandRowOwnerProps {
660
761
  () => React.createElement('div', null, 'hello'),
661
762
  ))
662
763
  },
663
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:494`},{key:`conversation.chat.flow`,kind:`single`,scope:`session`,summary:`Ordered Chat rows and local echoes with viewport-bound visibility hooks.`,doc:`Ordered Chat rows and local echoes with viewport-bound visibility hooks.`,registerOptions:[],ownerProps:[`/** Ordered rows and reconciled local echoes rendered inside one Chat viewport. */
764
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:502`},{key:`conversation.chat.flow`,kind:`single`,scope:`session`,summary:`Ordered Chat rows and local echoes with viewport-bound visibility hooks.`,doc:`Ordered Chat rows and local echoes with viewport-bound visibility hooks.`,registerOptions:[],ownerProps:[`/** Ordered rows and reconciled local echoes rendered inside one Chat viewport. */
664
765
  export interface ChatFlowOwnerProps extends Pick<ChatNodeOwnerProps,
665
- 'cwd' | 'openFile' | 'inspectCall' | 'forkAt' | 'loadImage'> {
766
+ 'cwd' | 'openFile' | 'inspectCall' | 'inspectRequest' | 'forkAt' | 'loadImage'> {
666
767
  readonly entries: readonly RenderEntry[]
667
768
  readonly pendingInputs: readonly (PendingSubmission | InboxState['next-step'][number])[]
668
769
  readonly lastInputTurn: number | undefined
669
770
  readonly deferCollapse: boolean
670
- }`],ownerPropsReferences:[`ChatNodeOwnerProps`,`PendingSubmission`,`RenderEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:`ChatFlowHookContext`,slotInject:`ChatFlowInjected`,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-chat ChatFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
771
+ }`],ownerPropsReferences:[`ChatNodeOwnerProps`,`PendingSubmission`,`RenderEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:`ChatFlowHookContext`,slotInject:`ChatFlowInjected`,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-chat ChatFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
671
772
  inject: ['slots'],
672
773
  apply(ctx) {
673
774
  ctx.slots.inject('conversation.chat.flow', () => ctx.slots.register(
@@ -675,7 +776,7 @@ export interface ChatFlowOwnerProps extends Pick<ChatNodeOwnerProps,
675
776
  () => React.createElement('div', null, 'hello'),
676
777
  ))
677
778
  },
678
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:450`},{key:`conversation.chat.markdown.fence`,kind:`hoc`,scope:`session`,summary:`Language-keyed layers around one Markdown fence in the Chat flow; the content is the plain code block.`,doc:`Language-keyed layers around one Markdown fence in the Chat flow; the content is the plain code block.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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."},{name:`key`,requirement:`optional`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:"Nesting position, ascending (default 0); the lowest order is the outermost layer. Render the `children` prop at most once."}],ownerProps:[`/** One Markdown code fence whose language is final, as {@link MarkdownDelegate.renderCode} receives it. */
779
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:458`},{key:`conversation.chat.markdown.fence`,kind:`hoc`,scope:`session`,summary:`Language-keyed layers around one Markdown fence in the Chat flow; the content is the plain code block.`,doc:`Language-keyed layers around one Markdown fence in the Chat flow; the content is the plain code block.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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."},{name:`key`,requirement:`optional`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:"Nesting position, ascending (default 0); the lowest order is the outermost layer. Render the `children` prop at most once."}],ownerProps:[`/** One Markdown code fence whose language is final, as {@link MarkdownDelegate.renderCode} receives it. */
679
780
  export interface MarkdownDelegateFenceInfo {
680
781
  /**
681
782
  * The info string's language word, cut at its first character outside
@@ -688,7 +789,7 @@ export interface MarkdownDelegateFenceInfo {
688
789
  readonly streaming: boolean
689
790
  /** The info string after the language word, as the author wrote it; absent when the fence names only a language. */
690
791
  readonly meta?: string | undefined
691
- }`],ownerPropsReferences:[`MarkdownDelegate`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any entryKey the owner dispatches; a layer without key serves every dispatch, already taken: diff, math, patch`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-action-cards HiddenCardBlock id '@deepseek-ai/dsh-client-ui-action-cards/block'`,`client-ui-chat MathFenceLayer id '@deepseek-ai/dsh-client-ui-chat/fence/math' key 'math'`,`client-ui-chat DiffFenceLayer id '@deepseek-ai/dsh-client-ui-chat/fence/diff' key 'diff'`,`client-ui-chat DiffFenceLayer id '@deepseek-ai/dsh-client-ui-chat/fence/diff' key 'patch'`],replaceRisk:`wraps-owner-content`,example:`return {
792
+ }`],ownerPropsReferences:[`MarkdownDelegate`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any entryKey the owner dispatches; a layer without key serves every dispatch, already taken: diff, math, patch`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-action-cards HiddenCardBlock id '@deepseek-ai/dsh-client-ui-action-cards/block'`,`client-ui-chat MathFenceLayer id '@deepseek-ai/dsh-client-ui-chat/fence/math' key 'math'`,`client-ui-chat DiffFenceLayer id '@deepseek-ai/dsh-client-ui-chat/fence/diff' key 'diff'`,`client-ui-chat DiffFenceLayer id '@deepseek-ai/dsh-client-ui-chat/fence/diff' key 'patch'`],replaceRisk:`wraps-owner-content`,example:`return {
692
793
  inject: ['slots'],
693
794
  apply(ctx) {
694
795
  ctx.slots.inject('conversation.chat.markdown.fence', () => ctx.slots.register(
@@ -696,7 +797,7 @@ export interface MarkdownDelegateFenceInfo {
696
797
  ({ children }) => React.createElement('div', null, children),
697
798
  ))
698
799
  },
699
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:433`},{key:`conversation.chat.message.images`,kind:`single`,scope:`session`,summary:`Renderer for one consecutive group of durable message images.`,doc:`Renderer for one consecutive group of durable message images. The owner
800
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:441`},{key:`conversation.chat.message.images`,kind:`single`,scope:`session`,summary:`Renderer for one consecutive group of durable message images.`,doc:`Renderer for one consecutive group of durable message images. The owner
700
801
  supplies image references, an authorized loader, and alignment. A
701
802
  registration replaces the shipped gallery; without one, images are omitted.`,registerOptions:[],ownerProps:[`/** Message image group handed to the optional attachment presentation plugin. */
702
803
  export interface MessageImagesOwnerProps {
@@ -710,7 +811,7 @@ export interface MessageImagesOwnerProps {
710
811
  compact?: boolean
711
812
  /** Fixed, uncropped thumbnail for an attachment list row. */
712
813
  thumbnail?: boolean
713
- }`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
814
+ }`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
714
815
  inject: ['slots'],
715
816
  apply(ctx) {
716
817
  ctx.slots.inject('conversation.chat.message.images', () => ctx.slots.register(
@@ -718,7 +819,7 @@ export interface MessageImagesOwnerProps {
718
819
  () => React.createElement('div', null, 'hello'),
719
820
  ))
720
821
  },
721
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:486`},{key:`conversation.chat.node`,kind:`keyed`,scope:`session`,summary:"Final Chat node renderer, keyed by `ChatNodeKind`.",doc:`Final Chat node renderer, keyed by \`ChatNodeKind\`. The component receives
822
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:494`},{key:`conversation.chat.node`,kind:`keyed`,scope:`session`,summary:"Final Chat node renderer, keyed by `ChatNodeKind`.",doc:`Final Chat node renderer, keyed by \`ChatNodeKind\`. The component receives
722
823
  the typed node, shared Chat actions, and Turn-data hook. Reusing a key
723
824
  replaces that node renderer; a kind with no occupant renders no row.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Stable owner currency delivered to a keyed Chat renderer. */
724
825
  export interface ChatNodeOwnerProps {
@@ -727,12 +828,20 @@ export interface ChatNodeOwnerProps {
727
828
  cwd?: string | undefined
728
829
  openFile: (path: string, options?: OpenFileOptions) => void
729
830
  inspectCall: ((callId: ToolCallId) => void) | undefined
831
+ /** Open one model request's inspector record; absent without an inspection target. */
832
+ inspectRequest: ((turn: number, step: number) => void) | undefined
730
833
  forkAt: (seq: number) => void
731
834
  /** Session-authorized image loader supplied by the Chat view. */
732
835
  loadImage: MessageImageLoader
733
836
  /** Turn-process state when this Node belongs to a projected Turn. */
734
837
  turnProcess?: TurnProcessOwnerProps | undefined
735
- }`],ownerPropsReferences:[`MessageImageLoader`,`OpenFileOptions`,`TurnProcessOwnerProps`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`fixed by the owner's key table { [Kind in ChatNodeKind]: { node: ChatNode<Kind> } }, already taken: assistant-step, command, command-input, compaction, context, inherited-history, 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`,hookContext:`ChatNodeHookContext`,slotInject:`ChatNodeInjected`,declaredBy:`an entry in 'conversation.chat.flow' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-chat UserMessageNodeView key 'user'`,`client-ui-chat UserMessageNodeView key 'steering'`,`client-ui-chat ContextMessageNodeView key 'context'`,`client-ui-chat TurnTriggerNodeView key 'turn-trigger'`,`client-ui-chat SystemPromptNodeView key 'system-prompt'`,`client-ui-chat AssistantNodeView key 'assistant-step'`,`client-ui-chat CommandNodeView key 'command'`,`client-ui-chat ManualCompactionNodeView key 'manual-compaction'`,`client-ui-chat CompactionNodeView key 'compaction'`,`client-ui-chat InheritedHistoryNodeView key 'inherited-history'`,`client-ui-chat RetryNodeView key 'model-retry'`,`client-ui-chat TurnErrorNodeView key 'turn-error'`,`client-ui-chat TurnMaxTokensNodeView key 'turn-max-tokens'`,`client-ui-chat TurnProcessNodeView key 'turn-process'`,`client-ui-chat TurnTailNodeView key 'turn-tail'`,`client-ui-chat UnknownNodeView key 'unknown'`,`client-ui-goal GoalCommandInputView key 'command-input'`,`client-ui-tool ToolCallTree key 'tool-call'`,`client-ui-user-questions QuestionReplyView key 'question-reply'`,`client-ui-workflow-run WorkflowRunPanel key 'workflow-run'`],replaceRisk:`shadows-shipped-ui`,example:`return {
838
+ /**
839
+ * Whether this Node's Turn shows its step runs behind group headers.
840
+ * Process-level rows beside them match the header type size when true and the step-row size otherwise.
841
+ * The Chat Node seat supplies it; other owners of this type omit it.
842
+ */
843
+ stepRunsGrouped?: boolean | undefined
844
+ }`],ownerPropsReferences:[`MessageImageLoader`,`OpenFileOptions`,`TurnProcessOwnerProps`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`fixed by the owner's key table { [Kind in ChatNodeKind]: { node: ChatNode<Kind> } }, already taken: assistant-step, command, command-input, compaction, context, inherited-history, 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`,hookContext:`ChatNodeHookContext`,slotInject:`ChatNodeInjected`,declaredBy:`an entry in 'conversation.chat.flow' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-chat UserMessageNodeView key 'user'`,`client-ui-chat UserMessageNodeView key 'steering'`,`client-ui-chat ContextMessageNodeView key 'context'`,`client-ui-chat TurnTriggerNodeView key 'turn-trigger'`,`client-ui-chat SystemPromptNodeView key 'system-prompt'`,`client-ui-chat AssistantNodeView key 'assistant-step'`,`client-ui-chat CommandNodeView key 'command'`,`client-ui-chat ManualCompactionNodeView key 'manual-compaction'`,`client-ui-chat CompactionNodeView key 'compaction'`,`client-ui-chat InheritedHistoryNodeView key 'inherited-history'`,`client-ui-chat RetryNodeView key 'model-retry'`,`client-ui-chat TurnErrorNodeView key 'turn-error'`,`client-ui-chat TurnMaxTokensNodeView key 'turn-max-tokens'`,`client-ui-chat TurnProcessNodeView key 'turn-process'`,`client-ui-chat TurnTailNodeView key 'turn-tail'`,`client-ui-chat UnknownNodeView key 'unknown'`,`client-ui-goal GoalCommandInputView key 'command-input'`,`client-ui-tool ToolCallTree key 'tool-call'`,`client-ui-user-questions QuestionReplyView key 'question-reply'`,`client-ui-workflow-run WorkflowRunPanel key 'workflow-run'`],replaceRisk:`shadows-shipped-ui`,example:`return {
736
845
  inject: ['slots'],
737
846
  apply(ctx) {
738
847
  ctx.slots.inject('conversation.chat.node', () => ctx.slots.register(
@@ -740,7 +849,7 @@ export interface ChatNodeOwnerProps {
740
849
  () => React.createElement('div', null, 'hello'),
741
850
  ))
742
851
  },
743
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:462`},{key:`conversation.chat.reasoning.body`,kind:`single`,scope:`session`,summary:`Expanded reasoning body with raw and display-ready text.`,doc:`Expanded reasoning body with raw and display-ready text. The official entry
852
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:470`},{key:`conversation.chat.reasoning.body`,kind:`single`,scope:`session`,summary:`Expanded reasoning body with raw and display-ready text.`,doc:`Expanded reasoning body with raw and display-ready text. The official entry
744
853
  has priority 100 and calls the reasoning Content Factory; smaller priority
745
854
  values replace it. Contributions must preserve access to untranslated display text.`,registerOptions:[],ownerProps:[`/** Original and display-ready reasoning offered to the expanded Body Slot. */
746
855
  export interface ReasoningBodyOwnerProps {
@@ -750,7 +859,7 @@ export interface ReasoningBodyOwnerProps {
750
859
  readonly text: string
751
860
  /** Whether the reasoning tail is still streaming. */
752
861
  readonly running: boolean
753
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-chat DefaultReasoningBody`,`experimental-client-ui-cot-translation TranslationBody`],replaceRisk:`shadows-shipped-ui`,example:`return {
862
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-chat DefaultReasoningBody`,`experimental-client-ui-cot-translation TranslationBody`],replaceRisk:`shadows-shipped-ui`,example:`return {
754
863
  inject: ['slots'],
755
864
  apply(ctx) {
756
865
  ctx.slots.inject('conversation.chat.reasoning.body', () => ctx.slots.register(
@@ -758,13 +867,13 @@ export interface ReasoningBodyOwnerProps {
758
867
  () => React.createElement('div', null, 'hello'),
759
868
  ))
760
869
  },
761
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:500`},{key:`conversation.chat.text-interaction`,kind:`keyed`,scope:`session`,summary:`Area-local text gestures and surfaces; each consumer registers its own synchronous admission.`,doc:`Area-local text gestures and surfaces; each consumer registers its own synchronous admission.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Area-local actions provided to the currently selected plugin component. */
870
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:508`},{key:`conversation.chat.text-interaction`,kind:`keyed`,scope:`session`,summary:`Area-local text gestures and surfaces; each consumer registers its own synchronous admission.`,doc:`Area-local text gestures and surfaces; each consumer registers its own synchronous admission.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Area-local actions provided to the currently selected plugin component. */
762
871
  export interface TextInteractionSurface {
763
872
  readonly trigger: TextInteractionTrigger
764
873
  readonly dismiss: () => void
765
874
  readonly readText: () => string | null
766
875
  readonly clearSelection: () => void
767
- }`],ownerPropsReferences:[`TextInteractionTrigger`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: quote`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`message-quotes QuoteSelectionAction key 'quote'`],replaceRisk:`shadows-shipped-ui`,example:`return {
876
+ }`],ownerPropsReferences:[`TextInteractionTrigger`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: quote`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`message-quotes QuoteSelectionAction key 'quote'`],replaceRisk:`shadows-shipped-ui`,example:`return {
768
877
  inject: ['slots'],
769
878
  apply(ctx) {
770
879
  ctx.slots.inject('conversation.chat.text-interaction', () => ctx.slots.register(
@@ -772,14 +881,14 @@ export interface TextInteractionSurface {
772
881
  () => React.createElement('div', null, 'hello'),
773
882
  ))
774
883
  },
775
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:431`},{key:`conversation.chat.turnTail`,kind:`list`,scope:`session`,summary:`Ordered feature contributions before a completed Turn's action row.`,doc:`Ordered feature contributions before a completed Turn's action row. Each
884
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:439`},{key:`conversation.chat.turnTail`,kind:`list`,scope:`session`,summary:`Ordered feature contributions before a completed Turn's action row.`,doc:`Ordered feature contributions before a completed Turn's action row. Each
776
885
  entry receives the Turn, closing sequence, and file opener. A fresh \`id\`
777
886
  adds an entry; entries without content return null.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner currency of the completed-Turn extension chain. */
778
887
  export interface TurnTailOwnerProps {
779
888
  turn: TurnLocation
780
889
  seq: number
781
890
  openFile: (path: string) => void
782
- }`],ownerPropsReferences:[`TurnLocation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-action-cards ActionCardTail id '@deepseek-ai/dsh-client-ui-action-cards'`,`client-ui-deliverables DeliverablesTail id '@deepseek-ai/dsh-client-ui-deliverables'`,`client-ui-plan PlanCards`,`client-ui-schedule ScheduleTurnCard id 'schedule-created'`],replaceRisk:`none`,example:`return {
891
+ }`],ownerPropsReferences:[`TurnLocation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-action-cards ActionCardTail id '@deepseek-ai/dsh-client-ui-action-cards'`,`client-ui-deliverables DeliverablesTail id '@deepseek-ai/dsh-client-ui-deliverables'`,`client-ui-plan PlanCards`,`client-ui-schedule ScheduleTurnCard id 'schedule-created'`],replaceRisk:`none`,example:`return {
783
892
  inject: ['slots'],
784
893
  apply(ctx) {
785
894
  ctx.slots.inject('conversation.chat.turnTail', () => ctx.slots.register(
@@ -787,7 +896,7 @@ export interface TurnTailOwnerProps {
787
896
  () => React.createElement('div', null, 'hello'),
788
897
  ))
789
898
  },
790
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:506`},{key:`conversation.chat.user.before`,kind:`chain`,scope:`session`,summary:`Message-source decoration owned and rendered by the user Node entry.`,doc:`Message-source decoration owned and rendered by the user Node entry.
899
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:514`},{key:`conversation.chat.user.before`,kind:`chain`,scope:`session`,summary:`Message-source decoration owned and rendered by the user Node entry.`,doc:`Message-source decoration owned and rendered by the user Node entry.
791
900
  Selectors elect one component from the durable source and row kind.
792
901
  No match renders no visible content; steering and pending rows do not
793
902
  render this slot.`,registerOptions:[{name:`select`,requirement:`required`,type:`(owner) => unknown | null`,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."}],ownerProps:[`/**
@@ -802,7 +911,7 @@ export interface UserBeforeOwnerProps {
802
911
  readonly source: unknown
803
912
  /** Chat row kind that owns the decoration site. */
804
913
  readonly kind: 'user' | 'steering'
805
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`experimental-liveshare SharedSessionOrigin`],replaceRisk:`none`,example:`return {
914
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`experimental-liveshare SharedSessionOrigin`],replaceRisk:`none`,example:`return {
806
915
  inject: ['slots'],
807
916
  apply(ctx) {
808
917
  ctx.slots.inject('conversation.chat.user.before', () => ctx.slots.register(
@@ -810,7 +919,7 @@ export interface UserBeforeOwnerProps {
810
919
  () => React.createElement('div', null, 'hello'),
811
920
  ))
812
921
  },
813
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:476`},{key:`conversation.chat.user.images`,kind:`single`,scope:`session`,summary:`User-message images, including pending and local-echo previews, independently replaceable from output images.`,doc:`User-message images, including pending and local-echo previews, independently replaceable from output images.`,registerOptions:[],ownerProps:[`/** Message image group handed to the optional attachment presentation plugin. */
922
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:484`},{key:`conversation.chat.user.images`,kind:`single`,scope:`session`,summary:`User-message images, including pending and local-echo previews, independently replaceable from output images.`,doc:`User-message images, including pending and local-echo previews, independently replaceable from output images.`,registerOptions:[],ownerProps:[`/** Message image group handed to the optional attachment presentation plugin. */
814
923
  export interface MessageImagesOwnerProps {
815
924
  /** Durable references or submission-echo previews in source order. */
816
925
  images: readonly MessageImageSource[]
@@ -822,7 +931,7 @@ export interface MessageImagesOwnerProps {
822
931
  compact?: boolean
823
932
  /** Fixed, uncropped thumbnail for an attachment list row. */
824
933
  thumbnail?: boolean
825
- }`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.chat.user.content' (client-ui-chat), so it exists while that definition is registered`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
934
+ }`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.chat.user.content' (client-ui-chat), so it exists while that definition is registered`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
826
935
  inject: ['slots'],
827
936
  apply(ctx) {
828
937
  ctx.slots.inject('conversation.chat.user.images', () => ctx.slots.register(
@@ -830,7 +939,7 @@ export interface MessageImagesOwnerProps {
830
939
  () => React.createElement('div', null, 'hello'),
831
940
  ))
832
941
  },
833
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:488`},{key:`conversation.composer`,kind:`chain`,scope:`session`,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.`,doc:`Selector-routed replacements for the current Session's resident composer; fixed overlays must
942
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:496`},{key:`conversation.composer`,kind:`chain`,scope:`session`,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.`,doc:`Selector-routed replacements for the current Session's resident composer; fixed overlays must
834
943
  portal to the document body because the docked composer contains them.`,registerOptions:[{name:`select`,requirement:`required`,type:`(owner) => unknown | null`,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."}],ownerProps:[`/** Owner values used to elect a composer takeover. */
835
944
  export interface ComposerChainProps {
836
945
  /** Current Session identity used by temporary business-owned entries. */
@@ -839,7 +948,7 @@ export interface ComposerChainProps {
839
948
  session: SessionSnapshot | undefined
840
949
  /** Effective business-owned interaction awaiting the user in this Session. */
841
950
  pendingInteraction: SessionPendingInteraction | undefined
842
- }`],ownerPropsReferences:[`SessionId`,`SessionPendingInteraction`,`SessionSnapshot`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-approval ApprovalPanel`,`client-ui-subagent SubagentReadOnlyComposer`,`client-ui-user-questions QuestionComposer`,`cua ApplicationApproval`],replaceRisk:`none`,example:`return {
951
+ }`],ownerPropsReferences:[`SessionId`,`SessionPendingInteraction`,`SessionSnapshot`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-approval ApprovalPanel`,`client-ui-subagent SubagentReadOnlyComposer`,`client-ui-user-questions QuestionComposer`,`cua ApplicationApproval`],replaceRisk:`none`,example:`return {
843
952
  inject: ['slots'],
844
953
  apply(ctx) {
845
954
  ctx.slots.inject('conversation.composer', () => ctx.slots.register(
@@ -865,7 +974,7 @@ export interface ComposerBarOwnerProps {
865
974
  placeholder?: string
866
975
  /** Optional content rendered above the composer surface. */
867
976
  accessory?: ReactNode
868
- }`],ownerPropsReferences:[`ConversationContentInputProps`,`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation InputBar`],replaceRisk:`shadows-shipped-ui`,example:`return {
977
+ }`],ownerPropsReferences:[`ConversationContentInputProps`,`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation InputBar`],replaceRisk:`shadows-shipped-ui`,example:`return {
869
978
  inject: ['slots'],
870
979
  apply(ctx) {
871
980
  ctx.slots.inject('conversation.composer.bar', () => ctx.slots.register(
@@ -874,7 +983,7 @@ export interface ComposerBarOwnerProps {
874
983
  ))
875
984
  },
876
985
  }`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:336`},{key:`conversation.composer.dock`,kind:`list`,scope:`session`,summary:`Ambient entries below the composer card; fixed overlays must portal to the document body because the docked composer contains them.`,doc:`Ambient entries below the composer card; fixed overlays must portal to the document body
877
- because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-chat ActivityPill id 'activity'`,`client-ui-chat UsagePill id 'usage'`],replaceRisk:`none`,example:`return {
986
+ because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-chat ActivityPill id 'activity'`,`client-ui-chat UsagePill id 'usage'`],replaceRisk:`none`,example:`return {
878
987
  inject: ['slots'],
879
988
  apply(ctx) {
880
989
  ctx.slots.inject('conversation.composer.dock', () => ctx.slots.register(
@@ -882,7 +991,7 @@ because the docked composer contains them.`,registerOptions:[{name:`id`,requirem
882
991
  () => React.createElement('div', null, 'hello'),
883
992
  ))
884
993
  },
885
- }`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:315`},{key:`conversation.header`,kind:`single`,scope:`session-maybe`,summary:`Resident navigation container, including when no Session is selected.`,doc:`Resident navigation container, including when no Session is selected.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main.conversation' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationHeader`],replaceRisk:`shadows-shipped-ui`,example:`return {
994
+ }`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:315`},{key:`conversation.header`,kind:`single`,scope:`session-maybe`,summary:`Resident navigation container, including when no Session is selected.`,doc:`Resident navigation container, including when no Session is selected.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main.conversation' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationHeader`],replaceRisk:`shadows-shipped-ui`,example:`return {
886
995
  inject: ['slots'],
887
996
  apply(ctx) {
888
997
  ctx.slots.inject('conversation.header', () => ctx.slots.register(
@@ -894,7 +1003,7 @@ because the docked composer contains them.`,registerOptions:[{name:`id`,requirem
894
1003
  export interface ConversationHeaderLeadingOwnerProps {
895
1004
  /** Marker field: the occupant receives no owner-specific values. */
896
1005
  children?: never
897
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1006
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
898
1007
  inject: ['slots'],
899
1008
  apply(ctx) {
900
1009
  ctx.slots.inject('conversation.header.leading', () => ctx.slots.register(
@@ -906,7 +1015,7 @@ export interface ConversationHeaderLeadingOwnerProps {
906
1015
  export interface HeroAgentPresetOwnerProps {
907
1016
  /** Marker field: the occupant owns its roster and staged selection. */
908
1017
  children?: never
909
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-agent-preset AgentPresetSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
1018
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-agent-preset AgentPresetSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
910
1019
  inject: ['slots'],
911
1020
  apply(ctx) {
912
1021
  ctx.slots.inject('conversation.hero.agentPreset', () => ctx.slots.register(
@@ -918,9 +1027,7 @@ export interface HeroAgentPresetOwnerProps {
918
1027
  export interface HeroBrandMarkOwnerProps {
919
1028
  /** Requested square edge in pixels. */
920
1029
  size: number
921
- /** Host class preserving the surrounding mark geometry. */
922
- className?: string | undefined
923
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[],replaceRisk:`none`,example:`return {
1030
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[],replaceRisk:`none`,example:`return {
924
1031
  inject: ['slots'],
925
1032
  apply(ctx) {
926
1033
  ctx.slots.inject('conversation.hero.brand.mark', () => ctx.slots.register(
@@ -932,7 +1039,7 @@ export interface HeroBrandMarkOwnerProps {
932
1039
  export interface HeroFrameOwnerProps {
933
1040
  /** Whether the body shows the blank home of a standalone, non-embedded Conversation. */
934
1041
  hero: boolean
935
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-brand-official PixelWhale id 'pixel-whale'`],replaceRisk:`wraps-owner-content`,example:`return {
1042
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-brand-official PixelWhale id 'pixel-whale'`],replaceRisk:`wraps-owner-content`,example:`return {
936
1043
  inject: ['slots'],
937
1044
  apply(ctx) {
938
1045
  ctx.slots.inject('conversation.hero.frame', () => ctx.slots.register(
@@ -940,7 +1047,7 @@ export interface HeroFrameOwnerProps {
940
1047
  ({ children }) => React.createElement('div', null, children),
941
1048
  ))
942
1049
  },
943
- }`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:294`},{key:`conversation.hero.options`,kind:`list`,scope:`session`,summary:`Compact options right-aligned in the New Session row after the workspace and preset controls; rendered only with a Session.`,doc:`Compact options right-aligned in the New Session row after the workspace and preset controls; rendered only with a Session.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`experimental-client-ui-forge WorktreeToggle id 'forge-panel.worktree'`],replaceRisk:`none`,example:`return {
1050
+ }`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:294`},{key:`conversation.hero.options`,kind:`list`,scope:`session`,summary:`Compact options right-aligned in the New Session row after the workspace and preset controls; rendered only with a Session.`,doc:`Compact options right-aligned in the New Session row after the workspace and preset controls; rendered only with a Session.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`experimental-client-ui-forge WorktreeToggle id 'forge-panel.worktree'`],replaceRisk:`none`,example:`return {
944
1051
  inject: ['slots'],
945
1052
  apply(ctx) {
946
1053
  ctx.slots.inject('conversation.hero.options', () => ctx.slots.register(
@@ -951,12 +1058,12 @@ export interface HeroFrameOwnerProps {
951
1058
  }`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:300`},{key:`conversation.hero.workspace`,kind:`single`,scope:`root`,summary:`Workspace picker shown by the blank-session Hero.`,doc:`Workspace picker shown by the blank-session Hero.`,registerOptions:[],ownerProps:[`/** Owner share common to blank-session Workspace pickers. */
952
1059
  export interface EmptyWorkspaceOwnerProps {
953
1060
  open: boolean
954
- anchorRef?: RefObject<HTMLElement>
1061
+ anchorRef?: RefObject<HTMLElement | null>
955
1062
  /** Currently selected Workspace, when available. */
956
1063
  selectedId?: WorkspaceId | undefined
957
1064
  onPick: (workspaceId: WorkspaceId) => void
958
1065
  onClose: () => void
959
- }`],ownerPropsReferences:[`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-workspace WorkspacePicker`],replaceRisk:`shadows-shipped-ui`,example:`return {
1066
+ }`],ownerPropsReferences:[`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-workspace WorkspacePicker`],replaceRisk:`shadows-shipped-ui`,example:`return {
960
1067
  inject: ['slots'],
961
1068
  apply(ctx) {
962
1069
  ctx.slots.inject('conversation.hero.workspace', () => ctx.slots.register(
@@ -980,7 +1087,7 @@ export interface DirectoryFlowOwnerProps {
980
1087
  onCancel: () => void
981
1088
  /** The interaction itself failed (chooser missing, listing denied); the owner shows its error surface. */
982
1089
  onError: (message: string) => void
983
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.hero.workspace' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-directory-picker-browse BrowseDirectoryFlow`,`client-ui-directory-picker-native NativeDirectoryFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
1090
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.hero.workspace' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-directory-picker-browse BrowseDirectoryFlow`,`client-ui-directory-picker-native NativeDirectoryFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
984
1091
  inject: ['slots'],
985
1092
  apply(ctx) {
986
1093
  ctx.slots.inject('conversation.hero.workspace.directoryFlow', () => ctx.slots.register(
@@ -994,7 +1101,7 @@ docked composer contains them.`,registerOptions:[],ownerProps:[`/** A toolbar ac
994
1101
  export interface InputActivityOwnerProps extends InputControlOwnerProps {
995
1102
  /** @param active - whether the occupant needs the toolbar width before the submit action. */
996
1103
  onActiveChange: (active: boolean) => void
997
- }`],ownerPropsReferences:[`InputControlOwnerProps`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-voice-input VoiceInput`],replaceRisk:`shadows-shipped-ui`,example:`return {
1104
+ }`],ownerPropsReferences:[`InputControlOwnerProps`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-voice-input VoiceInput`],replaceRisk:`shadows-shipped-ui`,example:`return {
998
1105
  inject: ['slots'],
999
1106
  apply(ctx) {
1000
1107
  ctx.slots.inject('conversation.input.activity', () => ctx.slots.register(
@@ -1026,7 +1133,7 @@ export interface ComposerAttachmentsOwnerProps {
1026
1133
  * stays until it is removed.
1027
1134
  * @param reason - the refusal \`reason\` the failed upload carries.
1028
1135
  * @returns localized text naming the limit or the way out.
1029
- /* …truncated — full shape in source */`],ownerPropsReferences:[`ComposerAttachment`,`DraftAttachmentId`,`DraftFileUploads`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-attachment ComposerAttachments`],replaceRisk:`shadows-shipped-ui`,example:`return {
1136
+ /* …truncated — full shape in source */`],ownerPropsReferences:[`ComposerAttachment`,`DraftAttachmentId`,`DraftFileUploads`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-attachment ComposerAttachments`],replaceRisk:`shadows-shipped-ui`,example:`return {
1030
1137
  inject: ['slots'],
1031
1138
  apply(ctx) {
1032
1139
  ctx.slots.inject('conversation.input.attachments', () => ctx.slots.register(
@@ -1039,7 +1146,7 @@ because the docked composer contains them.`,registerOptions:[{name:`id`,requirem
1039
1146
  export interface InputZone {
1040
1147
  readonly session: SessionSnapshot
1041
1148
  readonly input: InputState
1042
- }`],ownerPropsReferences:[`InputState`,`SessionSnapshot`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation QueueDock id 'queue'`,`client-ui-conversation TodoDock id 'todo'`,`client-ui-goal GoalDock id 'goal'`,`experimental-client-ui-claude-code-mods Band id 'claude-code-mods'`,`experimental-client-ui-forge WorktreeProgress id 'forge-panel.worktree'`,`timeline TaskDock id 'timeline'`],replaceRisk:`none`,example:`return {
1149
+ }`],ownerPropsReferences:[`InputState`,`SessionSnapshot`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation QueueDock id 'queue'`,`client-ui-conversation TodoDock id 'todo'`,`client-ui-goal GoalDock id 'goal'`,`experimental-client-ui-claude-code-mods Band id 'claude-code-mods'`,`experimental-client-ui-forge WorktreeProgress id 'forge-panel.worktree'`,`timeline TaskDock id 'timeline'`],replaceRisk:`none`,example:`return {
1043
1150
  inject: ['slots'],
1044
1151
  apply(ctx) {
1045
1152
  ctx.slots.inject('conversation.input.dock', () => ctx.slots.register(
@@ -1048,7 +1155,7 @@ export interface InputZone {
1048
1155
  ))
1049
1156
  },
1050
1157
  }`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:305`},{key:`conversation.input.left`,kind:`list`,scope:`session`,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.`,doc:`Compact controls at the left of the composer tool row; fixed overlays must portal to the
1051
- document body because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1158
+ document body because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1052
1159
  inject: ['slots'],
1053
1160
  apply(ctx) {
1054
1161
  ctx.slots.inject('conversation.input.left', () => ctx.slots.register(
@@ -1063,7 +1170,7 @@ Fixed overlays must portal to the document body because the docked composer cont
1063
1170
  export interface InputControlOwnerProps {
1064
1171
  /** Whether the composer currently refuses interaction. */
1065
1172
  locked: boolean
1066
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-model-selection ModelSelect`,`experimental-liveshare ViewerModelSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
1173
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-model-selection ModelSelect`,`experimental-liveshare ViewerModelSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
1067
1174
  inject: ['slots'],
1068
1175
  apply(ctx) {
1069
1176
  ctx.slots.inject('conversation.input.model', () => ctx.slots.register(
@@ -1083,7 +1190,7 @@ export interface ModelLabelOwner {
1083
1190
  placement: 'trigger' | 'menu' | 'option'
1084
1191
  /** Whether this provider/model pair is the current selection. */
1085
1192
  selected: boolean
1086
- }`],ownerPropsReferences:[`ModelCatalogModel`,`ModelProviderGroup`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.input.model' (client-ui-model-selection), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1193
+ }`],ownerPropsReferences:[`ModelCatalogModel`,`ModelProviderGroup`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.input.model' (client-ui-model-selection), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1087
1194
  inject: ['slots'],
1088
1195
  apply(ctx) {
1089
1196
  ctx.slots.inject('conversation.input.model.label', () => ctx.slots.register(
@@ -1106,7 +1213,7 @@ export type ModelMenuOptions = ModelMenuControls & {
1106
1213
  * The root button's data-model-menu-pane must match pane.key for focus return.
1107
1214
  */
1108
1215
  openPane: (pane: ModelMenuPaneRef) => void
1109
- }`],ownerPropsReferences:[`ModelMenuPaneRef`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.input.model' (client-ui-model-selection), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamModeToggle id 'agent-team'`],replaceRisk:`none`,example:`return {
1216
+ }`],ownerPropsReferences:[`ModelMenuPaneRef`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.input.model' (client-ui-model-selection), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamModeToggle id 'agent-team'`],replaceRisk:`none`,example:`return {
1110
1217
  inject: ['slots'],
1111
1218
  apply(ctx) {
1112
1219
  ctx.slots.inject('conversation.input.model.options', () => ctx.slots.register(
@@ -1124,7 +1231,7 @@ export interface ModelMenuControls {
1124
1231
  dismiss: () => void
1125
1232
  /** Report a failed selection through the menu owner's persistent toast. */
1126
1233
  reportFailure: (message: string) => void
1127
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: agent-team`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.input.model' (client-ui-model-selection), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamModePane key 'agent-team'`],replaceRisk:`shadows-shipped-ui`,example:`return {
1234
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: agent-team`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.input.model' (client-ui-model-selection), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamModePane key 'agent-team'`],replaceRisk:`shadows-shipped-ui`,example:`return {
1128
1235
  inject: ['slots'],
1129
1236
  apply(ctx) {
1130
1237
  ctx.slots.inject('conversation.input.model.pane', () => ctx.slots.register(
@@ -1133,7 +1240,7 @@ export interface ModelMenuControls {
1133
1240
  ))
1134
1241
  },
1135
1242
  }`,source:`packages/client/ui-model-selection/src/client/slots.ts:64`},{key:`conversation.input.overlay`,kind:`list`,scope:`session`,summary:`Floating entries rendered inside the resident composer card; fixed overlays must portal to the document body because the docked composer contains them.`,doc:`Floating entries rendered inside the resident composer card; fixed overlays must portal to
1136
- the document body because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-commands PopupSelectView id 'command-popup'`,`client-ui-input-trigger MenuView id 'slash-menu'`,`client-ui-message-feedback FeedbackDialog id 'feedback-dialog'`],replaceRisk:`none`,example:`return {
1243
+ the document body because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-commands PopupSelectView id 'command-popup'`,`client-ui-input-trigger MenuView id 'slash-menu'`,`client-ui-message-feedback FeedbackDialog id 'feedback-dialog'`,`client-ui-read-aloud ReadAloudNotice id 'read-aloud-notice'`],replaceRisk:`none`,example:`return {
1137
1244
  inject: ['slots'],
1138
1245
  apply(ctx) {
1139
1246
  ctx.slots.inject('conversation.input.overlay', () => ctx.slots.register(
@@ -1146,7 +1253,7 @@ to the document body because the docked composer contains them.`,registerOptions
1146
1253
  export interface InputControlOwnerProps {
1147
1254
  /** Whether the composer currently refuses interaction. */
1148
1255
  locked: boolean
1149
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-permission-presets PermissionSelect`,`experimental-liveshare ViewerPermissionSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
1256
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-permission-presets PermissionSelect`,`experimental-liveshare ViewerPermissionSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
1150
1257
  inject: ['slots'],
1151
1258
  apply(ctx) {
1152
1259
  ctx.slots.inject('conversation.input.permission', () => ctx.slots.register(
@@ -1159,7 +1266,7 @@ Its text names the textbox. When every selector declines, the editor shows its b
1159
1266
  export interface InputPlaceholderOwnerProps {
1160
1267
  /** Session displayed by this editor. */
1161
1268
  readonly sessionId: SessionId
1162
- }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1269
+ }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1163
1270
  inject: ['slots'],
1164
1271
  apply(ctx) {
1165
1272
  ctx.slots.inject('conversation.input.placeholder', () => ctx.slots.register(
@@ -1172,7 +1279,7 @@ because the docked composer contains them.`,registerOptions:[],ownerProps:[`/**
1172
1279
  export interface InputControlOwnerProps {
1173
1280
  /** Whether the composer currently refuses interaction. */
1174
1281
  locked: boolean
1175
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-plan PlanChip`],replaceRisk:`shadows-shipped-ui`,example:`return {
1282
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-plan PlanChip`],replaceRisk:`shadows-shipped-ui`,example:`return {
1176
1283
  inject: ['slots'],
1177
1284
  apply(ctx) {
1178
1285
  ctx.slots.inject('conversation.input.plan', () => ctx.slots.register(
@@ -1181,7 +1288,7 @@ export interface InputControlOwnerProps {
1181
1288
  ))
1182
1289
  },
1183
1290
  }`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:360`},{key:`conversation.input.right`,kind:`list`,scope:`session`,summary:`Compact controls before the composer submit action; fixed overlays must portal to the document body because the docked composer contains them.`,doc:`Compact controls before the composer submit action; fixed overlays must portal to the
1184
- document body because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1291
+ document body because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1185
1292
  inject: ['slots'],
1186
1293
  apply(ctx) {
1187
1294
  ctx.slots.inject('conversation.input.right', () => ctx.slots.register(
@@ -1209,7 +1316,7 @@ export interface PlanReview {
1209
1316
  approve: QuestionOption
1210
1317
  /** The option that declines it; absent when the asker offered no other option. */
1211
1318
  decline?: QuestionOption
1212
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer' (client-ui-user-questions), so it exists while that entry is mounted`,occupants:[`client-ui-plan PlanReviewOpen`],replaceRisk:`none`,example:`return {
1319
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer' (client-ui-user-questions), so it exists while that entry is mounted`,occupants:[`client-ui-plan PlanReviewOpen`],replaceRisk:`none`,example:`return {
1213
1320
  inject: ['slots'],
1214
1321
  apply(ctx) {
1215
1322
  ctx.slots.inject('conversation.plan-review.actions', () => ctx.slots.register(
@@ -1217,7 +1324,7 @@ export interface PlanReview {
1217
1324
  () => React.createElement('div', null, 'hello'),
1218
1325
  ))
1219
1326
  },
1220
- }`,source:`packages/client/ui-user-questions/src/client/contract/slots.ts:21`},{key:`conversation.session`,kind:`single`,scope:`session`,summary:`Strict per-Session Conversation body.`,doc:`Strict per-Session Conversation body.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation ConversationSession`],replaceRisk:`shadows-shipped-ui`,example:`return {
1327
+ }`,source:`packages/client/ui-user-questions/src/client/contract/slots.ts:21`},{key:`conversation.session`,kind:`single`,scope:`session`,summary:`Strict per-Session Conversation body.`,doc:`Strict per-Session Conversation body.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation ConversationSession`],replaceRisk:`shadows-shipped-ui`,example:`return {
1221
1328
  inject: ['slots'],
1222
1329
  apply(ctx) {
1223
1330
  ctx.slots.inject('conversation.session', () => ctx.slots.register(
@@ -1225,7 +1332,7 @@ export interface PlanReview {
1225
1332
  () => React.createElement('div', null, 'hello'),
1226
1333
  ))
1227
1334
  },
1228
- }`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:231`},{key:`conversation.session.header`,kind:`single`,scope:`session`,summary:`Strict per-Session title, actions, and View navigation.`,doc:`Strict per-Session title, actions, and View navigation.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationSessionHeader`],replaceRisk:`shadows-shipped-ui`,example:`return {
1335
+ }`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:231`},{key:`conversation.session.header`,kind:`single`,scope:`session`,summary:`Strict per-Session title, actions, and View navigation.`,doc:`Strict per-Session title, actions, and View navigation.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationSessionHeader`],replaceRisk:`shadows-shipped-ui`,example:`return {
1229
1336
  inject: ['slots'],
1230
1337
  apply(ctx) {
1231
1338
  ctx.slots.inject('conversation.session.header', () => ctx.slots.register(
@@ -1237,7 +1344,7 @@ export interface PlanReview {
1237
1344
  export interface ConversationHeaderActionOwnerProps {
1238
1345
  /** Marker field: entries receive no owner-specific values. */
1239
1346
  children?: never
1240
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-agent-preset AgentPresetLabel id 'agent-preset'`,`client-ui-sidebar-terminal AgentTerminalOpener id 'agent-terminals'`],replaceRisk:`none`,example:`return {
1347
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-agent-preset AgentPresetLabel id 'agent-preset'`,`client-ui-sidebar-terminal AgentTerminalOpener id 'agent-terminals'`],replaceRisk:`none`,example:`return {
1241
1348
  inject: ['slots'],
1242
1349
  apply(ctx) {
1243
1350
  ctx.slots.inject('conversation.session.header.actions', () => ctx.slots.register(
@@ -1252,7 +1359,7 @@ nothing, and the utilities take the header's edge.`,registerOptions:[],ownerProp
1252
1359
  export interface ConversationHeaderCornerOwnerProps {
1253
1360
  /** Marker field: the occupant receives no owner-specific values. */
1254
1361
  children?: never
1255
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right ExpandButton`],replaceRisk:`shadows-shipped-ui`,example:`return {
1362
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right ExpandButton`],replaceRisk:`shadows-shipped-ui`,example:`return {
1256
1363
  inject: ['slots'],
1257
1364
  apply(ctx) {
1258
1365
  ctx.slots.inject('conversation.session.header.corner', () => ctx.slots.register(
@@ -1268,7 +1375,7 @@ export interface ConversationHeaderLineageOwnerProps {
1268
1375
  displayTitle: string
1269
1376
  /** Navigate to an ancestor title when present. */
1270
1377
  openTitle?: () => void
1271
- }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-subagent SubagentHeaderLineage`],replaceRisk:`shadows-shipped-ui`,example:`return {
1378
+ }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-subagent SubagentHeaderLineage`],replaceRisk:`shadows-shipped-ui`,example:`return {
1272
1379
  inject: ['slots'],
1273
1380
  apply(ctx) {
1274
1381
  ctx.slots.inject('conversation.session.header.lineage', () => ctx.slots.register(
@@ -1280,7 +1387,7 @@ export interface ConversationHeaderLineageOwnerProps {
1280
1387
  export interface ConversationHeaderActionOwnerProps {
1281
1388
  /** Marker field: entries receive no owner-specific values. */
1282
1389
  children?: never
1283
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-schedule ScheduleCatalogAction id 'schedule-catalog'`,`client-ui-session-panel SessionPanelToggle id 'session-panel'`,`experimental-liveshare LiveshareShareAction id 'liveshare-share'`],replaceRisk:`none`,example:`return {
1390
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-schedule ScheduleCatalogAction id 'schedule-catalog'`,`client-ui-session-panel SessionPanelToggle id 'session-panel'`,`experimental-liveshare LiveshareShareAction id 'liveshare-share'`],replaceRisk:`none`,example:`return {
1284
1391
  inject: ['slots'],
1285
1392
  apply(ctx) {
1286
1393
  ctx.slots.inject('conversation.session.header.utilities', () => ctx.slots.register(
@@ -1305,7 +1412,7 @@ export interface ConversationViewActionsOwnerProps {
1305
1412
  readonly onPinnedChange: (id: string, pinned: boolean) => void
1306
1413
  /** Close the More menu. */
1307
1414
  readonly onDismiss: () => void
1308
- }`],ownerPropsReferences:[`ConversationViewActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-entry-customization EntryMenuContent id 'entry-customization'`],replaceRisk:`none`,example:`return {
1415
+ }`],ownerPropsReferences:[`ConversationViewActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-entry-customization EntryMenuContent id 'entry-customization'`],replaceRisk:`none`,example:`return {
1309
1416
  inject: ['slots'],
1310
1417
  apply(ctx) {
1311
1418
  ctx.slots.inject('conversation.session.header.views.actions', () => ctx.slots.register(
@@ -1319,7 +1426,7 @@ export interface SessionPanelSectionOwnerProps {
1319
1426
  readonly presentation: SessionPanelPresentation
1320
1427
  /** Close the overlay, for example after a row opened another surface; no effect while docked. */
1321
1428
  readonly dismissOverlay: () => void
1322
- }`],ownerPropsReferences:[`SessionPanelPresentation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.panel.section' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-session-panel ProjectRow id 'project'`,`experimental-client-ui-forge CheckoutRow id 'forge.checkout'`,`experimental-client-ui-forge LocalChangesRow id 'forge.local'`,`experimental-client-ui-forge ConnectionRow id 'forge.connection'`],replaceRisk:`none`,example:`return {
1429
+ }`],ownerPropsReferences:[`SessionPanelPresentation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.panel.section' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-session-panel ProjectRow id 'project'`,`experimental-client-ui-forge CheckoutRow id 'forge.checkout'`,`experimental-client-ui-forge LocalChangesRow id 'forge.local'`,`experimental-client-ui-forge ConnectionRow id 'forge.connection'`],replaceRisk:`none`,example:`return {
1323
1430
  inject: ['slots'],
1324
1431
  apply(ctx) {
1325
1432
  ctx.slots.inject('conversation.session.panel.environment.row', () => ctx.slots.register(
@@ -1327,11 +1434,11 @@ export interface SessionPanelSectionOwnerProps {
1327
1434
  () => React.createElement('div', null, 'hello'),
1328
1435
  ))
1329
1436
  },
1330
- }`,source:`packages/client/ui-session-panel/src/client/slots.ts:51`},{key:`conversation.session.panel.indicator`,kind:`list`,scope:`session`,summary:`Marks over the panel toggle, such as an attention dot.`,doc:"Marks over the panel toggle, such as an attention dot. Each occupant is\none element: the toggle sizes it to a 6px dot at the glyph's corner, and\nthe occupant sets its `background` and includes text that names it for\nassistive technology, which becomes part of the toggle's name. Occupants\noverlap, and a higher `order` paints above a lower one. An occupant that\nonly repeats what the panel shows renders nothing while `panelShown`.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Values every toggle indicator receives from the toggle. */
1437
+ }`,source:`packages/client/ui-session-panel/src/client/slots.ts:51`},{key:`conversation.session.panel.indicator`,kind:`list`,scope:`session`,summary:`Status marks share a 6×6 px area at the panel toggle icon's top-right corner.`,doc:"Status marks share a 6×6 px area at the panel toggle icon's top-right corner.\nDraw the mark on your own element; `position: absolute; inset: 0` fills\nthe area. Supply its shape, color, and any ring. Include status text for\nthe toggle's accessible name. Marks overlap; higher `order` paints on top.\nRender nothing when there is no status to report or when `panelShown` is\ntrue and the mark only repeats the panel.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Values every toggle indicator receives from the toggle. */
1331
1438
  export interface SessionPanelIndicatorOwnerProps {
1332
1439
  /** Whether the panel shows, docked or as an overlay. */
1333
1440
  readonly panelShown: boolean
1334
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header.utilities' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-jobs JobsRunningIndicator id 'background-jobs.running'`,`client-ui-subagent SubagentsRunningIndicator id 'subagents.running'`,`experimental-client-ui-forge AttentionIndicator id 'forge.attention'`],replaceRisk:`none`,example:`return {
1441
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header.utilities' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-jobs JobsRunningIndicator id 'background-jobs.running'`,`client-ui-subagent SubagentsRunningIndicator id 'subagents.running'`,`experimental-client-ui-forge AttentionIndicator id 'forge.attention'`],replaceRisk:`none`,example:`return {
1335
1442
  inject: ['slots'],
1336
1443
  apply(ctx) {
1337
1444
  ctx.slots.inject('conversation.session.panel.indicator', () => ctx.slots.register(
@@ -1345,7 +1452,7 @@ export interface SessionPanelSectionOwnerProps {
1345
1452
  readonly presentation: SessionPanelPresentation
1346
1453
  /** Close the overlay, for example after a row opened another surface; no effect while docked. */
1347
1454
  readonly dismissOverlay: () => void
1348
- }`],ownerPropsReferences:[`SessionPanelPresentation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.aside' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamBoard id 'shared-tasks'`,`client-ui-jobs JobsSection id 'background-jobs'`,`client-ui-session-panel EnvironmentSection`,`client-ui-subagent SubagentsSection id 'subagents'`,`experimental-client-ui-forge ChangeRequestsSection id 'change-requests'`],replaceRisk:`none`,example:`return {
1455
+ }`],ownerPropsReferences:[`SessionPanelPresentation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.aside' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamBoard id 'shared-tasks'`,`client-ui-jobs JobsSection id 'background-jobs'`,`client-ui-session-panel EnvironmentSection`,`client-ui-subagent SubagentsSection id 'subagents'`,`experimental-client-ui-forge ChangeRequestsSection id 'change-requests'`],replaceRisk:`none`,example:`return {
1349
1456
  inject: ['slots'],
1350
1457
  apply(ctx) {
1351
1458
  ctx.slots.inject('conversation.session.panel.section', () => ctx.slots.register(
@@ -1356,7 +1463,7 @@ export interface SessionPanelSectionOwnerProps {
1356
1463
  }`,source:`packages/client/ui-session-panel/src/client/slots.ts:24`},{key:`conversation.session.panel.section.actions`,kind:`keyed`,scope:`session`,summary:"Trailing content of one section title, such as a count, keyed by the section's `id`.",doc:`Trailing content of one section title, such as a count, keyed by the
1357
1464
  section's \`id\`. In every section but Environment the drag handle shows
1358
1465
  in its place while the title row is hovered, so it holds content to
1359
- read, not a control to press.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: change-requests, shared-tasks, subagents`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.aside' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamProgress key 'shared-tasks'`,`client-ui-subagent SubagentsProgress key 'subagents'`,`experimental-client-ui-forge ChangeRequestsActions key 'change-requests'`],replaceRisk:`shadows-shipped-ui`,example:`return {
1466
+ read, not a control to press.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: change-requests, shared-tasks, subagents`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.aside' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamProgress key 'shared-tasks'`,`client-ui-subagent SubagentsProgress key 'subagents'`,`experimental-client-ui-forge ChangeRequestsActions key 'change-requests'`],replaceRisk:`shadows-shipped-ui`,example:`return {
1360
1467
  inject: ['slots'],
1361
1468
  apply(ctx) {
1362
1469
  ctx.slots.inject('conversation.session.panel.section.actions', () => ctx.slots.register(
@@ -1379,7 +1486,7 @@ export interface MessageImagesOwnerProps {
1379
1486
  compact?: boolean
1380
1487
  /** Fixed, uncropped thumbnail for an attachment list row. */
1381
1488
  thumbnail?: boolean
1382
- }`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-trajectory), so it exists while that entry is mounted`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
1489
+ }`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-trajectory), so it exists while that entry is mounted`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
1383
1490
  inject: ['slots'],
1384
1491
  apply(ctx) {
1385
1492
  ctx.slots.inject('conversation.trajectory.images', () => ctx.slots.register(
@@ -1391,7 +1498,7 @@ export interface MessageImagesOwnerProps {
1391
1498
  export interface UserTextNodeOwnerProps {
1392
1499
  readonly raw: string
1393
1500
  readonly interactive: boolean
1394
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`fixed by the owner's key table { [Id in UserTextId]: { node: UserTextNode<Id> } }, already taken: command, file, folder, quote, secret, session, skill, text`,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.user.text' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation PlainUserText key 'text'`,`client-ui-conversation SessionReference key 'session'`,`client-ui-goal GoalCommandReference key 'command'`,`client-ui-reference FileReference key 'file'`,`client-ui-reference FolderReference key 'folder'`,`client-ui-secret-mask SecretText key 'secret'`,`client-ui-skill SkillReference key 'skill'`,`message-quotes QuotedUserText key 'quote'`],replaceRisk:`shadows-shipped-ui`,example:`return {
1501
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`fixed by the owner's key table { [Id in UserTextId]: { node: UserTextNode<Id> } }, already taken: command, file, folder, plugin, quote, secret, session, skill, text`,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.user.text' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation PlainUserText key 'text'`,`client-ui-conversation SessionReference key 'session'`,`client-ui-goal GoalCommandReference key 'command'`,`client-ui-plugin-manager PluginReference key 'plugin'`,`client-ui-reference FileReference key 'file'`,`client-ui-reference FolderReference key 'folder'`,`client-ui-secret-mask SecretText key 'secret'`,`client-ui-skill SkillReference key 'skill'`,`message-quotes QuotedUserText key 'quote'`],replaceRisk:`shadows-shipped-ui`,example:`return {
1395
1502
  inject: ['slots'],
1396
1503
  apply(ctx) {
1397
1504
  ctx.slots.inject('conversation.user.text.node', () => ctx.slots.register(
@@ -1403,13 +1510,15 @@ export interface UserTextNodeOwnerProps {
1403
1510
  export interface ConvViewOwnerProps {
1404
1511
  /** Open a tool call's inspector when an inspection target is available. */
1405
1512
  inspectCall: ((callId: string) => void) | undefined
1513
+ /** Open one model request's inspector record when an inspection target is available. */
1514
+ inspectRequest: ((turn: number, step: number) => void) | undefined
1406
1515
  /** Focus request addressed to the selected View. */
1407
- viewRequest: import('./views.ts').ConversationViewRequest | null
1408
- /** Select a View and address one opaque focus identity to it. */
1409
- openView: (view: string, focus: string) => void
1516
+ viewRequest: ConversationViewRequest | null
1517
+ /** Select a View and address one Session entity focus to it; ignored unless that View accepts the focus kind. */
1518
+ openView: (view: string, focus: ConversationFocus) => void
1410
1519
  /** Acknowledge the current one-shot focus request. */
1411
1520
  completeViewRequest: () => void
1412
- }`],ownerPropsReferences:[`ConversationViewRequest`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-chat ChatView id 'chat'`,`client-ui-trajectory TrajectoryView id 'trajectory'`,`experimental-client-ui-stats StatsView id 'stats'`],replaceRisk:`none`,example:`return {
1521
+ }`],ownerPropsReferences:[`ConversationFocus`,`ConversationViewRequest`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-chat ChatView id 'chat'`,`client-ui-trajectory TrajectoryView id 'trajectory'`,`experimental-client-ui-stats StatsView id 'stats'`],replaceRisk:`none`,example:`return {
1413
1522
  inject: ['slots'],
1414
1523
  apply(ctx) {
1415
1524
  ctx.slots.inject('conversation.view', () => ctx.slots.register(
@@ -1429,7 +1538,7 @@ export type PresentedOpenOutcome =
1429
1538
  | { readonly kind: 'opened' }
1430
1539
  | { readonly kind: 'revealed' }
1431
1540
  | { readonly kind: 'failed'; readonly failure: PresentedOpenFailure }
1432
- | { readonly kind: 'skipped' }`],ownerPropsReferences:[`PresentedOpenFailure`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.turnTail' (client-ui-deliverables), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app FileRouteAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
1541
+ | { readonly kind: 'skipped' }`],ownerPropsReferences:[`PresentedOpenFailure`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.turnTail' (client-ui-deliverables), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app FileRouteAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
1433
1542
  inject: ['slots'],
1434
1543
  apply(ctx) {
1435
1544
  ctx.slots.inject('deliverables.file.actions', () => ctx.slots.register(
@@ -1438,7 +1547,7 @@ export type PresentedOpenOutcome =
1438
1547
  ))
1439
1548
  },
1440
1549
  }`,source:`packages/client/ui-deliverables/src/client/file-actions.ts:8`},{key:`deliverables.review.file.actions`,kind:`list`,scope:`session`,summary:`The same file actions owned by a changed-file review tab.`,doc:`The same file actions owned by a changed-file review tab.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Slot contract table. Owners extend via declaration merging; entries are {@link SlotEntryDef}. */
1441
- export interface SlotMap {}`],ownerPropsReferences:[`SlotEntryDef`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-deliverables), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app FileRouteAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
1550
+ export interface SlotMap {}`],ownerPropsReferences:[`SlotEntryDef`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-deliverables), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app FileRouteAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
1442
1551
  inject: ['slots'],
1443
1552
  apply(ctx) {
1444
1553
  ctx.slots.inject('deliverables.review.file.actions', () => ctx.slots.register(
@@ -1456,7 +1565,7 @@ export interface ForgeChangeRequestCardActionsProps {
1456
1565
  readonly headSha: string | null
1457
1566
  /** Lifecycle state of the latest status, or null before one. */
1458
1567
  readonly state: ChangeRequestState | null
1459
- }`],ownerPropsReferences:[`ChangeRequestRef`,`ChangeRequestState`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.panel.section' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1568
+ }`],ownerPropsReferences:[`ChangeRequestRef`,`ChangeRequestState`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.panel.section' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1460
1569
  inject: ['slots'],
1461
1570
  apply(ctx) {
1462
1571
  ctx.slots.inject('forge.change-request.card.actions', () => ctx.slots.register(
@@ -1472,7 +1581,7 @@ export interface ForgeChangesFileMenuProps {
1472
1581
  readonly file: ForgeLensFile
1473
1582
  /** Close the menu after a row acted. */
1474
1583
  readonly dismiss: () => void
1475
- }`],ownerPropsReferences:[`ChangesTarget`,`ForgeLensFile`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1584
+ }`],ownerPropsReferences:[`ChangesTarget`,`ForgeLensFile`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1476
1585
  inject: ['slots'],
1477
1586
  apply(ctx) {
1478
1587
  ctx.slots.inject('forge.changes.file.menu', () => ctx.slots.register(
@@ -1488,7 +1597,7 @@ export interface ForgeChangesToolbarProps {
1488
1597
  readonly form: 'bar' | 'menu'
1489
1598
  /** Close the More menu after a row acted; a no-op in the toolbar row. */
1490
1599
  readonly close: () => void
1491
- }`],ownerPropsReferences:[`ChangesTarget`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1600
+ }`],ownerPropsReferences:[`ChangesTarget`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1492
1601
  inject: ['slots'],
1493
1602
  apply(ctx) {
1494
1603
  ctx.slots.inject('forge.changes.toolbar', () => ctx.slots.register(
@@ -1512,7 +1621,7 @@ export interface ForgeCommentActionsProps {
1512
1621
  * @param deliver - receives the text.
1513
1622
  */
1514
1623
  readonly send: (deliver: (body: string) => Promise<string | undefined>) => void
1515
- }`],ownerPropsReferences:[`ChangesTarget`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1624
+ }`],ownerPropsReferences:[`ChangesTarget`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1516
1625
  inject: ['slots'],
1517
1626
  apply(ctx) {
1518
1627
  ctx.slots.inject('forge.diff.comment.actions', () => ctx.slots.register(
@@ -1528,7 +1637,7 @@ export interface ForgeLineAnnotationProps {
1528
1637
  readonly path: string
1529
1638
  /** The annotation its source reported. */
1530
1639
  readonly annotation: ForgeLineAnnotation
1531
- }`],ownerPropsReferences:[`ChangesTarget`,`ForgeLineAnnotation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1640
+ }`],ownerPropsReferences:[`ChangesTarget`,`ForgeLineAnnotation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1532
1641
  inject: ['slots'],
1533
1642
  apply(ctx) {
1534
1643
  ctx.slots.inject('forge.diff.line.annotation', () => ctx.slots.register(
@@ -1542,7 +1651,7 @@ export interface ForgeReviewConversationProps {
1542
1651
  readonly headline: string
1543
1652
  /** Shows the blank Session of a Workspace the reader picked in the conversation as the page's conversation. */
1544
1653
  readonly onWorkspaceSelected: WorkspaceSelectedHandler
1545
- }`],ownerPropsReferences:[`Workspace`,`WorkspaceSelectedHandler`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-forge ReviewConversation`],replaceRisk:`shadows-shipped-ui`,example:`return {
1654
+ }`],ownerPropsReferences:[`Workspace`,`WorkspaceSelectedHandler`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-forge ReviewConversation`],replaceRisk:`shadows-shipped-ui`,example:`return {
1546
1655
  inject: ['slots'],
1547
1656
  apply(ctx) {
1548
1657
  ctx.slots.inject('forge.review.conversation', () => ctx.slots.register(
@@ -1550,7 +1659,7 @@ export interface ForgeReviewConversationProps {
1550
1659
  () => React.createElement('div', null, 'hello'),
1551
1660
  ))
1552
1661
  },
1553
- }`,source:`packages/experimental/client-ui-forge/src/client/slots.ts:80`},{key:`main`,kind:`keyed`,scope:`root`,summary:`Central panel selected by sidebar entry id.`,doc:"Central panel selected by sidebar entry id. The reserved `conversation`\nkey hosts the Conversation; other keys receive no Session binding.",registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: conversation`,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationPanel key 'conversation'`,`client-ui-plugin-manager PluginManagerPage`,`client-ui-schedule TaskManagerPage`,`experimental-client-ui-forge ReviewPage`],replaceRisk:`shadows-shipped-ui`,example:`return {
1662
+ }`,source:`packages/experimental/client-ui-forge/src/client/slots.ts:80`},{key:`main`,kind:`keyed`,scope:`root`,summary:`Central panel selected by sidebar entry id.`,doc:"Central panel selected by sidebar entry id. The reserved `conversation`\nkey hosts the Conversation; other keys receive no Session binding.",registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: conversation`,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationPanel key 'conversation'`,`client-ui-plugin-manager PluginManagerPage`,`client-ui-schedule TaskManagerPage`,`experimental-client-ui-forge ReviewPage`],replaceRisk:`shadows-shipped-ui`,example:`return {
1554
1663
  inject: ['slots'],
1555
1664
  apply(ctx) {
1556
1665
  ctx.slots.inject('main', () => ctx.slots.register(
@@ -1558,7 +1667,7 @@ export interface ForgeReviewConversationProps {
1558
1667
  () => React.createElement('div', null, 'hello'),
1559
1668
  ))
1560
1669
  },
1561
- }`,source:`packages/client/ui-layout/src/client/index.ts:75`},{key:`main.conversation`,kind:`single`,scope:`session-maybe`,summary:`Conversation shell beneath its root-scoped main-panel entry.`,doc:`Conversation shell beneath its root-scoped main-panel entry.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:`ConversationShellInjected`,declaredBy:`an entry in 'main' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
1670
+ }`,source:`packages/client/ui-layout/src/client/index.ts:75`},{key:`main.conversation`,kind:`single`,scope:`session-maybe`,summary:`Conversation shell beneath its root-scoped main-panel entry.`,doc:`Conversation shell beneath its root-scoped main-panel entry.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:`ConversationShellInjected`,declaredBy:`an entry in 'main' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
1562
1671
  inject: ['slots'],
1563
1672
  apply(ctx) {
1564
1673
  ctx.slots.inject('main.conversation', () => ctx.slots.register(
@@ -1570,7 +1679,7 @@ export interface ForgeReviewConversationProps {
1570
1679
  export interface PluginAddActionsProps {
1571
1680
  /** Close the add-plugin menu before starting the contributed action. */
1572
1681
  readonly onDismiss: () => void
1573
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-agent-preset CreatePluginMenuItem id 'create-plugin'`],replaceRisk:`none`,example:`return {
1682
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-agent-preset CreatePluginMenuItem id 'create-plugin'`],replaceRisk:`none`,example:`return {
1574
1683
  inject: ['slots'],
1575
1684
  apply(ctx) {
1576
1685
  ctx.slots.inject('plugins.add.actions', () => ctx.slots.register(
@@ -1578,14 +1687,14 @@ export interface PluginAddActionsProps {
1578
1687
  () => React.createElement('div', null, 'hello'),
1579
1688
  ))
1580
1689
  },
1581
- }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:135`},{key:`plugins.bundle.activation`,kind:`keyed`,scope:`root`,summary:`Optional guidance after the user enables a bundle from the list, keyed by npm package name.`,doc:`Optional guidance after the user enables a bundle from the list, keyed by npm package name.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** One user-requested bundle activation and navigation to its configuration page. */
1690
+ }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:147`},{key:`plugins.bundle.activation`,kind:`keyed`,scope:`root`,summary:`Optional guidance after the user enables a bundle from the list, keyed by npm package name.`,doc:`Optional guidance after the user enables a bundle from the list, keyed by npm package name.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** One user-requested bundle activation and navigation to its configuration page. */
1582
1691
  export interface PluginActivationOwnerProps {
1583
1692
  readonly packageName: string
1584
1693
  /** Dismiss guidance for this activation. */
1585
1694
  readonly onDismiss: () => void
1586
1695
  /** Dismiss guidance and open this bundle's detail page. */
1587
1696
  readonly onOpenDetails: () => void
1588
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],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`,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-connector-account ConnectorAccountActivationEntry`,`experimental-client-ui-voice-input VoiceSetupPrompt key '@deepseek-ai/dsh-experimental-voice-input-bundle'`,`cua PermissionSetup key '@deepseek-ai/dsh-cua-bundle'`],replaceRisk:`shadows-shipped-ui`,example:`return {
1697
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],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`,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-connector-account ConnectorAccountActivationEntry`,`experimental-client-ui-voice-input VoiceSetupPrompt key '@deepseek-ai/dsh-experimental-voice-input-bundle'`,`cua PermissionSetup key '@deepseek-ai/dsh-cua-bundle'`],replaceRisk:`shadows-shipped-ui`,example:`return {
1589
1698
  inject: ['slots'],
1590
1699
  apply(ctx) {
1591
1700
  ctx.slots.inject('plugins.bundle.activation', () => ctx.slots.register(
@@ -1593,7 +1702,7 @@ export interface PluginActivationOwnerProps {
1593
1702
  () => React.createElement('div', null, 'hello'),
1594
1703
  ))
1595
1704
  },
1596
- }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:143`},{key:`plugins.bundle.config`,kind:`keyed`,scope:`root`,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).",doc:`A bundle's own configuration, keyed by the bundle's package name and
1705
+ }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:156`},{key:`plugins.bundle.config`,kind:`keyed`,scope:`root`,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).",doc:`A bundle's own configuration, keyed by the bundle's package name and
1597
1706
  rendered on the bundle's page between its description and its rows
1598
1707
  (\`view: 'page'\` only).`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** The view the page asks a configuration entry for. */
1599
1708
  export interface PluginConfigViewProps {
@@ -1601,7 +1710,7 @@ export interface PluginConfigViewProps {
1601
1710
  readonly view: 'summary' | 'page'
1602
1711
  /** Host-owned configuration values and write actions for this page's entry. */
1603
1712
  readonly form?: ConfigPageForm | undefined
1604
- }`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],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`,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-connector-account ConnectorAccountSectionEntry`,`experimental-client-ui-cot-translation TranslationSettings key '@deepseek-ai/dsh-experimental-cot-translation-bundle'`,`experimental-client-ui-voice-input VoicePreparation key '@deepseek-ai/dsh-experimental-voice-input-bundle'`,`cua PermissionPanel key '@deepseek-ai/dsh-cua-bundle'`,`timeline Settings`],replaceRisk:`shadows-shipped-ui`,example:`return {
1713
+ }`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],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`,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-connector-account ConnectorAccountSectionEntry`,`experimental-client-ui-cot-translation TranslationSettings key '@deepseek-ai/dsh-experimental-cot-translation-bundle'`,`client-ui-read-aloud ReadAloudSettings`,`experimental-client-ui-voice-input VoicePreparation key '@deepseek-ai/dsh-experimental-voice-input-bundle'`,`cua PermissionPanel key '@deepseek-ai/dsh-cua-bundle'`,`timeline Settings`],replaceRisk:`shadows-shipped-ui`,example:`return {
1605
1714
  inject: ['slots'],
1606
1715
  apply(ctx) {
1607
1716
  ctx.slots.inject('plugins.bundle.config', () => ctx.slots.register(
@@ -1609,13 +1718,13 @@ export interface PluginConfigViewProps {
1609
1718
  () => React.createElement('div', null, 'hello'),
1610
1719
  ))
1611
1720
  },
1612
- }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:159`},{key:`plugins.detail.actions`,kind:`list`,scope:`root`,summary:`Controls at the head of a detail page, before the page's own switch and uninstall, rendered with the page's subject.`,doc:`Controls at the head of a detail page, before the page's own switch and
1721
+ }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:172`},{key:`plugins.detail.actions`,kind:`list`,scope:`root`,summary:`Controls at the head of a detail page, before the page's own switch and uninstall, rendered with the page's subject.`,doc:`Controls at the head of a detail page, before the page's own switch and
1613
1722
  uninstall, rendered with the page's subject. An entry renders null for a
1614
1723
  subject it has no control for.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** The owner props every detail contribution is rendered with. */
1615
1724
  export interface PluginDetailProps {
1616
1725
  /** The subject of the open page; an entry renders null for a subject it has nothing for. */
1617
1726
  readonly subject: PluginsSubject
1618
- }`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1727
+ }`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1619
1728
  inject: ['slots'],
1620
1729
  apply(ctx) {
1621
1730
  ctx.slots.inject('plugins.detail.actions', () => ctx.slots.register(
@@ -1623,12 +1732,12 @@ export interface PluginDetailProps {
1623
1732
  () => React.createElement('div', null, 'hello'),
1624
1733
  ))
1625
1734
  },
1626
- }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:173`},{key:`plugins.detail.badge`,kind:`list`,scope:`root`,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.`,doc:`Tags beside a detail page's title, after the version, beta, and problem
1735
+ }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:186`},{key:`plugins.detail.badge`,kind:`list`,scope:`root`,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.`,doc:`Tags beside a detail page's title, after the version, beta, and problem
1627
1736
  tags the page draws itself, rendered with the page's subject.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** The owner props every detail contribution is rendered with. */
1628
1737
  export interface PluginDetailProps {
1629
1738
  /** The subject of the open page; an entry renders null for a subject it has nothing for. */
1630
1739
  readonly subject: PluginsSubject
1631
- }`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-connector-account ConnectorAccountBadgeEntry id 'connector-account.badge'`],replaceRisk:`none`,example:`return {
1740
+ }`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-connector-account ConnectorAccountBadgeEntry id 'connector-account.badge'`],replaceRisk:`none`,example:`return {
1632
1741
  inject: ['slots'],
1633
1742
  apply(ctx) {
1634
1743
  ctx.slots.inject('plugins.detail.badge', () => ctx.slots.register(
@@ -1636,14 +1745,14 @@ export interface PluginDetailProps {
1636
1745
  () => React.createElement('div', null, 'hello'),
1637
1746
  ))
1638
1747
  },
1639
- }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:178`},{key:`plugins.detail.section`,kind:`list`,scope:`root`,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.`,doc:`Sections under a detail page's own content: after the source on a bundle's
1748
+ }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:191`},{key:`plugins.detail.section`,kind:`list`,scope:`root`,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.`,doc:`Sections under a detail page's own content: after the source on a bundle's
1640
1749
  page, after the configuration on a row's or an official plugin's page.
1641
1750
  An entry draws its own section chrome and renders null for a subject it
1642
1751
  has nothing for.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** The owner props every detail contribution is rendered with. */
1643
1752
  export interface PluginDetailProps {
1644
1753
  /** The subject of the open page; an entry renders null for a subject it has nothing for. */
1645
1754
  readonly subject: PluginsSubject
1646
- }`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1755
+ }`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1647
1756
  inject: ['slots'],
1648
1757
  apply(ctx) {
1649
1758
  ctx.slots.inject('plugins.detail.section', () => ctx.slots.register(
@@ -1651,13 +1760,13 @@ export interface PluginDetailProps {
1651
1760
  () => React.createElement('div', null, 'hello'),
1652
1761
  ))
1653
1762
  },
1654
- }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:185`},{key:`plugins.item`,kind:`list`,scope:`root`,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.",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.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** The view the page asks a configuration entry for. */
1763
+ }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:198`},{key:`plugins.item`,kind:`list`,scope:`root`,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.",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.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** The view the page asks a configuration entry for. */
1655
1764
  export interface PluginConfigViewProps {
1656
1765
  /** \`summary\` renders the one-liner alone, as text or inline nodes; \`page\` renders the form with its save control. */
1657
1766
  readonly view: 'summary' | 'page'
1658
1767
  /** Host-owned configuration values and write actions for this page's entry. */
1659
1768
  readonly form?: ConfigPageForm | undefined
1660
- }`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-settings-agent-loop AgentLoopCard id 'agent-loop'`,`client-ui-settings-shell ShellCard id 'shell'`,`client-ui-settings-subagent SubagentCard id 'subagent'`,`client-ui-settings-web-search WebSearchCard id 'web-search'`],replaceRisk:`none`,example:`return {
1769
+ }`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-settings-agent-loop AgentLoopCard id 'agent-loop'`,`client-ui-settings-shell ShellCard id 'shell'`,`client-ui-settings-subagent SubagentCard id 'subagent'`,`client-ui-settings-web-search WebSearchCard id 'web-search'`],replaceRisk:`none`,example:`return {
1661
1770
  inject: ['slots'],
1662
1771
  apply(ctx) {
1663
1772
  ctx.slots.inject('plugins.item', () => ctx.slots.register(
@@ -1665,7 +1774,7 @@ export interface PluginConfigViewProps {
1665
1774
  () => React.createElement('div', null, 'hello'),
1666
1775
  ))
1667
1776
  },
1668
- }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:153`},{key:`plugins.row.config`,kind:`keyed`,scope:`root`,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.",doc:`The configuration of one row a bundle declares, keyed by
1777
+ }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:166`},{key:`plugins.row.config`,kind:`keyed`,scope:`root`,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.",doc:`The configuration of one row a bundle declares, keyed by
1669
1778
  \`<package name>#<row id>\` with the row id as the bundle's patch declares
1670
1779
  it: the row on the bundle's page gains a configure control that opens
1671
1780
  the entry's page, headed by the plugin's display title and description.
@@ -1675,7 +1784,7 @@ export interface PluginConfigViewProps {
1675
1784
  readonly view: 'summary' | 'page'
1676
1785
  /** Host-owned configuration values and write actions for this page's entry. */
1677
1786
  readonly form?: ConfigPageForm | undefined
1678
- }`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-forge WorktreeSettings`],replaceRisk:`none`,example:`return {
1787
+ }`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-forge WorktreeSettings`,`experimental-client-ui-forge HostSettings`],replaceRisk:`none`,example:`return {
1679
1788
  inject: ['slots'],
1680
1789
  apply(ctx) {
1681
1790
  ctx.slots.inject('plugins.row.config', () => ctx.slots.register(
@@ -1683,7 +1792,7 @@ export interface PluginConfigViewProps {
1683
1792
  () => React.createElement('div', null, 'hello'),
1684
1793
  ))
1685
1794
  },
1686
- }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:167`},{key:`plugins.tab`,kind:`list`,scope:`root`,summary:"Tabs after the page's own Installed tab, such as Discover: `label` names the tab and `order` places it.",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`.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner props of a page tab another plugin contributes, such as Discover. */
1795
+ }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:180`},{key:`plugins.tab`,kind:`list`,scope:`root`,summary:"Tabs after the page's own Installed tab, such as Discover: `label` names the tab and `order` places it.",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`. While the entry has a page of its own open through the\nowner's `openPage`, the page renders the entry under a crumb named by `label` instead.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner props of a page tab another plugin contributes, such as Discover. */
1687
1796
  export interface PluginTabProps {
1688
1797
  /**
1689
1798
  * Install an exact version the person already confirmed: the page's install dialog opens at its check and progress
@@ -1703,7 +1812,7 @@ export interface PluginTabProps {
1703
1812
  * @param packageName - npm package name of the bundle.
1704
1813
  */
1705
1814
  readonly openPackage: (packageName: string) => void
1706
- }`],ownerPropsReferences:[`Git`,`PluginTabInstall`,`PluginTabUpdate`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-plugin-market DiscoverSection id 'discover'`],replaceRisk:`none`,example:`return {
1815
+ /** The key of the tab's own pa /* …truncated — full shape in source */`],ownerPropsReferences:[`Git`,`PluginTabInstall`,`PluginTabUpdate`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-plugin-market DiscoverSection id 'discover'`,`client-ui-connectors ConnectorsTab`],replaceRisk:`none`,example:`return {
1707
1816
  inject: ['slots'],
1708
1817
  apply(ctx) {
1709
1818
  ctx.slots.inject('plugins.tab', () => ctx.slots.register(
@@ -1711,7 +1820,7 @@ export interface PluginTabProps {
1711
1820
  () => React.createElement('div', null, 'hello'),
1712
1821
  ))
1713
1822
  },
1714
- }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:141`},{key:`rightbar`,kind:`single`,scope:`root`,summary:`The right column: a track the centre makes room for, or nothing.`,doc:`The right column: a track the centre makes room for, or nothing. OCCUPIED
1823
+ }`,source:`packages/client/ui-plugin-manager/src/client/slot-contract.ts:154`},{key:`rightbar`,kind:`single`,scope:`root`,summary:`The right column: a track the centre makes room for, or nothing.`,doc:`The right column: a track the centre makes room for, or nothing. OCCUPIED
1715
1824
  by the right Sidebar, which uses the resolved column width in normal
1716
1825
  mode and covers the viewport in fullscreen, retaining the wide-screen
1717
1826
  column reservation underneath.
@@ -1732,7 +1841,7 @@ export interface RightbarOwnerProps {
1732
1841
  * Before a narrow opening, includes the space from collapsing the left sidebar.
1733
1842
  */
1734
1843
  canShow: boolean
1735
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right RightbarRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
1844
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right RightbarRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
1736
1845
  inject: ['slots'],
1737
1846
  apply(ctx) {
1738
1847
  ctx.slots.inject('rightbar', () => ctx.slots.register(
@@ -1751,7 +1860,7 @@ export interface RightbarOwnerProps {
1751
1860
  * Before a narrow opening, includes the space from collapsing the left sidebar.
1752
1861
  */
1753
1862
  canShow: boolean
1754
- }`,"/** Identity of one open tab; distinct copies of one content share `contentId`, never `TabId`. */\nexport type TabId = Branded<'TabId'>"],ownerPropsReferences:[`Branded`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'rightbar' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right RightbarSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
1863
+ }`,"/** Identity of one open tab; distinct copies of one content share `contentId`, never `TabId`. */\nexport type TabId = Branded<'TabId'>"],ownerPropsReferences:[`Branded`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'rightbar' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right RightbarSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
1755
1864
  inject: ['slots'],
1756
1865
  apply(ctx) {
1757
1866
  ctx.slots.inject('rightbar.session', () => ctx.slots.register(
@@ -1771,7 +1880,7 @@ winner: the page would render your component alone, with every seat the
1771
1880
  frame declares gone. For a surface of your own that floats over the whole
1772
1881
  app, register into \`shell.overlay\` instead (a list slot: additive, and
1773
1882
  click-through until your entry opts into pointer events).`,registerOptions:[],ownerProps:[`/** Root owner share: the shell supplies nothing — the frame is inject-assembled. */
1774
- export interface RootOwnerProps { children?: never }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`the runtime itself (built in; always present)`,occupants:[`client-ui-layout AppFrame`],replaceRisk:`shadows-shipped-ui`,example:`return {
1883
+ export interface RootOwnerProps { children?: never }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`the runtime itself (built in; always present)`,occupants:[`client-ui-layout AppFrame`],replaceRisk:`shadows-shipped-ui`,example:`return {
1775
1884
  inject: ['slots'],
1776
1885
  apply(ctx) {
1777
1886
  ctx.slots.inject('root', () => ctx.slots.register(
@@ -1785,7 +1894,7 @@ the shell supplies only the ordered render site.`,registerOptions:[{name:`id`,re
1785
1894
  export interface SettingsHeaderOwnerProps {
1786
1895
  /** Marker field: header owner props are intentionally empty. */
1787
1896
  children?: never
1788
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general SettingsDocumentAction id 'open-document'`],replaceRisk:`none`,example:`return {
1897
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general SettingsDocumentAction id 'open-document'`],replaceRisk:`none`,example:`return {
1789
1898
  inject: ['slots'],
1790
1899
  apply(ctx) {
1791
1900
  ctx.slots.inject('settings.action', () => ctx.slots.register(
@@ -1799,7 +1908,7 @@ the button without an accessible name (broken-composition state).`,registerOptio
1799
1908
  export interface SettingsHeaderOwnerProps {
1800
1909
  /** Marker field: header owner props are intentionally empty. */
1801
1910
  children?: never
1802
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general CloseLabel`],replaceRisk:`shadows-shipped-ui`,example:`return {
1911
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general CloseLabel`],replaceRisk:`shadows-shipped-ui`,example:`return {
1803
1912
  inject: ['slots'],
1804
1913
  apply(ctx) {
1805
1914
  ctx.slots.inject('settings.close', () => ctx.slots.register(
@@ -1807,11 +1916,88 @@ export interface SettingsHeaderOwnerProps {
1807
1916
  () => React.createElement('div', null, 'hello'),
1808
1917
  ))
1809
1918
  },
1810
- }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:66`},{key:`settings.general.item`,kind:`list`,scope:`root`,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).",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`.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner share of a General preference row (the section supplies nothing). */
1919
+ }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:66`},{key:`settings.general.group`,kind:`list`,scope:`root`,summary:`One titled group in General Settings.`,doc:`One titled group in General Settings. Options carry its unique id,
1920
+ localized label, and order. The page owns the enclosing card; the
1921
+ registrant owns content and any child item-slot declarations.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** A group receives no owner data; labels and ordering live on its registration. */
1922
+ export interface SettingsGeneralGroupOwnerProps {
1923
+ /** Marker field: group owner props are intentionally empty. */
1924
+ children?: never
1925
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.section' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general GeneralGroup id 'general'`,`client-ui-settings-general DisplayGroup id 'display'`,`client-ui-settings-general InteractionGroup id 'interaction'`,`client-ui-settings-general NotificationsGroup id 'notifications'`,`client-ui-settings-general DataGroup id 'data'`,`client-ui-settings-general UpdatesGroup id 'updates'`],replaceRisk:`none`,example:`return {
1926
+ inject: ['slots'],
1927
+ apply(ctx) {
1928
+ ctx.slots.inject('settings.general.group', () => ctx.slots.register(
1929
+ { name: 'settings.general.group', id: 'my-entry', order: 100, label: 'My entry' },
1930
+ () => React.createElement('div', null, 'hello'),
1931
+ ))
1932
+ },
1933
+ }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:105`},{key:`settings.general.group.data.item`,kind:`list`,scope:`root`,summary:`Data and Session-log preferences.`,doc:`Data and Session-log preferences.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner share of a General preference row (the section supplies nothing). */
1934
+ export interface SettingsGeneralItemOwnerProps {
1935
+ /** Marker field: item owner props are intentionally empty. */
1936
+ children?: never
1937
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.general.group' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-session-log UploadRow`],replaceRisk:`none`,example:`return {
1938
+ inject: ['slots'],
1939
+ apply(ctx) {
1940
+ ctx.slots.inject('settings.general.group.data.item', () => ctx.slots.register(
1941
+ { name: 'settings.general.group.data.item', id: 'my-entry', order: 100, label: 'My entry' },
1942
+ () => React.createElement('div', null, 'hello'),
1943
+ ))
1944
+ },
1945
+ }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:113`},{key:`settings.general.group.display.item`,kind:`list`,scope:`root`,summary:`Session and work-step display preferences.`,doc:`Session and work-step display preferences.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner share of a General preference row (the section supplies nothing). */
1946
+ export interface SettingsGeneralItemOwnerProps {
1947
+ /** Marker field: item owner props are intentionally empty. */
1948
+ children?: never
1949
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.general.group' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-action-cards SettingsRow id 'action-cards'`,`client-ui-chat PerformanceUsageRow id 'performance-usage'`,`client-ui-chat TranscriptViewRow id 'transcript-view'`,`client-ui-permission-presets PermissionRow id 'permission'`,`client-ui-settings-general DeveloperToolsRow id 'developer-tools'`],replaceRisk:`none`,example:`return {
1950
+ inject: ['slots'],
1951
+ apply(ctx) {
1952
+ ctx.slots.inject('settings.general.group.display.item', () => ctx.slots.register(
1953
+ { name: 'settings.general.group.display.item', id: 'my-entry', order: 100, label: 'My entry' },
1954
+ () => React.createElement('div', null, 'hello'),
1955
+ ))
1956
+ },
1957
+ }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:107`},{key:`settings.general.group.interaction.item`,kind:`list`,scope:`root`,summary:`Sending behavior, shortcuts, and link preferences.`,doc:`Sending behavior, shortcuts, and link preferences.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner share of a General preference row (the section supplies nothing). */
1958
+ export interface SettingsGeneralItemOwnerProps {
1959
+ /** Marker field: item owner props are intentionally empty. */
1960
+ children?: never
1961
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.general.group' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-chat LinkOpeningRow id 'link-opening'`,`client-ui-conversation EnterBehaviorRow id 'composer-enter'`,`client-ui-shortcuts ShortcutsRow id 'shortcuts'`],replaceRisk:`none`,example:`return {
1962
+ inject: ['slots'],
1963
+ apply(ctx) {
1964
+ ctx.slots.inject('settings.general.group.interaction.item', () => ctx.slots.register(
1965
+ { name: 'settings.general.group.interaction.item', id: 'my-entry', order: 100, label: 'My entry' },
1966
+ () => React.createElement('div', null, 'hello'),
1967
+ ))
1968
+ },
1969
+ }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:109`},{key:`settings.general.group.notifications.item`,kind:`list`,scope:`root`,summary:`Notification preferences contributed by available providers.`,doc:`Notification preferences contributed by available providers.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner share of a General preference row (the section supplies nothing). */
1970
+ export interface SettingsGeneralItemOwnerProps {
1971
+ /** Marker field: item owner props are intentionally empty. */
1972
+ children?: never
1973
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.general.group' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1974
+ inject: ['slots'],
1975
+ apply(ctx) {
1976
+ ctx.slots.inject('settings.general.group.notifications.item', () => ctx.slots.register(
1977
+ { name: 'settings.general.group.notifications.item', id: 'my-entry', order: 100, label: 'My entry' },
1978
+ () => React.createElement('div', null, 'hello'),
1979
+ ))
1980
+ },
1981
+ }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:111`},{key:`settings.general.group.updates.item`,kind:`list`,scope:`root`,summary:`Release and update information.`,doc:`Release and update information.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner share of a General preference row (the section supplies nothing). */
1811
1982
  export interface SettingsGeneralItemOwnerProps {
1812
1983
  /** Marker field: item owner props are intentionally empty. */
1813
1984
  children?: never
1814
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.section' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-locale LanguageRow id 'language'`,`client-ui-action-cards SettingsRow id 'action-cards'`,`client-ui-chat LinkOpeningRow id 'link-opening'`,`client-ui-chat PerformanceUsageRow id 'performance-usage'`,`client-ui-chat TranscriptViewRow id 'transcript-view'`,`client-ui-conversation EnterBehaviorRow id 'composer-enter'`,`client-ui-permission-presets PermissionRow id 'permission'`,`client-ui-settings-general DeveloperToolsRow id 'developer-tools'`,`client-ui-settings-general CurrentVersionRow id 'current-version'`,`client-ui-settings-general DesktopChannelRow id 'desktop-update-channel'`,`client-ui-settings-session-log UploadRow`,`client-ui-shortcuts ShortcutsRow id 'shortcuts'`,`client-ui-theme AppearanceRow id 'appearance'`,`client-ui-theme FontSettingsGroup id 'font-size'`],replaceRisk:`none`,example:`return {
1985
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.general.group' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general CurrentVersionRow id 'current-version'`,`client-ui-settings-general DesktopChannelRow id 'desktop-update-channel'`],replaceRisk:`none`,example:`return {
1986
+ inject: ['slots'],
1987
+ apply(ctx) {
1988
+ ctx.slots.inject('settings.general.group.updates.item', () => ctx.slots.register(
1989
+ { name: 'settings.general.group.updates.item', id: 'my-entry', order: 100, label: 'My entry' },
1990
+ () => React.createElement('div', null, 'hello'),
1991
+ ))
1992
+ },
1993
+ }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:115`},{key:`settings.general.item`,kind:`list`,scope:`root`,summary:`Legacy additive preferences in the default Preferences group.`,doc:`Legacy additive preferences in the default Preferences group. Options carry
1994
+ the unique row id and order; registrants own copy, state, and mutations.
1995
+ Register here when no explicit group is needed. The default group owns
1996
+ this declaration, preserving existing plugin registrations.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner share of a General preference row (the section supplies nothing). */
1997
+ export interface SettingsGeneralItemOwnerProps {
1998
+ /** Marker field: item owner props are intentionally empty. */
1999
+ children?: never
2000
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.general.group' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-locale LanguageRow id 'language'`,`client-ui-theme AppearanceRow id 'appearance'`,`client-ui-theme FontSettingsGroup id 'font-size'`],replaceRisk:`none`,example:`return {
1815
2001
  inject: ['slots'],
1816
2002
  apply(ctx) {
1817
2003
  ctx.slots.inject('settings.general.item', () => ctx.slots.register(
@@ -1819,13 +2005,13 @@ export interface SettingsGeneralItemOwnerProps {
1819
2005
  () => React.createElement('div', null, 'hello'),
1820
2006
  ))
1821
2007
  },
1822
- }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:115`},{key:`settings.header`,kind:`single`,scope:`root`,summary:`The panel title text seat.`,doc:`The panel title text seat. Content renders inside the nav heading row;
2008
+ }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:122`},{key:`settings.header`,kind:`single`,scope:`root`,summary:`The panel title text seat.`,doc:`The panel title text seat. Content renders inside the nav heading row;
1823
2009
  the dialog's accessible name points at that node via aria-labelledby.
1824
2010
  Absent contribution leaves the heading empty.`,registerOptions:[],ownerProps:[`/** Owner share of the header title seat (the shell supplies nothing). */
1825
2011
  export interface SettingsHeaderOwnerProps {
1826
2012
  /** Marker field: header owner props are intentionally empty. */
1827
2013
  children?: never
1828
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general HeaderContent`],replaceRisk:`shadows-shipped-ui`,example:`return {
2014
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general HeaderContent`],replaceRisk:`shadows-shipped-ui`,example:`return {
1829
2015
  inject: ['slots'],
1830
2016
  apply(ctx) {
1831
2017
  ctx.slots.inject('settings.header', () => ctx.slots.register(
@@ -1845,7 +2031,7 @@ export interface SettingsLauncherOwnerProps {
1845
2031
  openSettings: (sectionId?: string) => void
1846
2032
  /** @param id - registered onboarding editor to open explicitly. */
1847
2033
  openOnboarding: (id: string) => void
1848
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountMenu`],replaceRisk:`shadows-shipped-ui`,example:`return {
2034
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountMenu`],replaceRisk:`shadows-shipped-ui`,example:`return {
1849
2035
  inject: ['slots'],
1850
2036
  apply(ctx) {
1851
2037
  ctx.slots.inject('settings.launcher', () => ctx.slots.register(
@@ -1859,7 +2045,7 @@ export interface AccountNotificationsOwnerProps {
1859
2045
  active: boolean
1860
2046
  /** Open the account section in the existing settings shell. */
1861
2047
  openAccount: () => void
1862
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.notice' (client-ui-settings-account), so it exists while that entry is mounted`,occupants:[`client-ui-account-notifications AccountNotifications`],replaceRisk:`shadows-shipped-ui`,example:`return {
2048
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.notice' (client-ui-settings-account), so it exists while that entry is mounted`,occupants:[`client-ui-account-notifications AccountNotifications`],replaceRisk:`shadows-shipped-ui`,example:`return {
1863
2049
  inject: ['slots'],
1864
2050
  apply(ctx) {
1865
2051
  ctx.slots.inject('settings.launcher.notifications', () => ctx.slots.register(
@@ -1872,7 +2058,7 @@ Without a registrant the area renders nothing.`,registerOptions:[{name:`id`,requ
1872
2058
  export interface ModelsFooterOwnerProps {
1873
2059
  /** Marker field: footer owner props are intentionally empty. */
1874
2060
  children?: never
1875
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.section' (client-ui-settings-models), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2061
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.section' (client-ui-settings-models), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1876
2062
  inject: ['slots'],
1877
2063
  apply(ctx) {
1878
2064
  ctx.slots.inject('settings.models.footer', () => ctx.slots.register(
@@ -1880,8 +2066,8 @@ export interface ModelsFooterOwnerProps {
1880
2066
  () => React.createElement('div', null, 'hello'),
1881
2067
  ))
1882
2068
  },
1883
- }`,source:`packages/client/ui-settings-models/src/client/slot-contract.ts:40`},{key:`settings.models.provider-card`,kind:`keyed`,scope:`root`,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.",doc:`One provider card's adapter extension area, dispatched with
1884
- \`entryKey = settingsNs\` on every card that renders a directory row: a
2069
+ }`,source:`packages/client/ui-settings-models/src/client/slot-contract.ts:42`},{key:`settings.models.provider-card`,kind:`keyed`,scope:`root`,summary:"One provider card's adapter extension area, dispatched with the serving adapter's namespace as `entryKey` 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.",doc:`One provider card's adapter extension area, dispatched with the serving
2070
+ adapter's namespace as \`entryKey\` on every card that renders a directory row: a
1885
2071
  saved row's card (its first-run setup posture included) and the
1886
2072
  add-provider draft card. The hand-declared draft card has no directory
1887
2073
  row yet, so it dispatches nothing until saved. Without a registrant the
@@ -1893,7 +2079,7 @@ export interface ProviderCardExtrasOwnerProps {
1893
2079
  configured: boolean
1894
2080
  /** Whether the row's referenced api-key credential is confirmed configured (the page's credential join). */
1895
2081
  keyConfigured: boolean
1896
- }`],ownerPropsReferences:[`ProviderDirectoryEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.section' (client-ui-settings-models), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2082
+ }`],ownerPropsReferences:[`ProviderDirectoryEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.section' (client-ui-settings-models), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1897
2083
  inject: ['slots'],
1898
2084
  apply(ctx) {
1899
2085
  ctx.slots.inject('settings.models.provider-card', () => ctx.slots.register(
@@ -1901,7 +2087,7 @@ export interface ProviderCardExtrasOwnerProps {
1901
2087
  () => React.createElement('div', null, 'hello'),
1902
2088
  ))
1903
2089
  },
1904
- }`,source:`packages/client/ui-settings-models/src/client/slot-contract.ts:33`},{key:`settings.models.sign-in`,kind:`single`,scope:`root`,summary:`Optional account login choice before the credential editor.`,doc:`Optional account login choice before the credential editor.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.onboarding' (client-ui-settings-models), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountOnboarding`],replaceRisk:`shadows-shipped-ui`,example:`return {
2090
+ }`,source:`packages/client/ui-settings-models/src/client/slot-contract.ts:35`},{key:`settings.models.sign-in`,kind:`single`,scope:`root`,summary:`Optional account login choice before the credential editor.`,doc:`Optional account login choice before the credential editor.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.onboarding' (client-ui-settings-models), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountOnboarding`],replaceRisk:`shadows-shipped-ui`,example:`return {
1905
2091
  inject: ['slots'],
1906
2092
  apply(ctx) {
1907
2093
  ctx.slots.inject('settings.models.sign-in', () => ctx.slots.register(
@@ -1909,13 +2095,13 @@ export interface ProviderCardExtrasOwnerProps {
1909
2095
  () => React.createElement('div', null, 'hello'),
1910
2096
  ))
1911
2097
  },
1912
- }`,source:`packages/client/ui-settings-models/src/client/slot-contract.ts:35`},{key:`settings.notice`,kind:`single`,scope:`root`,summary:`Optional content anchored above the launcher row at the launcher row's full width.`,doc:`Optional content anchored above the launcher row at the launcher row's
2098
+ }`,source:`packages/client/ui-settings-models/src/client/slot-contract.ts:37`},{key:`settings.notice`,kind:`single`,scope:`root`,summary:`Optional content anchored above the launcher row at the launcher row's full width.`,doc:`Optional content anchored above the launcher row at the launcher row's
1913
2099
  full width. The row takes no height, so the content floats over the
1914
2100
  sidebar list; the shell hides it in the rail without unmounting it.`,registerOptions:[],ownerProps:[`/** Settings navigation for the row above the launcher row. */
1915
2101
  export interface SettingsNoticeOwnerProps {
1916
2102
  /** @param sectionId - section to open; absent uses the shell's default section. */
1917
2103
  openSettings: (sectionId?: string) => void
1918
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountNotices`],replaceRisk:`shadows-shipped-ui`,example:`return {
2104
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountNotices`],replaceRisk:`shadows-shipped-ui`,example:`return {
1919
2105
  inject: ['slots'],
1920
2106
  apply(ctx) {
1921
2107
  ctx.slots.inject('settings.notice', () => ctx.slots.register(
@@ -1940,7 +2126,7 @@ export interface SettingsOnboardingOwnerProps {
1940
2126
  complete: () => void
1941
2127
  /** Open the settings panel directly on one registered section. */
1942
2128
  openSection: (id: string) => void
1943
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-models WelcomeNotice id 'welcome-notice'`,`client-ui-settings-models DeepSeekOnboardingDialog id 'deepseek-official'`],replaceRisk:`none`,example:`return {
2129
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-models WelcomeNotice id 'welcome-notice'`,`client-ui-settings-models DeepSeekOnboardingDialog id 'deepseek-official'`],replaceRisk:`none`,example:`return {
1944
2130
  inject: ['slots'],
1945
2131
  apply(ctx) {
1946
2132
  ctx.slots.inject('settings.onboarding', () => ctx.slots.register(
@@ -1948,7 +2134,7 @@ export interface SettingsOnboardingOwnerProps {
1948
2134
  () => React.createElement('div', null, 'hello'),
1949
2135
  ))
1950
2136
  },
1951
- }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:100`},{key:`settings.remoteConnection.content`,kind:`single`,scope:`root`,summary:`Complete Remote connection panel with QR, login-link, and pairing approval state.`,doc:`Complete Remote connection panel with QR, login-link, and pairing approval state.
2137
+ }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:99`},{key:`settings.remoteConnection.content`,kind:`single`,scope:`root`,summary:`Complete Remote connection panel with QR, login-link, and pairing approval state.`,doc:`Complete Remote connection panel with QR, login-link, and pairing approval state.
1952
2138
  Receives invitation and login-link selectors, their actions, and close().
1953
2139
  useApproval(selector) exposes owner-access availability and decision outcomes; decide() and dismiss() manage them.
1954
2140
  Replacing this panel hides all default sections; unloading restores their current state.`,registerOptions:[],ownerProps:[`/**
@@ -1961,7 +2147,7 @@ Replacing this panel hides all default sections; unloading restores their curren
1961
2147
  export interface SettingsSectionOwnerProps {
1962
2148
  /** Leave the page: close the settings panel, or on the Plugins page return to the view the page was opened from. */
1963
2149
  close: () => void
1964
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:`RemoteConnectionFace & LoginLinkFace & PairingInjected`,declaredBy:`an entry in 'settings.section' (client-remote-connection), so it exists while that entry is mounted`,occupants:[`client-remote-connection RemoteConnectionSection`],replaceRisk:`shadows-shipped-ui`,example:`return {
2150
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:`RemoteConnectionFace & LoginLinkFace & PairingInjected`,declaredBy:`an entry in 'settings.section' (client-remote-connection), so it exists while that entry is mounted`,occupants:[`client-remote-connection RemoteConnectionSection`],replaceRisk:`shadows-shipped-ui`,example:`return {
1965
2151
  inject: ['slots'],
1966
2152
  apply(ctx) {
1967
2153
  ctx.slots.inject('settings.remoteConnection.content', () => ctx.slots.register(
@@ -1981,7 +2167,7 @@ Replacing the panel does not replace these independently ordered entries.`,regis
1981
2167
  export interface SettingsSectionOwnerProps {
1982
2168
  /** Leave the page: close the settings panel, or on the Plugins page return to the view the page was opened from. */
1983
2169
  close: () => void
1984
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:`RemoteConnectionFace & LoginLinkFace & PairingInjected`,declaredBy:`an entry in 'settings.section' (client-remote-connection), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2170
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:`RemoteConnectionFace & LoginLinkFace & PairingInjected`,declaredBy:`an entry in 'settings.section' (client-remote-connection), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
1985
2171
  inject: ['slots'],
1986
2172
  apply(ctx) {
1987
2173
  ctx.slots.inject('settings.remoteConnection.extensions', () => ctx.slots.register(
@@ -1989,7 +2175,7 @@ export interface SettingsSectionOwnerProps {
1989
2175
  () => React.createElement('div', null, 'hello'),
1990
2176
  ))
1991
2177
  },
1992
- }`,source:`packages/client/remote-connection/src/client/slots.ts:27`},{key:`settings.section`,kind:`list`,scope:`root`,summary:"One settings page per list entry, rendered through the `settings.section.view` Factory.",doc:"One settings page per list entry, rendered through the\n`settings.section.view` Factory. Settings lists every entry in its\nnavigation; the Plugins page also shows an entry on the listed bundle row\n(or bundle) whose module is the registering package, when that row (or\nbundle) registers no configuration of its own. Registrant options carry the nav\nidentity: `id` (section key, drives `only` filtering), `order` (nav\nposition), `label` (registrant-localized display text, usually a thunk\nthat each projection re-reads on locale change). An entry renders\nwherever a caller renders `settings.section.view` with its id.\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.)",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/**
2178
+ }`,source:`packages/client/remote-connection/src/client/slots.ts:27`},{key:`settings.section`,kind:`list`,scope:`root`,summary:"One settings page per list entry, rendered through the `settings.section.view` Factory.",doc:"One settings page per list entry, rendered through the\n`settings.section.view` Factory. Settings lists every entry in its\nnavigation; the Plugins page also shows an entry on the listed bundle row\n(or bundle) whose module is the registering package, when that row (or\nbundle) registers no configuration of its own. Registrant options carry the nav\nidentity: `id` (section key, drives `only` filtering), `order` (nav\nposition), `label` (registrant-localized display text, usually a thunk\nthat each projection re-reads on locale change). An entry renders\nwherever a caller renders `settings.section.view` with its id.\nGeneral Settings hosts the `settings.general.group` list; each group\nowns its content and any child preference slots.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/**
1993
2179
  * Owner share of a settings section entry. The shell owns modal visibility
1994
2180
  * and navigation; a section's data arrives through its own inject faces and
1995
2181
  * stores. \`close\` is the one shell affordance a section receives, for flows
@@ -1999,7 +2185,7 @@ export interface SettingsSectionOwnerProps {
1999
2185
  export interface SettingsSectionOwnerProps {
2000
2186
  /** Leave the page: close the settings panel, or on the Plugins page return to the view the page was opened from. */
2001
2187
  close: () => void
2002
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'settings.section.view' (client-ui-settings-general), so it exists while that definition is registered`,occupants:[`client-remote-connection RemoteConnectionSettings id 'remote-connection'`,`client-ui-agent-preset AgentPresetSection id 'agent-presets'`,`client-ui-plugin-manager PluginsSettingsLink`,`client-ui-settings-account AccountSection id 'account'`,`client-ui-settings-general GeneralSection id 'general'`,`client-ui-settings-models ModelsSection id 'models'`],replaceRisk:`none`,example:`return {
2188
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'settings.section.view' (client-ui-settings-general), so it exists while that definition is registered`,occupants:[`client-remote-connection RemoteConnectionSettings id 'remote-connection'`,`client-ui-agent-preset AgentPresetSection id 'agent-presets'`,`client-ui-plugin-manager PluginsSettingsLink`,`client-ui-settings-account AccountSection id 'account'`,`client-ui-settings-general GeneralSection id 'general'`,`client-ui-settings-models ModelsSection id 'models'`],replaceRisk:`none`,example:`return {
2003
2189
  inject: ['slots'],
2004
2190
  apply(ctx) {
2005
2191
  ctx.slots.inject('settings.section', () => ctx.slots.register(
@@ -2007,7 +2193,7 @@ export interface SettingsSectionOwnerProps {
2007
2193
  () => React.createElement('div', null, 'hello'),
2008
2194
  ))
2009
2195
  },
2010
- }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:81`},{key:`settings.section.icon`,kind:`list`,scope:`root`,summary:`Optional navigation icons addressed by the matching settings.section id.`,doc:`Optional navigation icons addressed by the matching settings.section id.
2196
+ }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:80`},{key:`settings.section.icon`,kind:`list`,scope:`root`,summary:`Optional navigation icons addressed by the matching settings.section id.`,doc:`Optional navigation icons addressed by the matching settings.section id.
2011
2197
  The registration id must equal the target section's id; unmatched ids
2012
2198
  never render. The icon's label option is not displayed.
2013
2199
  The shell owns the button and label and keeps its default glyph when
@@ -2017,7 +2203,7 @@ export interface SettingsSectionIconOwnerProps {
2017
2203
  size: number
2018
2204
  /** Whether this section is selected. */
2019
2205
  active: boolean
2020
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2206
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2021
2207
  inject: ['slots'],
2022
2208
  apply(ctx) {
2023
2209
  ctx.slots.inject('settings.section.icon', () => ctx.slots.register(
@@ -2025,7 +2211,7 @@ export interface SettingsSectionIconOwnerProps {
2025
2211
  () => React.createElement('div', null, 'hello'),
2026
2212
  ))
2027
2213
  },
2028
- }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:89`},{key:`settings.trigger`,kind:`single`,scope:`root`,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).`,doc:`The sidebar-foot trigger row content: icon + label, supplied as slot
2214
+ }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:88`},{key:`settings.trigger`,kind:`single`,scope:`root`,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).`,doc:`The sidebar-foot trigger row content: icon + label, supplied as slot
2029
2215
  content (the accessible name comes from the content — rail state
2030
2216
  renders the label visually hidden). The shell renders the button
2031
2217
  chrome and owns open state. Absent contribution degrades to an
@@ -2034,7 +2220,7 @@ the shipped composition always registers the seat).`,registerOptions:[],ownerPro
2034
2220
  export interface SettingsTriggerOwnerProps {
2035
2221
  /** Whether the sidebar renders wide content (false = 56px rail, icon only). */
2036
2222
  wide: boolean
2037
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general TriggerContent`],replaceRisk:`shadows-shipped-ui`,example:`return {
2223
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general TriggerContent`],replaceRisk:`shadows-shipped-ui`,example:`return {
2038
2224
  inject: ['slots'],
2039
2225
  apply(ctx) {
2040
2226
  ctx.slots.inject('settings.trigger', () => ctx.slots.register(
@@ -2045,7 +2231,7 @@ export interface SettingsTriggerOwnerProps {
2045
2231
  }`,source:`packages/client/ui-settings/src/client/contract/slots.ts:48`},{key:`shell.bottom`,kind:`single`,scope:`root`,summary:`Full-width bottom content below all three columns.`,doc:`Full-width bottom content below all three columns. Its rendered height
2046
2232
  reduces the columns' available height; empty content reserves no space.
2047
2233
  The occupant owns its height, visibility, and controls. It receives no
2048
- Session binding and remains mounted across main-panel navigation.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`experimental-inspector InspectorPage`],replaceRisk:`shadows-shipped-ui`,example:`return {
2234
+ Session binding and remains mounted across main-panel navigation.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`experimental-inspector InspectorPage`],replaceRisk:`shadows-shipped-ui`,example:`return {
2049
2235
  inject: ['slots'],
2050
2236
  apply(ctx) {
2051
2237
  ctx.slots.inject('shell.bottom', () => ctx.slots.register(
@@ -2063,7 +2249,7 @@ While the seat is mounted the frame publishes
2063
2249
  \`--dsh-frame-leading-clearance\` (the inline inset the seat's band
2064
2250
  occupies, measured from the frame's left edge); a main panel whose
2065
2251
  content reaches the top-left corner pads by it so nothing lands under
2066
- the lights or the controls.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar HeaderLeadingControls`],replaceRisk:`shadows-shipped-ui`,example:`return {
2252
+ the lights or the controls.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar HeaderLeadingControls`],replaceRisk:`shadows-shipped-ui`,example:`return {
2067
2253
  inject: ['slots'],
2068
2254
  apply(ctx) {
2069
2255
  ctx.slots.inject('shell.leading', () => ctx.slots.register(
@@ -2078,7 +2264,7 @@ themselves. The layer itself is click-through — entries opt back into
2078
2264
  pointer events — so an occupant never blocks the app underneath.
2079
2265
 
2080
2266
  This is the additive seat for a frame-wide surface of your own: a fresh
2081
- \`id\` is added beside the shipped entries instead of replacing them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-remote-connection LoginLinkToast id 'remote-connection-copy'`,`client-remote-connection PairingToast id 'remote-connection-pairing-notice'`,`client-ui-agent-team TeamDisableConfirmation id 'agent-team.disable'`,`client-ui-chat QuotaNoticeHost id 'chat.quota-notice'`,`client-ui-connector-account ConnectorAccountToastEntry id 'connector-account.notice'`,`client-ui-context-menu MenuOverlay id 'context-menu'`,`client-ui-file-drag FileDragFeedback id 'file-drag.feedback'`,`client-ui-open-in-app OpenInAppToast id 'open-in-app.toast'`,`client-ui-plugin-manager PluginRefreshToast id 'plugin-manager.refresh-toast'`,`client-ui-schedule ScheduleDeleteToast id 'schedule.delete-toast'`,`client-ui-settings-account DesktopOnboardingEntry id 'desktop-onboarding'`,`client-ui-settings-account AccountPlatformHost id 'account.platform-page'`,`client-ui-settings-general DesktopChannelToast id 'desktop-channel-toast'`,`client-ui-settings-general HostReleasePrompt id 'host-release-change'`,`client-ui-settings-session-log UploadToast id 'session-log-upload-toast'`,`client-ui-shortcuts ShortcutReference id 'shortcuts'`,`client-ui-subagent SessionDropZone id 'subagent.session-drop'`,`client-ui-workspace SessionRenameDialog id 'workspace.session-rename'`,`client-ui-workspace SessionArchiveConfirmDialog id 'workspace.session-archive'`,`client-ui-workspace RowActionToast id 'workspace.row-toast'`,`experimental-client-ui-forge ActionToast id 'forge-panel.toast'`,`cua PermissionToast id 'cua-permission-outcome'`,`session-log-export SessionMarkdownCopyToast id 'session-log-download.copy-toast'`,`session-log-export SessionLogDownloadDialog id 'session-log-download'`],replaceRisk:`none`,example:`return {
2267
+ \`id\` is added beside the shipped entries instead of replacing them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-remote-connection LoginLinkToast id 'remote-connection-copy'`,`client-remote-connection PairingToast id 'remote-connection-pairing-notice'`,`client-ui-agent-team TeamDisableConfirmation id 'agent-team.disable'`,`client-ui-chat QuotaNoticeHost id 'chat.quota-notice'`,`client-ui-connector-account ConnectorAccountToastEntry id 'connector-account.notice'`,`client-ui-context-menu MenuOverlay id 'context-menu'`,`client-ui-file-drag FileDragFeedback id 'file-drag.feedback'`,`client-ui-open-in-app OpenInAppToast id 'open-in-app.toast'`,`client-ui-plugin-manager PluginRefreshToast id 'plugin-manager.refresh-toast'`,`client-ui-schedule ScheduleDeleteToast id 'schedule.delete-toast'`,`client-ui-settings-account DesktopOnboardingEntry id 'desktop-onboarding'`,`client-ui-settings-account AccountPlatformHost id 'account.platform-page'`,`client-ui-settings-general DesktopChannelToast id 'desktop-channel-toast'`,`client-ui-settings-general HostReleasePrompt id 'host-release-change'`,`client-ui-settings-session-log UploadToast id 'session-log-upload-toast'`,`client-ui-shortcuts ShortcutReference id 'shortcuts'`,`client-ui-subagent SessionDropZone id 'subagent.session-drop'`,`client-ui-workspace SessionRenameDialog id 'workspace.session-rename'`,`client-ui-workspace SessionArchiveConfirmDialog id 'workspace.session-archive'`,`client-ui-workspace RowActionToast id 'workspace.row-toast'`,`experimental-client-ui-forge ActionToast id 'forge-panel.toast'`,`client-ui-office-frame-forwarding RetainedViews id 'office.retained-views'`,`client-ui-sidechat SidechatToast id 'sidechat.notice'`,`cua PermissionToast id 'cua-permission-outcome'`,`session-log-export SessionMarkdownCopyToast id 'session-log-download.copy-toast'`,`session-log-export SessionLogDownloadDialog id 'session-log-download'`],replaceRisk:`none`,example:`return {
2082
2268
  inject: ['slots'],
2083
2269
  apply(ctx) {
2084
2270
  ctx.slots.inject('shell.overlay', () => ctx.slots.register(
@@ -2105,7 +2291,7 @@ export interface QuotaNoticeOwnerProps {
2105
2291
  * @returns idempotent release that cannot clear another hold.
2106
2292
  */
2107
2293
  keepOpen: () => () => void
2108
- }`],ownerPropsReferences:[`QuotaNoticeCode`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountQuotaNotice`],replaceRisk:`none`,example:`return {
2294
+ }`],ownerPropsReferences:[`QuotaNoticeCode`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountQuotaNotice`],replaceRisk:`none`,example:`return {
2109
2295
  inject: ['slots'],
2110
2296
  apply(ctx) {
2111
2297
  ctx.slots.inject('shell.quota-notice', () => ctx.slots.register(
@@ -2113,7 +2299,7 @@ export interface QuotaNoticeOwnerProps {
2113
2299
  () => React.createElement('div', null, 'hello'),
2114
2300
  ))
2115
2301
  },
2116
- }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:520`},{key:`sidebar`,kind:`single`,scope:`root`,summary:`The whole left column.`,doc:`The whole left column. OCCUPIED by ui-sidebar's SidebarRoot, which
2302
+ }`,source:`packages/client/ui-chat/src/client/contract/slots.ts:530`},{key:`sidebar`,kind:`single`,scope:`root`,summary:`The whole left column.`,doc:`The whole left column. OCCUPIED by ui-sidebar's SidebarRoot, which
2117
2303
  declares the workspace and settings seats inside it — registering here
2118
2304
  replaces the navigation column outright rather than adding to it, and
2119
2305
  the seats it declares disappear with it. To add something to the
@@ -2129,7 +2315,12 @@ export interface SidebarOwnerProps {
2129
2315
  width: number
2130
2316
  /** Present the retained sidebar content as an overlay drawer. */
2131
2317
  drawer: boolean
2132
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar SidebarRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
2318
+ /**
2319
+ * True while the frame eases its column tracks after a collapse, expand, or fold change, and false during a
2320
+ * resize drag or a viewport change; a sidebar that sets its own width eases it on the same curve meanwhile.
2321
+ */
2322
+ animating: boolean
2323
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar SidebarRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
2133
2324
  inject: ['slots'],
2134
2325
  apply(ctx) {
2135
2326
  ctx.slots.inject('sidebar', () => ctx.slots.register(
@@ -2143,7 +2334,7 @@ the shell's fish fallback without replacing the surrounding controls.`,registerO
2143
2334
  export interface SidebarBrandMarkOwnerProps {
2144
2335
  /** Requested square edge in pixels. */
2145
2336
  size: number
2146
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-brand-official OfficialBrandMark`,`experimental-liveshare ViewerBrandMark`],replaceRisk:`shadows-shipped-ui`,example:`return {
2337
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-brand-official OfficialBrandMark`,`experimental-liveshare ViewerBrandMark`],replaceRisk:`shadows-shipped-ui`,example:`return {
2147
2338
  inject: ['slots'],
2148
2339
  apply(ctx) {
2149
2340
  ctx.slots.inject('sidebar.brand.mark', () => ctx.slots.register(
@@ -2155,7 +2346,7 @@ export interface SidebarBrandMarkOwnerProps {
2155
2346
  export interface SidebarBrandNameOwnerProps {
2156
2347
  /** Marker field: the occupant owns its own content and width. */
2157
2348
  children?: never
2158
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-brand-official OfficialBrandName`,`experimental-liveshare ViewerBrandName`],replaceRisk:`shadows-shipped-ui`,example:`return {
2349
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-brand-official OfficialBrandName`,`experimental-liveshare ViewerBrandName`],replaceRisk:`shadows-shipped-ui`,example:`return {
2159
2350
  inject: ['slots'],
2160
2351
  apply(ctx) {
2161
2352
  ctx.slots.inject('sidebar.brand.name', () => ctx.slots.register(
@@ -2163,7 +2354,7 @@ export interface SidebarBrandNameOwnerProps {
2163
2354
  () => React.createElement('div', null, 'hello'),
2164
2355
  ))
2165
2356
  },
2166
- }`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:48`},{key:`sidebar.chat.conversation`,kind:`single`,scope:`session`,summary:`Session-scoped Conversation occurrence hosted by one Sidebar chat tab.`,doc:`Session-scoped Conversation occurrence hosted by one Sidebar chat tab.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:`SidebarChatInjected`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-subagent), so it exists while that entry is mounted`,occupants:[`client-ui-subagent ConversationSlotPanel`],replaceRisk:`shadows-shipped-ui`,example:`return {
2357
+ }`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:48`},{key:`sidebar.chat.conversation`,kind:`single`,scope:`session`,summary:`Session-scoped Conversation occurrence hosted by one Sidebar chat tab.`,doc:`Session-scoped Conversation occurrence hosted by one Sidebar chat tab.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:`SidebarChatInjected`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-subagent), so it exists while that entry is mounted`,occupants:[`client-ui-subagent ConversationSlotPanel`],replaceRisk:`shadows-shipped-ui`,example:`return {
2167
2358
  inject: ['slots'],
2168
2359
  apply(ctx) {
2169
2360
  ctx.slots.inject('sidebar.chat.conversation', () => ctx.slots.register(
@@ -2176,7 +2367,7 @@ package's 'sidebar' entry; each action receives only the column state.`,register
2176
2367
  export interface SidebarFooterActionOwnerProps {
2177
2368
  /** Whether the sidebar renders wide content (false = 56px rail). */
2178
2369
  wide: boolean
2179
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-cordis CordisPanel id 'cordis-panel'`],replaceRisk:`none`,example:`return {
2370
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-cordis CordisPanel id 'cordis-panel'`],replaceRisk:`none`,example:`return {
2180
2371
  inject: ['slots'],
2181
2372
  apply(ctx) {
2182
2373
  ctx.slots.inject('sidebar.footer.action', () => ctx.slots.register(
@@ -2191,7 +2382,7 @@ export interface SidebarPanelIconOwnerProps {
2191
2382
  size: number
2192
2383
  /** Whether this panel is selected in the main column. */
2193
2384
  active: boolean
2194
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'sidebar.panel.icon' (client-ui-sidebar), so it exists while that definition is registered`,occupants:[`client-ui-plugin-manager PluginsPanelIcon`,`client-ui-schedule TaskManagerIcon`,`experimental-client-ui-forge ReviewNavIcon`],replaceRisk:`none`,example:`return {
2385
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'sidebar.panel.icon' (client-ui-sidebar), so it exists while that definition is registered`,occupants:[`client-ui-plugin-manager PluginsPanelIcon`,`client-ui-schedule TaskManagerIcon`,`experimental-client-ui-forge ReviewNavIcon`],replaceRisk:`none`,example:`return {
2195
2386
  inject: ['slots'],
2196
2387
  apply(ctx) {
2197
2388
  ctx.slots.inject('sidebar.panellist', () => ctx.slots.register(
@@ -2216,7 +2407,7 @@ export interface SidebarPanelActionsOwnerProps {
2216
2407
  readonly onPinnedChange: (id: string, pinned: boolean) => void
2217
2408
  /** Close the More menu. */
2218
2409
  readonly onDismiss: () => void
2219
- }`],ownerPropsReferences:[`SidebarPanelActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-entry-customization EntryMenuContent id 'entry-customization'`],replaceRisk:`none`,example:`return {
2410
+ }`],ownerPropsReferences:[`SidebarPanelActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-entry-customization EntryMenuContent id 'entry-customization'`],replaceRisk:`none`,example:`return {
2220
2411
  inject: ['slots'],
2221
2412
  apply(ctx) {
2222
2413
  ctx.slots.inject('sidebar.panellist.actions', () => ctx.slots.register(
@@ -2234,7 +2425,7 @@ export interface SidebarPanelTrailingOwnerProps {
2234
2425
  wide: boolean
2235
2426
  /** Whether this panel is selected in the main column. */
2236
2427
  active: boolean
2237
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'sidebar.panel.trailing' (client-ui-sidebar), so it exists while that definition is registered`,occupants:[`experimental-client-ui-forge ReviewNavCount`],replaceRisk:`none`,example:`return {
2428
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'sidebar.panel.trailing' (client-ui-sidebar), so it exists while that definition is registered`,occupants:[`experimental-client-ui-forge ReviewNavCount`],replaceRisk:`none`,example:`return {
2238
2429
  inject: ['slots'],
2239
2430
  apply(ctx) {
2240
2431
  ctx.slots.inject('sidebar.panellist.trailing', () => ctx.slots.register(
@@ -2246,7 +2437,7 @@ export interface SidebarPanelTrailingOwnerProps {
2246
2437
  \`tab.kind\`. A tab type registers here under its definition's \`id\` and
2247
2438
  receives every tab of that kind, in every pane, docked or floating. A kind
2248
2439
  with no type in force renders the owner's "nothing can view this" notice
2249
- rather than an empty pane.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`TabHookContext`,slotInject:`SidebarRightTabInjected`,declaredBy:`an entry in 'rightbar.session' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-deliverables ReviewTab`,`client-ui-plan PlanPreview`,`client-ui-schedule ScheduleTaskTab`,`client-ui-sidebar-browser BrowserBody`,`client-ui-sidebar-documentpreview TextPreview`,`client-ui-sidebar-documentpreview SummaryPreview`,`client-ui-sidebar-files FilesBody`,`client-ui-sidebar-right GuideBody`,`client-ui-sidebar-terminal LazyTerminalBody`,`client-ui-subagent SidebarChatTab`,`experimental-client-ui-forge ChangesTab`,`experimental-session-inspector SessionInspectorView`,`timeline Panel`],replaceRisk:`none`,example:`return {
2440
+ rather than an empty pane.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`TabHookContext`,slotInject:`SidebarRightTabInjected`,declaredBy:`an entry in 'rightbar.session' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-deliverables ReviewTab`,`client-ui-plan PlanPreview`,`client-ui-schedule ScheduleTaskTab`,`client-ui-sidebar-browser BrowserBody`,`client-ui-sidebar-documentpreview TextPreview`,`client-ui-sidebar-documentpreview SummaryPreview`,`client-ui-sidebar-files FilesBody`,`client-ui-sidebar-right GuideBody`,`client-ui-sidebar-terminal LazyTerminalBody`,`client-ui-subagent SidebarChatTab`,`experimental-client-ui-forge ChangesTab`,`client-ui-sidechat SidechatTab`,`experimental-session-inspector SessionInspectorView`,`timeline Panel`],replaceRisk:`none`,example:`return {
2250
2441
  inject: ['slots'],
2251
2442
  apply(ctx) {
2252
2443
  ctx.slots.inject('sidebar.right.pane.tab', () => ctx.slots.register(
@@ -2259,7 +2450,7 @@ dispatched with the same key and information hook as the body. A type with a
2259
2450
  live title — a terminal named after its shell, a chat after its first
2260
2451
  line — registers here and reads its own store; one without registers
2261
2452
  nothing and the chip shows the registry's \`title(address)\` text captured
2262
- at open time.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`TabHookContext`,slotInject:`SidebarRightTabInjected`,declaredBy:`an entry in 'rightbar.session' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-plan PlanTitle`,`client-ui-schedule ScheduleTaskTabTitle`,`client-ui-sidebar-browser BrowserTitle`,`client-ui-sidebar-documentpreview TextTitle`,`client-ui-sidebar-documentpreview SummaryTitle`,`client-ui-sidebar-files FilesTitle`,`client-ui-sidebar-right GuideTitle`,`client-ui-sidebar-terminal TerminalTitle`,`experimental-client-ui-forge ChangesTabTitle`],replaceRisk:`none`,example:`return {
2453
+ at open time.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`TabHookContext`,slotInject:`SidebarRightTabInjected`,declaredBy:`an entry in 'rightbar.session' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-plan PlanTitle`,`client-ui-schedule ScheduleTaskTabTitle`,`client-ui-sidebar-browser BrowserTitle`,`client-ui-sidebar-documentpreview TextTitle`,`client-ui-sidebar-documentpreview SummaryTitle`,`client-ui-sidebar-files FilesTitle`,`client-ui-sidebar-right GuideTitle`,`client-ui-sidebar-terminal TerminalTitle`,`experimental-client-ui-forge ChangesTabTitle`,`client-ui-sidechat SidechatTitle`],replaceRisk:`none`,example:`return {
2263
2454
  inject: ['slots'],
2264
2455
  apply(ctx) {
2265
2456
  ctx.slots.inject('sidebar.right.pane.tab.title', () => ctx.slots.register(
@@ -2281,7 +2472,7 @@ export interface DocumentBodyOwner {
2281
2472
  readonly wrap: boolean
2282
2473
  /** Report a renderer-owned scrollport; passing \`null\` restores the shared body as the owner. */
2283
2474
  readonly scrollportRef: RefCallback<HTMLElement>
2284
- }`],ownerPropsReferences:[`DocumentContent`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-documentpreview CodeBody`,`client-ui-sidebar-documentpreview LazyExcelBody`,`client-ui-sidebar-documentpreview HtmlBody`,`client-ui-sidebar-documentpreview ImageBody`,`client-ui-sidebar-documentpreview MarkdownBody`,`client-ui-sidebar-documentpreview OfficeBody`,`client-ui-sidebar-documentpreview LazyPdfBody`,`client-ui-sidebar-documentpreview TextBody`],replaceRisk:`none`,example:`return {
2475
+ }`],ownerPropsReferences:[`DocumentContent`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-documentpreview CodeBody`,`client-ui-sidebar-documentpreview LazyExcelBody`,`client-ui-sidebar-documentpreview HtmlBody`,`client-ui-sidebar-documentpreview ImageBody`,`client-ui-sidebar-documentpreview MarkdownBody`,`client-ui-sidebar-documentpreview OfficeBody`,`client-ui-sidebar-documentpreview LazyPdfBody`,`client-ui-sidebar-documentpreview TextBody`],replaceRisk:`none`,example:`return {
2285
2476
  inject: ['slots'],
2286
2477
  apply(ctx) {
2287
2478
  ctx.slots.inject('sidebar.right.tab.document', () => ctx.slots.register(
@@ -2306,7 +2497,7 @@ export type DocumentContent =
2306
2497
  readonly failed: () => void
2307
2498
  /** Cancel the current load and start a new revision. */
2308
2499
  readonly reload: () => void
2309
- }`],ownerPropsReferences:[`DocumentTextPage`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-documentpreview OfficeFontAction`],replaceRisk:`none`,example:`return {
2500
+ }`],ownerPropsReferences:[`DocumentTextPage`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-documentpreview OfficeFontAction`],replaceRisk:`none`,example:`return {
2310
2501
  inject: ['slots'],
2311
2502
  apply(ctx) {
2312
2503
  ctx.slots.inject('sidebar.right.tab.document.action', () => ctx.slots.register(
@@ -2315,7 +2506,7 @@ export type DocumentContent =
2315
2506
  ))
2316
2507
  },
2317
2508
  }`,source:`packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:87`},{key:`sidebar.right.tab.document.actions`,kind:`list`,scope:`session`,summary:`Header toolbar contributions acting on the previewed file, rendered after the preview's own controls once the file's Host path is known.`,doc:`Header toolbar contributions acting on the previewed file, rendered
2318
- after the preview's own controls once the file's Host path is known.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app OpenPathAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
2509
+ after the preview's own controls once the file's Host path is known.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app OpenPathAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
2319
2510
  inject: ['slots'],
2320
2511
  apply(ctx) {
2321
2512
  ctx.slots.inject('sidebar.right.tab.document.actions', () => ctx.slots.register(
@@ -2323,7 +2514,51 @@ after the preview's own controls once the file's Host path is known.`,registerOp
2323
2514
  () => React.createElement('div', null, 'hello'),
2324
2515
  ))
2325
2516
  },
2326
- }`,source:`packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:66`},{key:`sidebar.right.tab.document.office.pdf`,kind:`keyed`,scope:`session`,summary:`PDF presentation supplied with Office-owned converted bytes.`,doc:`PDF presentation supplied with Office-owned converted bytes.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Content and viewing inputs shared by document bodies and nested PDF presentation. */
2517
+ }`,source:`packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:66`},{key:`sidebar.right.tab.document.office.native`,kind:`single`,scope:`session`,summary:`Optional Desktop renderer for DOCX, XLSX, and PPTX sources.`,doc:`Optional Desktop renderer for DOCX, XLSX, and PPTX sources. The owner renders the format-specific fallback itself:
2518
+ without a registration, for other formats, and after the renderer reports that native rendering cannot open
2519
+ or stopped rendering after opening.`,registerOptions:[],ownerProps:[`/** Inputs of the optional native Office renderer; the document preview keeps the format-specific fallback. */
2520
+ export interface OfficeNativeOwner extends Pick<DocumentBodyOwner, 'resourceAddress' | 'content'> {
2521
+ /**
2522
+ * Report that native rendering of this owner's content revision cannot open or stopped rendering after opening; call
2523
+ * it from an event or failure callback, never during render. The owner replaces this slot with the format-specific
2524
+ * fallback until the content revision changes, including through reload. Calls for a superseded revision or a closed
2525
+ * tab are ignored. The reference stays stable for one tab occurrence and revision.
2526
+ */
2527
+ readonly onNativeUnavailable: () => void
2528
+ }`],ownerPropsReferences:[`DocumentBodyOwner`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.tab.document' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-office-frame-forwarding Preview`],replaceRisk:`shadows-shipped-ui`,example:`return {
2529
+ inject: ['slots'],
2530
+ apply(ctx) {
2531
+ ctx.slots.inject('sidebar.right.tab.document.office.native', () => ctx.slots.register(
2532
+ { name: 'sidebar.right.tab.document.office.native' },
2533
+ () => React.createElement('div', null, 'hello'),
2534
+ ))
2535
+ },
2536
+ }`,source:`packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:43`},{key:`sidebar.right.tab.document.office.native.action`,kind:`single`,scope:`session`,summary:`Native controls alongside the shared document reload action.`,doc:`Native controls alongside the shared document reload action.`,registerOptions:[],ownerProps:[`/**
2537
+ * Ordinary file contents, or a request for the selected renderer to load its content.
2538
+ * Byte arrays are transient UI input, never persisted layout or Session data.
2539
+ */
2540
+ export type DocumentContent =
2541
+ | { readonly kind: 'text'; readonly text: string; readonly pages: readonly DocumentTextPage[]; readonly eof: boolean }
2542
+ | { readonly kind: 'bytes'; readonly data: Uint8Array<ArrayBuffer> }
2543
+ | {
2544
+ readonly kind: 'renderer'
2545
+ /** Changes on reload or implementation replacement; retained contents belong to one revision. */
2546
+ readonly revision: number
2547
+ /** Report the displayed source version; stale revisions cannot update the owner. @param version - loaded source version. */
2548
+ readonly loaded: (version: string) => void
2549
+ /** End a failed load; a later file change can start another revision. */
2550
+ readonly failed: () => void
2551
+ /** Cancel the current load and start a new revision. */
2552
+ readonly reload: () => void
2553
+ }`],ownerPropsReferences:[`DocumentTextPage`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.tab.document.action' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-office-frame-forwarding PresentationAction`],replaceRisk:`shadows-shipped-ui`,example:`return {
2554
+ inject: ['slots'],
2555
+ apply(ctx) {
2556
+ ctx.slots.inject('sidebar.right.tab.document.office.native.action', () => ctx.slots.register(
2557
+ { name: 'sidebar.right.tab.document.office.native.action' },
2558
+ () => React.createElement('div', null, 'hello'),
2559
+ ))
2560
+ },
2561
+ }`,source:`packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:31`},{key:`sidebar.right.tab.document.office.pdf`,kind:`keyed`,scope:`session`,summary:`PDF presentation supplied with Office-owned converted bytes.`,doc:`PDF presentation supplied with Office-owned converted bytes.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Content and viewing inputs shared by document bodies and nested PDF presentation. */
2327
2562
  export interface DocumentBodyOwner {
2328
2563
  /** Observe a file read by this renderer. @param address - complete file resource address. */
2329
2564
  readonly addResource: (address: string) => void
@@ -2337,7 +2572,7 @@ export interface DocumentBodyOwner {
2337
2572
  readonly wrap: boolean
2338
2573
  /** Report a renderer-owned scrollport; passing \`null\` restores the shared body as the owner. */
2339
2574
  readonly scrollportRef: RefCallback<HTMLElement>
2340
- }`],ownerPropsReferences:[`DocumentContent`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.tab.document' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-documentpreview LazyPdfBody`],replaceRisk:`none`,example:`return {
2575
+ }`],ownerPropsReferences:[`DocumentContent`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.tab.document' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-documentpreview LazyPdfBody`],replaceRisk:`none`,example:`return {
2341
2576
  inject: ['slots'],
2342
2577
  apply(ctx) {
2343
2578
  ctx.slots.inject('sidebar.right.tab.document.office.pdf', () => ctx.slots.register(
@@ -2345,8 +2580,30 @@ export interface DocumentBodyOwner {
2345
2580
  () => React.createElement('div', null, 'hello'),
2346
2581
  ))
2347
2582
  },
2348
- }`,source:`packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:19`},{key:`sidebar.right.tab.document.unpreviewable`,kind:`list`,scope:`session`,summary:`Empty-state contributions for a file this preview cannot render, offered where Retry would stand once the file's Host path is known.`,doc:`Empty-state contributions for a file this preview cannot render,
2349
- offered where Retry would stand once the file's Host path is known.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app OpenPathEmptyAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
2583
+ }`,source:`packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:59`},{key:`sidebar.right.tab.document.office.spreadsheet`,kind:`keyed`,scope:`session`,summary:`Browser workbook presentation used after native rendering fails.`,doc:`Browser workbook presentation used after native rendering fails.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Content and viewing inputs shared by document bodies and nested PDF presentation. */
2584
+ export interface DocumentBodyOwner {
2585
+ /** Observe a file read by this renderer. @param address - complete file resource address. */
2586
+ readonly addResource: (address: string) => void
2587
+ /** Replace this renderer's dependencies. @param addresses - complete file resource addresses. */
2588
+ readonly setResources: (addresses: readonly string[]) => void
2589
+ /** Original file address, also readable through the standard useResource hook. */
2590
+ readonly resourceAddress: string
2591
+ /** Ordinary file content or a renderer-owned loading request; text accumulates until eof. */
2592
+ readonly content: DocumentContent
2593
+ /** The document toolbar's current wrapping preference. */
2594
+ readonly wrap: boolean
2595
+ /** Report a renderer-owned scrollport; passing \`null\` restores the shared body as the owner. */
2596
+ readonly scrollportRef: RefCallback<HTMLElement>
2597
+ }`],ownerPropsReferences:[`DocumentContent`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: @deepseek-ai/dsh-client-ui-sidebar-documentpreview/office`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.tab.document' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-documentpreview LazyExcelBody key '@deepseek-ai/dsh-client-ui-sidebar-documentpreview/office'`],replaceRisk:`shadows-shipped-ui`,example:`return {
2598
+ inject: ['slots'],
2599
+ apply(ctx) {
2600
+ ctx.slots.inject('sidebar.right.tab.document.office.spreadsheet', () => ctx.slots.register(
2601
+ { name: 'sidebar.right.tab.document.office.spreadsheet', key: '<one key the owner dispatches>' },
2602
+ () => React.createElement('div', null, 'hello'),
2603
+ ))
2604
+ },
2605
+ }`,source:`packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:51`},{key:`sidebar.right.tab.document.unpreviewable`,kind:`list`,scope:`session`,summary:`Empty-state contributions for a file this preview cannot render, offered where Retry would stand once the file's Host path is known.`,doc:`Empty-state contributions for a file this preview cannot render,
2606
+ offered where Retry would stand once the file's Host path is known.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app OpenPathEmptyAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
2350
2607
  inject: ['slots'],
2351
2608
  apply(ctx) {
2352
2609
  ctx.slots.inject('sidebar.right.tab.document.unpreviewable', () => ctx.slots.register(
@@ -2354,7 +2611,7 @@ offered where Retry would stand once the file's Host path is known.`,registerOpt
2354
2611
  () => React.createElement('div', null, 'hello'),
2355
2612
  ))
2356
2613
  },
2357
- }`,source:`packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:78`},{key:`sidebar.right.tab.files.actions`,kind:`list`,scope:`session`,summary:"Workspace directory actions after the `files` page's reload control.",doc:"Workspace directory actions after the `files` page's reload control.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-files), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app OpenInAppAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
2614
+ }`,source:`packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:78`},{key:`sidebar.right.tab.files.actions`,kind:`list`,scope:`session`,summary:"Workspace directory actions after the `files` page's reload control.",doc:"Workspace directory actions after the `files` page's reload control.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-files), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app OpenInAppAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
2358
2615
  inject: ['slots'],
2359
2616
  apply(ctx) {
2360
2617
  ctx.slots.inject('sidebar.right.tab.files.actions', () => ctx.slots.register(
@@ -2364,7 +2621,7 @@ offered where Retry would stand once the file's Host path is known.`,registerOpt
2364
2621
  },
2365
2622
  }`,source:`packages/client/ui-sidebar-files/src/client/index.ts:46`},{key:`sidebar.right.tab.guide`,kind:`chain`,scope:`session`,summary:`The guide tab's body.`,doc:`The guide tab's body. Selectors run in chain order and the first
2366
2623
  non-declining entry replaces the shipped guide entirely; with no entry, or
2367
- with every entry declining, the shipped guide renders.`,registerOptions:[{name:`select`,requirement:`required`,type:`(owner) => unknown | null`,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."}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.guide', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2624
+ with every entry declining, the shipped guide renders.`,registerOptions:[{name:`select`,requirement:`required`,type:`(owner) => unknown | null`,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."}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.guide', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2368
2625
  inject: ['slots'],
2369
2626
  apply(ctx) {
2370
2627
  ctx.slots.inject('sidebar.right.tab.guide', () => ctx.slots.register(
@@ -2389,7 +2646,7 @@ export interface SidebarRightGuideActionsOwnerProps {
2389
2646
  readonly onPinnedChange: (id: string, pinned: boolean) => void
2390
2647
  /** Close the More menu. */
2391
2648
  readonly onDismiss: () => void
2392
- }`],ownerPropsReferences:[`SidebarRightGuideActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-entry-customization EntryMenuContent id 'entry-customization'`],replaceRisk:`none`,example:`return {
2649
+ }`],ownerPropsReferences:[`SidebarRightGuideActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-entry-customization EntryMenuContent id 'entry-customization'`],replaceRisk:`none`,example:`return {
2393
2650
  inject: ['slots'],
2394
2651
  apply(ctx) {
2395
2652
  ctx.slots.inject('sidebar.right.tab.guide.actions', () => ctx.slots.register(
@@ -2403,7 +2660,7 @@ export interface SidebarRightGuideEntryOwnerProps {
2403
2660
  readonly kind: string
2404
2661
  readonly title: string
2405
2662
  readonly description?: string
2406
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.guide.entry', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-terminal TerminalGuide`],replaceRisk:`none`,example:`return {
2663
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.guide.entry', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-terminal TerminalGuide`],replaceRisk:`none`,example:`return {
2407
2664
  inject: ['slots'],
2408
2665
  apply(ctx) {
2409
2666
  ctx.slots.inject('sidebar.right.tab.guide.entry', () => ctx.slots.register(
@@ -2425,7 +2682,7 @@ export interface SidebarRightTabMenuOwnerProps {
2425
2682
  * over content the action may have just replaced.
2426
2683
  */
2427
2684
  dismiss: () => void
2428
- }`],ownerPropsReferences:[`TabRecord`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'contextMenu.content' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2685
+ }`],ownerPropsReferences:[`TabRecord`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'contextMenu.content' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2429
2686
  inject: ['slots'],
2430
2687
  apply(ctx) {
2431
2688
  ctx.slots.inject('sidebar.right.tab.menu.item', () => ctx.slots.register(
@@ -2435,16 +2692,15 @@ export interface SidebarRightTabMenuOwnerProps {
2435
2692
  },
2436
2693
  }`,source:`packages/client/ui-sidebar-right/src/client/contract/slots.ts:105`},{key:`sidebar.session.action`,kind:`hoc`,scope:`root`,summary:"HOC layer around the inner content of the New-session row — the Tooltip and button the shell passes as `children`, rendered only while the Peer may create Sessions.",doc:`HOC layer around the inner content of the New-session row — the Tooltip
2437
2694
  and button the shell passes as \`children\`, rendered only while the Peer
2438
- may create Sessions. An occupant receives that content and returns it,
2439
- possibly wrapped, together with its own controls, so it decorates the
2440
- row without adding a wrapper element. Occupants nest around the content
2441
- instead of rendering beside it: one that adds nothing must return
2442
- \`children\`, and with no occupant the content renders unchanged.
2695
+ may create Sessions. Each occupant can render \`children\` with its own
2696
+ controls. Forwarded content sits in \`[data-slot-children="sidebar.session.action"]\`.
2697
+ An occupant that adds nothing must return \`children\`; with no occupant
2698
+ the content renders directly in the slot anchor.
2443
2699
  Declared by this package's 'sidebar' entry.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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."},{name:`key`,requirement:`optional`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:"Nesting position, ascending (default 0); the lowest order is the outermost layer. Render the `children` prop at most once."}],ownerProps:[`/** Owner share of the New-session row's HOC layer. */
2444
2700
  export interface SidebarSessionActionOwnerProps {
2445
2701
  /** Whether the sidebar renders wide content (false = 56px rail). */
2446
2702
  wide: boolean
2447
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`deepseek-chat-import ImportSessionsAction id 'deepseek-chat-import'`],replaceRisk:`wraps-owner-content`,example:`return {
2703
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`deepseek-chat-import ImportSessionsAction id 'deepseek-chat-import'`],replaceRisk:`wraps-owner-content`,example:`return {
2448
2704
  inject: ['slots'],
2449
2705
  apply(ctx) {
2450
2706
  ctx.slots.inject('sidebar.session.action', () => ctx.slots.register(
@@ -2452,7 +2708,7 @@ export interface SidebarSessionActionOwnerProps {
2452
2708
  ({ children }) => React.createElement('div', null, children),
2453
2709
  ))
2454
2710
  },
2455
- }`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:100`},{key:`sidebar.session.row.hover`,kind:`list`,scope:`root`,summary:`Section of the Session row's hover card between its relative time and its trailing status line.`,doc:`Section of the Session row's hover card between its relative time and
2711
+ }`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:99`},{key:`sidebar.session.row.hover`,kind:`list`,scope:`root`,summary:`Section of the Session row's hover card between its relative time and its trailing status line.`,doc:`Section of the Session row's hover card between its relative time and
2456
2712
  its trailing status line. Mounted only while that card is open.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/**
2457
2713
  * Owner share of the two Session-row schedule seats. Both receive only the
2458
2714
  * row's Session identity: the occupant reads that Session's own scheduled
@@ -2461,7 +2717,7 @@ its trailing status line. Mounted only while that card is open.`,registerOptions
2461
2717
  export interface SessionRowScheduleOwnerProps {
2462
2718
  /** Session this row shows; the occupant addresses its own data by this id. */
2463
2719
  readonly sessionId: SessionId
2464
- }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-schedule SessionScheduleHover id 'schedule-tasks'`,`experimental-client-ui-forge SessionHoverForge id 'forge-panel.row'`],replaceRisk:`none`,example:`return {
2720
+ }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-schedule SessionScheduleHover id 'schedule-tasks'`,`experimental-client-ui-forge SessionHoverForge id 'forge-panel.row'`],replaceRisk:`none`,example:`return {
2465
2721
  inject: ['slots'],
2466
2722
  apply(ctx) {
2467
2723
  ctx.slots.inject('sidebar.session.row.hover', () => ctx.slots.register(
@@ -2483,7 +2739,7 @@ seat renders there, and its live status appears on the hover card only.`,registe
2483
2739
  export interface SessionRowScheduleOwnerProps {
2484
2740
  /** Session this row shows; the occupant addresses its own data by this id. */
2485
2741
  readonly sessionId: SessionId
2486
- }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-schedule SessionScheduleMark id 'schedule-mark'`,`experimental-liveshare ViewerForkMarker id 'liveshare.fork'`],replaceRisk:`none`,example:`return {
2742
+ }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-schedule SessionScheduleMark id 'schedule-mark'`,`experimental-liveshare ViewerForkMarker id 'liveshare.fork'`],replaceRisk:`none`,example:`return {
2487
2743
  inject: ['slots'],
2488
2744
  apply(ctx) {
2489
2745
  ctx.slots.inject('sidebar.session.row.leading', () => ctx.slots.register(
@@ -2500,7 +2756,7 @@ bind or retain the Session.`,registerOptions:[{name:`id`,requirement:`required`,
2500
2756
  export interface SessionRowTrailingOwnerProps {
2501
2757
  /** Session this row shows. */
2502
2758
  readonly sessionId: SessionId
2503
- }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-forge SessionRowForge id 'forge-panel.row'`],replaceRisk:`none`,example:`return {
2759
+ }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-forge SessionRowForge id 'forge-panel.row'`],replaceRisk:`none`,example:`return {
2504
2760
  inject: ['slots'],
2505
2761
  apply(ctx) {
2506
2762
  ctx.slots.inject('sidebar.session.row.trailing', () => ctx.slots.register(
@@ -2517,7 +2773,7 @@ The sidebar passes only its column state — it holds no settings state.`,regist
2517
2773
  export interface SidebarSettingsOwnerProps {
2518
2774
  /** Whether the sidebar renders wide content (false = 56px rail). */
2519
2775
  wide: boolean
2520
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general SettingsRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
2776
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general SettingsRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
2521
2777
  inject: ['slots'],
2522
2778
  apply(ctx) {
2523
2779
  ctx.slots.inject('sidebar.settings', () => ctx.slots.register(
@@ -2525,7 +2781,7 @@ export interface SidebarSettingsOwnerProps {
2525
2781
  () => React.createElement('div', null, 'hello'),
2526
2782
  ))
2527
2783
  },
2528
- }`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:84`},{key:`sidebar.toggle.badge`,kind:`single`,scope:`root`,summary:`Non-interactive notification inside the collapsed sidebar expand button.`,doc:`Non-interactive notification inside the collapsed sidebar expand button.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general DesktopUpdateBadge`],replaceRisk:`shadows-shipped-ui`,example:`return {
2784
+ }`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:84`},{key:`sidebar.toggle.badge`,kind:`single`,scope:`root`,summary:`Non-interactive notification inside the collapsed sidebar expand button.`,doc:`Non-interactive notification inside the collapsed sidebar expand button.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general DesktopUpdateBadge`],replaceRisk:`shadows-shipped-ui`,example:`return {
2529
2785
  inject: ['slots'],
2530
2786
  apply(ctx) {
2531
2787
  ctx.slots.inject('sidebar.toggle.badge', () => ctx.slots.register(
@@ -2547,7 +2803,7 @@ export interface SidebarSectionOwnerProps {
2547
2803
  wide: boolean
2548
2804
  /** Ensure the sidebar is visible; safe to call while already expanded. */
2549
2805
  expandSidebar: () => void
2550
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:`SidebarSectionHookContext`,slotInject:`SidebarSectionInjected`,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-workspace WorkspaceBrowser`],replaceRisk:`shadows-shipped-ui`,example:`return {
2806
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:`SidebarSectionHookContext`,slotInject:`SidebarSectionInjected`,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-workspace WorkspaceBrowser`],replaceRisk:`shadows-shipped-ui`,example:`return {
2551
2807
  inject: ['slots'],
2552
2808
  apply(ctx) {
2553
2809
  ctx.slots.inject('sidebar.workspaces', () => ctx.slots.register(
@@ -2571,7 +2827,7 @@ export interface DirectoryFlowOwnerProps {
2571
2827
  onCancel: () => void
2572
2828
  /** The interaction itself failed (chooser missing, listing denied); the owner shows its error surface. */
2573
2829
  onError: (message: string) => void
2574
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-directory-picker-browse BrowseDirectoryFlow`,`client-ui-directory-picker-native NativeDirectoryFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
2830
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-directory-picker-browse BrowseDirectoryFlow`,`client-ui-directory-picker-native NativeDirectoryFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
2575
2831
  inject: ['slots'],
2576
2832
  apply(ctx) {
2577
2833
  ctx.slots.inject('sidebar.workspaces.directoryFlow', () => ctx.slots.register(
@@ -2585,7 +2841,7 @@ export interface SessionRowOwnerProps {
2585
2841
  sessionId: SessionId
2586
2842
  /** Row display title: persisted title, or empty when the Session has none. */
2587
2843
  displayTitle: string
2588
- }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:`MenuOpenState`,slotInject:`{ hooks: { menuOpenState: SlotHookFactory<'sidebar.workspaces.session.menu.item', UseMenuOpenState> shortcuts: HostObservable<readonly ShortcutCatalogEntry[]> } }`,declaredBy:`an entry in 'contextMenu.content' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2844
+ }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:`MenuOpenState`,slotInject:`{ hooks: { menuOpenState: SlotHookFactory<'sidebar.workspaces.session.menu.item', UseMenuOpenState> shortcuts: HostObservable<readonly ShortcutCatalogEntry[]> } }`,declaredBy:`an entry in 'contextMenu.content' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2589
2845
  inject: ['slots'],
2590
2846
  apply(ctx) {
2591
2847
  const copyLabel = 'Copy session title' // Localize in the contributing package.
@@ -2616,7 +2872,7 @@ export interface SessionRowOwnerProps {
2616
2872
  sessionId: SessionId
2617
2873
  /** Row display title: persisted title, or empty when the Session has none. */
2618
2874
  displayTitle: string
2619
- }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-workspace ArchiveSessionRowButton id 'archive'`,`client-ui-workspace PinSessionRowButton id 'pin'`],replaceRisk:`none`,example:`return {
2875
+ }`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-workspace ArchiveSessionRowButton id 'archive'`,`client-ui-workspace PinSessionRowButton id 'pin'`],replaceRisk:`none`,example:`return {
2620
2876
  inject: ['slots'],
2621
2877
  apply(ctx) {
2622
2878
  ctx.slots.inject('sidebar.workspaces.session.row.action', () => ctx.slots.register(
@@ -2624,7 +2880,15 @@ export interface SessionRowOwnerProps {
2624
2880
  () => React.createElement('div', null, 'hello'),
2625
2881
  ))
2626
2882
  },
2627
- }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:230`},{key:`tool.call.images`,kind:`single`,scope:`session`,summary:`Durable images of a settled image-bearing Tool call, rendered through the attachment presentation plugin.`,doc:`Durable images of a settled image-bearing Tool call, rendered through
2883
+ }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:230`},{key:`sidechat.conversation`,kind:`single`,scope:`session`,summary:`Replace the embedded child Conversation; receives its Session scope and no owner data.`,doc:`Replace the embedded child Conversation; receives its Session scope and no owner data. Absence leaves the tab body empty.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidechat), so it exists while that entry is mounted`,occupants:[`client-ui-sidechat SidechatConversation`],replaceRisk:`shadows-shipped-ui`,example:`return {
2884
+ inject: ['slots'],
2885
+ apply(ctx) {
2886
+ ctx.slots.inject('sidechat.conversation', () => ctx.slots.register(
2887
+ { name: 'sidechat.conversation' },
2888
+ () => React.createElement('div', null, 'hello'),
2889
+ ))
2890
+ },
2891
+ }`,source:`packages/experimental/client-ui-sidechat/src/client/views.tsx:21`},{key:`tool.call.images`,kind:`single`,scope:`session`,summary:`Durable images of a settled image-bearing Tool call, rendered through the attachment presentation plugin.`,doc:`Durable images of a settled image-bearing Tool call, rendered through
2628
2892
  the attachment presentation plugin. The Tool layer never imports an
2629
2893
  attachment implementation: a toolview declares this slot as a child and
2630
2894
  renders it with the image card's references plus the Gateway-authorized
@@ -2642,7 +2906,7 @@ export interface ToolImagesOwnerProps {
2642
2906
  loadImage: MessageImageLoader
2643
2907
  /** Horizontal placement inside the owning record. */
2644
2908
  align: 'start' | 'end'
2645
- }`],ownerPropsReferences:[`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'tool.call.toolview' (client-ui-tool), so it exists while that entry is mounted`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
2909
+ }`],ownerPropsReferences:[`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'tool.call.toolview' (client-ui-tool), so it exists while that entry is mounted`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
2646
2910
  inject: ['slots'],
2647
2911
  apply(ctx) {
2648
2912
  ctx.slots.inject('tool.call.images', () => ctx.slots.register(
@@ -2673,7 +2937,7 @@ export type ToolCallOwnerProps = ToolCallCommonProps & ToolCallPhaseProps`,`/**
2673
2937
  export type ToolCallPhaseProps =
2674
2938
  | { readonly phase: 'preparing'; readonly block: PreparingToolCall }
2675
2939
  | { readonly phase: 'start'; readonly block: StartedToolCall }
2676
- | { readonly phase: 'result'; readonly block: ToolResultNode }`],ownerPropsReferences:[`MessageImageLoader`,`OpenFileOptions`,`PreparingToolCall`,`StartedToolCall`,`ToolResultNode`,`UseDisclosure`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: apply_patch, ask_user_question, bash, cordis_define, cordis_inspect, 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, 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_send_message, 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, timeline_tasks, todo_write, update_goal, wait_agent, web_fetch, web_search, workflow, write`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-tool), so it exists while that entry is mounted`,occupants:[`client-ui-deliverables PresentRow key 'present'`,`client-ui-skill SkillRow key 'skill'`,`client-ui-tool AskQuestionRow key 'ask_user_question'`,`client-ui-tool BashRow key 'bash'`,`client-ui-tool DetailsRow key 'create_goal'`,`client-ui-tool DetailsRow key 'get_goal'`,`client-ui-tool DetailsRow key 'update_goal'`,`client-ui-tool DetailsRow key 'schedule_create'`,`client-ui-tool DetailsRow key 'schedule_list'`,`client-ui-tool DetailsRow key 'schedule_view'`,`client-ui-tool DetailsRow key 'schedule_edit'`,`client-ui-tool DetailsRow key 'schedule_delete'`,`client-ui-tool DetailsRow key 'schedule_update'`,`client-ui-tool DetailsRow key 'cordis_inspect'`,`client-ui-tool DetailsRow key 'cordis_inspect_list'`,`client-ui-tool DetailsRow key 'cordis_inspect_query'`,`client-ui-tool DetailsRow key 'cordis_inspect_self'`,`client-ui-tool DetailsRow key 'workflow'`,`client-ui-tool DetailsRow key 'ralph'`,`client-ui-tool DetailsRow key 'session_event_read'`,`client-ui-tool DetailsRow key 'session_event_search'`,`client-ui-tool DetailsRow key 'session_event_trace'`,`client-ui-tool DetailsRow key 'session_search'`,`client-ui-tool DetailsRow key 'session_trace'`,`client-ui-tool DetailsRow key 'list_subagent_models'`,`client-ui-tool DetailsRow key 'subagent'`,`client-ui-tool DetailsRow key 'subagent_fork'`,`client-ui-tool DetailsRow key 'list_agents'`,`client-ui-tool DetailsRow key 'send_message'`,`client-ui-tool DetailsRow key 'session_send_message'`,`client-ui-tool DetailsRow key 'interrupt_agent'`,`client-ui-tool DetailsRow key 'job_list'`,`client-ui-tool DetailsRow key 'job_output'`,`client-ui-tool DetailsRow key 'job_kill'`,`client-ui-tool DetailsRow key 'terminal_open'`,`client-ui-tool DetailsRow key 'terminal_read'`,`client-ui-tool DetailsRow key 'terminal_list'`,`client-ui-tool DetailsRow key 'terminal_signal'`,`client-ui-tool DetailsRow key 'terminal_close'`,`client-ui-tool DetailsRow key 'lsp'`,`client-ui-tool DetailsRow key 'spawn_teammate'`,`client-ui-tool DetailsRow key 'team_task_create'`,`client-ui-tool DetailsRow key 'team_task_get'`,`client-ui-tool DetailsRow key 'team_task_update'`,`client-ui-tool DetailsRow key 'team_task_list'`,`client-ui-tool DetailsRow key 'wait_agent'`,`client-ui-tool FileMutationRow key 'apply_patch'`,`client-ui-tool FileMutationRow key 'edit'`,`client-ui-tool FileMutationRow key 'write'`,`client-ui-tool OfficeRow key 'office_render'`,`client-ui-tool OfficeRow key 'office_convert'`,`client-ui-tool OfficeRow key 'office_recalculate'`,`client-ui-tool ReadImageRow key 'read_image'`,`client-ui-tool ReadRow key 'read'`,`client-ui-tool SearchRow key 'grep'`,`client-ui-tool SearchRow key 'glob'`,`client-ui-tool TodoRow key 'todo_write'`,`client-ui-tool WebRow key 'web_search'`,`client-ui-tool WebRow key 'web_fetch'`,`timeline TaskCard key 'timeline_tasks'`,`client-ui-cordis CordisDefineRow key 'cordis_define'`,`client-ui-cordis CordisRunRow key 'cordis_run'`,`client-ui-cordis CordisActionRow key 'cordis_stop'`,`client-ui-cordis CordisActionRow key 'cordis_undefine'`],replaceRisk:`shadows-shipped-ui`,example:`return {
2940
+ | { readonly phase: 'result'; readonly block: ToolResultNode }`],ownerPropsReferences:[`MessageImageLoader`,`OpenFileOptions`,`PreparingToolCall`,`StartedToolCall`,`ToolResultNode`,`UseDisclosure`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: apply_patch, ask_user_question, bash, cordis_define, cordis_inspect, cordis_inspect_list, cordis_inspect_query, cordis_inspect_self, cordis_run, cordis_stop, cordis_undefine, create_goal, cua_run_code, document_convert, document_recalculate, document_render, 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, ralph, read, read_image, run_code, 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_send_message, 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, timeline_tasks, todo_write, update_goal, wait_agent, web_fetch, web_search, workflow, write`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-tool), so it exists while that entry is mounted`,occupants:[`client-ui-deliverables PresentRow key 'present'`,`client-ui-skill SkillRow key 'skill'`,`client-ui-tool AskQuestionRow key 'ask_user_question'`,`client-ui-tool BashRow key 'bash'`,`client-ui-tool DetailsRow key 'create_goal'`,`client-ui-tool DetailsRow key 'get_goal'`,`client-ui-tool DetailsRow key 'update_goal'`,`client-ui-tool DetailsRow key 'schedule_create'`,`client-ui-tool DetailsRow key 'schedule_list'`,`client-ui-tool DetailsRow key 'schedule_view'`,`client-ui-tool DetailsRow key 'schedule_edit'`,`client-ui-tool DetailsRow key 'schedule_delete'`,`client-ui-tool DetailsRow key 'schedule_update'`,`client-ui-tool DetailsRow key 'cordis_inspect'`,`client-ui-tool DetailsRow key 'cordis_inspect_list'`,`client-ui-tool DetailsRow key 'cordis_inspect_query'`,`client-ui-tool DetailsRow key 'cordis_inspect_self'`,`client-ui-tool DetailsRow key 'workflow'`,`client-ui-tool DetailsRow key 'ralph'`,`client-ui-tool DetailsRow key 'session_event_read'`,`client-ui-tool DetailsRow key 'session_event_search'`,`client-ui-tool DetailsRow key 'session_event_trace'`,`client-ui-tool DetailsRow key 'session_search'`,`client-ui-tool DetailsRow key 'session_trace'`,`client-ui-tool DetailsRow key 'list_subagent_models'`,`client-ui-tool DetailsRow key 'subagent'`,`client-ui-tool DetailsRow key 'subagent_fork'`,`client-ui-tool DetailsRow key 'list_agents'`,`client-ui-tool DetailsRow key 'send_message'`,`client-ui-tool DetailsRow key 'session_send_message'`,`client-ui-tool DetailsRow key 'interrupt_agent'`,`client-ui-tool DetailsRow key 'job_list'`,`client-ui-tool DetailsRow key 'job_output'`,`client-ui-tool DetailsRow key 'job_kill'`,`client-ui-tool DetailsRow key 'terminal_open'`,`client-ui-tool DetailsRow key 'terminal_read'`,`client-ui-tool DetailsRow key 'terminal_list'`,`client-ui-tool DetailsRow key 'terminal_signal'`,`client-ui-tool DetailsRow key 'terminal_close'`,`client-ui-tool DetailsRow key 'lsp'`,`client-ui-tool DetailsRow key 'spawn_teammate'`,`client-ui-tool DetailsRow key 'team_task_create'`,`client-ui-tool DetailsRow key 'team_task_get'`,`client-ui-tool DetailsRow key 'team_task_update'`,`client-ui-tool DetailsRow key 'team_task_list'`,`client-ui-tool DetailsRow key 'wait_agent'`,`client-ui-tool FileMutationRow key 'apply_patch'`,`client-ui-tool FileMutationRow key 'edit'`,`client-ui-tool FileMutationRow key 'write'`,`client-ui-tool OfficeRow key 'document_render'`,`client-ui-tool OfficeRow key 'document_convert'`,`client-ui-tool OfficeRow key 'document_recalculate'`,`client-ui-tool OfficeRow key 'office_render'`,`client-ui-tool OfficeRow key 'office_convert'`,`client-ui-tool OfficeRow key 'office_recalculate'`,`client-ui-tool ReadImageRow key 'read_image'`,`client-ui-tool ReadRow key 'read'`,`client-ui-tool SearchRow key 'grep'`,`client-ui-tool SearchRow key 'glob'`,`client-ui-tool SourceCodeRow key 'run_code'`,`client-ui-tool SourceCodeRow key 'cua_run_code'`,`client-ui-tool TodoRow key 'todo_write'`,`client-ui-tool WebRow key 'web_search'`,`client-ui-tool WebRow key 'web_fetch'`,`timeline TaskCard key 'timeline_tasks'`,`client-ui-cordis CordisDefineRow key 'cordis_define'`,`client-ui-cordis CordisRunRow key 'cordis_run'`,`client-ui-cordis CordisActionRow key 'cordis_stop'`,`client-ui-cordis CordisActionRow key 'cordis_undefine'`],replaceRisk:`shadows-shipped-ui`,example:`return {
2677
2941
  inject: ['slots'],
2678
2942
  apply(ctx) {
2679
2943
  ctx.slots.inject('tool.call.toolview', () => ctx.slots.register(
@@ -2686,7 +2950,7 @@ export interface CordisToolViewOwnerProps {
2686
2950
  readonly pluginId: CordisDynamicPluginId
2687
2951
  readonly packageId: CordisDynamicPackageId
2688
2952
  readonly pluginRunId: CordisDynamicPluginRunId
2689
- }`],ownerPropsReferences:[`CordisDynamicPackageId`,`CordisDynamicPluginId`,`CordisDynamicPluginRunId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'tool.call.toolview' (client-ui-cordis), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2953
+ }`],ownerPropsReferences:[`CordisDynamicPackageId`,`CordisDynamicPluginId`,`CordisDynamicPluginRunId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'tool.call.toolview' (client-ui-cordis), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
2690
2954
  inject: ['slots'],
2691
2955
  apply(ctx) {
2692
2956
  ctx.slots.inject('tool.view.cordis', () => ctx.slots.register(
@@ -2714,7 +2978,7 @@ export interface DirectoryFlowOwnerProps {
2714
2978
  onCancel: () => void
2715
2979
  /** The interaction itself failed (chooser missing, listing denied); the owner shows its error surface. */
2716
2980
  onError: (message: string) => void
2717
- }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'workspace.picker' (client-ui-workspace), so it exists while that definition is registered`,occupants:[`client-ui-directory-picker-browse BrowseDirectoryFlow`,`client-ui-directory-picker-native NativeDirectoryFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
2981
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'workspace.picker' (client-ui-workspace), so it exists while that definition is registered`,occupants:[`client-ui-directory-picker-browse BrowseDirectoryFlow`,`client-ui-directory-picker-native NativeDirectoryFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
2718
2982
  inject: ['slots'],
2719
2983
  apply(ctx) {
2720
2984
  ctx.slots.inject('workspace.picker.directoryFlow', () => ctx.slots.register(
@@ -2726,7 +2990,7 @@ export interface DirectoryFlowOwnerProps {
2726
2990
  export interface WorkspaceToastOwnerProps {
2727
2991
  /** Dismiss the displayed notice. */
2728
2992
  dismissToast: () => void
2729
- }`],ownerPropsReferences:[`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`fixed by the owner's key table { [K in ToastKind]: ToastNotice<K> }, already taken: archivedNotOpenable, createFailed, defaultWorkspaceFailed, forkRequiresOpen, pinFailed, readingFailed, sessionIdCopied, sessionIdCopyFailed, shortcutForkFailed, unpinFailed`,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'readingFailed'>> key 'readingFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'sessionIdCopi… key 'sessionIdCopied'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'sessionIdCopy… key 'sessionIdCopyFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'pinFailed'>> key 'pinFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'unpinFailed'>> key 'unpinFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'archivedNotOp… key 'archivedNotOpenable'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'defaultWorksp… key 'defaultWorkspaceFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'shortcutForkF… key 'shortcutForkFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'createFailed'>> key 'createFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'forkRequiresO… key 'forkRequiresOpen'`,`client-ui-workspace ArchiveToastEntry`],replaceRisk:`shadows-shipped-ui`,example:`return {
2993
+ }`],ownerPropsReferences:[`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useDocumentPortal: () => FC<DocumentPortalProps>`,`useDocumentViewport: () => DocumentViewport`,`useMediaQuery: (query: string) => boolean`,`useMobile: () => boolean`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useTheme: SnapshotSelectorHook<ThemeSnapshot>`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`fixed by the owner's key table { [K in ToastKind]: ToastNotice<K> }, already taken: archivedNotOpenable, createFailed, defaultWorkspaceFailed, forkRequiresOpen, pinFailed, readingFailed, sessionIdCopied, sessionIdCopyFailed, shortcutForkFailed, unpinFailed`,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'readingFailed'>> key 'readingFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'sessionIdCopi… key 'sessionIdCopied'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'sessionIdCopy… key 'sessionIdCopyFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'pinFailed'>> key 'pinFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'unpinFailed'>> key 'unpinFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'archivedNotOp… key 'archivedNotOpenable'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'defaultWorksp… key 'defaultWorkspaceFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'shortcutForkF… key 'shortcutForkFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'createFailed'>> key 'createFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'forkRequiresO… key 'forkRequiresOpen'`,`client-ui-workspace ArchiveToastEntry`],replaceRisk:`shadows-shipped-ui`,example:`return {
2730
2994
  inject: ['slots'],
2731
2995
  apply(ctx) {
2732
2996
  ctx.slots.inject('workspace.toast', () => ctx.slots.register(