@sourcegraph/amp 0.0.1748929708-g4e0808 → 0.0.1748937736-gb61f9e
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-DM7cuALa.js → client-TG0TgWWB.js} +2 -2
- package/dist/client-TG0TgWWB.js.map +1 -0
- package/dist/{console-mWOvD6Pa.js → console-Dok1Wcwn.js} +3583 -3572
- package/dist/console-Dok1Wcwn.js.map +1 -0
- package/dist/{create_file.node-C811NWdx.js → create_file.node-C-YeOXhP.js} +2 -2
- package/dist/{create_file.node-C811NWdx.js.map → create_file.node-C-YeOXhP.js.map} +1 -1
- package/dist/{edit_file.node-BHKC-gQq.js → edit_file.node-Cvsfx7pt.js} +3 -3
- package/dist/{edit_file.node-BHKC-gQq.js.map → edit_file.node-Cvsfx7pt.js.map} +1 -1
- package/dist/{executable-C7hPnzew.js → executable-DmtB95BF.js} +2 -2
- package/dist/{executable-C7hPnzew.js.map → executable-DmtB95BF.js.map} +1 -1
- package/dist/{files-B8V2eCKM.js → files-4uCbUmV7.js} +2 -2
- package/dist/{files-B8V2eCKM.js.map → files-4uCbUmV7.js.map} +1 -1
- package/dist/{glob.node-BaOYqDt4.js → glob.node-RP059oWX.js} +4 -4
- package/dist/{glob.node-BaOYqDt4.js.map → glob.node-RP059oWX.js.map} +1 -1
- package/dist/{index-C8J8Ux8A.js → index-CPC32RPi.js} +2 -2
- package/dist/{index-C8J8Ux8A.js.map → index-CPC32RPi.js.map} +1 -1
- package/dist/{list_directory.node-BgRfRZbc.js → list_directory.node-JfCvF09W.js} +2 -2
- package/dist/{list_directory.node-BgRfRZbc.js.map → list_directory.node-JfCvF09W.js.map} +1 -1
- package/dist/{load-profile-zboUN1ze.js → load-profile-CLxEjyWl.js} +2 -2
- package/dist/{load-profile-zboUN1ze.js.map → load-profile-CLxEjyWl.js.map} +1 -1
- package/dist/{main-Bw6YRo_L.js → main-DpQQJHE4.js} +16 -16
- package/dist/{main-Bw6YRo_L.js.map → main-DpQQJHE4.js.map} +1 -1
- package/dist/{node-Cvj0SzTq.js → node-3gS1o4eu.js} +4 -4
- package/dist/{node-Cvj0SzTq.js.map → node-3gS1o4eu.js.map} +1 -1
- package/dist/{node-CcXhHJLX.js → node-B0o5uOa2.js} +3 -3
- package/dist/{node-CcXhHJLX.js.map → node-B0o5uOa2.js.map} +1 -1
- package/dist/{node-DoPUdUgl.js → node-Bjgpi_MV.js} +3 -3
- package/dist/{node-DoPUdUgl.js.map → node-Bjgpi_MV.js.map} +1 -1
- package/dist/{node-De4liSZz.js → node-CHXrHmHR.js} +2 -2
- package/dist/{node-De4liSZz.js.map → node-CHXrHmHR.js.map} +1 -1
- package/dist/{node-B-tg-yFK.js → node-CdCbaOgJ.js} +3 -3
- package/dist/{node-B-tg-yFK.js.map → node-CdCbaOgJ.js.map} +1 -1
- package/dist/{node-cHFAXE7T.js → node-D2BIeojc.js} +2 -2
- package/dist/{node-cHFAXE7T.js.map → node-D2BIeojc.js.map} +1 -1
- package/dist/{read_file.node-CljqDFUj.js → read_file.node-BEjFBYF8.js} +2 -2
- package/dist/{read_file.node-CljqDFUj.js.map → read_file.node-BEjFBYF8.js.map} +1 -1
- package/dist/{stdio-D9Zqzkf5.js → stdio-h4IgaI9t.js} +3 -3
- package/dist/{stdio-D9Zqzkf5.js.map → stdio-h4IgaI9t.js.map} +1 -1
- package/dist/storybook.js +1 -1
- package/dist/{undo_edit.node-BgCpAlBA.js → undo_edit.node-DnT_lcaR.js} +2 -2
- package/dist/{undo_edit.node-BgCpAlBA.js.map → undo_edit.node-DnT_lcaR.js.map} +1 -1
- package/package.json +1 -1
- package/dist/client-DM7cuALa.js.map +0 -1
- package/dist/console-mWOvD6Pa.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 wr, 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 Fn, 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 kp, 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 Fp, 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 wr, 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 Fn, 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 kp, 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 Fp, 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-Dok1Wcwn.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 { f as fr, i as Yp } from "./client-
|
7
|
+
import { f as fr, i as Yp } from "./client-TG0TgWWB.js";
|
8
8
|
import Es from "node:events";
|
9
9
|
import * as Qp from "node:child_process";
|
10
10
|
import Zp, { execFile as Eh, spawn as ei, exec as Nr } from "node:child_process";
|
@@ -18,7 +18,7 @@ import cm, { createGzip as fm } from "node:zlib";
|
|
18
18
|
import hm from "node:string_decoder";
|
19
19
|
import dm, { createServer as Sh } from "node:http";
|
20
20
|
import pm from "node:https";
|
21
|
-
import { r as mm } from "./executable-
|
21
|
+
import { r as mm } from "./executable-DmtB95BF.js";
|
22
22
|
import { pipeline as vm } from "node:stream/promises";
|
23
23
|
import { lookup as gm } from "node:dns";
|
24
24
|
const Ir = Symbol.for("@@pendingOperation");
|
@@ -4991,10 +4991,10 @@ async function jg(i, e, t) {
|
|
4991
4991
|
if ("url" in i)
|
4992
4992
|
n = new Fg(new URL(i.url));
|
4993
4993
|
else {
|
4994
|
-
const { loadProfileEnvironmentVariables: r } = await import("./load-profile-
|
4994
|
+
const { loadProfileEnvironmentVariables: r } = await import("./load-profile-CLxEjyWl.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-h4IgaI9t.js").then(
|
4998
4998
|
({ StdioClientTransport: u }) => new u({
|
4999
4999
|
...i,
|
5000
5000
|
stderr: "pipe",
|
@@ -5759,7 +5759,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
|
|
5759
5759
|
},
|
5760
5760
|
source: "builtin"
|
5761
5761
|
},
|
5762
|
-
fn: import("./node-
|
5762
|
+
fn: import("./node-CdCbaOgJ.js").then(({ runRoutine: i }) => i)
|
5763
5763
|
};
|
5764
5764
|
let ll = !1;
|
5765
5765
|
async function Xh(i, e = !1) {
|
@@ -17620,7 +17620,7 @@ function uw(i) {
|
|
17620
17620
|
);
|
17621
17621
|
return t || n;
|
17622
17622
|
}
|
17623
|
-
const lw = "Out of credits", cw = import("./node-
|
17623
|
+
const lw = "Out of credits", cw = import("./node-CHXrHmHR.js").then(
|
17624
17624
|
({ nodeFileSystem: i }) => i
|
17625
17625
|
);
|
17626
17626
|
async function fw() {
|
@@ -18609,7 +18609,7 @@ async function Pw({
|
|
18609
18609
|
}
|
18610
18610
|
async function Cw(i) {
|
18611
18611
|
try {
|
18612
|
-
const e = await bw("0.0.
|
18612
|
+
const e = await bw("0.0.1748937736-gb61f9e");
|
18613
18613
|
e.hasUpdate && e.latestVersion ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
|
18614
18614
|
try {
|
18615
18615
|
await Sw(e.latestVersion), i.next({
|
@@ -19998,7 +19998,7 @@ async function Hn(i, e) {
|
|
19998
19998
|
Jn({
|
19999
19999
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
20000
20000
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
20001
|
-
}), Bp("0.0.
|
20001
|
+
}), Bp("0.0.1748937736-gb61f9e");
|
20002
20002
|
const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
20003
20003
|
Y.info("Using settings file", { settingsFile: t });
|
20004
20004
|
const n = Nn(), r = id({ settingsFile: t }), a = process.env.AMP_API_KEY;
|
@@ -20098,7 +20098,7 @@ function Jw(i) {
|
|
20098
20098
|
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);
|
20099
20099
|
e.option("-V, --version", "output the version number", () => {
|
20100
20100
|
if (i.isTTY) {
|
20101
|
-
const a = "0.0.
|
20101
|
+
const a = "0.0.1748937736-gb61f9e".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
|
20102
20102
|
if (a) {
|
20103
20103
|
const [, , u] = a;
|
20104
20104
|
try {
|
@@ -20109,21 +20109,21 @@ function Jw(i) {
|
|
20109
20109
|
day: "numeric"
|
20110
20110
|
});
|
20111
20111
|
$e.write(
|
20112
|
-
`0.0.
|
20112
|
+
`0.0.1748937736-gb61f9e ${i.printer.print(`(released ${o})`, { foreground: "gray" })}
|
20113
20113
|
`
|
20114
20114
|
);
|
20115
20115
|
} else
|
20116
|
-
$e.write(`0.0.
|
20116
|
+
$e.write(`0.0.1748937736-gb61f9e
|
20117
20117
|
`);
|
20118
20118
|
} catch {
|
20119
|
-
$e.write(`0.0.
|
20119
|
+
$e.write(`0.0.1748937736-gb61f9e
|
20120
20120
|
`);
|
20121
20121
|
}
|
20122
20122
|
} else
|
20123
|
-
$e.write(`0.0.
|
20123
|
+
$e.write(`0.0.1748937736-gb61f9e
|
20124
20124
|
`);
|
20125
20125
|
} else
|
20126
|
-
$e.write(`0.0.
|
20126
|
+
$e.write(`0.0.1748937736-gb61f9e
|
20127
20127
|
`);
|
20128
20128
|
process.exit(0);
|
20129
20129
|
}), e.addHelpText(
|
@@ -20552,4 +20552,4 @@ export {
|
|
20552
20552
|
Tm as J,
|
20553
20553
|
ry as r
|
20554
20554
|
};
|
20555
|
-
//# sourceMappingURL=main-
|
20555
|
+
//# sourceMappingURL=main-DpQQJHE4.js.map
|