@deepraxis/sdk 0.1.1-dev.d775f1e → 0.1.1-dev.ed5af3e

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.
@@ -1056,6 +1056,7 @@ export declare function createAgent(transport: Transport): {
1056
1056
  type: "agent";
1057
1057
  updated_at: string;
1058
1058
  version: number;
1059
+ latest_version?: number;
1059
1060
  active_version: number;
1060
1061
  created_by: {
1061
1062
  type: "user";
@@ -1818,7 +1819,7 @@ export declare function createAgent(transport: Transport): {
1818
1819
  } | {
1819
1820
  id: string;
1820
1821
  type: "agent_with_overrides";
1821
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1822
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
1822
1823
  cwd?: string;
1823
1824
  model?: string | {
1824
1825
  id: string;
@@ -1855,7 +1856,7 @@ export declare function createAgent(transport: Transport): {
1855
1856
  } | {
1856
1857
  id: string;
1857
1858
  type: "agent_with_overrides";
1858
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1859
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
1859
1860
  cwd?: string;
1860
1861
  model?: string | {
1861
1862
  id: string;
@@ -1893,7 +1894,7 @@ export declare function createAgent(transport: Transport): {
1893
1894
  } | {
1894
1895
  id: string;
1895
1896
  type: "agent_with_overrides";
1896
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1897
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
1897
1898
  cwd?: string;
1898
1899
  model?: string | {
1899
1900
  id: string;
@@ -1932,7 +1933,7 @@ export declare function createAgent(transport: Transport): {
1932
1933
  } | {
1933
1934
  id: string;
1934
1935
  type: "agent_with_overrides";
1935
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1936
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
1936
1937
  cwd?: string;
1937
1938
  model?: string | {
1938
1939
  id: string;
@@ -1969,7 +1970,7 @@ export declare function createAgent(transport: Transport): {
1969
1970
  } | {
1970
1971
  id: string;
1971
1972
  type: "agent_with_overrides";
1972
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1973
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
1973
1974
  cwd?: string;
1974
1975
  model?: string | {
1975
1976
  id: string;
@@ -2010,7 +2011,7 @@ export declare function createAgent(transport: Transport): {
2010
2011
  } | {
2011
2012
  id: string;
2012
2013
  type: "agent_with_overrides";
2013
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2014
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2014
2015
  cwd?: string;
2015
2016
  model?: string | {
2016
2017
  id: string;
@@ -2048,7 +2049,7 @@ export declare function createAgent(transport: Transport): {
2048
2049
  } | {
2049
2050
  id: string;
2050
2051
  type: "agent_with_overrides";
2051
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2052
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2052
2053
  cwd?: string;
2053
2054
  model?: string | {
2054
2055
  id: string;
@@ -2308,6 +2309,7 @@ export declare function createAgent(transport: Transport): {
2308
2309
  run_id: string | null;
2309
2310
  message_id?: string;
2310
2311
  } | {
2312
+ full_access_available?: boolean;
2311
2313
  id: string;
2312
2314
  input: Types.AgentManaged197;
2313
2315
  mcp_server_name: string;
@@ -2330,6 +2332,17 @@ export declare function createAgent(transport: Transport): {
2330
2332
  };
2331
2333
  source?: "app" | "codemode";
2332
2334
  parent_tool_use_id?: string;
2335
+ user_once?: true;
2336
+ guarded_rule?: string;
2337
+ permission_suggestions?: Array<{
2338
+ type: "add_rules";
2339
+ behavior: "allow";
2340
+ destination: "agent" | "session";
2341
+ rules: Array<{
2342
+ tool_name: string;
2343
+ rule_content: string;
2344
+ }>;
2345
+ }>;
2333
2346
  title?: string;
2334
2347
  input_titles?: {
2335
2348
  [key: string]: string;
@@ -2348,6 +2361,7 @@ export declare function createAgent(transport: Transport): {
2348
2361
  };
2349
2362
  source?: "app" | "codemode";
2350
2363
  } | {
2364
+ full_access_available?: boolean;
2351
2365
  id: string;
2352
2366
  input: Types.AgentManaged206;
2353
2367
  name: string;
@@ -2357,6 +2371,17 @@ export declare function createAgent(transport: Transport): {
2357
2371
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2358
2372
  session_thread_id?: null | string;
2359
2373
  run_id: string | null;
2374
+ user_once?: true;
2375
+ guarded_rule?: string;
2376
+ permission_suggestions?: Array<{
2377
+ type: "add_rules";
2378
+ behavior: "allow";
2379
+ destination: "agent" | "session";
2380
+ rules: Array<{
2381
+ tool_name: string;
2382
+ rule_content: string;
2383
+ }>;
2384
+ }>;
2360
2385
  } | {
2361
2386
  id: string;
2362
2387
  processed_at: string;
@@ -2377,6 +2402,9 @@ export declare function createAgent(transport: Transport): {
2377
2402
  type: "session.status_idle";
2378
2403
  run_id: string | null;
2379
2404
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2405
+ permission_mode_version?: number;
2406
+ previous_permission_mode?: string | null;
2407
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2380
2408
  id: string;
2381
2409
  processed_at: string;
2382
2410
  type: "session.updated";
@@ -2998,10 +3026,10 @@ export declare function createAgent(transport: Transport): {
2998
3026
  web_fetch_requests?: number;
2999
3027
  web_search_requests?: number;
3000
3028
  };
3001
- runtime_cost?: {
3002
- amount: string;
3003
- currency: "USD";
3029
+ cost_by_product?: {
3030
+ [key: string]: string;
3004
3031
  };
3032
+ subagent_cost_micro_usd?: number;
3005
3033
  };
3006
3034
  vault_ids: Array<string>;
3007
3035
  deployment_id?: null | string;
@@ -3288,6 +3316,7 @@ export declare function createAgent(transport: Transport): {
3288
3316
  run_id: string | null;
3289
3317
  message_id?: string;
3290
3318
  } | {
3319
+ full_access_available?: boolean;
3291
3320
  id: string;
3292
3321
  input: Types.AgentManaged197;
3293
3322
  mcp_server_name: string;
@@ -3310,6 +3339,17 @@ export declare function createAgent(transport: Transport): {
3310
3339
  };
3311
3340
  };
3312
3341
  source?: "app" | "codemode";
3342
+ user_once?: true;
3343
+ guarded_rule?: string;
3344
+ permission_suggestions?: Array<{
3345
+ type: "add_rules";
3346
+ behavior: "allow";
3347
+ destination: "agent" | "session";
3348
+ rules: Array<{
3349
+ tool_name: string;
3350
+ rule_content: string;
3351
+ }>;
3352
+ }>;
3313
3353
  title?: string;
3314
3354
  input_titles?: {
3315
3355
  [key: string]: string;
@@ -3328,6 +3368,7 @@ export declare function createAgent(transport: Transport): {
3328
3368
  };
3329
3369
  source?: "app" | "codemode";
3330
3370
  } | {
3371
+ full_access_available?: boolean;
3331
3372
  id: string;
3332
3373
  input: Types.AgentManaged206;
3333
3374
  name: string;
@@ -3337,6 +3378,17 @@ export declare function createAgent(transport: Transport): {
3337
3378
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3338
3379
  session_thread_id?: null | string;
3339
3380
  run_id: string | null;
3381
+ user_once?: true;
3382
+ guarded_rule?: string;
3383
+ permission_suggestions?: Array<{
3384
+ type: "add_rules";
3385
+ behavior: "allow";
3386
+ destination: "agent" | "session";
3387
+ rules: Array<{
3388
+ tool_name: string;
3389
+ rule_content: string;
3390
+ }>;
3391
+ }>;
3340
3392
  } | {
3341
3393
  id: string;
3342
3394
  processed_at: string;
@@ -3357,6 +3409,9 @@ export declare function createAgent(transport: Transport): {
3357
3409
  type: "session.status_idle";
3358
3410
  run_id: string | null;
3359
3411
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3412
+ permission_mode_version?: number;
3413
+ previous_permission_mode?: string | null;
3414
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3360
3415
  id: string;
3361
3416
  processed_at: string;
3362
3417
  type: "session.updated";
@@ -3625,6 +3680,13 @@ export declare function createAutomation(transport: Transport): {
3625
3680
  hooks: {
3626
3681
  send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
3627
3682
  };
3683
+ humanTasks: {
3684
+ cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
3685
+ delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
3686
+ list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
3687
+ respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
3688
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
3689
+ };
3628
3690
  resolve: {
3629
3691
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
3630
3692
  };
@@ -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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.1.1-dev.d775f1e",
3
+ "version": "0.1.1-dev.ed5af3e",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {