@vm0/cli 9.100.1 → 9.100.3

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 @@ if (DSN) {
49
49
  Sentry.init({
50
50
  dsn: DSN,
51
51
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
52
- release: "9.100.1",
52
+ release: "9.100.3",
53
53
  sendDefaultPii: false,
54
54
  tracesSampleRate: 0,
55
55
  shutdownTimeout: 500,
@@ -68,7 +68,7 @@ if (DSN) {
68
68
  }
69
69
  });
70
70
  Sentry.setContext("cli", {
71
- version: "9.100.1",
71
+ version: "9.100.3",
72
72
  command: process.argv.slice(2).join(" ")
73
73
  });
74
74
  Sentry.setContext("runtime", {
@@ -29429,6 +29429,35 @@ var zeroAskUserAnswerContract = c39.router({
29429
29429
  }
29430
29430
  });
29431
29431
 
29432
+ // ../../packages/core/src/contracts/zero-developer-support.ts
29433
+ import { z as z46 } from "zod";
29434
+ var c40 = initContract();
29435
+ var developerSupportBodySchema = z46.object({
29436
+ title: z46.string().min(1, "Title is required"),
29437
+ description: z46.string().min(1, "Description is required"),
29438
+ consentCode: z46.string().optional()
29439
+ });
29440
+ var consentCodeResponseSchema = z46.object({
29441
+ consentCode: z46.string()
29442
+ });
29443
+ var submitResponseSchema = z46.object({
29444
+ reference: z46.string()
29445
+ });
29446
+ var zeroDeveloperSupportContract = c40.router({
29447
+ submit: {
29448
+ method: "POST",
29449
+ path: "/api/zero/developer-support",
29450
+ headers: authHeadersSchema,
29451
+ body: developerSupportBodySchema,
29452
+ responses: {
29453
+ 200: z46.union([consentCodeResponseSchema, submitResponseSchema]),
29454
+ 400: apiErrorSchema,
29455
+ 401: apiErrorSchema
29456
+ },
29457
+ summary: "Developer support: consent code generation or diagnostic submission"
29458
+ }
29459
+ });
29460
+
29432
29461
  // ../../packages/core/src/storage-names.ts
29433
29462
  function getInstructionsStorageName(agentName) {
29434
29463
  return `agent-instructions@${agentName}`;
@@ -30269,11 +30298,28 @@ async function searchLogs(options) {
30269
30298
  handleError(result, "Failed to search logs");
30270
30299
  }
30271
30300
 
30272
- // src/lib/api/domains/runs.ts
30301
+ // src/lib/api/domains/zero-developer-support.ts
30273
30302
  import { initClient as initClient10 } from "@ts-rest/core";
30303
+ async function requestDeveloperSupportConsent(body) {
30304
+ const config = await getClientConfig();
30305
+ const client = initClient10(zeroDeveloperSupportContract, config);
30306
+ const result = await client.submit({ body, headers: {} });
30307
+ if (result.status === 200) return result.body;
30308
+ handleError(result, "Failed to request developer support consent");
30309
+ }
30310
+ async function submitDeveloperSupport(body) {
30311
+ const config = await getClientConfig();
30312
+ const client = initClient10(zeroDeveloperSupportContract, config);
30313
+ const result = await client.submit({ body, headers: {} });
30314
+ if (result.status === 200) return result.body;
30315
+ handleError(result, "Failed to submit developer support request");
30316
+ }
30317
+
30318
+ // src/lib/api/domains/runs.ts
30319
+ import { initClient as initClient11 } from "@ts-rest/core";
30274
30320
  async function createRun(body) {
30275
30321
  const config = await getClientConfig();
30276
- const client = initClient10(runsMainContract, config);
30322
+ const client = initClient11(runsMainContract, config);
30277
30323
  const result = await client.create({ body });
30278
30324
  if (result.status === 201) {
30279
30325
  return result.body;
@@ -30282,7 +30328,7 @@ async function createRun(body) {
30282
30328
  }
30283
30329
  async function getEvents(runId, options) {
30284
30330
  const config = await getClientConfig();
30285
- const client = initClient10(runEventsContract, config);
30331
+ const client = initClient11(runEventsContract, config);
30286
30332
  const result = await client.getEvents({
30287
30333
  params: { id: runId },
30288
30334
  query: {
@@ -30297,7 +30343,7 @@ async function getEvents(runId, options) {
30297
30343
  }
30298
30344
  async function listRuns(params) {
30299
30345
  const config = await getClientConfig();
30300
- const client = initClient10(runsMainContract, config);
30346
+ const client = initClient11(runsMainContract, config);
30301
30347
  const result = await client.list({
30302
30348
  query: {
30303
30349
  status: params?.status,
@@ -30314,7 +30360,7 @@ async function listRuns(params) {
30314
30360
  }
30315
30361
  async function getRunQueue() {
30316
30362
  const config = await getClientConfig();
30317
- const client = initClient10(runsQueueContract, config);
30363
+ const client = initClient11(runsQueueContract, config);
30318
30364
  const result = await client.getQueue({ headers: {} });
30319
30365
  if (result.status === 200) {
30320
30366
  return result.body;
@@ -30323,7 +30369,7 @@ async function getRunQueue() {
30323
30369
  }
30324
30370
  async function cancelRun(runId) {
30325
30371
  const config = await getClientConfig();
30326
- const client = initClient10(runsCancelContract, config);
30372
+ const client = initClient11(runsCancelContract, config);
30327
30373
  const result = await client.cancel({
30328
30374
  params: { id: runId }
30329
30375
  });
@@ -30334,10 +30380,10 @@ async function cancelRun(runId) {
30334
30380
  }
30335
30381
 
30336
30382
  // src/lib/api/domains/sessions.ts
30337
- import { initClient as initClient11 } from "@ts-rest/core";
30383
+ import { initClient as initClient12 } from "@ts-rest/core";
30338
30384
  async function getSession(sessionId) {
30339
30385
  const config = await getClientConfig();
30340
- const client = initClient11(sessionsByIdContract, config);
30386
+ const client = initClient12(sessionsByIdContract, config);
30341
30387
  const result = await client.getById({
30342
30388
  params: { id: sessionId }
30343
30389
  });
@@ -30350,7 +30396,7 @@ async function getSession(sessionId) {
30350
30396
  }
30351
30397
  async function getCheckpoint(checkpointId) {
30352
30398
  const config = await getClientConfig();
30353
- const client = initClient11(checkpointsByIdContract, config);
30399
+ const client = initClient12(checkpointsByIdContract, config);
30354
30400
  const result = await client.getById({
30355
30401
  params: { id: checkpointId }
30356
30402
  });
@@ -30361,10 +30407,10 @@ async function getCheckpoint(checkpointId) {
30361
30407
  }
30362
30408
 
30363
30409
  // src/lib/api/domains/storages.ts
30364
- import { initClient as initClient12 } from "@ts-rest/core";
30410
+ import { initClient as initClient13 } from "@ts-rest/core";
30365
30411
  async function prepareStorage(body) {
30366
30412
  const config = await getClientConfig();
30367
- const client = initClient12(storagesPrepareContract, config);
30413
+ const client = initClient13(storagesPrepareContract, config);
30368
30414
  const result = await client.prepare({ body });
30369
30415
  if (result.status === 200) {
30370
30416
  return result.body;
@@ -30373,7 +30419,7 @@ async function prepareStorage(body) {
30373
30419
  }
30374
30420
  async function commitStorage(body) {
30375
30421
  const config = await getClientConfig();
30376
- const client = initClient12(storagesCommitContract, config);
30422
+ const client = initClient13(storagesCommitContract, config);
30377
30423
  const result = await client.commit({ body });
30378
30424
  if (result.status === 200) {
30379
30425
  return result.body;
@@ -30382,7 +30428,7 @@ async function commitStorage(body) {
30382
30428
  }
30383
30429
  async function getStorageDownload(query) {
30384
30430
  const config = await getClientConfig();
30385
- const client = initClient12(storagesDownloadContract, config);
30431
+ const client = initClient13(storagesDownloadContract, config);
30386
30432
  const result = await client.download({
30387
30433
  query: {
30388
30434
  name: query.name,
@@ -30397,7 +30443,7 @@ async function getStorageDownload(query) {
30397
30443
  }
30398
30444
  async function listStorages(query) {
30399
30445
  const config = await getClientConfig();
30400
- const client = initClient12(storagesListContract, config);
30446
+ const client = initClient13(storagesListContract, config);
30401
30447
  const result = await client.list({ query });
30402
30448
  if (result.status === 200) {
30403
30449
  return result.body;
@@ -30406,7 +30452,7 @@ async function listStorages(query) {
30406
30452
  }
30407
30453
 
30408
30454
  // src/lib/api/domains/zero-orgs.ts
30409
- import { initClient as initClient13 } from "@ts-rest/core";
30455
+ import { initClient as initClient14 } from "@ts-rest/core";
30410
30456
  async function getUserTokenClientConfig() {
30411
30457
  const baseUrl = await getBaseUrl();
30412
30458
  const token = await getToken();
@@ -30424,7 +30470,7 @@ async function getUserTokenClientConfig() {
30424
30470
  }
30425
30471
  async function getZeroOrg() {
30426
30472
  const config = await getClientConfig();
30427
- const client = initClient13(zeroOrgContract, config);
30473
+ const client = initClient14(zeroOrgContract, config);
30428
30474
  const result = await client.get({ headers: {} });
30429
30475
  if (result.status === 200) {
30430
30476
  return result.body;
@@ -30433,7 +30479,7 @@ async function getZeroOrg() {
30433
30479
  }
30434
30480
  async function updateZeroOrg(body) {
30435
30481
  const config = await getClientConfig();
30436
- const client = initClient13(zeroOrgContract, config);
30482
+ const client = initClient14(zeroOrgContract, config);
30437
30483
  const result = await client.update({ body });
30438
30484
  if (result.status === 200) {
30439
30485
  return result.body;
@@ -30442,7 +30488,7 @@ async function updateZeroOrg(body) {
30442
30488
  }
30443
30489
  async function listZeroOrgs() {
30444
30490
  const config = await getUserTokenClientConfig();
30445
- const client = initClient13(zeroOrgListContract, config);
30491
+ const client = initClient14(zeroOrgListContract, config);
30446
30492
  const result = await client.list({ headers: {} });
30447
30493
  if (result.status === 200) {
30448
30494
  return result.body;
@@ -30451,7 +30497,7 @@ async function listZeroOrgs() {
30451
30497
  }
30452
30498
  async function getZeroOrgMembers() {
30453
30499
  const config = await getClientConfig();
30454
- const client = initClient13(zeroOrgMembersContract, config);
30500
+ const client = initClient14(zeroOrgMembersContract, config);
30455
30501
  const result = await client.members({ headers: {} });
30456
30502
  if (result.status === 200) {
30457
30503
  return result.body;
@@ -30460,7 +30506,7 @@ async function getZeroOrgMembers() {
30460
30506
  }
30461
30507
  async function inviteZeroOrgMember(email, role = "member") {
30462
30508
  const config = await getClientConfig();
30463
- const client = initClient13(zeroOrgInviteContract, config);
30509
+ const client = initClient14(zeroOrgInviteContract, config);
30464
30510
  const result = await client.invite({
30465
30511
  body: { email, role }
30466
30512
  });
@@ -30471,7 +30517,7 @@ async function inviteZeroOrgMember(email, role = "member") {
30471
30517
  }
30472
30518
  async function removeZeroOrgMember(email) {
30473
30519
  const config = await getClientConfig();
30474
- const client = initClient13(zeroOrgMembersContract, config);
30520
+ const client = initClient14(zeroOrgMembersContract, config);
30475
30521
  const result = await client.removeMember({
30476
30522
  body: { email }
30477
30523
  });
@@ -30482,7 +30528,7 @@ async function removeZeroOrgMember(email) {
30482
30528
  }
30483
30529
  async function leaveZeroOrg() {
30484
30530
  const config = await getClientConfig();
30485
- const client = initClient13(zeroOrgLeaveContract, config);
30531
+ const client = initClient14(zeroOrgLeaveContract, config);
30486
30532
  const result = await client.leave({
30487
30533
  body: {}
30488
30534
  });
@@ -30493,7 +30539,7 @@ async function leaveZeroOrg() {
30493
30539
  }
30494
30540
  async function deleteZeroOrg(slug) {
30495
30541
  const config = await getClientConfig();
30496
- const client = initClient13(zeroOrgDeleteContract, config);
30542
+ const client = initClient14(zeroOrgDeleteContract, config);
30497
30543
  const result = await client.delete({
30498
30544
  body: { slug }
30499
30545
  });
@@ -30504,7 +30550,7 @@ async function deleteZeroOrg(slug) {
30504
30550
  }
30505
30551
  async function switchZeroOrg(slug) {
30506
30552
  const config = await getUserTokenClientConfig();
30507
- const client = initClient13(cliAuthOrgContract, config);
30553
+ const client = initClient14(cliAuthOrgContract, config);
30508
30554
  const result = await client.switchOrg({
30509
30555
  headers: {},
30510
30556
  body: { slug }
@@ -30516,10 +30562,10 @@ async function switchZeroOrg(slug) {
30516
30562
  }
30517
30563
 
30518
30564
  // src/lib/api/domains/zero-org-secrets.ts
30519
- import { initClient as initClient14 } from "@ts-rest/core";
30565
+ import { initClient as initClient15 } from "@ts-rest/core";
30520
30566
  async function listZeroOrgSecrets() {
30521
30567
  const config = await getClientConfig();
30522
- const client = initClient14(zeroSecretsContract, config);
30568
+ const client = initClient15(zeroSecretsContract, config);
30523
30569
  const result = await client.list({ headers: {} });
30524
30570
  if (result.status === 200) {
30525
30571
  return result.body;
@@ -30528,7 +30574,7 @@ async function listZeroOrgSecrets() {
30528
30574
  }
30529
30575
  async function setZeroOrgSecret(body) {
30530
30576
  const config = await getClientConfig();
30531
- const client = initClient14(zeroSecretsContract, config);
30577
+ const client = initClient15(zeroSecretsContract, config);
30532
30578
  const result = await client.set({ body });
30533
30579
  if (result.status === 200 || result.status === 201) {
30534
30580
  return result.body;
@@ -30537,7 +30583,7 @@ async function setZeroOrgSecret(body) {
30537
30583
  }
30538
30584
  async function deleteZeroOrgSecret(name) {
30539
30585
  const config = await getClientConfig();
30540
- const client = initClient14(zeroSecretsByNameContract, config);
30586
+ const client = initClient15(zeroSecretsByNameContract, config);
30541
30587
  const result = await client.delete({
30542
30588
  params: { name }
30543
30589
  });
@@ -30548,10 +30594,10 @@ async function deleteZeroOrgSecret(name) {
30548
30594
  }
30549
30595
 
30550
30596
  // src/lib/api/domains/zero-org-variables.ts
30551
- import { initClient as initClient15 } from "@ts-rest/core";
30597
+ import { initClient as initClient16 } from "@ts-rest/core";
30552
30598
  async function listZeroOrgVariables() {
30553
30599
  const config = await getClientConfig();
30554
- const client = initClient15(zeroVariablesContract, config);
30600
+ const client = initClient16(zeroVariablesContract, config);
30555
30601
  const result = await client.list({ headers: {} });
30556
30602
  if (result.status === 200) {
30557
30603
  return result.body;
@@ -30560,7 +30606,7 @@ async function listZeroOrgVariables() {
30560
30606
  }
30561
30607
  async function setZeroOrgVariable(body) {
30562
30608
  const config = await getClientConfig();
30563
- const client = initClient15(zeroVariablesContract, config);
30609
+ const client = initClient16(zeroVariablesContract, config);
30564
30610
  const result = await client.set({ body });
30565
30611
  if (result.status === 200 || result.status === 201) {
30566
30612
  return result.body;
@@ -30569,7 +30615,7 @@ async function setZeroOrgVariable(body) {
30569
30615
  }
30570
30616
  async function deleteZeroOrgVariable(name) {
30571
30617
  const config = await getClientConfig();
30572
- const client = initClient15(zeroVariablesByNameContract, config);
30618
+ const client = initClient16(zeroVariablesByNameContract, config);
30573
30619
  const result = await client.delete({
30574
30620
  params: { name }
30575
30621
  });
@@ -30580,10 +30626,10 @@ async function deleteZeroOrgVariable(name) {
30580
30626
  }
30581
30627
 
30582
30628
  // src/lib/api/domains/zero-org-model-providers.ts
30583
- import { initClient as initClient16 } from "@ts-rest/core";
30629
+ import { initClient as initClient17 } from "@ts-rest/core";
30584
30630
  async function listZeroOrgModelProviders() {
30585
30631
  const config = await getClientConfig();
30586
- const client = initClient16(zeroModelProvidersMainContract, config);
30632
+ const client = initClient17(zeroModelProvidersMainContract, config);
30587
30633
  const result = await client.list({ headers: {} });
30588
30634
  if (result.status === 200) {
30589
30635
  return result.body;
@@ -30592,7 +30638,7 @@ async function listZeroOrgModelProviders() {
30592
30638
  }
30593
30639
  async function upsertZeroOrgModelProvider(body) {
30594
30640
  const config = await getClientConfig();
30595
- const client = initClient16(zeroModelProvidersMainContract, config);
30641
+ const client = initClient17(zeroModelProvidersMainContract, config);
30596
30642
  const result = await client.upsert({ body });
30597
30643
  if (result.status === 200 || result.status === 201) {
30598
30644
  return result.body;
@@ -30601,7 +30647,7 @@ async function upsertZeroOrgModelProvider(body) {
30601
30647
  }
30602
30648
  async function deleteZeroOrgModelProvider(type) {
30603
30649
  const config = await getClientConfig();
30604
- const client = initClient16(zeroModelProvidersByTypeContract, config);
30650
+ const client = initClient17(zeroModelProvidersByTypeContract, config);
30605
30651
  const result = await client.delete({
30606
30652
  params: { type }
30607
30653
  });
@@ -30612,7 +30658,7 @@ async function deleteZeroOrgModelProvider(type) {
30612
30658
  }
30613
30659
  async function setZeroOrgModelProviderDefault(type) {
30614
30660
  const config = await getClientConfig();
30615
- const client = initClient16(zeroModelProvidersDefaultContract, config);
30661
+ const client = initClient17(zeroModelProvidersDefaultContract, config);
30616
30662
  const result = await client.setDefault({
30617
30663
  params: { type }
30618
30664
  });
@@ -30623,7 +30669,7 @@ async function setZeroOrgModelProviderDefault(type) {
30623
30669
  }
30624
30670
  async function updateZeroOrgModelProviderModel(type, selectedModel) {
30625
30671
  const config = await getClientConfig();
30626
- const client = initClient16(zeroModelProvidersUpdateModelContract, config);
30672
+ const client = initClient17(zeroModelProvidersUpdateModelContract, config);
30627
30673
  const result = await client.updateModel({
30628
30674
  params: { type },
30629
30675
  body: { selectedModel }
@@ -30635,48 +30681,48 @@ async function updateZeroOrgModelProviderModel(type, selectedModel) {
30635
30681
  }
30636
30682
 
30637
30683
  // src/lib/api/domains/zero-skills.ts
30638
- import { initClient as initClient17 } from "@ts-rest/core";
30684
+ import { initClient as initClient18 } from "@ts-rest/core";
30639
30685
  async function listSkills() {
30640
30686
  const config = await getClientConfig();
30641
- const client = initClient17(zeroSkillsCollectionContract, config);
30687
+ const client = initClient18(zeroSkillsCollectionContract, config);
30642
30688
  const result = await client.list();
30643
30689
  if (result.status === 200) return result.body;
30644
30690
  handleError(result, "Failed to list skills");
30645
30691
  }
30646
30692
  async function createSkill(body) {
30647
30693
  const config = await getClientConfig();
30648
- const client = initClient17(zeroSkillsCollectionContract, config);
30694
+ const client = initClient18(zeroSkillsCollectionContract, config);
30649
30695
  const result = await client.create({ body });
30650
30696
  if (result.status === 201) return result.body;
30651
30697
  handleError(result, `Failed to create skill "${body.name}"`);
30652
30698
  }
30653
30699
  async function getSkill(name) {
30654
30700
  const config = await getClientConfig();
30655
- const client = initClient17(zeroSkillsDetailContract, config);
30701
+ const client = initClient18(zeroSkillsDetailContract, config);
30656
30702
  const result = await client.get({ params: { name } });
30657
30703
  if (result.status === 200) return result.body;
30658
30704
  handleError(result, `Skill "${name}" not found`);
30659
30705
  }
30660
30706
  async function updateSkill(name, body) {
30661
30707
  const config = await getClientConfig();
30662
- const client = initClient17(zeroSkillsDetailContract, config);
30708
+ const client = initClient18(zeroSkillsDetailContract, config);
30663
30709
  const result = await client.update({ params: { name }, body });
30664
30710
  if (result.status === 200) return result.body;
30665
30711
  handleError(result, `Failed to update skill "${name}"`);
30666
30712
  }
30667
30713
  async function deleteSkill(name) {
30668
30714
  const config = await getClientConfig();
30669
- const client = initClient17(zeroSkillsDetailContract, config);
30715
+ const client = initClient18(zeroSkillsDetailContract, config);
30670
30716
  const result = await client.delete({ params: { name } });
30671
30717
  if (result.status === 204) return;
30672
30718
  handleError(result, `Skill "${name}" not found`);
30673
30719
  }
30674
30720
 
30675
30721
  // src/lib/api/domains/integrations-slack.ts
30676
- import { initClient as initClient18 } from "@ts-rest/core";
30722
+ import { initClient as initClient19 } from "@ts-rest/core";
30677
30723
  async function sendSlackMessage(body) {
30678
30724
  const config = await getClientConfig();
30679
- const client = initClient18(integrationsSlackMessageContract, config);
30725
+ const client = initClient19(integrationsSlackMessageContract, config);
30680
30726
  const result = await client.sendMessage({ body, headers: {} });
30681
30727
  if (result.status === 200) {
30682
30728
  return result.body;
@@ -30685,7 +30731,7 @@ async function sendSlackMessage(body) {
30685
30731
  }
30686
30732
  async function initSlackFileUpload(body) {
30687
30733
  const config = await getClientConfig();
30688
- const client = initClient18(integrationsSlackUploadInitContract, config);
30734
+ const client = initClient19(integrationsSlackUploadInitContract, config);
30689
30735
  const result = await client.init({ body, headers: {} });
30690
30736
  if (result.status === 200) {
30691
30737
  return result.body;
@@ -30694,7 +30740,7 @@ async function initSlackFileUpload(body) {
30694
30740
  }
30695
30741
  async function completeSlackFileUpload(body) {
30696
30742
  const config = await getClientConfig();
30697
- const client = initClient18(integrationsSlackUploadCompleteContract, config);
30743
+ const client = initClient19(integrationsSlackUploadCompleteContract, config);
30698
30744
  const result = await client.complete({ body, headers: {} });
30699
30745
  if (result.status === 200) {
30700
30746
  return result.body;
@@ -30703,10 +30749,10 @@ async function completeSlackFileUpload(body) {
30703
30749
  }
30704
30750
 
30705
30751
  // src/lib/api/domains/zero-schedules.ts
30706
- import { initClient as initClient19 } from "@ts-rest/core";
30752
+ import { initClient as initClient20 } from "@ts-rest/core";
30707
30753
  async function deployZeroSchedule(body) {
30708
30754
  const config = await getClientConfig();
30709
- const client = initClient19(zeroSchedulesMainContract, config);
30755
+ const client = initClient20(zeroSchedulesMainContract, config);
30710
30756
  const result = await client.deploy({ body });
30711
30757
  if (result.status === 200 || result.status === 201) {
30712
30758
  return result.body;
@@ -30715,7 +30761,7 @@ async function deployZeroSchedule(body) {
30715
30761
  }
30716
30762
  async function listZeroSchedules() {
30717
30763
  const config = await getClientConfig();
30718
- const client = initClient19(zeroSchedulesMainContract, config);
30764
+ const client = initClient20(zeroSchedulesMainContract, config);
30719
30765
  const result = await client.list({ headers: {} });
30720
30766
  if (result.status === 200) {
30721
30767
  return result.body;
@@ -30724,7 +30770,7 @@ async function listZeroSchedules() {
30724
30770
  }
30725
30771
  async function deleteZeroSchedule(params) {
30726
30772
  const config = await getClientConfig();
30727
- const client = initClient19(zeroSchedulesByNameContract, config);
30773
+ const client = initClient20(zeroSchedulesByNameContract, config);
30728
30774
  const result = await client.delete({
30729
30775
  params: { name: params.name },
30730
30776
  query: { agentId: params.agentId }
@@ -30736,7 +30782,7 @@ async function deleteZeroSchedule(params) {
30736
30782
  }
30737
30783
  async function enableZeroSchedule(params) {
30738
30784
  const config = await getClientConfig();
30739
- const client = initClient19(zeroSchedulesEnableContract, config);
30785
+ const client = initClient20(zeroSchedulesEnableContract, config);
30740
30786
  const result = await client.enable({
30741
30787
  params: { name: params.name },
30742
30788
  body: { agentId: params.agentId }
@@ -30748,7 +30794,7 @@ async function enableZeroSchedule(params) {
30748
30794
  }
30749
30795
  async function disableZeroSchedule(params) {
30750
30796
  const config = await getClientConfig();
30751
- const client = initClient19(zeroSchedulesEnableContract, config);
30797
+ const client = initClient20(zeroSchedulesEnableContract, config);
30752
30798
  const result = await client.disable({
30753
30799
  params: { name: params.name },
30754
30800
  body: { agentId: params.agentId }
@@ -30796,10 +30842,10 @@ async function resolveZeroScheduleByAgent(agentIdentifier, scheduleName) {
30796
30842
  }
30797
30843
 
30798
30844
  // src/lib/api/domains/zero-logs.ts
30799
- import { initClient as initClient20 } from "@ts-rest/core";
30845
+ import { initClient as initClient21 } from "@ts-rest/core";
30800
30846
  async function listZeroLogs(options) {
30801
30847
  const config = await getClientConfig();
30802
- const client = initClient20(logsListContract, config);
30848
+ const client = initClient21(logsListContract, config);
30803
30849
  const result = await client.list({
30804
30850
  query: {
30805
30851
  agent: options?.agent,
@@ -30814,7 +30860,7 @@ async function listZeroLogs(options) {
30814
30860
  }
30815
30861
  async function searchZeroLogs(options) {
30816
30862
  const config = await getClientConfig();
30817
- const client = initClient20(zeroLogsSearchContract, config);
30863
+ const client = initClient21(zeroLogsSearchContract, config);
30818
30864
  const result = await client.searchLogs({
30819
30865
  query: {
30820
30866
  keyword: options.keyword,
@@ -30831,17 +30877,17 @@ async function searchZeroLogs(options) {
30831
30877
  }
30832
30878
 
30833
30879
  // src/lib/api/domains/zero-ask-user.ts
30834
- import { initClient as initClient21 } from "@ts-rest/core";
30880
+ import { initClient as initClient22 } from "@ts-rest/core";
30835
30881
  async function postAskUserQuestion(body) {
30836
30882
  const config = await getClientConfig();
30837
- const client = initClient21(zeroAskUserQuestionContract, config);
30883
+ const client = initClient22(zeroAskUserQuestionContract, config);
30838
30884
  const result = await client.postQuestion({ body, headers: {} });
30839
30885
  if (result.status === 200) return result.body;
30840
30886
  handleError(result, "Failed to post question");
30841
30887
  }
30842
30888
  async function getAskUserAnswer(pendingId) {
30843
30889
  const config = await getClientConfig();
30844
- const client = initClient21(zeroAskUserAnswerContract, config);
30890
+ const client = initClient22(zeroAskUserAnswerContract, config);
30845
30891
  const result = await client.getAnswer({
30846
30892
  query: { pendingId },
30847
30893
  headers: {}
@@ -31921,6 +31967,8 @@ export {
31921
31967
  searchLogs,
31922
31968
  postAskUserQuestion,
31923
31969
  getAskUserAnswer,
31970
+ requestDeveloperSupportConsent,
31971
+ submitDeveloperSupport,
31924
31972
  isInteractive,
31925
31973
  promptText,
31926
31974
  promptConfirm,
@@ -31943,4 +31991,4 @@ export {
31943
31991
  parseTime,
31944
31992
  paginate
31945
31993
  };
31946
- //# sourceMappingURL=chunk-CENK4RLS.js.map
31994
+ //# sourceMappingURL=chunk-2LDZF5WC.js.map