@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.
- package/dist/index.js +5 -3
- 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
|
-
|
|
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-
|
|
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=
|
|
4408
|
+
//# debugId=9786174B8A0F2FBA64756E2164756E21
|
package/package.json
CHANGED