@sourcegraph/amp 0.0.1749024087-g33af67 → 0.0.1749052967-ge36810
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-CPGg8tRm.js → client-DRkn40v5.js} +2 -2
- package/dist/{client-CPGg8tRm.js.map → client-DRkn40v5.js.map} +1 -1
- package/dist/{console-DY9rQWrM.js → console-cTFB4LXV.js} +5868 -5793
- package/dist/console-cTFB4LXV.js.map +1 -0
- package/dist/{create_file.node-B48ZHKo3.js → create_file.node-BnxKZkS8.js} +2 -2
- package/dist/{create_file.node-B48ZHKo3.js.map → create_file.node-BnxKZkS8.js.map} +1 -1
- package/dist/{edit_file.node-DoDZvMoJ.js → edit_file.node-BrpV91sY.js} +3 -3
- package/dist/{edit_file.node-DoDZvMoJ.js.map → edit_file.node-BrpV91sY.js.map} +1 -1
- package/dist/{executable-CxIxK7vJ.js → executable-CkOCFEBG.js} +2 -2
- package/dist/{executable-CxIxK7vJ.js.map → executable-CkOCFEBG.js.map} +1 -1
- package/dist/{files-LP9v826d.js → files-D5Q2JGfw.js} +2 -2
- package/dist/{files-LP9v826d.js.map → files-D5Q2JGfw.js.map} +1 -1
- package/dist/{glob.node-BJLXov5T.js → glob.node-Cub51teu.js} +4 -4
- package/dist/{glob.node-BJLXov5T.js.map → glob.node-Cub51teu.js.map} +1 -1
- package/dist/{index-VY0YWJcj.js → index-l6SSoCQL.js} +2 -2
- package/dist/{index-VY0YWJcj.js.map → index-l6SSoCQL.js.map} +1 -1
- package/dist/{list_directory.node-Bi80mJM9.js → list_directory.node-RNgF574B.js} +2 -2
- package/dist/{list_directory.node-Bi80mJM9.js.map → list_directory.node-RNgF574B.js.map} +1 -1
- package/dist/{load-profile-AW_lhfUQ.js → load-profile-BUNbamZ9.js} +2 -2
- package/dist/{load-profile-AW_lhfUQ.js.map → load-profile-BUNbamZ9.js.map} +1 -1
- package/dist/{main-DZ3ddwsv.js → main-w26lVbDc.js} +23 -17
- package/dist/main-w26lVbDc.js.map +1 -0
- package/dist/{node-D_4hSZ7t.js → node-Bu9szyQU.js} +4 -4
- package/dist/{node-D_4hSZ7t.js.map → node-Bu9szyQU.js.map} +1 -1
- package/dist/{node-DrcVKZtX.js → node-C8KhLGcS.js} +2 -2
- package/dist/{node-DrcVKZtX.js.map → node-C8KhLGcS.js.map} +1 -1
- package/dist/{node-odO3HE4R.js → node-CG4bNXnL.js} +3 -3
- package/dist/{node-odO3HE4R.js.map → node-CG4bNXnL.js.map} +1 -1
- package/dist/{node-DoR5cBi5.js → node-D2i4QyuX.js} +2 -2
- package/dist/{node-DoR5cBi5.js.map → node-D2i4QyuX.js.map} +1 -1
- package/dist/{node-BeTgxAcj.js → node-HnDWqqri.js} +3 -3
- package/dist/{node-BeTgxAcj.js.map → node-HnDWqqri.js.map} +1 -1
- package/dist/{node-CsrPPeTB.js → node-rOj17fe_.js} +3 -3
- package/dist/{node-CsrPPeTB.js.map → node-rOj17fe_.js.map} +1 -1
- package/dist/{read_file.node-N26TFyJs.js → read_file.node-5Ab8TOWo.js} +2 -2
- package/dist/{read_file.node-N26TFyJs.js.map → read_file.node-5Ab8TOWo.js.map} +1 -1
- package/dist/{stdio-CkJOML7a.js → stdio-BdSHETWt.js} +3 -3
- package/dist/{stdio-CkJOML7a.js.map → stdio-BdSHETWt.js.map} +1 -1
- package/dist/storybook.js +1 -1
- package/dist/{undo_edit.node-zFPearKX.js → undo_edit.node-knBYg6rq.js} +2 -2
- package/dist/{undo_edit.node-zFPearKX.js.map → undo_edit.node-knBYg6rq.js.map} +1 -1
- package/package.json +1 -1
- package/dist/console-DY9rQWrM.js.map +0 -1
- package/dist/main-DZ3ddwsv.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-
|
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-
|
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-
|
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-
|
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-
|
4997
|
+
n = await import("./stdio-BdSHETWt.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-CG4bNXnL.js").then(({ runRoutine: i }) => i)
|
5759
5759
|
};
|
5760
5760
|
let cl = !1;
|
5761
5761
|
async function ed(i, e = !1) {
|
@@ -17137,6 +17137,11 @@ const kd = {
|
|
17137
17137
|
visible: !1,
|
17138
17138
|
description: "List of language IDs for which tab completion is disabled"
|
17139
17139
|
},
|
17140
|
+
"tab.autoImport.enabled": {
|
17141
|
+
value: !1,
|
17142
|
+
visible: !1,
|
17143
|
+
description: "Enable auto-import feature for tab completion"
|
17144
|
+
},
|
17140
17145
|
"tab.verboseLogs": {
|
17141
17146
|
value: !1,
|
17142
17147
|
visible: !1,
|
@@ -17616,7 +17621,7 @@ function sw(i) {
|
|
17616
17621
|
);
|
17617
17622
|
return t || n;
|
17618
17623
|
}
|
17619
|
-
const uw = "Out of credits", lw = import("./node-
|
17624
|
+
const uw = "Out of credits", lw = import("./node-C8KhLGcS.js").then(
|
17620
17625
|
({ nodeFileSystem: i }) => i
|
17621
17626
|
);
|
17622
17627
|
async function cw() {
|
@@ -18605,7 +18610,7 @@ async function Sw({
|
|
18605
18610
|
}
|
18606
18611
|
async function Pw(i) {
|
18607
18612
|
try {
|
18608
|
-
const e = await yw("0.0.
|
18613
|
+
const e = await yw("0.0.1749052967-ge36810");
|
18609
18614
|
e.hasUpdate && e.latestVersion ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
|
18610
18615
|
try {
|
18611
18616
|
await Ew(e.latestVersion), i.next({
|
@@ -19725,9 +19730,10 @@ Interrupt the agent with `, { foreground: "gray" })}${n.print("Ctrl+C", { foregr
|
|
19725
19730
|
"No AGENT.md file found. Would you like me to create one for this codebase?",
|
19726
19731
|
["y", "n"]
|
19727
19732
|
).then((b) => {
|
19728
|
-
e.write(`
|
19733
|
+
b === "y" ? e.write(`
|
19729
19734
|
Generating AGENT.md file...
|
19730
19735
|
|
19736
|
+
`) : e.write(`
|
19731
19737
|
`), f.next({
|
19732
19738
|
type: "confirmation",
|
19733
19739
|
confirmation: {
|
@@ -19994,7 +20000,7 @@ async function Hn(i, e) {
|
|
19994
20000
|
Jn({
|
19995
20001
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
19996
20002
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
19997
|
-
}), zp("0.0.
|
20003
|
+
}), zp("0.0.1749052967-ge36810");
|
19998
20004
|
const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
19999
20005
|
Y.info("Using settings file", { settingsFile: t });
|
20000
20006
|
const n = Nn(), r = ad({ settingsFile: t }), a = process.env.AMP_API_KEY;
|
@@ -20094,7 +20100,7 @@ function Kw(i) {
|
|
20094
20100
|
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
20101
|
e.option("-V, --version", "output the version number", () => {
|
20096
20102
|
if (i.isTTY) {
|
20097
|
-
const a = "0.0.
|
20103
|
+
const a = "0.0.1749052967-ge36810".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
|
20098
20104
|
if (a) {
|
20099
20105
|
const [, , u] = a;
|
20100
20106
|
try {
|
@@ -20105,21 +20111,21 @@ function Kw(i) {
|
|
20105
20111
|
day: "numeric"
|
20106
20112
|
});
|
20107
20113
|
$e.write(
|
20108
|
-
`0.0.
|
20114
|
+
`0.0.1749052967-ge36810 ${i.printer.print(`(released ${o})`, { foreground: "gray" })}
|
20109
20115
|
`
|
20110
20116
|
);
|
20111
20117
|
} else
|
20112
|
-
$e.write(`0.0.
|
20118
|
+
$e.write(`0.0.1749052967-ge36810
|
20113
20119
|
`);
|
20114
20120
|
} catch {
|
20115
|
-
$e.write(`0.0.
|
20121
|
+
$e.write(`0.0.1749052967-ge36810
|
20116
20122
|
`);
|
20117
20123
|
}
|
20118
20124
|
} else
|
20119
|
-
$e.write(`0.0.
|
20125
|
+
$e.write(`0.0.1749052967-ge36810
|
20120
20126
|
`);
|
20121
20127
|
} else
|
20122
|
-
$e.write(`0.0.
|
20128
|
+
$e.write(`0.0.1749052967-ge36810
|
20123
20129
|
`);
|
20124
20130
|
process.exit(0);
|
20125
20131
|
}), e.addHelpText(
|
@@ -20548,4 +20554,4 @@ export {
|
|
20548
20554
|
Am as J,
|
20549
20555
|
ey as r
|
20550
20556
|
};
|
20551
|
-
//# sourceMappingURL=main-
|
20557
|
+
//# sourceMappingURL=main-w26lVbDc.js.map
|