@sourcegraph/amp 0.0.1749816086-g3dfaa0 → 0.0.1749822693-g853461
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 +10 -10
- package/package.json +1 -1
package/dist/amp.js
CHANGED
@@ -112889,14 +112889,14 @@ async function Mhr({
|
|
112889
112889
|
});
|
112890
112890
|
}
|
112891
112891
|
}
|
112892
|
-
return {
|
112892
|
+
return R.type === "initializing" ? { ...R, tokenUsage: q } : {
|
112893
112893
|
...R,
|
112894
112894
|
type: "awaiting-agent",
|
112895
112895
|
displayedError: null,
|
112896
112896
|
tokenUsage: q
|
112897
112897
|
};
|
112898
112898
|
case "cancelled":
|
112899
|
-
return R.type === "
|
112899
|
+
return R.type === "initializing" ? { ...R, tokenUsage: q } : R.type === "awaiting-agent" && R.cancelledWithMessage ? (R.cancelledWithMessage = void 0, { ...R, tokenUsage: q }) : {
|
112900
112900
|
...B(),
|
112901
112901
|
tokenUsage: q
|
112902
112902
|
};
|
@@ -113348,7 +113348,7 @@ async function Mhr({
|
|
113348
113348
|
}
|
113349
113349
|
async function Phr(t) {
|
113350
113350
|
try {
|
113351
|
-
const e = await Dhr("0.0.
|
113351
|
+
const e = await Dhr("0.0.1749822693-g853461");
|
113352
113352
|
e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
|
113353
113353
|
try {
|
113354
113354
|
await Ohr(e.latestVersion), t.next({
|
@@ -115273,7 +115273,7 @@ async function T0(t, e) {
|
|
115273
115273
|
gR({
|
115274
115274
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
115275
115275
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
115276
|
-
}), Uft("0.0.
|
115276
|
+
}), Uft("0.0.1749822693-g853461");
|
115277
115277
|
const r = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
115278
115278
|
Qe.info("Using settings file", { settingsFile: r });
|
115279
115279
|
const n = O5(), i = OLe({ settingsFile: r }), a = process.env.AMP_API_KEY;
|
@@ -115385,7 +115385,7 @@ function sfr(t) {
|
|
115385
115385
|
om(t, o);
|
115386
115386
|
}), e.option("-V, --version", "output the version number", () => {
|
115387
115387
|
if (t.isTTY) {
|
115388
|
-
const s = "0.0.
|
115388
|
+
const s = "0.0.1749822693-g853461".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
|
115389
115389
|
if (s) {
|
115390
115390
|
const [, , o] = s;
|
115391
115391
|
try {
|
@@ -115396,21 +115396,21 @@ function sfr(t) {
|
|
115396
115396
|
day: "numeric"
|
115397
115397
|
});
|
115398
115398
|
ui.write(
|
115399
|
-
`0.0.
|
115399
|
+
`0.0.1749822693-g853461 ${t.printer.print(`(released ${u})`, { foreground: "gray" })}
|
115400
115400
|
`
|
115401
115401
|
);
|
115402
115402
|
} else
|
115403
|
-
ui.write(`0.0.
|
115403
|
+
ui.write(`0.0.1749822693-g853461
|
115404
115404
|
`);
|
115405
115405
|
} catch {
|
115406
|
-
ui.write(`0.0.
|
115406
|
+
ui.write(`0.0.1749822693-g853461
|
115407
115407
|
`);
|
115408
115408
|
}
|
115409
115409
|
} else
|
115410
|
-
ui.write(`0.0.
|
115410
|
+
ui.write(`0.0.1749822693-g853461
|
115411
115411
|
`);
|
115412
115412
|
} else
|
115413
|
-
ui.write(`0.0.
|
115413
|
+
ui.write(`0.0.1749822693-g853461
|
115414
115414
|
`);
|
115415
115415
|
process.exit(0);
|
115416
115416
|
}), e.addHelpText(
|
package/package.json
CHANGED