@sourcegraph/amp 0.0.1748563307-g76b426 → 0.0.1748585537-g1e48d6
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 +1 -1
- package/dist/{main-B8n5KdeK.js → main-_RAVC2vW.js} +10 -10
- package/dist/{main-B8n5KdeK.js.map → main-_RAVC2vW.js.map} +1 -1
- package/dist/{node-4YOMf-Tu.js → node-CDav8GEj.js} +2 -2
- package/dist/{node-4YOMf-Tu.js.map → node-CDav8GEj.js.map} +1 -1
- package/dist/{node-n3roOnuX.js → node-yAI2aH4I.js} +2 -2
- package/dist/{node-n3roOnuX.js.map → node-yAI2aH4I.js.map} +1 -1
- package/dist/{stdio-D2dcTskV.js → stdio-D-xv_DKO.js} +2 -2
- package/dist/{stdio-D2dcTskV.js.map → stdio-D-xv_DKO.js.map} +1 -1
- package/package.json +1 -1
package/dist/amp.js
CHANGED
@@ -7755,7 +7755,7 @@ async function c2(i, e, t) {
|
|
7755
7755
|
const { loadProfileEnvironmentVariables: r } = await import("./load-profile-D7KCxFft.js"), o = t.loadProfile === "never" || !t.workingDirectory ? process.env : await pt(
|
7756
7756
|
r(t.workingDirectory, t.loadProfile)
|
7757
7757
|
);
|
7758
|
-
n = await import("./stdio-
|
7758
|
+
n = await import("./stdio-D-xv_DKO.js").then(
|
7759
7759
|
({ StdioClientTransport: s }) => new s({
|
7760
7760
|
...i,
|
7761
7761
|
stderr: "pipe",
|
@@ -8103,7 +8103,7 @@ the \`${cm}\` with the url.
|
|
8103
8103
|
requiresNetwork: !0
|
8104
8104
|
}
|
8105
8105
|
},
|
8106
|
-
fn: import("./node-
|
8106
|
+
fn: import("./node-yAI2aH4I.js").then(({ nodeWebSearchTool: i }) => i)
|
8107
8107
|
};
|
8108
8108
|
function w2(i) {
|
8109
8109
|
const { interval: e, fn: t, cacheKey: n } = i, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
@@ -26943,7 +26943,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
|
|
26943
26943
|
},
|
26944
26944
|
source: "builtin"
|
26945
26945
|
},
|
26946
|
-
fn: import("./node-
|
26946
|
+
fn: import("./node-CDav8GEj.js").then(({ runRoutine: i }) => i)
|
26947
26947
|
};
|
26948
26948
|
let $w = !1;
|
26949
26949
|
async function YC(i, e = !1) {
|
@@ -38042,7 +38042,7 @@ async function D3(i, e) {
|
|
38042
38042
|
}), s.on("error", (c) => {
|
38043
38043
|
ae.error("Ripgrep process error", c), r(c);
|
38044
38044
|
}), s.on("exit", async (c) => {
|
38045
|
-
if (c === 0)
|
38045
|
+
if (c === 0 || c === 1)
|
38046
38046
|
try {
|
38047
38047
|
await i.addFiles(u), ae.debug(`Indexed ${u.length} files`), n();
|
38048
38048
|
} catch (d) {
|
@@ -39357,7 +39357,7 @@ async function Iu(i, e) {
|
|
39357
39357
|
Pg({
|
39358
39358
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
39359
39359
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
39360
|
-
}), zM("0.0.
|
39360
|
+
}), zM("0.0.1748585537-g1e48d6");
|
39361
39361
|
const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
39362
39362
|
ae.info("Using settings file", { settingsFile: t });
|
39363
39363
|
const n = Pu(), r = e1({ settingsFile: t }), o = process.env.AMP_API_KEY;
|
@@ -39373,7 +39373,7 @@ async function Iu(i, e) {
|
|
39373
39373
|
if (i.isInteractiveMode) {
|
39374
39374
|
d = new wE(), await d.start();
|
39375
39375
|
try {
|
39376
|
-
D3(d, process.cwd());
|
39376
|
+
await D3(d, process.cwd());
|
39377
39377
|
} catch (h) {
|
39378
39378
|
ae.error("Failed to index files for fuzzy completion", h);
|
39379
39379
|
}
|
@@ -39454,7 +39454,7 @@ Login failed: ${r instanceof Error ? r.message : String(r)}
|
|
39454
39454
|
}
|
39455
39455
|
}
|
39456
39456
|
function nW(i) {
|
39457
|
-
const e = new C4().name("amp").description("AI-powered coding assistant").version("0.0.
|
39457
|
+
const e = new C4().name("amp").description("AI-powered coding assistant").version("0.0.1748585537-g1e48d6").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
|
39458
39458
|
e.addHelpText(
|
39459
39459
|
"after",
|
39460
39460
|
(() => {
|
@@ -40649,7 +40649,7 @@ function Tr() {
|
|
40649
40649
|
}
|
40650
40650
|
async function lW(i, e) {
|
40651
40651
|
try {
|
40652
|
-
const t = await KG("0.0.
|
40652
|
+
const t = await KG("0.0.1748585537-g1e48d6");
|
40653
40653
|
t.hasUpdate && t.latestVersion ? e ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
|
40654
40654
|
try {
|
40655
40655
|
await ZG(t.latestVersion), i.next({
|
@@ -40664,7 +40664,7 @@ async function lW(i, e) {
|
|
40664
40664
|
version: t.latestVersion
|
40665
40665
|
});
|
40666
40666
|
}
|
40667
|
-
}, 100)) : ae.info(`New version available: 0.0.
|
40667
|
+
}, 100)) : ae.info(`New version available: 0.0.1748585537-g1e48d6 → ${t.latestVersion}`) : ae.info("No update available");
|
40668
40668
|
} catch (t) {
|
40669
40669
|
ae.debug("Update check failed", t);
|
40670
40670
|
}
|
@@ -40719,4 +40719,4 @@ export {
|
|
40719
40719
|
ve as s,
|
40720
40720
|
lr as u
|
40721
40721
|
};
|
40722
|
-
//# sourceMappingURL=main-
|
40722
|
+
//# sourceMappingURL=main-_RAVC2vW.js.map
|