@sourcegraph/amp 0.0.1749096401-g3a8a18 → 0.0.1749109595-g4e65be

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 (48) hide show
  1. package/dist/amp.js +3 -3
  2. package/dist/{client-CT0UspN7.js → client-Co7dVied.js} +2 -2
  3. package/dist/{client-CT0UspN7.js.map → client-Co7dVied.js.map} +1 -1
  4. package/dist/{console-CZXURH0C.js → console-9ChYTAuP.js} +20 -14
  5. package/dist/console-9ChYTAuP.js.map +1 -0
  6. package/dist/create_file.node-hHqtsH6T.js +22 -0
  7. package/dist/create_file.node-hHqtsH6T.js.map +1 -0
  8. package/dist/{edit_file.node-BqRltvHA.js → edit_file.node-C_QnSUCA.js} +3 -3
  9. package/dist/{edit_file.node-BqRltvHA.js.map → edit_file.node-C_QnSUCA.js.map} +1 -1
  10. package/dist/{executable-Dy1dmJR0.js → executable-Cos2zJOT.js} +2 -2
  11. package/dist/{executable-Dy1dmJR0.js.map → executable-Cos2zJOT.js.map} +1 -1
  12. package/dist/{files-yat9N0vH.js → files-DuJQGx_l.js} +2 -2
  13. package/dist/{files-yat9N0vH.js.map → files-DuJQGx_l.js.map} +1 -1
  14. package/dist/{glob.node-h1Swo4vr.js → glob.node-Ca3WEmvJ.js} +4 -4
  15. package/dist/{glob.node-h1Swo4vr.js.map → glob.node-Ca3WEmvJ.js.map} +1 -1
  16. package/dist/{index-D5lm6ANC.js → index-qB8r0Uhu.js} +2 -2
  17. package/dist/{index-D5lm6ANC.js.map → index-qB8r0Uhu.js.map} +1 -1
  18. package/dist/{list_directory.node-CEUOBF5h.js → list_directory.node-B2wxSFMa.js} +2 -2
  19. package/dist/{list_directory.node-CEUOBF5h.js.map → list_directory.node-B2wxSFMa.js.map} +1 -1
  20. package/dist/{load-profile-Dk7ZUf3s.js → load-profile-DpyLbaYS.js} +2 -2
  21. package/dist/{load-profile-Dk7ZUf3s.js.map → load-profile-DpyLbaYS.js.map} +1 -1
  22. package/dist/{main-CS_jpDsP.js → main-B4ln85Rg.js} +21 -16
  23. package/dist/main-B4ln85Rg.js.map +1 -0
  24. package/dist/{node-BtKYcfrH.js → node-BBnb2R8E.js} +3 -3
  25. package/dist/{node-BtKYcfrH.js.map → node-BBnb2R8E.js.map} +1 -1
  26. package/dist/{node-DVHX-oeS.js → node-BUT6Nvpy.js} +2 -2
  27. package/dist/{node-DVHX-oeS.js.map → node-BUT6Nvpy.js.map} +1 -1
  28. package/dist/{node-CRrSwIMO.js → node-BYuqVOkK.js} +4 -4
  29. package/dist/{node-CRrSwIMO.js.map → node-BYuqVOkK.js.map} +1 -1
  30. package/dist/{node-dAg24OS_.js → node-D6m-7fmx.js} +3 -3
  31. package/dist/{node-dAg24OS_.js.map → node-D6m-7fmx.js.map} +1 -1
  32. package/dist/{node-BJyrP3Sj.js → node-Dm9KQUgx.js} +2 -2
  33. package/dist/{node-BJyrP3Sj.js.map → node-Dm9KQUgx.js.map} +1 -1
  34. package/dist/{node-COZM4qQd.js → node-DzhEX6Qs.js} +1077 -1063
  35. package/dist/node-DzhEX6Qs.js.map +1 -0
  36. package/dist/{read_file.node-DbAEjkEn.js → read_file.node-QXBL6A9B.js} +2 -2
  37. package/dist/{read_file.node-DbAEjkEn.js.map → read_file.node-QXBL6A9B.js.map} +1 -1
  38. package/dist/{stdio-BxgTnYre.js → stdio-mZBGUxws.js} +3 -3
  39. package/dist/{stdio-BxgTnYre.js.map → stdio-mZBGUxws.js.map} +1 -1
  40. package/dist/storybook.js +1 -1
  41. package/dist/{undo_edit.node-DL1deBcE.js → undo_edit.node-CBJHZjZk.js} +2 -2
  42. package/dist/{undo_edit.node-DL1deBcE.js.map → undo_edit.node-CBJHZjZk.js.map} +1 -1
  43. package/package.json +1 -1
  44. package/dist/console-CZXURH0C.js.map +0 -1
  45. package/dist/create_file.node-Bg2Ha2Q0.js +0 -24
  46. package/dist/create_file.node-Bg2Ha2Q0.js.map +0 -1
  47. package/dist/main-CS_jpDsP.js.map +0 -1
  48. package/dist/node-COZM4qQd.js.map +0 -1
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
- import { O as qe, s as $r, c as gh, a as _r, b as _s, f as Ge, d as Qn, p as Dt, m as xe, e as Un, g as br, h as Mt, i as op, j as vh, 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 yh, y as sp, z as Xn, A as up, M as Qe, B as bh, C as K, N as kn, D as ei, E as Zr, F as Ss, G as lp, H as cp, I as wh, J as fp, K as _h, L as hp, P as ou, Q as Ft, R as dp, S as pp, T as mp, U as gp, V as vp, W as yp, X as bp, Y as wp, Z as _p, _ as Sp, $ as Ep, 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 ut, aa as $p, ab as Dp, ac as Mp, ad as Fp, ae as Sh, af as Gt, ag as Es, ah as su, ai as uu, aj as lu, ak as yi, al as Ps, am as ns, an as Ee, ao as kp, ap as jp, aq as qp, ar as Np, as as Hp, at as is, au as Eh, av as Ph, aw as Up, ax as Bp } from "./console-CZXURH0C.js";
2
+ import { O as qe, s as $r, c as gh, a as _r, b as _s, f as Ge, d as Qn, p as Dt, m as xe, e as Un, g as br, h as Mt, i as op, j as vh, 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 yh, y as sp, z as Xn, A as up, M as Qe, B as bh, C as K, N as kn, D as ei, E as Zr, F as Ss, G as lp, H as cp, I as wh, J as fp, K as _h, L as hp, P as ou, Q as Ft, R as dp, S as pp, T as mp, U as gp, V as vp, W as yp, X as bp, Y as wp, Z as _p, _ as Sp, $ as Ep, 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 ut, aa as $p, ab as Dp, ac as Mp, ad as Fp, ae as Sh, af as Gt, ag as Es, ah as su, ai as uu, aj as lu, ak as yi, al as Ps, am as ns, an as Ee, ao as kp, ap as jp, aq as qp, ar as Np, as as Hp, at as is, au as Eh, av as Ph, aw as Up, ax as Bp } from "./console-9ChYTAuP.js";
3
3
  import * as zp from "node:fs/promises";
