@sourcegraph/amp 0.0.1749024087-g33af67 → 0.0.1749038537-ga788b8

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 (44) hide show
  1. package/dist/amp.js +3 -3
  2. package/dist/{client-CPGg8tRm.js → client-DRkn40v5.js} +2 -2
  3. package/dist/{client-CPGg8tRm.js.map → client-DRkn40v5.js.map} +1 -1
  4. package/dist/{console-DY9rQWrM.js → console-cTFB4LXV.js} +5868 -5793
  5. package/dist/console-cTFB4LXV.js.map +1 -0
  6. package/dist/{create_file.node-B48ZHKo3.js → create_file.node-BnxKZkS8.js} +2 -2
  7. package/dist/{create_file.node-B48ZHKo3.js.map → create_file.node-BnxKZkS8.js.map} +1 -1
  8. package/dist/{edit_file.node-DoDZvMoJ.js → edit_file.node-BrpV91sY.js} +3 -3
  9. package/dist/{edit_file.node-DoDZvMoJ.js.map → edit_file.node-BrpV91sY.js.map} +1 -1
  10. package/dist/{executable-CxIxK7vJ.js → executable-CkOCFEBG.js} +2 -2
  11. package/dist/{executable-CxIxK7vJ.js.map → executable-CkOCFEBG.js.map} +1 -1
  12. package/dist/{files-LP9v826d.js → files-D5Q2JGfw.js} +2 -2
  13. package/dist/{files-LP9v826d.js.map → files-D5Q2JGfw.js.map} +1 -1
  14. package/dist/{glob.node-BJLXov5T.js → glob.node-Cub51teu.js} +4 -4
  15. package/dist/{glob.node-BJLXov5T.js.map → glob.node-Cub51teu.js.map} +1 -1
  16. package/dist/{index-VY0YWJcj.js → index-l6SSoCQL.js} +2 -2
  17. package/dist/{index-VY0YWJcj.js.map → index-l6SSoCQL.js.map} +1 -1
  18. package/dist/{list_directory.node-Bi80mJM9.js → list_directory.node-RNgF574B.js} +2 -2
  19. package/dist/{list_directory.node-Bi80mJM9.js.map → list_directory.node-RNgF574B.js.map} +1 -1
  20. package/dist/{load-profile-AW_lhfUQ.js → load-profile-BUNbamZ9.js} +2 -2
  21. package/dist/{load-profile-AW_lhfUQ.js.map → load-profile-BUNbamZ9.js.map} +1 -1
  22. package/dist/{main-DZ3ddwsv.js → main-CAGDgkNm.js} +18 -17
  23. package/dist/{main-DZ3ddwsv.js.map → main-CAGDgkNm.js.map} +1 -1
  24. package/dist/{node-odO3HE4R.js → node-Bs9RGMLe.js} +3 -3
  25. package/dist/{node-odO3HE4R.js.map → node-Bs9RGMLe.js.map} +1 -1
  26. package/dist/{node-D_4hSZ7t.js → node-Bu9szyQU.js} +4 -4
  27. package/dist/{node-D_4hSZ7t.js.map → node-Bu9szyQU.js.map} +1 -1
  28. package/dist/{node-DrcVKZtX.js → node-C8KhLGcS.js} +2 -2
  29. package/dist/{node-DrcVKZtX.js.map → node-C8KhLGcS.js.map} +1 -1
  30. package/dist/{node-DoR5cBi5.js → node-D2i4QyuX.js} +2 -2
  31. package/dist/{node-DoR5cBi5.js.map → node-D2i4QyuX.js.map} +1 -1
  32. package/dist/{node-BeTgxAcj.js → node-HnDWqqri.js} +3 -3
  33. package/dist/{node-BeTgxAcj.js.map → node-HnDWqqri.js.map} +1 -1
  34. package/dist/{node-CsrPPeTB.js → node-rOj17fe_.js} +3 -3
  35. package/dist/{node-CsrPPeTB.js.map → node-rOj17fe_.js.map} +1 -1
  36. package/dist/{read_file.node-N26TFyJs.js → read_file.node-5Ab8TOWo.js} +2 -2
  37. package/dist/{read_file.node-N26TFyJs.js.map → read_file.node-5Ab8TOWo.js.map} +1 -1
  38. package/dist/{stdio-CkJOML7a.js → stdio-ChUPUONM.js} +3 -3
  39. package/dist/{stdio-CkJOML7a.js.map → stdio-ChUPUONM.js.map} +1 -1
  40. package/dist/storybook.js +1 -1
  41. package/dist/{undo_edit.node-zFPearKX.js → undo_edit.node-knBYg6rq.js} +2 -2
  42. package/dist/{undo_edit.node-zFPearKX.js.map → undo_edit.node-knBYg6rq.js.map} +1 -1
  43. package/package.json +1 -1
  44. package/dist/console-DY9rQWrM.js.map +0 -1
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
- import { O as Ne, s as $r, c as hh, a as _r, b as ws, f as Ge, d as Qn, p as $t, m as xe, e as Un, g as br, h as Dt, i as ap, j as dh, 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 ph, y as op, z as Xn, A as sp, M as er, B as up, C as Y, N as kn, D as _s, E as Zr, F as Es, G as lp, H as cp, I as mh, J as fp, K as vh, L as hp, P as tu, Q as Mt, R as dp, S as pp, T as mp, U as vp, V as gp, W as yp, X as bp, Y as wp, Z as _p, _ as Ep, $ as Sp, a0 as Pp, a1 as Cp, a2 as xp, a3 as Rp, a4 as Op, a5 as Tp, a6 as Ap, a7 as Lp, a8 as Ip, a9 as $p, aa as ut, ab as Dp, ac as Mp, ad as Fp, ae as kp, af as gh, ag as Gt, ah as yh, ai as nu, aj as iu, ak as au, al as gi, am as bh, an as ts, ao as Se, ap as qp, aq as jp, ar as Np, as as Hp, at as Up, au as ns, av as wh, aw as _h, ax as Bp, ay as zp } from "./console-DY9rQWrM.js";
2
+ import { O as Ne, s as $r, c as hh, a as _r, b as ws, f as Ge, d as Qn, p as $t, m as xe, e as Un, g as br, h as Dt, i as ap, j as dh, 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 ph, y as op, z as Xn, A as sp, M as er, B as up, C as Y, N as kn, D as _s, E as Zr, F as Es, G as lp, H as cp, I as mh, J as fp, K as vh, L as hp, P as tu, Q as Mt, R as dp, S as pp, T as mp, U as vp, V as gp, W as yp, X as bp, Y as wp, Z as _p, _ as Ep, $ as Sp, a0 as Pp, a1 as Cp, a2 as xp, a3 as Rp, a4 as Op, a5 as Tp, a6 as Ap, a7 as Lp, a8 as Ip, a9 as $p, aa as ut, ab as Dp, ac as Mp, ad as Fp, ae as kp, af as gh, ag as Gt, ah as yh, ai as nu, aj as iu, ak as au, al as gi, am as bh, an as ts, ao as Se, ap as qp, aq as jp, ar as Np, as as Hp, at as Up, au as ns, av as wh, aw as _h, ax as Bp, ay as zp } from "./console-cTFB4LXV.js";
3
3
  import * as Vp from "node:fs/promises";
