@sourcegraph/amp 0.0.1750017682-g4857f7 → 0.0.1750046971-g278ab7

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/amp.js +14 -11
  2. package/package.json +1 -1
package/dist/amp.js CHANGED
@@ -9556,12 +9556,15 @@ async function tct(t, e, r) {
9556
9556
  i(r.workingDirectory, r.loadProfile)
9557
9557
  );
9558
9558
  n = await Promise.resolve().then(() => _pr).then(
9559
- ({ StdioClientTransport: s }) => new s({
9560
- ...t,
9561
- stderr: "pipe",
9562
- cwd: r.workingDirectory,
9563
- env: { ...a, ...t.env }
9564
- })
9559
+ ({ StdioClientTransport: s }) => {
9560
+ const { AMP_API_KEY: o, ...l } = a;
9561
+ return new s({
9562
+ ...t,
9563
+ stderr: "pipe",
9564
+ cwd: r.workingDirectory,
9565
+ env: l
9566
+ });
9567
+ }
9565
9568
  );
9566
9569
  }
9567
9570
  "stderr" in n && n.stderr && typeof n.stderr == "object" && n.stderr !== null && "on" in n.stderr && typeof n.stderr.on == "function" && n.stderr.on("data", (i) => {
@@ -113496,7 +113499,7 @@ async function mhr({
113496
113499
  }
113497
113500
  async function _hr(t) {
113498
113501
  try {
113499
- const e = await uhr("0.0.1750017682-g4857f7");
113502
+ const e = await uhr("0.0.1750046971-g278ab7");
113500
113503
  e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
113501
113504
  try {
113502
113505
  await phr(e.latestVersion), t.next({
@@ -115442,7 +115445,7 @@ async function C0(t, e) {
115442
115445
  SR({
115443
115446
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
115444
115447
  logFile: e.logFile || process.env.AMP_LOG_FILE
115445
- }), npt("0.0.1750017682-g4857f7");
115448
+ }), npt("0.0.1750046971-g278ab7");
115446
115449
  const r = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
115447
115450
  Qe.info("Using settings file", { settingsFile: r });
115448
115451
  const n = $5(), i = QLe({ settingsFile: r }), a = process.env.AMP_API_KEY;
@@ -115554,11 +115557,11 @@ function zhr(t) {
115554
115557
  const o = s.originalError ?? s;
115555
115558
  um(t, o);
115556
115559
  }), e.option("-V, --version", "output the version number", () => {
115557
- const o = "(released 2025-06-15T20:10:03.667Z)";
115560
+ const o = "(released 2025-06-16T04:17:07.330Z)";
115558
115561
  t.isTTY ? Ni.write(
115559
- `0.0.1750017682-g4857f7 ${t.printer.print(o, { foreground: "gray" })}
115562
+ `0.0.1750046971-g278ab7 ${t.printer.print(o, { foreground: "gray" })}
115560
115563
  `
115561
- ) : Ni.write(`0.0.1750017682-g4857f7 ${o}
115564
+ ) : Ni.write(`0.0.1750046971-g278ab7 ${o}
115562
115565
  `), process.exit(0);
115563
115566
  }), e.addHelpText(
115564
115567
  "after",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sourcegraph/amp",
3
- "version": "0.0.1750017682-g4857f7",
3
+ "version": "0.0.1750046971-g278ab7",
4
4
  "description": "CLI for Amp, an agentic coding tool in research preview from Sourcegraph.",
5
5
  "homepage": "https://ampcode.com/",
6
6
  "author": {