@sourcegraph/amp 0.0.1748427377-geeb377 → 0.0.1748433686-g2e7c5c

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-DGLUYaqf.js";
3
- import "./main-C0CMTAuI.js";
3
+ import "./main-cp81A1je.js";
4
4
  import "node:crypto";
5
5
  import "node:fs/promises";
6
6
  import "node:path";
@@ -7755,7 +7755,7 @@ async function a2(i, e, t) {
7755
7755
  const { loadProfileEnvironmentVariables: r } = await import("./load-profile-OVWYid8R.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-Cz3SGMSm.js").then(
7758
+ n = await import("./stdio-BUwVOdui.js").then(
7759
7759
  ({ StdioClientTransport: s }) => new s({
7760
7760
  ...i,
7761
7761
  stderr: "pipe",
@@ -8103,7 +8103,7 @@ the \`${am}\` with the url.
8103
8103
  requiresNetwork: !0
8104
8104
  }
8105
8105
  },
8106
- fn: import("./node-fuc2ayQf.js").then(({ nodeWebSearchTool: i }) => i)
8106
+ fn: import("./node-9ls77cDn.js").then(({ nodeWebSearchTool: i }) => i)
8107
8107
  };
8108
8108
  function v2(i) {
8109
8109
  const { interval: e, fn: t, cacheKey: n } = i, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
@@ -26708,7 +26708,7 @@ class Jo {
26708
26708
  async getInferenceParameters(e, t) {
26709
26709
  const r = (await pt(this.deps.toolService.tools, t)).map(({ spec: c, enabled: d }) => d ? c : null).filter((c) => c !== null);
26710
26710
  t?.throwIfAborted();
26711
- const s = (await pt(Ar, t))?.settings?.["todos.enabled"] ?? !1, l = await uM(
26711
+ const s = (await pt(Ar, t))?.settings?.["todos.enabled"] ?? !0, l = await uM(
26712
26712
  this.deps.systemPromptService,
26713
26713
  await this.deps.getThreadEnvironment(),
26714
26714
  s
@@ -26722,7 +26722,7 @@ class Jo {
26722
26722
  async runGeminiInference(e, t) {
26723
26723
  const r = (await pt(this.deps.toolService.tools, t)).filter(({ enabled: d }) => d).map(({ spec: d }) => d);
26724
26724
  t?.throwIfAborted();
26725
- const s = (await pt(Ar, t))?.settings?.["todos.enabled"] ?? !1, l = await cM(
26725
+ const s = (await pt(Ar, t))?.settings?.["todos.enabled"] ?? !0, l = await cM(
26726
26726
  this.deps.systemPromptService,
26727
26727
  await this.deps.getThreadEnvironment(),
26728
26728
  s
@@ -26918,7 +26918,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
26918
26918
  },
26919
26919
  source: "builtin"
26920
26920
  },
26921
- fn: import("./node-BXVTFEWU.js").then(({ runRoutine: i }) => i)
26921
+ fn: import("./node-BlKhyOsp.js").then(({ runRoutine: i }) => i)
26922
26922
  };
26923
26923
  let Nw = !1;
26924
26924
  async function WC(i, e = !1) {
@@ -37766,7 +37766,7 @@ const x1 = {
37766
37766
  description: "Enable system sound notifications when agent completes tasks"
37767
37767
  },
37768
37768
  "todos.enabled": {
37769
- value: !1,
37769
+ value: !0,
37770
37770
  visible: !1,
37771
37771
  description: "Enable TODO tracking and management features"
37772
37772
  },
@@ -39282,7 +39282,7 @@ async function Cu(i, e) {
39282
39282
  Ag({
39283
39283
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
39284
39284
  logFile: e.logFile || process.env.AMP_LOG_FILE
39285
- }), UM("0.0.1748427377-geeb377");
39285
+ }), UM("0.0.1748433686-g2e7c5c");
39286
39286
  const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
39287
39287
  le.info("Using settings file", { settingsFile: t });
39288
39288
  const n = Rm(), r = R4({ settingsFile: t }), o = process.env.AMP_API_KEY;
@@ -39379,7 +39379,7 @@ Login failed: ${r instanceof Error ? r.message : String(r)}
39379
39379
  }
39380
39380
  }
39381
39381
  function JG(i) {
39382
- const e = new S4().name("amp").description("AI-powered coding assistant").version("0.0.1748427377-geeb377").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
39382
+ const e = new S4().name("amp").description("AI-powered coding assistant").version("0.0.1748433686-g2e7c5c").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
39383
39383
  e.addHelpText(
39384
39384
  "after",
39385
39385
  (() => {
@@ -40514,7 +40514,7 @@ function Fr() {
40514
40514
  }
40515
40515
  async function XG(i, e) {
40516
40516
  try {
40517
- const t = await UG("0.0.1748427377-geeb377");
40517
+ const t = await UG("0.0.1748433686-g2e7c5c");
40518
40518
  t.hasUpdate && t.latestVersion ? e ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
40519
40519
  try {
40520
40520
  await GG(t.latestVersion), i.next({
@@ -40529,7 +40529,7 @@ async function XG(i, e) {
40529
40529
  version: t.latestVersion
40530
40530
  });
40531
40531
  }
40532
- }, 100)) : le.info(`New version available: 0.0.1748427377-geeb377 → ${t.latestVersion}`) : le.info("No update available");
40532
+ }, 100)) : le.info(`New version available: 0.0.1748433686-g2e7c5c → ${t.latestVersion}`) : le.info("No update available");
40533
40533
  } catch (t) {
40534
40534
  le.debug("Update check failed", t);
40535
40535
  }
@@ -40584,4 +40584,4 @@ export {
40584
40584
  ve as s,
40585
40585
  lr as u
40586
40586
  };
40587
- //# sourceMappingURL=main-C0CMTAuI.js.map
40587
+ //# sourceMappingURL=main-cp81A1je.js.map