@sourcegraph/amp 0.0.1748289687-ga51d20 → 0.0.1748304112-g957b63

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 (42) hide show
  1. package/dist/amp.js +3 -3
  2. package/dist/{client-EVrUMbgT.js → client-BIwJ12dd.js} +2 -2
  3. package/dist/{client-EVrUMbgT.js.map → client-BIwJ12dd.js.map} +1 -1
  4. package/dist/{color-BttSAGAC.js → color-BziuaOBD.js} +21 -21
  5. package/dist/{color-BttSAGAC.js.map → color-BziuaOBD.js.map} +1 -1
  6. package/dist/{create_file.node-BBP7Ibcl.js → create_file.node-CZ1BvF9q.js} +2 -2
  7. package/dist/{create_file.node-BBP7Ibcl.js.map → create_file.node-CZ1BvF9q.js.map} +1 -1
  8. package/dist/{edit_file.node-Ca6BQANK.js → edit_file.node-3Gl6qyGH.js} +3 -3
  9. package/dist/{edit_file.node-Ca6BQANK.js.map → edit_file.node-3Gl6qyGH.js.map} +1 -1
  10. package/dist/{executable-CMcjxeUY.js → executable-DHTI_kQX.js} +2 -2
  11. package/dist/{executable-CMcjxeUY.js.map → executable-DHTI_kQX.js.map} +1 -1
  12. package/dist/{files-DRqXn2SH.js → files-CXrPtQkr.js} +2 -2
  13. package/dist/{files-DRqXn2SH.js.map → files-CXrPtQkr.js.map} +1 -1
  14. package/dist/{glob.node-BWZ6tRdr.js → glob.node-CS8sywmd.js} +3 -3
  15. package/dist/{glob.node-BWZ6tRdr.js.map → glob.node-CS8sywmd.js.map} +1 -1
  16. package/dist/{list_directory.node-0qg87hRC.js → list_directory.node-Cyw81t_e.js} +2 -2
  17. package/dist/{list_directory.node-0qg87hRC.js.map → list_directory.node-Cyw81t_e.js.map} +1 -1
  18. package/dist/{load-profile-CUdAVcp3.js → load-profile-BperfRqz.js} +2 -2
  19. package/dist/{load-profile-CUdAVcp3.js.map → load-profile-BperfRqz.js.map} +1 -1
  20. package/dist/{main-D1urVzTl.js → main-DQYi0NUq.js} +14389 -14328
  21. package/dist/main-DQYi0NUq.js.map +1 -0
  22. package/dist/{node-DiDA0k_H.js → node-C7wddHPB.js} +2 -2
  23. package/dist/{node-DiDA0k_H.js.map → node-C7wddHPB.js.map} +1 -1
  24. package/dist/{node-C5YBMY9U.js → node-Cx3fQSqx.js} +3 -3
  25. package/dist/{node-C5YBMY9U.js.map → node-Cx3fQSqx.js.map} +1 -1
  26. package/dist/{node-BiRe3zHO.js → node-DTRgRMya.js} +2 -2
  27. package/dist/{node-BiRe3zHO.js.map → node-DTRgRMya.js.map} +1 -1
  28. package/dist/{node-P3TqOfYL.js → node-DvA9CTyj.js} +3 -3
  29. package/dist/{node-P3TqOfYL.js.map → node-DvA9CTyj.js.map} +1 -1
  30. package/dist/{node-BzRclDMU.js → node-jNdnfLe3.js} +3 -3
  31. package/dist/{node-BzRclDMU.js.map → node-jNdnfLe3.js.map} +1 -1
  32. package/dist/{node-CM5l7QAE.js → node-nPUDYE9y.js} +9 -9
  33. package/dist/{node-CM5l7QAE.js.map → node-nPUDYE9y.js.map} +1 -1
  34. package/dist/{read_file.node-CvZcTUED.js → read_file.node-C7Lv1QzO.js} +2 -2
  35. package/dist/{read_file.node-CvZcTUED.js.map → read_file.node-C7Lv1QzO.js.map} +1 -1
  36. package/dist/{stdio-Q5YKtqfD.js → stdio-D78RO3qS.js} +3 -3
  37. package/dist/{stdio-Q5YKtqfD.js.map → stdio-D78RO3qS.js.map} +1 -1
  38. package/dist/storybook.js +1 -1
  39. package/dist/{undo_edit.node-DzT87vaH.js → undo_edit.node-GIZzXSlK.js} +2 -2
  40. package/dist/{undo_edit.node-DzT87vaH.js.map → undo_edit.node-GIZzXSlK.js.map} +1 -1
  41. package/package.json +1 -1
  42. package/dist/main-D1urVzTl.js.map +0 -1
