@sourcegraph/amp 0.0.1748877319-g69d2be → 0.0.1748880131-g73e573
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-CEMYqypS.js → client-Byn34k3j.js} +2 -2
- package/dist/{client-CEMYqypS.js.map → client-Byn34k3j.js.map} +1 -1
- package/dist/{console-Dz8kjLXq.js → console-DU9kM8bt.js} +16 -21
- package/dist/console-DU9kM8bt.js.map +1 -0
- package/dist/{create_file.node-Dkg9a9qS.js → create_file.node-ClSLp2zA.js} +2 -2
- package/dist/{create_file.node-Dkg9a9qS.js.map → create_file.node-ClSLp2zA.js.map} +1 -1
- package/dist/{edit_file.node-BzmJeIBM.js → edit_file.node-sQFRZtsD.js} +3 -3
- package/dist/{edit_file.node-BzmJeIBM.js.map → edit_file.node-sQFRZtsD.js.map} +1 -1
- package/dist/{executable-BfvtWYTF.js → executable-2OB-i_QC.js} +2 -2
- package/dist/{executable-BfvtWYTF.js.map → executable-2OB-i_QC.js.map} +1 -1
- package/dist/{files-DLJqtzT7.js → files-BhysNTQv.js} +2 -2
- package/dist/{files-DLJqtzT7.js.map → files-BhysNTQv.js.map} +1 -1
- package/dist/{glob.node-D18uhtO0.js → glob.node-cVUTfljn.js} +4 -4
- package/dist/{glob.node-D18uhtO0.js.map → glob.node-cVUTfljn.js.map} +1 -1
- package/dist/{index-DDEnF9L5.js → index-Cb59cjjj.js} +2 -2
- package/dist/{index-DDEnF9L5.js.map → index-Cb59cjjj.js.map} +1 -1
- package/dist/{list_directory.node-ldHqnCmb.js → list_directory.node-B8Oj3ncW.js} +2 -2
- package/dist/{list_directory.node-ldHqnCmb.js.map → list_directory.node-B8Oj3ncW.js.map} +1 -1
- package/dist/{load-profile-2hKEWJfV.js → load-profile-CV3b6-Nj.js} +2 -2
- package/dist/{load-profile-2hKEWJfV.js.map → load-profile-CV3b6-Nj.js.map} +1 -1
- package/dist/{main-BnHTihL6.js → main-CZ7RS9Yt.js} +16 -16
- package/dist/{main-BnHTihL6.js.map → main-CZ7RS9Yt.js.map} +1 -1
- package/dist/{node-CUTKGt9Y.js → node-B45lZe2M.js} +3 -3
- package/dist/{node-CUTKGt9Y.js.map → node-B45lZe2M.js.map} +1 -1
- package/dist/{node-CzSXw-Xz.js → node-B4WUHHZd.js} +2 -2
- package/dist/{node-CzSXw-Xz.js.map → node-B4WUHHZd.js.map} +1 -1
- package/dist/{node-BMzC1GPN.js → node-BPXlKmtc.js} +2 -2
- package/dist/{node-BMzC1GPN.js.map → node-BPXlKmtc.js.map} +1 -1
- package/dist/{node-BHe5RJPs.js → node-B_G-Clj6.js} +3 -3
- package/dist/{node-BHe5RJPs.js.map → node-B_G-Clj6.js.map} +1 -1
- package/dist/{node-BRxAOe2b.js → node-DujrrqQo.js} +4 -4
- package/dist/{node-BRxAOe2b.js.map → node-DujrrqQo.js.map} +1 -1
- package/dist/{node-DcXu8fEU.js → node-UKopbCpJ.js} +3 -3
- package/dist/{node-DcXu8fEU.js.map → node-UKopbCpJ.js.map} +1 -1
- package/dist/{read_file.node-6DnwIJAn.js → read_file.node-gXffR6jB.js} +2 -2
- package/dist/{read_file.node-6DnwIJAn.js.map → read_file.node-gXffR6jB.js.map} +1 -1
- package/dist/{stdio-B_076PGB.js → stdio-B7u3y1kB.js} +3 -3
- package/dist/{stdio-B_076PGB.js.map → stdio-B7u3y1kB.js.map} +1 -1
- package/dist/storybook.js +1 -1
- package/dist/{undo_edit.node-WsSsWWo7.js → undo_edit.node-BQSDe2Ll.js} +2 -2
- package/dist/{undo_edit.node-WsSsWWo7.js.map → undo_edit.node-BQSDe2Ll.js.map} +1 -1
- package/package.json +1 -1
- package/dist/console-Dz8kjLXq.js.map +0 -1
@@ -1,10 +1,10 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { O as Ne, s as $r, c as rh, a as wr, b as fs, f as We, d as Bn, p as Tt, m as xe, e as Fn, g as yr, h as At, i as Yd, j as th, o as le, l as be, k as se, n as ee, q as ye, r as Ge, t as Ke, u as Ue, v as zn, w as nt, x as nh, y as Qd, z as Vn, A as Zd, M as Ze, B as Xd, C as Q, N as Ln, D as hs, E as Kr, F as ds, G as ep, H as rp, I as ih, J as tp, K as ah, L as np, P as Gs, Q as Lt, R as ip, S as ap, T as op, U as sp, V as up, W as lp, X as cp, Y as fp, Z as hp, _ as dp, $ as pp, a0 as mp, a1 as vp, a2 as gp, a3 as yp, a4 as bp, a5 as wp, a6 as _p, a7 as Ep, a8 as Sp, a9 as it, aa as Pp, ab as Rp, ac as xp, ad as Cp, ae as oh, af as Ht, ag as sh, ah as Ks, ai as Js, aj as Ys, ak as fi, al as uh, am as Ko, an as Ee, ao as Op, ap as Tp, aq as Ap, ar as Lp, as as $p, at as Jo, au as lh, av as ch, aw as Ip, ax as Dp } from "./console-
|
2
|
+
import { O as Ne, s as $r, c as rh, a as wr, b as fs, f as We, d as Bn, p as Tt, m as xe, e as Fn, g as yr, h as At, i as Yd, j as th, o as le, l as be, k as se, n as ee, q as ye, r as Ge, t as Ke, u as Ue, v as zn, w as nt, x as nh, y as Qd, z as Vn, A as Zd, M as Ze, B as Xd, C as Q, N as Ln, D as hs, E as Kr, F as ds, G as ep, H as rp, I as ih, J as tp, K as ah, L as np, P as Gs, Q as Lt, R as ip, S as ap, T as op, U as sp, V as up, W as lp, X as cp, Y as fp, Z as hp, _ as dp, $ as pp, a0 as mp, a1 as vp, a2 as gp, a3 as yp, a4 as bp, a5 as wp, a6 as _p, a7 as Ep, a8 as Sp, a9 as it, aa as Pp, ab as Rp, ac as xp, ad as Cp, ae as oh, af as Ht, ag as sh, ah as Ks, ai as Js, aj as Ys, ak as fi, al as uh, am as Ko, an as Ee, ao as Op, ap as Tp, aq as Ap, ar as Lp, as as $p, at as Jo, au as lh, av as ch, aw as Ip, ax as Dp } from "./console-DU9kM8bt.js";
|
3
3
|
import * as Mp from "node:fs/promises";
|
4
4
|
import rt, { readdir as Fp, stat as fh, readFile as Or, mkdir as qn, writeFile as St, unlink as qp, readlink as kp, open as jp } from "node:fs/promises";
|
5
5
|
import * as Np from "node:path";
|
6
6
|
import me, { join as hh, dirname as Qs } from "node:path";
|
7
|
-
import { f as br, i as Hp } from "./client-
|
7
|
+
import { f as br, i as Hp } from "./client-Byn34k3j.js";
|
8
8
|
import ps from "node:events";
|
9
9
|
import * as Up from "node:child_process";
|
10
10
|
import Bp, { spawn as Wn, exec as kr } from "node:child_process";
|
@@ -18,7 +18,7 @@ import Yp from "node:zlib";
|
|
18
18
|
import Qp from "node:string_decoder";
|
19
19
|
import Zp, { createServer as ph } from "node:http";
|
20
20
|
import Xp from "node:https";
|
21
|
-
import { r as em } from "./executable-
|
21
|
+
import { r as em } from "./executable-2OB-i_QC.js";
|
22
22
|
const Lr = Symbol.for("@@pendingOperation");
|
23
23
|
function Zs(i, e) {
|
24
24
|
return (t) => Ne.from(t).pipe(
|
@@ -4989,10 +4989,10 @@ async function Eg(i, e, t) {
|
|
4989
4989
|
if ("url" in i)
|
4990
4990
|
n = new wg(new URL(i.url));
|
4991
4991
|
else {
|
4992
|
-
const { loadProfileEnvironmentVariables: r } = await import("./load-profile-
|
4992
|
+
const { loadProfileEnvironmentVariables: r } = await import("./load-profile-CV3b6-Nj.js"), s = t.loadProfile === "never" || !t.workingDirectory ? process.env : await We(
|
4993
4993
|
r(t.workingDirectory, t.loadProfile)
|
4994
4994
|
);
|
4995
|
-
n = await import("./stdio-
|
4995
|
+
n = await import("./stdio-B7u3y1kB.js").then(
|
4996
4996
|
({ StdioClientTransport: u }) => new u({
|
4997
4997
|
...i,
|
4998
4998
|
stderr: "pipe",
|
@@ -5721,7 +5721,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
|
|
5721
5721
|
},
|
5722
5722
|
source: "builtin"
|
5723
5723
|
},
|
5724
|
-
fn: import("./node-
|
5724
|
+
fn: import("./node-B_G-Clj6.js").then(({ runRoutine: i }) => i)
|
5725
5725
|
};
|
5726
5726
|
let el = !1;
|
5727
5727
|
async function zh(i, e = !1) {
|
@@ -16840,7 +16840,7 @@ function kb(i) {
|
|
16840
16840
|
);
|
16841
16841
|
return t || n;
|
16842
16842
|
}
|
16843
|
-
const jb = "Out of credits", Nb = import("./node-
|
16843
|
+
const jb = "Out of credits", Nb = import("./node-B4WUHHZd.js").then(
|
16844
16844
|
({ nodeFileSystem: i }) => i
|
16845
16845
|
);
|
16846
16846
|
async function Hb() {
|
@@ -17829,7 +17829,7 @@ async function ew({
|
|
17829
17829
|
}
|
17830
17830
|
async function rw(i) {
|
17831
17831
|
try {
|
17832
|
-
const e = await Jb("0.0.
|
17832
|
+
const e = await Jb("0.0.1748880131-g73e573");
|
17833
17833
|
e.hasUpdate && e.latestVersion ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
|
17834
17834
|
try {
|
17835
17835
|
await Xb(e.latestVersion), i.next({
|
@@ -19180,7 +19180,7 @@ async function Mn(i, e) {
|
|
19180
19180
|
Is({
|
19181
19181
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
19182
19182
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
19183
|
-
}), Dp("0.0.
|
19183
|
+
}), Dp("0.0.1748880131-g73e573");
|
19184
19184
|
const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
19185
19185
|
Q.info("Using settings file", { settingsFile: t });
|
19186
19186
|
const n = Dn(), r = Jh({ settingsFile: t }), s = process.env.AMP_API_KEY;
|
@@ -19280,7 +19280,7 @@ function Sw(i) {
|
|
19280
19280
|
const e = new Ug().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
|
19281
19281
|
e.option("-V, --version", "output the version number", () => {
|
19282
19282
|
if (i.isTTY) {
|
19283
|
-
const r = "0.0.
|
19283
|
+
const r = "0.0.1748880131-g73e573".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
|
19284
19284
|
if (r) {
|
19285
19285
|
const [, , s] = r;
|
19286
19286
|
try {
|
@@ -19291,21 +19291,21 @@ function Sw(i) {
|
|
19291
19291
|
day: "numeric"
|
19292
19292
|
});
|
19293
19293
|
Ie.write(
|
19294
|
-
`0.0.
|
19294
|
+
`0.0.1748880131-g73e573 ${i.printer.print(`(released ${l})`, { foreground: "gray" })}
|
19295
19295
|
`
|
19296
19296
|
);
|
19297
19297
|
} else
|
19298
|
-
Ie.write(`0.0.
|
19298
|
+
Ie.write(`0.0.1748880131-g73e573
|
19299
19299
|
`);
|
19300
19300
|
} catch {
|
19301
|
-
Ie.write(`0.0.
|
19301
|
+
Ie.write(`0.0.1748880131-g73e573
|
19302
19302
|
`);
|
19303
19303
|
}
|
19304
19304
|
} else
|
19305
|
-
Ie.write(`0.0.
|
19305
|
+
Ie.write(`0.0.1748880131-g73e573
|
19306
19306
|
`);
|
19307
19307
|
} else
|
19308
|
-
Ie.write(`0.0.
|
19308
|
+
Ie.write(`0.0.1748880131-g73e573
|
19309
19309
|
`);
|
19310
19310
|
process.exit(0);
|
19311
19311
|
}), e.addHelpText(
|
@@ -19697,4 +19697,4 @@ export {
|
|
19697
19697
|
hm as J,
|
19698
19698
|
Fg as r
|
19699
19699
|
};
|
19700
|
-
//# sourceMappingURL=main-
|
19700
|
+
//# sourceMappingURL=main-CZ7RS9Yt.js.map
|