@sourcegraph/amp 0.0.1749109595-g4e65be → 0.0.1749110552-g9daa42

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-9ChYTAuP.js";
3
- import "./main-B4ln85Rg.js";
3
+ import "./main-DcFXyTPo.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-DpyLbaYS.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-mZBGUxws.js").then(
4997
+ n = await import("./stdio-evwhHRf7.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-D6m-7fmx.js").then(({ runRoutine: i }) => i)
5758
+ fn: import("./node-DJwpqsh_.js").then(({ runRoutine: i }) => i)
5759
5759
  };
5760
5760
  let pl = !1;
5761
5761
  async function td(i, e = !1) {
@@ -18614,7 +18614,7 @@ async function Ew({
18614
18614
  }
18615
18615
  async function Pw(i) {
18616
18616
  try {
18617
- const e = await yw("0.0.1749109595-g4e65be");
18617
+ const e = await yw("0.0.1749110552-g9daa42");
18618
18618
  e.hasUpdate && e.latestVersion ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
18619
18619
  try {
18620
18620
  await Sw(e.latestVersion), i.next({
@@ -20234,7 +20234,7 @@ async function Hn(i, e) {
20234
20234
  Jn({
20235
20235
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
20236
20236
  logFile: e.logFile || process.env.AMP_LOG_FILE
20237
- }), Bp("0.0.1749109595-g4e65be");
20237
+ }), Bp("0.0.1749110552-g9daa42");
20238
20238
  const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
20239
20239
  K.info("Using settings file", { settingsFile: t });
20240
20240
  const n = Nn(), r = sd({ settingsFile: t }), o = process.env.AMP_API_KEY;
@@ -20334,7 +20334,7 @@ function Jw(i) {
20334
20334
  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);
20335
20335
  e.option("-V, --version", "output the version number", () => {
20336
20336
  if (i.isTTY) {
20337
- const o = "0.0.1749109595-g4e65be".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20337
+ const o = "0.0.1749110552-g9daa42".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20338
20338
  if (o) {
20339
20339
  const [, , u] = o;
20340
20340
  try {
@@ -20345,21 +20345,21 @@ function Jw(i) {
20345
20345
  day: "numeric"
20346
20346
  });
20347
20347
  $e.write(
20348
- `0.0.1749109595-g4e65be ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
20348
+ `0.0.1749110552-g9daa42 ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
20349
20349
  `
20350
20350
  );
20351
20351
  } else
20352
- $e.write(`0.0.1749109595-g4e65be
20352
+ $e.write(`0.0.1749110552-g9daa42
20353
20353
  `);
20354
20354
  } catch {
20355
- $e.write(`0.0.1749109595-g4e65be
20355
+ $e.write(`0.0.1749110552-g9daa42
20356
20356
  `);
20357
20357
  }
20358
20358
  } else
20359
- $e.write(`0.0.1749109595-g4e65be
20359
+ $e.write(`0.0.1749110552-g9daa42
20360
20360
  `);
20361
20361
  } else
20362
- $e.write(`0.0.1749109595-g4e65be
20362
+ $e.write(`0.0.1749110552-g9daa42
20363
20363
  `);
20364
20364
  process.exit(0);
20365
20365
  }), e.addHelpText(
@@ -20807,4 +20807,4 @@ export {
20807
20807
  Tm as J,
20808
20808
  Xv as r
20809
20809
  };
20810
- //# sourceMappingURL=main-B4ln85Rg.js.map
20810
+ //# sourceMappingURL=main-DcFXyTPo.js.map