@deepseek-ai/dsh-api-remotes 0.2.1-rc.1 → 0.2.1-rc.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.
Files changed (2) hide show
  1. package/lib/client.js +118 -4
  2. package/package.json +41 -41
package/lib/client.js CHANGED
@@ -276,7 +276,15 @@ window.__ModuleLoader__.load({
276
276
  zod.z.literal("queue"),
277
277
  zod.z.literal("steer"),
278
278
  zod.z.literal("default")
279
- ])
279
+ ]),
280
+ "is_new_session": zod.z.boolean().describe("Whether the message is the first one of a blank Session."),
281
+ "agent_preset": zod.z.union([
282
+ zod.z.literal("other"),
283
+ zod.z.literal("creator"),
284
+ zod.z.literal("ptc"),
285
+ zod.z.literal("minimal"),
286
+ zod.z.literal("standard")
287
+ ]).optional().describe("Fixed category of the Session's Agent preset, when known.")
280
288
  }),
281
289
  "timestamp": zod.z.number()
282
290
  }),
@@ -319,7 +327,56 @@ window.__ModuleLoader__.load({
319
327
  }),
320
328
  zod.z.object({
321
329
  "eventName": zod.z.literal("sidebar_menu_click"),
322
- "attributes": zod.z.object({ "menu_name": zod.z.union([zod.z.literal("plugin"), zod.z.literal("cron")]) }),
330
+ "attributes": zod.z.object({
331
+ "menu_name": zod.z.union([
332
+ zod.z.literal("new_session"),
333
+ zod.z.literal("plugin"),
334
+ zod.z.literal("cron"),
335
+ zod.z.literal("more")
336
+ ]),
337
+ "position": zod.z.union([
338
+ zod.z.literal("sidebar"),
339
+ zod.z.literal("sidebar_more"),
340
+ zod.z.literal("titlebar")
341
+ ]).optional()
342
+ }),
343
+ "timestamp": zod.z.number()
344
+ }),
345
+ zod.z.object({
346
+ "eventName": zod.z.literal("more_menu_item_click"),
347
+ "attributes": zod.z.object({
348
+ "region": zod.z.union([
349
+ zod.z.literal("sidebar"),
350
+ zod.z.literal("conversation"),
351
+ zod.z.literal("rightbar")
352
+ ]),
353
+ "action": zod.z.union([zod.z.literal("browse_plugins"), zod.z.literal("create_plugin")])
354
+ }),
355
+ "timestamp": zod.z.number()
356
+ }),
357
+ zod.z.object({
358
+ "eventName": zod.z.literal("agent_preset_switch"),
359
+ "attributes": zod.z.object({
360
+ "switch_from": zod.z.union([
361
+ zod.z.literal("other"),
362
+ zod.z.literal("creator"),
363
+ zod.z.literal("ptc"),
364
+ zod.z.literal("minimal"),
365
+ zod.z.literal("standard")
366
+ ]),
367
+ "switch_to": zod.z.union([
368
+ zod.z.literal("creator"),
369
+ zod.z.literal("ptc"),
370
+ zod.z.literal("minimal"),
371
+ zod.z.literal("standard")
372
+ ]),
373
+ "code_work_view_enabled": zod.z.boolean()
374
+ }),
375
+ "timestamp": zod.z.number()
376
+ }),
377
+ zod.z.object({
378
+ "eventName": zod.z.literal("code_work_view_toggle"),
379
+ "attributes": zod.z.object({ "is_enabled": zod.z.boolean() }),
323
380
  "timestamp": zod.z.number()
324
381
  }),
325
382
  zod.z.object({
@@ -475,7 +532,15 @@ window.__ModuleLoader__.load({
475
532
  zod.z.literal("queue"),
476
533
  zod.z.literal("steer"),
477
534
  zod.z.literal("default")
478
- ])
535
+ ]),
536
+ "is_new_session": zod.z.boolean().describe("Whether the message is the first one of a blank Session."),
537
+ "agent_preset": zod.z.union([
538
+ zod.z.literal("other"),
539
+ zod.z.literal("creator"),
540
+ zod.z.literal("ptc"),
541
+ zod.z.literal("minimal"),
542
+ zod.z.literal("standard")
543
+ ]).optional().describe("Fixed category of the Session's Agent preset, when known.")
479
544
  }),
480
545
  "timestamp": zod.z.number()
481
546
  }),
@@ -518,7 +583,56 @@ window.__ModuleLoader__.load({
518
583
  }),
