@sourcegraph/amp 0.0.1749988951-gc220a0 → 0.0.1750017682-g4857f7

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 +6 -5
  2. package/package.json +1 -1
package/dist/amp.js CHANGED
@@ -113496,7 +113496,7 @@ async function mhr({
113496
113496
  }
113497
113497
  async function _hr(t) {
113498
113498
  try {
113499
- const e = await uhr("0.0.1749988951-gc220a0");
113499
+ const e = await uhr("0.0.1750017682-g4857f7");
113500
113500
  e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
113501
113501
  try {
113502
113502
  await phr(e.latestVersion), t.next({
@@ -115442,7 +115442,7 @@ async function C0(t, e) {
115442
115442
  SR({
115443
115443
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
115444
115444
  logFile: e.logFile || process.env.AMP_LOG_FILE
115445
- }), npt("0.0.1749988951-gc220a0");
115445
+ }), npt("0.0.1750017682-g4857f7");
115446
115446
  const r = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
115447
115447
  Qe.info("Using settings file", { settingsFile: r });
115448
115448
  const n = $5(), i = QLe({ settingsFile: r }), a = process.env.AMP_API_KEY;
@@ -115550,14 +115550,15 @@ const $hr = /* @__PURE__ */ new Set(["fuzzy-server"]);
115550
115550
  function zhr(t) {
115551
115551
  const e = new hk().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
115552
115552
  e.exitOverride((s) => {
115553
+ (s.code === "commander.help" || s.code === "commander.version" || s.exitCode === 0) && process.exit(0);
115553
115554
  const o = s.originalError ?? s;
115554
115555
  um(t, o);
115555
115556
  }), e.option("-V, --version", "output the version number", () => {
115556
- const o = "(released 2025-06-15T12:10:54.421Z)";
115557
+ const o = "(released 2025-06-15T20:10:03.667Z)";
115557
115558
  t.isTTY ? Ni.write(
115558
- `0.0.1749988951-gc220a0 ${t.printer.print(o, { foreground: "gray" })}
115559
+ `0.0.1750017682-g4857f7 ${t.printer.print(o, { foreground: "gray" })}
115559
115560
  `
115560
- ) : Ni.write(`0.0.1749988951-gc220a0 ${o}
115561
+ ) : Ni.write(`0.0.1750017682-g4857f7 ${o}
115561
115562
  `), process.exit(0);
115562
115563
  }), e.addHelpText(
115563
115564
  "after",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sourcegraph/amp",
3
- "version": "0.0.1749988951-gc220a0",
3
+ "version": "0.0.1750017682-g4857f7",
4
4
  "description": "CLI for Amp, an agentic coding tool in research preview from Sourcegraph.",
5
5
  "homepage": "https://ampcode.com/",
6
6
  "author": {