@sourcegraph/amp 0.0.1749398499-gd5401b → 0.0.1749408760-g200365

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,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import "./console-AOzQ_ChO.js";
3
- import "./main-B7T3eQkm.js";
2
+ import "./console-Dwe3NjCE.js";
3
+ import "./main-BWUN5Va0.js";
4
4
  import "node:crypto";
5
5
  import "node:fs/promises";
6
6
  import "node:path";
7
7
  import "node:process";
8
- import "./client-BHg0B1gY.js";
8
+ import "./client-Dhn8xK-f.js";
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { f as i, E as o, aV as c, s as p, p as u } from "./console-AOzQ_ChO.js";
2
+ import { f as i, E as o, aV as c, s as p, p as u } from "./console-Dwe3NjCE.js";
3
3
  const m = !0;
4
4
  function f() {
5
5
  return new Proxy(
@@ -1045,7 +1045,7 @@ COMPLEMENTARY USE WITH CODEBASE_SEARCH:
1045
1045
  },
1046
1046
  source: "builtin"
1047
1047
  },
1048
- fn: import("./node-DAwRkfCt.js").then(({ nodeGrepTool: n }) => n)
1048
+ fn: import("./node-BRxPFRj7.js").then(({ nodeGrepTool: n }) => n)
1049
1049
  };
1050
1050
  var Age = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1051
1051
  function ha(n) {
@@ -1952,7 +1952,7 @@ It's VERY IMPORTANT to use specific tools when searching for files, instead of i
1952
1952
  },
1953
1953
  source: "builtin"
1954
1954
  },
1955
- fn: import("./node-lDdIpwWA.js").then(({ nodeBashTool: n }) => n),
1955
+ fn: import("./node-DkzowUWS.js").then(({ nodeBashTool: n }) => n),
1956
1956
  preprocessArgs: (n) => {
1957
1957
  if (!n.cwd)
1958
1958
  try {
@@ -2011,7 +2011,7 @@ Prefer this tool over \`edit_file\` when you want to ovewrite the entire content
2011
2011
  content: n.content + `
2012
2012
  `
2013
2013
  },
2014
- fn: import("./create_file.node-CWA3ikIc.js").then(
2014
+ fn: import("./create_file.node-CG-jdMnt.js").then(
2015
2015
  ({ nodeCreateFileTool: n }) => n
2016
2016
  )
2017
2017
  };
@@ -4843,7 +4843,7 @@ Returns the contents of the file with each line prefixed by its line number. For
4843
4843
  switch ("node") {
4844
4844
  case "node":
4845
4845
  case "vscode":
4846
- return import("./read_file.node-CP1xSUyM.js").then(({ nodeReadFileTool: n }) => n);
4846
+ return import("./read_file.node-DLouxDlp.js").then(({ nodeReadFileTool: n }) => n);
4847
4847
  }
4848
4848
  })()
4849
4849
  }, bI = Jw({
@@ -4872,7 +4872,7 @@ If you need to replace the entire contents of a file, use \`${Co}\` instead, sin
4872
4872
  inputSchema: fw(bI),
4873
4873
  source: "builtin"
4874
4874
  },
4875
- fn: import("./edit_file.node-D0SPvrAR.js").then(({ nodeEditFileTool: n }) => n)
4875
+ fn: import("./edit_file.node-oIkKjPxO.js").then(({ nodeEditFileTool: n }) => n)
4876
4876
  };
4877
4877
  function Sg(n) {
4878
4878
  return n.replace(/\\\\n/g, "\\n").replace(/\\\\t/g, "\\t").replace(/\\\\/g, "\\").replace(/\\"/g, '"').replace(/\\'/g, "'").replace(/\\n/g, `
@@ -5053,7 +5053,7 @@ Note: Results are sorted by modification time with the most recently modified fi
5053
5053
  },
5054
5054
  source: "builtin"
5055
5055
  },