519
584
  zod.z.strictObject({
520
585
  "eventName": zod.z.literal("sidebar_menu_click"),
521
- "attributes": zod.z.strictObject({ "menu_name": zod.z.union([zod.z.literal("plugin"), zod.z.literal("cron")]) }),
586
+ "attributes": zod.z.strictObject({
587
+ "menu_name": zod.z.union([
588
+ zod.z.literal("new_session"),
589
+ zod.z.literal("plugin"),
590
+ zod.z.literal("cron"),
591
+ zod.z.literal("more")
592
+ ]),
593
+ "position": zod.z.union([
594
+ zod.z.literal("sidebar"),
595
+ zod.z.literal("sidebar_more"),
596
+ zod.z.literal("titlebar")
597
+ ]).optional()
598
+ }),
599
+ "timestamp": zod.z.number()
600
+ }),
601
+ zod.z.strictObject({
602
+ "eventName": zod.z.literal("more_menu_item_click"),
603
+ "attributes": zod.z.strictObject({
604
+ "region": zod.z.union([
605
+ zod.z.literal("sidebar"),
606
+ zod.z.literal("conversation"),
607
+ zod.z.literal("rightbar")
608
+ ]),
609
+ "action": zod.z.union([zod.z.literal("browse_plugins"), zod.z.literal("create_plugin")])
610
+ }),
611
+ "timestamp": zod.z.number()
612
+ }),
613
+ zod.z.strictObject({
614
+ "eventName": zod.z.literal("agent_preset_switch"),
615
+ "attributes": zod.z.strictObject({
616
+ "switch_from": zod.z.union([
617
+ zod.z.literal("other"),
618
+ zod.z.literal("creator"),
619
+ zod.z.literal("ptc"),
620
+ zod.z.literal("minimal"),
621
+ zod.z.literal("standard")
622
+ ]),
623
+ "switch_to": zod.z.union([
624
+ zod.z.literal("creator"),
625
+ zod.z.literal("ptc"),
626
+ zod.z.literal("minimal"),
627
+ zod.z.literal("standard")
628
+ ]),
629
+ "code_work_view_enabled": zod.z.boolean()
630
+ }),
631
+ "timestamp": zod.z.number()
632
+ }),
633
+ zod.z.strictObject({
634
+ "eventName": zod.z.literal("code_work_view_toggle"),
635
+ "attributes": zod.z.strictObject({ "is_enabled": zod.z.boolean() }),
522
636
  "timestamp": zod.z.number()
523
637
  }),
