@trim21/personal-pi-extensions 0.1.471 → 0.1.472
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/package.json +1 -1
- package/src/aft/search.md +0 -1
- package/src/aft/tools.ts +0 -6
package/package.json
CHANGED
package/src/aft/search.md
CHANGED
package/src/aft/tools.ts
CHANGED
|
@@ -363,11 +363,6 @@ const SearchParams = Type.Object(
|
|
|
363
363
|
}),
|
|
364
364
|
),
|
|
365
365
|
includeTests: Type.Optional(Type.Boolean({ description: "包含测试文件。默认 false。" })),
|
|
366
|
-
path: Type.Optional(
|
|
367
|
-
Type.String({
|
|
368
|
-
description: "仅当要搜索不同的 Git 项目时设置(绝对或 ~ 路径)。默认搜索当前项目。",
|
|
369
|
-
}),
|
|
370
|
-
),
|
|
371
366
|
},
|
|
372
367
|
{ additionalProperties: false },
|
|
373
368
|
);
|
|
@@ -393,7 +388,6 @@ export function registerSearchTool(pi: ExtensionAPI, ctx: AftToolContext): void
|
|
|
393
388
|
query: params.query,
|
|
394
389
|
topK: params.topK,
|
|
395
390
|
includeTests: params.includeTests,
|
|
396
|
-
path: params.path ? resolvePathArg(extCtx.cwd, params.path) : undefined,
|
|
397
391
|
});
|
|
398
392
|
|
|
399
393
|
const { text, response } = await callAftTool(bridgeFor(ctx), "search", rawArgs, extCtx, {
|