@sourcegraph/amp 0.0.1749499297-gefb2d4 → 0.0.1749513759-g1eff49
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 Qv(t, e, n) {
|
|
4994
4994
|
const { loadProfileEnvironmentVariables: r } = await import("./load-profile-Dl8P7JMf.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-DqxPdR9X.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-epypfSv4.js").then(({ runRoutine: t }) => t)
|
5759
5759
|
};
|
5760
5760
|
let gu = !1;
|
5761
5761
|
async function od(t, e = !1) {
|
@@ -17811,7 +17811,7 @@ async function Hr(t, e, { stdin: n, stdout: i } = { stdin: process.stdin, stdout
|
|
17811
17811
|
n.on("data", u), n.once("error", s);
|
17812
17812
|
});
|
17813
17813
|
}
|
17814
|
-
const Qd = import("./node-
|
17814
|
+
const Qd = import("./node-DX0JXuqx.js").then(
|
17815
17815
|
({ nodeFileSystem: t }) => t
|
17816
17816
|
), ts = Ut(um.exec);
|
17817
17817
|
async function Tw(t) {
|
@@ -19072,7 +19072,7 @@ async function Bw({
|
|
19072
19072
|
}
|
19073
19073
|
async function zw(t) {
|
19074
19074
|
try {
|
19075
|
-
const e = await Fw("0.0.
|
19075
|
+
const e = await Fw("0.0.1749513759-g1eff49");
|
19076
19076
|
e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
|
19077
19077
|
try {
|
19078
19078
|
await Uw(e.latestVersion), t.next({
|
@@ -20929,7 +20929,7 @@ async function At(t, e) {
|
|
20929
20929
|
ei({
|
20930
20930
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
20931
20931
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
20932
|
-
}), rm("0.0.
|
20932
|
+
}), rm("0.0.1749513759-g1eff49");
|
20933
20933
|
const n = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
20934
20934
|
J.info("Using settings file", { settingsFile: n });
|
20935
20935
|
const i = Vn(), r = fd({ settingsFile: n }), a = process.env.AMP_API_KEY;
|
@@ -21037,7 +21037,7 @@ function m_(t) {
|
|
21037
21037
|
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);
|
21038
21038
|
e.option("-V, --version", "output the version number", () => {
|
21039
21039
|
if (t.isTTY) {
|
21040
|
-
const a = "0.0.
|
21040
|
+
const a = "0.0.1749513759-g1eff49".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
|
21041
21041
|
if (a) {
|
21042
21042
|
const [, , o] = a;
|
21043
21043
|
try {
|
@@ -21048,21 +21048,21 @@ function m_(t) {
|
|
21048
21048
|
day: "numeric"
|
21049
21049
|
});
|
21050
21050
|
Ie.write(
|
21051
|
-
`0.0.
|
21051
|
+
`0.0.1749513759-g1eff49 ${t.printer.print(`(released ${s})`, { foreground: "gray" })}
|
21052
21052
|
`
|
21053
21053
|
);
|
21054
21054
|
} else
|
21055
|
-
Ie.write(`0.0.
|
21055
|
+
Ie.write(`0.0.1749513759-g1eff49
|
21056
21056
|
`);
|
21057
21057
|
} catch {
|
21058
|
-
Ie.write(`0.0.
|
21058
|
+
Ie.write(`0.0.1749513759-g1eff49
|
21059
21059
|
`);
|
21060
21060
|
}
|
21061
21061
|
} else
|
21062
|
-
Ie.write(`0.0.
|
21062
|
+
Ie.write(`0.0.1749513759-g1eff49
|
21063
21063
|
`);
|
21064
21064
|
} else
|
21065
|
-
Ie.write(`0.0.
|
21065
|
+
Ie.write(`0.0.1749513759-g1eff49
|
21066
21066
|
`);
|
21067
21067
|
process.exit(0);
|
21068
21068
|
}), e.addHelpText(
|
@@ -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-CJnWGe_A.js";
|
8
8
|
import { N as y, C as n, aM as c } from "./console-DcPp_rUq.js";
|
9
9
|
import { ripgrepFiles as d } from "./glob.node-d4vM_tA4.js";
|
10
10
|
import { homedir as F } from "node:os";
|
@@ -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-DcPp_rUq.js";
|
3
|
-
import { r as se } from "./main-
|
3
|
+
import { r as se } from "./main-CJnWGe_A.js";
|
4
4
|
const S = A({
|
5
5
|
context: V(["continue", "none"]).optional().default("continue"),
|
6
6
|
tools: J([h("all"), x(g())]).optional(),
|
@@ -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-CJnWGe_A.js";
|
9
9
|
var S = { exports: {} }, T, k;
|
10
10
|
function oe() {
|
11
11
|
if (k) return T;
|
package/package.json
CHANGED