@deepraxis/sdk 0.1.1-dev.39dae15 → 0.1.1-dev.45236ef

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.
@@ -49,7 +49,7 @@ export declare function createAgent(transport: Transport): {
49
49
  readonly verified?: boolean;
50
50
  enabled?: boolean;
51
51
  }>;
52
- kind: "personal" | "service";
52
+ kind: "general" | "personal" | "service";
53
53
  computer_id?: string;
54
54
  subagent_model?: string | null;
55
55
  image_model?: string | null;
@@ -151,6 +151,7 @@ export declare function createAgent(transport: Transport): {
151
151
  mcpServers?: Array<string>;
152
152
  hooks?: Array<string>;
153
153
  };
154
+ idleCompaction?: boolean;
154
155
  } | null;
155
156
  models?: {
156
157
  allowed: Array<string>;
@@ -208,7 +209,7 @@ export declare function createAgent(transport: Transport): {
208
209
  readonly verified?: boolean;
209
210
  enabled?: boolean;
210
211
  }>;
211
- kind: "personal" | "service";
212
+ kind: "general" | "personal" | "service";
212
213
  computer_id?: string;
213
214
  subagent_model?: string | null;
214
215
  image_model?: string | null;
@@ -310,6 +311,7 @@ export declare function createAgent(transport: Transport): {
310
311
  mcpServers?: Array<string>;
311
312
  hooks?: Array<string>;
312
313
  };
314
+ idleCompaction?: boolean;
313
315
  } | null;
314
316
  models?: {
315
317
  allowed: Array<string>;
@@ -496,7 +498,7 @@ export declare function createAgent(transport: Transport): {
496
498
  readonly verified?: boolean;
497
499
  enabled?: boolean;
498
500
  }>;
499
- kind: "personal" | "service";
501
+ kind: "general" | "personal" | "service";
500
502
  computer_id?: string;
501
503
  subagent_model?: string | null;
502
504
  image_model?: string | null;
@@ -598,6 +600,7 @@ export declare function createAgent(transport: Transport): {
598
600
  mcpServers?: Array<string>;
599
601
  hooks?: Array<string>;
600
602
  };
603
+ idleCompaction?: boolean;
601
604
  } | null;
602
605
  models?: {
603
606
  allowed: Array<string>;
@@ -658,7 +661,7 @@ export declare function createAgent(transport: Transport): {
658
661
  readonly verified?: boolean;
659
662
  enabled?: boolean;
660
663
  }>;
661
- kind: "personal" | "service";
664
+ kind: "general" | "personal" | "service";
662
665
  computer_id?: string;
663
666
  subagent_model?: string | null;
664
667
  image_model?: string | null;
@@ -760,6 +763,7 @@ export declare function createAgent(transport: Transport): {
760
763
  mcpServers?: Array<string>;
761
764
  hooks?: Array<string>;
762
765
  };
766
+ idleCompaction?: boolean;
763
767
  } | null;
764
768
  models?: {
765
769
  allowed: Array<string>;
@@ -1079,7 +1083,7 @@ export declare function createAgent(transport: Transport): {
1079
1083
  readonly verified?: boolean;
1080
1084
  enabled?: boolean;
1081
1085
  }>;
1082
- kind: "personal" | "service";
1086
+ kind: "general" | "personal" | "service";
1083
1087
  computer_id?: string;
1084
1088
  subagent_model?: string | null;
1085
1089
  image_model?: string | null;
@@ -1181,6 +1185,7 @@ export declare function createAgent(transport: Transport): {
1181
1185
  mcpServers?: Array<string>;
1182
1186
  hooks?: Array<string>;
1183
1187
  };
1188
+ idleCompaction?: boolean;
1184
1189
  } | null;
1185
1190
  models?: {
1186
1191
  allowed: Array<string>;
@@ -1240,7 +1245,7 @@ export declare function createAgent(transport: Transport): {
1240
1245
  readonly verified?: boolean;
1241
1246
  enabled?: boolean;
1242
1247
  }>;
1243
- kind: "personal" | "service";
1248
+ kind: "general" | "personal" | "service";
1244
1249
  computer_id?: string;
1245
1250
  subagent_model?: string | null;
1246
1251
  image_model?: string | null;
@@ -1342,6 +1347,7 @@ export declare function createAgent(transport: Transport): {
1342
1347
  mcpServers?: Array<string>;
1343
1348
  hooks?: Array<string>;
1344
1349
  };
1350
+ idleCompaction?: boolean;
1345
1351
  } | null;
1346
1352
  models?: {
1347
1353
  allowed: Array<string>;
@@ -1401,7 +1407,7 @@ export declare function createAgent(transport: Transport): {
1401
1407
  readonly verified?: boolean;
1402
1408
  enabled?: boolean;
1403
1409
  }>;
1404
- kind: "personal" | "service";
1410
+ kind: "general" | "personal" | "service";
1405
1411
  computer_id?: string;
1406
1412
  subagent_model?: string | null;
1407
1413
  image_model?: string | null;
@@ -1503,6 +1509,7 @@ export declare function createAgent(transport: Transport): {
1503
1509
  mcpServers?: Array<string>;
1504
1510
  hooks?: Array<string>;
1505
1511
  };
1512
+ idleCompaction?: boolean;
1506
1513
  } | null;
