@avallon-labs/mcp 47.4.0-staging.1083 → 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-DG4VTFPP.js");
49
+ await import("./server-VC7YXKWJ.js");
50
50
  //# sourceMappingURL=index.js.map
@@ -8751,6 +8751,7 @@ var createSecretBodyNameMax = 100;
8751
8751
  var createSecretBodyEnvKeyMax = 128;
8752
8752
  var createSecretBodyEnvKeyRegExp = new RegExp("^[A-Z][A-Z0-9_]*$");
8753
8753
  var createSecretBodyValueMax = 4096;
8754
+ var createSecretBodyTestValueMax = 4096;
8754
8755
  var createSecretBodyDescriptionMax = 500;
8755
8756
  var CreateSecretBody = zod.object({
8756
8757
  name: zod.string().min(1).max(createSecretBodyNameMax).describe(
@@ -8760,6 +8761,9 @@ var CreateSecretBody = zod.object({
8760
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."
8761
8762
  ),
8762
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
+ ),
8763
8767
  description: zod.string().max(createSecretBodyDescriptionMax).optional()
8764
8768
  });
8765
8769
  var listSecretsQueryCountDefault = 50;
@@ -8783,6 +8787,9 @@ var ListSecretsResponse = zod.object({
8783
8787
  "Environment variable key under which consumers of the secret receive the value. Immutable."
8784
8788
  ),
8785
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
+ ),
8786
8793
  created_at: zod.string().datetime({}).describe("Creation timestamp"),
8787
8794
  updated_at: zod.string().datetime({}).describe("Last update timestamp (metadata or rotation)")
8788
8795
  })
@@ -8803,6 +8810,9 @@ var GetSecretResponse = zod.object({
8803
8810
  "Environment variable key under which consumers of the secret receive the value. Immutable."
8804
8811
  ),
8805
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
+ ),
8806
8816
  created_at: zod.string().datetime({}).describe("Creation timestamp"),
8807
8817
  updated_at: zod.string().datetime({}).describe("Last update timestamp (metadata or rotation)")
8808
8818
  }),
@@ -8813,12 +8823,19 @@ var UpdateSecretParams = zod.object({
8813
8823
  });
8814
8824
  var updateSecretBodyNameMax = 100;
8815
8825
  var updateSecretBodyValueMax = 4096;
8826
+ var updateSecretBodyTestValueOneMax = 4096;
8816
8827
  var updateSecretBodyDescriptionOneMax = 500;
8817
8828
  var UpdateSecretBody = zod.object({
8818
8829
  name: zod.string().min(1).max(updateSecretBodyNameMax).optional().describe("New display name. Omit to leave unchanged."),
8819
8830
  value: zod.string().min(1).max(updateSecretBodyValueMax).optional().describe(
8820
8831
  "New secret value (rotation). The previous value is overwritten and not retrievable. Omit to leave unchanged."
8821
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
+ ),
8822
8839
  description: zod.union([zod.string().max(updateSecretBodyDescriptionOneMax), zod.null()]).optional().describe("New description. Omit to leave unchanged; pass null to clear.")
8823
8840
  });
8824
8841
  var UpdateSecretResponse = zod.object({
@@ -8829,6 +8846,9 @@ var UpdateSecretResponse = zod.object({
8829
8846
  "Environment variable key under which consumers of the secret receive the value. Immutable."
8830
8847
  ),
8831
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
+ ),
8832
8852
  created_at: zod.string().datetime({}).describe("Creation timestamp"),
8833
8853
  updated_at: zod.string().datetime({}).describe("Last update timestamp (metadata or rotation)")
8834
8854
  }),
@@ -9586,7 +9606,10 @@ var ExecuteCodeParams = zod.object({
9586
9606
  });
9587
9607
  var executeCodeBodyParamsDefault = {};
9588
9608
  var ExecuteCodeBody = zod.object({
9589
- 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
+ )
9590
9613
  });
9591
9614
  var ExecuteCodeResponse = zod.object({
9592
9615
  data: zod.object({
@@ -9645,7 +9668,10 @@ var WorkerExecuteToolParams = zod.object({
9645
9668
  });
9646
9669
  var workerExecuteToolBodyParamsDefault = {};
9647
9670
  var WorkerExecuteToolBody = zod.object({
9648
- 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
+ )
9649
9675
  });
9650
9676
  var WorkerExecuteToolResponse = zod.object({
9651
9677
  data: zod.object({
@@ -11344,4 +11370,4 @@ var transport = new StdioServerTransport();
11344
11370
  server.connect(transport).then(() => {
11345
11371
  console.error("MCP server running on stdio");
11346
11372
  }).catch(console.error);
11347
- //# sourceMappingURL=server-DG4VTFPP.js.map
11373
+ //# sourceMappingURL=server-VC7YXKWJ.js.map