@sourcegraph/amp-sdk 0.1.0-20260201005254-g9e2e086 → 0.1.0-20260201045032-g4da8688

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4069,7 +4069,7 @@ var AmpOptionsSchema = exports_external.object({
4069
4069
  toolbox: exports_external.string().describe("Folder path with toolbox scripts").optional(),
4070
4070
  skills: exports_external.string().describe("Folder path with custom skills").optional(),
4071
4071
  permissions: exports_external.array(PermissionSchema).describe("Permission rules for tool usage").optional(),
4072
- labels: exports_external.array(exports_external.string()).describe("Labels to add to the thread (repeatable CLI --label)").optional(),
4072
+ labels: exports_external.array(exports_external.string().regex(/^[a-zA-Z0-9][a-zA-Z0-9-]*$/, "Labels must start with alphanumeric and contain only alphanumeric characters and hyphens").min(1, "Label must be at least 1 character").max(32, "Label must be at most 32 characters")).max(20, "Maximum 20 labels allowed").describe("Labels to add to the thread (repeatable CLI --label)").optional(),
4073
4073
  enabledTools: exports_external.array(exports_external.string()).describe('Array of tool name patterns to enable. Supports glob patterns (e.g., "mcp__metabase__*"). If not provided, all tools are enabled. If provided, only matching tools are enabled.').optional(),
4074
4074
  systemPrompt: exports_external.string().describe("Custom system prompt text to append to the base system prompt for integration-specific customizations").optional()
4075
4075
  }).strict();
@@ -4194,7 +4194,7 @@ function buildEnvironmentVariables(options) {
4194
4194
  if (options.env) {
4195
4195
  Object.assign(env, options.env);
4196
4196
  }
4197
- env.AMP_SDK_VERSION = "0.1.0-20260201005254-g9e2e086";
4197
+ env.AMP_SDK_VERSION = "0.1.0-20260201045032-g4da8688";
4198
4198
  return env;
4199
4199
  }
4200
4200
  function spawnAmpCli(args, options) {
@@ -4403,4 +4403,4 @@ export {
4403
4403
  AmpOptionsSchema
4404
4404
  };
4405
4405
 
4406
- //# debugId=82CA0F89596902C164756E2164756E21
4406
+ //# debugId=5F0D8817434A027364756E2164756E21
package/package.json CHANGED
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "type": "module",
46
46
  "types": "dist/index.d.ts",
47
- "version": "0.1.0-20260201005254-g9e2e086",
47
+ "version": "0.1.0-20260201045032-g4da8688",
48
48
  "scripts": {
49
49
  "build": "bun run scripts/build.ts",
50
50
  "dev": "pnpm exec tsc -b --watch",