@sourcegraph/amp 0.0.1749052967-ge36810 → 0.0.1749067277-gb5bda9

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-cTFB4LXV.js";
3
- import "./main-w26lVbDc.js";
3
+ import "./main-C2CtRH1d.js";
4
4
  import "node:crypto";
5
5
  import "node:fs/promises";
6
6
  import "node:path";
@@ -4994,7 +4994,7 @@ async function Ng(i, e, t) {
4994
4994
  const { loadProfileEnvironmentVariables: r } = await import("./load-profile-BUNbamZ9.js"), a = t.loadProfile === "never" || !t.workingDirectory ? process.env : await Ge(
4995
4995
  r(t.workingDirectory, t.loadProfile)
4996
4996
  );
4997
- n = await import("./stdio-BdSHETWt.js").then(
4997
+ n = await import("./stdio-BsuBbDXQ.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-CG4bNXnL.js").then(({ runRoutine: i }) => i)
5758
+ fn: import("./node-BJtL6b2X.js").then(({ runRoutine: i }) => i)
5759
5759
  };
5760
5760
  let cl = !1;
5761
5761
  async function ed(i, e = !1) {
@@ -18610,7 +18610,7 @@ async function Sw({
18610
18610
  }
18611
18611
  async function Pw(i) {
18612
18612
  try {
18613
- const e = await yw("0.0.1749052967-ge36810");
18613
+ const e = await yw("0.0.1749067277-gb5bda9");
18614
18614
  e.hasUpdate && e.latestVersion ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
18615
18615
  try {
18616
18616
  await Ew(e.latestVersion), i.next({
@@ -20000,7 +20000,7 @@ async function Hn(i, e) {
20000
20000
  Jn({
20001
20001
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
20002
20002
  logFile: e.logFile || process.env.AMP_LOG_FILE
20003
- }), zp("0.0.1749052967-ge36810");
20003
+ }), zp("0.0.1749067277-gb5bda9");
20004
20004
  const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
20005
20005
  Y.info("Using settings file", { settingsFile: t });
20006
20006
  const n = Nn(), r = ad({ settingsFile: t }), a = process.env.AMP_API_KEY;
@@ -20100,7 +20100,7 @@ function Kw(i) {
20100
20100
  const e = new yl().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
20101
20101
  e.option("-V, --version", "output the version number", () => {
20102
20102
  if (i.isTTY) {
20103
- const a = "0.0.1749052967-ge36810".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20103
+ const a = "0.0.1749067277-gb5bda9".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20104
20104
  if (a) {
20105
20105
  const [, , u] = a;
20106
20106
  try {
@@ -20111,21 +20111,21 @@ function Kw(i) {
20111
20111
  day: "numeric"
20112
20112
  });
20113
20113
  $e.write(
20114
- `0.0.1749052967-ge36810 ${i.printer.print(`(released ${o})`, { foreground: "gray" })}
20114
+ `0.0.1749067277-gb5bda9 ${i.printer.print(`(released ${o})`, { foreground: "gray" })}
20115
20115
  `
20116
20116
  );
20117
20117
  } else
20118
- $e.write(`0.0.1749052967-ge36810
20118
+ $e.write(`0.0.1749067277-gb5bda9
20119
20119
  `);
20120
20120
  } catch {
20121
- $e.write(`0.0.1749052967-ge36810
20121
+ $e.write(`0.0.1749067277-gb5bda9
20122
20122
  `);
20123
20123
  }
20124
20124
  } else
20125
- $e.write(`0.0.1749052967-ge36810
20125
+ $e.write(`0.0.1749067277-gb5bda9
20126
20126
  `);
20127
20127
  } else
20128
- $e.write(`0.0.1749052967-ge36810
20128
+ $e.write(`0.0.1749067277-gb5bda9
20129
20129
  `);
20130
20130
  process.exit(0);
20131
20131
  }), e.addHelpText(
@@ -20554,4 +20554,4 @@ export {
20554
20554
  Am as J,
20555
20555
  ey as r
20556
20556
  };
20557
- //# sourceMappingURL=main-w26lVbDc.js.map
20557
+ //# sourceMappingURL=main-C2CtRH1d.js.map