5056
- fn: import("./glob.node-BkeK_I3Y.js").then(({ nodeGlobTool: n }) => n)
5056
+ fn: import("./glob.node-Bn-P9pn3.js").then(({ nodeGlobTool: n }) => n)
5057
5057
  }, Ro = "list_directory", Qf = {
5058
5058
  spec: {
5059
5059
  name: Ro,
@@ -5074,7 +5074,7 @@ Note: Results are sorted by modification time with the most recently modified fi
5074
5074
  switch ("node") {
5075
5075
  case "node":
5076
5076
  case "vscode":
5077
- return import("./list_directory.node-CkHsNFUL.js").then(
5077
+ return import("./list_directory.node-CzAI_wrF.js").then(
5078
5078
  ({ nodeListDirectoryTool: n }) => n
5079
5079
  );
5080
5080
  }
@@ -5161,7 +5161,7 @@ This tool converts web content to markdown format for better readability.`,
5161
5161
  requiresNetwork: !0
5162
5162
  }
5163
5163
  },
5164
- fn: import("./node-MjemfZlN.js").then(({ nodeReadWebPageTool: n }) => n)
5164
+ fn: import("./node-C7-4IEoj.js").then(({ nodeReadWebPageTool: n }) => n)
5165
5165
  }, wI = "web_search", II = `Search the web for information.
5166
5166
 
5167
5167
  Returns search result titles, associated URLs, and a small summary of the
@@ -5209,7 +5209,7 @@ the \`${ef}\` with the url.
5209
5209
  requiresNetwork: !0
5210
5210
  }
5211
5211
  },
5212
- fn: import("./node-DL3FieOl.js").then(({ nodeWebSearchTool: n }) => n)
5212
+ fn: import("./node-BwLwdVsX.js").then(({ nodeWebSearchTool: n }) => n)
5213
5213
  };
5214
5214
  function EC({ onlyFirst: n = !1 } = {}) {
5215
5215
  const t = [
@@ -25822,7 +25822,7 @@ async function N8(n, e) {
25822
25822
  }
25823
25823
  }
25824
25824
  async function w8(n, e) {
25825
- return (await import("./list_directory.node-CkHsNFUL.js")).resolveArgumentDirectoryNode(n, e);
25825
+ return (await import("./list_directory.node-CzAI_wrF.js")).resolveArgumentDirectoryNode(n, e);
25826
25826
  }
25827
25827
  class I8 extends sl {
25828
25828
  #e = new AbortController();
@@ -26093,7 +26093,8 @@ Diagrams are especially valuable for visualizing:
26093
26093
  fn: () => ds(async () => ({ status: "done", result: { success: !0 } }))
26094
26094
  }, nr = "AGENT.md", Jge = `Please analyze this codebase and create an ${nr} file containing:
26095
26095
  1. Build/lint/test commands - especially for running a single test
26096
- 2. Code style guidelines including imports, formatting, types, naming conventions, error handling, etc.
26096
+ 2. Architecture and codebase structure information, including important subprojects, internal APIs, databases, etc.
26097
+ 3. Code style guidelines, including imports, conventions, formatting, types, naming conventions, error handling, etc.
26097
26098
 
26098
26099
  The file you create will be given to agentic coding tools (such as yourself) that operate in this repository. Make it about 20 lines long.
26099
26100
 
@@ -27651,7 +27652,7 @@ async function W8({
27651
27652
  fileMentions: void 0,
27652
27653
  userState: void 0
27653
27654
  };
27654
- const i = (await import("./files-DJ9Ggney.js").then(
27655
+ const i = (await import("./files-BIHX1ZTx.js").then(
27655
27656
  ({ getFileMentions: o }) => o(
27656
27657
  CC(t.content),
27657
27658
  a,
@@ -28860,7 +28861,7 @@ Returns a git-style diff showing the changes that were undone as formatted markd
28860
28861
  switch ("node") {
28861
28862
  case "node":
28862
28863
  case "vscode":
28863
- return import("./undo_edit.node-Bgfb1t1A.js").then(({ nodeUndoEditTool: n }) => n);
28864
+ return import("./undo_edit.node-CVDhtmI5.js").then(({ nodeUndoEditTool: n }) => n);
28864
28865
  }
28865
28866
  })()
28866
28867
  }, bm = globalThis.window?.document !== void 0;
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import u from "node:path";
3
- import { p as d, aF as f, aG as l } from "./console-AOzQ_ChO.js";
3
+ import { p as d, aF as f, aG as l } from "./console-Dwe3NjCE.js";
4
4
  const w = ({ args: t }, { dir: a, dirs: n, trackFileChange: c, filesystem: o }) => d(async (e) => {
5
5
  if (f(a), typeof t.content != "string")
6
6
  throw new Error("create_file: content must be specified");
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { p, aF as m, aG as F, aH as v, aI as _, aJ as b } from "./console-AOzQ_ChO.js";
3
- import { recordEdit as x } from "./undo_edit.node-Bgfb1t1A.js";
2
+ import { p, aF as m, aG as F, aH as v, aI as _, aJ as b } from "./console-Dwe3NjCE.js";
3
+ import { recordEdit as x } from "./undo_edit.node-CVDhtmI5.js";
4
4
  class y {
5
5
  #e = !1;
6
6
  #t = [];
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { existsSync as o } from "node:fs";
3
3
  import { createRequire as t } from "node:module";
4
- import { C as i } from "./console-AOzQ_ChO.js";
4
+ import { C as i } from "./console-Dwe3NjCE.js";
5
5
  function u() {
6
6
  {
7
7
  if (process.env.AMP_RIPGREP_PATH)
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import T from "node:path";
3
- import { b9 as B, ba as I, C as v, bb as z, bc as C } from "./console-AOzQ_ChO.js";
3
+ import { b9 as B, ba as I, C as v, bb as z, bc as C } from "./console-Dwe3NjCE.js";
4
4
  async function A(r, h, a) {
5
5
  const x = await a.listFiles(h), i = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), m = [], M = /\b([\w/_-]+(?:\\.|[\w/_-])*(?:\.[\w-]+)+)\b/g, F = /(\/(?:[\w-]+\/|[\w-]+\\[.\s\S])+[\w.-]+(?:\\.|[\w.-])*(?:\.[\w-]+)+)\b/g, y = /\b([A-Za-z]:[\\\\][^\s"'<>|]*(?:\.[\w-]+)+)\b/g;
6
6
  await l(M, !1), await l(F, !0), await l(y, !0);
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { spawn as w } from "node:child_process";
3
- import { p as I } from "./index-b7IwVQMF.js";
4
- import { O as v, g as N, m as E, C as P, aF as R } from "./console-AOzQ_ChO.js";
5
- import { r as D } from "./executable-CexPFAeR.js";
3
+ import { p as I } from "./index-BYMcnCei.js";
4
+ import { O as v, g as N, m as E, C as P, aF as R } from "./console-Dwe3NjCE.js";
5
+ import { r as D } from "./executable-D88sbymN.js";
6
6
  const y = ({ args: i }, { dirs: r }) => {
7
7
  if (r.length === 0)
8
8
  return new v((s) => {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { z as xt } from "./console-AOzQ_ChO.js";
2
+ import { z as xt } from "./console-Dwe3NjCE.js";
3
3
  var pt = {}, ft, Et;
4
4
  function ct() {
5
5
  if (Et) return ft;
@@ -2,7 +2,7 @@
2
2
  import c from "node:fs/promises";
3
3
  import u from "node:os";
4
4
  import s from "node:path";
5
- import { O as f, aK as i, aL as l, m, aM as p } from "./console-AOzQ_ChO.js";
5
+ import { O as f, aK as i, aL as l, m, aM as p } from "./console-Dwe3NjCE.js";
6
6
  const D = ({ args: r }, { dirs: t }) => {
7
7
  if (t.length === 0)
8
8
  return new f((e) => {
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import n from "node:os";
3
- import { O as r } from "./console-AOzQ_ChO.js";
3
+ import { O as r } from "./console-Dwe3NjCE.js";
4
4
  const e = process.env;
5
5
  function i(t, o = "always") {
6
6
  return o === "never" ? r.of(e) : r.of(e);
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
- import { O as je, s as Dr, c as vh, a as _r, b as ri, f as Ue, d as jt, p as Mt, m as Ee, e as Vn, g as br, h as kt, i as pp, j as yh, o as le, l as be, k as oe, n as re, q as ye, r as Ge, t as Ke, u as He, v as ti, w as at, x as bh, y as mp, z as ni, A as gp, M as Je, B as wh, C as J, N as qn, D as ii, E as Jr, F as Ps, G as vp, H as yp, I as Cs, J as bp, K as _h, L as wp, P as su, Q as Ft, R as _p, S as Sp, T as Ep, U as Pp, V as Cp, W as Rp, X as Tp, Y as xp, Z as Op, _ as Ap, $ as Lp, a0 as Ip, a1 as Dp, a2 as $p, a3 as Mp, a4 as kp, a5 as Fp, a6 as jp, a7 as qp, a8 as Sh, a9 as Np, aa as Wn, ab as Up, ac as Hp, ad as Bp, ae as ot, af as zp, ag as Vp, ah as Eh, ai as Pt, aj as as, ak as os, al as Nn, am as Wp, an as Gp, ao as Kp, ap as Jp, aq as Rs, ar as uu, as as Ts, at as qr, au as ss, av as Yp, aw as Qp, ax as lu, ay as Zp, az as Xp, aA as Ph, aB as Ch, aC as em } from "./console-AOzQ_ChO.js";
2
+ import { O as je, s as Dr, c as vh, a as _r, b as ri, f as Ue, d as jt, p as Mt, m as Ee, e as Vn, g as br, h as kt, i as pp, j as yh, o as le, l as be, k as oe, n as re, q as ye, r as Ge, t as Ke, u as He, v as ti, w as at, x as bh, y as mp, z as ni, A as gp, M as Je, B as wh, C as J, N as qn, D as ii, E as Jr, F as Ps, G as vp, H as yp, I as Cs, J as bp, K as _h, L as wp, P as su, Q as Ft, R as _p, S as Sp, T as Ep, U as Pp, V as Cp, W as Rp, X as Tp, Y as xp, Z as Op, _ as Ap, $ as Lp, a0 as Ip, a1 as Dp, a2 as $p, a3 as Mp, a4 as kp, a5 as Fp, a6 as jp, a7 as qp, a8 as Sh, a9 as Np, aa as Wn, ab as Up, ac as Hp, ad as Bp, ae as ot, af as zp, ag as Vp, ah as Eh, ai as Pt, aj as as, ak as os, al as Nn, am as Wp, an as Gp, ao as Kp, ap as Jp, aq as Rs, ar as uu, as as Ts, at as qr, au as ss, av as Yp, aw as Qp, ax as lu, ay as Zp, az as Xp, aA as Ph, aB as Ch, aC as em } from "./console-Dwe3NjCE.js";
3
3
  import * as rm from "node:fs/promises";
4
4
  import tt, { readdir as Rh, stat as Th, readFile as Or, mkdir as Gn, writeFile as Ot, unlink as tm, readlink as nm, open as im } from "node:fs/promises";
5
5
  import * as am from "node:path";
6
6
  import me, { join as Ve, dirname as cu } from "node:path";
7
- import { i as fu, F as _i, f as wr, a as om } from "./client-BHg0B1gY.js";
7
+ import { i as fu, F as _i, f as wr, a as om } from "./client-Dhn8xK-f.js";
8
8
  import xs from "node:events";
9
9
  import * as sm from "node:child_process";
10
10
  import um, { execFile as xh, spawn as ai, exec as Nr } from "node:child_process";
@@ -18,7 +18,7 @@ import wm, { createGzip as _m } from "node:zlib";
18
18
  import Sm from "node:string_decoder";
19
19
  import Em, { createServer as Oh } from "node:http";
20
20
  import Pm from "node:https";
21
- import { r as Cm } from "./executable-CexPFAeR.js";
21
+ import { r as Cm } from "./executable-D88sbymN.js";
22
22
  import { pipeline as Rm } from "node:stream/promises";
23
23
  import { lookup as Tm } from "node:dns";
24
24
  const Ir = Symbol.for("@@pendingOperation");
@@ -4991,10 +4991,10 @@ async function Jv(t, e, n) {
4991
4991
  if ("url" in t)
4992
4992
  i = new Gv(new URL(t.url));
4993
4993
  else {
4994
- const { loadProfileEnvironmentVariables: r } = await import("./load-profile-CgqqG-Jd.js"), a = n.loadProfile === "never" || !n.workingDirectory ? process.env : await Ue(
4994
+ const { loadProfileEnvironmentVariables: r } = await import("./load-profile-BzhVJjlz.js"), a = n.loadProfile === "never" || !n.workingDirectory ? process.env : await Ue(
4995
4995
  r(n.workingDirectory, n.loadProfile)
4996
4996
  );
4997
- i = await import("./stdio-BS9F5QTi.js").then(
4997
+ i = await import("./stdio-BViJiI7E.js").then(
4998
4998
  ({ StdioClientTransport: o }) => new o({
4999
4999
  ...t,
5000
5000
  stderr: "pipe",
@@ -5755,7 +5755,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
5755
5755
  },
5756
5756
  source: "builtin"
5757
5757
  },
5758
- fn: import("./node-CqlU-1jK.js").then(({ runRoutine: t }) => t)
5758
+ fn: import("./node-Dm4IeR-j.js").then(({ runRoutine: t }) => t)
5759
5759
  };
5760
5760
  let pl = !1;
5761
5761
  async function ad(t, e = !1) {
@@ -17801,7 +17801,7 @@ async function Hr(t, e, { stdin: n, stdout: i } = { stdin: process.stdin, stdout
17801
17801
  n.on("data", l), n.once("error", s);
17802
17802
  });
17803
17803
  }
17804
- const Yd = import("./node-CWGT6Jli.js").then(
17804
+ const Yd = import("./node-BPO4OYPg.js").then(
17805
17805
  ({ nodeFileSystem: t }) => t
17806
17806
  ), es = qt(sm.exec);
17807
17807
  async function Pw(t) {
@@ -18955,7 +18955,7 @@ async function Nw({
18955
18955
  }
18956
18956
  async function Uw(t) {
18957
18957
  try {
18958
- const e = await Mw("0.0.1749398499-gd5401b");
18958
+ const e = await Mw("0.0.1749408760-g200365");
18959
18959
  e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
18960
18960
  try {
18961
18961
  await qw(e.latestVersion), t.next({
@@ -20713,7 +20713,7 @@ async function zn(t, e) {
20713
20713
  Xn({
20714
20714
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
20715
20715
  logFile: e.logFile || process.env.AMP_LOG_FILE
20716
- }), em("0.0.1749398499-gd5401b");
20716
+ }), em("0.0.1749408760-g200365");
20717
20717
  const n = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
20718
20718
  J.info("Using settings file", { settingsFile: n });
20719
20719
  const i = Bn(), r = cd({ settingsFile: n }), a = process.env.AMP_API_KEY;
@@ -20821,7 +20821,7 @@ function h_(t) {
20821
20821
  const e = new Sl().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
20822
20822
  e.option("-V, --version", "output the version number", () => {
20823
20823
  if (t.isTTY) {
20824
- const a = "0.0.1749398499-gd5401b".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20824
+ const a = "0.0.1749408760-g200365".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20825
20825
  if (a) {
20826
20826
  const [, , o] = a;
20827
20827
  try {
@@ -20832,21 +20832,21 @@ function h_(t) {
20832
20832
  day: "numeric"
20833
20833
  });
20834
20834
  Ie.write(
20835
- `0.0.1749398499-gd5401b ${t.printer.print(`(released ${s})`, { foreground: "gray" })}
20835
+ `0.0.1749408760-g200365 ${t.printer.print(`(released ${s})`, { foreground: "gray" })}
20836
20836
  `
20837
20837
  );
20838
20838
  } else
20839
- Ie.write(`0.0.1749398499-gd5401b
20839
+ Ie.write(`0.0.1749408760-g200365
20840
20840
  `);
20841
20841
  } catch {
20842
- Ie.write(`0.0.1749398499-gd5401b
20842
+ Ie.write(`0.0.1749408760-g200365
20843
20843
  `);
20844
20844
  }
20845
20845
  } else
20846
- Ie.write(`0.0.1749398499-gd5401b
20846
+ Ie.write(`0.0.1749408760-g200365
20847
20847
  `);
20848
20848
  } else
20849
- Ie.write(`0.0.1749398499-gd5401b
20849
+ Ie.write(`0.0.1749408760-g200365
20850
20850
  `);
20851
20851
  process.exit(0);
20852
20852
  }), e.addHelpText(
@@ -4,9 +4,9 @@ import * as i from "node:fs";
4
4
  import * as o from "node:path";
5
5
  import { join as p } from "node:path";
6
6
  import { promisify as w } from "node:util";
7
- import { U as h } from "./main-B7T3eQkm.js";
8
- import { N as y, C as n, aM as c } from "./console-AOzQ_ChO.js";
9
- import { ripgrepFiles as d } from "./glob.node-BkeK_I3Y.js";
7
+ import { U as h } from "./main-BWUN5Va0.js";
8
+ import { N as y, C as n, aM as c } from "./console-Dwe3NjCE.js";
9
+ import { ripgrepFiles as d } from "./glob.node-Bn-P9pn3.js";
10
10
  import { homedir as F } from "node:os";
11
11
  const g = p(F(), ".amp", "file-changes"), u = w(m);
12
12
  function B(a) {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { p as f } from "./index-b7IwVQMF.js";
3
- import { aF as m, g, m as c, aQ as h, aR as d, aS as b, aT as S, c as E, O as _ } from "./console-AOzQ_ChO.js";
4
- import { r as v } from "./executable-CexPFAeR.js";
2
+ import { p as f } from "./index-BYMcnCei.js";
3
+ import { aF as m, g, m as c, aQ as h, aR as d, aS as b, aT as S, c as E, O as _ } from "./console-Dwe3NjCE.js";
4
+ import { r as v } from "./executable-D88sbymN.js";
5
5
  const L = ({ args: a }, { dirs: s }) => {
6
6
  for (const e of s)
7
7
  m(e);
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { i as a, F as c, f as i } from "./client-BHg0B1gY.js";
3
- import { p as m, aU as l } from "./console-AOzQ_ChO.js";
2
+ import { i as a, F as c, f as i } from "./client-Dhn8xK-f.js";
3
+ import { p as m, aU as l } from "./console-Dwe3NjCE.js";
4
4
  const h = ({ args: e }, { threadID: o }) => m(async (s) => {
5
5
  try {
6
6
  const r = await a.webSearch(
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { ae as Pe, ad as st, p as lt } from "./console-AOzQ_ChO.js";
2
+ import { ae as Pe, ad as st, p as lt } from "./console-Dwe3NjCE.js";
3
3
  var pe = {}, Pu = {}, be = {}, Me;
4
4
  function ne() {
5
5
  return Me || (Me = 1, function(u) {
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import * as le from "node:os";
3
3
  import ee, { resolve as fe } from "node:path";
4
- import { aW as de, aX as _e, C as pe, aY as ne, aZ as ge, a_ as ve, aL as oe, aT as me, aK as be, aF as Se, O as se } from "./console-AOzQ_ChO.js";
5
- import { loadProfileEnvironmentVariables as Ce } from "./load-profile-CgqqG-Jd.js";
4
+ import { aW as de, aX as _e, C as pe, aY as ne, aZ as ge, a_ as ve, aL as oe, aT as me, aK as be, aF as Se, O as se } from "./console-Dwe3NjCE.js";
5
+ import { loadProfileEnvironmentVariables as Ce } from "./load-profile-BzhVJjlz.js";
6
6
  const ye = [
7
7
  // Basic read/info operations
8
8
  "ls",
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { q as x, o as A, n as g, y as Y, r as j, l as h, x as I, u as J, w as V, A as k, a$ as z, b0 as W, b1 as q, a8 as C, b2 as L, ac as D, b3 as M, aB as _, f as Z, b4 as G, b5 as H, b6 as F, b7 as K, O as Q, b8 as N, _ as X, aa as ee, C as te } from "./console-AOzQ_ChO.js";
3
- import { r as se } from "./main-B7T3eQkm.js";
2
+ import { q as x, o as A, n as g, y as Y, r as j, l as h, x as I, u as J, w as V, A as k, a$ as z, b0 as W, b1 as q, a8 as C, b2 as L, ac as D, b3 as M, aB as _, f as Z, b4 as G, b5 as H, b6 as F, b7 as K, O as Q, b8 as N, _ as X, aa as ee, C as te } from "./console-Dwe3NjCE.js";
3
+ import { r as se } from "./main-BWUN5Va0.js";
4
4
  const S = A({
5
5
  context: V(["continue", "none"]).optional().default("continue"),
6
6
  tools: J([h("all"), x(g())]).optional(),
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { aN as F, p as d } from "./console-AOzQ_ChO.js";
2
+ import { aN as F, p as d } from "./console-Dwe3NjCE.js";
3
3
  const s = ({ args: n }, { dir: o, dirs: r, threadID: a, filesystem: e }) => {
4
4
  const t = F({ readFileFn: e.readFile });
5
5
  return d(
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
- import { ae as ee, z as re } from "./console-AOzQ_ChO.js";
2
+ import { ae as ee, z as re } from "./console-Dwe3NjCE.js";
3
3
  import ne from "node:child_process";
4
4
  import D from "node:path";
5
5
  import L from "node:fs";
6
6
  import R from "node:process";
7
7
  import { PassThrough as te } from "node:stream";
8
- import { J as se } from "./main-B7T3eQkm.js";
8
+ import { J as se } from "./main-BWUN5Va0.js";
9
9
  var S = { exports: {} }, T, k;
10
10
  function oe() {
11
11
  if (k) return T;
package/dist/storybook.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { aa as r, aD as a, as as c, aE as d, ay as f, az as x, ak as b, ax as I } from "./console-AOzQ_ChO.js";
2
+ import { aa as r, aD as a, as as c, aE as d, ay as f, az as x, ak as b, ax as I } from "./console-Dwe3NjCE.js";
3
3
  import { stdout as s } from "node:process";
4
4
  import { parseArgs as w } from "node:util";
5
5
  function D() {
@@ -3,7 +3,7 @@ import E from "node:crypto";
3
3
  import d, { writeFile as D } from "node:fs/promises";
4
4
  import g from "node:os";
5
5
  import a from "node:path";
6
- import { C as p, p as F, aF as C, aO as b, aP as _ } from "./console-AOzQ_ChO.js";
6
+ import { C as p, p as F, aF as C, aO as b, aP as _ } from "./console-Dwe3NjCE.js";
7
7
  class v {
8
8
  MAX_TRACKED_EDITS = 50;
9
9
  editQueue = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sourcegraph/amp",
3
- "version": "0.0.1749398499-gd5401b",
3
+ "version": "0.0.1749408760-g200365",
4
4
  "description": "CLI for Amp, an agentic coding tool in research preview from Sourcegraph.",
5
5
  "homepage": "https://ampcode.com/",
6
6
  "author": {