@sourcegraph/amp 0.0.1748649751-g6afca7 → 0.0.1748668135-g418a35

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.
Files changed (40) hide show
  1. package/dist/amp.js +2 -2
  2. package/dist/{console-ClqVSdMh.js → console-CCSaz7D3.js} +11 -10
  3. package/dist/console-CCSaz7D3.js.map +1 -0
  4. package/dist/{create_file.node-BIf7Pfx1.js → create_file.node-VJXCfFBa.js} +2 -2
  5. package/dist/{create_file.node-BIf7Pfx1.js.map → create_file.node-VJXCfFBa.js.map} +1 -1
  6. package/dist/{edit_file.node-DGvO6oA8.js → edit_file.node-0FdIK5bs.js} +3 -3
  7. package/dist/{edit_file.node-DGvO6oA8.js.map → edit_file.node-0FdIK5bs.js.map} +1 -1
  8. package/dist/{executable-CdFQvKRa.js → executable-DSiLECVP.js} +2 -2
  9. package/dist/{executable-CdFQvKRa.js.map → executable-DSiLECVP.js.map} +1 -1
  10. package/dist/{files-DNzXeiaR.js → files-Bmu6Q8-g.js} +2 -2
  11. package/dist/{files-DNzXeiaR.js.map → files-Bmu6Q8-g.js.map} +1 -1
  12. package/dist/{glob.node-CFnd8xoU.js → glob.node-DawcOoJV.js} +3 -3
  13. package/dist/{glob.node-CFnd8xoU.js.map → glob.node-DawcOoJV.js.map} +1 -1
  14. package/dist/{list_directory.node-DNIR8duK.js → list_directory.node-BJJvB2_b.js} +2 -2
  15. package/dist/{list_directory.node-DNIR8duK.js.map → list_directory.node-BJJvB2_b.js.map} +1 -1
  16. package/dist/{load-profile-D6ljNdlh.js → load-profile-iPSuJT6Q.js} +2 -2
  17. package/dist/{load-profile-D6ljNdlh.js.map → load-profile-iPSuJT6Q.js.map} +1 -1
  18. package/dist/{main-Ju2fVM67.js → main-B-d51C59.js} +233 -233
  19. package/dist/{main-Ju2fVM67.js.map → main-B-d51C59.js.map} +1 -1
  20. package/dist/{node-D-tKANAU.js → node-B1aUkH5e.js} +3 -3
  21. package/dist/{node-D-tKANAU.js.map → node-B1aUkH5e.js.map} +1 -1
  22. package/dist/{node-CZz4TZNI.js → node-B9lpn9F2.js} +2 -2
  23. package/dist/{node-CZz4TZNI.js.map → node-B9lpn9F2.js.map} +1 -1
  24. package/dist/{node-D9A2M7dY.js → node-CCmh5Dc0.js} +3 -3
  25. package/dist/{node-D9A2M7dY.js.map → node-CCmh5Dc0.js.map} +1 -1
  26. package/dist/{node-D0FEFzDK.js → node-CV36ZK7q.js} +3 -3
  27. package/dist/{node-D0FEFzDK.js.map → node-CV36ZK7q.js.map} +1 -1
  28. package/dist/{node-C7Lg2Zsq.js → node-D1_itiD1.js} +2 -2
  29. package/dist/{node-C7Lg2Zsq.js.map → node-D1_itiD1.js.map} +1 -1
  30. package/dist/{node-d3Q-Nkbe.js → node-SSZxVuZM.js} +3 -3
  31. package/dist/{node-d3Q-Nkbe.js.map → node-SSZxVuZM.js.map} +1 -1
  32. package/dist/{read_file.node-DKV2Spj4.js → read_file.node-Cfwlzkc_.js} +2 -2
  33. package/dist/{read_file.node-DKV2Spj4.js.map → read_file.node-Cfwlzkc_.js.map} +1 -1
  34. package/dist/{stdio-BvpDvTqR.js → stdio-DpdrOrUs.js} +3 -3
  35. package/dist/{stdio-BvpDvTqR.js.map → stdio-DpdrOrUs.js.map} +1 -1
  36. package/dist/storybook.js +1 -1
  37. package/dist/{undo_edit.node-C27aruk3.js → undo_edit.node-BOcr9Ts6.js} +2 -2
  38. package/dist/{undo_edit.node-C27aruk3.js.map → undo_edit.node-BOcr9Ts6.js.map} +1 -1
  39. package/package.json +1 -1
  40. package/dist/console-ClqVSdMh.js.map +0 -1
package/dist/amp.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import "./console-ClqVSdMh.js";
3
- import "./main-Ju2fVM67.js";
2
+ import "./console-CCSaz7D3.js";
3
+ import "./main-B-d51C59.js";
4
4
  import "node:crypto";
5
5
  import "node:fs/promises";
6
6
  import "node:path";