package/dist/amp.js CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
- import "./color-BttSAGAC.js";
3
- import "./main-D1urVzTl.js";
2
+ import "./color-BziuaOBD.js";
3
+ import "./main-DQYi0NUq.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-EVrUMbgT.js";
8
+ import "./client-BIwJ12dd.js";
9
9
  //# sourceMappingURL=amp.js.map
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { f as i, r as a, b7 as n, s as p, p as c } from "./color-BttSAGAC.js";
2
+ import { f as i, b7 as n, r as a, s as p, p as c } from "./color-BziuaOBD.js";
3
3
  const u = a.pipe(
4
4
  p(({ settings: e, secrets: t }) => c(async () => await t.getToken("apiKey", e.url) !== void 0))
5
5
  );
@@ -32,4 +32,4 @@ export {
32
32
  w as f,
33
33
  u as i
34
34
  };
35
- //# sourceMappingURL=client-EVrUMbgT.js.map
35
+ //# sourceMappingURL=client-BIwJ12dd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client-EVrUMbgT.js","sources":["../../core/src/server-api/client.ts"],"sourcesContent":["import type { ThreadOperatorShare } from '@sourcegraph/amp-api-types'\nimport type { Observable } from '@sourcegraph/observable'\nimport {\n\tdistinctUntilChanged,\n\tfirstValueFrom,\n\tmap,\n\ttype pendingOperation,\n\tpromiseFactoryToObservable,\n\tswitchMap,\n\tswitchMapReplayOperation,\n} from '@sourcegraph/observable'\nimport { isEqualJSON } from '../common/isEqualJSON'\nimport { type PickResolvedConfiguration, resolvedConfig } from '../configuration/resolver'\nimport { clientIdentificationHeaders } from '../misc/known-clients'\nimport type { ThreadID } from '../threads/thread'\nimport type { ThreadService } from '../threads/thread-service'\n\nexport const isAmpServerConfigured = resolvedConfig.pipe(\n\tswitchMap(({ settings, secrets }) => {\n\t\treturn promiseFactoryToObservable(async () => {\n\t\t\tconst apiKey = await secrets.getToken('apiKey', settings.url)\n\t\t\treturn apiKey !== undefined\n\t\t})\n\t}),\n)\n\n/**\n * Returns the URL to a thread on the Amp server.\n */\nexport function threadURL(ampURL: URL, threadID: ThreadID): URL {\n\treturn new URL(`/threads/${threadID}`, ampURL)\n}\n\n/**\n * Makes a request to the Amp API with the proper configuration\n */\nexport async function fetchFromAmpServer(\n\tpathAndQuery: string,\n\tinit?: RequestInit,\n): Promise<Response> {\n\tconst config = await firstValueFrom(resolvedConfig, init?.signal ?? undefined)\n\treturn fetchFromAmpServerWithConfig(config, pathAndQuery, init)\n}\n\nexport function watchOnAmpServer<T>(\n\tpathAndQuery: string,\n\tinit?: Omit<RequestInit, 'signal'>,\n): Observable<T | typeof pendingOperation | Error> {\n\treturn resolvedConfig.pipe(\n\t\tmap(\n\t\t\t({ settings, secrets }) =>\n\t\t\t\t({\n\t\t\t\t\tsettings: {\n\t\t\t\t\t\turl: settings.url,\n\t\t\t\t\t},\n\t\t\t\t\tsecrets,\n\t\t\t\t}) satisfies PickResolvedConfiguration<{\n\t\t\t\t\tsettings: 'url'\n\t\t\t\t\tsecrets: true\n\t\t\t\t}>,\n\t\t),\n\t\tdistinctUntilChanged(\n\t\t\t(a, b) => isEqualJSON(a.settings, b.settings) && a.secrets === b.secrets,\n\t\t),\n\t\tswitchMapReplayOperation((config) =>\n\t\t\tpromiseFactoryToObservable(async (signal) => {\n\t\t\t\tconst resp = await fetchFromAmpServerWithConfig(config, pathAndQuery, {\n\t\t\t\t\t...init,\n\t\t\t\t\tsignal,\n\t\t\t\t})\n\t\t\t\tif (!resp.ok) {\n\t\t\t\t\tconst text = await resp.text()\n\t\t\t\t\tif (text) {\n\t\t\t\t\t\tthrow new Error(`HTTP ${resp.status}: ${text}`)\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthrow new Error(`HTTP ${resp.status}`)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn (await resp.json()) as T\n\t\t\t}),\n\t\t),\n\t)\n}\n\n/**\n * Share a thread with the operator (i.e., the Amp team).\n */\nexport async function shareThreadWithOperator(\n\tthreadService: ThreadService,\n\tthreadID: ThreadID,\n): Promise<void> {\n\tconst thread = await firstValueFrom(threadService.observe(threadID))\n\tif (!thread) {\n\t\tthrow new Error(`Thread not found: ${threadID}`)\n\t}\n\n\tconst response = await fetchFromAmpServer('/api/internal/share-thread-with-operator', {\n\t\tmethod: 'POST',\n\t\theaders: {\n\t\t\t'Content-Type': 'application/json',\n\t\t},\n\t\tbody: JSON.stringify({ threadData: thread } as Pick<ThreadOperatorShare, 'threadData'>),\n\t})\n\tif (!response.ok) {\n\t\tconst text = await response.text()\n\t\tthrow new Error(`Failed to share thread: ${response.status} ${text}`)\n\t}\n}\n\nasync function fetchFromAmpServerWithConfig(\n\tconfig: PickResolvedConfiguration<{\n\t\tsettings: 'url'\n\t\tsecrets: true\n\t}>,\n\tpathAndQuery: string,\n\tinit?: RequestInit,\n): Promise<Response> {\n\tif (pathAndQuery.startsWith('http:') || pathAndQuery.startsWith('https:')) {\n\t\tthrow new Error('input must be a path, not an absolute URL')\n\t}\n\tif (!pathAndQuery.startsWith('/')) {\n\t\tthrow new Error('pathAndQuery must start with /')\n\t}\n\n\tconst baseURL = config.settings.url\n\tif (!baseURL) {\n\t\tthrow new Error('amp.url is not set')\n\t}\n\n\tconst apiKey = await config.secrets.getToken('apiKey', baseURL)\n\tif (!apiKey) {\n\t\tthrow new Error('Amp API key is not set')\n\t}\n\n\treturn fetch(new URL(pathAndQuery, baseURL), {\n\t\t...init,\n\t\theaders: {\n\t\t\t...init?.headers,\n\t\t\t...clientIdentificationHeaders(),\n\t\t\t'Content-Type': 'application/json',\n\t\t\tAuthorization: `Bearer ${apiKey}`,\n\t\t},\n\t})\n}\n"],"names":["isAmpServerConfigured","resolvedConfig","switchMap","settings","secrets","promiseFactoryToObservable","fetchFromAmpServer","pathAndQuery","init","config","firstValueFrom","fetchFromAmpServerWithConfig","baseURL","apiKey","clientIdentificationHeaders"],"mappings":";;AAiBO,MAAMA,IAAwBC,EAAe;AAAA,EACnDC,EAAU,CAAC,EAAE,UAAAC,GAAU,SAAAC,QACfC,EAA2B,YAClB,MAAMD,EAAQ,SAAS,UAAUD,EAAS,GAAG,MAC1C,MAClB,CACD;AACF;AAYsB,eAAAG,EACrBC,GACAC,GACoB;AACpB,QAAMC,IAAS,MAAMC,EAAeT,GAAgBO,GAAM,UAAU,MAAS;AACtE,SAAAG,EAA6BF,GAAQF,GAAcC,CAAI;AAC/D;AAmEA,eAAeG,EACdF,GAIAF,GACAC,GACoB;AACpB,MAAID,EAAa,WAAW,OAAO,KAAKA,EAAa,WAAW,QAAQ;AACjE,UAAA,IAAI,MAAM,2CAA2C;AAE5D,MAAI,CAACA,EAAa,WAAW,GAAG;AACzB,UAAA,IAAI,MAAM,gCAAgC;AAG3C,QAAAK,IAAUH,EAAO,SAAS;AAChC,MAAI,CAACG;AACE,UAAA,IAAI,MAAM,oBAAoB;AAGrC,QAAMC,IAAS,MAAMJ,EAAO,QAAQ,SAAS,UAAUG,CAAO;AAC9D,MAAI,CAACC;AACE,UAAA,IAAI,MAAM,wBAAwB;AAGzC,SAAO,MAAM,IAAI,IAAIN,GAAcK,CAAO,GAAG;AAAA,IAC5C,GAAGJ;AAAA,IACH,SAAS;AAAA,MACR,GAAGA,GAAM;AAAA,MACT,GAAGM,EAA4B;AAAA,MAC/B,gBAAgB;AAAA,MAChB,eAAe,UAAUD,CAAM;AAAA,IAAA;AAAA,EAChC,CACA;AACF;"}
1
+ {"version":3,"file":"client-BIwJ12dd.js","sources":["../../core/src/server-api/client.ts"],"sourcesContent":["import type { ThreadOperatorShare } from '@sourcegraph/amp-api-types'\nimport type { Observable } from '@sourcegraph/observable'\nimport {\n\tdistinctUntilChanged,\n\tfirstValueFrom,\n\tmap,\n\ttype pendingOperation,\n\tpromiseFactoryToObservable,\n\tswitchMap,\n\tswitchMapReplayOperation,\n} from '@sourcegraph/observable'\nimport { isEqualJSON } from '../common/isEqualJSON'\nimport { type PickResolvedConfiguration, resolvedConfig } from '../configuration/resolver'\nimport { clientIdentificationHeaders } from '../misc/known-clients'\nimport type { ThreadID } from '../threads/thread'\nimport type { ThreadService } from '../threads/thread-service'\n\nexport const isAmpServerConfigured = resolvedConfig.pipe(\n\tswitchMap(({ settings, secrets }) => {\n\t\treturn promiseFactoryToObservable(async () => {\n\t\t\tconst apiKey = await secrets.getToken('apiKey', settings.url)\n\t\t\treturn apiKey !== undefined\n\t\t})\n\t}),\n)\n\n/**\n * Returns the URL to a thread on the Amp server.\n */\nexport function threadURL(ampURL: URL, threadID: ThreadID): URL {\n\treturn new URL(`/threads/${threadID}`, ampURL)\n}\n\n/**\n * Makes a request to the Amp API with the proper configuration\n */\nexport async function fetchFromAmpServer(\n\tpathAndQuery: string,\n\tinit?: RequestInit,\n): Promise<Response> {\n\tconst config = await firstValueFrom(resolvedConfig, init?.signal ?? undefined)\n\treturn fetchFromAmpServerWithConfig(config, pathAndQuery, init)\n}\n\nexport function watchOnAmpServer<T>(\n\tpathAndQuery: string,\n\tinit?: Omit<RequestInit, 'signal'>,\n): Observable<T | typeof pendingOperation | Error> {\n\treturn resolvedConfig.pipe(\n\t\tmap(\n\t\t\t({ settings, secrets }) =>\n\t\t\t\t({\n\t\t\t\t\tsettings: {\n\t\t\t\t\t\turl: settings.url,\n\t\t\t\t\t},\n\t\t\t\t\tsecrets,\n\t\t\t\t}) satisfies PickResolvedConfiguration<{\n\t\t\t\t\tsettings: 'url'\n\t\t\t\t\tsecrets: true\n\t\t\t\t}>,\n\t\t),\n\t\tdistinctUntilChanged(\n\t\t\t(a, b) => isEqualJSON(a.settings, b.settings) && a.secrets === b.secrets,\n\t\t),\n\t\tswitchMapReplayOperation((config) =>\n\t\t\tpromiseFactoryToObservable(async (signal) => {\n\t\t\t\tconst resp = await fetchFromAmpServerWithConfig(config, pathAndQuery, {\n\t\t\t\t\t...init,\n\t\t\t\t\tsignal,\n\t\t\t\t})\n\t\t\t\tif (!resp.ok) {\n\t\t\t\t\tconst text = await resp.text()\n\t\t\t\t\tif (text) {\n\t\t\t\t\t\tthrow new Error(`HTTP ${resp.status}: ${text}`)\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthrow new Error(`HTTP ${resp.status}`)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn (await resp.json()) as T\n\t\t\t}),\n\t\t),\n\t)\n}\n\n/**\n * Share a thread with the operator (i.e., the Amp team).\n */\nexport async function shareThreadWithOperator(\n\tthreadService: ThreadService,\n\tthreadID: ThreadID,\n): Promise<void> {\n\tconst thread = await firstValueFrom(threadService.observe(threadID))\n\tif (!thread) {\n\t\tthrow new Error(`Thread not found: ${threadID}`)\n\t}\n\n\tconst response = await fetchFromAmpServer('/api/internal/share-thread-with-operator', {\n\t\tmethod: 'POST',\n\t\theaders: {\n\t\t\t'Content-Type': 'application/json',\n\t\t},\n\t\tbody: JSON.stringify({ threadData: thread } as Pick<ThreadOperatorShare, 'threadData'>),\n\t})\n\tif (!response.ok) {\n\t\tconst text = await response.text()\n\t\tthrow new Error(`Failed to share thread: ${response.status} ${text}`)\n\t}\n}\n\nasync function fetchFromAmpServerWithConfig(\n\tconfig: PickResolvedConfiguration<{\n\t\tsettings: 'url'\n\t\tsecrets: true\n\t}>,\n\tpathAndQuery: string,\n\tinit?: RequestInit,\n): Promise<Response> {\n\tif (pathAndQuery.startsWith('http:') || pathAndQuery.startsWith('https:')) {\n\t\tthrow new Error('input must be a path, not an absolute URL')\n\t}\n\tif (!pathAndQuery.startsWith('/')) {\n\t\tthrow new Error('pathAndQuery must start with /')\n\t}\n\n\tconst baseURL = config.settings.url\n\tif (!baseURL) {\n\t\tthrow new Error('amp.url is not set')\n\t}\n\n\tconst apiKey = await config.secrets.getToken('apiKey', baseURL)\n\tif (!apiKey) {\n\t\tthrow new Error('Amp API key is not set')\n\t}\n\n\treturn fetch(new URL(pathAndQuery, baseURL), {\n\t\t...init,\n\t\theaders: {\n\t\t\t...init?.headers,\n\t\t\t...clientIdentificationHeaders(),\n\t\t\t'Content-Type': 'application/json',\n\t\t\tAuthorization: `Bearer ${apiKey}`,\n\t\t},\n\t})\n}\n"],"names":["isAmpServerConfigured","resolvedConfig","switchMap","settings","secrets","promiseFactoryToObservable","fetchFromAmpServer","pathAndQuery","init","config","firstValueFrom","fetchFromAmpServerWithConfig","baseURL","apiKey","clientIdentificationHeaders"],"mappings":";;AAiBO,MAAMA,IAAwBC,EAAe;AAAA,EACnDC,EAAU,CAAC,EAAE,UAAAC,GAAU,SAAAC,QACfC,EAA2B,YAClB,MAAMD,EAAQ,SAAS,UAAUD,EAAS,GAAG,MAC1C,MAClB,CACD;AACF;AAYsB,eAAAG,EACrBC,GACAC,GACoB;AACpB,QAAMC,IAAS,MAAMC,EAAeT,GAAgBO,GAAM,UAAU,MAAS;AACtE,SAAAG,EAA6BF,GAAQF,GAAcC,CAAI;AAC/D;AAmEA,eAAeG,EACdF,GAIAF,GACAC,GACoB;AACpB,MAAID,EAAa,WAAW,OAAO,KAAKA,EAAa,WAAW,QAAQ;AACjE,UAAA,IAAI,MAAM,2CAA2C;AAE5D,MAAI,CAACA,EAAa,WAAW,GAAG;AACzB,UAAA,IAAI,MAAM,gCAAgC;AAG3C,QAAAK,IAAUH,EAAO,SAAS;AAChC,MAAI,CAACG;AACE,UAAA,IAAI,MAAM,oBAAoB;AAGrC,QAAMC,IAAS,MAAMJ,EAAO,QAAQ,SAAS,UAAUG,CAAO;AAC9D,MAAI,CAACC;AACE,UAAA,IAAI,MAAM,wBAAwB;AAGzC,SAAO,MAAM,IAAI,IAAIN,GAAcK,CAAO,GAAG;AAAA,IAC5C,GAAGJ;AAAA,IACH,SAAS;AAAA,MACR,GAAGA,GAAM;AAAA,MACT,GAAGM,EAA4B;AAAA,MAC/B,gBAAgB;AAAA,MAChB,eAAe,UAAUD,CAAM;AAAA,IAAA;AAAA,EAChC,CACA;AACF;"}
@@ -6984,7 +6984,7 @@ Prefer this tool over \`edit_file\` when you want to ovewrite the entire content
6984
6984
  },
6985
6985
  source: "builtin"
6986
6986
  },
6987
- fn: import("./create_file.node-BBP7Ibcl.js").then(
6987
+ fn: import("./create_file.node-CZ1BvF9q.js").then(
6988
6988
  ({ nodeCreateFileTool: t }) => t
6989
6989
  )
6990
6990
  }, Xt = "Grep", MC = 15, xC = 250, LC = `Search for exact text patterns in files using ripgrep, a fast keyword search tool.
