@avallon-labs/mcp 47.3.0 → 47.5.0-staging.1084

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.
package/dist/index.js CHANGED
@@ -46,5 +46,5 @@ function setupFetch() {
46
46
 
47
47
  // src/index.ts
48
48
  setupFetch();
49
- await import("./server-LVGTJWXP.js");
49
+ await import("./server-VC7YXKWJ.js");
50
50
  //# sourceMappingURL=index.js.map
@@ -2620,6 +2620,90 @@ var listNotifications = async (params, options) => {
2620
2620
  headers: res.headers
2621
2621
  };
2622
2622
  };
2623
+ var getCreateInformationRequestUrl = () => {
2624
+ return `/v1/information-requests`;
2625
+ };
2626
+ var createInformationRequest = async (createInformationRequestBody, options) => {
2627
+ const res = await fetch(getCreateInformationRequestUrl(), {
2628
+ ...options,
2629
+ method: "POST",
2630
+ headers: { "Content-Type": "application/json", ...options?.headers },
2631
+ body: JSON.stringify(createInformationRequestBody)
2632
+ });
2633
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
2634
+ const data = body ? JSON.parse(body) : {};
2635
+ return {
2636
+ data,
2637
+ status: res.status,
2638
+ headers: res.headers
2639
+ };
2640
+ };
2641
+ var getListInformationRequestsUrl = (params) => {
2642
+ const normalizedParams = new URLSearchParams();
2643
+ Object.entries(params || {}).forEach(([key, value]) => {
2644
+ if (value !== void 0) {
2645
+ if (typeof value === "object" && value !== null && !Array.isArray(value)) {
2646
+ for (const [sk, sv] of Object.entries(value)) {
2647
+ if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
2648
+ }
2649
+ } else {
2650
+ normalizedParams.append(key, value === null ? "null" : String(value));
2651
+ }
2652
+ }
2653
+ });
2654
+ const stringifiedParams = normalizedParams.toString();
2655
+ return stringifiedParams.length > 0 ? `/v1/information-requests?${stringifiedParams}` : `/v1/information-requests`;
2656
+ };
2657
+ var listInformationRequests = async (params, options) => {
2658
+ const res = await fetch(getListInformationRequestsUrl(params), {
2659
+ ...options,
2660
+ method: "GET"
2661
+ });
2662
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
2663
+ const data = body ? JSON.parse(body) : {};
2664
+ return {
2665
+ data,
2666
+ status: res.status,
2667
+ headers: res.headers
2668
+ };
2669
+ };
2670
+ var getGetInformationRequestUrl = (informationRequestId) => {
2671
+ return `/v1/information-requests/${informationRequestId}`;
2672
+ };
2673
+ var getInformationRequest = async (informationRequestId, options) => {
2674
+ const res = await fetch(getGetInformationRequestUrl(informationRequestId), {
2675
+ ...options,
2676
+ method: "GET"
2677
+ });
2678
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
2679
+ const data = body ? JSON.parse(body) : {};
2680
+ return {
2681
+ data,
2682
+ status: res.status,
2683
+ headers: res.headers
2684
+ };
2685
+ };
2686
+ var getResolveInformationRequestUrl = (informationRequestId) => {
2687
+ return `/v1/information-requests/${informationRequestId}/resolve`;
2688
+ };
2689
+ var resolveInformationRequest = async (informationRequestId, resolveInformationRequestBody, options) => {
2690
+ const res = await fetch(
2691
+ getResolveInformationRequestUrl(informationRequestId),
2692
+ {
2693
+ ...options,
2694
+ method: "POST",
2695
+ headers: { "Content-Type": "application/json", ...options?.headers },
2696
+ body: JSON.stringify(resolveInformationRequestBody)
2697
+ }
2698
+ );
2699
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
2700
+ const data = body ? JSON.parse(body) : {};
2701
+ return {
2702
+ data,
2703
+ status: res.status,
2704
+ headers: res.headers
2705
+ };
2706
+ };
2623
2707
  var getCreateToolUrl = () => {
2624
2708
  return `/v1/tools`;
2625
2709
  };
