@sourcegraph/amp 0.0.1749211345-g16cdfc → 0.0.1749225700-gc8788d
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-Dd8T5Ydk.js → client-D0gbNDFf.js} +2 -2
- package/dist/{client-Dd8T5Ydk.js.map → client-D0gbNDFf.js.map} +1 -1
- package/dist/{console-D_ZxbRrA.js → console-CDi5rFHv.js} +55 -44
- package/dist/console-CDi5rFHv.js.map +1 -0
- package/dist/{create_file.node-D_xwgdhJ.js → create_file.node-DL2WuEa4.js} +2 -2
- package/dist/{create_file.node-D_xwgdhJ.js.map → create_file.node-DL2WuEa4.js.map} +1 -1
- package/dist/{edit_file.node-Cv9nC-uR.js → edit_file.node-SSEQ1h3o.js} +3 -3
- package/dist/{edit_file.node-Cv9nC-uR.js.map → edit_file.node-SSEQ1h3o.js.map} +1 -1
- package/dist/{executable-BTpHtmPV.js → executable-CxioKGk7.js} +2 -2
- package/dist/{executable-BTpHtmPV.js.map → executable-CxioKGk7.js.map} +1 -1
- package/dist/{files-CNmw2a6V.js → files-BQmddBey.js} +2 -2
- package/dist/{files-CNmw2a6V.js.map → files-BQmddBey.js.map} +1 -1
- package/dist/fuzzy-server.js +116 -113
- package/dist/fuzzy-server.js.map +1 -1
- package/dist/{glob.node-Dbygwo7q.js → glob.node-C8xrYICA.js} +4 -4
- package/dist/{glob.node-Dbygwo7q.js.map → glob.node-C8xrYICA.js.map} +1 -1
- package/dist/{index-DGuVA6oK.js → index-BY5vhogw.js} +2 -2
- package/dist/{index-DGuVA6oK.js.map → index-BY5vhogw.js.map} +1 -1
- package/dist/{list_directory.node-DJCJkqLg.js → list_directory.node-p_ArdqyT.js} +2 -2
- package/dist/{list_directory.node-DJCJkqLg.js.map → list_directory.node-p_ArdqyT.js.map} +1 -1
- package/dist/{load-profile-CXHBU_AI.js → load-profile-DxrviVkC.js} +2 -2
- package/dist/{load-profile-CXHBU_AI.js.map → load-profile-DxrviVkC.js.map} +1 -1
- package/dist/{main-CtHA5Ylu.js → main-DIn8dJ9L.js} +16 -16
- package/dist/{main-CtHA5Ylu.js.map → main-DIn8dJ9L.js.map} +1 -1
- package/dist/{node-BOIz1I5S.js → node-C9D1REPh.js} +3 -3
- package/dist/{node-BOIz1I5S.js.map → node-C9D1REPh.js.map} +1 -1
- package/dist/{node-DaL4eJRQ.js → node-CHCdepF2.js} +3 -3
- package/dist/{node-DaL4eJRQ.js.map → node-CHCdepF2.js.map} +1 -1
- package/dist/{node-DPPbAAw0.js → node-CU0lZEVr.js} +2 -2
- package/dist/{node-DPPbAAw0.js.map → node-CU0lZEVr.js.map} +1 -1
- package/dist/{node-D9dPV0eu.js → node-CrPwEb6e.js} +4 -4
- package/dist/{node-D9dPV0eu.js.map → node-CrPwEb6e.js.map} +1 -1
- package/dist/{node-C2cKbj9k.js → node-D-xGtMhE.js} +3 -3
- package/dist/{node-C2cKbj9k.js.map → node-D-xGtMhE.js.map} +1 -1
- package/dist/{node-DZCyuAqY.js → node-DQLcKPbG.js} +2 -2
- package/dist/{node-DZCyuAqY.js.map → node-DQLcKPbG.js.map} +1 -1
- package/dist/{read_file.node-CAD-I3qI.js → read_file.node-DTbjOJwN.js} +2 -2
- package/dist/{read_file.node-CAD-I3qI.js.map → read_file.node-DTbjOJwN.js.map} +1 -1
- package/dist/{stdio-7mSc8Mj0.js → stdio-DuUbi3RX.js} +3 -3
- package/dist/{stdio-7mSc8Mj0.js.map → stdio-DuUbi3RX.js.map} +1 -1
- package/dist/storybook.js +1 -1
- package/dist/{undo_edit.node-BYH1ok_y.js → undo_edit.node-qujh3sgI.js} +2 -2
- package/dist/{undo_edit.node-BYH1ok_y.js.map → undo_edit.node-qujh3sgI.js.map} +1 -1
- package/package.json +1 -1
- package/dist/console-D_ZxbRrA.js.map +0 -1
@@ -1,10 +1,10 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { O as je, s as Dr, c as dh, a as _r, b as Zn, f as We, d as kt, p as Dt, m as Ee, e as Bn, g as br, h as $t, i as sp, j as ph, o as ue, l as be, k as oe, n as re, q as ye, r as Ge, t as Ke, u as He, v as Xn, w as it, x as mh, y as lp, z as ei, A as up, M as Je, B as gh, C as J, N as Fn, D as ri, E as Jr, F as Ss, G as cp, H as fp, I as Es, J as hp, K as vh, L as dp, P as al, Q as Mt, R as pp, S as mp, T as gp, U as vp, V as yp, W as bp, X as wp, Y as _p, Z as Sp, _ as Ep, $ as Pp, a0 as Cp, a1 as Rp, a2 as xp, a3 as Tp, a4 as Op, a5 as Ap, a6 as Lp, a7 as Ip, a8 as Dp, a9 as at, aa as $p, ab as Mp, ac as yh, ad as Et, ae as ts, af as ns, ag as jn, ah as kp, ai as Fp, aj as jp, ak as qp, al as Ps, am as ol, an as Cs, ao as qr, ap as is, aq as Np, ar as Hp, as as sl, at as Up, au as Bp, av as as, aw as bh, ax as wh, ay as zp, az as Vp } from "./console-
|
2
|
+
import { O as je, s as Dr, c as dh, a as _r, b as Zn, f as We, d as kt, p as Dt, m as Ee, e as Bn, g as br, h as $t, i as sp, j as ph, o as ue, l as be, k as oe, n as re, q as ye, r as Ge, t as Ke, u as He, v as Xn, w as it, x as mh, y as lp, z as ei, A as up, M as Je, B as gh, C as J, N as Fn, D as ri, E as Jr, F as Ss, G as cp, H as fp, I as Es, J as hp, K as vh, L as dp, P as al, Q as Mt, R as pp, S as mp, T as gp, U as vp, V as yp, W as bp, X as wp, Y as _p, Z as Sp, _ as Ep, $ as Pp, a0 as Cp, a1 as Rp, a2 as xp, a3 as Tp, a4 as Op, a5 as Ap, a6 as Lp, a7 as Ip, a8 as Dp, a9 as at, aa as $p, ab as Mp, ac as yh, ad as Et, ae as ts, af as ns, ag as jn, ah as kp, ai as Fp, aj as jp, ak as qp, al as Ps, am as ol, an as Cs, ao as qr, ap as is, aq as Np, ar as Hp, as as sl, at as Up, au as Bp, av as as, aw as bh, ax as wh, ay as zp, az as Vp } from "./console-CDi5rFHv.js";
|
3
3
|
import * as Wp from "node:fs/promises";
|
4
4
|
import tt, { readdir as _h, stat as Sh, readFile as Or, mkdir as zn, writeFile as Tt, 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 ze, dirname as ll } from "node:path";
|
7
|
-
import { i as ul, F as yi, f as wr, a as Qp } from "./client-
|
7
|
+
import { i as ul, F as yi, f as wr, a as Qp } from "./client-D0gbNDFf.js";
|
8
8
|
import Rs from "node:events";
|
9
9
|
import * as Zp from "node:child_process";
|
10
10
|
import Xp, { execFile as Eh, spawn as ti, 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 gm } from "./executable-
|
21
|
+
import { r as gm } from "./executable-CxioKGk7.js";
|
22
22
|
import { pipeline as vm } 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 Nv(t, e, n) {
|
|
4991
4991
|
if ("url" in t)
|
4992
4992
|
i = new jv(new URL(t.url));
|
4993
4993
|
else {
|
4994
|
-
const { loadProfileEnvironmentVariables: r } = await import("./load-profile-
|
4994
|
+
const { loadProfileEnvironmentVariables: r } = await import("./load-profile-DxrviVkC.js"), a = n.loadProfile === "never" || !n.workingDirectory ? process.env : await We(
|
4995
4995
|
r(n.workingDirectory, n.loadProfile)
|
4996
4996
|
);
|
4997
|
-
i = await import("./stdio-
|
4997
|
+
i = await import("./stdio-DuUbi3RX.js").then(
|
4998
4998
|
({ StdioClientTransport: s }) => new s({
|
4999
4999
|
...t,
|
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-D-xGtMhE.js").then(({ runRoutine: t }) => t)
|
5759
5759
|
};
|
5760
5760
|
let hu = !1;
|
5761
5761
|
async function ed(t, e = !1) {
|
@@ -17633,7 +17633,7 @@ async function Ur(t, e, { stdin: n, stdout: i } = { stdin: process.stdin, stdout
|
|
17633
17633
|
n.on("data", u), n.once("error", o);
|
17634
17634
|
});
|
17635
17635
|
}
|
17636
|
-
const Bd = import("./node-
|
17636
|
+
const Bd = import("./node-DQLcKPbG.js").then(
|
17637
17637
|
({ nodeFileSystem: t }) => t
|
17638
17638
|
), Qo = Ft(Zp.exec);
|
17639
17639
|
async function cw(t) {
|
@@ -18787,7 +18787,7 @@ async function Rw({
|
|
18787
18787
|
}
|
18788
18788
|
async function xw(t) {
|
18789
18789
|
try {
|
18790
|
-
const e = await _w("0.0.
|
18790
|
+
const e = await _w("0.0.1749225700-gc8788d");
|
18791
18791
|
e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
|
18792
18792
|
try {
|
18793
18793
|
await Cw(e.latestVersion), t.next({
|
@@ -20536,7 +20536,7 @@ async function Un(t, e) {
|
|
20536
20536
|
Yn({
|
20537
20537
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
20538
20538
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
20539
|
-
}), Vp("0.0.
|
20539
|
+
}), Vp("0.0.1749225700-gc8788d");
|
20540
20540
|
const n = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
20541
20541
|
J.info("Using settings file", { settingsFile: n });
|
20542
20542
|
const i = Hn(), r = ad({ settingsFile: n }), a = process.env.AMP_API_KEY;
|
@@ -20644,7 +20644,7 @@ function Zw(t) {
|
|
20644
20644
|
const e = new wu().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
|
20645
20645
|
e.option("-V, --version", "output the version number", () => {
|
20646
20646
|
if (t.isTTY) {
|
20647
|
-
const a = "0.0.
|
20647
|
+
const a = "0.0.1749225700-gc8788d".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
|
20648
20648
|
if (a) {
|
20649
20649
|
const [, , s] = a;
|
20650
20650
|
try {
|
@@ -20655,21 +20655,21 @@ function Zw(t) {
|
|
20655
20655
|
day: "numeric"
|
20656
20656
|
});
|
20657
20657
|
Ie.write(
|
20658
|
-
`0.0.
|
20658
|
+
`0.0.1749225700-gc8788d ${t.printer.print(`(released ${o})`, { foreground: "gray" })}
|
20659
20659
|
`
|
20660
20660
|
);
|
20661
20661
|
} else
|
20662
|
-
Ie.write(`0.0.
|
20662
|
+
Ie.write(`0.0.1749225700-gc8788d
|
20663
20663
|
`);
|
20664
20664
|
} catch {
|
20665
|
-
Ie.write(`0.0.
|
20665
|
+
Ie.write(`0.0.1749225700-gc8788d
|
20666
20666
|
`);
|
20667
20667
|
}
|
20668
20668
|
} else
|
20669
|
-
Ie.write(`0.0.
|
20669
|
+
Ie.write(`0.0.1749225700-gc8788d
|
20670
20670
|
`);
|
20671
20671
|
} else
|
20672
|
-
Ie.write(`0.0.
|
20672
|
+
Ie.write(`0.0.1749225700-gc8788d
|
20673
20673
|
`);
|
20674
20674
|
process.exit(0);
|
20675
20675
|
}), e.addHelpText(
|
@@ -21117,4 +21117,4 @@ export {
|
|
21117
21117
|
Am as J,
|
21118
21118
|
ey as r
|
21119
21119
|
};
|
21120
|
-
//# sourceMappingURL=main-
|
21120
|
+
//# sourceMappingURL=main-DIn8dJ9L.js.map
|