4
4
  import at, { readdir as Wp, stat as Eh, readFile as Ar, mkdir as Bn, writeFile as Rt, unlink as Gp, readlink as Kp, open as Jp } from "node:fs/promises";
5
5
  import * as Yp from "node:path";
6
6
  import me, { join as Ve, dirname as ou } from "node:path";
7
- import { i as su, F as yi, f as wr, a as Qp } from "./client-CPGg8tRm.js";
7
+ import { i as su, F as yi, f as wr, a as Qp } from "./client-DRkn40v5.js";
8
8
  import Ss from "node:events";
9
9
  import * as Zp from "node:child_process";
10
10
  import Xp, { execFile as Sh, 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 Ph } from "node:http";
20
20
  import mm from "node:https";
21
- import { r as vm } from "./executable-CxIxK7vJ.js";
21
+ import { r as vm } from "./executable-CkOCFEBG.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-AW_lhfUQ.js"), a = t.loadProfile === "never" || !t.workingDirectory ? process.env : await Ge(
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-CkJOML7a.js").then(
4997
+ n = await import("./stdio-ChUPUONM.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-odO3HE4R.js").then(({ runRoutine: i }) => i)
5758
+ fn: import("./node-Bs9RGMLe.js").then(({ runRoutine: i }) => i)
5759
5759
  };
