@sourcegraph/amp 0.0.1748894490-ge9fff4 → 0.0.1748908907-gbc3502

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
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import "./console-CqG_XvSY.js";
3
- import "./main-CG54iRKx.js";
3
+ import "./main-DSExaIdm.js";
4
4
  import "node:crypto";
5
5
  import "node:fs/promises";
6
6
  import "node:path";
@@ -4992,7 +4992,7 @@ async function Sg(n, e, t) {
4992
4992
  const { loadProfileEnvironmentVariables: r } = await import("./load-profile-DrobQ5m2.js"), s = t.loadProfile === "never" || !t.workingDirectory ? process.env : await We(
4993
4993
  r(t.workingDirectory, t.loadProfile)
4994
4994
  );
4995
- i = await import("./stdio-CrHlir-C.js").then(
4995
+ i = await import("./stdio-ChTqjQy8.js").then(
4996
4996
  ({ StdioClientTransport: u }) => new u({
4997
4997
  ...n,
4998
4998
  stderr: "pipe",
@@ -5721,7 +5721,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
5721
5721
  },
5722
5722
  source: "builtin"
5723
5723
  },
5724
- fn: import("./node-BySrtniU.js").then(({ runRoutine: n }) => n)
5724
+ fn: import("./node-DS32BXFS.js").then(({ runRoutine: n }) => n)
5725
5725
  };
5726
5726
  let tl = !1;
5727
5727
  async function Wh(n, e = !1) {
@@ -17829,7 +17829,7 @@ async function rw({
17829
17829
  }
17830
17830
  async function tw(n) {
17831
17831
  try {
17832
- const e = await Yb("0.0.1748894490-ge9fff4");
17832
+ const e = await Yb("0.0.1748908907-gbc3502");
17833
17833
  e.hasUpdate && e.latestVersion ? (n.next({ type: "update-start-updating" }), setTimeout(async () => {
17834
17834
  try {
17835
17835
  await ew(e.latestVersion), n.next({
@@ -19218,7 +19218,7 @@ async function Fn(n, e) {
19218
19218
  Ds({
19219
19219
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
19220
19220
  logFile: e.logFile || process.env.AMP_LOG_FILE
19221
- }), Mp("0.0.1748894490-ge9fff4");
19221
+ }), Mp("0.0.1748908907-gbc3502");
19222
19222
  const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
19223
19223
  Q.info("Using settings file", { settingsFile: t });
19224
19224
  const i = Mn(), r = Qh({ settingsFile: t }), s = process.env.AMP_API_KEY;
@@ -19318,7 +19318,7 @@ function xw(n) {
19318
19318
  const e = new Bg().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
19319
19319
  e.option("-V, --version", "output the version number", () => {
19320
19320
  if (n.isTTY) {
19321
- const r = "0.0.1748894490-ge9fff4".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
19321
+ const r = "0.0.1748908907-gbc3502".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
19322
19322
  if (r) {
19323
19323
  const [, , s] = r;
19324
19324
  try {
@@ -19329,21 +19329,21 @@ function xw(n) {
19329
19329
  day: "numeric"
19330
19330
  });
19331
19331
  Ie.write(
19332
- `0.0.1748894490-ge9fff4 ${n.printer.print(`(released ${l})`, { foreground: "gray" })}
19332
+ `0.0.1748908907-gbc3502 ${n.printer.print(`(released ${l})`, { foreground: "gray" })}
19333
19333
  `
19334
19334
  );
19335
19335
  } else
19336
- Ie.write(`0.0.1748894490-ge9fff4
19336
+ Ie.write(`0.0.1748908907-gbc3502
19337
19337
  `);
19338
19338
  } catch {
19339
- Ie.write(`0.0.1748894490-ge9fff4
19339
+ Ie.write(`0.0.1748908907-gbc3502
19340
19340
  `);
19341
19341
  }
19342
19342
  } else
19343
- Ie.write(`0.0.1748894490-ge9fff4
19343
+ Ie.write(`0.0.1748908907-gbc3502
19344
19344
  `);
19345
19345
  } else
19346
- Ie.write(`0.0.1748894490-ge9fff4
19346
+ Ie.write(`0.0.1748908907-gbc3502
19347
19347
  `);
19348
19348
  process.exit(0);
19349
19349
  }), e.addHelpText(
@@ -19735,4 +19735,4 @@ export {
19735
19735
  dm as J,
19736
19736
  qg as r
19737
19737
  };
19738
- //# sourceMappingURL=main-CG54iRKx.js.map
19738
+ //# sourceMappingURL=main-DSExaIdm.js.map