@sourcegraph/amp-sdk 0.1.0-20251022202704-gd85048a → 0.1.0-20251029183144-g02378e6

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
@@ -4042,7 +4042,7 @@ var MCPConfigSchema = exports_external.record(exports_external.string(), MCPServ
4042
4042
  var AmpOptionsSchema = exports_external.object({
4043
4043
  cwd: exports_external.string().describe("Current working directory").optional(),
4044
4044
  dangerouslyAllowAll: exports_external.boolean().describe("Allow all tool usage without asking for permission").optional(),
4045
- visibility: exports_external.enum(["private", "public", "workspace", "group"]).describe("Visibility level for new threads").default("workspace").optional(),
4045
+ visibility: exports_external.enum(["private", "public_unlisted", "public_discoverable", "workspace", "group"]).describe("Visibility level for new threads").default("workspace").optional(),
4046
4046
  settingsFile: exports_external.string().describe("Settings file path").optional(),
4047
4047
  logLevel: exports_external.enum(["debug", "info", "warn", "error", "audit"]).describe("Log level").optional(),
4048
4048
  logFile: exports_external.string().describe("Log file path").optional(),
@@ -4154,7 +4154,7 @@ function buildEnvironmentVariables(options) {
4154
4154
  if (options.env) {
4155
4155
  Object.assign(env, options.env);
4156
4156
  }
4157
- env.AMP_SDK_VERSION = "0.1.0-20251022202704-gd85048a";
4157
+ env.AMP_SDK_VERSION = "0.1.0-20251029183144-g02378e6";
4158
4158
  return env;
4159
4159
  }
4160
4160
  function spawnAmpCli(args, options) {
@@ -4355,4 +4355,4 @@ export {
4355
4355
  AmpOptionsSchema
4356
4356
  };
4357
4357
 
4358
- //# debugId=55BAB45A56267D2564756E2164756E21
4358
+ //# debugId=B120E19FAEC94FAA64756E2164756E21
package/dist/types.d.ts CHANGED
@@ -226,7 +226,7 @@ export type MCPConfig = z.infer<typeof MCPConfigSchema>;
226
226
  export declare const AmpOptionsSchema: z.ZodObject<{
227
227
  cwd: z.ZodOptional<z.ZodString>;
228
228
  dangerouslyAllowAll: z.ZodOptional<z.ZodBoolean>;
229
- visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["private", "public", "workspace", "group"]>>>;
229
+ visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["private", "public_unlisted", "public_discoverable", "workspace", "group"]>>>;
230
230
  settingsFile: z.ZodOptional<z.ZodString>;
231
231
  logLevel: z.ZodOptional<z.ZodEnum<["debug", "info", "warn", "error", "audit"]>>;
232
232
  logFile: z.ZodOptional<z.ZodString>;
@@ -284,7 +284,7 @@ export declare const AmpOptionsSchema: z.ZodObject<{
284
284
  env?: Record<string, string> | undefined;
285
285
  cwd?: string | undefined;
286
286
  dangerouslyAllowAll?: boolean | undefined;
287
- visibility?: "private" | "public" | "workspace" | "group" | undefined;
287
+ visibility?: "private" | "public_unlisted" | "public_discoverable" | "workspace" | "group" | undefined;
288
288
  settingsFile?: string | undefined;
289
289
  logLevel?: "debug" | "info" | "warn" | "error" | "audit" | undefined;
290
290
  logFile?: string | undefined;
@@ -307,7 +307,7 @@ export declare const AmpOptionsSchema: z.ZodObject<{
307
307
  env?: Record<string, string> | undefined;
308
308
  cwd?: string | undefined;
309
309
  dangerouslyAllowAll?: boolean | undefined;
310
- visibility?: "private" | "public" | "workspace" | "group" | undefined;
310
+ visibility?: "private" | "public_unlisted" | "public_discoverable" | "workspace" | "group" | undefined;
311
311
  settingsFile?: string | undefined;
312
312
  logLevel?: "debug" | "info" | "warn" | "error" | "audit" | undefined;
313
313
  logFile?: string | undefined;
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-20251022202704-gd85048a",
47
+ "version": "0.1.0-20251029183144-g02378e6",
48
48
  "scripts": {
49
49
  "build": "bun run scripts/build.ts",
50
50
  "dev": "pnpm exec tsc -b --watch",