@sourcegraph/amp 0.0.1748966487-g086dc5 → 0.0.1748980894-g854971

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 (45) hide show
  1. package/dist/amp.js +3 -3
  2. package/dist/{client-Bj6KpOk2.js → client-CdGt7f2C.js} +2 -2
  3. package/dist/{client-Bj6KpOk2.js.map → client-CdGt7f2C.js.map} +1 -1
  4. package/dist/{console-WZBKa2_s.js → console-B_WpLlBn.js} +6877 -6861
  5. package/dist/{console-WZBKa2_s.js.map → console-B_WpLlBn.js.map} +1 -1
  6. package/dist/{create_file.node-D6oKdiaK.js → create_file.node-CsT9gDmz.js} +2 -2
  7. package/dist/{create_file.node-D6oKdiaK.js.map → create_file.node-CsT9gDmz.js.map} +1 -1
  8. package/dist/{edit_file.node-C3lbpZSk.js → edit_file.node-BBsHtcvC.js} +3 -3
  9. package/dist/{edit_file.node-C3lbpZSk.js.map → edit_file.node-BBsHtcvC.js.map} +1 -1
  10. package/dist/{executable-D4y8sKV4.js → executable-CZmTv_uJ.js} +2 -2
  11. package/dist/{executable-D4y8sKV4.js.map → executable-CZmTv_uJ.js.map} +1 -1
  12. package/dist/{files-CEnW8Te5.js → files-smhhuXbX.js} +2 -2
  13. package/dist/{files-CEnW8Te5.js.map → files-smhhuXbX.js.map} +1 -1
  14. package/dist/{glob.node-DtAAWKuk.js → glob.node-B7I9kYKu.js} +4 -4
  15. package/dist/{glob.node-DtAAWKuk.js.map → glob.node-B7I9kYKu.js.map} +1 -1
  16. package/dist/{index-yLJ51JrQ.js → index-gyL8W9F3.js} +2 -2
  17. package/dist/{index-yLJ51JrQ.js.map → index-gyL8W9F3.js.map} +1 -1
  18. package/dist/{list_directory.node-DuXkBPp1.js → list_directory.node-CArwg4Bh.js} +2 -2
  19. package/dist/{list_directory.node-DuXkBPp1.js.map → list_directory.node-CArwg4Bh.js.map} +1 -1
  20. package/dist/{load-profile-DUN0D9h6.js → load-profile-B9gC5cKj.js} +2 -2
  21. package/dist/{load-profile-DUN0D9h6.js.map → load-profile-B9gC5cKj.js.map} +1 -1
  22. package/dist/{main-DNwFD-Er.js → main-BALY0T8z.js} +16 -16
  23. package/dist/{main-DNwFD-Er.js.map → main-BALY0T8z.js.map} +1 -1
  24. package/dist/{node-CSv3f7ne.js → node-BRsLFKPt.js} +2 -2
  25. package/dist/{node-CSv3f7ne.js.map → node-BRsLFKPt.js.map} +1 -1
  26. package/dist/{node-DJUqAtoc.js → node-CZOJR58s.js} +3 -3
  27. package/dist/{node-DJUqAtoc.js.map → node-CZOJR58s.js.map} +1 -1
  28. package/dist/{node-CQuCHRDF.js → node-DSSqL9Am.js} +3 -3
  29. package/dist/{node-CQuCHRDF.js.map → node-DSSqL9Am.js.map} +1 -1
  30. package/dist/{node-CtPLPXha.js → node-IKxYW21z.js} +2 -2
  31. package/dist/{node-CtPLPXha.js.map → node-IKxYW21z.js.map} +1 -1
  32. package/dist/{node-nwKa5RmL.js → node-MCjHN_Cr.js} +4 -4
  33. package/dist/{node-nwKa5RmL.js.map → node-MCjHN_Cr.js.map} +1 -1
  34. package/dist/{node-C8blWycG.js → node-pmgKozBB.js} +3 -3
  35. package/dist/{node-C8blWycG.js.map → node-pmgKozBB.js.map} +1 -1
  36. package/dist/{read_file.node-KOcMNCMh.js → read_file.node-uv7Y77zM.js} +2 -2
  37. package/dist/{read_file.node-KOcMNCMh.js.map → read_file.node-uv7Y77zM.js.map} +1 -1
  38. package/dist/{stdio-hr3iIXJ9.js → stdio-DI6IegyA.js} +3 -3
  39. package/dist/{stdio-hr3iIXJ9.js.map → stdio-DI6IegyA.js.map} +1 -1
  40. package/dist/storybook.js +1 -1
  41. package/dist/undo_edit.node-D9_a5KvG.js +102 -0
  42. package/dist/undo_edit.node-D9_a5KvG.js.map +1 -0
  43. package/package.json +1 -1
  44. package/dist/undo_edit.node-DaZlFIHb.js +0 -82
  45. package/dist/undo_edit.node-DaZlFIHb.js.map +0 -1
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
- import { O as Ne, s as $r, c as fh, a as _r, b as bs, f as Ge, d as Qn, p as $t, m as xe, e as Un, g as br, h as Dt, i as ip, j as hh, o as le, l as be, k as oe, n as ee, q as ye, r as Ke, t as Je, u as Ue, v as Zn, w as st, x as dh, y as ap, z as Xn, A as op, M as er, B as sp, C as Y, N as kn, D as ws, E as Zr, F as _s, G as up, H as lp, I as ph, J as cp, K as mh, L as fp, P as ru, Q as Mt, R as hp, S as dp, T as pp, U as mp, V as vp, W as gp, X as yp, Y as bp, Z as wp, _ as _p, $ as Ep, a0 as Sp, a1 as Pp, a2 as Cp, a3 as xp, a4 as Rp, a5 as Op, a6 as Tp, a7 as Ap, a8 as Lp, a9 as Ip, aa as ut, ab as $p, ac as Dp, ad as Mp, ae as Fp, af as vh, ag as Gt, ah as gh, ai as tu, aj as nu, ak as iu, al as gi, am as yh, an as rs, ao as Se, ap as kp, aq as qp, ar as jp, as as Np, at as Hp, au as ts, av as bh, aw as wh, ax as Up, ay as Bp } from "./console-WZBKa2_s.js";
2
+ import { O as Ne, s as $r, c as fh, a as _r, b as bs, f as Ge, d as Qn, p as $t, m as xe, e as Un, g as br, h as Dt, i as ip, j as hh, o as le, l as be, k as oe, n as ee, q as ye, r as Ke, t as Je, u as Ue, v as Zn, w as st, x as dh, y as ap, z as Xn, A as op, M as er, B as sp, C as Y, N as kn, D as ws, E as Zr, F as _s, G as up, H as lp, I as ph, J as cp, K as mh, L as fp, P as ru, Q as Mt, R as hp, S as dp, T as pp, U as mp, V as vp, W as gp, X as yp, Y as bp, Z as wp, _ as _p, $ as Ep, a0 as Sp, a1 as Pp, a2 as Cp, a3 as xp, a4 as Rp, a5 as Op, a6 as Tp, a7 as Ap, a8 as Lp, a9 as Ip, aa as ut, ab as $p, ac as Dp, ad as Mp, ae as Fp, af as vh, ag as Gt, ah as gh, ai as tu, aj as nu, ak as iu, al as gi, am as yh, an as rs, ao as Se, ap as kp, aq as qp, ar as jp, as as Np, at as Hp, au as ts, av as bh, aw as wh, ax as Up, ay as Bp } from "./console-B_WpLlBn.js";
3
3
  import * as zp from "node:fs/promises";
