@sourcegraph/amp 0.0.1749081711-gf72992 → 0.0.1749096401-g3a8a18

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-CZXURH0C.js";
3
- import "./main-B60NwFo6.js";
3
+ import "./main-CS_jpDsP.js";
4
4
  import "node:crypto";
5
5
  import "node:fs/promises";
6
6
  import "node:path";
@@ -4994,7 +4994,7 @@ async function qv(i, e, t) {
4994
4994
  const { loadProfileEnvironmentVariables: r } = await import("./load-profile-Dk7ZUf3s.js"), o = t.loadProfile === "never" || !t.workingDirectory ? process.env : await Ge(
4995
4995
  r(t.workingDirectory, t.loadProfile)
4996
4996
  );
4997
- n = await import("./stdio-Cs2BGQpm.js").then(
4997
+ n = await import("./stdio-BxgTnYre.js").then(
4998
4998
  ({ StdioClientTransport: u }) => new u({
4999
4999
  ...i,
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-DJfi96JI.js").then(({ runRoutine: i }) => i)
5758
+ fn: import("./node-dAg24OS_.js").then(({ runRoutine: i }) => i)
5759
5759
  };
5760
5760
  let pl = !1;
5761
5761
  async function td(i, e = !1) {
@@ -18609,7 +18609,7 @@ async function Ew({
18609
18609
  }
18610
18610
  async function Pw(i) {
18611
18611
  try {
18612
- const e = await yw("0.0.1749081711-gf72992");
18612
+ const e = await yw("0.0.1749096401-g3a8a18");
18613
18613
  e.hasUpdate && e.latestVersion ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
18614
18614
  try {
18615
18615
  await Sw(e.latestVersion), i.next({
@@ -20229,7 +20229,7 @@ async function Hn(i, e) {
20229
20229
  Jn({
20230
20230
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
20231
20231
  logFile: e.logFile || process.env.AMP_LOG_FILE
20232
- }), Bp("0.0.1749081711-gf72992");
20232
+ }), Bp("0.0.1749096401-g3a8a18");
20233
20233
  const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
20234
20234
  K.info("Using settings file", { settingsFile: t });
20235
20235
  const n = Nn(), r = sd({ settingsFile: t }), o = process.env.AMP_API_KEY;
@@ -20329,7 +20329,7 @@ function Jw(i) {
20329
20329
  const e = new Sl().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
20330
20330
  e.option("-V, --version", "output the version number", () => {
20331
20331
  if (i.isTTY) {
20332
- const o = "0.0.1749081711-gf72992".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20332
+ const o = "0.0.1749096401-g3a8a18".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20333
20333
  if (o) {
20334
20334
  const [, , u] = o;
20335
20335
  try {
@@ -20340,21 +20340,21 @@ function Jw(i) {
20340
20340
  day: "numeric"
20341
20341
  });
20342
20342
  $e.write(
20343
- `0.0.1749081711-gf72992 ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
20343
+ `0.0.1749096401-g3a8a18 ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
20344
20344
  `
20345
20345
  );
20346
20346
  } else
20347
- $e.write(`0.0.1749081711-gf72992
20347
+ $e.write(`0.0.1749096401-g3a8a18
20348
20348
  `);
20349
20349
  } catch {
20350
- $e.write(`0.0.1749081711-gf72992
20350
+ $e.write(`0.0.1749096401-g3a8a18
20351
20351
  `);
20352
20352
  }
20353
20353
  } else
20354
- $e.write(`0.0.1749081711-gf72992
20354
+ $e.write(`0.0.1749096401-g3a8a18
20355
20355
  `);
20356
20356
  } else
20357
- $e.write(`0.0.1749081711-gf72992
20357
+ $e.write(`0.0.1749096401-g3a8a18
20358
20358
  `);
20359
20359
  process.exit(0);
20360
20360
  }), e.addHelpText(
@@ -20802,4 +20802,4 @@ export {
20802
20802
  Tm as J,
20803
20803
  Xv as r
20804
20804
  };
20805
- //# sourceMappingURL=main-B60NwFo6.js.map
20805
+ //# sourceMappingURL=main-CS_jpDsP.js.map