@sourcegraph/amp 0.0.1749571294-gef5aa3 → 0.0.1749600114-g5c00b8
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/architectureDiagram-RWNHDUBN-1v8WgxdD.js +4635 -0
- package/dist/blockDiagram-XZSR5OGQ-XFBYN-jB.js +2243 -0
- package/dist/c4Diagram-6R2MQUNL-B0L0pltn.js +1587 -0
- package/dist/chunk-COUQ6RZ3-qd4eG6tc.js +17852 -0
- package/dist/chunk-CRQPXCKQ-yjI467Bq.js +65 -0
- package/dist/chunk-EFPBJHX4-DdHmqd0M.js +1378 -0
- package/dist/chunk-EOAU2GW5-CpRNAcjo.js +253 -0
- package/dist/chunk-IHYUGLNO-DJcRQIf7.js +1365 -0
- package/dist/chunk-K2ZEYYM2-CbqHhUqy.js +9 -0
- package/dist/chunk-Q7VUVKE6-gBSSbdjU.js +24 -0
- package/dist/chunk-T2M37SMK-Br8mK30k.js +1411 -0
- package/dist/chunk-TGZYFRKZ-BYBLXoJz.js +1331 -0
- package/dist/chunk-YJGJQOYZ-BGiSkWF0.js +19 -0
- package/dist/classDiagram-LB37KKQG-DhFsEyDS.js +17 -0
- package/dist/classDiagram-v2-KFQJBC22-DhFsEyDS.js +17 -0
- package/dist/{client-C1WG2nEf.js → client-D-YAg8x6.js} +6 -6
- package/dist/{console-DK0gDzNQ.js → console-CoE5Qzyz.js} +41106 -22971
- package/dist/create_file.node-Co0Uh1F3.js +21 -0
- package/dist/dagre-CMTPJJKG-UDPzd9Iy.js +446 -0
- package/dist/diagram-BIPOGRU5-B7TV59-n.js +128 -0
- package/dist/diagram-YF4VECWA-LsAZsciQ.js +219 -0
- package/dist/{edit_file.node-BH524GkF.js → edit_file.node-CmTZeBc2.js} +11 -11
- package/dist/erDiagram-AK44R45H-BWpeEu7D.js +843 -0
- package/dist/{executable-5cBRGrsC.js → executable-BE7tfoX5.js} +1 -1
- package/dist/{files-CybxYgbE.js → files-DqpRf5q4.js} +10 -10
- package/dist/flowDiagram-XARHJDSH-DzpV02UB.js +1618 -0
- package/dist/ganttDiagram-H5QQZTZ5-C0BhJTzn.js +1605 -0
- package/dist/gitGraphDiagram-XHLTLO3W-0EiOmv44.js +701 -0
- package/dist/{glob.node-C6HbLuPt.js → glob.node-DNei8bFS.js} +11 -11
- package/dist/{index-C2wo7rRZ.js → index-BcjxaWOc.js} +31 -31
- package/dist/infoDiagram-TP2HPDHO-CQX5a0Fc.js +24 -0
- package/dist/journeyDiagram-VHRN44N3-C82dEe4G.js +809 -0
- package/dist/kanban-definition-K5J3OUUV-xilJcrom.js +718 -0
- package/dist/katex-5N2NCDMP-CAsrnb6_.js +11703 -0
- package/dist/{list_directory.node-ZQscizpi.js → list_directory.node-CMiNNbXP.js} +1 -1
- package/dist/{load-profile-BbmyxO_7.js → load-profile-Cg8XaTx6.js} +1 -1
- package/dist/{main-BVP_XL7v.js → main-Dy2VZM_S.js} +15 -15
- package/dist/mindmap-definition-TI5ONXTW-BNaRba4R.js +3221 -0
- package/dist/{node-DvmQAW7h.js → node-BtG1o_DD.js} +2 -2
- package/dist/{node-syWQvN9a.js → node-BulbxvrV.js} +58 -58
- package/dist/{node-Cpbjmhrj.js → node-Cp3D7_hw.js} +71 -71
- package/dist/{node-Cye82yIV.js → node-CtoBdTQT.js} +3 -3
- package/dist/{node-CiFAW-F3.js → node-Ctw1i0nl.js} +12 -12
- package/dist/{node-CgVq0JJ9.js → node-D1zxOCuN.js} +1 -1
- package/dist/pieDiagram-FPR3CNQC-_30_tQz0.js +120 -0
- package/dist/quadrantDiagram-RLP5YTJ2-CTD43GTk.js +1028 -0
- package/dist/radar-MK3ICKWK-55CS4JTO-afihMdR4.js +14398 -0
- package/dist/{read_file.node-CIdAFiJ6.js → read_file.node-QZ0VCmB2.js} +1 -1
- package/dist/requirementDiagram-P5NVWGNK-Sd2_6g8e.js +853 -0
- package/dist/sankeyDiagram-C6NZRJHT-D1EcCYaw.js +864 -0
- package/dist/sequenceDiagram-6SLVIXKN-CghQTpGf.js +2283 -0
- package/dist/stateDiagram-WI5ZVJ5I-Bv21MlSK.js +272 -0
- package/dist/stateDiagram-v2-KVDSFUFK-BgP0D8xL.js +17 -0
- package/dist/{stdio-DNCc59wT.js → stdio-CCCGI3C7.js} +8 -8
- package/dist/storybook.js +7 -7
- package/dist/timeline-definition-65575674-BUqRZdJ-.js +800 -0
- package/dist/{undo_edit.node-VYuTxRwd.js → undo_edit.node-BkletvTZ.js} +5 -5
- package/dist/xychartDiagram-674MFTBU-DjBabATx.js +1291 -0
- package/package.json +1 -1
- package/dist/create_file.node-DtVTaHj5.js +0 -21
@@ -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,
|
5
|
+
import { O as f, e as i, g as l, h as m, F as p } from "./console-CoE5Qzyz.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,
|
2
|
+
import { O as qe, c7 as $r, q as bh, cF as _r, cG as ti, c4 as Ue, cH as Nt, b as Ft, h as Ee, cI as Wn, j as wr, cJ as qt, cK as mp, cL as wh, ca as ue, ce as we, cM as oe, cb as re, c9 as be, cd as Ge, cN as Ke, cg as He, cO as ni, ch as ot, cf as _h, cc as gp, cC as ii, ci as vp, cP as Je, cQ as Sh, t as J, c8 as Hn, cR as ai, c5 as Jr, cS as Rs, cT as yp, cU as bp, cV as xs, cW as wp, cX as Eh, cY as _p, cZ as cl, c_ as jt, c$ as Sp, d0 as Ep, d1 as Pp, d2 as Cp, d3 as Tp, d4 as Rp, d5 as xp, d6 as Op, d7 as Ap, cw as Lp, d8 as Ip, d9 as $p, da as Dp, db as Mp, dc as kp, dd as Fp, de as qp, df as jp, dg as Np, cm as Ph, dh as Up, n as Gn, di as Hp, co as Bp, cE as zp, cD as st, dj as Vp, dk as Wp, dl as Ch, dm as Ct, dn as ss, f as ls, dp as Yr, dq as Gp, dr as Kp, ds as Jp, dt as Yp, du as Os, dv as Si, B as As, dw as jr, dx as us, dy as Qp, dz as Zp, p as fl, c as Xp, m as em, dA as cs, cq as Th, dB as rm } from "./console-CoE5Qzyz.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-D-YAg8x6.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-BE7tfoX5.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-Cg8XaTx6.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-CCCGI3C7.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-BulbxvrV.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-CtoBdTQT.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.1749600114-g5c00b8");
|
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.1749600114-g5c00b8");
|
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.1749600114-g5c00b8".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.1749600114-g5c00b8 ${t.printer.print(`(released ${s})`, { foreground: "gray" })}
|
21046
21046
|
`
|
21047
21047
|
);
|
21048
21048
|
} else
|
21049
|
-
Ie.write(`0.0.
|
21049
|
+
Ie.write(`0.0.1749600114-g5c00b8
|
21050
21050
|
`);
|
21051
21051
|
} catch {
|
21052
|
-
Ie.write(`0.0.
|
21052
|
+
Ie.write(`0.0.1749600114-g5c00b8
|
21053
21053
|
`);
|
21054
21054
|
}
|
21055
21055
|
} else
|
21056
|
-
Ie.write(`0.0.
|
21056
|
+
Ie.write(`0.0.1749600114-g5c00b8
|
21057
21057
|
`);
|
21058
21058
|
} else
|
21059
|
-
Ie.write(`0.0.
|
21059
|
+
Ie.write(`0.0.1749600114-g5c00b8
|
21060
21060
|
`);
|
21061
21061
|
process.exit(0);
|
21062
21062
|
}), e.addHelpText(
|