@dipoleml/dcode-cli 1.0.0 → 1.1.0
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/dist/dcode.cjs +808 -581
- package/dist/provider/dcode-builtin.json +1 -50
- package/node_modules/@dcode/model-option-map/package.json +1 -1
- package/node_modules/@dcode/shared/dist/bots.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/conversation-share.d.ts +35 -35
- package/node_modules/@dcode/shared/dist/dcode-protocol/index.d.ts +284 -284
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.d.ts +36 -36
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/controller.d.ts +70 -70
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.d.ts +985 -985
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.js +4 -0
- package/node_modules/@dcode/shared/dist/protocol.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/validation.d.ts +109 -109
- package/node_modules/@dcode/shared/dist/validationAppSettings.d.ts +7 -7
- package/node_modules/@dcode/shared/package.json +1 -1
- package/node_modules/@dcode/tui/dist/index.js +2 -2
- package/package.json +3 -3
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const appSettingsOccupationEnum: z.ZodEnum<{
|
|
3
|
-
other: "other";
|
|
4
3
|
office: "office";
|
|
5
4
|
developer: "developer";
|
|
6
5
|
independent: "independent";
|
|
@@ -14,6 +13,7 @@ export declare const appSettingsOccupationEnum: z.ZodEnum<{
|
|
|
14
13
|
finance: "finance";
|
|
15
14
|
accounting: "accounting";
|
|
16
15
|
legal: "legal";
|
|
16
|
+
other: "other";
|
|
17
17
|
}>;
|
|
18
18
|
export declare const localeSchema: z.ZodEnum<{
|
|
19
19
|
"zh-CN": "zh-CN";
|
|
@@ -149,7 +149,6 @@ export declare const appSettingsSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
149
149
|
providerFamilyDomainMigrated: z.ZodDefault<z.ZodBoolean>;
|
|
150
150
|
nativeSearchEnhancementsEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
151
151
|
onboardingOccupation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
152
|
-
other: "other";
|
|
153
152
|
office: "office";
|
|
154
153
|
developer: "developer";
|
|
155
154
|
independent: "independent";
|
|
@@ -163,6 +162,7 @@ export declare const appSettingsSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
163
162
|
finance: "finance";
|
|
164
163
|
accounting: "accounting";
|
|
165
164
|
legal: "legal";
|
|
165
|
+
other: "other";
|
|
166
166
|
}>>>;
|
|
167
167
|
proactiveSuggestionsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
168
168
|
memoryEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -204,8 +204,8 @@ export declare const appSettingsSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
204
204
|
}, z.core.$strip>], "kind">;
|
|
205
205
|
lastOpenedAt: z.ZodNumber;
|
|
206
206
|
lastConnectionStatus: z.ZodEnum<{
|
|
207
|
-
failed: "failed";
|
|
208
207
|
connected: "connected";
|
|
208
|
+
failed: "failed";
|
|
209
209
|
}>;
|
|
210
210
|
lastConnectionError: z.ZodOptional<z.ZodString>;
|
|
211
211
|
}, z.core.$strip>], "kind">>>;
|
|
@@ -228,8 +228,8 @@ export declare const appSettingsSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
228
228
|
receivePreviewUpdates: z.ZodDefault<z.ZodBoolean>;
|
|
229
229
|
autoDownloadAndInstallUpdates: z.ZodDefault<z.ZodBoolean>;
|
|
230
230
|
skippedElectronUpdateVersions: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
231
|
-
preview: "preview";
|
|
232
231
|
stable: "stable";
|
|
232
|
+
preview: "preview";
|
|
233
233
|
}> & z.core.$partial, z.ZodString>>;
|
|
234
234
|
settingsSyncFirstRunPromptHandled: z.ZodOptional<z.ZodBoolean>;
|
|
235
235
|
dcodeEndpointOrigin: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>>;
|
|
@@ -339,7 +339,6 @@ export declare const appSettingsPatchSchema: z.ZodObject<{
|
|
|
339
339
|
providerFamilyDomainMigrated: z.ZodOptional<z.ZodBoolean>;
|
|
340
340
|
nativeSearchEnhancementsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
341
341
|
onboardingOccupation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
342
|
-
other: "other";
|
|
343
342
|
office: "office";
|
|
344
343
|
developer: "developer";
|
|
345
344
|
independent: "independent";
|
|
@@ -353,6 +352,7 @@ export declare const appSettingsPatchSchema: z.ZodObject<{
|
|
|
353
352
|
finance: "finance";
|
|
354
353
|
accounting: "accounting";
|
|
355
354
|
legal: "legal";
|
|
355
|
+
other: "other";
|
|
356
356
|
}>>>;
|
|
357
357
|
proactiveSuggestionsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
358
358
|
memoryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -394,8 +394,8 @@ export declare const appSettingsPatchSchema: z.ZodObject<{
|
|
|
394
394
|
}, z.core.$strip>], "kind">;
|
|
395
395
|
lastOpenedAt: z.ZodNumber;
|
|
396
396
|
lastConnectionStatus: z.ZodEnum<{
|
|
397
|
-
failed: "failed";
|
|
398
397
|
connected: "connected";
|
|
398
|
+
failed: "failed";
|
|
399
399
|
}>;
|
|
400
400
|
lastConnectionError: z.ZodOptional<z.ZodString>;
|
|
401
401
|
}, z.core.$strip>], "kind">>>;
|
|
@@ -418,8 +418,8 @@ export declare const appSettingsPatchSchema: z.ZodObject<{
|
|
|
418
418
|
receivePreviewUpdates: z.ZodOptional<z.ZodBoolean>;
|
|
419
419
|
autoDownloadAndInstallUpdates: z.ZodOptional<z.ZodBoolean>;
|
|
420
420
|
skippedElectronUpdateVersions: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
421
|
-
preview: "preview";
|
|
422
421
|
stable: "stable";
|
|
422
|
+
preview: "preview";
|
|
423
423
|
}> & z.core.$partial, z.ZodString>>;
|
|
424
424
|
settingsSyncFirstRunPromptHandled: z.ZodOptional<z.ZodBoolean>;
|
|
425
425
|
dcodeEndpointOrigin: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>>;
|
|
@@ -174,7 +174,7 @@ Slash Commands:
|
|
|
174
174
|
unavailable: "Subagent output unavailable.",
|
|
175
175
|
retry: "Retry",
|
|
176
176
|
more: "Load more",
|
|
177
|
-
pendingMain: "Main conversation needs your input
|
|
177
|
+
pendingMain: "Main conversation needs your input. Return to respond",
|
|
178
178
|
ended: (count2) => `Ended (${count2})`,
|
|
179
179
|
status: {
|
|
180
180
|
running: "running",
|
|
@@ -691,7 +691,7 @@ Slash Commands:
|
|
|
691
691
|
interrupted: "\u8FDB\u7A0B\u5DF2\u9000\u51FA",
|
|
692
692
|
superseded: "\u5DF2\u88AB\u8C03\u6574\u540E\u7684 run \u66FF\u4EE3"
|
|
693
693
|
},
|
|
694
|
-
truncated: "\uFF08\u5DF2\u622A\u65AD\
|
|
694
|
+
truncated: "\uFF08\u5DF2\u622A\u65AD\uFF0C\u5B8C\u6574\u4E8B\u5B9E\u5728 run \u7684\u4E8B\u4EF6\u65E5\u5FD7\u91CC\uFF09",
|
|
695
695
|
interruptedNotice: ({ label, runId }) => `\u5DE5\u4F5C\u6D41 ${label} \u88AB\u6253\u65AD\uFF0C\u53EF\u6062\u590D\uFF1A/dwf resume ${runId}`
|
|
696
696
|
}
|
|
697
697
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dipoleml/dcode-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "DCode: the agentic coding CLI from DipoleML, powered by the raven model family.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dcode",
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
"dependencies": {
|
|
123
123
|
"@dcode/contracts": "0.1.0",
|
|
124
124
|
"@dcode/i18n": "0.1.0",
|
|
125
|
-
"@dcode/model-option-map": "1.
|
|
126
|
-
"@dcode/shared": "1.
|
|
125
|
+
"@dcode/model-option-map": "1.1.0",
|
|
126
|
+
"@dcode/shared": "1.1.0",
|
|
127
127
|
"@dcode/tui": "0.1.0",
|
|
128
128
|
"@mbears/opentui-core": "0.2.15",
|
|
129
129
|
"@mbears/opentui-core-darwin-arm64": "0.2.15",
|