@sourcegraph/amp-sdk 0.1.0-20260131201006-g296e2ef → 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.
- package/dist/index.js +3 -3
- 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-
|
|
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=
|
|
4406
|
+
//# debugId=5F0D8817434A027364756E2164756E21
|
package/package.json
CHANGED