@@ -7117,7 +7117,7 @@ COMPLEMENTARY USE WITH CODEBASE_SEARCH:
7117
7117
  },
7118
7118
  source: "builtin"
7119
7119
  },
7120
- fn: import("./node-P3TqOfYL.js").then(({ nodeGrepTool: t }) => t)
7120
+ fn: import("./node-DvA9CTyj.js").then(({ nodeGrepTool: t }) => t)
7121
7121
  }, hr = "read_file", PC = 1e3, yn = {
7122
7122
  spec: {
7123
7123
  name: hr,
@@ -7149,7 +7149,7 @@ Returns the contents of the file with each line prefixed by its line number. For
7149
7149
  switch ("node") {
7150
7150
  case "node":
7151
7151
  case "vscode":
7152
- return import("./read_file.node-CvZcTUED.js").then(({ nodeReadFileTool: t }) => t);
7152
+ return import("./read_file.node-C7Lv1QzO.js").then(({ nodeReadFileTool: t }) => t);
7153
7153
  }
7154
7154
  })()
7155
7155
  }, FC = cC({
@@ -7178,7 +7178,7 @@ If you need to replace the entire contents of a file, use \`${ni}\` instead, sin
7178
7178
  inputSchema: RD(FC),
7179
7179
  source: "builtin"
7180
7180
  },
7181
- fn: import("./edit_file.node-Ca6BQANK.js").then(({ nodeEditFileTool: t }) => t)
7181
+ fn: import("./edit_file.node-3Gl6qyGH.js").then(({ nodeEditFileTool: t }) => t)
7182
7182
  };
7183
7183
  async function JZ(t, e, r, n) {
7184
7184
  e = Zn(e);
@@ -8147,7 +8147,7 @@ Note: Results are sorted by modification time with the most recently modified fi
8147
8147
  },
8148
8148
  source: "builtin"
8149
8149
  },
8150
- fn: import("./glob.node-BWZ6tRdr.js").then(({ nodeGlobTool: t }) => t)
8150
+ fn: import("./glob.node-CS8sywmd.js").then(({ nodeGlobTool: t }) => t)
8151
8151
  }, si = "list_directory", __ = {
8152
8152
  spec: {
8153
8153
  name: si,
@@ -8168,7 +8168,7 @@ Note: Results are sorted by modification time with the most recently modified fi
8168
8168
  switch ("node") {
8169
8169
  case "node":
8170
8170
  case "vscode":
8171
- return import("./list_directory.node-0qg87hRC.js").then(
8171
+ return import("./list_directory.node-Cyw81t_e.js").then(
8172
8172
  ({ nodeListDirectoryTool: t }) => t
8173
8173
  );
8174
8174
  }
@@ -8989,7 +8989,7 @@ It's VERY IMPORTANT to use specific tools when searching for files, instead of i
8989
8989
  },
8990
8990
  source: "builtin"
8991
8991
  },
8992
- fn: import("./node-C5YBMY9U.js").then(({ nodeBashTool: t }) => t)
8992
+ fn: import("./node-Cx3fQSqx.js").then(({ nodeBashTool: t }) => t)
8993
8993
  }, L0 = [
8994
8994
  "ls",
8995
8995
  "dir",
@@ -9320,7 +9320,7 @@ This tool converts web content to markdown format for better readability.`,
9320
9320
  requiresNetwork: !0
9321
9321
  }
9322
9322
  },
