@trim21/personal-pi-extensions 0.1.470 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trim21/personal-pi-extensions",
3
- "version": "0.1.470",
3
+ "version": "0.1.472",
4
4
  "type": "module",
5
5
  "description": "Custom pi coding-agent extensions: bwrap sandbox, workspace guard, opencode edit, and more",
6
6
  "keywords": [
package/src/aft/search.md CHANGED
@@ -6,6 +6,5 @@
6
6
  - 精确的名字、字符串、正则保持简短(`^export`、`Cargo.lock`):走词法/正则匹配通道。
7
7
  - `topK`:最大结果数,默认 10,最大 100。
8
8
  - `includeTests: true`:包含测试文件,默认排除。
9
- - `path`:仅当要搜索另一个 Git 项目时设置(绝对或 ~ 路径);默认搜索当前项目。
10
9
 
11
10
  索引首次构建时本工具会阻塞到构建完成,第一次调用可能明显更慢。
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, {
@@ -67,5 +67,4 @@ In code: default to writing no comments. Never write multi-paragraph docstrings
67
67
  {{skills}}
68
68
  {{append}}
69
69
 
70
- Current date: {{date}}
71
70
  Current working directory: {{cwd}}