5760
5760
  let cl = !1;
5761
5761
  async function ed(i, e = !1) {
@@ -17616,7 +17616,7 @@ function sw(i) {
17616
17616
  );
17617
17617
  return t || n;
17618
17618
  }
17619
- const uw = "Out of credits", lw = import("./node-DrcVKZtX.js").then(
17619
+ const uw = "Out of credits", lw = import("./node-C8KhLGcS.js").then(
17620
17620
  ({ nodeFileSystem: i }) => i
17621
17621
  );
17622
17622
  async function cw() {
@@ -18605,7 +18605,7 @@ async function Sw({
18605
18605
  }
18606
18606
  async function Pw(i) {
18607
18607
  try {
18608
- const e = await yw("0.0.1749024087-g33af67");
18608
+ const e = await yw("0.0.1749038537-ga788b8");
18609
18609
  e.hasUpdate && e.latestVersion ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
18610
18610
  try {
18611
18611
  await Ew(e.latestVersion), i.next({
@@ -19725,9 +19725,10 @@ Interrupt the agent with `, { foreground: "gray" })}${n.print("Ctrl+C", { foregr
19725
19725
  "No AGENT.md file found. Would you like me to create one for this codebase?",
19726
19726
  ["y", "n"]
19727
19727
  ).then((b) => {
19728
- e.write(`
19728
+ b === "y" ? e.write(`
19729
19729
  Generating AGENT.md file...
19730
19730
 
19731
+ `) : e.write(`
19731
19732
  `), f.next({
19732
19733
  type: "confirmation",
19733
19734
  confirmation: {
@@ -19994,7 +19995,7 @@ async function Hn(i, e) {
19994
19995
  Jn({
19995
19996
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
19996
19997
  logFile: e.logFile || process.env.AMP_LOG_FILE
19997
- }), zp("0.0.1749024087-g33af67");
19998
+ }), zp("0.0.1749038537-ga788b8");
19998
19999
  const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
19999
20000
  Y.info("Using settings file", { settingsFile: t });
20000
20001
  const n = Nn(), r = ad({ settingsFile: t }), a = process.env.AMP_API_KEY;
@@ -20094,7 +20095,7 @@ function Kw(i) {
20094
20095
  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);
20095
20096
  e.option("-V, --version", "output the version number", () => {
20096
20097
  if (i.isTTY) {
20097
- const a = "0.0.1749024087-g33af67".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20098
+ const a = "0.0.1749038537-ga788b8".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20098
20099
  if (a) {
20099
20100
  const [, , u] = a;
20100
20101
  try {
@@ -20105,21 +20106,21 @@ function Kw(i) {
20105
20106
  day: "numeric"
20106
20107
  });
20107
20108
  $e.write(
20108
- `0.0.1749024087-g33af67 ${i.printer.print(`(released ${o})`, { foreground: "gray" })}
20109
+ `0.0.1749038537-ga788b8 ${i.printer.print(`(released ${o})`, { foreground: "gray" })}
20109
20110
  `
20110
20111
  );
20111
20112
  } else
20112
- $e.write(`0.0.1749024087-g33af67
20113
+ $e.write(`0.0.1749038537-ga788b8
20113
20114
  `);
20114
20115
  } catch {
20115
- $e.write(`0.0.1749024087-g33af67
20116
+ $e.write(`0.0.1749038537-ga788b8
20116
20117
  `);
20117
20118
  }
20118
20119
  } else
20119
- $e.write(`0.0.1749024087-g33af67
20120
+ $e.write(`0.0.1749038537-ga788b8
20120
20121
  `);
20121
20122
  } else
20122
- $e.write(`0.0.1749024087-g33af67
20123
+ $e.write(`0.0.1749038537-ga788b8
20123
20124
  `);
20124
20125
  process.exit(0);
20125
20126
  }), e.addHelpText(
@@ -20548,4 +20549,4 @@ export {
20548
20549
  Am as J,
20549
20550
  ey as r
20550
20551
  };
20551
- //# sourceMappingURL=main-DZ3ddwsv.js.map
20552
+ //# sourceMappingURL=main-CAGDgkNm.js.map