@deepraxis/sdk 0.1.1-dev.7b675c8 → 0.1.1-dev.7bd666d

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.
@@ -657,21 +657,6 @@ export declare function createAgent(transport: Transport): {
657
657
  type: "user.steer";
658
658
  event_id: string;
659
659
  processed_at: string;
660
- } | {
661
- id: string;
662
- type: "user.tool_confirmation";
663
- processed_at: string;
664
- tool_use_id: string;
665
- result: "allow";
666
- answers: {
667
- [key: string]: string;
668
- };
669
- annotations?: {
670
- [key: string]: {
671
- preview?: string;
672
- notes?: string;
673
- };
674
- };
675
660
  }>;
676
661
  next_page: string | null;
677
662
  }>;
@@ -692,21 +677,6 @@ export declare function createAgent(transport: Transport): {
692
677
  type: "user.steer";
693
678
  event_id: string;
694
679
  processed_at: string;
695
- } | {
696
- id: string;
697
- type: "user.tool_confirmation";
698
- processed_at: string;
699
- tool_use_id: string;
700
- result: "allow";
701
- answers: {
702
- [key: string]: string;
703
- };
704
- annotations?: {
705
- [key: string]: {
706
- preview?: string;
707
- notes?: string;
708
- };
709
- };
710
680
  }>;
711
681
  }>;
712
682
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -909,8 +879,9 @@ export declare function createAgent(transport: Transport): {
909
879
  object: "agent_phone";
910
880
  agent_id: string;
911
881
  configured: boolean;
912
- state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
882
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
913
883
  sku: string | null;
884
+ byod_device: string | null;
914
885
  name: string | null;
915
886
  sandbox_id: string | null;
916
887
  lease_ends_at: string | null;
@@ -921,8 +892,9 @@ export declare function createAgent(transport: Transport): {
921
892
  object: "agent_phone";
922
893
  agent_id: string;
923
894
  configured: boolean;
924
- state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
895
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
925
896
  sku: string | null;
897
+ byod_device: string | null;
926
898
  name: string | null;
927
899
  sandbox_id: string | null;
928
900
  lease_ends_at: string | null;
@@ -2402,6 +2374,12 @@ export declare function createAgent(transport: Transport): {
2402
2374
  fallback?: "content";
2403
2375
  skipped?: boolean;
2404
2376
  }>;
2377
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2378
+ path: string;
2379
+ size: number;
2380
+ mtime: string | null;
2381
+ version: string;
2382
+ }>;
2405
2383
  };
2406
2384
  leases: {
2407
2385
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -3718,21 +3696,6 @@ export declare function createAgent(transport: Transport): {
3718
3696
  type: "user.steer";
3719
3697
  event_id: string;
3720
3698
  processed_at: string;
3721
- } | {
3722
- id: string;
3723
- type: "user.tool_confirmation";
3724
- processed_at: string;
3725
- tool_use_id: string;
3726
- result: "allow";
3727
- answers: {
3728
- [key: string]: string;
3729
- };
3730
- annotations?: {
3731
- [key: string]: {
3732
- preview?: string;
3733
- notes?: string;
3734
- };
3735
- };
3736
3699
  }>;
3737
3700
  next_page: string | null;
3738
3701
  }>;
@@ -3753,21 +3716,6 @@ export declare function createAgent(transport: Transport): {
3753
3716
  type: "user.steer";
3754
3717
  event_id: string;
3755
3718
  processed_at: string;
3756
- } | {
3757
- id: string;
3758
- type: "user.tool_confirmation";
3759
- processed_at: string;
3760
- tool_use_id: string;
3761
- result: "allow";
3762
- answers: {
3763
- [key: string]: string;
3764
- };
3765
- annotations?: {
3766
- [key: string]: {
3767
- preview?: string;
3768
- notes?: string;
3769
- };
3770
- };
3771
3719
  }>;
3772
3720
  }>;
3773
3721
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -6079,6 +6027,13 @@ export declare function createDevops(transport: Transport): {
6079
6027
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
6080
6028
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
6081
6029
  };