524
638
  zod.z.strictObject({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-api-remotes",
3
3
  "description": "Remote BFF assembly for application-selected Host capabilities",
4
- "version": "0.2.1-rc.1",
4
+ "version": "0.2.1-rc.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -48,53 +48,53 @@
48
48
  "lib/types/**/*.d.ts"
49
49
  ],
50
50
  "dependencies": {
51
- "@deepseek-ai/dsh-deque": "0.2.1-rc.1",
52
- "@deepseek-ai/dsh-util-values": "0.2.1-rc.1"
51
+ "@deepseek-ai/dsh-deque": "0.2.1-rc.3",
52
+ "@deepseek-ai/dsh-util-values": "0.2.1-rc.3"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@deepseek-ai/cordis": "~4.0.5",
56
- "@deepseek-ai/dsh-scope": "0.2.1-rc.1"
56
+ "@deepseek-ai/dsh-scope": "0.2.1-rc.3"
57
57
  },
58
58
  "devDependencies": {
59
- "@deepseek-ai/dsh-agent": "0.2.1-rc.1",
60
- "@deepseek-ai/dsh-agent-preset-registry": "0.2.1-rc.1",
61
- "@deepseek-ai/dsh-api-gateway": "0.2.1-rc.1",
62
- "@deepseek-ai/dsh-api-job-controller": "0.2.1-rc.1",
63
- "@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.1",
64
- "@deepseek-ai/dsh-api-settings-controller": "0.2.1-rc.1",
65
- "@deepseek-ai/dsh-api-workspace-controller": "0.2.1-rc.1",
66
- "@deepseek-ai/dsh-api-workspace-files": "0.2.1-rc.1",
67
- "@deepseek-ai/dsh-client-connection": "0.2.1-rc.1",
68
- "@deepseek-ai/dsh-client-file-upload": "0.2.1-rc.1",
69
- "@deepseek-ai/dsh-commands": "0.2.1-rc.1",
70
- "@deepseek-ai/dsh-cordis-host-runner": "0.2.1-rc.1",
71
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.1",
72
- "@deepseek-ai/dsh-file-reference": "0.2.1-rc.1",
73
- "@deepseek-ai/dsh-goal": "0.2.1-rc.1",
74
- "@deepseek-ai/dsh-host-plugin-inventory": "0.2.1-rc.1",
75
- "@deepseek-ai/dsh-llm": "0.2.1-rc.1",
76
- "@deepseek-ai/dsh-message-feedback": "0.2.1-rc.1",
77
- "@deepseek-ai/dsh-permission-presets": "0.2.1-rc.1",
78
- "@deepseek-ai/dsh-schedule": "0.2.1-rc.1",
79
- "@deepseek-ai/dsh-scope": "0.2.1-rc.1",
80
- "@deepseek-ai/dsh-session": "0.2.1-rc.1",
81
- "@deepseek-ai/dsh-session-reference": "0.2.1-rc.1",
82
- "@deepseek-ai/dsh-settings": "0.2.1-rc.1",
83
- "@deepseek-ai/dsh-subagent": "0.2.1-rc.1",
84
- "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.1",
85
- "@deepseek-ai/dsh-user-approval": "0.2.1-rc.1",
86
- "@deepseek-ai/dsh-user-questions": "0.2.1-rc.1",
59
+ "@deepseek-ai/dsh-agent": "0.2.1-rc.3",
60
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.1-rc.3",
61
+ "@deepseek-ai/dsh-api-gateway": "0.2.1-rc.3",
62
+ "@deepseek-ai/dsh-api-job-controller": "0.2.1-rc.3",
63
+ "@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.3",
64
+ "@deepseek-ai/dsh-api-settings-controller": "0.2.1-rc.3",
65
+ "@deepseek-ai/dsh-api-workspace-controller": "0.2.1-rc.3",
66
+ "@deepseek-ai/dsh-api-workspace-files": "0.2.1-rc.3",
67
+ "@deepseek-ai/dsh-client-connection": "0.2.1-rc.3",
68
+ "@deepseek-ai/dsh-client-file-upload": "0.2.1-rc.3",
69
+ "@deepseek-ai/dsh-commands": "0.2.1-rc.3",
70
+ "@deepseek-ai/dsh-cordis-host-runner": "0.2.1-rc.3",
71
+ "@deepseek-ai/dsh-credentials": "0.2.1-rc.3",
72
+ "@deepseek-ai/dsh-file-reference": "0.2.1-rc.3",
73
+ "@deepseek-ai/dsh-goal": "0.2.1-rc.3",
74
+ "@deepseek-ai/dsh-host-plugin-inventory": "0.2.1-rc.3",
75
+ "@deepseek-ai/dsh-llm": "0.2.1-rc.3",
76
+ "@deepseek-ai/dsh-message-feedback": "0.2.1-rc.3",
77
+ "@deepseek-ai/dsh-permission-presets": "0.2.1-rc.3",
78
+ "@deepseek-ai/dsh-schedule": "0.2.1-rc.3",
79
+ "@deepseek-ai/dsh-scope": "0.2.1-rc.3",
80
+ "@deepseek-ai/dsh-session": "0.2.1-rc.3",
81
+ "@deepseek-ai/dsh-session-reference": "0.2.1-rc.3",
82
+ "@deepseek-ai/dsh-settings": "0.2.1-rc.3",
83
+ "@deepseek-ai/dsh-subagent": "0.2.1-rc.3",
84
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.3",
85
+ "@deepseek-ai/dsh-user-approval": "0.2.1-rc.3",
86
+ "@deepseek-ai/dsh-user-questions": "0.2.1-rc.3",
87
87
  "@deepseek-ai/cordis": "~4.0.5",
88
88
  "zod": "4.4.3",
89
- "@deepseek-ai/dsh-command-feedback": "0.2.1-rc.1",
90
- "@deepseek-ai/dsh-api-terminal-controller": "0.2.1-rc.1",
91
- "@deepseek-ai/dsh-plugin-manager": "0.2.1-rc.1",
92
- "@deepseek-ai/dsh-plugin-market": "0.2.1-rc.1",
93
- "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.1-rc.1",
94
- "@deepseek-ai/dsh-office-to-pdf": "0.2.1-rc.1",
95
- "@deepseek-ai/dsh-api-account-controller": "0.2.1-rc.1",
96
- "@deepseek-ai/dsh-deepseek-account": "0.2.1-rc.1",
97
- "@deepseek-ai/dsh-client-product-analytics": "0.2.1-rc.1"
89
+ "@deepseek-ai/dsh-command-feedback": "0.2.1-rc.3",
90
+ "@deepseek-ai/dsh-api-terminal-controller": "0.2.1-rc.3",
91
+ "@deepseek-ai/dsh-plugin-manager": "0.2.1-rc.3",
92
+ "@deepseek-ai/dsh-plugin-market": "0.2.1-rc.3",
93
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.1-rc.3",
94
+ "@deepseek-ai/dsh-office-to-pdf": "0.2.1-rc.3",
95
+ "@deepseek-ai/dsh-api-account-controller": "0.2.1-rc.3",
96
+ "@deepseek-ai/dsh-deepseek-account": "0.2.1-rc.3",
97
+ "@deepseek-ai/dsh-client-product-analytics": "0.2.1-rc.3"
98
98
  },
99
99
  "scripts": {
100
100
  "bundle": "tsdown",