@sourcegraph/amp 0.0.1748980894-g854971 → 0.0.1749006696-g945aed
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-CdGt7f2C.js → client-DfT7W2Ib.js} +2 -2
- package/dist/{client-CdGt7f2C.js.map → client-DfT7W2Ib.js.map} +1 -1
- package/dist/{console-B_WpLlBn.js → console-DL5q_5zK.js} +2538 -2526
- package/dist/{console-B_WpLlBn.js.map → console-DL5q_5zK.js.map} +1 -1
- package/dist/{create_file.node-CsT9gDmz.js → create_file.node-BPsv2mF-.js} +2 -2
- package/dist/{create_file.node-CsT9gDmz.js.map → create_file.node-BPsv2mF-.js.map} +1 -1
- package/dist/{edit_file.node-BBsHtcvC.js → edit_file.node-_-t6gI2B.js} +3 -3
- package/dist/{edit_file.node-BBsHtcvC.js.map → edit_file.node-_-t6gI2B.js.map} +1 -1
- package/dist/{executable-CZmTv_uJ.js → executable-b9Ya_bF2.js} +2 -2
- package/dist/{executable-CZmTv_uJ.js.map → executable-b9Ya_bF2.js.map} +1 -1
- package/dist/{files-smhhuXbX.js → files-CAAWClHi.js} +2 -2
- package/dist/{files-smhhuXbX.js.map → files-CAAWClHi.js.map} +1 -1
- package/dist/{glob.node-B7I9kYKu.js → glob.node-mL7LvrGc.js} +4 -4
- package/dist/{glob.node-B7I9kYKu.js.map → glob.node-mL7LvrGc.js.map} +1 -1
- package/dist/{index-gyL8W9F3.js → index-BH6QEM4x.js} +2 -2
- package/dist/{index-gyL8W9F3.js.map → index-BH6QEM4x.js.map} +1 -1
- package/dist/{list_directory.node-CArwg4Bh.js → list_directory.node-DmyX2E0J.js} +2 -2
- package/dist/{list_directory.node-CArwg4Bh.js.map → list_directory.node-DmyX2E0J.js.map} +1 -1
- package/dist/{load-profile-B9gC5cKj.js → load-profile-DDpyqRRl.js} +2 -2
- package/dist/{load-profile-B9gC5cKj.js.map → load-profile-DDpyqRRl.js.map} +1 -1
- package/dist/{main-BALY0T8z.js → main-AYSXjfEF.js} +20 -19
- package/dist/main-AYSXjfEF.js.map +1 -0
- package/dist/{node-DSSqL9Am.js → node-BuwPjz1w.js} +3 -3
- package/dist/{node-DSSqL9Am.js.map → node-BuwPjz1w.js.map} +1 -1
- package/dist/{node-IKxYW21z.js → node-D34hxGoD.js} +2 -2
- package/dist/{node-IKxYW21z.js.map → node-D34hxGoD.js.map} +1 -1
- package/dist/{node-BRsLFKPt.js → node-DPaklsl9.js} +2 -2
- package/dist/{node-BRsLFKPt.js.map → node-DPaklsl9.js.map} +1 -1
- package/dist/{node-MCjHN_Cr.js → node-DRKC6dGa.js} +4 -4
- package/dist/{node-MCjHN_Cr.js.map → node-DRKC6dGa.js.map} +1 -1
- package/dist/{node-pmgKozBB.js → node-DkDNa5Dh.js} +3 -3
- package/dist/{node-pmgKozBB.js.map → node-DkDNa5Dh.js.map} +1 -1
- package/dist/{node-CZOJR58s.js → node-OXGyVT3u.js} +3 -3
- package/dist/{node-CZOJR58s.js.map → node-OXGyVT3u.js.map} +1 -1
- package/dist/{read_file.node-uv7Y77zM.js → read_file.node-Dwvdu57e.js} +2 -2
- package/dist/{read_file.node-uv7Y77zM.js.map → read_file.node-Dwvdu57e.js.map} +1 -1
- package/dist/{stdio-DI6IegyA.js → stdio-BSOV5nc_.js} +3 -3
- package/dist/{stdio-DI6IegyA.js.map → stdio-BSOV5nc_.js.map} +1 -1
- package/dist/storybook.js +1 -1
- package/dist/{undo_edit.node-D9_a5KvG.js → undo_edit.node-CdQNPWSe.js} +2 -2
- package/dist/{undo_edit.node-D9_a5KvG.js.map → undo_edit.node-CdQNPWSe.js.map} +1 -1
- package/package.json +1 -1
- package/dist/main-BALY0T8z.js.map +0 -1
@@ -1,10 +1,10 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { O as Ne, s as $r, c as fh, a as _r, b as bs, f as Ge, d as Qn, p as $t, m as xe, e as Un, g as br, h as Dt, i as ip, j as hh, 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 dh, y as ap, z as Xn, A as op, M as er, B as sp, C as Y, N as kn, D as ws, E as Zr, F as _s, G as up, H as lp, I as ph, J as cp, K as mh, L as fp, P as ru, Q as Mt, R as hp, S as dp, T as pp, U as mp, V as vp, W as gp, X as yp, Y as bp, Z as wp, _ as _p, $ as Ep, a0 as Sp, a1 as Pp, a2 as Cp, a3 as xp, a4 as Rp, a5 as Op, a6 as Tp, a7 as Ap, a8 as Lp, a9 as Ip, aa as ut, ab as $p, ac as Dp, ad as Mp, ae as Fp, af as vh, ag as Gt, ah as gh, ai as tu, aj as nu, ak as iu, al as gi, am as yh, an as rs, ao as Se, ap as kp, aq as qp, ar as jp, as as Np, at as Hp, au as ts, av as bh, aw as wh, ax as Up, ay as Bp } from "./console-
|
2
|
+
import { O as Ne, s as $r, c as fh, a as _r, b as bs, f as Ge, d as Qn, p as $t, m as xe, e as Un, g as br, h as Dt, i as ip, j as hh, 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 dh, y as ap, z as Xn, A as op, M as er, B as sp, C as Y, N as kn, D as ws, E as Zr, F as _s, G as up, H as lp, I as ph, J as cp, K as mh, L as fp, P as ru, Q as Mt, R as hp, S as dp, T as pp, U as mp, V as vp, W as gp, X as yp, Y as bp, Z as wp, _ as _p, $ as Ep, a0 as Sp, a1 as Pp, a2 as Cp, a3 as xp, a4 as Rp, a5 as Op, a6 as Tp, a7 as Ap, a8 as Lp, a9 as Ip, aa as ut, ab as $p, ac as Dp, ad as Mp, ae as Fp, af as vh, ag as Gt, ah as gh, ai as tu, aj as nu, ak as iu, al as gi, am as yh, an as rs, ao as Se, ap as kp, aq as qp, ar as jp, as as Np, at as Hp, au as ts, av as bh, aw as wh, ax as Up, ay as Bp } from "./console-DL5q_5zK.js";
|
3
3
|
import * as zp from "node:fs/promises";
|
4
4
|
import at, { readdir as Vp, stat as _h, readFile as Ar, mkdir as Bn, writeFile as Rt, 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 au } from "node:path";
|
7
|
-
import { i as Yp, F as ou, f as wr, a as Qp } from "./client-
|
7
|
+
import { i as Yp, F as ou, f as wr, a as Qp } from "./client-DfT7W2Ib.js";
|
8
8
|
import Es from "node:events";
|
9
9
|
import * as Zp from "node:child_process";
|
10
10
|
import Xp, { execFile as Eh, 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 Sh } from "node:http";
|
20
20
|
import mm from "node:https";
|
21
|
-
import { r as vm } from "./executable-
|
21
|
+
import { r as vm } from "./executable-b9Ya_bF2.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-DDpyqRRl.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-BSOV5nc_.js").then(
|
4998
4998
|
({ StdioClientTransport: u }) => new u({
|
4999
4999
|
...i,
|
5000
5000
|
stderr: "pipe",
|
@@ -5137,7 +5137,8 @@ function Hg({
|
|
5137
5137
|
},
|
5138
5138
|
...up(
|
5139
5139
|
{
|
5140
|
-
name: s.name
|
5140
|
+
name: s.name,
|
5141
|
+
source: {}
|
5141
5142
|
},
|
5142
5143
|
f
|
5143
5144
|
)
|
@@ -5740,7 +5741,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
|
|
5740
5741
|
},
|
5741
5742
|
source: "builtin"
|
5742
5743
|
},
|
5743
|
-
fn: import("./node-
|
5744
|
+
fn: import("./node-OXGyVT3u.js").then(({ runRoutine: i }) => i)
|
5744
5745
|
};
|
5745
5746
|
let ll = !1;
|
5746
5747
|
async function Xh(i, e = !1) {
|
@@ -17073,9 +17074,9 @@ const Fd = {
|
|
17073
17074
|
description: "Model Context Protocol servers to connect to for additional tools"
|
17074
17075
|
},
|
17075
17076
|
"tools.disable": {
|
17076
|
-
value: ["browser_navigate"],
|
17077
|
+
value: ["browser_navigate", "builtin:edit_file"],
|
17077
17078
|
visible: !0,
|
17078
|
-
description: "Array of tool names to disable"
|
17079
|
+
description: "Array of tool names to disable. Use 'builtin:toolname' to disable only the builtin tool with that name (allowing an MCP server to provide a tool by that name)."
|
17079
17080
|
},
|
17080
17081
|
"tools.stopTimeout": {
|
17081
17082
|
value: 300,
|
@@ -17601,7 +17602,7 @@ function sw(i) {
|
|
17601
17602
|
);
|
17602
17603
|
return t || n;
|
17603
17604
|
}
|
17604
|
-
const uw = "Out of credits", lw = import("./node-
|
17605
|
+
const uw = "Out of credits", lw = import("./node-D34hxGoD.js").then(
|
17605
17606
|
({ nodeFileSystem: i }) => i
|
17606
17607
|
);
|
17607
17608
|
async function cw() {
|
@@ -18590,7 +18591,7 @@ async function Sw({
|
|
18590
18591
|
}
|
18591
18592
|
async function Pw(i) {
|
18592
18593
|
try {
|
18593
|
-
const e = await yw("0.0.
|
18594
|
+
const e = await yw("0.0.1749006696-g945aed");
|
18594
18595
|
e.hasUpdate && e.latestVersion ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
|
18595
18596
|
try {
|
18596
18597
|
await Ew(e.latestVersion), i.next({
|
@@ -19979,7 +19980,7 @@ async function Hn(i, e) {
|
|
19979
19980
|
Jn({
|
19980
19981
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
19981
19982
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
19982
|
-
}), Bp("0.0.
|
19983
|
+
}), Bp("0.0.1749006696-g945aed");
|
19983
19984
|
const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
19984
19985
|
Y.info("Using settings file", { settingsFile: t });
|
19985
19986
|
const n = Nn(), r = id({ settingsFile: t }), a = process.env.AMP_API_KEY;
|
@@ -20079,7 +20080,7 @@ function Kw(i) {
|
|
20079
20080
|
const e = new gl().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
|
20080
20081
|
e.option("-V, --version", "output the version number", () => {
|
20081
20082
|
if (i.isTTY) {
|
20082
|
-
const a = "0.0.
|
20083
|
+
const a = "0.0.1749006696-g945aed".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
|
20083
20084
|
if (a) {
|
20084
20085
|
const [, , u] = a;
|
20085
20086
|
try {
|
@@ -20090,21 +20091,21 @@ function Kw(i) {
|
|
20090
20091
|
day: "numeric"
|
20091
20092
|
});
|
20092
20093
|
$e.write(
|
20093
|
-
`0.0.
|
20094
|
+
`0.0.1749006696-g945aed ${i.printer.print(`(released ${o})`, { foreground: "gray" })}
|
20094
20095
|
`
|
20095
20096
|
);
|
20096
20097
|
} else
|
20097
|
-
$e.write(`0.0.
|
20098
|
+
$e.write(`0.0.1749006696-g945aed
|
20098
20099
|
`);
|
20099
20100
|
} catch {
|
20100
|
-
$e.write(`0.0.
|
20101
|
+
$e.write(`0.0.1749006696-g945aed
|
20101
20102
|
`);
|
20102
20103
|
}
|
20103
20104
|
} else
|
20104
|
-
$e.write(`0.0.
|
20105
|
+
$e.write(`0.0.1749006696-g945aed
|
20105
20106
|
`);
|
20106
20107
|
} else
|
20107
|
-
$e.write(`0.0.
|
20108
|
+
$e.write(`0.0.1749006696-g945aed
|
20108
20109
|
`);
|
20109
20110
|
process.exit(0);
|
20110
20111
|
}), e.addHelpText(
|
@@ -20533,4 +20534,4 @@ export {
|
|
20533
20534
|
Am as J,
|
20534
20535
|
ey as r
|
20535
20536
|
};
|
20536
|
-
//# sourceMappingURL=main-
|
20537
|
+
//# sourceMappingURL=main-AYSXjfEF.js.map
|