@sourcegraph/amp 0.0.1749547696-g09fbd0 → 0.0.1749556889-gbc568f
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-BuGLbCu1.js → client-jPIT0xZX.js} +1 -1
- package/dist/{console-Cx8l59nN.js → console-DMpfGJFj.js} +14 -16
- package/dist/{create_file.node-DlHzZW4R.js → create_file.node-BZG62Lws.js} +1 -1
- package/dist/{edit_file.node-P5pJKnHg.js → edit_file.node-BDALobjv.js} +2 -2
- package/dist/{executable-om4Ksp8H.js → executable-DHpRbG2D.js} +1 -1
- package/dist/{files-CsZ0HVHo.js → files-BAqnFCfa.js} +1 -1
- package/dist/{glob.node-BSoohY0b.js → glob.node-d0Yo6uqo.js} +3 -3
- package/dist/{index-BlPqgTTf.js → index-09-lD53X.js} +1 -1
- package/dist/{list_directory.node-B5epLeSX.js → list_directory.node-BL9oNLTI.js} +1 -1
- package/dist/{load-profile-ETpIGZq-.js → load-profile-RepxD2W6.js} +1 -1
- package/dist/{main-DXoQkxrD.js → main-D7eRgs3E.js} +15 -15
- package/dist/{node-BvoaWaZo.js → node-BKphB7l9.js} +3 -3
- package/dist/{node-C1lMLG-T.js → node-CMTspj_C.js} +2 -2
- package/dist/{node--f-b5mrX.js → node-CVO5JMq5.js} +1 -1
- package/dist/{node-BZUpEcDB.js → node-DIICN5y9.js} +3 -3
- package/dist/{node-CPXxAJ8V.js → node-EWLyp36N.js} +2 -2
- package/dist/{node-ChO0NLsP.js → node-GNozFK2o.js} +2 -2
- package/dist/{read_file.node-CmzlH3Dv.js → read_file.node-C4WxDQMH.js} +1 -1
- package/dist/{stdio-BGqoRhAL.js → stdio-BNK3b-hX.js} +2 -2
- package/dist/storybook.js +1 -1
- package/dist/{undo_edit.node-7LgjTILd.js → undo_edit.node-C0uWOUa8.js} +1 -1
- package/package.json +1 -1
package/dist/amp.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import "./console-
|
3
|
-
import "./main-
|
2
|
+
import "./console-DMpfGJFj.js";
|
3
|
+
import "./main-D7eRgs3E.js";
|
4
4
|
import "node:crypto";
|
5
5
|
import "node:fs/promises";
|
6
6
|
import "node:path";
|
7
7
|
import "node:process";
|
8
|
-
import "./client-
|
8
|
+
import "./client-jPIT0xZX.js";
|
@@ -6648,7 +6648,7 @@ Prefer this tool over \`edit_file\` when you want to ovewrite the entire content
|
|
6648
6648
|
content: n.content + `
|
6649
6649
|
`
|
6650
6650
|
},
|
6651
|
-
fn: import("./create_file.node-
|
6651
|
+
fn: import("./create_file.node-BZG62Lws.js").then(
|
6652
6652
|
({ nodeCreateFileTool: n }) => n
|
6653
6653
|
)
|
6654
6654
|
}, Rn = "Grep", Wk = 15, Kk = 250, Qk = `Search for exact text patterns in files using ripgrep, a fast keyword search tool.
|
@@ -6790,7 +6790,7 @@ COMPLEMENTARY USE WITH CODEBASE_SEARCH:
|
|
6790
6790
|
},
|
6791
6791
|
source: "builtin"
|
6792
6792
|
},
|
6793
|
-
fn: import("./node-
|
6793
|
+
fn: import("./node-BKphB7l9.js").then(({ nodeGrepTool: n }) => n)
|
6794
6794
|
}, tr = "read_file", Zk = 1e3, Ya = {
|
6795
6795
|
spec: {
|
6796
6796
|
name: tr,
|
@@ -6822,7 +6822,7 @@ Returns the contents of the file with each line prefixed by its line number. For
|
|
6822
6822
|
switch ("node") {
|
6823
6823
|
case "node":
|
6824
6824
|
case "vscode":
|
6825
|
-
return import("./read_file.node-
|
6825
|
+
return import("./read_file.node-C4WxDQMH.js").then(({ nodeReadFileTool: n }) => n);
|
6826
6826
|
}
|
6827
6827
|
})()
|
6828
6828
|
}, Xk = bk({
|
@@ -6851,7 +6851,7 @@ If you need to replace the entire contents of a file, use \`${Uo}\` instead, sin
|
|
6851
6851
|
inputSchema: Bw(Xk),
|
6852
6852
|
source: "builtin"
|
6853
6853
|
},
|
6854
|
-
fn: import("./edit_file.node-
|
6854
|
+
fn: import("./edit_file.node-BDALobjv.js").then(({ nodeEditFileTool: n }) => n)
|
6855
6855
|
};
|
6856
6856
|
function Og(n) {
|
6857
6857
|
return n.replace(/\\\\n/g, "\\n").replace(/\\\\t/g, "\\t").replace(/\\\\/g, "\\").replace(/\\"/g, '"').replace(/\\'/g, "'").replace(/\\n/g, `
|
@@ -11112,7 +11112,7 @@ Note: Results are sorted by modification time with the most recently modified fi
|
|
11112
11112
|
},
|
11113
11113
|
source: "builtin"
|
11114
11114
|
},
|
11115
|
-
fn: import("./glob.node-
|
11115
|
+
fn: import("./glob.node-d0Yo6uqo.js").then(({ nodeGlobTool: n }) => n)
|
11116
11116
|
}, Vo = "list_directory", sm = {
|
11117
11117
|
spec: {
|
11118
11118
|
name: Vo,
|
@@ -11133,7 +11133,7 @@ Note: Results are sorted by modification time with the most recently modified fi
|
|
11133
11133
|
switch ("node") {
|
11134
11134
|
case "node":
|
11135
11135
|
case "vscode":
|
11136
|
-
return import("./list_directory.node-
|
11136
|
+
return import("./list_directory.node-BL9oNLTI.js").then(
|
11137
11137
|
({ nodeListDirectoryTool: n }) => n
|
11138
11138
|
);
|
11139
11139
|
}
|
@@ -12055,7 +12055,7 @@ It's VERY IMPORTANT to use specific tools when searching for files, instead of i
|
|
12055
12055
|
},
|
12056
12056
|
source: "builtin"
|
12057
12057
|
},
|
12058
|
-
fn: import("./node-
|
12058
|
+
fn: import("./node-GNozFK2o.js").then(({ nodeBashTool: n }) => n),
|
12059
12059
|
preprocessArgs: (n) => {
|
12060
12060
|
if (!n.cwd)
|
12061
12061
|
try {
|
@@ -12148,7 +12148,7 @@ This tool converts web content to markdown format for better readability.`,
|
|
12148
12148
|
requiresNetwork: !0
|
12149
12149
|
}
|
12150
12150
|
},
|
12151
|
-
fn: import("./node
|
12151
|
+
fn: import("./node-CVO5JMq5.js").then(({ nodeReadWebPageTool: n }) => n)
|
12152
12152
|
}, eM = "web_search", tM = `Search the web for information.
|
12153
12153
|
|
12154
12154
|
Returns search result titles, associated URLs, and a small summary of the
|
@@ -12196,7 +12196,7 @@ the \`${hf}\` with the url.
|
|
12196
12196
|
requiresNetwork: !0
|
12197
12197
|
}
|
12198
12198
|
},
|
12199
|
-
fn: import("./node-
|
12199
|
+
fn: import("./node-CMTspj_C.js").then(({ nodeWebSearchTool: n }) => n)
|
12200
12200
|
};
|
12201
12201
|
function rM(n) {
|
12202
12202
|
if (n === 59999) return "59.99s";
|
@@ -25951,7 +25951,7 @@ async function P8(n, e) {
|
|
25951
25951
|
}
|
25952
25952
|
}
|
25953
25953
|
async function F8(n, e) {
|
25954
|
-
return (await import("./list_directory.node-
|
25954
|
+
return (await import("./list_directory.node-BL9oNLTI.js")).resolveArgumentDirectoryNode(n, e);
|
25955
25955
|
}
|
25956
25956
|
function B8(n) {
|
25957
25957
|
if (!n._regex)
|
@@ -27163,7 +27163,7 @@ async function V8({
|
|
27163
27163
|
fileMentions: void 0,
|
27164
27164
|
userState: void 0
|
27165
27165
|
};
|
27166
|
-
const i = (await import("./files-
|
27166
|
+
const i = (await import("./files-BAqnFCfa.js").then(
|
27167
27167
|
({ getFileMentions: o }) => o(
|
27168
27168
|
tm(t.content),
|
27169
27169
|
a,
|
@@ -27609,10 +27609,8 @@ class Zi {
|
|
27609
27609
|
break;
|
27610
27610
|
}
|
27611
27611
|
case "user:tool-input": {
|
27612
|
-
|
27613
|
-
|
27614
|
-
t && this.invokeTool(t, e.value);
|
27615
|
-
}
|
27612
|
+
const t = Pa(this.thread, e.toolUse);
|
27613
|
+
t && this.invokeTool(t, e.value);
|
27616
27614
|
break;
|
27617
27615
|
}
|
27618
27616
|
case "tool:data": {
|
@@ -28883,7 +28881,7 @@ Returns a git-style diff showing the changes that were undone as formatted markd
|
|
28883
28881
|
switch ("node") {
|
28884
28882
|
case "node":
|
28885
28883
|
case "vscode":
|
28886
|
-
return import("./undo_edit.node-
|
28884
|
+
return import("./undo_edit.node-C0uWOUa8.js").then(({ nodeUndoEditTool: n }) => n);
|
28887
28885
|
}
|
28888
28886
|
})()
|
28889
28887
|
}, Rm = globalThis.window?.document !== void 0;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import u from "node:path";
|
3
|
-
import { p as d, aF as f, aG as l } from "./console-
|
3
|
+
import { p as d, aF as f, aG as l } from "./console-DMpfGJFj.js";
|
4
4
|
const w = ({ args: t }, { dir: a, dirs: n, trackFileChange: c, filesystem: o }) => d(async (e) => {
|
5
5
|
if (f(a), typeof t.content != "string")
|
6
6
|
throw new Error("create_file: content must be specified");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { p, aF as m, aG as F, aH as v, aI as _, aJ as b } from "./console-
|
3
|
-
import { recordEdit as x } from "./undo_edit.node-
|
2
|
+
import { p, aF as m, aG as F, aH as v, aI as _, aJ as b } from "./console-DMpfGJFj.js";
|
3
|
+
import { recordEdit as x } from "./undo_edit.node-C0uWOUa8.js";
|
4
4
|
class y {
|
5
5
|
#e = !1;
|
6
6
|
#t = [];
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import { existsSync as o } from "node:fs";
|
3
3
|
import { createRequire as t } from "node:module";
|
4
|
-
import { C as i } from "./console-
|
4
|
+
import { C as i } from "./console-DMpfGJFj.js";
|
5
5
|
function u() {
|
6
6
|
{
|
7
7
|
if (process.env.AMP_RIPGREP_PATH)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import T from "node:path";
|
3
|
-
import { b9 as B, ba as I, C as v, bb as z, bc as C } from "./console-
|
3
|
+
import { b9 as B, ba as I, C as v, bb as z, bc as C } from "./console-DMpfGJFj.js";
|
4
4
|
async function A(r, h, a) {
|
5
5
|
const x = await a.listFiles(h), i = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), m = [], M = /\b([\w/_-]+(?:\\.|[\w/_-])*(?:\.[\w-]+)+)\b/g, F = /(\/(?:[\w-]+\/|[\w-]+\\[.\s\S])+[\w.-]+(?:\\.|[\w.-])*(?:\.[\w-]+)+)\b/g, y = /\b([A-Za-z]:[\\\\][^\s"'<>|]*(?:\.[\w-]+)+)\b/g;
|
6
6
|
await l(M, !1), await l(F, !0), await l(y, !0);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import { spawn as w } from "node:child_process";
|
3
|
-
import { p as I } from "./index-
|
4
|
-
import { O as v, g as N, m as E, C as P, aF as R } from "./console-
|
5
|
-
import { r as D } from "./executable-
|
3
|
+
import { p as I } from "./index-09-lD53X.js";
|
4
|
+
import { O as v, g as N, m as E, C as P, aF as R } from "./console-DMpfGJFj.js";
|
5
|
+
import { r as D } from "./executable-DHpRbG2D.js";
|
6
6
|
const y = ({ args: i }, { dirs: r }) => {
|
7
7
|
if (r.length === 0)
|
8
8
|
return new v((s) => {
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import c from "node:fs/promises";
|
3
3
|
import u from "node:os";
|
4
4
|
import s from "node:path";
|
5
|
-
import { O as f, aK as i, aL as l, m, aM as p } from "./console-
|
5
|
+
import { O as f, aK as i, aL as l, m, aM as p } from "./console-DMpfGJFj.js";
|
6
6
|
const D = ({ args: r }, { dirs: t }) => {
|
7
7
|
if (t.length === 0)
|
8
8
|
return new f((e) => {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { O as qe, s as $r, c as bh, a as _r, b as ti, f as Ue, d as Nt, p as Ft, m as Ee, e as Wn, g as wr, h as qt, i as mp, j as wh, o as ue, l as we, k as oe, n as re, q as be, r as Ge, t as Ke, u as He, v as ni, w as ot, x as _h, y as gp, z as ii, A as vp, M as Je, B as Sh, C as J, N as Hn, D as ai, E as Jr, F as Rs, G as yp, H as bp, I as xs, J as wp, K as Eh, L as _p, P as cl, Q as jt, R as Sp, S as Ep, T as Pp, U as Cp, V as Tp, W as Rp, X as xp, Y as Op, Z as Ap, _ as Lp, $ as Ip, a0 as $p, a1 as Dp, a2 as Mp, a3 as kp, a4 as Fp, a5 as qp, a6 as jp, a7 as Np, a8 as Ph, a9 as Up, aa as Gn, ab as Hp, ac as Bp, ad as zp, ae as st, af as Vp, ag as Wp, ah as Ch, ai as Ct, aj as ss, ak as ls, al as Yr, am as Gp, an as Kp, ao as Jp, ap as Yp, aq as Os, ar as Si, as as As, at as jr, au as us, av as Qp, aw as Zp, ax as fl, ay as Xp, az as em, aA as cs, aB as Th, aC as rm } from "./console-
|
2
|
+
import { O as qe, s as $r, c as bh, a as _r, b as ti, f as Ue, d as Nt, p as Ft, m as Ee, e as Wn, g as wr, h as qt, i as mp, j as wh, o as ue, l as we, k as oe, n as re, q as be, r as Ge, t as Ke, u as He, v as ni, w as ot, x as _h, y as gp, z as ii, A as vp, M as Je, B as Sh, C as J, N as Hn, D as ai, E as Jr, F as Rs, G as yp, H as bp, I as xs, J as wp, K as Eh, L as _p, P as cl, Q as jt, R as Sp, S as Ep, T as Pp, U as Cp, V as Tp, W as Rp, X as xp, Y as Op, Z as Ap, _ as Lp, $ as Ip, a0 as $p, a1 as Dp, a2 as Mp, a3 as kp, a4 as Fp, a5 as qp, a6 as jp, a7 as Np, a8 as Ph, a9 as Up, aa as Gn, ab as Hp, ac as Bp, ad as zp, ae as st, af as Vp, ag as Wp, ah as Ch, ai as Ct, aj as ss, ak as ls, al as Yr, am as Gp, an as Kp, ao as Jp, ap as Yp, aq as Os, ar as Si, as as As, at as jr, au as us, av as Qp, aw as Zp, ax as fl, ay as Xp, az as em, aA as cs, aB as Th, aC as rm } from "./console-DMpfGJFj.js";
|
3
3
|
import * as tm from "node:fs/promises";
|
4
4
|
import nt, { readdir as Rh, stat as xh, readFile as Or, mkdir as Kn, writeFile as Lt, unlink as nm, readlink as im, open as am } from "node:fs/promises";
|
5
5
|
import * as om from "node:path";
|
6
6
|
import ge, { join as Ve, dirname as hl } from "node:path";
|
7
|
-
import { i as dl, F as Ei, f as cr, a as sm, s as lm } from "./client-
|
7
|
+
import { i as dl, F as Ei, f as cr, a as sm, s as lm } from "./client-jPIT0xZX.js";
|
8
8
|
import Ls from "node:events";
|
9
9
|
import * as um from "node:child_process";
|
10
10
|
import cm, { execFile as Oh, spawn as oi, exec as Nr } from "node:child_process";
|
@@ -18,7 +18,7 @@ import Sm, { createGzip as Em } from "node:zlib";
|
|
18
18
|
import Pm from "node:string_decoder";
|
19
19
|
import Cm, { createServer as Ah } from "node:http";
|
20
20
|
import Tm from "node:https";
|
21
|
-
import { r as Rm } from "./executable-
|
21
|
+
import { r as Rm } from "./executable-DHpRbG2D.js";
|
22
22
|
import { pipeline as xm } from "node:stream/promises";
|
23
23
|
import { lookup as Om } from "node:dns";
|
24
24
|
const Ir = Symbol.for("@@pendingOperation");
|
@@ -4991,10 +4991,10 @@ async function Qv(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-RepxD2W6.js"), a = n.loadProfile === "never" || !n.workingDirectory ? process.env : await Ue(
|
4995
4995
|
r(n.workingDirectory, n.loadProfile)
|
4996
4996
|
);
|
4997
|
-
i = await import("./stdio-
|
4997
|
+
i = await import("./stdio-BNK3b-hX.js").then(
|
4998
4998
|
({ StdioClientTransport: o }) => new o({
|
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-EWLyp36N.js").then(({ runRoutine: t }) => t)
|
5759
5759
|
};
|
5760
5760
|
let gu = !1;
|
5761
5761
|
async function od(t, e = !1) {
|
@@ -17806,7 +17806,7 @@ async function Hr(t, e, { stdin: n, stdout: i } = { stdin: process.stdin, stdout
|
|
17806
17806
|
n.on("data", u), n.once("error", s);
|
17807
17807
|
});
|
17808
17808
|
}
|
17809
|
-
const Qd = import("./node-
|
17809
|
+
const Qd = import("./node-DIICN5y9.js").then(
|
17810
17810
|
({ nodeFileSystem: t }) => t
|
17811
17811
|
), ts = Ut(um.exec);
|
17812
17812
|
async function Tw(t) {
|
@@ -19064,7 +19064,7 @@ async function Bw({
|
|
19064
19064
|
}
|
19065
19065
|
async function zw(t) {
|
19066
19066
|
try {
|
19067
|
-
const e = await Fw("0.0.
|
19067
|
+
const e = await Fw("0.0.1749556889-gbc568f");
|
19068
19068
|
e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
|
19069
19069
|
try {
|
19070
19070
|
await Uw(e.latestVersion), t.next({
|
@@ -20915,7 +20915,7 @@ async function At(t, e) {
|
|
20915
20915
|
ei({
|
20916
20916
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
20917
20917
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
20918
|
-
}), rm("0.0.
|
20918
|
+
}), rm("0.0.1749556889-gbc568f");
|
20919
20919
|
const n = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
20920
20920
|
J.info("Using settings file", { settingsFile: n });
|
20921
20921
|
const i = Vn(), r = fd({ settingsFile: n }), a = process.env.AMP_API_KEY;
|
@@ -21023,7 +21023,7 @@ function m_(t) {
|
|
21023
21023
|
const e = new Pu().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
|
21024
21024
|
e.option("-V, --version", "output the version number", () => {
|
21025
21025
|
if (t.isTTY) {
|
21026
|
-
const a = "0.0.
|
21026
|
+
const a = "0.0.1749556889-gbc568f".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
|
21027
21027
|
if (a) {
|
21028
21028
|
const [, , o] = a;
|
21029
21029
|
try {
|
@@ -21034,21 +21034,21 @@ function m_(t) {
|
|
21034
21034
|
day: "numeric"
|
21035
21035
|
});
|
21036
21036
|
Ie.write(
|
21037
|
-
`0.0.
|
21037
|
+
`0.0.1749556889-gbc568f ${t.printer.print(`(released ${s})`, { foreground: "gray" })}
|
21038
21038
|
`
|
21039
21039
|
);
|
21040
21040
|
} else
|
21041
|
-
Ie.write(`0.0.
|
21041
|
+
Ie.write(`0.0.1749556889-gbc568f
|
21042
21042
|
`);
|
21043
21043
|
} catch {
|
21044
|
-
Ie.write(`0.0.
|
21044
|
+
Ie.write(`0.0.1749556889-gbc568f
|
21045
21045
|
`);
|
21046
21046
|
}
|
21047
21047
|
} else
|
21048
|
-
Ie.write(`0.0.
|
21048
|
+
Ie.write(`0.0.1749556889-gbc568f
|
21049
21049
|
`);
|
21050
21050
|
} else
|
21051
|
-
Ie.write(`0.0.
|
21051
|
+
Ie.write(`0.0.1749556889-gbc568f
|
21052
21052
|
`);
|
21053
21053
|
process.exit(0);
|
21054
21054
|
}), e.addHelpText(
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { p as f } from "./index-
|
3
|
-
import { aF as m, g, m as c, aQ as h, aR as d, aS as b, aT as S, c as E, O as _ } from "./console-
|
4
|
-
import { r as v } from "./executable-
|
2
|
+
import { p as f } from "./index-09-lD53X.js";
|
3
|
+
import { aF as m, g, m as c, aQ as h, aR as d, aS as b, aT as S, c as E, O as _ } from "./console-DMpfGJFj.js";
|
4
|
+
import { r as v } from "./executable-DHpRbG2D.js";
|
5
5
|
const L = ({ args: a }, { dirs: s }) => {
|
6
6
|
for (const e of s)
|
7
7
|
m(e);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { i as a, F as c, f as i } from "./client-
|
3
|
-
import { p as m, aU as l } from "./console-
|
2
|
+
import { i as a, F as c, f as i } from "./client-jPIT0xZX.js";
|
3
|
+
import { p as m, aU as l } from "./console-DMpfGJFj.js";
|
4
4
|
const h = ({ args: e }, { threadID: o }) => m(async (s) => {
|
5
5
|
try {
|
6
6
|
const r = await a.webSearch(
|
@@ -4,9 +4,9 @@ import * as i from "node:fs";
|
|
4
4
|
import * as o from "node:path";
|
5
5
|
import { join as p } from "node:path";
|
6
6
|
import { promisify as w } from "node:util";
|
7
|
-
import { U as h } from "./main-
|
8
|
-
import { N as y, C as n, aM as c } from "./console-
|
9
|
-
import { ripgrepFiles as d } from "./glob.node-
|
7
|
+
import { U as h } from "./main-D7eRgs3E.js";
|
8
|
+
import { N as y, C as n, aM as c } from "./console-DMpfGJFj.js";
|
9
|
+
import { ripgrepFiles as d } from "./glob.node-d0Yo6uqo.js";
|
10
10
|
import { homedir as F } from "node:os";
|
11
11
|
const g = p(F(), ".amp", "file-changes"), u = w(m);
|
12
12
|
function B(a) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { q as x, o as A, n as g, y as Y, r as j, l as h, x as I, u as J, w as V, A as k, a$ as z, b0 as W, b1 as q, a8 as C, b2 as L, ac as D, b3 as M, aB as _, f as Z, b4 as G, b5 as H, b6 as F, b7 as K, O as Q, b8 as N, _ as X, aa as ee, C as te } from "./console-
|
3
|
-
import { r as se } from "./main-
|
2
|
+
import { q as x, o as A, n as g, y as Y, r as j, l as h, x as I, u as J, w as V, A as k, a$ as z, b0 as W, b1 as q, a8 as C, b2 as L, ac as D, b3 as M, aB as _, f as Z, b4 as G, b5 as H, b6 as F, b7 as K, O as Q, b8 as N, _ as X, aa as ee, C as te } from "./console-DMpfGJFj.js";
|
3
|
+
import { r as se } from "./main-D7eRgs3E.js";
|
4
4
|
const S = A({
|
5
5
|
context: V(["continue", "none"]).optional().default("continue"),
|
6
6
|
tools: J([h("all"), x(g())]).optional(),
|
@@ -1,8 +1,8 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import * as le from "node:os";
|
3
3
|
import ee, { resolve as fe } from "node:path";
|
4
|
-
import { aW as de, aX as _e, C as pe, aY as ne, aZ as ge, a_ as ve, aL as oe, aT as me, aK as be, aF as Se, O as se } from "./console-
|
5
|
-
import { loadProfileEnvironmentVariables as Ce } from "./load-profile-
|
4
|
+
import { aW as de, aX as _e, C as pe, aY as ne, aZ as ge, a_ as ve, aL as oe, aT as me, aK as be, aF as Se, O as se } from "./console-DMpfGJFj.js";
|
5
|
+
import { loadProfileEnvironmentVariables as Ce } from "./load-profile-RepxD2W6.js";
|
6
6
|
const ye = [
|
7
7
|
// Basic read/info operations
|
8
8
|
"ls",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { aN as F, p as d } from "./console-
|
2
|
+
import { aN as F, p as d } from "./console-DMpfGJFj.js";
|
3
3
|
const s = ({ args: n }, { dir: o, dirs: r, threadID: a, filesystem: e }) => {
|
4
4
|
const t = F({ readFileFn: e.readFile });
|
5
5
|
return d(
|
@@ -1,11 +1,11 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { ae as ee, z as re } from "./console-
|
2
|
+
import { ae as ee, z as re } from "./console-DMpfGJFj.js";
|
3
3
|
import ne from "node:child_process";
|
4
4
|
import D from "node:path";
|
5
5
|
import L from "node:fs";
|
6
6
|
import R from "node:process";
|
7
7
|
import { PassThrough as te } from "node:stream";
|
8
|
-
import { J as se } from "./main-
|
8
|
+
import { J as se } from "./main-D7eRgs3E.js";
|
9
9
|
var S = { exports: {} }, T, k;
|
10
10
|
function oe() {
|
11
11
|
if (k) return T;
|
package/dist/storybook.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
-
import { aa as r, aD as a, as as c, aE as d, ay as f, az as x, ak as b, ax as I } from "./console-
|
2
|
+
import { aa as r, aD as a, as as c, aE as d, ay as f, az as x, ak as b, ax as I } from "./console-DMpfGJFj.js";
|
3
3
|
import { stdout as s } from "node:process";
|
4
4
|
import { parseArgs as w } from "node:util";
|
5
5
|
function D() {
|
@@ -3,7 +3,7 @@ import E from "node:crypto";
|
|
3
3
|
import d, { writeFile as D } from "node:fs/promises";
|
4
4
|
import g from "node:os";
|
5
5
|
import a from "node:path";
|
6
|
-
import { C as p, p as F, aF as C, aO as b, aP as _ } from "./console-
|
6
|
+
import { C as p, p as F, aF as C, aO as b, aP as _ } from "./console-DMpfGJFj.js";
|
7
7
|
class v {
|
8
8
|
MAX_TRACKED_EDITS = 50;
|
9
9
|
editQueue = [];
|
package/package.json
CHANGED