4
4
  import at, { readdir as Vp, stat as _h, readFile as Ar, mkdir as Bn, writeFile as Rt, unlink as Wp, readlink as Gp, open as Kp } from "node:fs/promises";
5
5
  import * as Jp from "node:path";
6
6
  import me, { join as Ve, dirname as au } from "node:path";
7
- import { i as Yp, F as ou, f as wr, a as Qp } from "./client-Bj6KpOk2.js";
7
+ import { i as Yp, F as ou, f as wr, a as Qp } from "./client-CdGt7f2C.js";
8
8
  import Es from "node:events";
9
9
  import * as Zp from "node:child_process";
10
10
  import Xp, { execFile as Eh, spawn as ei, exec as Nr } from "node:child_process";
@@ -18,7 +18,7 @@ import fm, { createGzip as hm } from "node:zlib";
18
18
  import dm from "node:string_decoder";
19
19
  import pm, { createServer as Sh } from "node:http";
20
20
  import mm from "node:https";
21
- import { r as vm } from "./executable-D4y8sKV4.js";
21
+ import { r as vm } from "./executable-CZmTv_uJ.js";
22
22
  import { pipeline as gm } from "node:stream/promises";
23
23
  import { lookup as ym } from "node:dns";
24
24
  const Ir = Symbol.for("@@pendingOperation");
