@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "revision": 32,
3
+ "revision": 33,
4
4
  "config": {
5
5
  "providerConfigRules": {
6
6
  "templateRules": [
@@ -103,55 +103,6 @@
103
103
  "key": "dcode"
104
104
  }
105
105
  }
106
- },
107
- {
108
- "providerId": "account:dcode-start-plan",
109
- "providerName": "Start Plan",
110
- "config": {
111
- "group": "dcode-family",
112
- "builtinModelIds": [
113
- "Raven Flash",
114
- "Raven Max"
115
- ],
116
- "access": {
117
- "type": "zhipu-account",
118
- "mode": "start-plan",
119
- "accountType": "dcode"
120
- },
121
- "api": {
122
- "type": "openai-chat-completions",
123
- "baseUrl": "https://api.dipoleml.com/v1"
124
- },
125
- "logo": {
126
- "type": "builtin",
127
- "key": "start-plan"
128
- }
129
- }
130
- },
131
- {
132
- "providerId": "account:dcode-offpeak-idle-plan",
133
- "providerName": "DipoleML Idle plan",
134
- "config": {
135
- "group": "dcode-family",
136
- "builtinModelIds": [
137
- "Raven Flash",
138
- "Raven Max"
139
- ],
140
- "visibility": "hidden",
141
- "access": {
142
- "type": "zhipu-account",
143
- "mode": "off-peak",
144
- "accountType": "dcode"
145
- },
146
- "api": {
147
- "type": "openai-chat-completions",
148
- "baseUrl": "https://api.dipoleml.com/v1"
149
- },
150
- "logo": {
151
- "type": "builtin",
152
- "key": "dcode"
153
- }
154
- }
155
106
  }
156
107
  ]
157
108
  },
@@ -5,5 +5,5 @@
5
5
  "exports": {
6
6
  ".": "./dist/index.js"
7
7
  },
8
- "version": "1.0.0"
8
+ "version": "1.1.0"
9
9
  }
