@sourcegraph/amp 0.0.1750046971-g278ab7 → 0.0.1750060878-gb8305a

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 -6
  2. package/package.json +1 -1
package/dist/amp.js CHANGED
@@ -111563,7 +111563,7 @@ let xR = null;
111563
111563
  async function tfr(t = Xp, e) {
111564
111564
  xR = await rfr(35789);
111565
111565
  const r = `${xR}`;
111566
- return Qe.info(`Generated callback port: ${r}`), `${t}/auth/cli-login?authToken=${encodeURIComponent(e)}&callbackPort=${encodeURIComponent(r)}`;
111566
+ return Qe.info(`Generated callback port: ${r}`), `${t.endsWith("/") ? t.slice(0, -1) : t}/auth/cli-login?authToken=${encodeURIComponent(e)}&callbackPort=${encodeURIComponent(r)}`;
111567
111567
  }
111568
111568
  async function rfr(t, e = 10) {
111569
111569
  Qe.info(`Finding available port starting from ${t}`);
@@ -113499,7 +113499,7 @@ async function mhr({
113499
113499
  }
113500
113500
  async function _hr(t) {
113501
113501
  try {
113502
- const e = await uhr("0.0.1750046971-g278ab7");
113502
+ const e = await uhr("0.0.1750060878-gb8305a");
113503
113503
  e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
113504
113504
  try {
113505
113505
  await phr(e.latestVersion), t.next({
@@ -115445,7 +115445,7 @@ async function C0(t, e) {
115445
115445
  SR({
115446
115446
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
115447
115447
  logFile: e.logFile || process.env.AMP_LOG_FILE
115448
- }), npt("0.0.1750046971-g278ab7");
115448
+ }), npt("0.0.1750060878-gb8305a");
115449
115449
  const r = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
115450
115450
  Qe.info("Using settings file", { settingsFile: r });
115451
115451
  const n = $5(), i = QLe({ settingsFile: r }), a = process.env.AMP_API_KEY;
@@ -115557,11 +115557,11 @@ function zhr(t) {
115557
115557
  const o = s.originalError ?? s;
115558
115558
  um(t, o);
115559
115559
  }), e.option("-V, --version", "output the version number", () => {
115560
- const o = "(released 2025-06-16T04:17:07.330Z)";
115560
+ const o = "(released 2025-06-16T08:09:14.455Z)";
115561
115561
  t.isTTY ? Ni.write(
115562
- `0.0.1750046971-g278ab7 ${t.printer.print(o, { foreground: "gray" })}
115562
+ `0.0.1750060878-gb8305a ${t.printer.print(o, { foreground: "gray" })}
115563
115563
  `
115564
- ) : Ni.write(`0.0.1750046971-g278ab7 ${o}
115564
+ ) : Ni.write(`0.0.1750060878-gb8305a ${o}
115565
115565
  `), process.exit(0);
115566
115566
  }), e.addHelpText(
115567
115567
  "after",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sourcegraph/amp",
3
- "version": "0.0.1750046971-g278ab7",
3
+ "version": "0.0.1750060878-gb8305a",
4
4
  "description": "CLI for Amp, an agentic coding tool in research preview from Sourcegraph.",
5
5
  "homepage": "https://ampcode.com/",
6
6
  "author": {