1507
1514
  models?: {
1508
1515
  allowed: Array<string>;
@@ -1562,7 +1569,7 @@ export declare function createAgent(transport: Transport): {
1562
1569
  readonly verified?: boolean;
1563
1570
  enabled?: boolean;
1564
1571
  }>;
1565
- kind: "personal" | "service";
1572
+ kind: "general" | "personal" | "service";
1566
1573
  computer_id?: string;
1567
1574
  subagent_model?: string | null;
1568
1575
  image_model?: string | null;
@@ -1664,6 +1671,7 @@ export declare function createAgent(transport: Transport): {
1664
1671
  mcpServers?: Array<string>;
1665
1672
  hooks?: Array<string>;
1666
1673
  };
1674
+ idleCompaction?: boolean;
1667
1675
  } | null;
1668
1676
  models?: {
1669
1677
  allowed: Array<string>;
@@ -2184,21 +2192,27 @@ export declare function createAgent(transport: Transport): {
2184
2192
  compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
2185
2193
  type: "session_compaction";
2186
2194
  id: string;
2187
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
2195
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2188
2196
  reason?: string;
2189
2197
  } | {
2190
2198
  type: "session_compaction";
2191
2199
  id: string;
2192
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
2200
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2193
2201
  reason?: string;
2194
2202
  }>;
2195
2203
  compactions: {
2196
2204
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
2205
+ active: {
2206
+ type: "session_compaction";
2207
+ id: string;
2208
+ status: "queued" | "running";
2209
+ trigger: "manual" | "auto" | "idle";
2210
+ } | null;
2197
2211
  data: Array<{
2198
2212
  type: "context_compaction";
2199
2213
  id: string;
2200
2214
  event_id: string | null;
2201
- trigger: "auto" | "manual" | "model_downshift";
2215
+ trigger: "auto" | "manual" | "model_downshift" | "idle";
2202
2216
  status: "succeeded" | "failed";
2203
2217
  model: string;
2204
2218
  compacted_message_count: number;
@@ -3192,7 +3206,7 @@ export declare function createAgent(transport: Transport): {
3192
3206
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
3193
3207
  type: "session_compaction";
3194
3208
  id: string;
3195
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
3209
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
3196
3210
  reason?: string;
3197
3211
  }>;
3198
3212
  retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
@@ -3680,6 +3694,13 @@ export declare function createAutomation(transport: Transport): {
3680
3694
  hooks: {
3681
3695
  send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
3682
3696
  };
3697
+ humanTasks: {
3698
+ cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
3699
+ delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
3700
+ list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
3701
+ respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
3702
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
3703
+ };
3683
3704
  resolve: {
3684
3705
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
3685
3706
  };
@@ -4013,6 +4034,20 @@ export declare function createMedia(transport: Transport): {
4013
4034
  };
4014
4035
  };
4015
4036
  export declare function createMeta(transport: Transport): {
4037
+ docs: {
4038
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
4039
+ path: string;
4040
+ title: string;
4041
+ url: string;
4042
+ markdown: string;
4043
+ }>;
4044
+ search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
4045
+ path: string;
4046
+ title: string;
4047
+ url: string;
4048
+ snippet: string;
4049
+ }[]>;
4050
+ };
4016
4051
  health: {
4017
4052
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
4018
4053
  };
@@ -236,6 +236,13 @@ export function createAutomation(transport) {
236
236
  hooks: {
237
237
  send: bind(transport, sdk.automationHooksReceive),
238
238
  },
239
+ humanTasks: {
240
+ cancel: bind(transport, sdk.automationHumanTasksCancel),
241
+ delegate: bind(transport, sdk.automationHumanTasksDelegate),
242
+ list: bindPage(transport, sdk.automationHumanTasksList),
243
+ respond: bind(transport, sdk.automationHumanTasksRespond),
244
+ retrieve: bind(transport, sdk.automationHumanTasksGet),
245
+ },
239
246
  resolve: {
240
247
  retrieve: bind(transport, sdk.automationResolveResolve),
241
248
  },
@@ -526,6 +533,10 @@ export function createMedia(transport) {
526
533
  }
527
534
  export function createMeta(transport) {
528
535
  return {
536
+ docs: {
537
+ retrieve: bind(transport, sdk.metaDocsRetrieve),
538
+ search: bind(transport, sdk.metaDocsSearch),
539
+ },
529
540
  health: {
530
541
  retrieve: bind(transport, sdk.healthCheck),
531
542
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.1.1-dev.39dae15",
3
+ "version": "0.1.1-dev.45236ef",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {