@zhafron/opencode-kiro-auth 1.2.2 → 1.2.3
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/plugin/request.js +1 -3
- package/package.json +1 -1
package/dist/plugin/request.js
CHANGED
|
@@ -332,9 +332,7 @@ export function mergeAdjacentMessages(msgs) {
|
|
|
332
332
|
return merged;
|
|
333
333
|
}
|
|
334
334
|
export function convertToolsToCodeWhisperer(tools) {
|
|
335
|
-
return tools
|
|
336
|
-
.filter((t) => !['web_search', 'websearch'].includes((t.name || t.function?.name || '').toLowerCase()))
|
|
337
|
-
.map((t) => ({
|
|
335
|
+
return tools.map((t) => ({
|
|
338
336
|
toolSpecification: {
|
|
339
337
|
name: t.name || t.function?.name,
|
|
340
338
|
description: (t.description || t.function?.description || '').substring(0, 9216),
|