@@ -4991,10 +4991,10 @@ async function Ng(i, e, t) {
4991
4991
  if ("url" in i)
4992
4992
  n = new qg(new URL(i.url));
4993
4993
  else {
4994
- const { loadProfileEnvironmentVariables: r } = await import("./load-profile-DUN0D9h6.js"), a = t.loadProfile === "never" || !t.workingDirectory ? process.env : await Ge(
4994
+ const { loadProfileEnvironmentVariables: r } = await import("./load-profile-B9gC5cKj.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-hr3iIXJ9.js").then(
4997
+ n = await import("./stdio-DI6IegyA.js").then(
4998
4998
  ({ StdioClientTransport: u }) => new u({
4999
4999
  ...i,
5000
5000
  stderr: "pipe",
@@ -5740,7 +5740,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
5740
5740
  },
5741
5741
  source: "builtin"
5742
5742
  },
5743
- fn: import("./node-DJUqAtoc.js").then(({ runRoutine: i }) => i)
5743
+ fn: import("./node-CZOJR58s.js").then(({ runRoutine: i }) => i)
5744
5744
  };
5745
5745
  let ll = !1;
5746
5746
  async function Xh(i, e = !1) {
@@ -17601,7 +17601,7 @@ function sw(i) {
17601
17601
  );
17602
17602
  return t || n;
17603
17603
  }
17604
- const uw = "Out of credits", lw = import("./node-CtPLPXha.js").then(
17604
+ const uw = "Out of credits", lw = import("./node-IKxYW21z.js").then(
17605
17605
  ({ nodeFileSystem: i }) => i
17606
17606
  );
17607
17607
  async function cw() {
@@ -18590,7 +18590,7 @@ async function Sw({
18590
18590
  }
18591
18591
  async function Pw(i) {
18592
18592
  try {
18593
- const e = await yw("0.0.1748966487-g086dc5");
18593
+ const e = await yw("0.0.1748980894-g854971");
18594
18594
  e.hasUpdate && e.latestVersion ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
18595
18595
  try {
18596
18596
  await Ew(e.latestVersion), i.next({
@@ -19979,7 +19979,7 @@ async function Hn(i, e) {
19979
19979
  Jn({
19980
19980
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
19981
19981
  logFile: e.logFile || process.env.AMP_LOG_FILE
19982
- }), Bp("0.0.1748966487-g086dc5");
19982
+ }), Bp("0.0.1748980894-g854971");
19983
19983
  const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
19984
19984
  Y.info("Using settings file", { settingsFile: t });
19985
19985
  const n = Nn(), r = id({ settingsFile: t }), a = process.env.AMP_API_KEY;
@@ -20079,7 +20079,7 @@ function Kw(i) {
20079
20079
  const e = new gl().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
20080
20080
  e.option("-V, --version", "output the version number", () => {
20081
20081
  if (i.isTTY) {
20082
- const a = "0.0.1748966487-g086dc5".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20082
+ const a = "0.0.1748980894-g854971".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20083
20083
  if (a) {
20084
20084
  const [, , u] = a;
20085
20085
  try {
@@ -20090,21 +20090,21 @@ function Kw(i) {
20090
20090
  day: "numeric"
20091
20091
  });
20092
20092
  $e.write(
20093
- `0.0.1748966487-g086dc5 ${i.printer.print(`(released ${o})`, { foreground: "gray" })}
20093
+ `0.0.1748980894-g854971 ${i.printer.print(`(released ${o})`, { foreground: "gray" })}
20094
20094
  `
20095
20095
  );
20096
20096
  } else
20097
- $e.write(`0.0.1748966487-g086dc5
20097
+ $e.write(`0.0.1748980894-g854971
20098
20098
  `);
20099
20099
  } catch {
20100
- $e.write(`0.0.1748966487-g086dc5
20100
+ $e.write(`0.0.1748980894-g854971
20101
20101
  `);
20102
20102
  }
20103
20103
  } else
20104
- $e.write(`0.0.1748966487-g086dc5
20104
+ $e.write(`0.0.1748980894-g854971
20105
20105
  `);
20106
20106
  } else
20107
- $e.write(`0.0.1748966487-g086dc5
20107
+ $e.write(`0.0.1748980894-g854971
20108
20108
  `);
20109
20109
  process.exit(0);
20110
20110
  }), e.addHelpText(
@@ -20533,4 +20533,4 @@ export {
20533
20533
  Am as J,
20534
20534
  ey as r
20535
20535
  };
20536
- //# sourceMappingURL=main-DNwFD-Er.js.map
20536
+ //# sourceMappingURL=main-BALY0T8z.js.map