@@ -3862,7 +3862,7 @@ Prefer this tool over \`edit_file\` when you want to ovewrite the entire content
3862
3862
  },
3863
3863
  source: "builtin"
3864
3864
  },
3865
- fn: import("./create_file.node-BIf7Pfx1.js").then(
3865
+ fn: import("./create_file.node-VJXCfFBa.js").then(
3866
3866
  ({ nodeCreateFileTool: t }) => t
3867
3867
  )
3868
3868
  }, nr = "Grep", xD = 15, LD = 250, PD = `Search for exact text patterns in files using ripgrep, a fast keyword search tool.
@@ -3995,7 +3995,7 @@ COMPLEMENTARY USE WITH CODEBASE_SEARCH:
3995
3995
  },
3996
3996
  source: "builtin"
3997
3997
  },
3998
- fn: import("./node-D9A2M7dY.js").then(({ nodeGrepTool: t }) => t)
3998
+ fn: import("./node-CCmh5Dc0.js").then(({ nodeGrepTool: t }) => t)
3999
3999
  }, wr = "read_file", FD = 1e3, jn = {
4000
4000
  spec: {
4001
4001
  name: wr,
@@ -4027,7 +4027,7 @@ Returns the contents of the file with each line prefixed by its line number. For
4027
4027
  switch ("node") {
4028
4028
  case "node":
4029
4029
  case "vscode":
4030
- return import("./read_file.node-DKV2Spj4.js").then(({ nodeReadFileTool: t }) => t);
4030
+ return import("./read_file.node-Cfwlzkc_.js").then(({ nodeReadFileTool: t }) => t);
4031
4031
  }
4032
4032
  })()
4033
4033
  }, BD = uD({
@@ -4056,7 +4056,7 @@ If you need to replace the entire contents of a file, use \`${ja}\` instead, sin
4056
4056
  inputSchema: Ay(BD),
4057
4057
  source: "builtin"
4058
4058
  },
4059
- fn: import("./edit_file.node-DGvO6oA8.js").then(({ nodeEditFileTool: t }) => t)
4059
+ fn: import("./edit_file.node-0FdIK5bs.js").then(({ nodeEditFileTool: t }) => t)
4060
4060
  };
4061
4061
  async function xZ(t, e, r, n) {
4062
4062
  e = Xn(e);
@@ -8278,7 +8278,7 @@ Note: Results are sorted by modification time with the most recently modified fi
8278
8278
  },
8279
8279
  source: "builtin"
8280
8280
  },
8281
- fn: import("./glob.node-CFnd8xoU.js").then(({ nodeGlobTool: t }) => t)
8281
+ fn: import("./glob.node-DawcOoJV.js").then(({ nodeGlobTool: t }) => t)
8282
8282
  }, ai = "list_directory", nh = {
8283
8283
  spec: {
8284
8284
  name: ai,
@@ -8299,7 +8299,7 @@ Note: Results are sorted by modification time with the most recently modified fi
8299
8299
  switch ("node") {
8300
8300
  case "node":
8301
8301
  case "vscode":
8302
- return import("./list_directory.node-DNIR8duK.js").then(
8302
+ return import("./list_directory.node-BJJvB2_b.js").then(
8303
8303
  ({ nodeListDirectoryTool: t }) => t
8304
8304
  );
8305
8305
  }
@@ -9123,7 +9123,7 @@ It's VERY IMPORTANT to use specific tools when searching for files, instead of i
9123
9123
  },
9124
9124
  source: "builtin"
9125
9125
  },
9126
- fn: import("./node-d3Q-Nkbe.js").then(({ nodeBashTool: t }) => t)
9126
+ fn: import("./node-SSZxVuZM.js").then(({ nodeBashTool: t }) => t)
9127
9127
  }, G0 = [
9128
9128
  "ls",
9129
9129
  "dir",
@@ -9359,7 +9359,8 @@ function SJ(t, e, r) {
9359
9359
  }
9360
9360
  if (G0.includes(String(o.program)))
9361
9361
  return Gi(o, e) ? { command: o, requiresConfirmation: !0 } : { command: o, requiresConfirmation: !1 };
9362
- for (const m of [...Y0, ...a]) {
9362
+ for (let m of [...Y0, ...a]) {
9363
+ m.endsWith(" *") && (m = m.slice(0, -2));
9363
9364
  const _ = " * ";
9364
9365
  if (m.includes(_) && !m.startsWith(_)) {
9365
9366
  const c = m.split(_).map((S) => S.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
@@ -10009,7 +10010,7 @@ Returns a git-style diff showing the changes that were undone as formatted markd
10009
10010
  },
10010
10011
  source: "builtin"
10011
10012
  },
10012
- fn: import("./undo_edit.node-C27aruk3.js").then(({ nodeUndoEditTool: t }) => t)
10013
+ fn: import("./undo_edit.node-BOcr9Ts6.js").then(({ nodeUndoEditTool: t }) => t)
10013
10014
  }, c_ = globalThis.window?.document !== void 0;
10014
10015
  globalThis.process?.versions?.node;
10015
10016
  globalThis.process?.versions?.bun;
@@ -54268,4 +54269,4 @@ export {
54268
54269
  cZ as y,
54269
54270
  dZ as z
54270
54271
  };
54271
- //# sourceMappingURL=console-ClqVSdMh.js.map
54272
+ //# sourceMappingURL=console-CCSaz7D3.js.map