@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.
- package/dist/amp.js +3 -3
- package/dist/{client-CT0UspN7.js → client-Co7dVied.js} +2 -2
- package/dist/{client-CT0UspN7.js.map → client-Co7dVied.js.map} +1 -1
- package/dist/{console-CZXURH0C.js → console-9ChYTAuP.js} +20 -14
- package/dist/console-9ChYTAuP.js.map +1 -0
- package/dist/create_file.node-hHqtsH6T.js +22 -0
- package/dist/create_file.node-hHqtsH6T.js.map +1 -0
- package/dist/{edit_file.node-BqRltvHA.js → edit_file.node-C_QnSUCA.js} +3 -3
- package/dist/{edit_file.node-BqRltvHA.js.map → edit_file.node-C_QnSUCA.js.map} +1 -1
- package/dist/{executable-Dy1dmJR0.js → executable-Cos2zJOT.js} +2 -2
- package/dist/{executable-Dy1dmJR0.js.map → executable-Cos2zJOT.js.map} +1 -1
- package/dist/{files-yat9N0vH.js → files-DuJQGx_l.js} +2 -2
- package/dist/{files-yat9N0vH.js.map → files-DuJQGx_l.js.map} +1 -1
- package/dist/{glob.node-h1Swo4vr.js → glob.node-Ca3WEmvJ.js} +4 -4
- package/dist/{glob.node-h1Swo4vr.js.map → glob.node-Ca3WEmvJ.js.map} +1 -1
- package/dist/{index-D5lm6ANC.js → index-qB8r0Uhu.js} +2 -2
- package/dist/{index-D5lm6ANC.js.map → index-qB8r0Uhu.js.map} +1 -1
- package/dist/{list_directory.node-CEUOBF5h.js → list_directory.node-B2wxSFMa.js} +2 -2
- package/dist/{list_directory.node-CEUOBF5h.js.map → list_directory.node-B2wxSFMa.js.map} +1 -1
- package/dist/{load-profile-Dk7ZUf3s.js → load-profile-DpyLbaYS.js} +2 -2
- package/dist/{load-profile-Dk7ZUf3s.js.map → load-profile-DpyLbaYS.js.map} +1 -1
- package/dist/{main-CS_jpDsP.js → main-B4ln85Rg.js} +21 -16
- package/dist/main-B4ln85Rg.js.map +1 -0
- package/dist/{node-BtKYcfrH.js → node-BBnb2R8E.js} +3 -3
- package/dist/{node-BtKYcfrH.js.map → node-BBnb2R8E.js.map} +1 -1
- package/dist/{node-DVHX-oeS.js → node-BUT6Nvpy.js} +2 -2
- package/dist/{node-DVHX-oeS.js.map → node-BUT6Nvpy.js.map} +1 -1
- package/dist/{node-CRrSwIMO.js → node-BYuqVOkK.js} +4 -4
- package/dist/{node-CRrSwIMO.js.map → node-BYuqVOkK.js.map} +1 -1
- package/dist/{node-dAg24OS_.js → node-D6m-7fmx.js} +3 -3
- package/dist/{node-dAg24OS_.js.map → node-D6m-7fmx.js.map} +1 -1
- package/dist/{node-BJyrP3Sj.js → node-Dm9KQUgx.js} +2 -2
- package/dist/{node-BJyrP3Sj.js.map → node-Dm9KQUgx.js.map} +1 -1
- package/dist/{node-COZM4qQd.js → node-DzhEX6Qs.js} +1077 -1063
- package/dist/node-DzhEX6Qs.js.map +1 -0
- package/dist/{read_file.node-DbAEjkEn.js → read_file.node-QXBL6A9B.js} +2 -2
- package/dist/{read_file.node-DbAEjkEn.js.map → read_file.node-QXBL6A9B.js.map} +1 -1
- package/dist/{stdio-BxgTnYre.js → stdio-mZBGUxws.js} +3 -3
- package/dist/{stdio-BxgTnYre.js.map → stdio-mZBGUxws.js.map} +1 -1
- package/dist/storybook.js +1 -1
- package/dist/{undo_edit.node-DL1deBcE.js → undo_edit.node-CBJHZjZk.js} +2 -2
- package/dist/{undo_edit.node-DL1deBcE.js.map → undo_edit.node-CBJHZjZk.js.map} +1 -1
- package/package.json +1 -1
- package/dist/console-CZXURH0C.js.map +0 -1
- package/dist/create_file.node-Bg2Ha2Q0.js +0 -24
- package/dist/create_file.node-Bg2Ha2Q0.js.map +0 -1
- package/dist/main-CS_jpDsP.js.map +0 -1
- 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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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.
|
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.
|
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.
|
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.
|
20348
|
+
`0.0.1749109595-g4e65be ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
|
20344
20349
|
`
|
20345
20350
|
);
|
20346
20351
|
} else
|
20347
|
-
$e.write(`0.0.
|
20352
|
+
$e.write(`0.0.1749109595-g4e65be
|
20348
20353
|
`);
|
20349
20354
|
} catch {
|
20350
|
-
$e.write(`0.0.
|
20355
|
+
$e.write(`0.0.1749109595-g4e65be
|
20351
20356
|
`);
|
20352
20357
|
}
|
20353
20358
|
} else
|
20354
|
-
$e.write(`0.0.
|
20359
|
+
$e.write(`0.0.1749109595-g4e65be
|
20355
20360
|
`);
|
20356
20361
|
} else
|
20357
|
-
$e.write(`0.0.
|
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-
|
20810
|
+
//# sourceMappingURL=main-B4ln85Rg.js.map
|