4
4
  import at, { readdir as Vp, stat as Ch, readFile as Ar, mkdir as Bn, writeFile as Ot, 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 cu } from "node:path";
7
- import { i as fu, F as bi, f as wr, a as Yp } from "./client-CT0UspN7.js";
7
+ import { i as fu, F as bi, f as wr, a as Yp } from "./client-Co7dVied.js";
8
8
  import Cs from "node:events";
9
9
  import * as Qp from "node:child_process";
10
10
  import Zp, { execFile as xh, spawn as ri, exec as Nr } from "node:child_process";
@@ -18,7 +18,7 @@ import cm, { createGzip as fm } from "node:zlib";
18
18
  import hm from "node:string_decoder";
19
19
  import dm, { createServer as Rh } from "node:http";
20
20
  import pm from "node:https";
21
- import { r as mm } from "./executable-Dy1dmJR0.js";
21
+ import { r as mm } from "./executable-Cos2zJOT.js";
22
22
  import { pipeline as gm } from "node:stream/promises";
23
23
  import { lookup as vm } from "node:dns";
24
24
  const Ir = Symbol.for("@@pendingOperation");
@@ -4991,10 +4991,10 @@ async function qv(i, e, t) {
4991
4991
  if ("url" in i)
4992
4992
  n = new kv(new URL(i.url));
4993
4993
  else {
4994
- const { loadProfileEnvironmentVariables: r } = await import("./load-profile-Dk7ZUf3s.js"), o = t.loadProfile === "never" || !t.workingDirectory ? process.env : await Ge(
4994
+ const { loadProfileEnvironmentVariables: r } = await import("./load-profile-DpyLbaYS.js"), o = t.loadProfile === "never" || !t.workingDirectory ? process.env : await Ge(
4995
4995
  r(t.workingDirectory, t.loadProfile)
4996
4996
  );
4997
- n = await import("./stdio-BxgTnYre.js").then(
4997
+ n = await import("./stdio-mZBGUxws.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-dAg24OS_.js").then(({ runRoutine: i }) => i)
5758
+ fn: import("./node-D6m-7fmx.js").then(({ runRoutine: i }) => i)
5759
5759
  };
5760
5760
  let pl = !1;
5761
5761
  async function td(i, e = !1) {
@@ -17101,6 +17101,11 @@ const qd = {
17101
17101
  visible: !0,
17102
17102
  description: "Array of shell commands that can be executed without confirmation"
17103
17103
  },
17104
+ "commands.strict": {
17105
+ value: !1,
17106
+ visible: !1,
17107
+ description: "Enable strict command validation. When disabled, certain commands like Bazel get relaxed path validation."
17108
+ },
17104
17109
  submitOnEnter: {
17105
17110
  value: !0,
17106
17111
  visible: !1,
@@ -17620,7 +17625,7 @@ function sw(i) {
17620
17625
  );
17621
17626
  return t || n;
17622
17627
  }
17623
- const uw = "Out of credits", lw = import("./node-DVHX-oeS.js").then(
17628
+ const uw = "Out of credits", lw = import("./node-BUT6Nvpy.js").then(
17624
17629
  ({ nodeFileSystem: i }) => i
17625
17630
  );
17626
17631
  async function cw() {
@@ -18609,7 +18614,7 @@ async function Ew({
18609
18614
  }
18610
18615
  async function Pw(i) {
18611
18616
  try {
18612
- const e = await yw("0.0.1749096401-g3a8a18");
18617
+ const e = await yw("0.0.1749109595-g4e65be");
18613
18618
  e.hasUpdate && e.latestVersion ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
18614
18619
  try {
18615
18620
  await Sw(e.latestVersion), i.next({
@@ -20229,7 +20234,7 @@ async function Hn(i, e) {
20229
20234
  Jn({
20230
20235
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
20231
20236
  logFile: e.logFile || process.env.AMP_LOG_FILE
20232
- }), Bp("0.0.1749096401-g3a8a18");
20237
+ }), Bp("0.0.1749109595-g4e65be");
20233
20238
  const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
20234
20239
  K.info("Using settings file", { settingsFile: t });
20235
20240
  const n = Nn(), r = sd({ settingsFile: t }), o = process.env.AMP_API_KEY;
@@ -20329,7 +20334,7 @@ function Jw(i) {
20329
20334
  const e = new Sl().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
20330
20335
  e.option("-V, --version", "output the version number", () => {
20331
20336
  if (i.isTTY) {
20332
- const o = "0.0.1749096401-g3a8a18".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20337
+ const o = "0.0.1749109595-g4e65be".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20333
20338
  if (o) {
20334
20339
  const [, , u] = o;
20335
20340
  try {
@@ -20340,21 +20345,21 @@ function Jw(i) {
20340
20345
  day: "numeric"
20341
20346
  });
20342
20347
  $e.write(
20343
- `0.0.1749096401-g3a8a18 ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
20348
+ `0.0.1749109595-g4e65be ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
20344
20349
  `
20345
20350
  );
20346
20351
  } else
20347
- $e.write(`0.0.1749096401-g3a8a18
20352
+ $e.write(`0.0.1749109595-g4e65be
20348
20353
  `);
20349
20354
  } catch {
20350
- $e.write(`0.0.1749096401-g3a8a18
20355
+ $e.write(`0.0.1749109595-g4e65be
20351
20356
  `);
20352
20357
  }
20353
20358
  } else
20354
- $e.write(`0.0.1749096401-g3a8a18
20359
+ $e.write(`0.0.1749109595-g4e65be
20355
20360
  `);
20356
20361
  } else
20357
- $e.write(`0.0.1749096401-g3a8a18
20362
+ $e.write(`0.0.1749109595-g4e65be
20358
20363
  `);
20359
20364
  process.exit(0);
20360
20365
  }), e.addHelpText(
@@ -20802,4 +20807,4 @@ export {
20802
20807
  Tm as J,
20803
20808
  Xv as r
20804
20809
  };
20805
- //# sourceMappingURL=main-CS_jpDsP.js.map
20810
+ //# sourceMappingURL=main-B4ln85Rg.js.map