@@ -381,11 +381,11 @@ export declare const botConfigSchema: z.ZodObject<{
381
381
  id: z.ZodString;
382
382
  name: z.ZodString;
383
383
  provider: z.ZodEnum<{
384
+ telegram: "telegram";
385
+ webhook: "webhook";
384
386
  feishu: "feishu";
385
387
  lark: "lark";
386
388
  weixin: "weixin";
387
- telegram: "telegram";
388
- webhook: "webhook";
389
389
  discord: "discord";
390
390
  wecom: "wecom";
391
391
  }>;
@@ -436,11 +436,11 @@ export declare const botsConfigFileSchema: z.ZodObject<{
436
436
  id: z.ZodString;
437
437
  name: z.ZodString;
438
438
  provider: z.ZodEnum<{
439
+ telegram: "telegram";
440
+ webhook: "webhook";
439
441
  feishu: "feishu";
440
442
  lark: "lark";
441
443
  weixin: "weixin";
442
- telegram: "telegram";
443
- webhook: "webhook";
444
444
  discord: "discord";
445
445
  wecom: "wecom";
446
446
  }>;
@@ -299,8 +299,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
299
299
  summary: z.ZodString;
300
300
  result: z.ZodOptional<z.ZodString>;
301
301
  resultForm: z.ZodOptional<z.ZodEnum<{
302
- prose: "prose";
303
302
  json: "json";
303
+ prose: "prose";
304
304
  }>>;
305
305
  resultTruncated: z.ZodOptional<z.ZodLiteral<true>>;
306
306
  error: z.ZodOptional<z.ZodString>;
@@ -466,8 +466,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
466
466
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
467
467
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
468
468
  editDisposition: z.ZodOptional<z.ZodEnum<{
469
- rewind: "rewind";
470
469
  fork: "fork";
470
+ rewind: "rewind";
471
471
  }>>;
472
472
  }, z.core.$strip>>;
473
473
  }, z.core.$strip>, z.ZodObject<{
@@ -475,12 +475,12 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
475
475
  text: z.ZodString;
476
476
  epilogueStart: z.ZodOptional<z.ZodNumber>;
477
477
  origin: z.ZodEnum<{
478
+ synthetic: "synthetic";
478
479
  backgroundResult: "backgroundResult";
479
480
  goalContinuation: "goalContinuation";
480
481
  workflowLaunch: "workflowLaunch";
481
482
  realUser: "realUser";
482
483
  mailbox: "mailbox";
483
- synthetic: "synthetic";
484
484
  }>;
485
485
  originMeta: z.ZodOptional<z.ZodObject<{
486
486
  backgroundSource: z.ZodOptional<z.ZodEnum<{
@@ -619,8 +619,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
619
619
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
620
620
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
621
621
  editDisposition: z.ZodOptional<z.ZodEnum<{
622
- rewind: "rewind";
623
622
  fork: "fork";
623
+ rewind: "rewind";
624
624
  }>>;
625
625
  }, z.core.$strip>>;
626
626
  }, z.core.$strip>, z.ZodObject<{
@@ -630,8 +630,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
630
630
  state: z.ZodEnum<{
631
631
  failed: "failed";
632
632
  streaming: "streaming";
633
- interrupted: "interrupted";
634
633
  complete: "complete";
634
+ interrupted: "interrupted";
635
635
  }>;
636
636
  model: z.ZodOptional<z.ZodString>;
637
637
  feedback: z.ZodOptional<z.ZodEnum<{
@@ -651,8 +651,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
651
651
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
652
652
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
653
653
  editDisposition: z.ZodOptional<z.ZodEnum<{
654
- rewind: "rewind";
655
654
  fork: "fork";
655
+ rewind: "rewind";
656
656
  }>>;
657
657
  }, z.core.$strip>>;
658
658
  }, z.core.$strip>, z.ZodObject<{
@@ -661,8 +661,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
661
661
  text: z.ZodString;
662
662
  state: z.ZodEnum<{
663
663
  streaming: "streaming";
664
- interrupted: "interrupted";
665
664
  complete: "complete";
665
+ interrupted: "interrupted";
666
666
  }>;
667
667
  durationMs: z.ZodOptional<z.ZodNumber>;
668
668
  rowId: z.ZodNumber;
@@ -678,8 +678,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
678
678
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
679
679
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
680
680
  editDisposition: z.ZodOptional<z.ZodEnum<{
681
- rewind: "rewind";
682
681
  fork: "fork";
682
+ rewind: "rewind";
683
683
  }>>;
684
684
  }, z.core.$strip>>;
685
685
  }, z.core.$strip>, z.ZodObject<{
@@ -688,10 +688,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
688
688
  toolCallId: z.ZodString;
689
689
  toolName: z.ZodString;
690
690
  status: z.ZodEnum<{
691
- running: "running";
692
691
  error: "error";
693
692
  success: "success";
694
693
  cancelled: "cancelled";
694
+ running: "running";
695
695
  inputStreaming: "inputStreaming";
696
696
  pendingApproval: "pendingApproval";
697
697
  }>;
@@ -741,8 +741,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
741
741
  kind: z.ZodLiteral<"task_output">;
742
742
  retrievalStatus: z.ZodEnum<{
743
743
  success: "success";
744
- not_ready: "not_ready";
745
744
  timeout: "timeout";
745
+ not_ready: "not_ready";
746
746
  }>;
747
747
  taskStatus: z.ZodOptional<z.ZodString>;
748
748
  output: z.ZodOptional<z.ZodString>;
@@ -771,14 +771,14 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
771
771
  platform: z.ZodLiteral<"darwin">;
772
772
  grantOwner: z.ZodString;
773
773
  accessibility: z.ZodEnum<{
774
- stale: "stale";
775
- granted: "granted";
776
774
  denied: "denied";
775
+ granted: "granted";
776
+ stale: "stale";
777
777
  }>;
778
778
  screenRecording: z.ZodEnum<{
779
779
  unknown: "unknown";
780
- granted: "granted";
781
780
  denied: "denied";
781
+ granted: "granted";
782
782
  }>;
783
783
  }, z.core.$strict>>;
