@whispering233/ai-editor-tools 0.0.36 → 0.0.38
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/context.js +1 -1
- package/dist/context.js.map +1 -1
- package/package.json +3 -3
package/dist/context.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// 工具执行上下文(S6.3 ToolContext 设计)
|
|
2
2
|
// 由上层(agent/server,S7)注入:db 访问 + outline.json 读取 + projectId。
|
|
3
3
|
// 工具实现只依赖本接口工作,不持有任何全局状态——同一实例可服务多次工具调用;
|
|
4
|
-
// projectId
|
|
4
|
+
// projectId = 当前打开项目的 id(提案绑定 project_id,S6.6 起提案工具已在用)。
|
|
5
5
|
//
|
|
6
6
|
// 注入方职责(S7.4 executor 组装):
|
|
7
7
|
// - db:当前项目的 data.db 连接(better-sqlite3 同步连接,查询层 API 直接使用)
|
package/dist/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,8DAA8D;AAC9D,yCAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,8DAA8D;AAC9D,yCAAyC;AACzC,yDAAyD;AACzD,EAAE;AACF,2BAA2B;AAC3B,0DAA0D;AAC1D,wCAAwC;AACxC,iDAAiD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whispering233/ai-editor-tools",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.38",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "AI 工具目录:工具定义 + 执行器",
|
|
6
6
|
"type": "module",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@earendil-works/pi-ai": "0.85.1",
|
|
30
|
-
"@whispering233/ai-editor-db": "0.0.
|
|
31
|
-
"@whispering233/ai-editor-shared": "0.0.
|
|
30
|
+
"@whispering233/ai-editor-db": "0.0.38",
|
|
31
|
+
"@whispering233/ai-editor-shared": "0.0.38"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"typescript": "^5.8.0"
|