@avallon-labs/mcp 37.4.0 → 37.5.0

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
@@ -54,5 +54,5 @@ function setupFetch() {
54
54
 
55
55
  // src/index.ts
56
56
  setupFetch();
57
- await import("./server-WAY4EMQV.js");
57
+ await import("./server-TSFRRRNZ.js");
58
58
  //# sourceMappingURL=index.js.map
@@ -7045,6 +7045,19 @@ var CreateWorkerResponse = zod.object({
7045
7045
  secret_ids: zod.array(zod.string()).describe(
7046
7046
  "Secrets attached to the worker. A worker with attached secrets sources its environment exclusively from the secret store."
7047
7047
  ),
7048
+ permissions: zod.array(
7049
+ zod.enum([
7050
+ "workers:execute",
7051
+ "workers:run",
7052
+ "inboxes:send",
7053
+ "artifacts:write",
7054
+ "outbound-jobs:schedule",
7055
+ "cases:write",
7056
+ "schedules:write"
7057
+ ])
7058
+ ).describe(
7059
+ "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."
7060
+ ),
7048
7061
  model: zod.string(),
7049
7062
  fast_mode: zod.boolean()
7050
7063
  });
@@ -7116,6 +7129,19 @@ var GetWorkerResponse = zod.object({
7116
7129
  secret_ids: zod.array(zod.string()).describe(
7117
7130
  "Secrets attached to the worker. A worker with attached secrets sources its environment exclusively from the secret store."
7118
7131
  ),
7132
+ permissions: zod.array(
7133
+ zod.enum([
7134
+ "workers:execute",
7135
+ "workers:run",
7136
+ "inboxes:send",
7137
+ "artifacts:write",
7138
+ "outbound-jobs:schedule",
7139
+ "cases:write",
7140
+ "schedules:write"
7141
+ ])
7142
+ ).describe(
7143
+ "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."
7144
+ ),
7119
7145
  model: zod.string(),
7120
7146
  fast_mode: zod.boolean()
7121
7147
  });
@@ -7141,7 +7167,18 @@ var UpdateWorkerBody = zod.object({
7141
7167
  ),
7142
7168
  case_determination_context: zod.union([zod.string().min(1), zod.null()]).optional().describe(
7143
7169
  "Customer-specific context appended to the case-ID determination prompt. Omit to leave unchanged; pass null to clear."
7144
- )
7170
+ ),
7171
+ permissions: zod.array(
7172
+ zod.enum([
7173
+ "workers:execute",
7174
+ "workers:run",
7175
+ "inboxes:send",
7176
+ "artifacts:write",
7177
+ "outbound-jobs:schedule",
7178
+ "cases:write",
7179
+ "schedules:write"
7180
+ ])
7181
+ ).optional().describe("Permissions granted to the worker on each run")
7145
7182
  });
7146
7183
  var updateWorkerResponseVersionMin = 0;
7147
7184
  var UpdateWorkerResponse = zod.object({
@@ -7171,6 +7208,19 @@ var UpdateWorkerResponse = zod.object({
7171
7208
  secret_ids: zod.array(zod.string()).describe(
7172
7209
  "Secrets attached to the worker. A worker with attached secrets sources its environment exclusively from the secret store."
7173
7210
  ),
7211
+ permissions: zod.array(
7212
+ zod.enum([
7213
+ "workers:execute",
7214
+ "workers:run",
7215
+ "inboxes:send",
7216
+ "artifacts:write",
7217
+ "outbound-jobs:schedule",
7218
+ "cases:write",
7219
+ "schedules:write"
7220
+ ])
7221
+ ).describe(
7222
+ "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."
7223
+ ),
7174
7224
  model: zod.string(),
7175
7225
  fast_mode: zod.boolean()
7176
7226
  });
@@ -7242,6 +7292,19 @@ var UpdateWorkerMcpsResponse = zod.object({
7242
7292
  secret_ids: zod.array(zod.string()).describe(
7243
7293
  "Secrets attached to the worker. A worker with attached secrets sources its environment exclusively from the secret store."
7244
7294
  ),
7295
+ permissions: zod.array(
7296
+ zod.enum([
7297
+ "workers:execute",
7298
+ "workers:run",
7299
+ "inboxes:send",
7300
+ "artifacts:write",
7301
+ "outbound-jobs:schedule",
7302
+ "cases:write",
7303
+ "schedules:write"
7304
+ ])
7305
+ ).describe(
7306
+ "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."
7307
+ ),
7245
7308
  model: zod.string(),
7246
7309
  fast_mode: zod.boolean()
7247
7310
  });
@@ -9862,4 +9925,4 @@ var transport = new StdioServerTransport();
9862
9925
  server.connect(transport).then(() => {
9863
9926
  console.error("MCP server running on stdio");
9864
9927
  }).catch(console.error);
9865
- //# sourceMappingURL=server-WAY4EMQV.js.map
9928
+ //# sourceMappingURL=server-TSFRRRNZ.js.map