ai-helper-agent 1.2.0 → 1.3.0

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/server.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-helper-agent",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "AI Helper 本地代理服务 - 为 Chrome 扩展提供本地文件读写和系统命令执行能力",
5
5
  "type": "module",
6
6
  "main": "./src/server.js",
package/src/server.js CHANGED
@@ -181,7 +181,11 @@ export function startServer() {
181
181
  success: true,
182
182
  version: '1.0.0',
183
183
  pairCode: getCurrentPairCode(),
184
+ pairCodeTTL: config.pairCodeTTL,
184
185
  workdir: config.workdir,
186
+ allowedPaths: config.allowedPaths,
187
+ commandTimeout: config.commandTimeout,
188
+ fileMaxSize: config.fileMaxSize,
185
189
  runningProcesses: getRunningProcesses(),
186
190
  ...PLATFORM_INFO,
187
191
  searchTools: getSearchToolsAvailable()