@sourcegraph/amp 0.0.1749408760-g200365 → 0.0.1749427398-ga0ac55
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
CHANGED
@@ -4994,7 +4994,7 @@ async function Jv(t, e, n) {
|
|
4994
4994
|
const { loadProfileEnvironmentVariables: r } = await import("./load-profile-BzhVJjlz.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-UaXpvr14.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-CpPyhw_-.js").then(({ runRoutine: t }) => t)
|
5759
5759
|
};
|
5760
5760
|
let pl = !1;
|
5761
5761
|
async function ad(t, e = !1) {
|
@@ -17801,7 +17801,7 @@ async function Hr(t, e, { stdin: n, stdout: i } = { stdin: process.stdin, stdout
|
|
17801
17801
|
n.on("data", l), n.once("error", s);
|
17802
17802
|
});
|
17803
17803
|
}
|
17804
|
-
const Yd = import("./node-
|
17804
|
+
const Yd = import("./node-Dz018Pyk.js").then(
|
17805
17805
|
({ nodeFileSystem: t }) => t
|
17806
17806
|
), es = qt(sm.exec);
|
17807
17807
|
async function Pw(t) {
|
@@ -18955,7 +18955,7 @@ async function Nw({
|
|
18955
18955
|
}
|
18956
18956
|
async function Uw(t) {
|
18957
18957
|
try {
|
18958
|
-
const e = await Mw("0.0.
|
18958
|
+
const e = await Mw("0.0.1749427398-ga0ac55");
|
18959
18959
|
e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
|
18960
18960
|
try {
|
18961
18961
|
await qw(e.latestVersion), t.next({
|
@@ -20713,7 +20713,7 @@ async function zn(t, e) {
|
|
20713
20713
|
Xn({
|
20714
20714
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
20715
20715
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
20716
|
-
}), em("0.0.
|
20716
|
+
}), em("0.0.1749427398-ga0ac55");
|
20717
20717
|
const n = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
20718
20718
|
J.info("Using settings file", { settingsFile: n });
|
20719
20719
|
const i = Bn(), r = cd({ settingsFile: n }), a = process.env.AMP_API_KEY;
|
@@ -20821,7 +20821,7 @@ function h_(t) {
|
|
20821
20821
|
const e = new Sl().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
|
20822
20822
|
e.option("-V, --version", "output the version number", () => {
|
20823
20823
|
if (t.isTTY) {
|
20824
|
-
const a = "0.0.
|
20824
|
+
const a = "0.0.1749427398-ga0ac55".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
|
20825
20825
|
if (a) {
|
20826
20826
|
const [, , o] = a;
|
20827
20827
|
try {
|
@@ -20832,21 +20832,21 @@ function h_(t) {
|
|
20832
20832
|
day: "numeric"
|
20833
20833
|
});
|
20834
20834
|
Ie.write(
|
20835
|
-
`0.0.
|
20835
|
+
`0.0.1749427398-ga0ac55 ${t.printer.print(`(released ${s})`, { foreground: "gray" })}
|
20836
20836
|
`
|
20837
20837
|
);
|
20838
20838
|
} else
|
20839
|
-
Ie.write(`0.0.
|
20839
|
+
Ie.write(`0.0.1749427398-ga0ac55
|
20840
20840
|
`);
|
20841
20841
|
} catch {
|
20842
|
-
Ie.write(`0.0.
|
20842
|
+
Ie.write(`0.0.1749427398-ga0ac55
|
20843
20843
|
`);
|
20844
20844
|
}
|
20845
20845
|
} else
|
20846
|
-
Ie.write(`0.0.
|
20846
|
+
Ie.write(`0.0.1749427398-ga0ac55
|
20847
20847
|
`);
|
20848
20848
|
} else
|
20849
|
-
Ie.write(`0.0.
|
20849
|
+
Ie.write(`0.0.1749427398-ga0ac55
|
20850
20850
|
`);
|
20851
20851
|
process.exit(0);
|
20852
20852
|
}), e.addHelpText(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
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-Dwe3NjCE.js";
|
3
|
-
import { r as se } from "./main-
|
3
|
+
import { r as se } from "./main-CiGNiZ8A.js";
|
4
4
|
const S = A({
|
5
5
|
context: V(["continue", "none"]).optional().default("continue"),
|
6
6
|
tools: J([h("all"), x(g())]).optional(),
|
@@ -4,7 +4,7 @@ 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-
|
7
|
+
import { U as h } from "./main-CiGNiZ8A.js";
|
8
8
|
import { N as y, C as n, aM as c } from "./console-Dwe3NjCE.js";
|
9
9
|
import { ripgrepFiles as d } from "./glob.node-Bn-P9pn3.js";
|
10
10
|
import { homedir as F } from "node:os";
|
@@ -5,7 +5,7 @@ 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-CiGNiZ8A.js";
|
9
9
|
var S = { exports: {} }, T, k;
|
10
10
|
function oe() {
|
11
11
|
if (k) return T;
|
package/package.json
CHANGED