@@ -4544,6 +4628,53 @@ var listNotificationsHandler = async (args) => {
4544
4628
  ]
4545
4629
  };
4546
4630
  };
4631
+ var createInformationRequestHandler = async (args) => {
4632
+ const res = await createInformationRequest(args.bodyParams);
4633
+ return {
4634
+ content: [
4635
+ {
4636
+ type: "text",
4637
+ text: JSON.stringify(res)
4638
+ }
4639
+ ]
4640
+ };
4641
+ };
4642
+ var listInformationRequestsHandler = async (args) => {
4643
+ const res = await listInformationRequests(args.queryParams);
4644
+ return {
4645
+ content: [
4646
+ {
4647
+ type: "text",
4648
+ text: JSON.stringify(res)
4649
+ }
4650
+ ]
4651
+ };
4652
+ };
4653
+ var getInformationRequestHandler = async (args) => {
4654
+ const res = await getInformationRequest(args.pathParams.informationRequestId);
4655
+ return {
4656
+ content: [
4657
+ {
4658
+ type: "text",
4659
+ text: JSON.stringify(res)
4660
+ }
4661
+ ]
4662
+ };
4663
+ };
4664
+ var resolveInformationRequestHandler = async (args) => {
4665
+ const res = await resolveInformationRequest(
4666
+ args.pathParams.informationRequestId,
4667
+ args.bodyParams
4668
+ );
4669
+ return {
4670
+ content: [
4671
+ {
4672
+ type: "text",
4673
+ text: JSON.stringify(res)
4674
+ }
4675
+ ]
4676
+ };
4677
+ };
4547
4678
  var createToolHandler = async (args) => {
4548
4679
  const res = await createTool(args.bodyParams);
4549
4680
  return {
@@ -7445,7 +7576,8 @@ var CreateWorkerResponse = zod.object({
7445
7576
  "artifacts:write",
7446
7577
  "outbound-jobs:schedule",
7447
7578
  "cases:write",
7448
- "schedules:write"
7579
+ "schedules:write",
7580
+ "information-requests:write"
7449
7581
  ])
7450
7582
  ).describe(
7451
7583
  "Core Plane operations the worker's runs are authorized to perform. Executing a tool attached to the worker is governed by the attachment, not by this list."
@@ -7568,7 +7700,8 @@ var GetWorkerResponse = zod.object({
7568
7700
  "artifacts:write",
7569
7701
  "outbound-jobs:schedule",
7570
7702
  "cases:write",
7571
- "schedules:write"
7703
+ "schedules:write",
7704
+ "information-requests:write"
7572
7705
  ])
7573
7706
  ).describe(
7574
7707
  "Core Plane operations the worker's runs are authorized to perform. Executing a tool attached to the worker is governed by the attachment, not by this list."
@@ -7611,7 +7744,8 @@ var UpdateWorkerBody = zod.object({
7611
7744
  "artifacts:write",
7612
7745
  "outbound-jobs:schedule",
7613
7746
  "cases:write",
7614
- "schedules:write"
7747
+ "schedules:write",
7748
+ "information-requests:write"
7615
7749
  ])
7616
7750
  ).optional().describe("Permissions granted to the worker on each run")
7617
7751
  });
@@ -7666,7 +7800,8 @@ var UpdateWorkerResponse = zod.object({
7666
7800
  "artifacts:write",
7667
7801
  "outbound-jobs:schedule",
7668
7802
  "cases:write",
7669
- "schedules:write"
7803
+ "schedules:write",
7804
+ "information-requests:write"
7670
7805
  ])
