@deepraxis/sdk 0.1.1-dev.61eb886 → 0.1.1-dev.671bb9b

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.
@@ -10,7 +10,7 @@ export declare function createAgent(transport: Transport): {
10
10
  description: null | string;
11
11
  mcp_servers: Array<Types.AgentManaged36>;
12
12
  metadata: Types.AgentManaged37;
13
- model: {
13
+ model?: {
14
14
  id: string;
15
15
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
16
16
  inference_geo?: string;
@@ -19,7 +19,7 @@ export declare function createAgent(transport: Transport): {
19
19
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
20
20
  };
21
21
  };
22
- multiagent: null | Types.AgentManaged39;
22
+ multiagent?: null | Types.AgentManaged39;
23
23
  name: string;
24
24
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
25
25
  system: null | string;
@@ -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" | "assume";
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>;
@@ -169,7 +170,7 @@ export declare function createAgent(transport: Transport): {
169
170
  description: null | string;
170
171
  mcp_servers: Array<Types.AgentManaged36>;
171
172
  metadata: Types.AgentManaged37;
172
- model: {
173
+ model?: {
173
174
  id: string;
174
175
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
175
176
  inference_geo?: string;
@@ -178,7 +179,7 @@ export declare function createAgent(transport: Transport): {
178
179
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
179
180
  };
180
181
  };
181
- multiagent: null | Types.AgentManaged39;
182
+ multiagent?: null | Types.AgentManaged39;
182
183
  name: string;
183
184
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
184
185
  system: null | 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" | "assume";
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>;
@@ -457,7 +459,7 @@ export declare function createAgent(transport: Transport): {
457
459
  description: null | string;
458
460
  mcp_servers: Array<Types.AgentManaged36>;
459
461
  metadata: Types.AgentManaged37;
460
- model: {
462
+ model?: {
461
463
  id: string;
462
464
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
463
465
  inference_geo?: string;
@@ -466,7 +468,7 @@ export declare function createAgent(transport: Transport): {
466
468
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
467
469
  };
468
470
  };
469
- multiagent: null | Types.AgentManaged39;
471
+ multiagent?: null | Types.AgentManaged39;
470
472
  name: string;
471
473
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
472
474
  system: null | 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" | "assume";
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>;
@@ -618,7 +621,7 @@ export declare function createAgent(transport: Transport): {
618
621
  description: null | string;
619
622
  mcp_servers: Array<Types.AgentManaged36>;
620
623
  metadata: Types.AgentManaged37;
621
- model: {
624
+ model?: {
622
625
  id: string;
623
626
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
624
627
  inference_geo?: string;
@@ -627,7 +630,7 @@ export declare function createAgent(transport: Transport): {
627
630
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
628
631
  };
629
632
  };
630
- multiagent: null | Types.AgentManaged39;
633
+ multiagent?: null | Types.AgentManaged39;
631
634
  name: string;
632
635
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
633
636
  system: null | 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" | "assume";
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>;
@@ -864,7 +868,7 @@ export declare function createAgent(transport: Transport): {
864
868
  metadata: {
865
869
  [key: string]: string;
866
870
  };
867
- model: {
871
+ model?: {
868
872
  id: string;
869
873
  effort?: {
870
874
  type: "low";
@@ -883,7 +887,7 @@ export declare function createAgent(transport: Transport): {
883
887
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
884
888
  };
885
889
  };
886
- multiagent: null | {
890
+ multiagent?: null | {
887
891
  agents: Array<{
888
892
  id: string;
889
893
  type: "agent";
@@ -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" | "assume";
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>;
@@ -1200,7 +1205,7 @@ export declare function createAgent(transport: Transport): {
1200
1205
  description: null | string;
1201
1206
  mcp_servers: Array<Types.AgentManaged36>;
1202
1207
  metadata: Types.AgentManaged37;
1203
- model: {
1208
+ model?: {
1204
1209
  id: string;
1205
1210
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1206
1211
  inference_geo?: string;
@@ -1209,7 +1214,7 @@ export declare function createAgent(transport: Transport): {
1209
1214
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1210
1215
  };
1211
1216
  };
1212
- multiagent: null | Types.AgentManaged39;
1217
+ multiagent?: null | Types.AgentManaged39;
1213
1218
  name: string;
1214
1219
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1215
1220
  system: null | 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" | "assume";
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>;
@@ -1361,7 +1367,7 @@ export declare function createAgent(transport: Transport): {
1361
1367
  description: null | string;
1362
1368
  mcp_servers: Array<Types.AgentManaged36>;
1363
1369
  metadata: Types.AgentManaged37;
1364
- model: {
1370
+ model?: {
1365
1371
  id: string;
1366
1372
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1367
1373
  inference_geo?: string;
@@ -1370,7 +1376,7 @@ export declare function createAgent(transport: Transport): {
1370
1376
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1371
1377
  };
1372
1378
  };
1373
- multiagent: null | Types.AgentManaged39;
1379
+ multiagent?: null | Types.AgentManaged39;
1374
1380
  name: string;
1375
1381
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1376
1382
  system: null | 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" | "assume";
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>;
@@ -1522,7 +1529,7 @@ export declare function createAgent(transport: Transport): {
1522
1529
  description: null | string;
1523
1530
  mcp_servers: Array<Types.AgentManaged36>;
1524
1531
  metadata: Types.AgentManaged37;
1525
- model: {
1532
+ model?: {
1526
1533
  id: string;
1527
1534
  effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1528
1535
  inference_geo?: string;
@@ -1531,7 +1538,7 @@ export declare function createAgent(transport: Transport): {
1531
1538
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1532
1539
  };
1533
1540
  };
1534
- multiagent: null | Types.AgentManaged39;
1541
+ multiagent?: null | Types.AgentManaged39;
1535
1542
  name: string;
1536
1543
  skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1537
1544
  system: null | 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" | "assume";
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
  };
@@ -3851,6 +3872,21 @@ export declare function createBrowser(transport: Transport): {
3851
3872
  };
3852
3873
  };
3853
3874
  };
3875
+ export declare function createCanvas(transport: Transport): {
3876
+ canvases: {
3877
+ create: (options?: import("./core/transport.js").CallOptions<Types.CanvasCreateCanvasData> | undefined) => Promise<Types.CanvasCanvas>;
3878
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCanvasData>) => Promise<Types.CanvasDeletedCanvas>;
3879
+ execute: (options: import("./core/transport.js").CallOptions<Types.CanvasExecuteData>) => Promise<Types.CanvasExecuteResult>;
3880
+ images: {
3881
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
3882
+ };
3883
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
3884
+ nodes: {
3885
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
3886
+ };
3887
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
3888
+ };
3889
+ };
3854
3890
  export declare function createDatabase(transport: Transport): {
3855
3891
  databases: {
3856
3892
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
@@ -4013,6 +4049,20 @@ export declare function createMedia(transport: Transport): {
4013
4049
  };
4014
4050
  };
4015
4051
  export declare function createMeta(transport: Transport): {
4052
+ docs: {
4053
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
4054
+ path: string;
4055
+ title: string;
4056
+ url: string;
4057
+ markdown: string;
4058
+ }>;
4059
+ search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
4060
+ path: string;
4061
+ title: string;
4062
+ url: string;
4063
+ snippet: string;
4064
+ }[]>;
4065
+ };
4016
4066
  health: {
4017
4067
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
4018
4068
  };
@@ -5129,6 +5179,7 @@ export declare const resourceFactories: {
5129
5179
  application: typeof createApplication;
5130
5180
  automation: typeof createAutomation;
5131
5181
  browser: typeof createBrowser;
5182
+ canvas: typeof createCanvas;
5132
5183
  database: typeof createDatabase;
5133
5184
  file: typeof createFile;
5134
5185
  knowledge: typeof createKnowledge;
@@ -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
  },
@@ -365,6 +372,23 @@ export function createBrowser(transport) {
365
372
  },
366
373
  };
367
374
  }
375
+ export function createCanvas(transport) {
376
+ return {
377
+ canvases: {
378
+ create: bind(transport, sdk.canvasCreateCanvas),
379
+ delete: bind(transport, sdk.canvasDeleteCanvas),
380
+ execute: bind(transport, sdk.canvasExecute),
381
+ images: {
382
+ list: bind(transport, sdk.canvasListImages),
383
+ },
384
+ list: bindPage(transport, sdk.canvasListCanvases),
385
+ nodes: {
386
+ list: bind(transport, sdk.canvasListNodes),
387
+ },
388
+ retrieve: bind(transport, sdk.canvasRetrieveCanvas),
389
+ },
390
+ };
391
+ }
368
392
  export function createDatabase(transport) {
369
393
  return {
370
394
  databases: {
@@ -526,6 +550,10 @@ export function createMedia(transport) {
526
550
  }
527
551
  export function createMeta(transport) {
528
552
  return {
553
+ docs: {
554
+ retrieve: bind(transport, sdk.metaDocsRetrieve),
555
+ search: bind(transport, sdk.metaDocsSearch),
556
+ },
529
557
  health: {
530
558
  retrieve: bind(transport, sdk.healthCheck),
531
559
  },
@@ -850,6 +878,7 @@ export const resourceFactories = {
850
878
  application: createApplication,
851
879
  automation: createAutomation,
852
880
  browser: createBrowser,
881
+ canvas: createCanvas,
853
882
  database: createDatabase,
854
883
  file: createFile,
855
884
  knowledge: createKnowledge,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.1.1-dev.61eb886",
3
+ "version": "0.1.1-dev.671bb9b",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {