@vm0/cli 9.100.0 → 9.100.2

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.0",
52
+ release: "9.100.2",
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.0",
71
+ version: "9.100.2",
72
72
  command: process.argv.slice(2).join(" ")
73
73
  });
74
74
  Sentry.setContext("runtime", {
@@ -19623,6 +19623,26 @@ var intervalsIcuFirewall = {
19623
19623
  ]
19624
19624
  };
19625
19625
 
19626
+ // ../../packages/core/src/firewalls/jam.generated.ts
19627
+ var jamFirewall = {
19628
+ name: "jam",
19629
+ description: "Jam API",
19630
+ placeholders: {
19631
+ JAM_TOKEN: "jam_pat_CoffeeSafeLocalCoffeeSafeLocalCoff"
19632
+ },
19633
+ apis: [
19634
+ {
19635
+ base: "https://mcp.jam.dev",
19636
+ auth: {
19637
+ headers: {
19638
+ Authorization: "Bearer ${{ secrets.JAM_TOKEN }}"
19639
+ }
19640
+ },
19641
+ permissions: []
19642
+ }
19643
+ ]
19644
+ };
19645
+
19626
19646
  // ../../packages/core/src/firewalls/jira.generated.ts
19627
19647
  var jiraFirewall = {
19628
19648
  name: "jira",
@@ -19765,23 +19785,7 @@ var linearFirewall = {
19765
19785
  Authorization: "Bearer ${{ secrets.LINEAR_TOKEN }}"
19766
19786
  }
19767
19787
  },
19768
- permissions: [
19769
- {
19770
- name: "read",
19771
- description: "Read data (all GraphQL queries)",
19772
- rules: ["POST /graphql GraphQL type:query"]
19773
- },
19774
- {
19775
- name: "write",
19776
- description: "Modify data (all GraphQL mutations)",
19777
- rules: ["POST /graphql GraphQL type:mutation"]
19778
- },
19779
- {
19780
- name: "subscribe",
19781
- description: "Subscribe to real-time events",
19782
- rules: ["POST /graphql GraphQL type:subscription"]
19783
- }
19784
- ]
19788
+ permissions: []
19785
19789
  }
19786
19790
  ]
19787
19791
  };
@@ -24270,6 +24274,7 @@ var CONNECTOR_FIREWALLS = {
24270
24274
  instantly: instantlyFirewall,
24271
24275
  intercom: intercomFirewall,
24272
24276
  "intervals-icu": intervalsIcuFirewall,
24277
+ jam: jamFirewall,
24273
24278
  jira: jiraFirewall,
24274
24279
  jotform: jotformFirewall,
24275
24280
  kommo: kommoFirewall,
@@ -29424,6 +29429,35 @@ var zeroAskUserAnswerContract = c39.router({
29424
29429
  }
29425
29430
  });
29426
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
+
29427
29461
  // ../../packages/core/src/storage-names.ts