7671
7806
  ).describe(
7672
7807
  "Core Plane operations the worker's runs are authorized to perform. Executing a tool attached to the worker is governed by the attachment, not by this list."
@@ -7781,7 +7916,8 @@ var UpdateWorkerMcpsResponse = zod.object({
7781
7916
  "artifacts:write",
7782
7917
  "outbound-jobs:schedule",
7783
7918
  "cases:write",
7784
- "schedules:write"
7919
+ "schedules:write",
7920
+ "information-requests:write"
7785
7921
  ])
7786
7922
  ).describe(
7787
7923
  "Core Plane operations the worker's runs are authorized to perform. Executing a tool attached to the worker is governed by the attachment, not by this list."
@@ -7859,7 +7995,8 @@ var GetWorkerVersionResponse = zod.object({
7859
7995
  "artifacts:write",
7860
7996
  "outbound-jobs:schedule",
7861
7997
  "cases:write",
7862
- "schedules:write"
7998
+ "schedules:write",
7999
+ "information-requests:write"
7863
8000
  ])
7864
8001
  ),
7865
8002
  model: zod.string(),
@@ -8106,6 +8243,7 @@ var AddCaseLinksBody = zod.object({
8106
8243
  "chat",
8107
8244
  "email",
8108
8245
  "extract",
8246
+ "information_request",
8109
8247
  "schedule",
8110
8248
  "worker_run"
8111
8249
  ]),
@@ -8124,6 +8262,7 @@ var AddCaseLinksResponse = zod.object({
8124
8262
  "chat",
8125
8263
  "email",
8126
8264
  "extract",
8265
+ "information_request",
8127
8266
  "schedule",
8128
8267
  "worker_run"
8129
8268
  ]),
@@ -8150,6 +8289,7 @@ var ListCaseLinksQueryParams = zod.object({
8150
8289
  "chat",
8151
8290
  "email",
8152
8291
  "extract",
8292
+ "information_request",
8153
8293
  "schedule",
8154
8294
  "worker_run"
8155
8295
  ]).optional().describe("Filter links by entity type."),
@@ -8168,6 +8308,7 @@ var ListCaseLinksResponse = zod.object({
8168
8308
  "chat",
8169
8309
  "email",
8170
8310
  "extract",
8311
+ "information_request",
8171
8312
  "schedule",
8172
8313
  "worker_run"
8173
8314
  ]),
@@ -8188,6 +8329,7 @@ var RemoveCaseLinkParams = zod.object({
8188
8329
  "chat",
8189
8330
  "email",
8190
8331
  "extract",
8332
+ "information_request",
8191
8333
  "schedule",
8192
8334
  "worker_run"
8193
8335
  ]),