9323
- fn: import("./node-BiRe3zHO.js").then(({ nodeReadWebPageTool: t }) => t)
9323
+ fn: import("./node-DTRgRMya.js").then(({ nodeReadWebPageTool: t }) => t)
9324
9324
  }, ch = "think", G0 = (t, e) => An(async () => ({ status: "done", result: "Thoughts have been logged." })), Y0 = {
9325
9325
  spec: {
9326
9326
  name: ch,
@@ -9385,7 +9385,7 @@ the \`${Uu}\` with the url.
9385
9385
  requiresNetwork: !0
9386
9386
  }
9387
9387
  },
9388
- fn: import("./node-BzRclDMU.js").then(({ nodeWebSearchTool: t }) => t)
9388
+ fn: import("./node-jNdnfLe3.js").then(({ nodeWebSearchTool: t }) => t)
9389
9389
  }, Sn = "Task", zu = [
9390
9390
  __,
9391
9391
  sa,
@@ -10098,7 +10098,7 @@ Returns a git-style diff showing the changes that were undone as formatted markd
10098
10098
  },
10099
10099
  source: "builtin"
10100
10100
  },
10101
- fn: import("./undo_edit.node-DzT87vaH.js").then(({ nodeUndoEditTool: t }) => t)
10101
+ fn: import("./undo_edit.node-GIZzXSlK.js").then(({ nodeUndoEditTool: t }) => t)
10102
10102
  };
10103
10103
  function DJ(t, e, r) {
10104
10104
  const n = [], a = [];
@@ -54251,16 +54251,16 @@ export {
54251
54251
  iJ as a8,
54252
54252
  nJ as a9,
54253
54253
  tE as aA,
54254
- AJ as aB,
54255
- NJ as aC,
54256
- kS as aD,
54257
- qZ as aE,
54258
- pZ as aF,
54259
- gZ as aG,
54260
- GZ as aH,
54261
- DJ as aI,
54262
- CJ as aJ,
54263
- RJ as aK,
54254
+ kS as aB,
54255
+ qZ as aC,
54256
+ pZ as aD,
54257
+ gZ as aE,
54258
+ GZ as aF,
54259
+ DJ as aG,
54260
+ CJ as aH,
54261
+ RJ as aI,
54262
+ AJ as aJ,
54263
+ NJ as aK,
54264
54264
  Xt as aL,
54265
54265
  PT as aM,
54266
54266
  M0 as aN,
@@ -54338,4 +54338,4 @@ export {
54338
54338
  kZ as y,
54339
54339
  HZ as z
54340
54340
  };
54341
- //# sourceMappingURL=color-BttSAGAC.js.map
54341
+ //# sourceMappingURL=color-BziuaOBD.js.map