@deepseek-ai/dsh-cordis-client-runner 0.2.1-rc.5 → 0.2.2-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/README.i18n.yaml +2 -2
- package/README.md +2 -1
- package/README.zh.md +2 -1
- package/lib/client.js +716 -346
- package/lib/types/client/index.d.ts +0 -1
- package/locale/de.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/package.json +10 -9
- package/lib/types/client/timer.d.ts +0 -84
package/lib/client.js
CHANGED
|
@@ -26,9 +26,165 @@ window.__ModuleLoader__.load({
|
|
|
26
26
|
enumerable: true
|
|
27
27
|
}) : target, mod));
|
|
28
28
|
//#endregion
|
|
29
|
+
let _deepseek_ai_cordis = require("@deepseek-ai/cordis");
|
|
29
30
|
let react = require("react");
|
|
30
31
|
react = __toESM(react, 1);
|
|
31
|
-
|
|
32
|
+
//#region ../../../vendor/timer/src/index.ts
|
|
33
|
+
/** Disposable timer helpers mixed into Cordis contexts. */
|
|
34
|
+
var TimerService = class extends _deepseek_ai_cordis.Service {
|
|
35
|
+
constructor(ctx) {
|
|
36
|
+
super(ctx, "timer");
|
|
37
|
+
ctx.mixin("timer", [
|
|
38
|
+
"timeout",
|
|
39
|
+
"interval",
|
|
40
|
+
"throttle",
|
|
41
|
+
"debounce",
|
|
42
|
+
"setTimeout",
|
|
43
|
+
"setInterval"
|
|
44
|
+
]);
|
|
45
|
+
}
|
|
46
|
+
/** @deprecated use `ctx.timeout()` instead */
|
|
47
|
+
setTimeout(callback, delay) {
|
|
48
|
+
return this.timeout(callback, delay);
|
|
49
|
+
}
|
|
50
|
+
/** @deprecated use `ctx.interval()` instead */
|
|
51
|
+
setInterval(callback, delay) {
|
|
52
|
+
return this.interval(callback, delay);
|
|
53
|
+
}
|
|
54
|
+
timeout(...args) {
|
|
55
|
+
const callback = typeof args[0] === "function" ? args.shift() : void 0;
|
|
56
|
+
const delay = args[0];
|
|
57
|
+
if (callback) {
|
|
58
|
+
const dispose = this.ctx.effect(() => {
|
|
59
|
+
const timer = setTimeout(() => {
|
|
60
|
+
dispose();
|
|
61
|
+
callback();
|
|
62
|
+
}, delay);
|
|
63
|
+
return () => clearTimeout(timer);
|
|
64
|
+
}, "ctx.timeout()");
|
|
65
|
+
return dispose;
|
|
66
|
+
} else {
|
|
67
|
+
const { promise, resolve, reject } = Promise.withResolvers();
|
|
68
|
+
const dispose = this.ctx.effect(() => {
|
|
69
|
+
const timer = setTimeout(resolve, delay);
|
|
70
|
+
return () => {
|
|
71
|
+
clearTimeout(timer);
|
|
72
|
+
reject(/* @__PURE__ */ new Error("Context has been disposed"));
|
|
73
|
+
};
|
|
74
|
+
}, "ctx.timeout()");
|
|
75
|
+
return promise.finally(dispose);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
interval(...args) {
|
|
79
|
+
const callback = typeof args[0] === "function" ? args.shift() : void 0;
|
|
80
|
+
const delay = args[0];
|
|
81
|
+
if (callback) return this.ctx.effect(() => {
|
|
82
|
+
const timer = setInterval(callback, delay);
|
|
83
|
+
return () => clearInterval(timer);
|
|
84
|
+
}, "ctx.interval()");
|
|
85
|
+
else {
|
|
86
|
+
let done;
|
|
87
|
+
const nextTasks = [];
|
|
88
|
+
const dispose = this.ctx.effect(() => {
|
|
89
|
+
const timer = setInterval(() => {
|
|
90
|
+
nextTasks.shift()?.resolve({
|
|
91
|
+
done: false,
|
|
92
|
+
value: void 0
|
|
93
|
+
});
|
|
94
|
+
}, delay);
|
|
95
|
+
return () => {
|
|
96
|
+
clearInterval(timer);
|
|
97
|
+
if (done) return;
|
|
98
|
+
done = {
|
|
99
|
+
kind: "throw",
|
|
100
|
+
reason: /* @__PURE__ */ new Error("Context has been disposed")
|
|
101
|
+
};
|
|
102
|
+
for (const task of nextTasks.splice(0)) task.reject(done.reason);
|
|
103
|
+
};
|
|
104
|
+
}, "ctx.interval()");
|
|
105
|
+
return {
|
|
106
|
+
next: () => {
|
|
107
|
+
if (!done) {
|
|
108
|
+
const task = Promise.withResolvers();
|
|
109
|
+
nextTasks.push(task);
|
|
110
|
+
return task.promise;
|
|
111
|
+
}
|
|
112
|
+
if (done.kind === "return") return Promise.resolve({
|
|
113
|
+
done: true,
|
|
114
|
+
value: done.value
|
|
115
|
+
});
|
|
116
|
+
return Promise.reject(done.reason);
|
|
117
|
+
},
|
|
118
|
+
return: (value) => {
|
|
119
|
+
if (!done) done = {
|
|
120
|
+
kind: "return",
|
|
121
|
+
value
|
|
122
|
+
};
|
|
123
|
+
for (const task of nextTasks.splice(0)) task.resolve({
|
|
124
|
+
done: true,
|
|
125
|
+
value
|
|
126
|
+
});
|
|
127
|
+
dispose();
|
|
128
|
+
return Promise.resolve({
|
|
129
|
+
done: true,
|
|
130
|
+
value
|
|
131
|
+
});
|
|
132
|
+
},
|
|
133
|
+
throw: (reason) => {
|
|
134
|
+
if (!done) done = {
|
|
135
|
+
kind: "throw",
|
|
136
|
+
reason
|
|
137
|
+
};
|
|
138
|
+
for (const task of nextTasks.splice(0)) task.reject(reason);
|
|
139
|
+
dispose();
|
|
140
|
+
return Promise.resolve({
|
|
141
|
+
done: true,
|
|
142
|
+
value: void 0
|
|
143
|
+
});
|
|
144
|
+
},
|
|
145
|
+
[Symbol.asyncIterator]() {
|
|
146
|
+
return this;
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
_schedule(label, trigger) {
|
|
152
|
+
let timer;
|
|
153
|
+
let isDisposed = false;
|
|
154
|
+
const dispose = this.ctx.effect(() => () => {
|
|
155
|
+
isDisposed = true;
|
|
156
|
+
clearTimeout(timer);
|
|
157
|
+
timer = void 0;
|
|
158
|
+
}, label);
|
|
159
|
+
const wrapper = (...args) => {
|
|
160
|
+
if (isDisposed) return;
|
|
161
|
+
clearTimeout(timer);
|
|
162
|
+
timer = trigger(args);
|
|
163
|
+
};
|
|
164
|
+
wrapper.dispose = dispose;
|
|
165
|
+
return wrapper;
|
|
166
|
+
}
|
|
167
|
+
/** Return a throttled function whose timer is disposed with the current fiber. */
|
|
168
|
+
throttle(callback, delay, noTrailing) {
|
|
169
|
+
let lastCall = -Infinity;
|
|
170
|
+
const execute = (...args) => {
|
|
171
|
+
lastCall = Date.now();
|
|
172
|
+
callback(...args);
|
|
173
|
+
};
|
|
174
|
+
return this._schedule("ctx.throttle()", (args) => {
|
|
175
|
+
const remaining = delay - Date.now() + lastCall;
|
|
176
|
+
if (remaining <= 0) execute(...args);
|
|
177
|
+
else if (!noTrailing) return setTimeout(execute, remaining, ...args);
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
/** Return a debounced function whose timer is disposed with the current fiber. */
|
|
181
|
+
debounce(callback, delay) {
|
|
182
|
+
return this._schedule("ctx.debounce()", (args) => {
|
|
183
|
+
return setTimeout(callback, delay, ...args);
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
//#endregion
|
|
32
188
|
//#region lib/types/client/evaluator.js
|
|
33
189
|
/**
|
|
34
190
|
* Browser-half closure evaluation: the package source runs as the body of an
|
|
@@ -1211,14 +1367,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
1211
1367
|
throws: ["when fields are malformed, the id is occupied, or the fallback target is unknown or creates a cycle."]
|
|
1212
1368
|
},
|
|
1213
1369
|
{
|
|
1214
|
-
signature: "register<N extends Extract<keyof LocaleNamespaceMap, string>>(ns: N, dicts: Record<BuiltInLocaleId, LocaleDictOf<N>>): () => void",
|
|
1215
|
-
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
|
|
1370
|
+
signature: "register<N extends Extract<keyof LocaleNamespaceMap, string>>( ns: N, dicts: Record<BuiltInLocaleId, LocaleDictOf<N>> & Record<LocaleId, LocaleDictOf<N>>, ): () => void",
|
|
1371
|
+
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.",
|
|
1216
1372
|
parameters: [{
|
|
1217
1373
|
name: "ns",
|
|
1218
1374
|
description: "a namespace merged into LocaleNamespaceMap."
|
|
1219
1375
|
}, {
|
|
1220
1376
|
name: "dicts",
|
|
1221
|
-
description: "complete dictionaries
|
|
1377
|
+
description: "complete baseline dictionaries and optional dictionaries for additional locale ids."
|
|
1222
1378
|
}],
|
|
1223
1379
|
returns: "disposer removing every locale registered by this call (idempotent)."
|
|
1224
1380
|
},
|
|
@@ -1430,7 +1586,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
1430
1586
|
description: "Register a theme. Duplicate id throws (single occupant per id; the built-in pair counts; `system` is a preference, not a registrable id).",
|
|
1431
1587
|
parameters: [{
|
|
1432
1588
|
name: "definition",
|
|
1433
|
-
description: "theme id, colorScheme,
|
|
1589
|
+
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."
|
|
1434
1590
|
}],
|
|
1435
1591
|
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."
|
|
1436
1592
|
},
|
|
@@ -1474,12 +1630,12 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
1474
1630
|
parameters: []
|
|
1475
1631
|
},
|
|
1476
1632
|
{
|
|
1477
|
-
signature: "throttle<F extends (...args: any[]) =>
|
|
1633
|
+
signature: "throttle<F extends (...args: any[]) => any>(callback: F, delay: number, noTrailing?: boolean): ((...args: Parameters<F>) => void) & { dispose: () => void }",
|
|
1478
1634
|
description: "Return a throttled function whose timer is disposed with the current fiber.",
|
|
1479
1635
|
parameters: []
|
|
1480
1636
|
},
|
|
1481
1637
|
{
|
|
1482
|
-
signature: "debounce<F extends (...args: any[]) =>
|
|
1638
|
+
signature: "debounce<F extends (...args: any[]) => any>(callback: F, delay: number): ((...args: Parameters<F>) => void) & { dispose: () => void }",
|
|
1483
1639
|
description: "Return a debounced function whose timer is disposed with the current fiber.",
|
|
1484
1640
|
parameters: []
|
|
1485
1641
|
}
|
|
@@ -1539,7 +1695,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
1539
1695
|
},
|
|
1540
1696
|
{
|
|
1541
1697
|
signature: "connectWorkspace(workspaceId: WorkspaceId, options?: Pick<StartSessionOptions, 'agentPreset'>): Promise<SessionId>",
|
|
1542
|
-
description: "Resolve the Session for a new conversation in a Workspace: navigation names the first reusable blank member,
|
|
1698
|
+
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.",
|
|
1543
1699
|
parameters: [{
|
|
1544
1700
|
name: "workspaceId",
|
|
1545
1701
|
description: "target Workspace."
|
|
@@ -1751,7 +1907,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
1751
1907
|
},
|
|
1752
1908
|
{
|
|
1753
1909
|
name: "BeginSubmissionInput",
|
|
1754
|
-
declaration: "export interface BeginSubmissionInput {\n readonly mode: 'queue' | 'steer';\n readonly text: string;\n readonly attachments: readonly PendingSubmissionAttachment[];\n readonly onRetire?: (retirement: PendingSubmissionRetirement) => void;\n}"
|
|
1910
|
+
declaration: "export interface BeginSubmissionInput {\n readonly mode: 'queue' | 'steer';\n readonly text: string;\n readonly attachments: readonly PendingSubmissionAttachment[];\n readonly onAccept?: () => void;\n readonly onRetire?: (retirement: PendingSubmissionRetirement) => void;\n}"
|
|
1755
1911
|
},
|
|
1756
1912
|
{
|
|
1757
1913
|
name: "BoundActions",
|
|
@@ -1905,6 +2061,22 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
1905
2061
|
name: "HostObservable",
|
|
1906
2062
|
declaration: "export type HostObservable<T> = ObservableSnapshot<T>;"
|
|
1907
2063
|
},
|
|
2064
|
+
{
|
|
2065
|
+
name: "IconGlyph",
|
|
2066
|
+
declaration: "export type IconGlyph = keyof typeof ICON_ARTWORK;"
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
name: "IconReplacements",
|
|
2070
|
+
declaration: "export type IconReplacements = Readonly<Partial<Record<IconSymbolId, string>>>;"
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
name: "IconSymbolId",
|
|
2074
|
+
declaration: "export type IconSymbolId = `dsw-icon-${IconGlyph}-${IconWeight}`;"
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
name: "IconWeight",
|
|
2078
|
+
declaration: "export type IconWeight = 'regular' | 'medium';"
|
|
2079
|
+
},
|
|
1908
2080
|
{
|
|
1909
2081
|
name: "InjectFace",
|
|
1910
2082
|
declaration: "export type InjectFace<I extends object> = I extends {\n hooks: infer HS extends HooksSources;\n} ? I extends {\n keyedHooks: infer KS extends KeyedHooksSources;\n} ? Omit<I, 'hooks' | 'keyedHooks'> & PropsHooks<HS> & PropsKeyedHooks<KS> : Omit<I, 'hooks'> & PropsHooks<HS> : I extends {\n keyedHooks: infer KS extends KeyedHooksSources;\n} ? Omit<I, 'keyedHooks'> & PropsKeyedHooks<KS> : I;"
|
|
@@ -1915,7 +2087,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
1915
2087
|
},
|
|
1916
2088
|
{
|
|
1917
2089
|
name: "ISession",
|
|
1918
|
-
declaration: "export interface ISession {\n readonly sessionId: SessionId;\n readonly projections: ProjectionsFace;\n beginSubmission(input: BeginSubmissionInput): SubmissionHandle;\n prompt(content: PromptContentPart[], mode: 'queue' | 'steer', signal?: AbortSignal, requestId?: SessionRequestId): Promise<RemoteResult<{\n accepted: true;\n }>>;\n readAttachment(
|
|
2090
|
+
declaration: "export interface ISession {\n readonly sessionId: SessionId;\n readonly projections: ProjectionsFace;\n beginSubmission(input: BeginSubmissionInput): SubmissionHandle;\n prompt(content: PromptContentPart[], mode: 'queue' | 'steer', signal?: AbortSignal, requestId?: SessionRequestId): Promise<RemoteResult<{\n accepted: true;\n }>>;\n readAttachment(attachment: ImageAttachmentRef): Promise<RemoteResult<{\n attachment: ImageAttachmentRef;\n data: Uint8Array;\n }>>;\n updateQueue(itemId: MessageId, action: QueueAction): Promise<RemoteResult<{\n accepted: true;\n }>>;\n cancel(): Promise<RemoteResult<{\n accepted: true;\n }>>;\n rename(title: string): Promise<RemoteResult<{\n title: string;\n seq: SessionSeq;\n }>>;\n loadOlder(): Promise<void>;\n loadThrough(seq: SessionSeq): Promise<void>;\n command(line: string): Promise<RemoteResult<{\n matched: boolean;\n }>>;\n}"
|
|
1919
2091
|
},
|
|
1920
2092
|
{
|
|
1921
2093
|
name: "ISessions",
|
|
@@ -2171,7 +2343,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2171
2343
|
},
|
|
2172
2344
|
{
|
|
2173
2345
|
name: "SessionProjectionSnapshot",
|
|
2174
|
-
declaration: "export interface SessionProjectionSnapshot {\n readonly values: Readonly<Partial<
|
|
2346
|
+
declaration: "export interface SessionProjectionSnapshot {\n readonly values: Readonly<Partial<SessionProjectionViewValues>>;\n readonly state: 'idle' | 'loading' | 'ready' | 'migration-required' | 'error';\n readonly error: RemoteFailure | null;\n}"
|
|
2175
2347
|
},
|
|
2176
2348
|
{
|
|
2177
2349
|
name: "SessionProviderComponent",
|
|
@@ -2307,7 +2479,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2307
2479
|
},
|
|
2308
2480
|
{
|
|
2309
2481
|
name: "ThemeDefinition",
|
|
2310
|
-
declaration: "export interface ThemeDefinition {\n id: string;\n colorScheme: 'light' | 'dark';\n tokens: ThemeTokens;\n}"
|
|
2482
|
+
declaration: "export interface ThemeDefinition {\n id: string;\n colorScheme: 'light' | 'dark';\n tokens: ThemeTokens;\n icons?: IconReplacements | undefined;\n}"
|
|
2311
2483
|
},
|
|
2312
2484
|
{
|
|
2313
2485
|
name: "ThemePreference",
|
|
@@ -2432,6 +2604,82 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2432
2604
|
//#region lib/types/client/slot-catalog.js
|
|
2433
2605
|
/** Every slot the shipped web bundle declares, sorted by key. */
|
|
2434
2606
|
const CLIENT_SLOT_API = [
|
|
2607
|
+
{
|
|
2608
|
+
key: "contextMenu.content",
|
|
2609
|
+
kind: "keyed",
|
|
2610
|
+
scope: "root",
|
|
2611
|
+
summary: "Optional React rows for existing extension positions; data contributions need no renderer.",
|
|
2612
|
+
doc: "Optional React rows for existing extension positions; data contributions need no renderer.",
|
|
2613
|
+
registerOptions: [{
|
|
2614
|
+
name: "key",
|
|
2615
|
+
requirement: "required",
|
|
2616
|
+
type: "string",
|
|
2617
|
+
doc: "Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant."
|
|
2618
|
+
}],
|
|
2619
|
+
ownerProps: ["/** Captured target; changing selection never changes an open menu's target. */\nexport type ContextMenuTarget = {\n [K in keyof ContextMenuTargetMap]: { readonly kind: K; readonly value: ContextMenuTargetMap[K] }\n}[keyof ContextMenuTargetMap]"],
|
|
2620
|
+
ownerPropsReferences: ["ContextMenuTargetMap"],
|
|
2621
|
+
standardProps: [
|
|
2622
|
+
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2623
|
+
"useResource: UseResource",
|
|
2624
|
+
"useContextMenu: UseContextMenu",
|
|
2625
|
+
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2626
|
+
"usePanelInfo: UsePanelInfo",
|
|
2627
|
+
"useSessions: UseSessions",
|
|
2628
|
+
"useSessionStatus: UseSessionStatus",
|
|
2629
|
+
"useSessionRetainInfo: UseSessionRetainInfo",
|
|
2630
|
+
"useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
|
|
2631
|
+
"useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
|
|
2632
|
+
],
|
|
2633
|
+
keyDomain: "open: any string the owner dispatches (no compile-time key set), already taken: session, tab",
|
|
2634
|
+
hookContext: "",
|
|
2635
|
+
slotInject: "",
|
|
2636
|
+
declaredBy: "an entry in 'shell.overlay' (client-ui-context-menu), so it exists while that entry is mounted",
|
|
2637
|
+
occupants: ["client-ui-sidebar-right TabMenuContent key 'tab'", "client-ui-workspace SessionMenu key 'session'"],
|
|
2638
|
+
replaceRisk: "shadows-shipped-ui",
|
|
2639
|
+
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('contextMenu.content', () => ctx.slots.register(\n { name: 'contextMenu.content', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2640
|
+
source: "packages/client/ui-context-menu/src/client/index.ts:34"
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
key: "contextMenu.icon",
|
|
2644
|
+
kind: "keyed",
|
|
2645
|
+
scope: "root",
|
|
2646
|
+
summary: "Business-owned glyph or image selected by the action's icon key.",
|
|
2647
|
+
doc: "Business-owned glyph or image selected by the action's icon key.",
|
|
2648
|
+
registerOptions: [{
|
|
2649
|
+
name: "key",
|
|
2650
|
+
requirement: "required",
|
|
2651
|
+
type: "string",
|
|
2652
|
+
doc: "Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant."
|
|
2653
|
+
}],
|
|
2654
|
+
ownerProps: ["/** Keyed icon renderer and optional image URL captured with the action. */\nexport interface ContextMenuIcon {\n readonly key: string\n readonly src?: string\n}"],
|
|
2655
|
+
ownerPropsReferences: [],
|
|
2656
|
+
standardProps: [
|
|
2657
|
+
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2658
|
+
"useResource: UseResource",
|
|
2659
|
+
"useContextMenu: UseContextMenu",
|
|
2660
|
+
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2661
|
+
"usePanelInfo: UsePanelInfo",
|
|
2662
|
+
"useSessions: UseSessions",
|
|
2663
|
+
"useSessionStatus: UseSessionStatus",
|
|
2664
|
+
"useSessionRetainInfo: UseSessionRetainInfo",
|
|
2665
|
+
"useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
|
|
2666
|
+
"useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
|
|
2667
|
+
],
|
|
2668
|
+
keyDomain: "open: any string the owner dispatches (no compile-time key set), already taken: open-in-app.application, sidebar.close",
|
|
2669
|
+
hookContext: "",
|
|
2670
|
+
slotInject: "",
|
|
2671
|
+
declaredBy: "an entry in 'shell.overlay' (client-ui-context-menu), so it exists while that entry is mounted",
|
|
2672
|
+
occupants: [
|
|
2673
|
+
"client-ui-file-actions Icon",
|
|
2674
|
+
"client-ui-open-in-app Icon",
|
|
2675
|
+
"client-ui-open-in-app ContextMenuApplicationIcon key 'open-in-app.application'",
|
|
2676
|
+
"client-ui-sidebar-right IconCloseOutlineRegular key 'sidebar.close'",
|
|
2677
|
+
"client-ui-workspace Icon"
|
|
2678
|
+
],
|
|
2679
|
+
replaceRisk: "shadows-shipped-ui",
|
|
2680
|
+
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('contextMenu.icon', () => ctx.slots.register(\n { name: 'contextMenu.icon', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2681
|
+
source: "packages/client/ui-context-menu/src/client/index.ts:32"
|
|
2682
|
+
},
|
|
2435
2683
|
{
|
|
2436
2684
|
key: "conversation.approval.detail",
|
|
2437
2685
|
kind: "single",
|
|
@@ -2444,6 +2692,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2444
2692
|
standardProps: [
|
|
2445
2693
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2446
2694
|
"useResource: UseResource",
|
|
2695
|
+
"useContextMenu: UseContextMenu",
|
|
2447
2696
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2448
2697
|
"usePanelInfo: UsePanelInfo",
|
|
2449
2698
|
"useSessions: UseSessions",
|
|
@@ -2464,11 +2713,11 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2464
2713
|
keyDomain: "",
|
|
2465
2714
|
hookContext: "",
|
|
2466
2715
|
slotInject: "",
|
|
2467
|
-
declaredBy: "
|
|
2716
|
+
declaredBy: "factory 'conversation.approval.card' (client-ui-approval), so it exists while that definition is registered",
|
|
2468
2717
|
occupants: ["client-ui-chat ApprovalCommand"],
|
|
2469
2718
|
replaceRisk: "shadows-shipped-ui",
|
|
2470
2719
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.approval.detail', () => ctx.slots.register(\n { name: 'conversation.approval.detail' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2471
|
-
source: "packages/client/ui-approval/src/client/contract/slots.ts:
|
|
2720
|
+
source: "packages/client/ui-approval/src/client/contract/slots.ts:47"
|
|
2472
2721
|
},
|
|
2473
2722
|
{
|
|
2474
2723
|
key: "conversation.chat.assistant-actions",
|
|
@@ -2501,6 +2750,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2501
2750
|
standardProps: [
|
|
2502
2751
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2503
2752
|
"useResource: UseResource",
|
|
2753
|
+
"useContextMenu: UseContextMenu",
|
|
2504
2754
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2505
2755
|
"usePanelInfo: UsePanelInfo",
|
|
2506
2756
|
"useSessions: UseSessions",
|
|
@@ -2525,7 +2775,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2525
2775
|
occupants: ["client-ui-message-feedback MessageFeedbackActions id 'feedback'"],
|
|
2526
2776
|
replaceRisk: "none",
|
|
2527
2777
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.assistant-actions', () => ctx.slots.register(\n { name: 'conversation.chat.assistant-actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2528
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2778
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:493"
|
|
2529
2779
|
},
|
|
2530
2780
|
{
|
|
2531
2781
|
key: "conversation.chat.commandview",
|
|
@@ -2548,6 +2798,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2548
2798
|
standardProps: [
|
|
2549
2799
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2550
2800
|
"useResource: UseResource",
|
|
2801
|
+
"useContextMenu: UseContextMenu",
|
|
2551
2802
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2552
2803
|
"usePanelInfo: UsePanelInfo",
|
|
2553
2804
|
"useSessions: UseSessions",
|
|
@@ -2572,7 +2823,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2572
2823
|
occupants: [],
|
|
2573
2824
|
replaceRisk: "none",
|
|
2574
2825
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.commandview', () => ctx.slots.register(\n { name: 'conversation.chat.commandview', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2575
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2826
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:475"
|
|
2576
2827
|
},
|
|
2577
2828
|
{
|
|
2578
2829
|
key: "conversation.chat.flow",
|
|
@@ -2581,7 +2832,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2581
2832
|
summary: "Ordered Chat rows and local echoes with viewport-bound visibility hooks.",
|
|
2582
2833
|
doc: "Ordered Chat rows and local echoes with viewport-bound visibility hooks.",
|
|
2583
2834
|
registerOptions: [],
|
|
2584
|
-
ownerProps: ["/** Ordered rows and reconciled local echoes rendered inside one Chat viewport. */\nexport interface ChatFlowOwnerProps extends Pick<ChatNodeOwnerProps,\n 'cwd' | 'openFile' | 'inspectCall' | 'forkAt' | 'loadImage'
|
|
2835
|
+
ownerProps: ["/** Ordered rows and reconciled local echoes rendered inside one Chat viewport. */\nexport interface ChatFlowOwnerProps extends Pick<ChatNodeOwnerProps,\n 'cwd' | 'openFile' | 'inspectCall' | 'forkAt' | 'loadImage'> {\n readonly entries: readonly RenderEntry[]\n readonly pendingInputs: readonly (PendingSubmission | InboxState['next-step'][number])[]\n readonly lastInputTurn: number | undefined\n readonly deferCollapse: boolean\n}"],
|
|
2585
2836
|
ownerPropsReferences: [
|
|
2586
2837
|
"ChatNodeOwnerProps",
|
|
2587
2838
|
"PendingSubmission",
|
|
@@ -2590,6 +2841,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2590
2841
|
standardProps: [
|
|
2591
2842
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2592
2843
|
"useResource: UseResource",
|
|
2844
|
+
"useContextMenu: UseContextMenu",
|
|
2593
2845
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2594
2846
|
"usePanelInfo: UsePanelInfo",
|
|
2595
2847
|
"useSessions: UseSessions",
|
|
@@ -2614,7 +2866,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2614
2866
|
occupants: ["client-ui-chat ChatFlow"],
|
|
2615
2867
|
replaceRisk: "shadows-shipped-ui",
|
|
2616
2868
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.flow', () => ctx.slots.register(\n { name: 'conversation.chat.flow' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2617
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2869
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:431"
|
|
2618
2870
|
},
|
|
2619
2871
|
{
|
|
2620
2872
|
key: "conversation.chat.message.images",
|
|
@@ -2623,7 +2875,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2623
2875
|
summary: "Renderer for one consecutive group of durable message images.",
|
|
2624
2876
|
doc: "Renderer for one consecutive group of durable message images. The owner\nsupplies image references, an authorized loader, and alignment. A\nregistration replaces the shipped gallery; without one, images are omitted.",
|
|
2625
2877
|
registerOptions: [],
|
|
2626
|
-
ownerProps: ["/** Message image group handed to the optional attachment presentation plugin. */\nexport interface MessageImagesOwnerProps {\n /** Durable references or submission-echo previews in source order. */\n images: readonly MessageImageSource[]\n /**
|
|
2878
|
+
ownerProps: ["/** Message image group handed to the optional attachment presentation plugin. */\nexport interface MessageImagesOwnerProps {\n /** Durable references or submission-echo previews in source order. */\n images: readonly MessageImageSource[]\n /** Gateway-authorized image URL loader for the durable arm. */\n loadImage: MessageImageLoader\n /** Horizontal placement inside the owning record. */\n align: 'start' | 'end'\n /** Force every image into the compact message-attachment tile size. */\n compact?: boolean\n /** Fixed, uncropped thumbnail for an attachment list row. */\n thumbnail?: boolean\n}"],
|
|
2627
2879
|
ownerPropsReferences: [
|
|
2628
2880
|
"Message",
|
|
2629
2881
|
"MessageImageLoader",
|
|
@@ -2632,6 +2884,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2632
2884
|
standardProps: [
|
|
2633
2885
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2634
2886
|
"useResource: UseResource",
|
|
2887
|
+
"useContextMenu: UseContextMenu",
|
|
2635
2888
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2636
2889
|
"usePanelInfo: UsePanelInfo",
|
|
2637
2890
|
"useSessions: UseSessions",
|
|
@@ -2656,7 +2909,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2656
2909
|
occupants: ["client-ui-attachment MessageImages"],
|
|
2657
2910
|
replaceRisk: "shadows-shipped-ui",
|
|
2658
2911
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.message.images', () => ctx.slots.register(\n { name: 'conversation.chat.message.images' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2659
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2912
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:467"
|
|
2660
2913
|
},
|
|
2661
2914
|
{
|
|
2662
2915
|
key: "conversation.chat.node",
|
|
@@ -2670,17 +2923,16 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2670
2923
|
type: "string",
|
|
2671
2924
|
doc: "Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant."
|
|
2672
2925
|
}],
|
|
2673
|
-
ownerProps: ["/** Stable owner currency delivered to a keyed Chat renderer. */\nexport interface ChatNodeOwnerProps {\n /** Renderer-owned Node portion selected by the grouping Definition. */\n groupPart?: string\n cwd?: string | undefined\n openFile: (path: string, options?: OpenFileOptions) => void\n inspectCall: ((callId: ToolCallId) => void) | undefined\n forkAt: (seq: number) => void\n /** Session-authorized image loader supplied by the Chat view. */\n loadImage: MessageImageLoader\n
|
|
2926
|
+
ownerProps: ["/** Stable owner currency delivered to a keyed Chat renderer. */\nexport interface ChatNodeOwnerProps {\n /** Renderer-owned Node portion selected by the grouping Definition. */\n groupPart?: string\n cwd?: string | undefined\n openFile: (path: string, options?: OpenFileOptions) => void\n inspectCall: ((callId: ToolCallId) => void) | undefined\n forkAt: (seq: number) => void\n /** Session-authorized image loader supplied by the Chat view. */\n loadImage: MessageImageLoader\n /** Turn-process state when this Node belongs to a projected Turn. */\n turnProcess?: TurnProcessOwnerProps | undefined\n}"],
|
|
2674
2927
|
ownerPropsReferences: [
|
|
2675
|
-
"MarkdownFileMentions",
|
|
2676
2928
|
"MessageImageLoader",
|
|
2677
2929
|
"OpenFileOptions",
|
|
2678
|
-
"TurnProcessOwnerProps"
|
|
2679
|
-
"TurnTailOwnerProps"
|
|
2930
|
+
"TurnProcessOwnerProps"
|
|
2680
2931
|
],
|
|
2681
2932
|
standardProps: [
|
|
2682
2933
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2683
2934
|
"useResource: UseResource",
|
|
2935
|
+
"useContextMenu: UseContextMenu",
|
|
2684
2936
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2685
2937
|
"usePanelInfo: UsePanelInfo",
|
|
2686
2938
|
"useSessions: UseSessions",
|
|
@@ -2725,7 +2977,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2725
2977
|
],
|
|
2726
2978
|
replaceRisk: "shadows-shipped-ui",
|
|
2727
2979
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.node', () => ctx.slots.register(\n { name: 'conversation.chat.node', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2728
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2980
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:443"
|
|
2729
2981
|
},
|
|
2730
2982
|
{
|
|
2731
2983
|
key: "conversation.chat.reasoning.body",
|
|
@@ -2739,6 +2991,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2739
2991
|
standardProps: [
|
|
2740
2992
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2741
2993
|
"useResource: UseResource",
|
|
2994
|
+
"useContextMenu: UseContextMenu",
|
|
2742
2995
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2743
2996
|
"usePanelInfo: UsePanelInfo",
|
|
2744
2997
|
"useSessions: UseSessions",
|
|
@@ -2763,7 +3016,51 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2763
3016
|
occupants: ["client-ui-chat DefaultReasoningBody", "experimental-client-ui-cot-translation TranslationBody"],
|
|
2764
3017
|
replaceRisk: "shadows-shipped-ui",
|
|
2765
3018
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.reasoning.body', () => ctx.slots.register(\n { name: 'conversation.chat.reasoning.body' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2766
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
3019
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:481"
|
|
3020
|
+
},
|
|
3021
|
+
{
|
|
3022
|
+
key: "conversation.chat.text-interaction",
|
|
3023
|
+
kind: "keyed",
|
|
3024
|
+
scope: "session",
|
|
3025
|
+
summary: "Area-local text gestures and surfaces; each consumer registers its own synchronous admission.",
|
|
3026
|
+
doc: "Area-local text gestures and surfaces; each consumer registers its own synchronous admission.",
|
|
3027
|
+
registerOptions: [{
|
|
3028
|
+
name: "key",
|
|
3029
|
+
requirement: "required",
|
|
3030
|
+
type: "string",
|
|
3031
|
+
doc: "Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant."
|
|
3032
|
+
}],
|
|
3033
|
+
ownerProps: ["/** Area-local actions provided to the currently selected plugin component. */\nexport interface TextInteractionSurface {\n readonly trigger: TextInteractionTrigger\n readonly dismiss: () => void\n readonly readText: () => string | null\n readonly clearSelection: () => void\n}"],
|
|
3034
|
+
ownerPropsReferences: ["TextInteractionTrigger"],
|
|
3035
|
+
standardProps: [
|
|
3036
|
+
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3037
|
+
"useResource: UseResource",
|
|
3038
|
+
"useContextMenu: UseContextMenu",
|
|
3039
|
+
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3040
|
+
"usePanelInfo: UsePanelInfo",
|
|
3041
|
+
"useSessions: UseSessions",
|
|
3042
|
+
"useSessionStatus: UseSessionStatus",
|
|
3043
|
+
"useSessionRetainInfo: UseSessionRetainInfo",
|
|
3044
|
+
"useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
|
|
3045
|
+
"useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean",
|
|
3046
|
+
"useChat: UseChat",
|
|
3047
|
+
"useConversation: UseConversation",
|
|
3048
|
+
"useInput: SnapshotSelectorHook<InputState>",
|
|
3049
|
+
"inputActions: InputActions",
|
|
3050
|
+
"useSession: SessionSnapshotSelector",
|
|
3051
|
+
"sessionId: SessionId",
|
|
3052
|
+
"useProjection: UseProjection",
|
|
3053
|
+
"useAccess: (action: RemoteEndpoint) => boolean",
|
|
3054
|
+
"useTrajectory: UseTrajectory"
|
|
3055
|
+
],
|
|
3056
|
+
keyDomain: "open: any string the owner dispatches (no compile-time key set), already taken: quote",
|
|
3057
|
+
hookContext: "",
|
|
3058
|
+
slotInject: "",
|
|
3059
|
+
declaredBy: "an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted",
|
|
3060
|
+
occupants: ["message-quotes QuoteSelectionAction key 'quote'"],
|
|
3061
|
+
replaceRisk: "shadows-shipped-ui",
|
|
3062
|
+
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.text-interaction', () => ctx.slots.register(\n { name: 'conversation.chat.text-interaction', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3063
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:428"
|
|
2767
3064
|
},
|
|
2768
3065
|
{
|
|
2769
3066
|
key: "conversation.chat.turnTail",
|
|
@@ -2796,6 +3093,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2796
3093
|
standardProps: [
|
|
2797
3094
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2798
3095
|
"useResource: UseResource",
|
|
3096
|
+
"useContextMenu: UseContextMenu",
|
|
2799
3097
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2800
3098
|
"usePanelInfo: UsePanelInfo",
|
|
2801
3099
|
"useSessions: UseSessions",
|
|
@@ -2820,11 +3118,56 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2820
3118
|
occupants: [
|
|
2821
3119
|
"client-ui-deliverables DeliverablesTail id '@deepseek-ai/dsh-client-ui-deliverables'",
|
|
2822
3120
|
"client-ui-plan PlanCards",
|
|
2823
|
-
"client-ui-schedule ScheduleTurnCard id 'schedule-created'"
|
|
3121
|
+
"client-ui-schedule ScheduleTurnCard id 'schedule-created'",
|
|
3122
|
+
"client-ui-action-cards ActionCardTail id '@deepseek-ai/dsh-client-ui-action-cards'"
|
|
2824
3123
|
],
|
|
2825
3124
|
replaceRisk: "none",
|
|
2826
3125
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.turnTail', () => ctx.slots.register(\n { name: 'conversation.chat.turnTail', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2827
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
3126
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:487"
|
|
3127
|
+
},
|
|
3128
|
+
{
|
|
3129
|
+
key: "conversation.chat.user.before",
|
|
3130
|
+
kind: "chain",
|
|
3131
|
+
scope: "session",
|
|
3132
|
+
summary: "Message-source decoration owned and rendered by the user Node entry.",
|
|
3133
|
+
doc: "Message-source decoration owned and rendered by the user Node entry.\nSelectors elect one component from the durable source and row kind.\nNo match renders no visible content; steering and pending rows do not\nrender this slot.",
|
|
3134
|
+
registerOptions: [{
|
|
3135
|
+
name: "select",
|
|
3136
|
+
requirement: "required",
|
|
3137
|
+
type: "(owner) => unknown | null",
|
|
3138
|
+
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."
|
|
3139
|
+
}],
|
|
3140
|
+
ownerProps: ["/**\n * Owner currency of the message-source decoration above one user message bubble.\n *\n * Entry selectors receive the durable message `source` and row kind. A\n * non-null selection elects the component and reaches it as `matched`.\n * Entries own their markup and copy; Chat does not interpret the source.\n */\nexport interface UserBeforeOwnerProps {\n /** Durable message source; Chat does not interpret it. */\n readonly source: unknown\n /** Chat row kind that owns the decoration site. */\n readonly kind: 'user' | 'steering'\n}"],
|
|
3141
|
+
ownerPropsReferences: [],
|
|
3142
|
+
standardProps: [
|
|
3143
|
+
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3144
|
+
"useResource: UseResource",
|
|
3145
|
+
"useContextMenu: UseContextMenu",
|
|
3146
|
+
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3147
|
+
"usePanelInfo: UsePanelInfo",
|
|
3148
|
+
"useSessions: UseSessions",
|
|
3149
|
+
"useSessionStatus: UseSessionStatus",
|
|
3150
|
+
"useSessionRetainInfo: UseSessionRetainInfo",
|
|
3151
|
+
"useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
|
|
3152
|
+
"useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean",
|
|
3153
|
+
"useChat: UseChat",
|
|
3154
|
+
"useConversation: UseConversation",
|
|
3155
|
+
"useInput: SnapshotSelectorHook<InputState>",
|
|
3156
|
+
"inputActions: InputActions",
|
|
3157
|
+
"useSession: SessionSnapshotSelector",
|
|
3158
|
+
"sessionId: SessionId",
|
|
3159
|
+
"useProjection: UseProjection",
|
|
3160
|
+
"useAccess: (action: RemoteEndpoint) => boolean",
|
|
3161
|
+
"useTrajectory: UseTrajectory"
|
|
3162
|
+
],
|
|
3163
|
+
keyDomain: "",
|
|
3164
|
+
hookContext: "",
|
|
3165
|
+
slotInject: "",
|
|
3166
|
+
declaredBy: "an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted",
|
|
3167
|
+
occupants: ["experimental-liveshare SharedSessionOrigin"],
|
|
3168
|
+
replaceRisk: "none",
|
|
3169
|
+
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.user.before', () => ctx.slots.register(\n { name: 'conversation.chat.user.before', select: owner => null },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3170
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:457"
|
|
2828
3171
|
},
|
|
2829
3172
|
{
|
|
2830
3173
|
key: "conversation.chat.user.images",
|
|
@@ -2833,7 +3176,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2833
3176
|
summary: "User-message images, including pending and local-echo previews, independently replaceable from output images.",
|
|
2834
3177
|
doc: "User-message images, including pending and local-echo previews, independently replaceable from output images.",
|
|
2835
3178
|
registerOptions: [],
|
|
2836
|
-
ownerProps: ["/** Message image group handed to the optional attachment presentation plugin. */\nexport interface MessageImagesOwnerProps {\n /** Durable references or submission-echo previews in source order. */\n images: readonly MessageImageSource[]\n /**
|
|
3179
|
+
ownerProps: ["/** Message image group handed to the optional attachment presentation plugin. */\nexport interface MessageImagesOwnerProps {\n /** Durable references or submission-echo previews in source order. */\n images: readonly MessageImageSource[]\n /** Gateway-authorized image URL loader for the durable arm. */\n loadImage: MessageImageLoader\n /** Horizontal placement inside the owning record. */\n align: 'start' | 'end'\n /** Force every image into the compact message-attachment tile size. */\n compact?: boolean\n /** Fixed, uncropped thumbnail for an attachment list row. */\n thumbnail?: boolean\n}"],
|
|
2837
3180
|
ownerPropsReferences: [
|
|
2838
3181
|
"Message",
|
|
2839
3182
|
"MessageImageLoader",
|
|
@@ -2842,6 +3185,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2842
3185
|
standardProps: [
|
|
2843
3186
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2844
3187
|
"useResource: UseResource",
|
|
3188
|
+
"useContextMenu: UseContextMenu",
|
|
2845
3189
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2846
3190
|
"usePanelInfo: UsePanelInfo",
|
|
2847
3191
|
"useSessions: UseSessions",
|
|
@@ -2866,14 +3210,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2866
3210
|
occupants: ["client-ui-attachment MessageImages"],
|
|
2867
3211
|
replaceRisk: "shadows-shipped-ui",
|
|
2868
3212
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.user.images', () => ctx.slots.register(\n { name: 'conversation.chat.user.images' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2869
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
3213
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:469"
|
|
2870
3214
|
},
|
|
2871
3215
|
{
|
|
2872
3216
|
key: "conversation.composer",
|
|
2873
3217
|
kind: "chain",
|
|
2874
3218
|
scope: "session",
|
|
2875
|
-
summary: "Selector-routed replacements for the current Session's resident composer.",
|
|
2876
|
-
doc: "Selector-routed replacements for the current Session's resident composer.",
|
|
3219
|
+
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.",
|
|
3220
|
+
doc: "Selector-routed replacements for the current Session's resident composer; fixed overlays must\nportal to the document body because the docked composer contains them.",
|
|
2877
3221
|
registerOptions: [{
|
|
2878
3222
|
name: "select",
|
|
2879
3223
|
requirement: "required",
|
|
@@ -2889,6 +3233,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2889
3233
|
standardProps: [
|
|
2890
3234
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2891
3235
|
"useResource: UseResource",
|
|
3236
|
+
"useContextMenu: UseContextMenu",
|
|
2892
3237
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2893
3238
|
"usePanelInfo: UsePanelInfo",
|
|
2894
3239
|
"useSessions: UseSessions",
|
|
@@ -2913,24 +3258,26 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2913
3258
|
occupants: [
|
|
2914
3259
|
"client-ui-approval ApprovalPanel",
|
|
2915
3260
|
"client-ui-subagent SubagentReadOnlyComposer",
|
|
2916
|
-
"client-ui-user-questions QuestionComposer"
|
|
3261
|
+
"client-ui-user-questions QuestionComposer",
|
|
3262
|
+
"cua ApplicationApproval"
|
|
2917
3263
|
],
|
|
2918
3264
|
replaceRisk: "none",
|
|
2919
3265
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.composer', () => ctx.slots.register(\n { name: 'conversation.composer', select: owner => null },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2920
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3266
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:283"
|
|
2921
3267
|
},
|
|
2922
3268
|
{
|
|
2923
3269
|
key: "conversation.composer.bar",
|
|
2924
3270
|
kind: "single",
|
|
2925
3271
|
scope: "session-maybe",
|
|
2926
|
-
summary: "Resident composer body, including the no-Session inert state.",
|
|
2927
|
-
doc: "Resident composer body, including the no-Session inert state.",
|
|
3272
|
+
summary: "Resident composer body, including the no-Session inert state; fixed overlays must portal to the document body because the docked composer contains them.",
|
|
3273
|
+
doc: "Resident composer body, including the no-Session inert state; fixed overlays must portal to\nthe document body because the docked composer contains them.",
|
|
2928
3274
|
registerOptions: [],
|
|
2929
3275
|
ownerProps: ["/** Owner share of the resident composer bar. */\nexport interface ComposerBarOwnerProps {\n /** Hero uses centered placement; composer uses the active bottom placement. */\n variant: 'hero' | 'composer'\n /** A feature-owned reason that makes message input inert while leaving model selection live. */\n blocked?: { readonly reason: string }\n /** Lock all message actions while preserving the resident composer surface. */\n disabled?: boolean\n /** Whether the shared Workspace picker is expanded. */\n workspacePickerOpen?: boolean\n /** Open the Workspace picker from the inert composer surface. */\n onRequestWorkspace?: () => void\n placeholder?: string\n /** Optional content rendered above the composer surface. */\n accessory?: ReactNode\n}"],
|
|
2930
3276
|
ownerPropsReferences: ["Workspace"],
|
|
2931
3277
|
standardProps: [
|
|
2932
3278
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2933
3279
|
"useResource: UseResource",
|
|
3280
|
+
"useContextMenu: UseContextMenu",
|
|
2934
3281
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2935
3282
|
"usePanelInfo: UsePanelInfo",
|
|
2936
3283
|
"useSessions: UseSessions",
|
|
@@ -2953,14 +3300,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2953
3300
|
occupants: ["client-ui-conversation InputBar"],
|
|
2954
3301
|
replaceRisk: "shadows-shipped-ui",
|
|
2955
3302
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.composer.bar', () => ctx.slots.register(\n { name: 'conversation.composer.bar' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2956
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3303
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:327"
|
|
2957
3304
|
},
|
|
2958
3305
|
{
|
|
2959
3306
|
key: "conversation.composer.dock",
|
|
2960
3307
|
kind: "list",
|
|
2961
3308
|
scope: "session",
|
|
2962
|
-
summary: "Ambient entries below the composer card.",
|
|
2963
|
-
doc: "Ambient entries below the composer card.",
|
|
3309
|
+
summary: "Ambient entries below the composer card; fixed overlays must portal to the document body because the docked composer contains them.",
|
|
3310
|
+
doc: "Ambient entries below the composer card; fixed overlays must portal to the document body\nbecause the docked composer contains them.",
|
|
2964
3311
|
registerOptions: [
|
|
2965
3312
|
{
|
|
2966
3313
|
name: "id",
|
|
@@ -2986,6 +3333,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2986
3333
|
standardProps: [
|
|
2987
3334
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
2988
3335
|
"useResource: UseResource",
|
|
3336
|
+
"useContextMenu: UseContextMenu",
|
|
2989
3337
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
2990
3338
|
"usePanelInfo: UsePanelInfo",
|
|
2991
3339
|
"useSessions: UseSessions",
|
|
@@ -3010,7 +3358,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3010
3358
|
occupants: ["client-ui-chat ActivityPill id 'activity'", "client-ui-chat UsagePill id 'usage'"],
|
|
3011
3359
|
replaceRisk: "none",
|
|
3012
3360
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.composer.dock', () => ctx.slots.register(\n { name: 'conversation.composer.dock', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3013
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3361
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:306"
|
|
3014
3362
|
},
|
|
3015
3363
|
{
|
|
3016
3364
|
key: "conversation.header",
|
|
@@ -3024,6 +3372,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3024
3372
|
standardProps: [
|
|
3025
3373
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3026
3374
|
"useResource: UseResource",
|
|
3375
|
+
"useContextMenu: UseContextMenu",
|
|
3027
3376
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3028
3377
|
"usePanelInfo: UsePanelInfo",
|
|
3029
3378
|
"useSessions: UseSessions",
|
|
@@ -3046,7 +3395,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3046
3395
|
occupants: ["client-ui-conversation ConversationHeader"],
|
|
3047
3396
|
replaceRisk: "shadows-shipped-ui",
|
|
3048
3397
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.header', () => ctx.slots.register(\n { name: 'conversation.header' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3049
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3398
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:230"
|
|
3050
3399
|
},
|
|
3051
3400
|
{
|
|
3052
3401
|
key: "conversation.header.leading",
|
|
@@ -3060,6 +3409,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3060
3409
|
standardProps: [
|
|
3061
3410
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3062
3411
|
"useResource: UseResource",
|
|
3412
|
+
"useContextMenu: UseContextMenu",
|
|
3063
3413
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3064
3414
|
"usePanelInfo: UsePanelInfo",
|
|
3065
3415
|
"useSessions: UseSessions",
|
|
@@ -3075,7 +3425,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3075
3425
|
occupants: [],
|
|
3076
3426
|
replaceRisk: "none",
|
|
3077
3427
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.header.leading', () => ctx.slots.register(\n { name: 'conversation.header.leading' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3078
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3428
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:259"
|
|
3079
3429
|
},
|
|
3080
3430
|
{
|
|
3081
3431
|
key: "conversation.hero.agentPreset",
|
|
@@ -3089,6 +3439,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3089
3439
|
standardProps: [
|
|
3090
3440
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3091
3441
|
"useResource: UseResource",
|
|
3442
|
+
"useContextMenu: UseContextMenu",
|
|
3092
3443
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3093
3444
|
"usePanelInfo: UsePanelInfo",
|
|
3094
3445
|
"useSessions: UseSessions",
|
|
@@ -3111,7 +3462,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3111
3462
|
occupants: ["client-ui-agent-preset AgentPresetSeat"],
|
|
3112
3463
|
replaceRisk: "shadows-shipped-ui",
|
|
3113
3464
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.agentPreset', () => ctx.slots.register(\n { name: 'conversation.hero.agentPreset' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3114
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3465
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:289"
|
|
3115
3466
|
},
|
|
3116
3467
|
{
|
|
3117
3468
|
key: "conversation.hero.brand.mark",
|
|
@@ -3125,6 +3476,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3125
3476
|
standardProps: [
|
|
3126
3477
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3127
3478
|
"useResource: UseResource",
|
|
3479
|
+
"useContextMenu: UseContextMenu",
|
|
3128
3480
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3129
3481
|
"usePanelInfo: UsePanelInfo",
|
|
3130
3482
|
"useSessions: UseSessions",
|
|
@@ -3140,7 +3492,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3140
3492
|
occupants: [],
|
|
3141
3493
|
replaceRisk: "none",
|
|
3142
3494
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.brand.mark', () => ctx.slots.register(\n { name: 'conversation.hero.brand.mark' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3143
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3495
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:287"
|
|
3144
3496
|
},
|
|
3145
3497
|
{
|
|
3146
3498
|
key: "conversation.hero.options",
|
|
@@ -3173,6 +3525,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3173
3525
|
standardProps: [
|
|
3174
3526
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3175
3527
|
"useResource: UseResource",
|
|
3528
|
+
"useContextMenu: UseContextMenu",
|
|
3176
3529
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3177
3530
|
"usePanelInfo: UsePanelInfo",
|
|
3178
3531
|
"useSessions: UseSessions",
|
|
@@ -3194,10 +3547,10 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3194
3547
|
hookContext: "",
|
|
3195
3548
|
slotInject: "",
|
|
3196
3549
|
declaredBy: "factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered",
|
|
3197
|
-
occupants: [],
|
|
3550
|
+
occupants: ["experimental-client-ui-forge WorktreeToggle id 'forge-panel.worktree'"],
|
|
3198
3551
|
replaceRisk: "none",
|
|
3199
3552
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.options', () => ctx.slots.register(\n { name: 'conversation.hero.options', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3200
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3553
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:291"
|
|
3201
3554
|
},
|
|
3202
3555
|
{
|
|
3203
3556
|
key: "conversation.hero.workspace",
|
|
@@ -3211,6 +3564,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3211
3564
|
standardProps: [
|
|
3212
3565
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3213
3566
|
"useResource: UseResource",
|
|
3567
|
+
"useContextMenu: UseContextMenu",
|
|
3214
3568
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3215
3569
|
"usePanelInfo: UsePanelInfo",
|
|
3216
3570
|
"useSessions: UseSessions",
|
|
@@ -3226,7 +3580,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3226
3580
|
occupants: ["client-ui-workspace WorkspacePicker"],
|
|
3227
3581
|
replaceRisk: "shadows-shipped-ui",
|
|
3228
3582
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.workspace', () => ctx.slots.register(\n { name: 'conversation.hero.workspace' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3229
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3583
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:285"
|
|
3230
3584
|
},
|
|
3231
3585
|
{
|
|
3232
3586
|
key: "conversation.hero.workspace.directoryFlow",
|
|
@@ -3240,6 +3594,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3240
3594
|
standardProps: [
|
|
3241
3595
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3242
3596
|
"useResource: UseResource",
|
|
3597
|
+
"useContextMenu: UseContextMenu",
|
|
3243
3598
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3244
3599
|
"usePanelInfo: UsePanelInfo",
|
|
3245
3600
|
"useSessions: UseSessions",
|
|
@@ -3255,20 +3610,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3255
3610
|
occupants: ["client-ui-directory-picker-browse BrowseDirectoryFlow", "client-ui-directory-picker-native NativeDirectoryFlow"],
|
|
3256
3611
|
replaceRisk: "shadows-shipped-ui",
|
|
3257
3612
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.workspace.directoryFlow', () => ctx.slots.register(\n { name: 'conversation.hero.workspace.directoryFlow' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3258
|
-
source: "packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
3613
|
+
source: "packages/client/ui-workspace/src/client/contract/slots.ts:137"
|
|
3259
3614
|
},
|
|
3260
3615
|
{
|
|
3261
3616
|
key: "conversation.input.activity",
|
|
3262
3617
|
kind: "single",
|
|
3263
3618
|
scope: "session",
|
|
3264
|
-
summary: "Compact action after the model selector; it can expand across the toolbar while retaining the editor and submit action.",
|
|
3265
|
-
doc: "Compact action after the model selector; it can expand across the toolbar while retaining the
|
|
3619
|
+
summary: "Compact action after the model selector; it can expand across the toolbar while retaining the editor and submit action, and fixed overlays must portal to the document body because the docked composer contains them.",
|
|
3620
|
+
doc: "Compact action after the model selector; it can expand across the toolbar while retaining the\neditor and submit action, and fixed overlays must portal to the document body because the\ndocked composer contains them.",
|
|
3266
3621
|
registerOptions: [],
|
|
3267
3622
|
ownerProps: ["/** A toolbar activity hides ordinary accessory controls while expanded; its occupant must release expansion on unmount. */\nexport interface InputActivityOwnerProps extends InputControlOwnerProps {\n /** @param active - whether the occupant needs the toolbar width before the submit action. */\n onActiveChange: (active: boolean) => void\n}"],
|
|
3268
3623
|
ownerPropsReferences: ["InputControlOwnerProps"],
|
|
3269
3624
|
standardProps: [
|
|
3270
3625
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3271
3626
|
"useResource: UseResource",
|
|
3627
|
+
"useContextMenu: UseContextMenu",
|
|
3272
3628
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3273
3629
|
"usePanelInfo: UsePanelInfo",
|
|
3274
3630
|
"useSessions: UseSessions",
|
|
@@ -3293,16 +3649,16 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3293
3649
|
occupants: ["experimental-client-ui-voice-input VoiceInput"],
|
|
3294
3650
|
replaceRisk: "shadows-shipped-ui",
|
|
3295
3651
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.activity', () => ctx.slots.register(\n { name: 'conversation.input.activity' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3296
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3652
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:322"
|
|
3297
3653
|
},
|
|
3298
3654
|
{
|
|
3299
3655
|
key: "conversation.input.attachments",
|
|
3300
3656
|
kind: "single",
|
|
3301
3657
|
scope: "session-maybe",
|
|
3302
|
-
summary: "Optional draft-attachment rail and drop target.",
|
|
3303
|
-
doc: "Optional draft-attachment rail and drop target.",
|
|
3658
|
+
summary: "Optional draft-attachment rail and drop target; fixed overlays must portal to the document body because the docked composer contains them.",
|
|
3659
|
+
doc: "Optional draft-attachment rail and drop target; fixed overlays must portal to the document\nbody because the docked composer contains them.",
|
|
3304
3660
|
registerOptions: [],
|
|
3305
|
-
ownerProps: ["/** Input state handed to the optional attachment presentation plugin. */\nexport interface ComposerAttachmentsOwnerProps {\n /** Browser-owned draft attachments in input order. */\n attachments: readonly ComposerAttachment[]\n /** Whether a document-level file drop may add attachments now. */\n canAcceptDrop: boolean\n /**\n * Add one dropped batch through the composer's validation path.\n * @param files - dropped, pasted, or picked browser files in source order.\n * @param directories - members of `files` the drop source identified as directories.\n */\n onAddFiles: (files: readonly File[], directories?: ReadonlySet<File>) => void\n /** Remove one draft attachment through the Conversation service. */\n onRemoveAttachment: (id: DraftAttachmentId) => void\n /** Current per-draft upload states for file-kind attachments. */\n uploads: DraftFileUploads\n /** Restart one failed file upload. */\n onRetryFile: (id: DraftAttachmentId) => void\n
|
|
3661
|
+
ownerProps: ["/** Input state handed to the optional attachment presentation plugin. */\nexport interface ComposerAttachmentsOwnerProps {\n /** Browser-owned draft attachments in input order. */\n attachments: readonly ComposerAttachment[]\n /** Whether a document-level file drop may add attachments now. */\n canAcceptDrop: boolean\n /**\n * Add one dropped batch through the composer's validation path.\n * @param files - dropped, pasted, or picked browser files in source order.\n * @param directories - members of `files` the drop source identified as directories.\n */\n onAddFiles: (files: readonly File[], directories?: ReadonlySet<File>) => void\n /** Remove one draft attachment through the Conversation service. */\n onRemoveAttachment: (id: DraftAttachmentId) => void\n /** Current per-draft upload states for file-kind attachments. */\n uploads: DraftFileUploads\n /** Restart one failed file upload. */\n onRetryFile: (id: DraftAttachmentId) => void\n /**\n * Explain one upload the Host refused; such a draft cannot be retried and\n * stays until it is removed.\n * @param reason - the refusal `reason` the failed upload carries.\n * @returns localized text naming the limit or the way out.\n /* …truncated — full shape in source */"],
|
|
3306
3662
|
ownerPropsReferences: [
|
|
3307
3663
|
"ComposerAttachment",
|
|
3308
3664
|
"DraftAttachmentId",
|
|
@@ -3311,6 +3667,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3311
3667
|
standardProps: [
|
|
3312
3668
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3313
3669
|
"useResource: UseResource",
|
|
3670
|
+
"useContextMenu: UseContextMenu",
|
|
3314
3671
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3315
3672
|
"usePanelInfo: UsePanelInfo",
|
|
3316
3673
|
"useSessions: UseSessions",
|
|
@@ -3333,14 +3690,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3333
3690
|
occupants: ["client-ui-attachment ComposerAttachments"],
|
|
3334
3691
|
replaceRisk: "shadows-shipped-ui",
|
|
3335
3692
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.attachments', () => ctx.slots.register(\n { name: 'conversation.input.attachments' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3336
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3693
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:332"
|
|
3337
3694
|
},
|
|
3338
3695
|
{
|
|
3339
3696
|
key: "conversation.input.dock",
|
|
3340
3697
|
kind: "list",
|
|
3341
3698
|
scope: "session",
|
|
3342
|
-
summary: "Full-width entries above the composer card.",
|
|
3343
|
-
doc: "Full-width entries above the composer card.",
|
|
3699
|
+
summary: "Full-width entries above the composer card; fixed overlays must portal to the document body because the docked composer contains them.",
|
|
3700
|
+
doc: "Full-width entries above the composer card; fixed overlays must portal to the document body\nbecause the docked composer contains them.",
|
|
3344
3701
|
registerOptions: [
|
|
3345
3702
|
{
|
|
3346
3703
|
name: "id",
|
|
@@ -3366,6 +3723,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3366
3723
|
standardProps: [
|
|
3367
3724
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3368
3725
|
"useResource: UseResource",
|
|
3726
|
+
"useContextMenu: UseContextMenu",
|
|
3369
3727
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3370
3728
|
"usePanelInfo: UsePanelInfo",
|
|
3371
3729
|
"useSessions: UseSessions",
|
|
@@ -3391,18 +3749,19 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3391
3749
|
"client-ui-conversation QueueDock id 'queue'",
|
|
3392
3750
|
"client-ui-conversation TodoDock id 'todo'",
|
|
3393
3751
|
"client-ui-goal GoalDock id 'goal'",
|
|
3394
|
-
"experimental-client-ui-claude-code-mods Band id 'claude-code-mods'"
|
|
3752
|
+
"experimental-client-ui-claude-code-mods Band id 'claude-code-mods'",
|
|
3753
|
+
"experimental-client-ui-forge WorktreeProgress id 'forge-panel.worktree'"
|
|
3395
3754
|
],
|
|
3396
3755
|
replaceRisk: "none",
|
|
3397
3756
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.dock', () => ctx.slots.register(\n { name: 'conversation.input.dock', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3398
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3757
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:296"
|
|
3399
3758
|
},
|
|
3400
3759
|
{
|
|
3401
3760
|
key: "conversation.input.left",
|
|
3402
3761
|
kind: "list",
|
|
3403
3762
|
scope: "session",
|
|
3404
|
-
summary: "Compact controls at the left of the composer tool row.",
|
|
3405
|
-
doc: "Compact controls at the left of the composer tool row.",
|
|
3763
|
+
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.",
|
|
3764
|
+
doc: "Compact controls at the left of the composer tool row; fixed overlays must portal to the\ndocument body because the docked composer contains them.",
|
|
3406
3765
|
registerOptions: [
|
|
3407
3766
|
{
|
|
3408
3767
|
name: "id",
|
|
@@ -3428,6 +3787,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3428
3787
|
standardProps: [
|
|
3429
3788
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3430
3789
|
"useResource: UseResource",
|
|
3790
|
+
"useContextMenu: UseContextMenu",
|
|
3431
3791
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3432
3792
|
"usePanelInfo: UsePanelInfo",
|
|
3433
3793
|
"useSessions: UseSessions",
|
|
@@ -3452,20 +3812,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3452
3812
|
occupants: [],
|
|
3453
3813
|
replaceRisk: "none",
|
|
3454
3814
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.left', () => ctx.slots.register(\n { name: 'conversation.input.left', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3455
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3815
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:311"
|
|
3456
3816
|
},
|
|
3457
3817
|
{
|
|
3458
3818
|
key: "conversation.input.model",
|
|
3459
3819
|
kind: "single",
|
|
3460
3820
|
scope: "session",
|
|
3461
3821
|
summary: "Model selector inside the composer tool row.",
|
|
3462
|
-
doc: "Model selector inside the composer tool row. When expanded controls cannot\nshare a line, the row sets --dsh-composer-model-text-display to none and\n--dsh-composer-model-icon-display to block for an occupant's compact display.",
|
|
3822
|
+
doc: "Model selector inside the composer tool row. When expanded controls cannot\nshare a line, the row sets --dsh-composer-model-text-display to none and\n--dsh-composer-model-icon-display to block for an occupant's compact display.\nFixed overlays must portal to the document body because the docked composer contains them.",
|
|
3463
3823
|
registerOptions: [],
|
|
3464
3824
|
ownerProps: ["/** Owner share of the named plan, permission, and model controls. */\nexport interface InputControlOwnerProps {\n /** Whether the composer currently refuses interaction. */\n locked: boolean\n}"],
|
|
3465
3825
|
ownerPropsReferences: [],
|
|
3466
3826
|
standardProps: [
|
|
3467
3827
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3468
3828
|
"useResource: UseResource",
|
|
3829
|
+
"useContextMenu: UseContextMenu",
|
|
3469
3830
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3470
3831
|
"usePanelInfo: UsePanelInfo",
|
|
3471
3832
|
"useSessions: UseSessions",
|
|
@@ -3487,23 +3848,24 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3487
3848
|
hookContext: "",
|
|
3488
3849
|
slotInject: "",
|
|
3489
3850
|
declaredBy: "an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted",
|
|
3490
|
-
occupants: ["client-ui-model-selection ModelSelect"],
|
|
3851
|
+
occupants: ["client-ui-model-selection ModelSelect", "experimental-liveshare ViewerModelSeat"],
|
|
3491
3852
|
replaceRisk: "shadows-shipped-ui",
|
|
3492
3853
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.model', () => ctx.slots.register(\n { name: 'conversation.input.model' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3493
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3854
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:353"
|
|
3494
3855
|
},
|
|
3495
3856
|
{
|
|
3496
3857
|
key: "conversation.input.model.label",
|
|
3497
3858
|
kind: "single",
|
|
3498
3859
|
scope: "session",
|
|
3499
3860
|
summary: "Non-interactive inline model label; selection controls remain owner-managed.",
|
|
3500
|
-
doc: "Non-interactive inline model label; selection controls remain owner-managed.\nWithout a contribution, the
|
|
3861
|
+
doc: "Non-interactive inline model label; selection controls remain owner-managed.\nWithout a contribution, the badge precedes the catalog name in the trigger\nand follows it in menus.",
|
|
3501
3862
|
registerOptions: [],
|
|
3502
3863
|
ownerProps: ["/** Catalog data for a model name inside the composer's existing controls. */\nexport interface ModelLabelOwner {\n /** Provider identity and localized display name; contains no connection configuration. */\n provider: Pick<ModelProviderGroup, 'id' | 'name'>\n /** The exact provider's model catalog entry. */\n model: ModelCatalogModel\n /** Trigger caption, root-menu current value, or selectable model row. */\n placement: 'trigger' | 'menu' | 'option'\n /** Whether this provider/model pair is the current selection. */\n selected: boolean\n}"],
|
|
3503
3864
|
ownerPropsReferences: ["ModelCatalogModel", "ModelProviderGroup"],
|
|
3504
3865
|
standardProps: [
|
|
3505
3866
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3506
3867
|
"useResource: UseResource",
|
|
3868
|
+
"useContextMenu: UseContextMenu",
|
|
3507
3869
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3508
3870
|
"usePanelInfo: UsePanelInfo",
|
|
3509
3871
|
"useSessions: UseSessions",
|
|
@@ -3525,17 +3887,17 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3525
3887
|
hookContext: "",
|
|
3526
3888
|
slotInject: "",
|
|
3527
3889
|
declaredBy: "an entry in 'conversation.input.model' (client-ui-model-selection), so it exists while that entry is mounted",
|
|
3528
|
-
occupants: [
|
|
3529
|
-
replaceRisk: "
|
|
3890
|
+
occupants: [],
|
|
3891
|
+
replaceRisk: "none",
|
|
3530
3892
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.model.label', () => ctx.slots.register(\n { name: 'conversation.input.model.label' },\n ({ provider, model }) => React.createElement('span', { title: provider.name }, model.name),\n ))\n },\n}",
|
|
3531
|
-
source: "packages/client/ui-model-selection/src/client/slots.ts:
|
|
3893
|
+
source: "packages/client/ui-model-selection/src/client/slots.ts:37"
|
|
3532
3894
|
},
|
|
3533
3895
|
{
|
|
3534
3896
|
key: "conversation.input.overlay",
|
|
3535
3897
|
kind: "list",
|
|
3536
3898
|
scope: "session",
|
|
3537
|
-
summary: "Floating entries rendered inside the resident composer card.",
|
|
3538
|
-
doc: "Floating entries rendered inside the resident composer card.",
|
|
3899
|
+
summary: "Floating entries rendered inside the resident composer card; fixed overlays must portal to the document body because the docked composer contains them.",
|
|
3900
|
+
doc: "Floating entries rendered inside the resident composer card; fixed overlays must portal to\nthe document body because the docked composer contains them.",
|
|
3539
3901
|
registerOptions: [
|
|
3540
3902
|
{
|
|
3541
3903
|
name: "id",
|
|
@@ -3561,6 +3923,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3561
3923
|
standardProps: [
|
|
3562
3924
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3563
3925
|
"useResource: UseResource",
|
|
3926
|
+
"useContextMenu: UseContextMenu",
|
|
3564
3927
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3565
3928
|
"usePanelInfo: UsePanelInfo",
|
|
3566
3929
|
"useSessions: UseSessions",
|
|
@@ -3589,20 +3952,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3589
3952
|
],
|
|
3590
3953
|
replaceRisk: "none",
|
|
3591
3954
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.overlay', () => ctx.slots.register(\n { name: 'conversation.input.overlay', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3592
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3955
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:301"
|
|
3593
3956
|
},
|
|
3594
3957
|
{
|
|
3595
3958
|
key: "conversation.input.permission",
|
|
3596
3959
|
kind: "single",
|
|
3597
3960
|
scope: "session",
|
|
3598
|
-
summary: "Current-session permission control inside the composer tool row.",
|
|
3599
|
-
doc: "Current-session permission control inside the composer tool row.",
|
|
3961
|
+
summary: "Current-session permission control inside the composer tool row; fixed overlays must portal to the document body because the docked composer contains them.",
|
|
3962
|
+
doc: "Current-session permission control inside the composer tool row; fixed overlays must portal\nto the document body because the docked composer contains them.",
|
|
3600
3963
|
registerOptions: [],
|
|
3601
3964
|
ownerProps: ["/** Owner share of the named plan, permission, and model controls. */\nexport interface InputControlOwnerProps {\n /** Whether the composer currently refuses interaction. */\n locked: boolean\n}"],
|
|
3602
3965
|
ownerPropsReferences: [],
|
|
3603
3966
|
standardProps: [
|
|
3604
3967
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3605
3968
|
"useResource: UseResource",
|
|
3969
|
+
"useContextMenu: UseContextMenu",
|
|
3606
3970
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3607
3971
|
"usePanelInfo: UsePanelInfo",
|
|
3608
3972
|
"useSessions: UseSessions",
|
|
@@ -3624,23 +3988,24 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3624
3988
|
hookContext: "",
|
|
3625
3989
|
slotInject: "",
|
|
3626
3990
|
declaredBy: "an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted",
|
|
3627
|
-
occupants: ["client-ui-permission-presets PermissionSelect"],
|
|
3991
|
+
occupants: ["client-ui-permission-presets PermissionSelect", "experimental-liveshare ViewerPermissionSeat"],
|
|
3628
3992
|
replaceRisk: "shadows-shipped-ui",
|
|
3629
3993
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.permission', () => ctx.slots.register(\n { name: 'conversation.input.permission' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3630
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
3994
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:346"
|
|
3631
3995
|
},
|
|
3632
3996
|
{
|
|
3633
3997
|
key: "conversation.input.plan",
|
|
3634
3998
|
kind: "single",
|
|
3635
3999
|
scope: "session",
|
|
3636
|
-
summary: "Plan control inside the composer tool row.",
|
|
3637
|
-
doc: "Plan control inside the composer tool row.",
|
|
4000
|
+
summary: "Plan control inside the composer tool row; fixed overlays must portal to the document body because the docked composer contains them.",
|
|
4001
|
+
doc: "Plan control inside the composer tool row; fixed overlays must portal to the document body\nbecause the docked composer contains them.",
|
|
3638
4002
|
registerOptions: [],
|
|
3639
4003
|
ownerProps: ["/** Owner share of the named plan, permission, and model controls. */\nexport interface InputControlOwnerProps {\n /** Whether the composer currently refuses interaction. */\n locked: boolean\n}"],
|
|
3640
4004
|
ownerPropsReferences: [],
|
|
3641
4005
|
standardProps: [
|
|
3642
4006
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3643
4007
|
"useResource: UseResource",
|
|
4008
|
+
"useContextMenu: UseContextMenu",
|
|
3644
4009
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3645
4010
|
"usePanelInfo: UsePanelInfo",
|
|
3646
4011
|
"useSessions: UseSessions",
|
|
@@ -3665,14 +4030,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3665
4030
|
occupants: ["client-ui-plan PlanChip"],
|
|
3666
4031
|
replaceRisk: "shadows-shipped-ui",
|
|
3667
4032
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.plan', () => ctx.slots.register(\n { name: 'conversation.input.plan' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3668
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4033
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:341"
|
|
3669
4034
|
},
|
|
3670
4035
|
{
|
|
3671
4036
|
key: "conversation.input.right",
|
|
3672
4037
|
kind: "list",
|
|
3673
4038
|
scope: "session",
|
|
3674
|
-
summary: "Compact controls before the composer submit action.",
|
|
3675
|
-
doc: "Compact controls before the composer submit action.",
|
|
4039
|
+
summary: "Compact controls before the composer submit action; fixed overlays must portal to the document body because the docked composer contains them.",
|
|
4040
|
+
doc: "Compact controls before the composer submit action; fixed overlays must portal to the\ndocument body because the docked composer contains them.",
|
|
3676
4041
|
registerOptions: [
|
|
3677
4042
|
{
|
|
3678
4043
|
name: "id",
|
|
@@ -3698,6 +4063,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3698
4063
|
standardProps: [
|
|
3699
4064
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3700
4065
|
"useResource: UseResource",
|
|
4066
|
+
"useContextMenu: UseContextMenu",
|
|
3701
4067
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3702
4068
|
"usePanelInfo: UsePanelInfo",
|
|
3703
4069
|
"useSessions: UseSessions",
|
|
@@ -3722,7 +4088,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3722
4088
|
occupants: [],
|
|
3723
4089
|
replaceRisk: "none",
|
|
3724
4090
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.right', () => ctx.slots.register(\n { name: 'conversation.input.right', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3725
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4091
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:316"
|
|
3726
4092
|
},
|
|
3727
4093
|
{
|
|
3728
4094
|
key: "conversation.plan-review.actions",
|
|
@@ -3755,6 +4121,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3755
4121
|
standardProps: [
|
|
3756
4122
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3757
4123
|
"useResource: UseResource",
|
|
4124
|
+
"useContextMenu: UseContextMenu",
|
|
3758
4125
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3759
4126
|
"usePanelInfo: UsePanelInfo",
|
|
3760
4127
|
"useSessions: UseSessions",
|
|
@@ -3793,6 +4160,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3793
4160
|
standardProps: [
|
|
3794
4161
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3795
4162
|
"useResource: UseResource",
|
|
4163
|
+
"useContextMenu: UseContextMenu",
|
|
3796
4164
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3797
4165
|
"usePanelInfo: UsePanelInfo",
|
|
3798
4166
|
"useSessions: UseSessions",
|
|
@@ -3817,7 +4185,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3817
4185
|
occupants: ["client-ui-conversation ConversationSession"],
|
|
3818
4186
|
replaceRisk: "shadows-shipped-ui",
|
|
3819
4187
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.session', () => ctx.slots.register(\n { name: 'conversation.session' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3820
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4188
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:224"
|
|
3821
4189
|
},
|
|
3822
4190
|
{
|
|
3823
4191
|
key: "conversation.session.header",
|
|
@@ -3831,6 +4199,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3831
4199
|
standardProps: [
|
|
3832
4200
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3833
4201
|
"useResource: UseResource",
|
|
4202
|
+
"useContextMenu: UseContextMenu",
|
|
3834
4203
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3835
4204
|
"usePanelInfo: UsePanelInfo",
|
|
3836
4205
|
"useSessions: UseSessions",
|
|
@@ -3855,14 +4224,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3855
4224
|
occupants: ["client-ui-conversation ConversationSessionHeader"],
|
|
3856
4225
|
replaceRisk: "shadows-shipped-ui",
|
|
3857
4226
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.session.header', () => ctx.slots.register(\n { name: 'conversation.session.header' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3858
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4227
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:232"
|
|
3859
4228
|
},
|
|
3860
4229
|
{
|
|
3861
4230
|
key: "conversation.session.header.actions",
|
|
3862
4231
|
kind: "list",
|
|
3863
4232
|
scope: "session",
|
|
3864
|
-
summary: "Title-adjacent Session actions in ascending order.",
|
|
3865
|
-
doc: "Title-adjacent Session actions in ascending order.",
|
|
4233
|
+
summary: "Title-adjacent Session actions in ascending order; overflow is clipped and faded before the utilities, so overlays must portal.",
|
|
4234
|
+
doc: "Title-adjacent Session actions in ascending order; overflow is clipped and faded before the utilities, so overlays must portal.",
|
|
3866
4235
|
registerOptions: [
|
|
3867
4236
|
{
|
|
3868
4237
|
name: "id",
|
|
@@ -3888,6 +4257,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3888
4257
|
standardProps: [
|
|
3889
4258
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3890
4259
|
"useResource: UseResource",
|
|
4260
|
+
"useContextMenu: UseContextMenu",
|
|
3891
4261
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3892
4262
|
"usePanelInfo: UsePanelInfo",
|
|
3893
4263
|
"useSessions: UseSessions",
|
|
@@ -3917,7 +4287,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3917
4287
|
],
|
|
3918
4288
|
replaceRisk: "none",
|
|
3919
4289
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.session.header.actions', () => ctx.slots.register(\n { name: 'conversation.session.header.actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3920
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4290
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:247"
|
|
3921
4291
|
},
|
|
3922
4292
|
{
|
|
3923
4293
|
key: "conversation.session.header.corner",
|
|
@@ -3931,6 +4301,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3931
4301
|
standardProps: [
|
|
3932
4302
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3933
4303
|
"useResource: UseResource",
|
|
4304
|
+
"useContextMenu: UseContextMenu",
|
|
3934
4305
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3935
4306
|
"usePanelInfo: UsePanelInfo",
|
|
3936
4307
|
"useSessions: UseSessions",
|
|
@@ -3955,20 +4326,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3955
4326
|
occupants: ["client-ui-sidebar-right ExpandButton"],
|
|
3956
4327
|
replaceRisk: "shadows-shipped-ui",
|
|
3957
4328
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.session.header.corner', () => ctx.slots.register(\n { name: 'conversation.session.header.corner' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3958
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4329
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:270"
|
|
3959
4330
|
},
|
|
3960
4331
|
{
|
|
3961
4332
|
key: "conversation.session.header.lineage",
|
|
3962
4333
|
kind: "single",
|
|
3963
4334
|
scope: "session",
|
|
3964
|
-
summary: "Optional replacement for one Session breadcrumb title.",
|
|
3965
|
-
doc: "Optional replacement for one Session breadcrumb title.",
|
|
4335
|
+
summary: "Optional replacement for one Session breadcrumb title; overlays must portal because the title area clips overflow.",
|
|
4336
|
+
doc: "Optional replacement for one Session breadcrumb title; overlays must portal because the title area clips overflow.",
|
|
3966
4337
|
registerOptions: [],
|
|
3967
4338
|
ownerProps: ["/** Plain breadcrumb data handed to the optional lineage renderer. */\nexport interface ConversationHeaderLineageOwnerProps {\n /** Session represented by this breadcrumb title. */\n lineageSessionId: SessionId\n /** Display title available to a combined title/control renderer. */\n displayTitle: string\n /** Navigate to an ancestor title when present. */\n openTitle?: () => void\n}"],
|
|
3968
4339
|
ownerPropsReferences: ["SessionId"],
|
|
3969
4340
|
standardProps: [
|
|
3970
4341
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3971
4342
|
"useResource: UseResource",
|
|
4343
|
+
"useContextMenu: UseContextMenu",
|
|
3972
4344
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3973
4345
|
"usePanelInfo: UsePanelInfo",
|
|
3974
4346
|
"useSessions: UseSessions",
|
|
@@ -3993,7 +4365,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
3993
4365
|
occupants: ["client-ui-subagent SubagentHeaderLineage"],
|
|
3994
4366
|
replaceRisk: "shadows-shipped-ui",
|
|
3995
4367
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.session.header.lineage', () => ctx.slots.register(\n { name: 'conversation.session.header.lineage' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
3996
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4368
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:241"
|
|
3997
4369
|
},
|
|
3998
4370
|
{
|
|
3999
4371
|
key: "conversation.session.header.utilities",
|
|
@@ -4026,6 +4398,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4026
4398
|
standardProps: [
|
|
4027
4399
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4028
4400
|
"useResource: UseResource",
|
|
4401
|
+
"useContextMenu: UseContextMenu",
|
|
4029
4402
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4030
4403
|
"usePanelInfo: UsePanelInfo",
|
|
4031
4404
|
"useSessions: UseSessions",
|
|
@@ -4050,11 +4423,13 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4050
4423
|
occupants: [
|
|
4051
4424
|
"client-ui-open-in-app SessionOpenInAppAction id 'open-in-app'",
|
|
4052
4425
|
"client-ui-schedule ScheduleCatalogAction id 'schedule-catalog'",
|
|
4426
|
+
"experimental-client-ui-forge HeaderButton id 'forge-panel'",
|
|
4427
|
+
"experimental-liveshare LiveshareShareAction id 'liveshare-share'",
|
|
4053
4428
|
"session-log-export SessionLogDownloadHeaderAction id 'session-log-download'"
|
|
4054
4429
|
],
|
|
4055
4430
|
replaceRisk: "none",
|
|
4056
4431
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.session.header.utilities', () => ctx.slots.register(\n { name: 'conversation.session.header.utilities', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
4057
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4432
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:253"
|
|
4058
4433
|
},
|
|
4059
4434
|
{
|
|
4060
4435
|
key: "conversation.session.header.views.actions",
|
|
@@ -4087,6 +4462,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4087
4462
|
standardProps: [
|
|
4088
4463
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4089
4464
|
"useResource: UseResource",
|
|
4465
|
+
"useContextMenu: UseContextMenu",
|
|
4090
4466
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4091
4467
|
"usePanelInfo: UsePanelInfo",
|
|
4092
4468
|
"useSessions: UseSessions",
|
|
@@ -4102,7 +4478,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4102
4478
|
occupants: ["client-ui-entry-customization EntryMenuContent id 'entry-customization'"],
|
|
4103
4479
|
replaceRisk: "none",
|
|
4104
4480
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.session.header.views.actions', () => ctx.slots.register(\n { name: 'conversation.session.header.views.actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
4105
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4481
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:276"
|
|
4106
4482
|
},
|
|
4107
4483
|
{
|
|
4108
4484
|
key: "conversation.trajectory.images",
|
|
@@ -4111,7 +4487,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4111
4487
|
summary: "Renderer for one group of durable record images in the Trajectory ledger.",
|
|
4112
4488
|
doc: "Renderer for one group of durable record images in the Trajectory\nledger. The owner supplies image references, an authorized loader, and\nalignment. A registration replaces the shipped gallery; without one,\nimages are omitted.",
|
|
4113
4489
|
registerOptions: [],
|
|
4114
|
-
ownerProps: ["/** Message image group handed to the optional attachment presentation plugin. */\nexport interface MessageImagesOwnerProps {\n /** Durable references or submission-echo previews in source order. */\n images: readonly MessageImageSource[]\n /**
|
|
4490
|
+
ownerProps: ["/** Message image group handed to the optional attachment presentation plugin. */\nexport interface MessageImagesOwnerProps {\n /** Durable references or submission-echo previews in source order. */\n images: readonly MessageImageSource[]\n /** Gateway-authorized image URL loader for the durable arm. */\n loadImage: MessageImageLoader\n /** Horizontal placement inside the owning record. */\n align: 'start' | 'end'\n /** Force every image into the compact message-attachment tile size. */\n compact?: boolean\n /** Fixed, uncropped thumbnail for an attachment list row. */\n thumbnail?: boolean\n}"],
|
|
4115
4491
|
ownerPropsReferences: [
|
|
4116
4492
|
"Message",
|
|
4117
4493
|
"MessageImageLoader",
|
|
@@ -4120,6 +4496,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4120
4496
|
standardProps: [
|
|
4121
4497
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4122
4498
|
"useResource: UseResource",
|
|
4499
|
+
"useContextMenu: UseContextMenu",
|
|
4123
4500
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4124
4501
|
"usePanelInfo: UsePanelInfo",
|
|
4125
4502
|
"useSessions: UseSessions",
|
|
@@ -4163,6 +4540,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4163
4540
|
standardProps: [
|
|
4164
4541
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4165
4542
|
"useResource: UseResource",
|
|
4543
|
+
"useContextMenu: UseContextMenu",
|
|
4166
4544
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4167
4545
|
"usePanelInfo: UsePanelInfo",
|
|
4168
4546
|
"useSessions: UseSessions",
|
|
@@ -4180,7 +4558,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4180
4558
|
"useAccess: (action: RemoteEndpoint) => boolean",
|
|
4181
4559
|
"useTrajectory: UseTrajectory"
|
|
4182
4560
|
],
|
|
4183
|
-
keyDomain: "fixed by the owner's key table { [Id in UserTextId]: { node: UserTextNode<Id> } }, already taken: command, file, folder, secret, session, skill, text",
|
|
4561
|
+
keyDomain: "fixed by the owner's key table { [Id in UserTextId]: { node: UserTextNode<Id> } }, already taken: command, file, folder, quote, secret, session, skill, text",
|
|
4184
4562
|
hookContext: "",
|
|
4185
4563
|
slotInject: "",
|
|
4186
4564
|
declaredBy: "factory 'conversation.user.text' (client-ui-conversation), so it exists while that definition is registered",
|
|
@@ -4191,11 +4569,12 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4191
4569
|
"client-ui-reference FileReference key 'file'",
|
|
4192
4570
|
"client-ui-reference FolderReference key 'folder'",
|
|
4193
4571
|
"client-ui-secret-mask SecretText key 'secret'",
|
|
4194
|
-
"client-ui-skill SkillReference key 'skill'"
|
|
4572
|
+
"client-ui-skill SkillReference key 'skill'",
|
|
4573
|
+
"message-quotes QuotedUserText key 'quote'"
|
|
4195
4574
|
],
|
|
4196
4575
|
replaceRisk: "shadows-shipped-ui",
|
|
4197
4576
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.user.text.node', () => ctx.slots.register(\n { name: 'conversation.user.text.node', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
4198
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4577
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:214"
|
|
4199
4578
|
},
|
|
4200
4579
|
{
|
|
4201
4580
|
key: "conversation.view",
|
|
@@ -4228,6 +4607,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4228
4607
|
standardProps: [
|
|
4229
4608
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4230
4609
|
"useResource: UseResource",
|
|
4610
|
+
"useContextMenu: UseContextMenu",
|
|
4231
4611
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4232
4612
|
"usePanelInfo: UsePanelInfo",
|
|
4233
4613
|
"useSessions: UseSessions",
|
|
@@ -4249,10 +4629,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4249
4629
|
hookContext: "",
|
|
4250
4630
|
slotInject: "",
|
|
4251
4631
|
declaredBy: "an entry in 'conversation.session' (client-ui-conversation), so it exists while that entry is mounted",
|
|
4252
|
-
occupants: [
|
|
4632
|
+
occupants: [
|
|
4633
|
+
"client-ui-chat ChatView id 'chat'",
|
|
4634
|
+
"client-ui-trajectory TrajectoryView id 'trajectory'",
|
|
4635
|
+
"experimental-client-ui-stats StatsView id 'stats'"
|
|
4636
|
+
],
|
|
4253
4637
|
replaceRisk: "none",
|
|
4254
4638
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.view', () => ctx.slots.register(\n { name: 'conversation.view', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
4255
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4639
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:278"
|
|
4256
4640
|
},
|
|
4257
4641
|
{
|
|
4258
4642
|
key: "deliverables.file.actions",
|
|
@@ -4280,11 +4664,12 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4280
4664
|
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."
|
|
4281
4665
|
}
|
|
4282
4666
|
],
|
|
4283
|
-
ownerProps: ["/** Native file action selected by an explicit user gesture. */\nexport type PresentedAction = 'open' | 'reveal'", "
|
|
4284
|
-
ownerPropsReferences: [],
|
|
4667
|
+
ownerProps: ["/** Native file action selected by an explicit user gesture. */\nexport type PresentedAction = 'open' | 'reveal'", "/**\n * Settled result of one native file gesture, for the contributed control to\n * announce: the Host acknowledged an application open or a file-manager\n * reveal, the gesture failed, or the request was deliberately dropped because\n * the same file was already opening or this controller was disposed. Only an\n * acknowledged operation may be announced as a success.\n */\nexport type PresentedOpenOutcome =\n | { readonly kind: 'opened' }\n | { readonly kind: 'revealed' }\n | { readonly kind: 'failed'; readonly failure: PresentedOpenFailure }\n | { readonly kind: 'skipped' }"],
|
|
4668
|
+
ownerPropsReferences: ["PresentedOpenFailure"],
|
|
4285
4669
|
standardProps: [
|
|
4286
4670
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4287
4671
|
"useResource: UseResource",
|
|
4672
|
+
"useContextMenu: UseContextMenu",
|
|
4288
4673
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4289
4674
|
"usePanelInfo: UsePanelInfo",
|
|
4290
4675
|
"useSessions: UseSessions",
|
|
@@ -4342,6 +4727,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4342
4727
|
standardProps: [
|
|
4343
4728
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4344
4729
|
"useResource: UseResource",
|
|
4730
|
+
"useContextMenu: UseContextMenu",
|
|
4345
4731
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4346
4732
|
"usePanelInfo: UsePanelInfo",
|
|
4347
4733
|
"useSessions: UseSessions",
|
|
@@ -4385,6 +4771,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4385
4771
|
standardProps: [
|
|
4386
4772
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4387
4773
|
"useResource: UseResource",
|
|
4774
|
+
"useContextMenu: UseContextMenu",
|
|
4388
4775
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4389
4776
|
"usePanelInfo: UsePanelInfo",
|
|
4390
4777
|
"useSessions: UseSessions",
|
|
@@ -4404,7 +4791,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4404
4791
|
],
|
|
4405
4792
|
replaceRisk: "shadows-shipped-ui",
|
|
4406
4793
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('main', () => ctx.slots.register(\n { name: 'main', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
4407
|
-
source: "packages/client/ui-layout/src/client/index.ts:
|
|
4794
|
+
source: "packages/client/ui-layout/src/client/index.ts:75"
|
|
4408
4795
|
},
|
|
4409
4796
|
{
|
|
4410
4797
|
key: "main.conversation",
|
|
@@ -4418,6 +4805,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4418
4805
|
standardProps: [
|
|
4419
4806
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4420
4807
|
"useResource: UseResource",
|
|
4808
|
+
"useContextMenu: UseContextMenu",
|
|
4421
4809
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4422
4810
|
"usePanelInfo: UsePanelInfo",
|
|
4423
4811
|
"useSessions: UseSessions",
|
|
@@ -4440,7 +4828,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4440
4828
|
occupants: ["client-ui-conversation ConversationRoot"],
|
|
4441
4829
|
replaceRisk: "shadows-shipped-ui",
|
|
4442
4830
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('main.conversation', () => ctx.slots.register(\n { name: 'main.conversation' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
4443
|
-
source: "packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
4831
|
+
source: "packages/client/ui-conversation/src/client/contract/slots.ts:222"
|
|
4444
4832
|
},
|
|
4445
4833
|
{
|
|
4446
4834
|
key: "plugins.add.actions",
|
|
@@ -4473,6 +4861,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4473
4861
|
standardProps: [
|
|
4474
4862
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4475
4863
|
"useResource: UseResource",
|
|
4864
|
+
"useContextMenu: UseContextMenu",
|
|
4476
4865
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4477
4866
|
"usePanelInfo: UsePanelInfo",
|
|
4478
4867
|
"useSessions: UseSessions",
|
|
@@ -4507,6 +4896,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4507
4896
|
standardProps: [
|
|
4508
4897
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4509
4898
|
"useResource: UseResource",
|
|
4899
|
+
"useContextMenu: UseContextMenu",
|
|
4510
4900
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4511
4901
|
"usePanelInfo: UsePanelInfo",
|
|
4512
4902
|
"useSessions: UseSessions",
|
|
@@ -4515,11 +4905,11 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4515
4905
|
"useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
|
|
4516
4906
|
"useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
|
|
4517
4907
|
],
|
|
4518
|
-
keyDomain: "open: any string the owner dispatches (no compile-time key set), already taken: @deepseek-ai/dsh-experimental-voice-input-bundle",
|
|
4908
|
+
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",
|
|
4519
4909
|
hookContext: "",
|
|
4520
4910
|
slotInject: "",
|
|
4521
4911
|
declaredBy: "an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted",
|
|
4522
|
-
occupants: ["experimental-client-ui-voice-input VoiceSetupPrompt key '@deepseek-ai/dsh-experimental-voice-input-bundle'"],
|
|
4912
|
+
occupants: ["experimental-client-ui-voice-input VoiceSetupPrompt key '@deepseek-ai/dsh-experimental-voice-input-bundle'", "cua PermissionSetup key '@deepseek-ai/dsh-cua-bundle'"],
|
|
4523
4913
|
replaceRisk: "shadows-shipped-ui",
|
|
4524
4914
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('plugins.bundle.activation', () => ctx.slots.register(\n { name: 'plugins.bundle.activation', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
4525
4915
|
source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:126"
|
|
@@ -4541,6 +4931,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4541
4931
|
standardProps: [
|
|
4542
4932
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4543
4933
|
"useResource: UseResource",
|
|
4934
|
+
"useContextMenu: UseContextMenu",
|
|
4544
4935
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4545
4936
|
"usePanelInfo: UsePanelInfo",
|
|
4546
4937
|
"useSessions: UseSessions",
|
|
@@ -4549,11 +4940,15 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4549
4940
|
"useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
|
|
4550
4941
|
"useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
|
|
4551
4942
|
],
|
|
4552
|
-
keyDomain: "open: any string the owner dispatches (no compile-time key set), already taken: @deepseek-ai/dsh-experimental-cot-translation-bundle, @deepseek-ai/dsh-experimental-voice-input-bundle",
|
|
4943
|
+
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",
|
|
4553
4944
|
hookContext: "",
|
|
4554
4945
|
slotInject: "",
|
|
4555
4946
|
declaredBy: "an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted",
|
|
4556
|
-
occupants: [
|
|
4947
|
+
occupants: [
|
|
4948
|
+
"experimental-client-ui-cot-translation TranslationSettings key '@deepseek-ai/dsh-experimental-cot-translation-bundle'",
|
|
4949
|
+
"experimental-client-ui-voice-input VoicePreparation key '@deepseek-ai/dsh-experimental-voice-input-bundle'",
|
|
4950
|
+
"cua PermissionPanel key '@deepseek-ai/dsh-cua-bundle'"
|
|
4951
|
+
],
|
|
4557
4952
|
replaceRisk: "shadows-shipped-ui",
|
|
4558
4953
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('plugins.bundle.config', () => ctx.slots.register(\n { name: 'plugins.bundle.config', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
4559
4954
|
source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:142"
|
|
@@ -4589,6 +4984,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4589
4984
|
standardProps: [
|
|
4590
4985
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4591
4986
|
"useResource: UseResource",
|
|
4987
|
+
"useContextMenu: UseContextMenu",
|
|
4592
4988
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4593
4989
|
"usePanelInfo: UsePanelInfo",
|
|
4594
4990
|
"useSessions: UseSessions",
|
|
@@ -4637,6 +5033,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4637
5033
|
standardProps: [
|
|
4638
5034
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4639
5035
|
"useResource: UseResource",
|
|
5036
|
+
"useContextMenu: UseContextMenu",
|
|
4640
5037
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4641
5038
|
"usePanelInfo: UsePanelInfo",
|
|
4642
5039
|
"useSessions: UseSessions",
|
|
@@ -4658,8 +5055,8 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4658
5055
|
key: "plugins.detail.section",
|
|
4659
5056
|
kind: "list",
|
|
4660
5057
|
scope: "root",
|
|
4661
|
-
summary: "Sections under a detail page's own content: after the
|
|
4662
|
-
doc: "Sections under a detail page's own content: after the
|
|
5058
|
+
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.",
|
|
5059
|
+
doc: "Sections under a detail page's own content: after the source on a bundle's\npage, after the configuration on a row's or an official plugin's page.\nAn entry draws its own section chrome and renders null for a subject it\nhas nothing for.",
|
|
4663
5060
|
registerOptions: [
|
|
4664
5061
|
{
|
|
4665
5062
|
name: "id",
|
|
@@ -4685,6 +5082,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4685
5082
|
standardProps: [
|
|
4686
5083
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4687
5084
|
"useResource: UseResource",
|
|
5085
|
+
"useContextMenu: UseContextMenu",
|
|
4688
5086
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4689
5087
|
"usePanelInfo: UsePanelInfo",
|
|
4690
5088
|
"useSessions: UseSessions",
|
|
@@ -4733,6 +5131,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4733
5131
|
standardProps: [
|
|
4734
5132
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4735
5133
|
"useResource: UseResource",
|
|
5134
|
+
"useContextMenu: UseContextMenu",
|
|
4736
5135
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4737
5136
|
"usePanelInfo: UsePanelInfo",
|
|
4738
5137
|
"useSessions: UseSessions",
|
|
@@ -4772,6 +5171,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4772
5171
|
standardProps: [
|
|
4773
5172
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4774
5173
|
"useResource: UseResource",
|
|
5174
|
+
"useContextMenu: UseContextMenu",
|
|
4775
5175
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4776
5176
|
"usePanelInfo: UsePanelInfo",
|
|
4777
5177
|
"useSessions: UseSessions",
|
|
@@ -4815,11 +5215,12 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4815
5215
|
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."
|
|
4816
5216
|
}
|
|
4817
5217
|
],
|
|
4818
|
-
ownerProps: ["/** Owner props of a page tab another plugin contributes, such as Discover. */\nexport interface PluginTabProps {\n /**\n * Install an exact version the person already confirmed: the page's install dialog opens at its check and progress\n * screens, without the spec form, and names the plugin and version above the spec.\n * @param target - the spec, optional registry, and display text.\n */\n readonly install: (target: PluginTabInstall) => void\n /**\n * Switch to the Installed tab and open a bundle's page.\n * @param packageName - npm package name of the bundle.\n */\n readonly openPackage: (packageName: string) => void\n}"],
|
|
5218
|
+
ownerProps: ["/** Owner props of a page tab another plugin contributes, such as Discover. */\nexport interface PluginTabProps {\n /**\n * Install an exact version the person already confirmed: the page's install dialog opens at its check and progress\n * screens, without the spec form, and names the plugin and version above the spec.\n * @param target - the spec, optional registry, and display text.\n */\n readonly install: (target: PluginTabInstall) => void\n /**\n * Switch to the Installed tab and open a bundle's page, whose back button returns to the calling tab.\n * @param packageName - npm package name of the bundle.\n */\n readonly openPackage: (packageName: string) => void\n}"],
|
|
4819
5219
|
ownerPropsReferences: ["PluginTabInstall"],
|
|
4820
5220
|
standardProps: [
|
|
4821
5221
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4822
5222
|
"useResource: UseResource",
|
|
5223
|
+
"useContextMenu: UseContextMenu",
|
|
4823
5224
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4824
5225
|
"usePanelInfo: UsePanelInfo",
|
|
4825
5226
|
"useSessions: UseSessions",
|
|
@@ -4849,6 +5250,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4849
5250
|
standardProps: [
|
|
4850
5251
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4851
5252
|
"useResource: UseResource",
|
|
5253
|
+
"useContextMenu: UseContextMenu",
|
|
4852
5254
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4853
5255
|
"usePanelInfo: UsePanelInfo",
|
|
4854
5256
|
"useSessions: UseSessions",
|
|
@@ -4864,7 +5266,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4864
5266
|
occupants: ["client-ui-sidebar-right RightbarRoot"],
|
|
4865
5267
|
replaceRisk: "shadows-shipped-ui",
|
|
4866
5268
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('rightbar', () => ctx.slots.register(\n { name: 'rightbar' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
4867
|
-
source: "packages/client/ui-layout/src/client/index.ts:
|
|
5269
|
+
source: "packages/client/ui-layout/src/client/index.ts:89"
|
|
4868
5270
|
},
|
|
4869
5271
|
{
|
|
4870
5272
|
key: "rightbar.session",
|
|
@@ -4878,6 +5280,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4878
5280
|
standardProps: [
|
|
4879
5281
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4880
5282
|
"useResource: UseResource",
|
|
5283
|
+
"useContextMenu: UseContextMenu",
|
|
4881
5284
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4882
5285
|
"usePanelInfo: UsePanelInfo",
|
|
4883
5286
|
"useSessions: UseSessions",
|
|
@@ -4916,6 +5319,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4916
5319
|
standardProps: [
|
|
4917
5320
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4918
5321
|
"useResource: UseResource",
|
|
5322
|
+
"useContextMenu: UseContextMenu",
|
|
4919
5323
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4920
5324
|
"usePanelInfo: UsePanelInfo",
|
|
4921
5325
|
"useSessions: UseSessions",
|
|
@@ -4964,6 +5368,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4964
5368
|
standardProps: [
|
|
4965
5369
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4966
5370
|
"useResource: UseResource",
|
|
5371
|
+
"useContextMenu: UseContextMenu",
|
|
4967
5372
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4968
5373
|
"usePanelInfo: UsePanelInfo",
|
|
4969
5374
|
"useSessions: UseSessions",
|
|
@@ -4993,6 +5398,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
4993
5398
|
standardProps: [
|
|
4994
5399
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
4995
5400
|
"useResource: UseResource",
|
|
5401
|
+
"useContextMenu: UseContextMenu",
|
|
4996
5402
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
4997
5403
|
"usePanelInfo: UsePanelInfo",
|
|
4998
5404
|
"useSessions: UseSessions",
|
|
@@ -5041,6 +5447,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5041
5447
|
standardProps: [
|
|
5042
5448
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5043
5449
|
"useResource: UseResource",
|
|
5450
|
+
"useContextMenu: UseContextMenu",
|
|
5044
5451
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5045
5452
|
"usePanelInfo: UsePanelInfo",
|
|
5046
5453
|
"useSessions: UseSessions",
|
|
@@ -5069,7 +5476,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5069
5476
|
],
|
|
5070
5477
|
replaceRisk: "none",
|
|
5071
5478
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('settings.general.item', () => ctx.slots.register(\n { name: 'settings.general.item', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5072
|
-
source: "packages/client/ui-settings/src/client/contract/slots.ts:
|
|
5479
|
+
source: "packages/client/ui-settings/src/client/contract/slots.ts:100"
|
|
5073
5480
|
},
|
|
5074
5481
|
{
|
|
5075
5482
|
key: "settings.header",
|
|
@@ -5083,6 +5490,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5083
5490
|
standardProps: [
|
|
5084
5491
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5085
5492
|
"useResource: UseResource",
|
|
5493
|
+
"useContextMenu: UseContextMenu",
|
|
5086
5494
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5087
5495
|
"usePanelInfo: UsePanelInfo",
|
|
5088
5496
|
"useSessions: UseSessions",
|
|
@@ -5112,6 +5520,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5112
5520
|
standardProps: [
|
|
5113
5521
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5114
5522
|
"useResource: UseResource",
|
|
5523
|
+
"useContextMenu: UseContextMenu",
|
|
5115
5524
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5116
5525
|
"usePanelInfo: UsePanelInfo",
|
|
5117
5526
|
"useSessions: UseSessions",
|
|
@@ -5160,6 +5569,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5160
5569
|
standardProps: [
|
|
5161
5570
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5162
5571
|
"useResource: UseResource",
|
|
5572
|
+
"useContextMenu: UseContextMenu",
|
|
5163
5573
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5164
5574
|
"usePanelInfo: UsePanelInfo",
|
|
5165
5575
|
"useSessions: UseSessions",
|
|
@@ -5194,6 +5604,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5194
5604
|
standardProps: [
|
|
5195
5605
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5196
5606
|
"useResource: UseResource",
|
|
5607
|
+
"useContextMenu: UseContextMenu",
|
|
5197
5608
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5198
5609
|
"usePanelInfo: UsePanelInfo",
|
|
5199
5610
|
"useSessions: UseSessions",
|
|
@@ -5223,6 +5634,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5223
5634
|
standardProps: [
|
|
5224
5635
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5225
5636
|
"useResource: UseResource",
|
|
5637
|
+
"useContextMenu: UseContextMenu",
|
|
5226
5638
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5227
5639
|
"usePanelInfo: UsePanelInfo",
|
|
5228
5640
|
"useSessions: UseSessions",
|
|
@@ -5271,6 +5683,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5271
5683
|
standardProps: [
|
|
5272
5684
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5273
5685
|
"useResource: UseResource",
|
|
5686
|
+
"useContextMenu: UseContextMenu",
|
|
5274
5687
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5275
5688
|
"usePanelInfo: UsePanelInfo",
|
|
5276
5689
|
"useSessions: UseSessions",
|
|
@@ -5286,7 +5699,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5286
5699
|
occupants: ["client-ui-settings-models WelcomeNotice id 'welcome-notice'", "client-ui-settings-models DeepSeekOnboardingDialog id 'deepseek-official'"],
|
|
5287
5700
|
replaceRisk: "none",
|
|
5288
5701
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('settings.onboarding', () => ctx.slots.register(\n { name: 'settings.onboarding', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5289
|
-
source: "packages/client/ui-settings/src/client/contract/slots.ts:
|
|
5702
|
+
source: "packages/client/ui-settings/src/client/contract/slots.ts:85"
|
|
5290
5703
|
},
|
|
5291
5704
|
{
|
|
5292
5705
|
key: "settings.plugins.tab",
|
|
@@ -5319,6 +5732,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5319
5732
|
standardProps: [
|
|
5320
5733
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5321
5734
|
"useResource: UseResource",
|
|
5735
|
+
"useContextMenu: UseContextMenu",
|
|
5322
5736
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5323
5737
|
"usePanelInfo: UsePanelInfo",
|
|
5324
5738
|
"useSessions: UseSessions",
|
|
@@ -5334,7 +5748,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5334
5748
|
occupants: ["client-ui-settings-plugin-inventory PluginInventorySettingsTab id 'all'"],
|
|
5335
5749
|
replaceRisk: "none",
|
|
5336
5750
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('settings.plugins.tab', () => ctx.slots.register(\n { name: 'settings.plugins.tab', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5337
|
-
source: "packages/client/ui-settings/src/client/contract/slots.ts:
|
|
5751
|
+
source: "packages/client/ui-settings/src/client/contract/slots.ts:74"
|
|
5338
5752
|
},
|
|
5339
5753
|
{
|
|
5340
5754
|
key: "settings.section",
|
|
@@ -5367,6 +5781,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5367
5781
|
standardProps: [
|
|
5368
5782
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5369
5783
|
"useResource: UseResource",
|
|
5784
|
+
"useContextMenu: UseContextMenu",
|
|
5370
5785
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5371
5786
|
"usePanelInfo: UsePanelInfo",
|
|
5372
5787
|
"useSessions: UseSessions",
|
|
@@ -5390,6 +5805,55 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5390
5805
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('settings.section', () => ctx.slots.register(\n { name: 'settings.section', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5391
5806
|
source: "packages/client/ui-settings/src/client/contract/slots.ts:57"
|
|
5392
5807
|
},
|
|
5808
|
+
{
|
|
5809
|
+
key: "settings.section.icon",
|
|
5810
|
+
kind: "list",
|
|
5811
|
+
scope: "root",
|
|
5812
|
+
summary: "Optional navigation icons addressed by the matching settings.section id.",
|
|
5813
|
+
doc: "Optional navigation icons addressed by the matching settings.section id.\nThe registration id must equal the target section's id; unmatched ids\nnever render. The icon's label option is not displayed.\nThe shell owns the button and label and keeps its default glyph when\nno icon is registered for that id.",
|
|
5814
|
+
registerOptions: [
|
|
5815
|
+
{
|
|
5816
|
+
name: "id",
|
|
5817
|
+
requirement: "required",
|
|
5818
|
+
type: "string",
|
|
5819
|
+
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."
|
|
5820
|
+
},
|
|
5821
|
+
{
|
|
5822
|
+
name: "order",
|
|
5823
|
+
requirement: "optional",
|
|
5824
|
+
type: "number",
|
|
5825
|
+
doc: "Position among the entries, ascending (default 0)."
|
|
5826
|
+
},
|
|
5827
|
+
{
|
|
5828
|
+
name: "label",
|
|
5829
|
+
requirement: "optional",
|
|
5830
|
+
type: "string | (() => string)",
|
|
5831
|
+
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."
|
|
5832
|
+
}
|
|
5833
|
+
],
|
|
5834
|
+
ownerProps: ["/** Icon presentation supplied by the settings navigation row. */\nexport interface SettingsSectionIconOwnerProps {\n /** Requested square edge in pixels. */\n size: number\n /** Whether this section is selected. */\n active: boolean\n}"],
|
|
5835
|
+
ownerPropsReferences: [],
|
|
5836
|
+
standardProps: [
|
|
5837
|
+
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5838
|
+
"useResource: UseResource",
|
|
5839
|
+
"useContextMenu: UseContextMenu",
|
|
5840
|
+
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5841
|
+
"usePanelInfo: UsePanelInfo",
|
|
5842
|
+
"useSessions: UseSessions",
|
|
5843
|
+
"useSessionStatus: UseSessionStatus",
|
|
5844
|
+
"useSessionRetainInfo: UseSessionRetainInfo",
|
|
5845
|
+
"useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
|
|
5846
|
+
"useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
|
|
5847
|
+
],
|
|
5848
|
+
keyDomain: "",
|
|
5849
|
+
hookContext: "",
|
|
5850
|
+
slotInject: "",
|
|
5851
|
+
declaredBy: "an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted",
|
|
5852
|
+
occupants: [],
|
|
5853
|
+
replaceRisk: "none",
|
|
5854
|
+
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('settings.section.icon', () => ctx.slots.register(\n { name: 'settings.section.icon', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5855
|
+
source: "packages/client/ui-settings/src/client/contract/slots.ts:65"
|
|
5856
|
+
},
|
|
5393
5857
|
{
|
|
5394
5858
|
key: "settings.trigger",
|
|
5395
5859
|
kind: "single",
|
|
@@ -5402,6 +5866,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5402
5866
|
standardProps: [
|
|
5403
5867
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5404
5868
|
"useResource: UseResource",
|
|
5869
|
+
"useContextMenu: UseContextMenu",
|
|
5405
5870
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5406
5871
|
"usePanelInfo: UsePanelInfo",
|
|
5407
5872
|
"useSessions: UseSessions",
|
|
@@ -5431,6 +5896,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5431
5896
|
standardProps: [
|
|
5432
5897
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5433
5898
|
"useResource: UseResource",
|
|
5899
|
+
"useContextMenu: UseContextMenu",
|
|
5434
5900
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5435
5901
|
"usePanelInfo: UsePanelInfo",
|
|
5436
5902
|
"useSessions: UseSessions",
|
|
@@ -5446,20 +5912,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5446
5912
|
occupants: ["experimental-inspector InspectorPage"],
|
|
5447
5913
|
replaceRisk: "shadows-shipped-ui",
|
|
5448
5914
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('shell.bottom', () => ctx.slots.register(\n { name: 'shell.bottom' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5449
|
-
source: "packages/client/ui-layout/src/client/index.ts:
|
|
5915
|
+
source: "packages/client/ui-layout/src/client/index.ts:96"
|
|
5450
5916
|
},
|
|
5451
5917
|
{
|
|
5452
5918
|
key: "shell.leading",
|
|
5453
5919
|
kind: "single",
|
|
5454
5920
|
scope: "root",
|
|
5455
5921
|
summary: "Window-chrome seat at the frame's top-left, over every main panel.",
|
|
5456
|
-
doc: "Window-chrome seat at the frame's top-left, over every main panel.\nMounted
|
|
5922
|
+
doc: "Window-chrome seat at the frame's top-left, over every main panel.\nMounted for narrow drawers and collapsed macOS desktop sidebars. macOS\ntraffic lights sit before it outside native fullscreen; browser controls\nstart at the frame edge.\nOCCUPIED by ui-sidebar's reopen/New Session controls.\n\nWhile the seat is mounted the frame publishes\n`--dsh-frame-leading-clearance` (the inline inset the seat's band\noccupies, measured from the frame's left edge); a main panel whose\ncontent reaches the top-left corner pads by it so nothing lands under\nthe lights or the controls.",
|
|
5457
5923
|
registerOptions: [],
|
|
5458
5924
|
ownerProps: [],
|
|
5459
5925
|
ownerPropsReferences: [],
|
|
5460
5926
|
standardProps: [
|
|
5461
5927
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5462
5928
|
"useResource: UseResource",
|
|
5929
|
+
"useContextMenu: UseContextMenu",
|
|
5463
5930
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5464
5931
|
"usePanelInfo: UsePanelInfo",
|
|
5465
5932
|
"useSessions: UseSessions",
|
|
@@ -5475,7 +5942,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5475
5942
|
occupants: ["client-ui-sidebar HeaderLeadingControls"],
|
|
5476
5943
|
replaceRisk: "shadows-shipped-ui",
|
|
5477
5944
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('shell.leading', () => ctx.slots.register(\n { name: 'shell.leading' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5478
|
-
source: "packages/client/ui-layout/src/client/index.ts:
|
|
5945
|
+
source: "packages/client/ui-layout/src/client/index.ts:121"
|
|
5479
5946
|
},
|
|
5480
5947
|
{
|
|
5481
5948
|
key: "shell.overlay",
|
|
@@ -5508,6 +5975,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5508
5975
|
standardProps: [
|
|
5509
5976
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5510
5977
|
"useResource: UseResource",
|
|
5978
|
+
"useContextMenu: UseContextMenu",
|
|
5511
5979
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5512
5980
|
"usePanelInfo: UsePanelInfo",
|
|
5513
5981
|
"useSessions: UseSessions",
|
|
@@ -5522,6 +5990,9 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5522
5990
|
declaredBy: "an entry in 'root' (client-ui-layout), so it exists while that entry is mounted",
|
|
5523
5991
|
occupants: [
|
|
5524
5992
|
"client-ui-chat QuotaNoticeHost id 'chat.quota-notice'",
|
|
5993
|
+
"client-ui-context-menu MenuOverlay id 'context-menu'",
|
|
5994
|
+
"client-ui-file-drag FileDragFeedback id 'file-drag.feedback'",
|
|
5995
|
+
"client-ui-open-in-app OpenInAppToast id 'open-in-app.toast'",
|
|
5525
5996
|
"client-ui-plugin-manager PluginRefreshToast id 'plugin-manager.refresh-toast'",
|
|
5526
5997
|
"client-ui-schedule ScheduleDeleteToast id 'schedule.delete-toast'",
|
|
5527
5998
|
"client-ui-settings-account DesktopOnboardingEntry id 'desktop-onboarding'",
|
|
@@ -5531,11 +6002,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5531
6002
|
"client-ui-shortcuts ShortcutReference id 'shortcuts'",
|
|
5532
6003
|
"client-ui-workspace SessionRenameDialog id 'workspace.session-rename'",
|
|
5533
6004
|
"client-ui-workspace SessionArchiveConfirmDialog id 'workspace.session-archive'",
|
|
5534
|
-
"client-ui-workspace RowActionToast id 'workspace.row-toast'"
|
|
6005
|
+
"client-ui-workspace RowActionToast id 'workspace.row-toast'",
|
|
6006
|
+
"experimental-client-ui-forge ActionToast id 'forge-panel.toast'",
|
|
6007
|
+
"cua PermissionToast id 'cua-permission-outcome'",
|
|
6008
|
+
"session-log-export SessionMarkdownCopyToast id 'session-log-download.copy-toast'"
|
|
5535
6009
|
],
|
|
5536
6010
|
replaceRisk: "none",
|
|
5537
6011
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('shell.overlay', () => ctx.slots.register(\n { name: 'shell.overlay', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5538
|
-
source: "packages/client/ui-layout/src/client/index.ts:
|
|
6012
|
+
source: "packages/client/ui-layout/src/client/index.ts:107"
|
|
5539
6013
|
},
|
|
5540
6014
|
{
|
|
5541
6015
|
key: "shell.quota-notice",
|
|
@@ -5554,6 +6028,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5554
6028
|
standardProps: [
|
|
5555
6029
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5556
6030
|
"useResource: UseResource",
|
|
6031
|
+
"useContextMenu: UseContextMenu",
|
|
5557
6032
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5558
6033
|
"usePanelInfo: UsePanelInfo",
|
|
5559
6034
|
"useSessions: UseSessions",
|
|
@@ -5569,20 +6044,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5569
6044
|
occupants: ["client-ui-settings-account AccountQuotaNotice"],
|
|
5570
6045
|
replaceRisk: "none",
|
|
5571
6046
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('shell.quota-notice', () => ctx.slots.register(\n { name: 'shell.quota-notice', select: owner => null },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5572
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
6047
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:501"
|
|
5573
6048
|
},
|
|
5574
6049
|
{
|
|
5575
6050
|
key: "sidebar",
|
|
5576
6051
|
kind: "single",
|
|
5577
6052
|
scope: "root",
|
|
5578
6053
|
summary: "The whole left column.",
|
|
5579
|
-
doc: "The whole left column. OCCUPIED by ui-sidebar's SidebarRoot, which\ndeclares the workspace and settings seats inside it — registering here\nreplaces the navigation column outright rather than adding to it, and\nthe seats it declares disappear with it. To add something to the\nsidebar, register into one of those inner seats instead.\n\nThe occupant receives the frame's
|
|
6054
|
+
doc: "The whole left column. OCCUPIED by ui-sidebar's SidebarRoot, which\ndeclares the workspace and settings seats inside it — registering here\nreplaces the navigation column outright rather than adding to it, and\nthe seats it declares disappear with it. To add something to the\nsidebar, register into one of those inner seats instead.\n\nThe occupant receives the frame's collapsed state, width and drawer mode.\nDrawer content stays mounted while hidden; other browser columns retain\na compact control rail while collapsed.",
|
|
5580
6055
|
registerOptions: [],
|
|
5581
|
-
ownerProps: ["/** Sidebar owner share: live column state from the frame's concession solve. */\nexport interface SidebarOwnerProps {\n /** True when
|
|
6056
|
+
ownerProps: ["/** Sidebar owner share: live column state from the frame's concession solve. */\nexport interface SidebarOwnerProps {\n /** True when closed; a drawer is hidden, while other browser columns retain a rail. */\n collapsed: boolean\n /** Rendered sidebar width in px; a hidden drawer retains its expanded width. */\n width: number\n /** Present the retained sidebar content as an overlay drawer. */\n drawer: boolean\n}"],
|
|
5582
6057
|
ownerPropsReferences: [],
|
|
5583
6058
|
standardProps: [
|
|
5584
6059
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5585
6060
|
"useResource: UseResource",
|
|
6061
|
+
"useContextMenu: UseContextMenu",
|
|
5586
6062
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5587
6063
|
"usePanelInfo: UsePanelInfo",
|
|
5588
6064
|
"useSessions: UseSessions",
|
|
@@ -5598,7 +6074,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5598
6074
|
occupants: ["client-ui-sidebar SidebarRoot"],
|
|
5599
6075
|
replaceRisk: "shadows-shipped-ui",
|
|
5600
6076
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar', () => ctx.slots.register(\n { name: 'sidebar' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5601
|
-
source: "packages/client/ui-layout/src/client/index.ts:
|
|
6077
|
+
source: "packages/client/ui-layout/src/client/index.ts:70"
|
|
5602
6078
|
},
|
|
5603
6079
|
{
|
|
5604
6080
|
key: "sidebar.brand.mark",
|
|
@@ -5612,6 +6088,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5612
6088
|
standardProps: [
|
|
5613
6089
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5614
6090
|
"useResource: UseResource",
|
|
6091
|
+
"useContextMenu: UseContextMenu",
|
|
5615
6092
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5616
6093
|
"usePanelInfo: UsePanelInfo",
|
|
5617
6094
|
"useSessions: UseSessions",
|
|
@@ -5624,7 +6101,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5624
6101
|
hookContext: "",
|
|
5625
6102
|
slotInject: "",
|
|
5626
6103
|
declaredBy: "an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted",
|
|
5627
|
-
occupants: ["client-ui-brand-official OfficialBrandMark"],
|
|
6104
|
+
occupants: ["client-ui-brand-official OfficialBrandMark", "experimental-liveshare ViewerBrandMark"],
|
|
5628
6105
|
replaceRisk: "shadows-shipped-ui",
|
|
5629
6106
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.brand.mark', () => ctx.slots.register(\n { name: 'sidebar.brand.mark' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5630
6107
|
source: "packages/client/ui-sidebar/src/client/contract/slots.ts:26"
|
|
@@ -5641,6 +6118,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5641
6118
|
standardProps: [
|
|
5642
6119
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5643
6120
|
"useResource: UseResource",
|
|
6121
|
+
"useContextMenu: UseContextMenu",
|
|
5644
6122
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5645
6123
|
"usePanelInfo: UsePanelInfo",
|
|
5646
6124
|
"useSessions: UseSessions",
|
|
@@ -5653,7 +6131,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5653
6131
|
hookContext: "",
|
|
5654
6132
|
slotInject: "",
|
|
5655
6133
|
declaredBy: "an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted",
|
|
5656
|
-
occupants: ["client-ui-brand-official OfficialBrandName"],
|
|
6134
|
+
occupants: ["client-ui-brand-official OfficialBrandName", "experimental-liveshare ViewerBrandName"],
|
|
5657
6135
|
replaceRisk: "shadows-shipped-ui",
|
|
5658
6136
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.brand.name', () => ctx.slots.register(\n { name: 'sidebar.brand.name' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
5659
6137
|
source: "packages/client/ui-sidebar/src/client/contract/slots.ts:31"
|
|
@@ -5670,6 +6148,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5670
6148
|
standardProps: [
|
|
5671
6149
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5672
6150
|
"useResource: UseResource",
|
|
6151
|
+
"useContextMenu: UseContextMenu",
|
|
5673
6152
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5674
6153
|
"usePanelInfo: UsePanelInfo",
|
|
5675
6154
|
"useSessions: UseSessions",
|
|
@@ -5727,6 +6206,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5727
6206
|
standardProps: [
|
|
5728
6207
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5729
6208
|
"useResource: UseResource",
|
|
6209
|
+
"useContextMenu: UseContextMenu",
|
|
5730
6210
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5731
6211
|
"usePanelInfo: UsePanelInfo",
|
|
5732
6212
|
"useSessions: UseSessions",
|
|
@@ -5775,6 +6255,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5775
6255
|
standardProps: [
|
|
5776
6256
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5777
6257
|
"useResource: UseResource",
|
|
6258
|
+
"useContextMenu: UseContextMenu",
|
|
5778
6259
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5779
6260
|
"usePanelInfo: UsePanelInfo",
|
|
5780
6261
|
"useSessions: UseSessions",
|
|
@@ -5823,6 +6304,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5823
6304
|
standardProps: [
|
|
5824
6305
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5825
6306
|
"useResource: UseResource",
|
|
6307
|
+
"useContextMenu: UseContextMenu",
|
|
5826
6308
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5827
6309
|
"usePanelInfo: UsePanelInfo",
|
|
5828
6310
|
"useSessions: UseSessions",
|
|
@@ -5857,6 +6339,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5857
6339
|
standardProps: [
|
|
5858
6340
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5859
6341
|
"useResource: UseResource",
|
|
6342
|
+
"useContextMenu: UseContextMenu",
|
|
5860
6343
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5861
6344
|
"usePanelInfo: UsePanelInfo",
|
|
5862
6345
|
"useSessions: UseSessions",
|
|
@@ -5888,6 +6371,9 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5888
6371
|
"client-ui-sidebar-right GuideBody",
|
|
5889
6372
|
"client-ui-sidebar-terminal LazyTerminalBody",
|
|
5890
6373
|
"client-ui-subagent SidebarChatTab",
|
|
6374
|
+
"experimental-client-ui-forge ForgeTab",
|
|
6375
|
+
"experimental-client-ui-forge ChangesTab",
|
|
6376
|
+
"experimental-liveshare ViewerSharePathBody",
|
|
5891
6377
|
"experimental-session-inspector SessionInspectorView"
|
|
5892
6378
|
],
|
|
5893
6379
|
replaceRisk: "none",
|
|
@@ -5911,6 +6397,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5911
6397
|
standardProps: [
|
|
5912
6398
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5913
6399
|
"useResource: UseResource",
|
|
6400
|
+
"useContextMenu: UseContextMenu",
|
|
5914
6401
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5915
6402
|
"usePanelInfo: UsePanelInfo",
|
|
5916
6403
|
"useSessions: UseSessions",
|
|
@@ -5939,7 +6426,9 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5939
6426
|
"client-ui-sidebar-documentpreview TextTitle",
|
|
5940
6427
|
"client-ui-sidebar-files FilesTitle",
|
|
5941
6428
|
"client-ui-sidebar-right GuideTitle",
|
|
5942
|
-
"client-ui-sidebar-terminal TerminalTitle"
|
|
6429
|
+
"client-ui-sidebar-terminal TerminalTitle",
|
|
6430
|
+
"experimental-client-ui-forge ForgeTabTitle",
|
|
6431
|
+
"experimental-client-ui-forge ChangesTabTitle"
|
|
5943
6432
|
],
|
|
5944
6433
|
replaceRisk: "none",
|
|
5945
6434
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.right.pane.tab.title', () => ctx.slots.register(\n { name: 'sidebar.right.pane.tab.title', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
@@ -5962,6 +6451,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
5962
6451
|
standardProps: [
|
|
5963
6452
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
5964
6453
|
"useResource: UseResource",
|
|
6454
|
+
"useContextMenu: UseContextMenu",
|
|
5965
6455
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
5966
6456
|
"usePanelInfo: UsePanelInfo",
|
|
5967
6457
|
"useSessions: UseSessions",
|
|
@@ -6014,6 +6504,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6014
6504
|
standardProps: [
|
|
6015
6505
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6016
6506
|
"useResource: UseResource",
|
|
6507
|
+
"useContextMenu: UseContextMenu",
|
|
6017
6508
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6018
6509
|
"usePanelInfo: UsePanelInfo",
|
|
6019
6510
|
"useSessions: UseSessions",
|
|
@@ -6071,6 +6562,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6071
6562
|
standardProps: [
|
|
6072
6563
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6073
6564
|
"useResource: UseResource",
|
|
6565
|
+
"useContextMenu: UseContextMenu",
|
|
6074
6566
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6075
6567
|
"usePanelInfo: UsePanelInfo",
|
|
6076
6568
|
"useSessions: UseSessions",
|
|
@@ -6114,6 +6606,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6114
6606
|
standardProps: [
|
|
6115
6607
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6116
6608
|
"useResource: UseResource",
|
|
6609
|
+
"useContextMenu: UseContextMenu",
|
|
6117
6610
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6118
6611
|
"usePanelInfo: UsePanelInfo",
|
|
6119
6612
|
"useSessions: UseSessions",
|
|
@@ -6171,6 +6664,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6171
6664
|
standardProps: [
|
|
6172
6665
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6173
6666
|
"useResource: UseResource",
|
|
6667
|
+
"useContextMenu: UseContextMenu",
|
|
6174
6668
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6175
6669
|
"usePanelInfo: UsePanelInfo",
|
|
6176
6670
|
"useSessions: UseSessions",
|
|
@@ -6201,8 +6695,8 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6201
6695
|
key: "sidebar.right.tab.files.actions",
|
|
6202
6696
|
kind: "list",
|
|
6203
6697
|
scope: "session",
|
|
6204
|
-
summary: "Workspace directory actions after the
|
|
6205
|
-
doc: "Workspace directory actions after the
|
|
6698
|
+
summary: "Workspace directory actions after the `files` page's reload control.",
|
|
6699
|
+
doc: "Workspace directory actions after the `files` page's reload control.",
|
|
6206
6700
|
registerOptions: [
|
|
6207
6701
|
{
|
|
6208
6702
|
name: "id",
|
|
@@ -6228,6 +6722,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6228
6722
|
standardProps: [
|
|
6229
6723
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6230
6724
|
"useResource: UseResource",
|
|
6725
|
+
"useContextMenu: UseContextMenu",
|
|
6231
6726
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6232
6727
|
"usePanelInfo: UsePanelInfo",
|
|
6233
6728
|
"useSessions: UseSessions",
|
|
@@ -6252,7 +6747,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6252
6747
|
occupants: ["client-ui-open-in-app OpenInAppAction id 'open-in-app'"],
|
|
6253
6748
|
replaceRisk: "none",
|
|
6254
6749
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.right.tab.files.actions', () => ctx.slots.register(\n { name: 'sidebar.right.tab.files.actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
6255
|
-
source: "packages/client/ui-sidebar-files/src/client/index.ts:
|
|
6750
|
+
source: "packages/client/ui-sidebar-files/src/client/index.ts:39"
|
|
6256
6751
|
},
|
|
6257
6752
|
{
|
|
6258
6753
|
key: "sidebar.right.tab.guide",
|
|
@@ -6271,6 +6766,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6271
6766
|
standardProps: [
|
|
6272
6767
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6273
6768
|
"useResource: UseResource",
|
|
6769
|
+
"useContextMenu: UseContextMenu",
|
|
6274
6770
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6275
6771
|
"usePanelInfo: UsePanelInfo",
|
|
6276
6772
|
"useSessions: UseSessions",
|
|
@@ -6328,6 +6824,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6328
6824
|
standardProps: [
|
|
6329
6825
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6330
6826
|
"useResource: UseResource",
|
|
6827
|
+
"useContextMenu: UseContextMenu",
|
|
6331
6828
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6332
6829
|
"usePanelInfo: UsePanelInfo",
|
|
6333
6830
|
"useSessions: UseSessions",
|
|
@@ -6362,6 +6859,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6362
6859
|
standardProps: [
|
|
6363
6860
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6364
6861
|
"useResource: UseResource",
|
|
6862
|
+
"useContextMenu: UseContextMenu",
|
|
6365
6863
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6366
6864
|
"usePanelInfo: UsePanelInfo",
|
|
6367
6865
|
"useSessions: UseSessions",
|
|
@@ -6419,6 +6917,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6419
6917
|
standardProps: [
|
|
6420
6918
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6421
6919
|
"useResource: UseResource",
|
|
6920
|
+
"useContextMenu: UseContextMenu",
|
|
6422
6921
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6423
6922
|
"usePanelInfo: UsePanelInfo",
|
|
6424
6923
|
"useSessions: UseSessions",
|
|
@@ -6439,7 +6938,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6439
6938
|
keyDomain: "",
|
|
6440
6939
|
hookContext: "",
|
|
6441
6940
|
slotInject: "",
|
|
6442
|
-
declaredBy: "an entry in '
|
|
6941
|
+
declaredBy: "an entry in 'contextMenu.content' (client-ui-sidebar-right), so it exists while that entry is mounted",
|
|
6443
6942
|
occupants: [],
|
|
6444
6943
|
replaceRisk: "none",
|
|
6445
6944
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.right.tab.menu.item', () => ctx.slots.register(\n { name: 'sidebar.right.tab.menu.item', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
@@ -6476,6 +6975,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6476
6975
|
standardProps: [
|
|
6477
6976
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6478
6977
|
"useResource: UseResource",
|
|
6978
|
+
"useContextMenu: UseContextMenu",
|
|
6479
6979
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6480
6980
|
"usePanelInfo: UsePanelInfo",
|
|
6481
6981
|
"useSessions: UseSessions",
|
|
@@ -6488,10 +6988,10 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6488
6988
|
hookContext: "",
|
|
6489
6989
|
slotInject: "",
|
|
6490
6990
|
declaredBy: "an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted",
|
|
6491
|
-
occupants: ["client-ui-schedule SessionScheduleHover id 'schedule-tasks'"],
|
|
6991
|
+
occupants: ["client-ui-schedule SessionScheduleHover id 'schedule-tasks'", "experimental-client-ui-forge SessionHoverForge id 'forge-panel.row'"],
|
|
6492
6992
|
replaceRisk: "none",
|
|
6493
6993
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.session.row.hover', () => ctx.slots.register(\n { name: 'sidebar.session.row.hover', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
6494
|
-
source: "packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
6994
|
+
source: "packages/client/ui-workspace/src/client/contract/slots.ts:163"
|
|
6495
6995
|
},
|
|
6496
6996
|
{
|
|
6497
6997
|
key: "sidebar.session.row.leading",
|
|
@@ -6524,6 +7024,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6524
7024
|
standardProps: [
|
|
6525
7025
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6526
7026
|
"useResource: UseResource",
|
|
7027
|
+
"useContextMenu: UseContextMenu",
|
|
6527
7028
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6528
7029
|
"usePanelInfo: UsePanelInfo",
|
|
6529
7030
|
"useSessions: UseSessions",
|
|
@@ -6536,10 +7037,59 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6536
7037
|
hookContext: "",
|
|
6537
7038
|
slotInject: "",
|
|
6538
7039
|
declaredBy: "an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted",
|
|
6539
|
-
occupants: ["client-ui-schedule SessionScheduleMark id 'schedule-mark'"],
|
|
7040
|
+
occupants: ["client-ui-schedule SessionScheduleMark id 'schedule-mark'", "experimental-liveshare ViewerForkMarker id 'liveshare.fork'"],
|
|
6540
7041
|
replaceRisk: "none",
|
|
6541
7042
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.session.row.leading', () => ctx.slots.register(\n { name: 'sidebar.session.row.leading', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
6542
|
-
source: "packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
7043
|
+
source: "packages/client/ui-workspace/src/client/contract/slots.ts:149"
|
|
7044
|
+
},
|
|
7045
|
+
{
|
|
7046
|
+
key: "sidebar.session.row.trailing",
|
|
7047
|
+
kind: "list",
|
|
7048
|
+
scope: "root",
|
|
7049
|
+
summary: "Non-interactive icons after the row's time label, before its pin marker, in ascending `order`.",
|
|
7050
|
+
doc: "Non-interactive icons after the row's time label, before its pin marker,\nin ascending `order`. On hover-capable devices, hidden while the row is\nhovered, has keyboard focus on itself or its actions, or has an open menu.\nHoverless devices keep the icons beside the menu trigger. Blank Sessions\nomit the slot. Occupants address their own data by Session id; they must not\nbind or retain the Session.",
|
|
7051
|
+
registerOptions: [
|
|
7052
|
+
{
|
|
7053
|
+
name: "id",
|
|
7054
|
+
requirement: "required",
|
|
7055
|
+
type: "string",
|
|
7056
|
+
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."
|
|
7057
|
+
},
|
|
7058
|
+
{
|
|
7059
|
+
name: "order",
|
|
7060
|
+
requirement: "optional",
|
|
7061
|
+
type: "number",
|
|
7062
|
+
doc: "Position among the entries, ascending (default 0)."
|
|
7063
|
+
},
|
|
7064
|
+
{
|
|
7065
|
+
name: "label",
|
|
7066
|
+
requirement: "optional",
|
|
7067
|
+
type: "string | (() => string)",
|
|
7068
|
+
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."
|
|
7069
|
+
}
|
|
7070
|
+
],
|
|
7071
|
+
ownerProps: ["/** Owner share of the trailing icon list; rendering does not bind the Session. */\nexport interface SessionRowTrailingOwnerProps {\n /** Session this row shows. */\n readonly sessionId: SessionId\n}"],
|
|
7072
|
+
ownerPropsReferences: ["SessionId"],
|
|
7073
|
+
standardProps: [
|
|
7074
|
+
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
7075
|
+
"useResource: UseResource",
|
|
7076
|
+
"useContextMenu: UseContextMenu",
|
|
7077
|
+
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
7078
|
+
"usePanelInfo: UsePanelInfo",
|
|
7079
|
+
"useSessions: UseSessions",
|
|
7080
|
+
"useSessionStatus: UseSessionStatus",
|
|
7081
|
+
"useSessionRetainInfo: UseSessionRetainInfo",
|
|
7082
|
+
"useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
|
|
7083
|
+
"useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
|
|
7084
|
+
],
|
|
7085
|
+
keyDomain: "",
|
|
7086
|
+
hookContext: "",
|
|
7087
|
+
slotInject: "",
|
|
7088
|
+
declaredBy: "an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted",
|
|
7089
|
+
occupants: ["experimental-client-ui-forge SessionRowForge id 'forge-panel.row'"],
|
|
7090
|
+
replaceRisk: "none",
|
|
7091
|
+
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.session.row.trailing', () => ctx.slots.register(\n { name: 'sidebar.session.row.trailing', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
7092
|
+
source: "packages/client/ui-workspace/src/client/contract/slots.ts:158"
|
|
6543
7093
|
},
|
|
6544
7094
|
{
|
|
6545
7095
|
key: "sidebar.settings",
|
|
@@ -6553,6 +7103,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6553
7103
|
standardProps: [
|
|
6554
7104
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6555
7105
|
"useResource: UseResource",
|
|
7106
|
+
"useContextMenu: UseContextMenu",
|
|
6556
7107
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6557
7108
|
"usePanelInfo: UsePanelInfo",
|
|
6558
7109
|
"useSessions: UseSessions",
|
|
@@ -6582,6 +7133,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6582
7133
|
standardProps: [
|
|
6583
7134
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6584
7135
|
"useResource: UseResource",
|
|
7136
|
+
"useContextMenu: UseContextMenu",
|
|
6585
7137
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6586
7138
|
"usePanelInfo: UsePanelInfo",
|
|
6587
7139
|
"useSessions: UseSessions",
|
|
@@ -6606,11 +7158,12 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6606
7158
|
summary: "The workspace/session browsing region: section header, search, the grouped/flat session list, and every workspace dialog.",
|
|
6607
7159
|
doc: "The workspace/session browsing region: section header, search, the\ngrouped/flat session list, and every workspace dialog. Declared by this\npackage's 'sidebar' entry (declaring is claiming); ui-workspace\nregisters the browser.",
|
|
6608
7160
|
registerOptions: [],
|
|
6609
|
-
ownerProps: ["/**\n * Owner share of the browser hole — the only facts crossing the shell/region\n * boundary. Business data and actions arrive through the region's own inject.\n */\nexport interface SidebarSectionOwnerProps {\n /** Shell fold-state output: wide renders the full browser, rail the icon column. */\n wide: boolean\n /**
|
|
7161
|
+
ownerProps: ["/**\n * Owner share of the browser hole — the only facts crossing the shell/region\n * boundary. Business data and actions arrive through the region's own inject.\n */\nexport interface SidebarSectionOwnerProps {\n /** Shell fold-state output: wide renders the full browser, rail the icon column. */\n wide: boolean\n /** Ensure the sidebar is visible; safe to call while already expanded. */\n expandSidebar: () => void\n}"],
|
|
6610
7162
|
ownerPropsReferences: [],
|
|
6611
7163
|
standardProps: [
|
|
6612
7164
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6613
7165
|
"useResource: UseResource",
|
|
7166
|
+
"useContextMenu: UseContextMenu",
|
|
6614
7167
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6615
7168
|
"usePanelInfo: UsePanelInfo",
|
|
6616
7169
|
"useSessions: UseSessions",
|
|
@@ -6640,6 +7193,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6640
7193
|
standardProps: [
|
|
6641
7194
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6642
7195
|
"useResource: UseResource",
|
|
7196
|
+
"useContextMenu: UseContextMenu",
|
|
6643
7197
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6644
7198
|
"usePanelInfo: UsePanelInfo",
|
|
6645
7199
|
"useSessions: UseSessions",
|
|
@@ -6655,14 +7209,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6655
7209
|
occupants: ["client-ui-directory-picker-browse BrowseDirectoryFlow", "client-ui-directory-picker-native NativeDirectoryFlow"],
|
|
6656
7210
|
replaceRisk: "shadows-shipped-ui",
|
|
6657
7211
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.workspaces.directoryFlow', () => ctx.slots.register(\n { name: 'sidebar.workspaces.directoryFlow' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
6658
|
-
source: "packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
7212
|
+
source: "packages/client/ui-workspace/src/client/contract/slots.ts:139"
|
|
6659
7213
|
},
|
|
6660
7214
|
{
|
|
6661
7215
|
key: "sidebar.workspaces.session.menu.item",
|
|
6662
7216
|
kind: "list",
|
|
6663
7217
|
scope: "root",
|
|
6664
|
-
summary: "
|
|
6665
|
-
doc: "
|
|
7218
|
+
summary: "Legacy external Session menu rows, in ascending `order`, rendered together before the built-in Archive action.",
|
|
7219
|
+
doc: "Legacy external Session menu rows, in ascending `order`, rendered\ntogether before the built-in Archive action. Built-in actions use\nctx.contextMenus; Slot priority cannot replace them. Each entry renders a\n`role=\"menuitem\"` button, owns its visibility and localized label,\nand dismisses through `useMenuOpenState`. The shared menu supplies\nkeyboard navigation and focus return.",
|
|
6666
7220
|
registerOptions: [
|
|
6667
7221
|
{
|
|
6668
7222
|
name: "id",
|
|
@@ -6688,6 +7242,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6688
7242
|
standardProps: [
|
|
6689
7243
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6690
7244
|
"useResource: UseResource",
|
|
7245
|
+
"useContextMenu: UseContextMenu",
|
|
6691
7246
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6692
7247
|
"usePanelInfo: UsePanelInfo",
|
|
6693
7248
|
"useSessions: UseSessions",
|
|
@@ -6699,24 +7254,18 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6699
7254
|
keyDomain: "",
|
|
6700
7255
|
hookContext: "MenuOpenState",
|
|
6701
7256
|
slotInject: "{ hooks: { menuOpenState: SlotHookFactory<'sidebar.workspaces.session.menu.item', UseMenuOpenState> shortcuts: HostObservable<readonly ShortcutCatalogEntry[]> } }",
|
|
6702
|
-
declaredBy: "an entry in '
|
|
6703
|
-
occupants: [
|
|
6704
|
-
"client-ui-workspace PinSessionMenuItem id 'pin'",
|
|
6705
|
-
"client-ui-workspace RenameSessionMenuItem id 'rename'",
|
|
6706
|
-
"client-ui-workspace ForkSessionMenuItem id 'fork'",
|
|
6707
|
-
"client-ui-workspace ArchiveSessionMenuItem id 'archive'",
|
|
6708
|
-
"client-ui-workspace SessionIdMenuItem id 'session-id'"
|
|
6709
|
-
],
|
|
7257
|
+
declaredBy: "an entry in 'contextMenu.content' (client-ui-workspace), so it exists while that entry is mounted",
|
|
7258
|
+
occupants: [],
|
|
6710
7259
|
replaceRisk: "none",
|
|
6711
7260
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n const copyLabel = 'Copy session title' // Localize in the contributing package.\n ctx.slots.inject('sidebar.workspaces.session.menu.item', () => ctx.slots.register(\n { name: 'sidebar.workspaces.session.menu.item', id: 'copy-session-title', order: 500 },\n ({ displayTitle, useMenuOpenState }) => {\n const [, setMenuOpen] = useMenuOpenState()\n return React.createElement(\n 'button',\n {\n type: 'button', role: 'menuitem',\n onClick: () => { setMenuOpen(false); void navigator.clipboard.writeText(displayTitle) },\n },\n copyLabel,\n )\n },\n ))\n },\n}",
|
|
6712
|
-
source: "packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
7261
|
+
source: "packages/client/ui-workspace/src/client/contract/slots.ts:193"
|
|
6713
7262
|
},
|
|
6714
7263
|
{
|
|
6715
7264
|
key: "sidebar.workspaces.session.row.action",
|
|
6716
7265
|
kind: "list",
|
|
6717
7266
|
scope: "root",
|
|
6718
7267
|
summary: "The hover buttons at the end of one Session row, in ascending `order`, after the \"...\" menu trigger.",
|
|
6719
|
-
doc: "The hover buttons at the end of one Session row, in ascending `order`,\nafter the \"...\" menu trigger. ui-workspace registers `archive` (100) and\n`pin` (200) here. An entry renders one icon button (or nothing, when its\naction does not apply to the row) and owns the action it performs. Clicks\ninside the strip stay in the strip, so the button needs no propagation\nhandling to keep the row from opening.",
|
|
7268
|
+
doc: "The hover buttons at the end of one Session row, in ascending `order`,\nafter the \"...\" menu trigger. ui-workspace registers `archive` (100) and\n`pin` (200) here. An entry renders one icon button (or nothing, when its\naction does not apply to the row) and owns the action it performs. Clicks\ninside the strip stay in the strip, so the button needs no propagation\nhandling to keep the row from opening. Hoverless devices hide this slot;\ncontribute the action to the menu list as well for touch access.",
|
|
6720
7269
|
registerOptions: [
|
|
6721
7270
|
{
|
|
6722
7271
|
name: "id",
|
|
@@ -6742,6 +7291,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6742
7291
|
standardProps: [
|
|
6743
7292
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6744
7293
|
"useResource: UseResource",
|
|
7294
|
+
"useContextMenu: UseContextMenu",
|
|
6745
7295
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6746
7296
|
"usePanelInfo: UsePanelInfo",
|
|
6747
7297
|
"useSessions: UseSessions",
|
|
@@ -6757,20 +7307,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6757
7307
|
occupants: ["client-ui-workspace ArchiveSessionRowButton id 'archive'", "client-ui-workspace PinSessionRowButton id 'pin'"],
|
|
6758
7308
|
replaceRisk: "none",
|
|
6759
7309
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.workspaces.session.row.action', () => ctx.slots.register(\n { name: 'sidebar.workspaces.session.row.action', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
6760
|
-
source: "packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
7310
|
+
source: "packages/client/ui-workspace/src/client/contract/slots.ts:212"
|
|
6761
7311
|
},
|
|
6762
7312
|
{
|
|
6763
7313
|
key: "tool.call.images",
|
|
6764
7314
|
kind: "single",
|
|
6765
7315
|
scope: "session",
|
|
6766
7316
|
summary: "Durable images of a settled image-bearing Tool call, rendered through the attachment presentation plugin.",
|
|
6767
|
-
doc: "Durable images of a settled image-bearing Tool call, rendered through\nthe attachment presentation plugin. The Tool layer never imports an\nattachment implementation: a toolview declares this slot as a child and\nrenders it with the image card's references plus the
|
|
7317
|
+
doc: "Durable images of a settled image-bearing Tool call, rendered through\nthe attachment presentation plugin. The Tool layer never imports an\nattachment implementation: a toolview declares this slot as a child and\nrenders it with the image card's references plus the Gateway-authorized\nloader it received in its owner, and the attachment plugin fills the\ngallery. Composing no attachment presentation plugin renders nothing,\nwhich is why the image card keeps its own envelope text beside the\ngallery. A child slot is declared by exactly one entry: registering a\nsecond toolview that declares the same child throws at load, so a\nfuture image-bearing tool must reuse this entry or own a distinct\nslot.",
|
|
6768
7318
|
registerOptions: [],
|
|
6769
|
-
ownerProps: ["/** Owner currency of the Tool image gallery slot: references plus the loader. */\nexport interface ToolImagesOwnerProps {\n /** Durable references or submission-echo previews in result order. */\n images: readonly MessageImageSource[]\n /**
|
|
7319
|
+
ownerProps: ["/** Owner currency of the Tool image gallery slot: references plus the loader. */\nexport interface ToolImagesOwnerProps {\n /** Durable references or submission-echo previews in result order. */\n images: readonly MessageImageSource[]\n /** Gateway-authorized image URL loader for the durable arm. */\n loadImage: MessageImageLoader\n /** Horizontal placement inside the owning record. */\n align: 'start' | 'end'\n}"],
|
|
6770
7320
|
ownerPropsReferences: ["MessageImageLoader", "MessageImageSource"],
|
|
6771
7321
|
standardProps: [
|
|
6772
7322
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6773
7323
|
"useResource: UseResource",
|
|
7324
|
+
"useContextMenu: UseContextMenu",
|
|
6774
7325
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6775
7326
|
"usePanelInfo: UsePanelInfo",
|
|
6776
7327
|
"useSessions: UseSessions",
|
|
@@ -6795,14 +7346,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6795
7346
|
occupants: ["client-ui-attachment MessageImages"],
|
|
6796
7347
|
replaceRisk: "shadows-shipped-ui",
|
|
6797
7348
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('tool.call.images', () => ctx.slots.register(\n { name: 'tool.call.images' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
6798
|
-
source: "packages/client/ui-tool/src/client/contract/slots.ts:
|
|
7349
|
+
source: "packages/client/ui-tool/src/client/contract/slots.ts:41"
|
|
6799
7350
|
},
|
|
6800
7351
|
{
|
|
6801
7352
|
key: "tool.call.toolview",
|
|
6802
7353
|
kind: "keyed",
|
|
6803
7354
|
scope: "session",
|
|
6804
|
-
summary: "Keyed Tool
|
|
6805
|
-
doc: "Keyed Tool
|
|
7355
|
+
summary: "Keyed Tool view dispatched by wire name, including custom tools.",
|
|
7356
|
+
doc: "Keyed Tool view dispatched by wire name, including custom tools.\nRegister with `key: '<tool name>'`; a typo never renders.\nOccupied keys replace the view; unclaimed keys use the generic row. Owner\nphase data includes `name` and lazy `args`; preparing arguments may be incomplete.",
|
|
6806
7357
|
registerOptions: [{
|
|
6807
7358
|
name: "key",
|
|
6808
7359
|
requirement: "required",
|
|
@@ -6810,7 +7361,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6810
7361
|
doc: "Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant."
|
|
6811
7362
|
}],
|
|
6812
7363
|
ownerProps: [
|
|
6813
|
-
"/** Standard owner currency supplied to every atomic Tool view. */\nexport interface ToolCallCommonProps {\n /** Stable Hook; each invocation owns its open state and subscribes to enclosing-Turn resets. */\n useDisclosure: UseDisclosure\n /** Call identity, stable across all stages. */\n callId: string\n /** Wire Tool name and keyed dispatch value. */\n toolName: string\n /** Session workspace root for relative summaries. */\n cwd?: string | undefined\n /** Host account home; POSIX home-rooted summaries display as `~`. */\n home?: string | undefined\n /** Open an argument path at its optional requested line. */\n openFile: (path: string, options?: OpenFileOptions) => void\n /** Chat-supplied,
|
|
7364
|
+
"/** Standard owner currency supplied to every atomic Tool view. */\nexport interface ToolCallCommonProps {\n /** Stable Hook; each invocation owns its open state and subscribes to enclosing-Turn resets. */\n useDisclosure: UseDisclosure\n /** Call identity, stable across all stages. */\n callId: string\n /** Wire Tool name and keyed dispatch value. */\n toolName: string\n /** Session workspace root for relative summaries. */\n cwd?: string | undefined\n /** Host account home; POSIX home-rooted summaries display as `~`. */\n home?: string | undefined\n /** Open an argument path at its optional requested line. */\n openFile: (path: string, options?: OpenFileOptions) => void\n /** Chat-supplied, Gateway-authorized loader for durable images; Tool views do not manage attachment URLs. */\n loadImage: MessageImageLoader\n /** Inspect this call in the trajectory view when available. */\n inspect?: (() => void) | undefined\n}",
|
|
6814
7365
|
"/** Common owner callbacks and the data admitted at the current tool stage. */\nexport type ToolCallOwnerProps = ToolCallCommonProps & ToolCallPhaseProps",
|
|
6815
7366
|
"/** Stage-specific tool data; only start/result expose the dispatched call material. */\nexport type ToolCallPhaseProps =\n | { readonly phase: 'preparing'; readonly block: PreparingToolCall }\n | { readonly phase: 'start'; readonly block: StartedToolCall }\n | { readonly phase: 'result'; readonly block: ToolResultNode }"
|
|
6816
7367
|
],
|
|
@@ -6825,6 +7376,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6825
7376
|
standardProps: [
|
|
6826
7377
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6827
7378
|
"useResource: UseResource",
|
|
7379
|
+
"useContextMenu: UseContextMenu",
|
|
6828
7380
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6829
7381
|
"usePanelInfo: UsePanelInfo",
|
|
6830
7382
|
"useSessions: UseSessions",
|
|
@@ -6842,7 +7394,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6842
7394
|
"useAccess: (action: RemoteEndpoint) => boolean",
|
|
6843
7395
|
"useTrajectory: UseTrajectory"
|
|
6844
7396
|
],
|
|
6845
|
-
keyDomain: "open: any string the owner dispatches (no compile-time key set), already taken: ask_user_question, bash, cordis_define, cordis_inspect_list, cordis_inspect_query, cordis_inspect_self, cordis_run, cordis_stop, cordis_undefine, create_goal, edit, get_goal, glob, grep, interrupt_agent, job_kill, job_list, job_output, list_agents, list_subagent_models, lsp, present, ralph, read, read_image, schedule_create, schedule_delete, schedule_list, schedule_update, send_message, session_event_read, session_event_search, session_event_trace, session_search, session_trace, skill, spawn_teammate, subagent, team_task_create, team_task_get, team_task_list, team_task_update, terminal_close, terminal_list, terminal_open, terminal_read, terminal_signal, todo_write, update_goal, wait_agent, web_fetch, web_search, workflow, write",
|
|
7397
|
+
keyDomain: "open: any string the owner dispatches (no compile-time key set), already taken: apply_patch, ask_user_question, bash, cordis_define, cordis_inspect_list, cordis_inspect_query, cordis_inspect_self, cordis_run, cordis_stop, cordis_undefine, create_goal, edit, get_goal, glob, grep, interrupt_agent, job_kill, job_list, job_output, list_agents, list_subagent_models, lsp, present, propose_action, ralph, read, read_image, schedule_create, schedule_delete, schedule_edit, schedule_list, schedule_update, schedule_view, send_message, session_event_read, session_event_search, session_event_trace, session_search, session_trace, skill, spawn_teammate, subagent, team_task_create, team_task_get, team_task_list, team_task_update, terminal_close, terminal_list, terminal_open, terminal_read, terminal_signal, todo_write, update_goal, wait_agent, web_fetch, web_search, workflow, write",
|
|
6846
7398
|
hookContext: "",
|
|
6847
7399
|
slotInject: "",
|
|
6848
7400
|
declaredBy: "an entry in 'conversation.chat.node' (client-ui-tool), so it exists while that entry is mounted",
|
|
@@ -6856,6 +7408,8 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6856
7408
|
"client-ui-tool DetailsRow key 'update_goal'",
|
|
6857
7409
|
"client-ui-tool DetailsRow key 'schedule_create'",
|
|
6858
7410
|
"client-ui-tool DetailsRow key 'schedule_list'",
|
|
7411
|
+
"client-ui-tool DetailsRow key 'schedule_view'",
|
|
7412
|
+
"client-ui-tool DetailsRow key 'schedule_edit'",
|
|
6859
7413
|
"client-ui-tool DetailsRow key 'schedule_delete'",
|
|
6860
7414
|
"client-ui-tool DetailsRow key 'schedule_update'",
|
|
6861
7415
|
"client-ui-tool DetailsRow key 'cordis_inspect_list'",
|
|
@@ -6888,6 +7442,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6888
7442
|
"client-ui-tool DetailsRow key 'team_task_update'",
|
|
6889
7443
|
"client-ui-tool DetailsRow key 'team_task_list'",
|
|
6890
7444
|
"client-ui-tool DetailsRow key 'wait_agent'",
|
|
7445
|
+
"client-ui-tool FileMutationRow key 'apply_patch'",
|
|
6891
7446
|
"client-ui-tool FileMutationRow key 'edit'",
|
|
6892
7447
|
"client-ui-tool FileMutationRow key 'write'",
|
|
6893
7448
|
"client-ui-tool ReadImageRow key 'read_image'",
|
|
@@ -6897,6 +7452,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6897
7452
|
"client-ui-tool TodoRow key 'todo_write'",
|
|
6898
7453
|
"client-ui-tool WebRow key 'web_search'",
|
|
6899
7454
|
"client-ui-tool WebRow key 'web_fetch'",
|
|
7455
|
+
"client-ui-action-cards ProposeRow key 'propose_action'",
|
|
6900
7456
|
"client-ui-cordis CordisDefineRow key 'cordis_define'",
|
|
6901
7457
|
"client-ui-cordis CordisRunRow key 'cordis_run'",
|
|
6902
7458
|
"client-ui-cordis CordisActionRow key 'cordis_stop'",
|
|
@@ -6904,7 +7460,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6904
7460
|
],
|
|
6905
7461
|
replaceRisk: "shadows-shipped-ui",
|
|
6906
7462
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('tool.call.toolview', () => ctx.slots.register(\n { name: 'tool.call.toolview', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
6907
|
-
source: "packages/client/ui-tool/src/client/contract/slots.ts:
|
|
7463
|
+
source: "packages/client/ui-tool/src/client/contract/slots.ts:23"
|
|
6908
7464
|
},
|
|
6909
7465
|
{
|
|
6910
7466
|
key: "tool.view.cordis",
|
|
@@ -6927,6 +7483,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6927
7483
|
standardProps: [
|
|
6928
7484
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6929
7485
|
"useResource: UseResource",
|
|
7486
|
+
"useContextMenu: UseContextMenu",
|
|
6930
7487
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6931
7488
|
"usePanelInfo: UsePanelInfo",
|
|
6932
7489
|
"useSessions: UseSessions",
|
|
@@ -6970,6 +7527,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
6970
7527
|
standardProps: [
|
|
6971
7528
|
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
6972
7529
|
"useResource: UseResource",
|
|
7530
|
+
"useContextMenu: UseContextMenu",
|
|
6973
7531
|
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
6974
7532
|
"usePanelInfo: UsePanelInfo",
|
|
6975
7533
|
"useSessions: UseSessions",
|
|
@@ -7221,193 +7779,6 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
7221
7779
|
};
|
|
7222
7780
|
}
|
|
7223
7781
|
//#endregion
|
|
7224
|
-
//#region lib/types/client/timer.js
|
|
7225
|
-
/** Browser implementation of the Cordis timer Service. */
|
|
7226
|
-
/** Browser timer Service with the same public API as the Host Cordis TimerService. */
|
|
7227
|
-
var ClientTimerService = class extends _deepseek_ai_cordis.Service {
|
|
7228
|
-
/** Register the Service and mix its lifecycle-safe helpers onto Context. */
|
|
7229
|
-
constructor(ctx) {
|
|
7230
|
-
super(ctx, "timer");
|
|
7231
|
-
ctx.mixin("timer", [
|
|
7232
|
-
"timeout",
|
|
7233
|
-
"interval",
|
|
7234
|
-
"throttle",
|
|
7235
|
-
"debounce",
|
|
7236
|
-
"setTimeout",
|
|
7237
|
-
"setInterval"
|
|
7238
|
-
]);
|
|
7239
|
-
}
|
|
7240
|
-
/**
|
|
7241
|
-
* Run a callback once through {@link timeout}.
|
|
7242
|
-
* @param callback - Work to run after the delay.
|
|
7243
|
-
* @param delay - Delay in milliseconds.
|
|
7244
|
-
* @returns Disposer that cancels the pending callback early.
|
|
7245
|
-
* @deprecated Use `ctx.timeout()` instead.
|
|
7246
|
-
*/
|
|
7247
|
-
setTimeout(callback, delay) {
|
|
7248
|
-
return this.timeout(callback, delay);
|
|
7249
|
-
}
|
|
7250
|
-
/**
|
|
7251
|
-
* Run a callback repeatedly through {@link interval}.
|
|
7252
|
-
* @param callback - Work to run on each tick.
|
|
7253
|
-
* @param delay - Interval in milliseconds.
|
|
7254
|
-
* @returns Disposer that stops the interval early.
|
|
7255
|
-
* @deprecated Use `ctx.interval()` instead.
|
|
7256
|
-
*/
|
|
7257
|
-
setInterval(callback, delay) {
|
|
7258
|
-
return this.interval(callback, delay);
|
|
7259
|
-
}
|
|
7260
|
-
timeout(...args) {
|
|
7261
|
-
const callback = typeof args[0] === "function" ? args.shift() : void 0;
|
|
7262
|
-
const delay = args[0];
|
|
7263
|
-
if (callback !== void 0) {
|
|
7264
|
-
const dispose = this.ctx.effect(() => {
|
|
7265
|
-
const timer = globalThis.setTimeout(() => {
|
|
7266
|
-
dispose();
|
|
7267
|
-
callback();
|
|
7268
|
-
}, delay);
|
|
7269
|
-
return () => {
|
|
7270
|
-
globalThis.clearTimeout(timer);
|
|
7271
|
-
};
|
|
7272
|
-
}, "ctx.timeout()");
|
|
7273
|
-
return dispose;
|
|
7274
|
-
}
|
|
7275
|
-
const { promise, resolve, reject } = Promise.withResolvers();
|
|
7276
|
-
const dispose = this.ctx.effect(() => {
|
|
7277
|
-
const timer = globalThis.setTimeout(resolve, delay);
|
|
7278
|
-
return () => {
|
|
7279
|
-
globalThis.clearTimeout(timer);
|
|
7280
|
-
reject(/* @__PURE__ */ new Error("Context has been disposed"));
|
|
7281
|
-
};
|
|
7282
|
-
}, "ctx.timeout()");
|
|
7283
|
-
return promise.finally(() => {
|
|
7284
|
-
dispose();
|
|
7285
|
-
});
|
|
7286
|
-
}
|
|
7287
|
-
interval(...args) {
|
|
7288
|
-
const callback = typeof args[0] === "function" ? args.shift() : void 0;
|
|
7289
|
-
const delay = args[0];
|
|
7290
|
-
if (callback !== void 0) return this.ctx.effect(() => {
|
|
7291
|
-
const timer = globalThis.setInterval(callback, delay);
|
|
7292
|
-
return () => {
|
|
7293
|
-
globalThis.clearInterval(timer);
|
|
7294
|
-
};
|
|
7295
|
-
}, "ctx.interval()");
|
|
7296
|
-
let done;
|
|
7297
|
-
let nextTask;
|
|
7298
|
-
const dispose = this.ctx.effect(() => {
|
|
7299
|
-
const timer = globalThis.setInterval(() => {
|
|
7300
|
-
nextTask?.resolve({
|
|
7301
|
-
done: false,
|
|
7302
|
-
value: void 0
|
|
7303
|
-
});
|
|
7304
|
-
}, delay);
|
|
7305
|
-
return () => {
|
|
7306
|
-
globalThis.clearInterval(timer);
|
|
7307
|
-
if (done !== void 0) return;
|
|
7308
|
-
done = {
|
|
7309
|
-
kind: "throw",
|
|
7310
|
-
reason: /* @__PURE__ */ new Error("Context has been disposed")
|
|
7311
|
-
};
|
|
7312
|
-
nextTask?.reject(done.reason);
|
|
7313
|
-
};
|
|
7314
|
-
}, "ctx.interval()");
|
|
7315
|
-
return {
|
|
7316
|
-
next: () => {
|
|
7317
|
-
if (done === void 0) return (nextTask = Promise.withResolvers()).promise;
|
|
7318
|
-
if (done.kind === "return") return Promise.resolve({
|
|
7319
|
-
done: true,
|
|
7320
|
-
value: done.value
|
|
7321
|
-
});
|
|
7322
|
-
return Promise.reject(done.reason);
|
|
7323
|
-
},
|
|
7324
|
-
return: (value) => {
|
|
7325
|
-
if (done === void 0) done = {
|
|
7326
|
-
kind: "return",
|
|
7327
|
-
value
|
|
7328
|
-
};
|
|
7329
|
-
nextTask?.resolve({
|
|
7330
|
-
done: true,
|
|
7331
|
-
value
|
|
7332
|
-
});
|
|
7333
|
-
dispose();
|
|
7334
|
-
return Promise.resolve({
|
|
7335
|
-
done: true,
|
|
7336
|
-
value
|
|
7337
|
-
});
|
|
7338
|
-
},
|
|
7339
|
-
throw: (reason) => {
|
|
7340
|
-
if (done === void 0) done = {
|
|
7341
|
-
kind: "throw",
|
|
7342
|
-
reason
|
|
7343
|
-
};
|
|
7344
|
-
nextTask?.reject(reason);
|
|
7345
|
-
dispose();
|
|
7346
|
-
return Promise.resolve({
|
|
7347
|
-
done: true,
|
|
7348
|
-
value: void 0
|
|
7349
|
-
});
|
|
7350
|
-
},
|
|
7351
|
-
[Symbol.asyncIterator]() {
|
|
7352
|
-
return this;
|
|
7353
|
-
}
|
|
7354
|
-
};
|
|
7355
|
-
}
|
|
7356
|
-
/** Build a delayed wrapper whose pending callback belongs to the calling Fiber. */
|
|
7357
|
-
schedule(label, trigger, disposed = false) {
|
|
7358
|
-
let timer;
|
|
7359
|
-
const dispose = this.ctx.effect(() => () => {
|
|
7360
|
-
disposed = true;
|
|
7361
|
-
globalThis.clearTimeout(timer);
|
|
7362
|
-
}, label);
|
|
7363
|
-
const wrapper = (...args) => {
|
|
7364
|
-
globalThis.clearTimeout(timer);
|
|
7365
|
-
timer = trigger(args, disposed);
|
|
7366
|
-
};
|
|
7367
|
-
wrapper.dispose = dispose;
|
|
7368
|
-
return wrapper;
|
|
7369
|
-
}
|
|
7370
|
-
/**
|
|
7371
|
-
* Return a throttled function whose timer is disposed with the calling Fiber.
|
|
7372
|
-
* @param callback - Function to throttle.
|
|
7373
|
-
* @param delay - Minimum interval between calls in milliseconds.
|
|
7374
|
-
* @param noTrailing - Whether to suppress a delayed trailing call.
|
|
7375
|
-
* @returns Throttled function with an early disposer.
|
|
7376
|
-
*/
|
|
7377
|
-
throttle(callback, delay, noTrailing) {
|
|
7378
|
-
let lastCall = -Infinity;
|
|
7379
|
-
const execute = (...args) => {
|
|
7380
|
-
lastCall = Date.now();
|
|
7381
|
-
callback(...args);
|
|
7382
|
-
};
|
|
7383
|
-
return this.schedule("ctx.throttle()", (args, disposed) => {
|
|
7384
|
-
const remaining = delay - Date.now() + lastCall;
|
|
7385
|
-
if (remaining <= 0) execute(...args);
|
|
7386
|
-
else if (!disposed) return globalThis.setTimeout(execute, remaining, ...args);
|
|
7387
|
-
}, noTrailing);
|
|
7388
|
-
}
|
|
7389
|
-
/**
|
|
7390
|
-
* Return a debounced function whose timer is disposed with the calling Fiber.
|
|
7391
|
-
* @param callback - Function to debounce.
|
|
7392
|
-
* @param delay - Quiet period in milliseconds.
|
|
7393
|
-
* @returns Debounced function with an early disposer.
|
|
7394
|
-
*/
|
|
7395
|
-
debounce(callback, delay) {
|
|
7396
|
-
return this.schedule("ctx.debounce()", (args, disposed) => {
|
|
7397
|
-
if (disposed) return;
|
|
7398
|
-
return globalThis.setTimeout(callback, delay, ...args);
|
|
7399
|
-
});
|
|
7400
|
-
}
|
|
7401
|
-
};
|
|
7402
|
-
/**
|
|
7403
|
-
* Install the browser timer Service on one Client composition.
|
|
7404
|
-
* @param ctx - Client context that owns the Service and mixed-in helpers.
|
|
7405
|
-
* @returns Nothing after registering the Service.
|
|
7406
|
-
*/
|
|
7407
|
-
function provideClientTimer(ctx) {
|
|
7408
|
-
new ClientTimerService(ctx);
|
|
7409
|
-
}
|
|
7410
|
-
//#endregion
|
|
7411
7782
|
//#region lib/types/client/index.js
|
|
7412
7783
|
/**
|
|
7413
7784
|
* Dynamic-package runner, browser half: the load engine that turns one browser
|
|
@@ -7464,7 +7835,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
7464
7835
|
* @param ctx - client root context.
|
|
7465
7836
|
*/
|
|
7466
7837
|
function apply(ctx) {
|
|
7467
|
-
|
|
7838
|
+
new TimerService(ctx);
|
|
7468
7839
|
const inspect = new ClientCordisInspectRegistry({
|
|
7469
7840
|
sync: async (providers) => {
|
|
7470
7841
|
const answered = await ctx.remote.dynamicCordisRunner.syncInspectManifest(providers);
|
|
@@ -7574,7 +7945,6 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
7574
7945
|
}
|
|
7575
7946
|
//#endregion
|
|
7576
7947
|
exports.ClientCordisInspectRegistry = ClientCordisInspectRegistry;
|
|
7577
|
-
exports.ClientTimerService = ClientTimerService;
|
|
7578
7948
|
exports.CordisRunOrchestrator = CordisRunOrchestrator;
|
|
7579
7949
|
exports.DynamicCordisPackageRunner = DynamicCordisPackageRunner;
|
|
7580
7950
|
exports.DynamicCordisStyles = DynamicCordisStyles;
|