@@ -8513,6 +8655,8 @@ var GetProfileResponse = zod.object({
8513
8655
  "api-keys:write",
8514
8656
  "teams:write",
8515
8657
  "cases:write",
8658
+ "information-requests:write",
8659
+ "information-requests:resolve",
8516
8660
  "feedback:write",
8517
8661
  "outbound-jobs:write",
8518
8662
  "outbound-jobs:schedule",
@@ -8607,6 +8751,7 @@ var createSecretBodyNameMax = 100;
8607
8751
  var createSecretBodyEnvKeyMax = 128;
8608
8752
  var createSecretBodyEnvKeyRegExp = new RegExp("^[A-Z][A-Z0-9_]*$");
8609
8753
  var createSecretBodyValueMax = 4096;
8754
+ var createSecretBodyTestValueMax = 4096;
8610
8755
  var createSecretBodyDescriptionMax = 500;
8611
8756
  var CreateSecretBody = zod.object({
8612
8757
  name: zod.string().min(1).max(createSecretBodyNameMax).describe(
@@ -8616,6 +8761,9 @@ var CreateSecretBody = zod.object({
8616
8761
  "Environment variable key consumers of the secret will receive the value under (e.g. KLEAR_PASSWORD). Immutable after creation; multiple secrets may share an env key."
8617
8762
  ),
8618
8763
  value: zod.string().min(1).max(createSecretBodyValueMax).describe("The secret value. Write-only: it is never returned again."),
8764
+ test_value: zod.string().min(1).max(createSecretBodyTestValueMax).optional().describe(
8765
+ "The value test runs receive under the same env key. Write-only. Omit and test runs receive nothing for this secret."
8766
+ ),
8619
8767
  description: zod.string().max(createSecretBodyDescriptionMax).optional()
8620
8768
  });
8621
8769
  var listSecretsQueryCountDefault = 50;
@@ -8639,6 +8787,9 @@ var ListSecretsResponse = zod.object({
8639
8787
  "Environment variable key under which consumers of the secret receive the value. Immutable."
8640
8788
  ),
8641
8789
  description: zod.union([zod.string(), zod.null()]).describe("Optional description"),
8790
+ has_test_value: zod.boolean().describe(
8791
+ "Whether a test value is set. Test runs receive nothing for this secret until it is."
8792
+ ),
8642
8793
  created_at: zod.string().datetime({}).describe("Creation timestamp"),
8643
8794
  updated_at: zod.string().datetime({}).describe("Last update timestamp (metadata or rotation)")
8644
8795
  })
@@ -8659,6 +8810,9 @@ var GetSecretResponse = zod.object({
8659
8810
  "Environment variable key under which consumers of the secret receive the value. Immutable."
8660
8811
  ),
8661
8812
  description: zod.union([zod.string(), zod.null()]).describe("Optional description"),
8813
+ has_test_value: zod.boolean().describe(
8814
+ "Whether a test value is set. Test runs receive nothing for this secret until it is."
8815
+ ),
8662
8816
  created_at: zod.string().datetime({}).describe("Creation timestamp"),
8663
8817
  updated_at: zod.string().datetime({}).describe("Last update timestamp (metadata or rotation)")
8664
8818
  }),
@@ -8669,12 +8823,19 @@ var UpdateSecretParams = zod.object({
8669
8823
  });
8670
8824
  var updateSecretBodyNameMax = 100;
8671
8825
  var updateSecretBodyValueMax = 4096;
8826
+ var updateSecretBodyTestValueOneMax = 4096;
8672
8827
  var updateSecretBodyDescriptionOneMax = 500;
8673
8828
  var UpdateSecretBody = zod.object({
8674
8829
  name: zod.string().min(1).max(updateSecretBodyNameMax).optional().describe("New display name. Omit to leave unchanged."),
8675
8830
  value: zod.string().min(1).max(updateSecretBodyValueMax).optional().describe(
8676
8831
  "New secret value (rotation). The previous value is overwritten and not retrievable. Omit to leave unchanged."
8677
8832
  ),
8833
+ test_value: zod.union([
8834
+ zod.string().min(1).max(updateSecretBodyTestValueOneMax),
8835
+ zod.null()
8836
+ ]).optional().describe(
8837
+ "New value for test runs (rotation). Omit to leave unchanged; pass null to remove it so test runs receive nothing for this secret."
8838
+ ),
8678
8839
  description: zod.union([zod.string().max(updateSecretBodyDescriptionOneMax), zod.null()]).optional().describe("New description. Omit to leave unchanged; pass null to clear.")
8679
8840
  });
8680
8841
  var UpdateSecretResponse = zod.object({
@@ -8685,6 +8846,9 @@ var UpdateSecretResponse = zod.object({
8685
8846
  "Environment variable key under which consumers of the secret receive the value. Immutable."
8686
8847
  ),
8687
8848
  description: zod.union([zod.string(), zod.null()]).describe("Optional description"),
8849
+ has_test_value: zod.boolean().describe(
8850
+ "Whether a test value is set. Test runs receive nothing for this secret until it is."
8851
+ ),
8688
8852
  created_at: zod.string().datetime({}).describe("Creation timestamp"),
8689
8853
  updated_at: zod.string().datetime({}).describe("Last update timestamp (metadata or rotation)")
8690
8854
  }),
@@ -9159,7 +9323,7 @@ var listDispatchesQueryOffsetMin = 0;
9159
9323
  var listDispatchesQuerySortByDefault = `due_at`;
9160
9324
  var listDispatchesQuerySortOrderDefault = `desc`;
9161
9325
  var ListDispatchesQueryParams = zod.object({
9162
- trigger_type: zod.enum(["schedule", "email"]).optional().describe("Only dispatches produced by this kind of trigger"),
9326
+ trigger_type: zod.enum(["schedule", "email", "information_request"]).optional().describe("Only dispatches produced by this kind of trigger"),
9163
9327
  trigger_id: zod.string().uuid().optional().describe(
9164
9328
  "Only dispatches produced by this trigger. Requires `trigger_type`."
9165
9329
  ),
@@ -9175,7 +9339,7 @@ var ListDispatchesResponse = zod.object({
9175
9339
  zod.object({
9176
9340
  id: zod.string(),
9177
9341
  trigger: zod.object({
9178
- type: zod.enum(["schedule", "email"]),
9342
+ type: zod.enum(["schedule", "email", "information_request"]),
9179
9343
  id: zod.string()
9180
9344
  }),
9181
9345
  target: zod.union([
@@ -9234,6 +9398,123 @@ var ListNotificationsResponse = zod.object({
9234
9398
  total: zod.number()
9235
9399
  })
9236
9400
  });
9401
+ var createInformationRequestBodyQuestionMax = 2e3;
9402
+ var CreateInformationRequestBody = zod.object({
9403
+ question: zod.string().min(1).max(createInformationRequestBodyQuestionMax).describe(
9404
+ "The single fact you need, as one question. Write it for a person who is not watching this run: say what you were doing, what you could not determine, and what would let you continue."
9405
+ ),
9406
+ metadata: zod.record(zod.string(), zod.unknown()).optional().describe(
9407
+ "Context to store alongside the question, for whoever picks it up."
9408
+ )
9409
+ });
9410
+ var listInformationRequestsQueryCountDefault = 50;
9411
+ var listInformationRequestsQueryCountMax = 100;
9412
+ var listInformationRequestsQueryOffsetDefault = 0;
9413
+ var listInformationRequestsQueryOffsetMin = 0;
9414
+ var listInformationRequestsQuerySortByDefault = `created_at`;
9415
+ var listInformationRequestsQuerySortOrderDefault = `desc`;
9416
+ var ListInformationRequestsQueryParams = zod.object({
9417
+ resolved: zod.enum(["true", "false"]).optional().describe(
9418
+ "Only resolved (`true`) or only open (`false`) requests. Omit for both."
9419
+ ),
9420
+ case_id: zod.string().min(1).optional().describe(
9421
+ "Only requests linked to this case. Values are normalized server-side (trimmed and lowercased)."
9422
+ ),
9423
+ count: zod.number().min(1).max(listInformationRequestsQueryCountMax).default(listInformationRequestsQueryCountDefault),
9424
+ offset: zod.number().min(listInformationRequestsQueryOffsetMin).default(listInformationRequestsQueryOffsetDefault),
9425
+ sort_by: zod.enum(["created_at"]).default(listInformationRequestsQuerySortByDefault),
9426
+ sort_order: zod.enum(["asc", "desc"]).default(listInformationRequestsQuerySortOrderDefault)
9427
+ });
9428
+ var listInformationRequestsResponseDataItemResolvedByOneRegExp = new RegExp(
9429
+ "^(?:worker|user):[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
9430
+ );
9431
+ var listInformationRequestsResponseDataItemCreatedByRegExp = new RegExp(
9432
+ "^(?:worker|user):[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
9433
+ );
9434
+ var ListInformationRequestsResponse = zod.object({
9435
+ data: zod.array(
9436
+ zod.object({
9437
+ id: zod.string(),
9438
+ question: zod.string().describe("What the asker needs to know"),
9439
+ resolution: zod.union([zod.string(), zod.null()]).describe("Null while the request is open"),
9440
+ resolved_by: zod.union([
9441
+ zod.string().regex(listInformationRequestsResponseDataItemResolvedByOneRegExp).describe(
9442
+ 'Actor string, e.g. "worker:<workerId>" or "user:<profileId>".'
9443
+ ),
9444
+ zod.null()
9445
+ ]),
9446
+ resolved_at: zod.union([zod.string().datetime({}), zod.null()]),
9447
+ metadata: zod.record(zod.string(), zod.unknown()),
9448
+ environment: zod.enum(["live", "test"]),
9449
+ created_by: zod.string().regex(listInformationRequestsResponseDataItemCreatedByRegExp).describe("Actor that raised the request"),
9450
+ created_at: zod.string().datetime({})
9451
+ })
9452
+ ),
9453
+ message: zod.string(),
9454
+ meta: zod.object({
9455
+ total: zod.number()
9456
+ })
9457
+ });
9458
+ var GetInformationRequestParams = zod.object({
9459
+ informationRequestId: zod.string().uuid()
9460
+ });
9461
+ var getInformationRequestResponseDataResolvedByOneRegExp = new RegExp(
9462
+ "^(?:worker|user):[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
9463
+ );
9464
+ var getInformationRequestResponseDataCreatedByRegExp = new RegExp(
9465
+ "^(?:worker|user):[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
9466
+ );
9467
+ var GetInformationRequestResponse = zod.object({
9468
+ data: zod.object({
9469
+ id: zod.string(),
9470
+ question: zod.string().describe("What the asker needs to know"),
9471
+ resolution: zod.union([zod.string(), zod.null()]).describe("Null while the request is open"),
9472
+ resolved_by: zod.union([
9473
+ zod.string().regex(getInformationRequestResponseDataResolvedByOneRegExp).describe(
9474
+ 'Actor string, e.g. "worker:<workerId>" or "user:<profileId>".'
9475
+ ),
9476
+ zod.null()
9477
+ ]),
9478
+ resolved_at: zod.union([zod.string().datetime({}), zod.null()]),
9479
+ metadata: zod.record(zod.string(), zod.unknown()),
9480
+ environment: zod.enum(["live", "test"]),
9481
+ created_by: zod.string().regex(getInformationRequestResponseDataCreatedByRegExp).describe("Actor that raised the request"),
9482
+ created_at: zod.string().datetime({})
9483
+ }),
9484
+ message: zod.string()
9485
+ });
9486
+ var ResolveInformationRequestParams = zod.object({
9487
+ informationRequestId: zod.string().uuid()
9488
+ });
9489
+ var resolveInformationRequestBodyResolutionMax = 1e4;
9490
+ var ResolveInformationRequestBody = zod.object({
9491
+ resolution: zod.string().min(1).max(resolveInformationRequestBodyResolutionMax).describe("The information the asker was missing, in plain language")
9492
+ });
9493
+ var resolveInformationRequestResponseDataResolvedByOneRegExp = new RegExp(
9494
+ "^(?:worker|user):[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
9495
+ );
9496
+ var resolveInformationRequestResponseDataCreatedByRegExp = new RegExp(
9497
+ "^(?:worker|user):[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
9498
+ );
9499
+ var ResolveInformationRequestResponse = zod.object({
9500
+ data: zod.object({
9501
+ id: zod.string(),
9502
+ question: zod.string().describe("What the asker needs to know"),
9503
+ resolution: zod.union([zod.string(), zod.null()]).describe("Null while the request is open"),
9504
+ resolved_by: zod.union([
9505
+ zod.string().regex(resolveInformationRequestResponseDataResolvedByOneRegExp).describe(
9506
+ 'Actor string, e.g. "worker:<workerId>" or "user:<profileId>".'
9507
+ ),
9508
+ zod.null()
9509
+ ]),
9510
+ resolved_at: zod.union([zod.string().datetime({}), zod.null()]),
9511
+ metadata: zod.record(zod.string(), zod.unknown()),
9512
+ environment: zod.enum(["live", "test"]),
9513
+ created_by: zod.string().regex(resolveInformationRequestResponseDataCreatedByRegExp).describe("Actor that raised the request"),
9514
+ created_at: zod.string().datetime({})
9515
+ }),
9516
+ message: zod.string()
9517
+ });
9237
9518
  var CreateToolBody = zod.object({
9238
9519
  name: zod.string().min(1),
9239
9520
  code: zod.string().min(1),
@@ -9325,7 +9606,10 @@ var ExecuteCodeParams = zod.object({
9325
9606
  });
9326
9607
  var executeCodeBodyParamsDefault = {};
9327
9608
  var ExecuteCodeBody = zod.object({
9328
- params: zod.record(zod.string(), zod.unknown()).default(executeCodeBodyParamsDefault)
9609
+ params: zod.record(zod.string(), zod.unknown()).default(executeCodeBodyParamsDefault),
9610
+ environment: zod.enum(["live", "test"]).optional().describe(
9611
+ "Environment to run the tool in, which selects the secret values it receives. A worker run is pinned to its own environment; other callers default to live."
9612
+ )
9329
9613
  });
9330
9614
  var ExecuteCodeResponse = zod.object({
9331
9615
  data: zod.object({
@@ -9384,7 +9668,10 @@ var WorkerExecuteToolParams = zod.object({
9384
9668
  });
9385
9669
  var workerExecuteToolBodyParamsDefault = {};
9386
9670
  var WorkerExecuteToolBody = zod.object({
9387
- params: zod.record(zod.string(), zod.unknown()).default(workerExecuteToolBodyParamsDefault)
9671
+ params: zod.record(zod.string(), zod.unknown()).default(workerExecuteToolBodyParamsDefault),
9672
+ environment: zod.enum(["live", "test"]).optional().describe(
9673
+ "Environment to run the tool in, which selects the secret values it receives. A worker run is pinned to its own environment; other callers default to live."
9674
+ )
9388
9675
  });
9389
9676
  var WorkerExecuteToolResponse = zod.object({
9390
9677
  data: zod.object({
@@ -10858,6 +11145,39 @@ server.tool(
10858
11145
  },
10859
11146
  listNotificationsHandler
10860
11147
  );
11148
+ server.tool(
11149
+ "createInformationRequest",
11150
+ "Ask for information",
11151
+ {
11152
+ bodyParams: CreateInformationRequestBody
11153
+ },
11154
+ createInformationRequestHandler
11155
+ );
11156
+ server.tool(
11157
+ "listInformationRequests",
11158
+ "List information requests",
11159
+ {
11160
+ queryParams: ListInformationRequestsQueryParams
11161
+ },
11162
+ listInformationRequestsHandler
11163
+ );
11164
+ server.tool(
11165
+ "getInformationRequest",
11166
+ "Get information request",
11167
+ {
11168
+ pathParams: GetInformationRequestParams
11169
+ },
11170
+ getInformationRequestHandler
11171
+ );
11172
+ server.tool(
11173
+ "resolveInformationRequest",
11174
+ "Resolve information request",
11175
+ {
11176
+ pathParams: ResolveInformationRequestParams,
11177
+ bodyParams: ResolveInformationRequestBody
11178
+ },
11179
+ resolveInformationRequestHandler
11180
+ );
10861
11181
  server.tool(
10862
11182
  "createTool",
10863
11183
  "Create tool",
@@ -11050,4 +11370,4 @@ var transport = new StdioServerTransport();
11050
11370
  server.connect(transport).then(() => {
11051
11371
  console.error("MCP server running on stdio");
11052
11372
  }).catch(console.error);
11053
- //# sourceMappingURL=server-LVGTJWXP.js.map
11373
+ //# sourceMappingURL=server-VC7YXKWJ.js.map