@deepseek-ai/dsh-cordis-client-runner 0.1.2-alpha.2 → 0.1.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/lib/client.js +13 -9
- package/package.json +8 -8
package/lib/client.js
CHANGED
|
@@ -1608,7 +1608,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
1608
1608
|
},
|
|
1609
1609
|
{
|
|
1610
1610
|
name: "BeginSubmissionInput",
|
|
1611
|
-
declaration: "export interface BeginSubmissionInput {\n readonly text: string;\n readonly images: readonly PendingSubmissionImage[];\n readonly onRetire?: (retirement: PendingSubmissionRetirement) => void;\n}"
|
|
1611
|
+
declaration: "export interface BeginSubmissionInput {\n readonly mode: 'queue' | 'steer';\n readonly text: string;\n readonly images: readonly PendingSubmissionImage[];\n readonly onRetire?: (retirement: PendingSubmissionRetirement) => void;\n}"
|
|
1612
1612
|
},
|
|
1613
1613
|
{
|
|
1614
1614
|
name: "BoundActions",
|
|
@@ -1728,7 +1728,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
1728
1728
|
},
|
|
1729
1729
|
{
|
|
1730
1730
|
name: "ISession",
|
|
1731
|
-
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(attachmentId: AttachmentIdType): 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: number;\n }>>;\n loadOlder(): Promise<void>;\n command(line: string): Promise<RemoteResult<{\n matched: boolean;\n }>>;\n}"
|
|
1731
|
+
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(attachmentId: AttachmentIdType): 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: number;\n }>>;\n loadOlder(): Promise<void>;\n loadThrough(seq: number): Promise<void>;\n command(line: string): Promise<RemoteResult<{\n matched: boolean;\n }>>;\n}"
|
|
1732
1732
|
},
|
|
1733
1733
|
{
|
|
1734
1734
|
name: "KeyPropsOf",
|
|
@@ -1784,12 +1784,16 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
1784
1784
|
},
|
|
1785
1785
|
{
|
|
1786
1786
|
name: "PendingSubmission",
|
|
1787
|
-
declaration: "export interface PendingSubmission {\n readonly requestId: SessionRequestId;\n readonly time: number;\n readonly text: string;\n readonly images: readonly PendingSubmissionImage[];\n}"
|
|
1787
|
+
declaration: "export interface PendingSubmission {\n readonly requestId: SessionRequestId;\n readonly placement: PendingSubmissionPlacement;\n readonly time: number;\n readonly text: string;\n readonly images: readonly PendingSubmissionImage[];\n}"
|
|
1788
1788
|
},
|
|
1789
1789
|
{
|
|
1790
1790
|
name: "PendingSubmissionImage",
|
|
1791
1791
|
declaration: "export interface PendingSubmissionImage {\n readonly previewUrl: string;\n readonly name?: string;\n readonly width?: number;\n readonly height?: number;\n}"
|
|
1792
1792
|
},
|
|
1793
|
+
{
|
|
1794
|
+
name: "PendingSubmissionPlacement",
|
|
1795
|
+
declaration: "export type PendingSubmissionPlacement = 'transcript' | 'queued' | 'steering';"
|
|
1796
|
+
},
|
|
1793
1797
|
{
|
|
1794
1798
|
name: "PendingSubmissionRetirement",
|
|
1795
1799
|
declaration: "export type PendingSubmissionRetirement = {\n readonly reason: 'observed';\n readonly attachments: readonly ImageAttachmentRef[];\n} | {\n readonly reason: 'failed';\n};"
|
|
@@ -2224,7 +2228,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2224
2228
|
occupants: ["client-ui-message-feedback MessageFeedbackActions id 'feedback'"],
|
|
2225
2229
|
replaceRisk: "none",
|
|
2226
2230
|
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}",
|
|
2227
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2231
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:204"
|
|
2228
2232
|
},
|
|
2229
2233
|
{
|
|
2230
2234
|
key: "conversation.chat.commandview",
|
|
@@ -2265,7 +2269,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2265
2269
|
occupants: [],
|
|
2266
2270
|
replaceRisk: "none",
|
|
2267
2271
|
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}",
|
|
2268
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2272
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:192"
|
|
2269
2273
|
},
|
|
2270
2274
|
{
|
|
2271
2275
|
key: "conversation.chat.node",
|
|
@@ -2325,7 +2329,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2325
2329
|
],
|
|
2326
2330
|
replaceRisk: "shadows-shipped-ui",
|
|
2327
2331
|
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}",
|
|
2328
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2332
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:173"
|
|
2329
2333
|
},
|
|
2330
2334
|
{
|
|
2331
2335
|
key: "conversation.chat.turnTail",
|
|
@@ -2362,7 +2366,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2362
2366
|
occupants: ["client-ui-deliverables ProducedFiles"],
|
|
2363
2367
|
replaceRisk: "none",
|
|
2364
2368
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.turnTail', () => ctx.slots.register(\n { name: 'conversation.chat.turnTail', select: owner => null },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2365
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2369
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:198"
|
|
2366
2370
|
},
|
|
2367
2371
|
{
|
|
2368
2372
|
key: "conversation.composer",
|
|
@@ -2520,7 +2524,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2520
2524
|
occupants: ["client-ui-tool ToolDetails"],
|
|
2521
2525
|
replaceRisk: "shadows-shipped-ui",
|
|
2522
2526
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.details.tool', () => ctx.slots.register(\n { name: 'conversation.details.tool' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2523
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2527
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:210"
|
|
2524
2528
|
},
|
|
2525
2529
|
{
|
|
2526
2530
|
key: "conversation.hero.agentPreset",
|
|
@@ -2954,7 +2958,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
2954
2958
|
occupants: ["client-ui-attachment MessageImages"],
|
|
2955
2959
|
replaceRisk: "shadows-shipped-ui",
|
|
2956
2960
|
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.message.images', () => ctx.slots.register(\n { name: 'conversation.message.images' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
|
|
2957
|
-
source: "packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2961
|
+
source: "packages/client/ui-chat/src/client/contract/slots.ts:186"
|
|
2958
2962
|
},
|
|
2959
2963
|
{
|
|
2960
2964
|
key: "conversation.session",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-cordis-client-runner",
|
|
3
3
|
"description": "Browser half of dynamic dual-half plugin packages: event subscription, closure evaluation, guard facade, and loader entries",
|
|
4
|
-
"version": "0.1.2-alpha.
|
|
4
|
+
"version": "0.1.2-alpha.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/react": "~18.3.1",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.2-alpha.3",
|
|
51
|
+
"@deepseek-ai/dsh-client-modules": "^0.1.2-alpha.3",
|
|
50
52
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.3",
|
|
51
|
-
"@deepseek-ai/dsh-client-
|
|
52
|
-
"@deepseek-ai/dsh-
|
|
53
|
-
"@deepseek-ai/dsh-
|
|
54
|
-
"@deepseek-ai/dsh-
|
|
55
|
-
"@deepseek-ai/
|
|
56
|
-
"@deepseek-ai/cordis": "^4.0.2",
|
|
57
|
-
"@deepseek-ai/dsh-util-values": "^0.1.2-alpha.2"
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.3",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-theme": "^0.1.2-alpha.3",
|
|
55
|
+
"@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
|
|
56
|
+
"@deepseek-ai/dsh-util-values": "^0.1.2-alpha.3",
|
|
57
|
+
"@deepseek-ai/cordis": "^4.0.2"
|
|
58
58
|
},
|
|
59
59
|
"files": [
|
|
60
60
|
"lib/index.js",
|