@sourcegraph/amp 0.0.1749136624-gcf2c34 → 0.0.1749139282-geae466

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/amp.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import "./console-DWJKp6hf.js";
3
- import "./main-BQS7vV3K.js";
3
+ import "./main-DC23xQSD.js";
4
4
  import "node:crypto";
5
5
  import "node:fs/promises";
6
6
  import "node:path";
@@ -4994,7 +4994,7 @@ async function Mv(t, e, n) {
4994
4994
  const { loadProfileEnvironmentVariables: r } = await import("./load-profile-BfUtrEkE.js"), a = n.loadProfile === "never" || !n.workingDirectory ? process.env : await We(
4995
4995
  r(n.workingDirectory, n.loadProfile)
4996
4996
  );
4997
- i = await import("./stdio-PK_gpHtA.js").then(
4997
+ i = await import("./stdio-D4q6utRX.js").then(
4998
4998
  ({ StdioClientTransport: s }) => new s({
4999
4999
  ...t,
5000
5000
  stderr: "pipe",
@@ -5755,7 +5755,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
5755
5755
  },
5756
5756
  source: "builtin"
5757
5757
  },
5758
- fn: import("./node-BsVjwAwv.js").then(({ runRoutine: t }) => t)
5758
+ fn: import("./node-_M4Pv69H.js").then(({ runRoutine: t }) => t)
5759
5759
  };
5760
5760
  let cu = !1;
5761
5761
  async function Qh(t, e = !1) {
@@ -18623,7 +18623,7 @@ async function _w({
18623
18623
  }
18624
18624
  async function Sw(t) {
18625
18625
  try {
18626
- const e = await gw("0.0.1749136624-gcf2c34");
18626
+ const e = await gw("0.0.1749139282-geae466");
18627
18627
  e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
18628
18628
  try {
18629
18629
  await ww(e.latestVersion), t.next({
@@ -20312,7 +20312,7 @@ async function Nn(t, e) {
20312
20312
  Kn({
20313
20313
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
20314
20314
  logFile: e.logFile || process.env.AMP_LOG_FILE
20315
- }), qp("0.0.1749136624-gcf2c34");
20315
+ }), qp("0.0.1749139282-geae466");
20316
20316
  const n = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
20317
20317
  J.info("Using settings file", { settingsFile: n });
20318
20318
  const i = qn(), r = td({ settingsFile: n }), a = process.env.AMP_API_KEY;
@@ -20412,7 +20412,7 @@ function Gw(t) {
20412
20412
  const e = new yu().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
20413
20413
  e.option("-V, --version", "output the version number", () => {
20414
20414
  if (t.isTTY) {
20415
- const a = "0.0.1749136624-gcf2c34".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20415
+ const a = "0.0.1749139282-geae466".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20416
20416
  if (a) {
20417
20417
  const [, , s] = a;
20418
20418
  try {
@@ -20423,21 +20423,21 @@ function Gw(t) {
20423
20423
  day: "numeric"
20424
20424
  });
20425
20425
  Ie.write(
20426
- `0.0.1749136624-gcf2c34 ${t.printer.print(`(released ${o})`, { foreground: "gray" })}
20426
+ `0.0.1749139282-geae466 ${t.printer.print(`(released ${o})`, { foreground: "gray" })}
20427
20427
  `
20428
20428
  );
20429
20429
  } else
20430
- Ie.write(`0.0.1749136624-gcf2c34
20430
+ Ie.write(`0.0.1749139282-geae466
20431
20431
  `);
20432
20432
  } catch {
20433
- Ie.write(`0.0.1749136624-gcf2c34
20433
+ Ie.write(`0.0.1749139282-geae466
20434
20434
  `);
20435
20435
  }
20436
20436
  } else
20437
- Ie.write(`0.0.1749136624-gcf2c34
20437
+ Ie.write(`0.0.1749139282-geae466
20438
20438
  `);
20439
20439
  } else
20440
- Ie.write(`0.0.1749136624-gcf2c34
20440
+ Ie.write(`0.0.1749139282-geae466
20441
20441
  `);
20442
20442
  process.exit(0);
20443
20443
  }), e.addHelpText(
@@ -20885,4 +20885,4 @@ export {
20885
20885
  Cm as J,
20886
20886
  Jv as r
20887
20887
  };
20888
- //# sourceMappingURL=main-BQS7vV3K.js.map
20888
+ //# sourceMappingURL=main-DC23xQSD.js.map