29428
29462
  function getInstructionsStorageName(agentName) {
29429
29463
  return `agent-instructions@${agentName}`;
@@ -30264,11 +30298,28 @@ async function searchLogs(options) {
30264
30298
  handleError(result, "Failed to search logs");
30265
30299
  }
30266
30300
 
30267
- // src/lib/api/domains/runs.ts
30301
+ // src/lib/api/domains/zero-developer-support.ts
30268
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";
30269
30320
  async function createRun(body) {
30270
30321
  const config = await getClientConfig();
30271
- const client = initClient10(runsMainContract, config);
30322
+ const client = initClient11(runsMainContract, config);
30272
30323
  const result = await client.create({ body });
30273
30324
  if (result.status === 201) {
30274
30325
  return result.body;
@@ -30277,7 +30328,7 @@ async function createRun(body) {
30277
30328
  }
30278
30329
  async function getEvents(runId, options) {
30279
30330
  const config = await getClientConfig();
30280
- const client = initClient10(runEventsContract, config);
30331
+ const client = initClient11(runEventsContract, config);
30281
30332
  const result = await client.getEvents({
30282
30333
  params: { id: runId },
30283
30334
  query: {
@@ -30292,7 +30343,7 @@ async function getEvents(runId, options) {
30292
30343
  }
30293
30344
  async function listRuns(params) {
30294
30345
  const config = await getClientConfig();
30295
- const client = initClient10(runsMainContract, config);
30346
+ const client = initClient11(runsMainContract, config);
30296
30347
  const result = await client.list({
30297
30348
  query: {
30298
30349
  status: params?.status,
@@ -30309,7 +30360,7 @@ async function listRuns(params) {
30309
30360
  }
30310
30361
  async function getRunQueue() {
30311
30362
  const config = await getClientConfig();
30312
- const client = initClient10(runsQueueContract, config);
30363
+ const client = initClient11(runsQueueContract, config);
30313
30364
  const result = await client.getQueue({ headers: {} });
30314
30365
  if (result.status === 200) {
30315
30366
  return result.body;
@@ -30318,7 +30369,7 @@ async function getRunQueue() {
30318
30369
  }
30319
30370
  async function cancelRun(runId) {
30320
30371
  const config = await getClientConfig();
30321
- const client = initClient10(runsCancelContract, config);
30372
+ const client = initClient11(runsCancelContract, config);
30322
30373
  const result = await client.cancel({
30323
30374
  params: { id: runId }
30324
30375
  });
@@ -30329,10 +30380,10 @@ async function cancelRun(runId) {
30329
30380
  }
30330
30381
 
30331
30382
  // src/lib/api/domains/sessions.ts
30332
- import { initClient as initClient11 } from "@ts-rest/core";
30383
+ import { initClient as initClient12 } from "@ts-rest/core";
30333
30384
  async function getSession(sessionId) {
30334
30385
  const config = await getClientConfig();
30335
- const client = initClient11(sessionsByIdContract, config);
30386
+ const client = initClient12(sessionsByIdContract, config);
30336
30387
  const result = await client.getById({
30337
30388
  params: { id: sessionId }
30338
30389
  });
@@ -30345,7 +30396,7 @@ async function getSession(sessionId) {
30345
30396
  }
30346
30397
  async function getCheckpoint(checkpointId) {
30347
30398
  const config = await getClientConfig();
30348
- const client = initClient11(checkpointsByIdContract, config);
30399
+ const client = initClient12(checkpointsByIdContract, config);
30349
30400
  const result = await client.getById({
30350
30401
  params: { id: checkpointId }
30351
30402
  });
@@ -30356,10 +30407,10 @@ async function getCheckpoint(checkpointId) {
30356
30407
  }
30357
30408
 
30358
30409
  // src/lib/api/domains/storages.ts
30359
- import { initClient as initClient12 } from "@ts-rest/core";
30410
+ import { initClient as initClient13 } from "@ts-rest/core";
30360
30411
  async function prepareStorage(body) {
30361
30412
  const config = await getClientConfig();
30362
- const client = initClient12(storagesPrepareContract, config);
30413
+ const client = initClient13(storagesPrepareContract, config);
30363
30414
  const result = await client.prepare({ body });
30364
30415
  if (result.status === 200) {
30365
30416
  return result.body;
@@ -30368,7 +30419,7 @@ async function prepareStorage(body) {
30368
30419
  }
30369
30420
  async function commitStorage(body) {
30370
30421
  const config = await getClientConfig();
30371
- const client = initClient12(storagesCommitContract, config);
30422
+ const client = initClient13(storagesCommitContract, config);
30372
30423
  const result = await client.commit({ body });
30373
30424
  if (result.status === 200) {
30374
30425
  return result.body;
@@ -30377,7 +30428,7 @@ async function commitStorage(body) {
30377
30428
  }
30378
30429
  async function getStorageDownload(query) {
30379
30430
  const config = await getClientConfig();
30380
- const client = initClient12(storagesDownloadContract, config);
30431
+ const client = initClient13(storagesDownloadContract, config);
30381
30432
  const result = await client.download({
30382
30433
  query: {
30383
30434
  name: query.name,
@@ -30392,7 +30443,7 @@ async function getStorageDownload(query) {
30392
30443
  }
30393
30444
  async function listStorages(query) {
30394
30445
  const config = await getClientConfig();
30395
- const client = initClient12(storagesListContract, config);
30446
+ const client = initClient13(storagesListContract, config);
30396
30447
  const result = await client.list({ query });
30397
30448
  if (result.status === 200) {
30398
30449
  return result.body;
@@ -30401,7 +30452,7 @@ async function listStorages(query) {
30401
30452
  }
30402
30453
 
30403
30454
  // src/lib/api/domains/zero-orgs.ts
30404
- import { initClient as initClient13 } from "@ts-rest/core";
30455
+ import { initClient as initClient14 } from "@ts-rest/core";
30405
30456
  async function getUserTokenClientConfig() {
30406
30457
  const baseUrl = await getBaseUrl();
30407
30458
  const token = await getToken();
@@ -30419,7 +30470,7 @@ async function getUserTokenClientConfig() {
30419
30470
  }
30420
30471
  async function getZeroOrg() {
30421
30472
  const config = await getClientConfig();
30422
- const client = initClient13(zeroOrgContract, config);
30473
+ const client = initClient14(zeroOrgContract, config);
30423
30474
  const result = await client.get({ headers: {} });
30424
30475
  if (result.status === 200) {
30425
30476
  return result.body;
@@ -30428,7 +30479,7 @@ async function getZeroOrg() {
30428
30479
  }
30429
30480
  async function updateZeroOrg(body) {
30430
30481
  const config = await getClientConfig();
30431
- const client = initClient13(zeroOrgContract, config);
30482
+ const client = initClient14(zeroOrgContract, config);
30432
30483
  const result = await client.update({ body });
30433
30484
  if (result.status === 200) {
30434
30485
  return result.body;
@@ -30437,7 +30488,7 @@ async function updateZeroOrg(body) {
30437
30488
  }
30438
30489
  async function listZeroOrgs() {
30439
30490
  const config = await getUserTokenClientConfig();
30440
- const client = initClient13(zeroOrgListContract, config);
30491
+ const client = initClient14(zeroOrgListContract, config);
30441
30492
  const result = await client.list({ headers: {} });
30442
30493
  if (result.status === 200) {
30443
30494
  return result.body;
@@ -30446,7 +30497,7 @@ async function listZeroOrgs() {
30446
30497
  }
30447
30498
  async function getZeroOrgMembers() {
30448
30499
  const config = await getClientConfig();
30449
- const client = initClient13(zeroOrgMembersContract, config);
30500
+ const client = initClient14(zeroOrgMembersContract, config);
30450
30501
  const result = await client.members({ headers: {} });
30451
30502
  if (result.status === 200) {
30452
30503
  return result.body;
@@ -30455,7 +30506,7 @@ async function getZeroOrgMembers() {
30455
30506
  }
30456
30507
  async function inviteZeroOrgMember(email, role = "member") {
30457
30508
  const config = await getClientConfig();
30458
- const client = initClient13(zeroOrgInviteContract, config);
30509
+ const client = initClient14(zeroOrgInviteContract, config);
30459
30510
  const result = await client.invite({
30460
30511
  body: { email, role }
30461
30512
  });
@@ -30466,7 +30517,7 @@ async function inviteZeroOrgMember(email, role = "member") {
30466
30517
  }
30467
30518
  async function removeZeroOrgMember(email) {
30468
30519
  const config = await getClientConfig();
30469
- const client = initClient13(zeroOrgMembersContract, config);
30520
+ const client = initClient14(zeroOrgMembersContract, config);
30470
30521
  const result = await client.removeMember({
30471
30522
  body: { email }
30472
30523
  });
@@ -30477,7 +30528,7 @@ async function removeZeroOrgMember(email) {
30477
30528
  }
30478
30529
  async function leaveZeroOrg() {
30479
30530
  const config = await getClientConfig();
30480
- const client = initClient13(zeroOrgLeaveContract, config);
30531
+ const client = initClient14(zeroOrgLeaveContract, config);
30481
30532
  const result = await client.leave({
30482
30533
  body: {}
30483
30534
  });
@@ -30488,7 +30539,7 @@ async function leaveZeroOrg() {
30488
30539
  }
30489
30540
  async function deleteZeroOrg(slug) {
30490
30541
  const config = await getClientConfig();
30491
- const client = initClient13(zeroOrgDeleteContract, config);
30542
+ const client = initClient14(zeroOrgDeleteContract, config);
30492
30543
  const result = await client.delete({
30493
30544
  body: { slug }
30494
30545
  });
@@ -30499,7 +30550,7 @@ async function deleteZeroOrg(slug) {
30499
30550
  }
30500
30551
  async function switchZeroOrg(slug) {
30501
30552
  const config = await getUserTokenClientConfig();
30502
- const client = initClient13(cliAuthOrgContract, config);
30553
+ const client = initClient14(cliAuthOrgContract, config);
30503
30554
  const result = await client.switchOrg({
30504
30555
  headers: {},
30505
30556
  body: { slug }
@@ -30511,10 +30562,10 @@ async function switchZeroOrg(slug) {
30511
30562
  }
30512
30563
 
30513
30564
  // src/lib/api/domains/zero-org-secrets.ts
30514
- import { initClient as initClient14 } from "@ts-rest/core";
30565
+ import { initClient as initClient15 } from "@ts-rest/core";
30515
30566
  async function listZeroOrgSecrets() {
30516
30567
  const config = await getClientConfig();
30517
- const client = initClient14(zeroSecretsContract, config);
30568
+ const client = initClient15(zeroSecretsContract, config);
30518
30569
  const result = await client.list({ headers: {} });
30519
30570
  if (result.status === 200) {
30520
30571
  return result.body;
@@ -30523,7 +30574,7 @@ async function listZeroOrgSecrets() {
30523
30574
  }
30524
30575
  async function setZeroOrgSecret(body) {
30525
30576
  const config = await getClientConfig();
30526
- const client = initClient14(zeroSecretsContract, config);
30577
+ const client = initClient15(zeroSecretsContract, config);
30527
30578
  const result = await client.set({ body });
30528
30579
  if (result.status === 200 || result.status === 201) {
30529
30580
  return result.body;
@@ -30532,7 +30583,7 @@ async function setZeroOrgSecret(body) {
30532
30583
  }
30533
30584
  async function deleteZeroOrgSecret(name) {
30534
30585
  const config = await getClientConfig();
30535
- const client = initClient14(zeroSecretsByNameContract, config);
30586
+ const client = initClient15(zeroSecretsByNameContract, config);
30536
30587
  const result = await client.delete({
30537
30588
  params: { name }
30538
30589
  });
@@ -30543,10 +30594,10 @@ async function deleteZeroOrgSecret(name) {
30543
30594
  }
30544
30595
 
30545
30596
  // src/lib/api/domains/zero-org-variables.ts
30546
- import { initClient as initClient15 } from "@ts-rest/core";
30597
+ import { initClient as initClient16 } from "@ts-rest/core";
30547
30598
  async function listZeroOrgVariables() {
30548
30599
  const config = await getClientConfig();
30549
- const client = initClient15(zeroVariablesContract, config);
30600
+ const client = initClient16(zeroVariablesContract, config);
30550
30601
  const result = await client.list({ headers: {} });
30551
30602
  if (result.status === 200) {
30552
30603
  return result.body;
@@ -30555,7 +30606,7 @@ async function listZeroOrgVariables() {
30555
30606
  }
30556
30607
  async function setZeroOrgVariable(body) {
30557
30608
  const config = await getClientConfig();
30558
- const client = initClient15(zeroVariablesContract, config);
30609
+ const client = initClient16(zeroVariablesContract, config);
30559
30610
  const result = await client.set({ body });
30560
30611
  if (result.status === 200 || result.status === 201) {
30561
30612
  return result.body;
@@ -30564,7 +30615,7 @@ async function setZeroOrgVariable(body) {
30564
30615
  }
30565
30616
  async function deleteZeroOrgVariable(name) {
30566
30617
  const config = await getClientConfig();
30567
- const client = initClient15(zeroVariablesByNameContract, config);
30618
+ const client = initClient16(zeroVariablesByNameContract, config);
30568
30619
  const result = await client.delete({
30569
30620
  params: { name }
30570
30621
  });
@@ -30575,10 +30626,10 @@ async function deleteZeroOrgVariable(name) {
30575
30626
  }
30576
30627
 
30577
30628
  // src/lib/api/domains/zero-org-model-providers.ts
30578
- import { initClient as initClient16 } from "@ts-rest/core";
30629
+ import { initClient as initClient17 } from "@ts-rest/core";
30579
30630
  async function listZeroOrgModelProviders() {
30580
30631
  const config = await getClientConfig();
30581
- const client = initClient16(zeroModelProvidersMainContract, config);
30632
+ const client = initClient17(zeroModelProvidersMainContract, config);
30582
30633
  const result = await client.list({ headers: {} });
30583
30634
  if (result.status === 200) {
30584
30635
  return result.body;
@@ -30587,7 +30638,7 @@ async function listZeroOrgModelProviders() {
30587
30638
  }
30588
30639
  async function upsertZeroOrgModelProvider(body) {
30589
30640
  const config = await getClientConfig();
30590
- const client = initClient16(zeroModelProvidersMainContract, config);
30641
+ const client = initClient17(zeroModelProvidersMainContract, config);
30591
30642
  const result = await client.upsert({ body });
30592
30643
  if (result.status === 200 || result.status === 201) {
30593
30644
  return result.body;
@@ -30596,7 +30647,7 @@ async function upsertZeroOrgModelProvider(body) {
30596
30647
  }
30597
30648
  async function deleteZeroOrgModelProvider(type) {
30598
30649
  const config = await getClientConfig();
30599
- const client = initClient16(zeroModelProvidersByTypeContract, config);
30650
+ const client = initClient17(zeroModelProvidersByTypeContract, config);
30600
30651
  const result = await client.delete({
30601
30652
  params: { type }
30602
30653
  });
@@ -30607,7 +30658,7 @@ async function deleteZeroOrgModelProvider(type) {
30607
30658
  }
30608
30659
  async function setZeroOrgModelProviderDefault(type) {
30609
30660
  const config = await getClientConfig();
30610
- const client = initClient16(zeroModelProvidersDefaultContract, config);
30661
+ const client = initClient17(zeroModelProvidersDefaultContract, config);
30611
30662
  const result = await client.setDefault({
30612
30663
  params: { type }
30613
30664
  });
@@ -30618,7 +30669,7 @@ async function setZeroOrgModelProviderDefault(type) {
30618
30669
  }
30619
30670
  async function updateZeroOrgModelProviderModel(type, selectedModel) {
30620
30671
  const config = await getClientConfig();
30621
- const client = initClient16(zeroModelProvidersUpdateModelContract, config);
30672
+ const client = initClient17(zeroModelProvidersUpdateModelContract, config);
30622
30673
  const result = await client.updateModel({
30623
30674
  params: { type },
30624
30675
  body: { selectedModel }
@@ -30630,48 +30681,48 @@ async function updateZeroOrgModelProviderModel(type, selectedModel) {
30630
30681
  }
30631
30682
 
30632
30683
  // src/lib/api/domains/zero-skills.ts
30633
- import { initClient as initClient17 } from "@ts-rest/core";
30684
+ import { initClient as initClient18 } from "@ts-rest/core";
30634
30685
  async function listSkills() {
30635
30686
  const config = await getClientConfig();
30636
- const client = initClient17(zeroSkillsCollectionContract, config);
30687
+ const client = initClient18(zeroSkillsCollectionContract, config);
30637
30688
  const result = await client.list();
30638
30689
  if (result.status === 200) return result.body;
30639
30690
  handleError(result, "Failed to list skills");
30640
30691
  }
30641
30692
  async function createSkill(body) {
30642
30693
  const config = await getClientConfig();
30643
- const client = initClient17(zeroSkillsCollectionContract, config);
30694
+ const client = initClient18(zeroSkillsCollectionContract, config);
30644
30695
  const result = await client.create({ body });
30645
30696
  if (result.status === 201) return result.body;
30646
30697
  handleError(result, `Failed to create skill "${body.name}"`);
30647
30698
  }
30648
30699
  async function getSkill(name) {
30649
30700
  const config = await getClientConfig();
30650
- const client = initClient17(zeroSkillsDetailContract, config);
30701
+ const client = initClient18(zeroSkillsDetailContract, config);
30651
30702
  const result = await client.get({ params: { name } });
30652
30703
  if (result.status === 200) return result.body;
30653
30704
  handleError(result, `Skill "${name}" not found`);
30654
30705
  }
30655
30706
  async function updateSkill(name, body) {
30656
30707
  const config = await getClientConfig();
30657
- const client = initClient17(zeroSkillsDetailContract, config);
30708
+ const client = initClient18(zeroSkillsDetailContract, config);
30658
30709
  const result = await client.update({ params: { name }, body });
30659
30710
  if (result.status === 200) return result.body;
30660
30711
  handleError(result, `Failed to update skill "${name}"`);
30661
30712
  }
30662
30713
  async function deleteSkill(name) {
30663
30714
  const config = await getClientConfig();
30664
- const client = initClient17(zeroSkillsDetailContract, config);
30715
+ const client = initClient18(zeroSkillsDetailContract, config);
30665
30716
  const result = await client.delete({ params: { name } });
30666
30717
  if (result.status === 204) return;
30667
30718
  handleError(result, `Skill "${name}" not found`);
30668
30719
  }
30669
30720
 
30670
30721
  // src/lib/api/domains/integrations-slack.ts
30671
- import { initClient as initClient18 } from "@ts-rest/core";
30722
+ import { initClient as initClient19 } from "@ts-rest/core";
30672
30723
  async function sendSlackMessage(body) {
30673
30724
  const config = await getClientConfig();
30674
- const client = initClient18(integrationsSlackMessageContract, config);
30725
+ const client = initClient19(integrationsSlackMessageContract, config);
30675
30726
  const result = await client.sendMessage({ body, headers: {} });
30676
30727
  if (result.status === 200) {
30677
30728
  return result.body;
@@ -30680,7 +30731,7 @@ async function sendSlackMessage(body) {
30680
30731
  }
30681
30732
  async function initSlackFileUpload(body) {
30682
30733
  const config = await getClientConfig();
30683
- const client = initClient18(integrationsSlackUploadInitContract, config);
30734
+ const client = initClient19(integrationsSlackUploadInitContract, config);
30684
30735
  const result = await client.init({ body, headers: {} });
30685
30736
  if (result.status === 200) {
30686
30737
  return result.body;
@@ -30689,7 +30740,7 @@ async function initSlackFileUpload(body) {
30689
30740
  }
30690
30741
  async function completeSlackFileUpload(body) {
30691
30742
  const config = await getClientConfig();
30692
- const client = initClient18(integrationsSlackUploadCompleteContract, config);
30743
+ const client = initClient19(integrationsSlackUploadCompleteContract, config);
30693
30744
  const result = await client.complete({ body, headers: {} });
30694
30745
  if (result.status === 200) {
30695
30746
  return result.body;
@@ -30698,10 +30749,10 @@ async function completeSlackFileUpload(body) {
30698
30749
  }
30699
30750
 
30700
30751
  // src/lib/api/domains/zero-schedules.ts
30701
- import { initClient as initClient19 } from "@ts-rest/core";
30752
+ import { initClient as initClient20 } from "@ts-rest/core";
30702
30753
  async function deployZeroSchedule(body) {
30703
30754
  const config = await getClientConfig();
30704
- const client = initClient19(zeroSchedulesMainContract, config);
30755
+ const client = initClient20(zeroSchedulesMainContract, config);
30705
30756
  const result = await client.deploy({ body });
30706
30757
  if (result.status === 200 || result.status === 201) {
30707
30758
  return result.body;
@@ -30710,7 +30761,7 @@ async function deployZeroSchedule(body) {
30710
30761
  }
30711
30762
  async function listZeroSchedules() {
30712
30763
  const config = await getClientConfig();
30713
- const client = initClient19(zeroSchedulesMainContract, config);
30764
+ const client = initClient20(zeroSchedulesMainContract, config);
30714
30765
  const result = await client.list({ headers: {} });
30715
30766
  if (result.status === 200) {
30716
30767
  return result.body;
@@ -30719,7 +30770,7 @@ async function listZeroSchedules() {
30719
30770
  }
30720
30771
  async function deleteZeroSchedule(params) {
30721
30772
  const config = await getClientConfig();
30722
- const client = initClient19(zeroSchedulesByNameContract, config);
30773
+ const client = initClient20(zeroSchedulesByNameContract, config);
30723
30774
  const result = await client.delete({
30724
30775
  params: { name: params.name },
30725
30776
  query: { agentId: params.agentId }
@@ -30731,7 +30782,7 @@ async function deleteZeroSchedule(params) {
30731
30782
  }
30732
30783
  async function enableZeroSchedule(params) {
30733
30784
  const config = await getClientConfig();
30734
- const client = initClient19(zeroSchedulesEnableContract, config);
30785
+ const client = initClient20(zeroSchedulesEnableContract, config);
30735
30786
  const result = await client.enable({
30736
30787
  params: { name: params.name },
30737
30788
  body: { agentId: params.agentId }
@@ -30743,7 +30794,7 @@ async function enableZeroSchedule(params) {
30743
30794
  }
30744
30795
  async function disableZeroSchedule(params) {
30745
30796
  const config = await getClientConfig();
30746
- const client = initClient19(zeroSchedulesEnableContract, config);
30797
+ const client = initClient20(zeroSchedulesEnableContract, config);
30747
30798
  const result = await client.disable({
30748
30799
  params: { name: params.name },
30749
30800
  body: { agentId: params.agentId }
@@ -30791,10 +30842,10 @@ async function resolveZeroScheduleByAgent(agentIdentifier, scheduleName) {
30791
30842
  }
30792
30843
 
30793
30844
  // src/lib/api/domains/zero-logs.ts
30794
- import { initClient as initClient20 } from "@ts-rest/core";
30845
+ import { initClient as initClient21 } from "@ts-rest/core";
30795
30846
  async function listZeroLogs(options) {
30796
30847
  const config = await getClientConfig();
30797
- const client = initClient20(logsListContract, config);
30848
+ const client = initClient21(logsListContract, config);
30798
30849
  const result = await client.list({
30799
30850
  query: {
30800
30851
  agent: options?.agent,
@@ -30809,7 +30860,7 @@ async function listZeroLogs(options) {
30809
30860
  }
30810
30861
  async function searchZeroLogs(options) {
30811
30862
  const config = await getClientConfig();
30812
- const client = initClient20(zeroLogsSearchContract, config);
30863
+ const client = initClient21(zeroLogsSearchContract, config);
30813
30864
  const result = await client.searchLogs({
30814
30865
  query: {
30815
30866
  keyword: options.keyword,
@@ -30826,17 +30877,17 @@ async function searchZeroLogs(options) {
30826
30877
  }
30827
30878
 
30828
30879
  // src/lib/api/domains/zero-ask-user.ts
30829
- import { initClient as initClient21 } from "@ts-rest/core";
30880
+ import { initClient as initClient22 } from "@ts-rest/core";
30830
30881
  async function postAskUserQuestion(body) {
30831
30882
  const config = await getClientConfig();
30832
- const client = initClient21(zeroAskUserQuestionContract, config);
30883
+ const client = initClient22(zeroAskUserQuestionContract, config);
30833
30884
  const result = await client.postQuestion({ body, headers: {} });
30834
30885
  if (result.status === 200) return result.body;
30835
30886
  handleError(result, "Failed to post question");
30836
30887
  }
30837
30888
  async function getAskUserAnswer(pendingId) {
30838
30889
  const config = await getClientConfig();
30839
- const client = initClient21(zeroAskUserAnswerContract, config);
30890
+ const client = initClient22(zeroAskUserAnswerContract, config);
30840
30891
  const result = await client.getAnswer({
30841
30892
  query: { pendingId },
30842
30893
  headers: {}
@@ -31916,6 +31967,8 @@ export {
31916
31967
  searchLogs,
31917
31968
  postAskUserQuestion,
31918
31969
  getAskUserAnswer,
31970
+ requestDeveloperSupportConsent,
31971
+ submitDeveloperSupport,
31919
31972
  isInteractive,
31920
31973
  promptText,
31921
31974
  promptConfirm,
@@ -31938,4 +31991,4 @@ export {
31938
31991
  parseTime,
31939
31992
  paginate
31940
31993
  };
31941
- //# sourceMappingURL=chunk-2KKNOZ4M.js.map
31994
+ //# sourceMappingURL=chunk-7RQXNUYT.js.map