@sourcegraph/amp-sdk 0.1.0-20260201045032-g4da8688 → 0.1.0-20260201074141-g69075bf

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 +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4173,7 +4173,9 @@ async function buildSettingsFile(options, sessionId) {
4173
4173
  mergedSettings["amp.skills.path"] = options.skills;
4174
4174
  }
4175
4175
  await mkdir(tempDir, { recursive: true });
4176
- console.log("[SDK] Writing settings file:", tempSettingsPath, mergedSettings);
4176
+ if (process.env.AMP_DEBUG) {
4177
+ console.log("[SDK] Writing settings file:", tempSettingsPath, mergedSettings);
4178
+ }
4177
4179
  await writeFile(tempSettingsPath, JSON.stringify(mergedSettings, null, 2), "utf-8");
4178
4180
  return {
4179
4181
  settingsFilePath: tempSettingsPath,
@@ -4194,7 +4196,7 @@ function buildEnvironmentVariables(options) {
4194
4196
  if (options.env) {
4195
4197
  Object.assign(env, options.env);
4196
4198
  }
4197
- env.AMP_SDK_VERSION = "0.1.0-20260201045032-g4da8688";
4199
+ env.AMP_SDK_VERSION = "0.1.0-20260201074141-g69075bf";
4198
4200
  return env;
4199
4201
  }
4200
4202
  function spawnAmpCli(args, options) {
@@ -4403,4 +4405,4 @@ export {
4403
4405
  AmpOptionsSchema
4404
4406
  };
4405
4407
 
4406
- //# debugId=5F0D8817434A027364756E2164756E21
4408
+ //# debugId=9786174B8A0F2FBA64756E2164756E21
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-20260201045032-g4da8688",
47
+ "version": "0.1.0-20260201074141-g69075bf",
48
48
  "scripts": {
49
49
  "build": "bun run scripts/build.ts",
50
50
  "dev": "pnpm exec tsc -b --watch",