@deepseek-ai/dsh-api-remotes 0.2.1-alpha.4 → 0.2.1-alpha.5

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 +14 -22
  2. package/package.json +41 -41
package/lib/client.js CHANGED
@@ -1517,12 +1517,13 @@ window.__ModuleLoader__.load({
1517
1517
  const _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_result$schema = () => _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_result$schema$value ??= zod.z.union([zod.z.literal(null), zod.z.object({
1518
1518
  "accountId": zod.z.string().readonly(),
1519
1519
  "bonuses": zod.z.array(zod.z.object({
1520
+ "title": zod.z.string().readonly().optional().describe("Server-localized plain-text title; absent responses use the localized bonus title."),
1520
1521
  "orderId": zod.z.string().readonly(),
1521
- "campaign": zod.z.string().readonly(),
1522
- "amount": zod.z.string().readonly().describe("Granted decimal amount, preserving server precision; never the remaining balance."),
1523
- "currency": zod.z.union([zod.z.literal("CNY"), zod.z.literal("USD")]).readonly(),
1524
- "grantedAt": zod.z.string().readonly().describe("Grant time as supplied by Platform."),
1525
- "expiresAt": zod.z.string().readonly().describe("Expiry as supplied by Platform."),
1522
+ "campaign": zod.z.json().readonly().optional().describe("Optional Platform metadata, forwarded without validation."),
1523
+ "amount": zod.z.json().readonly().optional(),
1524
+ "currency": zod.z.json().readonly().optional(),
1525
+ "grantedAt": zod.z.json().readonly().optional(),
1526
+ "expiresAt": zod.z.string().readonly().describe("Platform expiry timestamp; an empty string means the notice never expires."),
1526
1527
  "message": zod.z.string().readonly().describe("Server-localized plain text ready for display.")
1527
1528
  })).readonly()
1528
1529
  })]);
@@ -2297,23 +2298,18 @@ window.__ModuleLoader__.load({
2297
2298
  "items": {
2298
2299
  "type": "object",
2299
2300
  "properties": {
2300
- "orderId": { "type": "string" },
2301
- "campaign": { "type": "string" },
2302
- "amount": {
2303
- "type": "string",
2304
- "description": "Granted decimal amount, preserving server precision; never the remaining balance."
2305
- },
2306
- "currency": {
2307
- "type": "string",
2308
- "enum": ["CNY", "USD"]
2309
- },
2310
- "grantedAt": {
2301
+ "title": {
2311
2302
  "type": "string",
2312
- "description": "Grant time as supplied by Platform."
2303
+ "description": "Server-localized plain-text title; absent responses use the localized bonus title."
2313
2304
  },
2305
+ "orderId": { "type": "string" },
2306
+ "campaign": { "description": "Optional Platform metadata, forwarded without validation." },
2307
+ "amount": {},
2308
+ "currency": {},
2309
+ "grantedAt": {},
2314
2310
  "expiresAt": {
2315
2311
  "type": "string",
2316
- "description": "Expiry as supplied by Platform."
2312
+ "description": "Platform expiry timestamp; an empty string means the notice never expires."
2317
2313
  },
2318
2314
  "message": {
2319
2315
  "type": "string",
@@ -2322,10 +2318,6 @@ window.__ModuleLoader__.load({
2322
2318
  },
2323
2319
  "required": [
2324
2320
  "orderId",
2325
- "campaign",
2326
- "amount",
2327
- "currency",
2328
- "grantedAt",
2329
2321
  "expiresAt",
2330
2322
  "message"
2331
2323
  ],
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-alpha.4",
4
+ "version": "0.2.1-alpha.5",
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-alpha.4",
52
- "@deepseek-ai/dsh-util-values": "0.2.1-alpha.4"
51
+ "@deepseek-ai/dsh-deque": "0.2.1-alpha.5",
52
+ "@deepseek-ai/dsh-util-values": "0.2.1-alpha.5"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@deepseek-ai/cordis": "~4.0.5-alpha.2",
56
- "@deepseek-ai/dsh-scope": "0.2.1-alpha.4"
56
+ "@deepseek-ai/dsh-scope": "0.2.1-alpha.5"
57
57
  },
58
58
  "devDependencies": {
59
- "@deepseek-ai/dsh-agent": "0.2.1-alpha.4",
60
- "@deepseek-ai/dsh-agent-preset-registry": "0.2.1-alpha.4",
61
- "@deepseek-ai/dsh-api-gateway": "0.2.1-alpha.4",
62
- "@deepseek-ai/dsh-api-job-controller": "0.2.1-alpha.4",
63
- "@deepseek-ai/dsh-api-session-controller": "0.2.1-alpha.4",
64
- "@deepseek-ai/dsh-api-settings-controller": "0.2.1-alpha.4",
65
- "@deepseek-ai/dsh-api-workspace-controller": "0.2.1-alpha.4",
66
- "@deepseek-ai/dsh-api-workspace-files": "0.2.1-alpha.4",
67
- "@deepseek-ai/dsh-client-connection": "0.2.1-alpha.4",
68
- "@deepseek-ai/dsh-client-file-upload": "0.2.1-alpha.4",
69
- "@deepseek-ai/dsh-commands": "0.2.1-alpha.4",
70
- "@deepseek-ai/dsh-cordis-host-runner": "0.2.1-alpha.4",
71
- "@deepseek-ai/dsh-credentials": "0.2.1-alpha.4",
72
- "@deepseek-ai/dsh-file-reference": "0.2.1-alpha.4",
73
- "@deepseek-ai/dsh-goal": "0.2.1-alpha.4",
74
- "@deepseek-ai/dsh-host-plugin-inventory": "0.2.1-alpha.4",
75
- "@deepseek-ai/dsh-llm": "0.2.1-alpha.4",
76
- "@deepseek-ai/dsh-message-feedback": "0.2.1-alpha.4",
77
- "@deepseek-ai/dsh-permission-presets": "0.2.1-alpha.4",
78
- "@deepseek-ai/dsh-schedule": "0.2.1-alpha.4",
79
- "@deepseek-ai/dsh-scope": "0.2.1-alpha.4",
80
- "@deepseek-ai/dsh-session": "0.2.1-alpha.4",
81
- "@deepseek-ai/dsh-session-reference": "0.2.1-alpha.4",
82
- "@deepseek-ai/dsh-settings": "0.2.1-alpha.4",
83
- "@deepseek-ai/dsh-subagent": "0.2.1-alpha.4",
84
- "@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.4",
85
- "@deepseek-ai/dsh-user-approval": "0.2.1-alpha.4",
86
- "@deepseek-ai/dsh-user-questions": "0.2.1-alpha.4",
59
+ "@deepseek-ai/dsh-agent": "0.2.1-alpha.5",
60
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.1-alpha.5",
61
+ "@deepseek-ai/dsh-api-gateway": "0.2.1-alpha.5",
62
+ "@deepseek-ai/dsh-api-job-controller": "0.2.1-alpha.5",
63
+ "@deepseek-ai/dsh-api-session-controller": "0.2.1-alpha.5",
64
+ "@deepseek-ai/dsh-api-settings-controller": "0.2.1-alpha.5",
65
+ "@deepseek-ai/dsh-api-workspace-controller": "0.2.1-alpha.5",
66
+ "@deepseek-ai/dsh-api-workspace-files": "0.2.1-alpha.5",
67
+ "@deepseek-ai/dsh-client-connection": "0.2.1-alpha.5",
68
+ "@deepseek-ai/dsh-client-file-upload": "0.2.1-alpha.5",
69
+ "@deepseek-ai/dsh-commands": "0.2.1-alpha.5",
70
+ "@deepseek-ai/dsh-cordis-host-runner": "0.2.1-alpha.5",
71
+ "@deepseek-ai/dsh-credentials": "0.2.1-alpha.5",
72
+ "@deepseek-ai/dsh-file-reference": "0.2.1-alpha.5",
73
+ "@deepseek-ai/dsh-goal": "0.2.1-alpha.5",
74
+ "@deepseek-ai/dsh-host-plugin-inventory": "0.2.1-alpha.5",
75
+ "@deepseek-ai/dsh-llm": "0.2.1-alpha.5",
76
+ "@deepseek-ai/dsh-message-feedback": "0.2.1-alpha.5",
77
+ "@deepseek-ai/dsh-permission-presets": "0.2.1-alpha.5",
78
+ "@deepseek-ai/dsh-schedule": "0.2.1-alpha.5",
79
+ "@deepseek-ai/dsh-scope": "0.2.1-alpha.5",
80
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.5",
81
+ "@deepseek-ai/dsh-session-reference": "0.2.1-alpha.5",
82
+ "@deepseek-ai/dsh-settings": "0.2.1-alpha.5",
83
+ "@deepseek-ai/dsh-subagent": "0.2.1-alpha.5",
84
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.5",
85
+ "@deepseek-ai/dsh-user-approval": "0.2.1-alpha.5",
86
+ "@deepseek-ai/dsh-user-questions": "0.2.1-alpha.5",
87
87
  "@deepseek-ai/cordis": "~4.0.5-alpha.2",
88
88
  "zod": "4.4.3",
89
- "@deepseek-ai/dsh-command-feedback": "0.2.1-alpha.4",
90
- "@deepseek-ai/dsh-api-terminal-controller": "0.2.1-alpha.4",
91
- "@deepseek-ai/dsh-plugin-manager": "0.2.1-alpha.4",
92
- "@deepseek-ai/dsh-plugin-market": "0.2.1-alpha.4",
93
- "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.1-alpha.4",
94
- "@deepseek-ai/dsh-office-to-pdf": "0.2.1-alpha.4",
95
- "@deepseek-ai/dsh-api-account-controller": "0.2.1-alpha.4",
96
- "@deepseek-ai/dsh-deepseek-account": "0.2.1-alpha.4",
97
- "@deepseek-ai/dsh-client-product-analytics": "0.2.1-alpha.4"
89
+ "@deepseek-ai/dsh-command-feedback": "0.2.1-alpha.5",
90
+ "@deepseek-ai/dsh-api-terminal-controller": "0.2.1-alpha.5",
91
+ "@deepseek-ai/dsh-plugin-manager": "0.2.1-alpha.5",
92
+ "@deepseek-ai/dsh-plugin-market": "0.2.1-alpha.5",
93
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.1-alpha.5",
94
+ "@deepseek-ai/dsh-office-to-pdf": "0.2.1-alpha.5",
95
+ "@deepseek-ai/dsh-api-account-controller": "0.2.1-alpha.5",
96
+ "@deepseek-ai/dsh-deepseek-account": "0.2.1-alpha.5",
97
+ "@deepseek-ai/dsh-client-product-analytics": "0.2.1-alpha.5"
98
98
  },
99
99
  "scripts": {
100
100
  "bundle": "tsdown",