6030
+ cleanups: {
6031
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6032
+ };
6033
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6034
+ defaultBranch: {
6035
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6036
+ };
6082
6037
  environments: {
6083
6038
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
6084
6039
  targets: {
@@ -6151,6 +6106,7 @@ export declare function createDevops(transport: Transport): {
6151
6106
  promotions: {
6152
6107
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
6153
6108
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6109
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
6154
6110
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
6155
6111
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
6156
6112
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -6165,6 +6121,9 @@ export declare function createDevops(transport: Transport): {
6165
6121
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6166
6122
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6167
6123
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6124
+ reviews: {
6125
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6126
+ };
6168
6127
  };
6169
6128
  releases: {
6170
6129
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
@@ -7075,6 +7034,9 @@ export declare function createOrganization(transport: Transport): {
7075
7034
  update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7076
7035
  updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7077
7036
  };
7037
+ effectiveSpec: {
7038
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
7039
+ };
7078
7040
  events: {
7079
7041
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
7080
7042
  object: "page";
@@ -7357,6 +7319,26 @@ export declare function createOrganization(transport: Transport): {
7357
7319
  updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7358
7320
  updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7359
7321
  };
7322
+ reconcile: {
7323
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7324
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7325
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
7326
+ run: {
7327
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7328
+ };
7329
+ status: {
7330
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
7331
+ };
7332
+ };
7333
+ specs: {
7334
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
7335
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7336
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
7337
+ revisions: {
7338
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
7339
+ };
7340
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7341
+ };
7360
7342
  usage: {
7361
7343
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
7362
7344
  object: "page";
@@ -7388,16 +7370,25 @@ export declare function createRegistry(transport: Transport): {
7388
7370
  packages: {
7389
7371
  git: {
7390
7372
  commits: {
7391
- retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7373
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7392
7374
  };
7393
7375
  files: {
7394
7376
  retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7395
7377
  };
7378
+ refs: {
7379
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7380
+ };
7381
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7396
7382
  retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7383
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7397
7384
  trees: {
7398
7385
  retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7386
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7399
7387
  };
7400
7388
  };
7389
+ gitCredential: {
7390
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7391
+ };
7401
7392
  installations: {
7402
7393
  create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7403
7394
  list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
@@ -7429,6 +7420,79 @@ export declare function createRegistry(transport: Transport): {
7429
7420
  };
7430
7421
  };
7431
7422
  export declare function createSandbox(transport: Transport): {
7423
+ byod: {
7424
+ devices: {
7425
+ disconnect: {
7426
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7427
+ id: string;
7428
+ object: "byod_device";
7429
+ disconnected: true;
7430
+ }>;
7431
+ };
7432
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7433
+ data: Array<{
7434
+ object: "byod_device";
7435
+ id: string;
7436
+ platform: "android" | "macos" | "linux";
7437
+ name: string;
7438
+ model: string;
7439
+ os_version: string;
7440
+ online: boolean;
7441
+ last_seen_at: string | null;
7442
+ created_at: string;
7443
+ capabilities: Array<"display" | "agent">;
7444
+ agent_dirs: Array<string>;
7445
+ allow_bypass: boolean;
7446
+ }>;
7447
+ }>;
7448
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7449
+ object: "byod_device";
7450
+ id: string;
7451
+ platform: "android" | "macos" | "linux";
7452
+ name: string;
7453
+ model: string;
7454
+ os_version: string;
7455
+ online: boolean;
7456
+ last_seen_at: string | null;
7457
+ created_at: string;
7458
+ capabilities: Array<"display" | "agent">;
7459
+ agent_dirs: Array<string>;
7460
+ allow_bypass: boolean;
7461
+ }>;
7462
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7463
+ object: "byod_device";
7464
+ id: string;
7465
+ platform: "android" | "macos" | "linux";
7466
+ name: string;
7467
+ model: string;
7468
+ os_version: string;
7469
+ online: boolean;
7470
+ last_seen_at: string | null;
7471
+ created_at: string;
7472
+ capabilities: Array<"display" | "agent">;
7473
+ agent_dirs: Array<string>;
7474
+ allow_bypass: boolean;
7475
+ }>;
7476
+ };
7477
+ pairings: {
7478
+ claim: {
7479
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7480
+ device_id: string;
7481
+ credential: string;
7482
+ socket_url: string;
7483
+ }>;
7484
+ };
7485
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7486
+ code: string;
7487
+ expires_at: string;
7488
+ qr: string;
7489
+ }>;
7490
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7491
+ organization_name: string;
7492
+ expires_at: string;
7493
+ }>;
7494
+ };
7495
+ };
7432
7496
  events: {
7433
7497
  sandboxes: {
7434
7498
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
@@ -69,6 +69,7 @@ export function createAgent(transport) {
69
69
  list: bind(transport, sdk.computersFilesList),
70
70
  retrieveContent: bind(transport, sdk.computersFilesContent),
71
71
  retrievePreview: bind(transport, sdk.previewComputerFile),
72
+ updateContent: bind(transport, sdk.updateComputerFileContent),
72
73
  },
73
74
  leases: {
74
75
  delete: bind(transport, sdk.releaseComputerLease),
@@ -699,6 +700,13 @@ export function createDevops(transport) {
699
700
  create: bind(transport, sdk.devopsChangesCreate),
700
701
  list: bind(transport, sdk.devopsChangesList),
701
702
  },
703
+ cleanups: {
704
+ list: bind(transport, sdk.devopsCleanupsList),
705
+ },
706
+ create: bind(transport, sdk.devopsProjectsCreate),
707
+ defaultBranch: {
708
+ initialize: bind(transport, sdk.devopsProjectsInitializeDefaultBranch),
709
+ },
702
710
  environments: {
703
711
  list: bind(transport, sdk.devopsEnvironmentsList),
704
712
  targets: {
@@ -771,6 +779,7 @@ export function createDevops(transport) {
771
779
  promotions: {
772
780
  approve: bind(transport, sdk.devopsPromotionsApprove),
773
781
  cancel: bind(transport, sdk.devopsPromotionsCancel),
782
+ checkoutCredential: bind(transport, sdk.devopsPromotionsCheckoutCredential),
774
783
  conclude: bind(transport, sdk.devopsPromotionsConclude),
775
784
  create: bind(transport, sdk.devopsPromotionsCreate),
776
785
  retrieve: bind(transport, sdk.devopsPromotionsGet),
@@ -785,6 +794,9 @@ export function createDevops(transport) {
785
794
  recordVerdict: bind(transport, sdk.devopsPullRequestsRecordVerdict),
786
795
  rerunGate: bind(transport, sdk.devopsPullRequestsRerunGate),
787
796
  retrieve: bind(transport, sdk.devopsPullRequestsGet),
797
+ reviews: {
798
+ create: bind(transport, sdk.devopsPullRequestsReviewsCreate),
799
+ },
788
800
  },
789
801
  releases: {
790
802
  abandon: bind(transport, sdk.devopsReleasesAbandon),
@@ -1187,6 +1199,9 @@ export function createOrganization(transport) {
1187
1199
  update: bind(transport, sdk.reorganizeOrganizationDepartment),
1188
1200
  updateCharter: bind(transport, sdk.amendOrganizationDepartmentCharter),
1189
1201
  },
1202
+ effectiveSpec: {
1203
+ retrieve: bind(transport, sdk.getOrganizationEffectiveSpec),
1204
+ },
1190
1205
  events: {
1191
1206
  list: bind(transport, sdk.listOrganizationEvents),
1192
1207
  retrieve: bind(transport, sdk.getOrganizationEvent),
@@ -1273,6 +1288,26 @@ export function createOrganization(transport) {
1273
1288
  updateLevel: bind(transport, sdk.regradeOrganizationPosition),
1274
1289
  updateManager: bind(transport, sdk.reassignOrganizationPositionManager),
1275
1290
  },
1291
+ reconcile: {
1292
+ pause: bind(transport, sdk.pauseOrganizationReconcile),
1293
+ resume: bind(transport, sdk.resumeOrganizationReconcile),
1294
+ retrievePlan: bind(transport, sdk.planOrganizationReconcile),
1295
+ run: {
1296
+ create: bind(transport, sdk.runOrganizationReconcile),
1297
+ },
1298
+ status: {
1299
+ list: bind(transport, sdk.getOrganizationReconcileStatus),
1300
+ },
1301
+ },
1302
+ specs: {
1303
+ list: bind(transport, sdk.listOrganizationSpecs),
1304
+ retrieve: bind(transport, sdk.getOrganizationSpec),
1305
+ retrieveDiff: bind(transport, sdk.diffOrganizationSpec),
1306
+ revisions: {
1307
+ list: bind(transport, sdk.listOrganizationSpecRevisions),
1308
+ },
1309
+ update: bind(transport, sdk.reviseOrganizationSpec),
1310
+ },
1276
1311
  usage: {
1277
1312
  list: bind(transport, sdk.listOrganizationUsage),
1278
1313
  },
@@ -1292,11 +1327,20 @@ export function createRegistry(transport) {
1292
1327
  files: {
1293
1328
  retrieve: bind(transport, sdk.registryGitFilesRetrieve),
1294
1329
  },
1330
+ refs: {
1331
+ list: bind(transport, sdk.registryGitRefs),
1332
+ },
1333
+ retrieveCompare: bind(transport, sdk.registryGitCompare),
1295
1334
  retrieveLog: bind(transport, sdk.registryGitLog),
1335
+ retrieveResolve: bind(transport, sdk.registryGitResolve),
1296
1336
  trees: {
1297
1337
  retrieve: bind(transport, sdk.registryGitTreesRetrieve),
1338
+ retrieveRecursive: bind(transport, sdk.registryGitTreesRecursive),
1298
1339
  },
1299
1340
  },
1341
+ gitCredential: {
1342
+ create: bind(transport, sdk.registryPackagesGitCredentialCreate),
1343
+ },
1300
1344
  installations: {
1301
1345
  create: bind(transport, sdk.registryPackagesInstallationsCreate),
1302
1346
  list: bind(transport, sdk.registryPackagesInstallationsList),
@@ -1330,6 +1374,23 @@ export function createRegistry(transport) {
1330
1374
  }
1331
1375
  export function createSandbox(transport) {
1332
1376
  return {
1377
+ byod: {
1378
+ devices: {
1379
+ disconnect: {
1380
+ create: bind(transport, sdk.disconnectByodDevice),
1381
+ },
1382
+ list: bind(transport, sdk.listByodDevices),
1383
+ retrieve: bind(transport, sdk.getByodDevice),
1384
+ update: bind(transport, sdk.updateByodDevice),
1385
+ },
1386
+ pairings: {
1387
+ claim: {
1388
+ create: bind(transport, sdk.claimByodPairing),
1389
+ },
1390
+ create: bind(transport, sdk.createByodPairing),
1391
+ retrieve: bind(transport, sdk.getByodPairing),
1392
+ },
1393
+ },
1333
1394
  events: {
1334
1395
  sandboxes: {
1335
1396
  retrieve: bind(transport, sdk.getSandboxEvents),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.1.1-dev.7b675c8",
3
+ "version": "0.1.1-dev.7bd666d",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {