@sourcegraph/amp 0.0.1749571294-gef5aa3 → 0.0.1749585689-g82b91d
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-BbmyxO_7.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-D9HyubOc.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-VrazB_nQ.js").then(({ runRoutine: t }) => t)
|
5759
5759
|
};
|
5760
5760
|
let gu = !1;
|
5761
5761
|
async function od(t, e = !1) {
|
@@ -17807,7 +17807,7 @@ async function Hr(t, e, { stdin: n, stdout: i } = { stdin: process.stdin, stdout
|
|
17807
17807
|
n.on("data", u), n.once("error", s);
|
17808
17808
|
});
|
17809
17809
|
}
|
17810
|
-
const Qd = import("./node-
|
17810
|
+
const Qd = import("./node-GgocwWwI.js").then(
|
17811
17811
|
({ nodeFileSystem: t }) => t
|
17812
17812
|
), ts = Ut(um.exec);
|
17813
17813
|
async function Tw(t) {
|
@@ -19061,7 +19061,7 @@ async function Bw({
|
|
19061
19061
|
}
|
19062
19062
|
async function zw(t) {
|
19063
19063
|
try {
|
19064
|
-
const e = await Fw("0.0.
|
19064
|
+
const e = await Fw("0.0.1749585689-g82b91d");
|
19065
19065
|
e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
|
19066
19066
|
try {
|
19067
19067
|
await Uw(e.latestVersion), t.next({
|
@@ -20923,7 +20923,7 @@ async function At(t, e) {
|
|
20923
20923
|
ei({
|
20924
20924
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
20925
20925
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
20926
|
-
}), rm("0.0.
|
20926
|
+
}), rm("0.0.1749585689-g82b91d");
|
20927
20927
|
const n = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
20928
20928
|
J.info("Using settings file", { settingsFile: n });
|
20929
20929
|
const i = Vn(), r = fd({ settingsFile: n }), a = process.env.AMP_API_KEY;
|
@@ -21031,7 +21031,7 @@ function m_(t) {
|
|
21031
21031
|
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);
|
21032
21032
|
e.option("-V, --version", "output the version number", () => {
|
21033
21033
|
if (t.isTTY) {
|
21034
|
-
const a = "0.0.
|
21034
|
+
const a = "0.0.1749585689-g82b91d".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
|
21035
21035
|
if (a) {
|
21036
21036
|
const [, , o] = a;
|
21037
21037
|
try {
|
@@ -21042,21 +21042,21 @@ function m_(t) {
|
|
21042
21042
|
day: "numeric"
|
21043
21043
|
});
|
21044
21044
|
Ie.write(
|
21045
|
-
`0.0.
|
21045
|
+
`0.0.1749585689-g82b91d ${t.printer.print(`(released ${s})`, { foreground: "gray" })}
|
21046
21046
|
`
|
21047
21047
|
);
|
21048
21048
|
} else
|
21049
|
-
Ie.write(`0.0.
|
21049
|
+
Ie.write(`0.0.1749585689-g82b91d
|
21050
21050
|
`);
|
21051
21051
|
} catch {
|
21052
|
-
Ie.write(`0.0.
|
21052
|
+
Ie.write(`0.0.1749585689-g82b91d
|
21053
21053
|
`);
|
21054
21054
|
}
|
21055
21055
|
} else
|
21056
|
-
Ie.write(`0.0.
|
21056
|
+
Ie.write(`0.0.1749585689-g82b91d
|
21057
21057
|
`);
|
21058
21058
|
} else
|
21059
|
-
Ie.write(`0.0.
|
21059
|
+
Ie.write(`0.0.1749585689-g82b91d
|
21060
21060
|
`);
|
21061
21061
|
process.exit(0);
|
21062
21062
|
}), 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-CiUaVPC2.js";
|
8
8
|
import { N as y, C as n, aM as c } from "./console-DK0gDzNQ.js";
|
9
9
|
import { ripgrepFiles as d } from "./glob.node-C6HbLuPt.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-DK0gDzNQ.js";
|
3
|
-
import { r as se } from "./main-
|
3
|
+
import { r as se } from "./main-CiUaVPC2.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-CiUaVPC2.js";
|
9
9
|
var S = { exports: {} }, T, k;
|
10
10
|
function oe() {
|
11
11
|
if (k) return T;
|
package/package.json
CHANGED