@sourcegraph/amp 0.0.1748344183-gce2b68 → 0.0.1748347293-g7a57b5

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 "./color-BHYGC4Ar.js";
3
- import "./main-C22ZCKsZ.js";
3
+ import "./main-CP8wMuMJ.js";
4
4
  import "node:crypto";
5
5
  import "node:fs/promises";
6
6
  import "node:path";
@@ -4820,7 +4820,7 @@ async function fL(r, t, e) {
4820
4820
  const { loadProfileEnvironmentVariables: i } = await import("./load-profile-DC97etcT.js"), o = e.loadProfile === "never" || !e.workingDirectory ? process.env : await it(
4821
4821
  i(e.workingDirectory, e.loadProfile)
4822
4822
  );
4823
- n = await import("./stdio-BIlnCjMe.js").then(
4823
+ n = await import("./stdio-3QZqJLMQ.js").then(
4824
4824
  ({ StdioClientTransport: s }) => new s({
4825
4825
  ...r,
4826
4826
  stderr: "pipe",
@@ -23079,7 +23079,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
23079
23079
  },
23080
23080
  source: "builtin"
23081
23081
  },
23082
- fn: import("./node-DX52svHT.js").then(({ runRoutine: r }) => r)
23082
+ fn: import("./node-COu_cbjg.js").then(({ runRoutine: r }) => r)
23083
23083
  };
23084
23084
  let l_ = !1;
23085
23085
  async function dC(r, t = !1) {
@@ -35351,7 +35351,7 @@ async function Al(r, t) {
35351
35351
  $p({
35352
35352
  logLevel: t.logLevel || process.env.AMP_LOG_LEVEL,
35353
35353
  logFile: t.logFile || process.env.AMP_LOG_FILE
35354
- }), Vk("0.0.1748344183-gce2b68");
35354
+ }), Vk("0.0.1748347293-g7a57b5");
35355
35355
  const e = t.settingsFile ?? process.env.AMP_SETTINGS_FILE;
35356
35356
  oe.info("Using settings file", { settingsFile: e });
35357
35357
  const n = Hh(), i = AV({ settingsFile: e }), o = process.env.AMP_API_KEY;
@@ -35448,7 +35448,7 @@ Login failed: ${i instanceof Error ? i.message : String(i)}
35448
35448
  }
35449
35449
  }
35450
35450
  function GG(r) {
35451
- const t = new vV().name("amp").description("AI-powered coding assistant").version("0.0.1748344183-gce2b68").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
35451
+ const t = new vV().name("amp").description("AI-powered coding assistant").version("0.0.1748347293-g7a57b5").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
35452
35452
  t.addHelpText(
35453
35453
  "after",
35454
35454
  (() => {
@@ -36408,7 +36408,7 @@ function sn() {
36408
36408
  }
36409
36409
  async function YG(r, t) {
36410
36410
  try {
36411
- const e = await LG("0.0.1748344183-gce2b68");
36411
+ const e = await LG("0.0.1748347293-g7a57b5");
36412
36412
  e.hasUpdate && e.latestVersion && (t ? (r.next({ type: "update-start-updating" }), setTimeout(async () => {
36413
36413
  try {
36414
36414
  await $G(), r.next({
@@ -36423,7 +36423,7 @@ async function YG(r, t) {
36423
36423
  version: e.latestVersion
36424
36424
  });
36425
36425
  }
36426
- }, 100)) : oe.info(`New version available: 0.0.1748344183-gce2b68 → ${e.latestVersion}`));
36426
+ }, 100)) : oe.info(`New version available: 0.0.1748347293-g7a57b5 → ${e.latestVersion}`));
36427
36427
  } catch (e) {
36428
36428
  oe.debug("Update check failed", e);
36429
36429
  }
@@ -36477,4 +36477,4 @@ export {
36477
36477
  ue as s,
36478
36478
  Ft as u
36479
36479
  };
36480
- //# sourceMappingURL=main-C22ZCKsZ.js.map
36480
+ //# sourceMappingURL=main-CP8wMuMJ.js.map