@sourcegraph/amp 0.0.1749686496-g231b4b → 0.0.1749701128-g12b4b1
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 +9 -9
- package/package.json +1 -1
package/dist/amp.js
CHANGED
@@ -52110,7 +52110,7 @@ function DI(t, e, r) {
|
|
52110
52110
|
}
|
52111
52111
|
function MEt(t) {
|
52112
52112
|
try {
|
52113
|
-
return t_(t + '"');
|
52113
|
+
return t_(t.replace(/\\+$/, "") + '"');
|
52114
52114
|
} catch {
|
52115
52115
|
return t_(t);
|
52116
52116
|
}
|
@@ -113024,7 +113024,7 @@ async function GJt({
|
|
113024
113024
|
}
|
113025
113025
|
async function HJt(t) {
|
113026
113026
|
try {
|
113027
|
-
const e = await FJt("0.0.
|
113027
|
+
const e = await FJt("0.0.1749701128-g12b4b1");
|
113028
113028
|
e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
|
113029
113029
|
try {
|
113030
113030
|
await zJt(e.latestVersion), t.next({
|
@@ -114888,7 +114888,7 @@ async function dm(t, e) {
|
|
114888
114888
|
HD({
|
114889
114889
|
logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
|
114890
114890
|
logFile: e.logFile || process.env.AMP_LOG_FILE
|
114891
|
-
}), Qet("0.0.
|
114891
|
+
}), Qet("0.0.1749701128-g12b4b1");
|
114892
114892
|
const r = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
|
114893
114893
|
Ge.info("Using settings file", { settingsFile: r });
|
114894
114894
|
const n = uA(), i = nRe({ settingsFile: r }), a = process.env.AMP_API_KEY;
|
@@ -114997,7 +114997,7 @@ function mer(t) {
|
|
114997
114997
|
const e = new $w().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
|
114998
114998
|
e.option("-V, --version", "output the version number", () => {
|
114999
114999
|
if (t.isTTY) {
|
115000
|
-
const s = "0.0.
|
115000
|
+
const s = "0.0.1749701128-g12b4b1".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
|
115001
115001
|
if (s) {
|
115002
115002
|
const [, , o] = s;
|
115003
115003
|
try {
|
@@ -115008,21 +115008,21 @@ function mer(t) {
|
|
115008
115008
|
day: "numeric"
|
115009
115009
|
});
|
115010
115010
|
Yn.write(
|
115011
|
-
`0.0.
|
115011
|
+
`0.0.1749701128-g12b4b1 ${t.printer.print(`(released ${u})`, { foreground: "gray" })}
|
115012
115012
|
`
|
115013
115013
|
);
|
115014
115014
|
} else
|
115015
|
-
Yn.write(`0.0.
|
115015
|
+
Yn.write(`0.0.1749701128-g12b4b1
|
115016
115016
|
`);
|
115017
115017
|
} catch {
|
115018
|
-
Yn.write(`0.0.
|
115018
|
+
Yn.write(`0.0.1749701128-g12b4b1
|
115019
115019
|
`);
|
115020
115020
|
}
|
115021
115021
|
} else
|
115022
|
-
Yn.write(`0.0.
|
115022
|
+
Yn.write(`0.0.1749701128-g12b4b1
|
115023
115023
|
`);
|
115024
115024
|
} else
|
115025
|
-
Yn.write(`0.0.
|
115025
|
+
Yn.write(`0.0.1749701128-g12b4b1
|
115026
115026
|
`);
|
115027
115027
|
process.exit(0);
|
115028
115028
|
}), e.addHelpText(
|
package/package.json
CHANGED