784
784
  targetApp: z.ZodOptional<z.ZodObject<{
@@ -808,8 +808,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
808
808
  description: z.ZodOptional<z.ZodString>;
809
809
  unavailable: z.ZodOptional<z.ZodObject<{
810
810
  code: z.ZodEnum<{
811
- quota_exceeded: "quota_exceeded";
812
811
  coding_plan_required: "coding_plan_required";
812
+ quota_exceeded: "quota_exceeded";
813
813
  }>;
814
814
  }, z.core.$strict>>;
815
815
  }, z.core.$strip>, z.ZodObject<{
@@ -894,10 +894,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
894
894
  runId: z.ZodString;
895
895
  label: z.ZodString;
896
896
  status: z.ZodEnum<{
897
+ pending: "pending";
897
898
  completed: "completed";
898
899
  running: "running";
899
900
  stopped: "stopped";
900
- pending: "pending";
901
901
  errored: "errored";
902
902
  }>;
903
903
  stopReason: z.ZodOptional<z.ZodEnum<{
@@ -920,8 +920,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
920
920
  phases: z.ZodOptional<z.ZodArray<z.ZodObject<{
921
921
  name: z.ZodString;
922
922
  state: z.ZodEnum<{
923
- done: "done";
924
923
  current: "current";
924
+ done: "done";
925
925
  ahead: "ahead";
926
926
  unfinished: "unfinished";
927
927
  }>;
@@ -938,10 +938,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
938
938
  state: z.ZodEnum<{
939
939
  failed: "failed";
940
940
  idle: "idle";
941
+ waiting: "waiting";
941
942
  done: "done";
942
943
  unfinished: "unfinished";
943
944
  executing: "executing";
944
- waiting: "waiting";
945
945
  parked: "parked";
946
946
  }>;
947
947
  phaseName: z.ZodOptional<z.ZodString>;
@@ -1006,10 +1006,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1006
1006
  script: "script";
1007
1007
  }>;
1008
1008
  status: z.ZodEnum<{
1009
+ pending: "pending";
1009
1010
  completed: "completed";
1010
1011
  running: "running";
1011
1012
  stopped: "stopped";
1012
- pending: "pending";
1013
1013
  errored: "errored";
1014
1014
  }>;
1015
1015
  stopReason: z.ZodOptional<z.ZodEnum<{
@@ -1093,8 +1093,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1093
1093
  kind: z.ZodLiteral<"task_output">;
1094
1094
  retrievalStatus: z.ZodEnum<{
1095
1095
  success: "success";
1096
- not_ready: "not_ready";
1097
1096
  timeout: "timeout";
1097
+ not_ready: "not_ready";
1098
1098
  }>;
1099
1099
  taskStatus: z.ZodOptional<z.ZodString>;
1100
1100
  output: z.ZodOptional<z.ZodString>;
@@ -1112,8 +1112,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1112
1112
  description: z.ZodOptional<z.ZodString>;
1113
1113
  unavailable: z.ZodOptional<z.ZodObject<{
1114
1114
  code: z.ZodEnum<{
1115
- quota_exceeded: "quota_exceeded";
1116
1115
  coding_plan_required: "coding_plan_required";
1116
+ quota_exceeded: "quota_exceeded";
1117
1117
  }>;
1118
1118
  }, z.core.$strict>>;
1119
1119
  }, z.core.$strict>, z.ZodObject<{
@@ -1198,10 +1198,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1198
1198
  runId: z.ZodString;
1199
1199
  label: z.ZodString;
1200
1200
  status: z.ZodEnum<{
1201
+ pending: "pending";
1201
1202
  completed: "completed";
1202
1203
  running: "running";
1203
1204
  stopped: "stopped";
1204
- pending: "pending";
1205
1205
  errored: "errored";
1206
1206
  }>;
1207
1207
  stopReason: z.ZodOptional<z.ZodEnum<{
@@ -1224,8 +1224,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1224
1224
  phases: z.ZodOptional<z.ZodArray<z.ZodObject<{
1225
1225
  name: z.ZodString;
1226
1226
  state: z.ZodEnum<{
1227
- done: "done";
1228
1227
  current: "current";
1228
+ done: "done";
1229
1229
  ahead: "ahead";
1230
1230
  unfinished: "unfinished";
1231
1231
  }>;
@@ -1242,10 +1242,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1242
1242
  state: z.ZodEnum<{
1243
1243
  failed: "failed";
1244
1244
  idle: "idle";
1245
+ waiting: "waiting";
1245
1246
  done: "done";
1246
1247
  unfinished: "unfinished";
1247
1248
  executing: "executing";
1248
- waiting: "waiting";
1249
1249
  parked: "parked";
1250
1250
  }>;
1251
1251
  phaseName: z.ZodOptional<z.ZodString>;
@@ -1310,10 +1310,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1310
1310
  script: "script";
1311
1311
  }>;
1312
1312
  status: z.ZodEnum<{
1313
+ pending: "pending";
1313
1314
  completed: "completed";
1314
1315
  running: "running";
1315
1316
  stopped: "stopped";
1316
- pending: "pending";
1317
1317
  errored: "errored";
1318
1318
  }>;
1319
1319
  stopReason: z.ZodOptional<z.ZodEnum<{
@@ -1410,8 +1410,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1410
1410
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
1411
1411
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
1412
1412
  editDisposition: z.ZodOptional<z.ZodEnum<{
1413
- rewind: "rewind";
1414
1413
  fork: "fork";
1414
+ rewind: "rewind";
1415
1415
  }>>;
1416
1416
  }, z.core.$strip>>;
1417
1417
  }, z.core.$strip>, z.ZodObject<{
@@ -1447,8 +1447,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1447
1447
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
1448
1448
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
1449
1449
  editDisposition: z.ZodOptional<z.ZodEnum<{
1450
- rewind: "rewind";
1451
1450
  fork: "fork";
1451
+ rewind: "rewind";
1452
1452
  }>>;
1453
1453
  }, z.core.$strip>>;
1454
1454
  }, z.core.$strip>, z.ZodObject<{
@@ -1457,9 +1457,9 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1457
1457
  subagentType: z.ZodString;
1458
1458
  status: z.ZodEnum<{
1459
1459
  failed: "failed";
1460
- running: "running";
1461
1460
  success: "success";
1462
1461
  cancelled: "cancelled";
1462
+ running: "running";
1463
1463
  }>;
1464
1464
  summaryText: z.ZodString;
1465
1465
  childSessionId: z.ZodOptional<z.ZodString>;
@@ -1480,8 +1480,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1480
1480
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
1481
1481
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
1482
1482
  editDisposition: z.ZodOptional<z.ZodEnum<{
1483
- rewind: "rewind";
1484
1483
  fork: "fork";
1484
+ rewind: "rewind";
1485
1485
  }>>;
1486
1486
  }, z.core.$strip>>;
1487
1487
  }, z.core.$strip>, z.ZodObject<{
@@ -1498,8 +1498,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1498
1498
  }>;
1499
1499
  hookCount: z.ZodNumber;
1500
1500
  state: z.ZodEnum<{
1501
- completed: "completed";
1502
1501
  failed: "failed";
1502
+ completed: "completed";
1503
1503
  running: "running";
1504
1504
  }>;
1505
1505
  startedAt: z.ZodNumber;
@@ -1516,8 +1516,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1516
1516
  hookIndex: z.ZodNumber;
1517
1517
  didExecute: z.ZodBoolean;
1518
1518
  state: z.ZodEnum<{
1519
- completed: "completed";
1520
1519
  failed: "failed";
1520
+ completed: "completed";
1521
1521
  running: "running";
1522
1522
  }>;
1523
1523
  outcome: z.ZodOptional<z.ZodEnum<{
@@ -1533,8 +1533,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1533
1533
  durationMs: z.ZodOptional<z.ZodNumber>;
1534
1534
  displayName: z.ZodString;
1535
1535
  sourceKind: z.ZodEnum<{
1536
- user: "user";
1537
1536
  project: "project";
1537
+ user: "user";
1538
1538
  plugin: "plugin";
1539
1539
  }>;
1540
1540
  pluginName: z.ZodOptional<z.ZodString>;
@@ -1553,8 +1553,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1553
1553
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
1554
1554
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
1555
1555
  editDisposition: z.ZodOptional<z.ZodEnum<{
1556
- rewind: "rewind";
1557
1556
  fork: "fork";
1557
+ rewind: "rewind";
1558
1558
  }>>;
1559
1559
  }, z.core.$strip>>;
1560
1560
  }, z.core.$strip>, z.ZodObject<{
@@ -1568,14 +1568,14 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1568
1568
  marker: z.ZodUnion<readonly [z.ZodObject<{
1569
1569
  type: z.ZodLiteral<"compact">;
1570
1570
  origin: z.ZodEnum<{
1571
- manual: "manual";
1572
1571
  auto: "auto";
1572
+ manual: "manual";
1573
1573
  }>;
1574
1574
  status: z.ZodEnum<{
1575
1575
  failed: "failed";
1576
- running: "running";
1577
1576
  success: "success";
1578
1577
  cancelled: "cancelled";
1578
+ running: "running";
1579
1579
  noop: "noop";
1580
1580
  }>;
1581
1581
  tokensBefore: z.ZodOptional<z.ZodNumber>;
@@ -1638,8 +1638,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1638
1638
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
1639
1639
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
1640
1640
  editDisposition: z.ZodOptional<z.ZodEnum<{
1641
- rewind: "rewind";
1642
1641
  fork: "fork";
1642
+ rewind: "rewind";
1643
1643
  }>>;
1644
1644
  }, z.core.$strip>>;
1645
1645
  }, z.core.$strip>], "kind">>;