@xrkseek/harness 0.3.11 → 0.4.0-rc.2
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/README.md +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/request-image-bound.d.ts +4 -2
- package/node_modules/@xrkseek/attachment/dist/request-image-bound.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/request-image-bound.js +59 -32
- package/node_modules/@xrkseek/attachment/dist/request-image-bound.js.map +1 -1
- package/node_modules/@xrkseek/attachment-local/README.md +6 -3
- package/node_modules/@xrkseek/attachment-local/dist/index.d.ts +2 -0
- package/node_modules/@xrkseek/attachment-local/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment-local/dist/index.js +9 -8
- package/node_modules/@xrkseek/attachment-local/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts +3 -2
- package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment-local/dist/request-image.js +3 -2
- package/node_modules/@xrkseek/attachment-local/dist/request-image.js.map +1 -1
- package/node_modules/@xrkseek/attachment-local/dist/store.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment-local/dist/store.js +3 -0
- package/node_modules/@xrkseek/attachment-local/dist/store.js.map +1 -1
- package/node_modules/@xrkseek/attachment-local/package.json +26 -25
- package/node_modules/@xrkseek/code-runtime/README.md +13 -5
- package/node_modules/@xrkseek/code-runtime/dist/index.d.ts +39 -1
- package/node_modules/@xrkseek/code-runtime/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/code-runtime/dist/index.js +202 -60
- package/node_modules/@xrkseek/code-runtime/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-agent/dist/index.d.ts +17 -0
- package/node_modules/@xrkseek/core-agent/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-agent/dist/index.js +15 -0
- package/node_modules/@xrkseek/core-agent/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts +7 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/index.js +72 -37
- package/node_modules/@xrkseek/core-agent-loop/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/tool-result-bound.d.ts +11 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/tool-result-bound.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/tool-result-bound.js +48 -38
- package/node_modules/@xrkseek/core-agent-loop/dist/tool-result-bound.js.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/workspace-changes-emit.d.ts +31 -0
- package/node_modules/@xrkseek/core-agent-loop/dist/workspace-changes-emit.d.ts.map +1 -0
- package/node_modules/@xrkseek/core-agent-loop/dist/workspace-changes-emit.js +54 -0
- package/node_modules/@xrkseek/core-agent-loop/dist/workspace-changes-emit.js.map +1 -0
- package/node_modules/@xrkseek/core-agent-loop/package.json +35 -34
- package/node_modules/@xrkseek/core-session/README.md +33 -33
- package/node_modules/@xrkseek/core-session/dist/admit.d.ts +5 -0
- package/node_modules/@xrkseek/core-session/dist/admit.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/admit.js +14 -0
- package/node_modules/@xrkseek/core-session/dist/admit.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/compaction.d.ts +16 -1
- package/node_modules/@xrkseek/core-session/dist/compaction.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/compaction.js +56 -6
- package/node_modules/@xrkseek/core-session/dist/compaction.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/dangling.d.ts +0 -4
- package/node_modules/@xrkseek/core-session/dist/dangling.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/dangling.js +0 -2
- package/node_modules/@xrkseek/core-session/dist/dangling.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/drain-hub.d.ts +2 -0
- package/node_modules/@xrkseek/core-session/dist/drain-hub.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/drain-hub.js +8 -0
- package/node_modules/@xrkseek/core-session/dist/drain-hub.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/image-offload.d.ts +26 -0
- package/node_modules/@xrkseek/core-session/dist/image-offload.d.ts.map +1 -0
- package/node_modules/@xrkseek/core-session/dist/image-offload.js +141 -0
- package/node_modules/@xrkseek/core-session/dist/image-offload.js.map +1 -0
- package/node_modules/@xrkseek/core-session/dist/index.d.ts +29 -10
- package/node_modules/@xrkseek/core-session/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/index.js +59 -14
- package/node_modules/@xrkseek/core-session/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/session-interchange.d.ts +26 -0
- package/node_modules/@xrkseek/core-session/dist/session-interchange.d.ts.map +1 -0
- package/node_modules/@xrkseek/core-session/dist/session-interchange.js +271 -0
- package/node_modules/@xrkseek/core-session/dist/session-interchange.js.map +1 -0
- package/node_modules/@xrkseek/core-session/dist/sqlite-store.d.ts +8 -0
- package/node_modules/@xrkseek/core-session/dist/sqlite-store.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/sqlite-store.js +131 -49
- package/node_modules/@xrkseek/core-session/dist/sqlite-store.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/store-lock.d.ts +22 -0
- package/node_modules/@xrkseek/core-session/dist/store-lock.d.ts.map +1 -0
- package/node_modules/@xrkseek/core-session/dist/store-lock.js +143 -0
- package/node_modules/@xrkseek/core-session/dist/store-lock.js.map +1 -0
- package/node_modules/@xrkseek/core-system-prompt/README.md +2 -1
- package/node_modules/@xrkseek/core-system-prompt/dist/index.d.ts +8 -0
- package/node_modules/@xrkseek/core-system-prompt/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-system-prompt/dist/index.js +25 -4
- package/node_modules/@xrkseek/core-system-prompt/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-system-prompt/dist/prompt-vars.d.ts +27 -0
- package/node_modules/@xrkseek/core-system-prompt/dist/prompt-vars.d.ts.map +1 -0
- package/node_modules/@xrkseek/core-system-prompt/dist/prompt-vars.js +56 -0
- package/node_modules/@xrkseek/core-system-prompt/dist/prompt-vars.js.map +1 -0
- package/node_modules/@xrkseek/core-tools/dist/output-bound.d.ts +6 -1
- package/node_modules/@xrkseek/core-tools/dist/output-bound.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/output-bound.js +6 -1
- package/node_modules/@xrkseek/core-tools/dist/output-bound.js.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/pipeline.d.ts +2 -1
- package/node_modules/@xrkseek/core-tools/dist/pipeline.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/pipeline.js.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/presentation.d.ts +3 -5
- package/node_modules/@xrkseek/core-tools/dist/presentation.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/presentation.js.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.js +1 -0
- package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.js.map +1 -1
- package/node_modules/@xrkseek/exec-computer-use/README.md +13 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/background.d.ts +11 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/background.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/background.js +76 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/background.js.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/format.d.ts +20 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/format.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/format.js +58 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/format.js.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/index.d.ts +28 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/index.js +62 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/memory.d.ts +12 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/memory.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/memory.js +100 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/memory.js.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/registry.d.ts +12 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/registry.js +28 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/registry.js.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/tools.d.ts +15 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/tools.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/tools.js +133 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/tools.js.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/types.d.ts +74 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/types.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/types.js +24 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/types.js.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.d.ts +10 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.js +253 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.js.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/package.json +26 -0
- package/node_modules/@xrkseek/exec-fs/dist/document-extract.d.ts +9 -0
- package/node_modules/@xrkseek/exec-fs/dist/document-extract.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-fs/dist/document-extract.js +427 -0
- package/node_modules/@xrkseek/exec-fs/dist/document-extract.js.map +1 -0
- package/node_modules/@xrkseek/exec-fs/dist/index.d.ts +6 -3
- package/node_modules/@xrkseek/exec-fs/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/index.js +13 -17
- package/node_modules/@xrkseek/exec-fs/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/paths.d.ts +9 -0
- package/node_modules/@xrkseek/exec-fs/dist/paths.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/paths.js +101 -2
- package/node_modules/@xrkseek/exec-fs/dist/paths.js.map +1 -1
- package/node_modules/@xrkseek/exec-image-gen/README.md +11 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/format.d.ts +2 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/format.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/format.js +7 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/format.js.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/index.d.ts +24 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/index.js +55 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/memory.d.ts +11 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/memory.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/memory.js +32 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/memory.js.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/openai-http.d.ts +13 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/openai-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/openai-http.js +67 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/openai-http.js.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/tools.d.ts +17 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/tools.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/tools.js +130 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/tools.js.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/types.d.ts +37 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/types.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/types.js +15 -0
- package/node_modules/@xrkseek/exec-image-gen/dist/types.js.map +1 -0
- package/node_modules/@xrkseek/exec-image-gen/package.json +27 -0
- package/node_modules/@xrkseek/exec-memory/README.md +11 -0
- package/node_modules/@xrkseek/exec-memory/dist/index.d.ts +4 -0
- package/node_modules/@xrkseek/exec-memory/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/index.js +4 -0
- package/node_modules/@xrkseek/exec-memory/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/store.d.ts +43 -0
- package/node_modules/@xrkseek/exec-memory/dist/store.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/store.js +365 -0
- package/node_modules/@xrkseek/exec-memory/dist/store.js.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/tools.d.ts +8 -0
- package/node_modules/@xrkseek/exec-memory/dist/tools.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/tools.js +145 -0
- package/node_modules/@xrkseek/exec-memory/dist/tools.js.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/write-path.d.ts +26 -0
- package/node_modules/@xrkseek/exec-memory/dist/write-path.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/write-path.js +82 -0
- package/node_modules/@xrkseek/exec-memory/dist/write-path.js.map +1 -0
- package/node_modules/@xrkseek/exec-memory/package.json +27 -0
- package/node_modules/@xrkseek/exec-pty/dist/backend.d.ts +3 -0
- package/node_modules/@xrkseek/exec-pty/dist/backend.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/backend.js +7 -2
- package/node_modules/@xrkseek/exec-pty/dist/backend.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/bounded-text-buffer.d.ts +35 -0
- package/node_modules/@xrkseek/exec-pty/dist/bounded-text-buffer.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-pty/dist/bounded-text-buffer.js +161 -0
- package/node_modules/@xrkseek/exec-pty/dist/bounded-text-buffer.js.map +1 -0
- package/node_modules/@xrkseek/exec-pty/dist/handle.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/handle.js +2 -0
- package/node_modules/@xrkseek/exec-pty/dist/handle.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/index.d.ts +3 -0
- package/node_modules/@xrkseek/exec-pty/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/index.js +3 -0
- package/node_modules/@xrkseek/exec-pty/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/process-inspector.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/process-inspector.js +6 -1
- package/node_modules/@xrkseek/exec-pty/dist/process-inspector.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/sandbox-fence.d.ts +8 -2
- package/node_modules/@xrkseek/exec-pty/dist/sandbox-fence.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/sandbox-fence.js +4 -3
- package/node_modules/@xrkseek/exec-pty/dist/sandbox-fence.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/session.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/session.js +3 -37
- package/node_modules/@xrkseek/exec-pty/dist/session.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/windows-pty.d.ts +9 -0
- package/node_modules/@xrkseek/exec-pty/dist/windows-pty.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-pty/dist/windows-pty.js +14 -0
- package/node_modules/@xrkseek/exec-pty/dist/windows-pty.js.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/README.md +15 -6
- package/node_modules/@xrkseek/exec-sandbox/dist/bwrap.d.ts +14 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/bwrap.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/bwrap.js +56 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/bwrap.js.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/docker.d.ts +30 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/docker.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/docker.js +89 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/docker.js.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/index.d.ts +5 -28
- package/node_modules/@xrkseek/exec-sandbox/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-sandbox/dist/index.js +5 -85
- package/node_modules/@xrkseek/exec-sandbox/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-sandbox/dist/resolve.d.ts +44 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/resolve.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/resolve.js +108 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/resolve.js.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/service.d.ts +37 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/service.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/service.js +112 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/service.js.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/windows.d.ts +56 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/windows.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/windows.js +134 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/windows.js.map +1 -0
- package/node_modules/@xrkseek/exec-shell/dist/index.d.ts +12 -0
- package/node_modules/@xrkseek/exec-shell/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-shell/dist/index.js +51 -5
- package/node_modules/@xrkseek/exec-shell/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-ssh/README.md +16 -0
- package/node_modules/@xrkseek/exec-ssh/dist/code.d.ts +8 -0
- package/node_modules/@xrkseek/exec-ssh/dist/code.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/code.js +66 -0
- package/node_modules/@xrkseek/exec-ssh/dist/code.js.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/config.d.ts +21 -0
- package/node_modules/@xrkseek/exec-ssh/dist/config.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/config.js +30 -0
- package/node_modules/@xrkseek/exec-ssh/dist/config.js.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/directory.d.ts +29 -0
- package/node_modules/@xrkseek/exec-ssh/dist/directory.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/directory.js +109 -0
- package/node_modules/@xrkseek/exec-ssh/dist/directory.js.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/fs.d.ts +11 -0
- package/node_modules/@xrkseek/exec-ssh/dist/fs.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/fs.js +214 -0
- package/node_modules/@xrkseek/exec-ssh/dist/fs.js.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/index.d.ts +10 -0
- package/node_modules/@xrkseek/exec-ssh/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/index.js +10 -0
- package/node_modules/@xrkseek/exec-ssh/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/paths.d.ts +10 -0
- package/node_modules/@xrkseek/exec-ssh/dist/paths.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/paths.js +34 -0
- package/node_modules/@xrkseek/exec-ssh/dist/paths.js.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/providers.d.ts +19 -0
- package/node_modules/@xrkseek/exec-ssh/dist/providers.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/providers.js +22 -0
- package/node_modules/@xrkseek/exec-ssh/dist/providers.js.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/quote.d.ts +5 -0
- package/node_modules/@xrkseek/exec-ssh/dist/quote.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/quote.js +11 -0
- package/node_modules/@xrkseek/exec-ssh/dist/quote.js.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/session.d.ts +31 -0
- package/node_modules/@xrkseek/exec-ssh/dist/session.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/session.js +89 -0
- package/node_modules/@xrkseek/exec-ssh/dist/session.js.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/subprocess.d.ts +8 -0
- package/node_modules/@xrkseek/exec-ssh/dist/subprocess.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/dist/subprocess.js +30 -0
- package/node_modules/@xrkseek/exec-ssh/dist/subprocess.js.map +1 -0
- package/node_modules/@xrkseek/exec-ssh/package.json +28 -0
- package/node_modules/@xrkseek/exec-subprocess/README.md +1 -1
- package/node_modules/@xrkseek/exec-video-gen/README.md +19 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/format.d.ts +2 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/format.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/format.js +8 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/format.js.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/index.d.ts +24 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/index.js +57 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/memory.d.ts +20 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/memory.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/memory.js +105 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/memory.js.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/openai-http.d.ts +16 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/openai-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/openai-http.js +113 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/openai-http.js.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/tools.d.ts +23 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/tools.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/tools.js +242 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/tools.js.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/types.d.ts +66 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/types.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/types.js +25 -0
- package/node_modules/@xrkseek/exec-video-gen/dist/types.js.map +1 -0
- package/node_modules/@xrkseek/exec-video-gen/package.json +27 -0
- package/node_modules/@xrkseek/exec-voice/README.md +25 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/dictation.d.ts +44 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/dictation.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/dictation.js +163 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/dictation.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/env.d.ts +23 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/env.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/env.js +93 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/env.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/index.d.ts +51 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/index.js +44 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/index.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/session.d.ts +26 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/session.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/session.js +96 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/session.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/types.d.ts +91 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/types.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/types.js +10 -0
- package/node_modules/@xrkseek/exec-voice/dist/browser/types.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/format.d.ts +2 -0
- package/node_modules/@xrkseek/exec-voice/dist/format.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/format.js +8 -0
- package/node_modules/@xrkseek/exec-voice/dist/format.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/index.d.ts +24 -0
- package/node_modules/@xrkseek/exec-voice/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/index.js +53 -0
- package/node_modules/@xrkseek/exec-voice/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/memory.d.ts +11 -0
- package/node_modules/@xrkseek/exec-voice/dist/memory.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/memory.js +85 -0
- package/node_modules/@xrkseek/exec-voice/dist/memory.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/openai-http.d.ts +16 -0
- package/node_modules/@xrkseek/exec-voice/dist/openai-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/openai-http.js +135 -0
- package/node_modules/@xrkseek/exec-voice/dist/openai-http.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/tools.d.ts +14 -0
- package/node_modules/@xrkseek/exec-voice/dist/tools.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/tools.js +240 -0
- package/node_modules/@xrkseek/exec-voice/dist/tools.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/types.d.ts +69 -0
- package/node_modules/@xrkseek/exec-voice/dist/types.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/types.js +16 -0
- package/node_modules/@xrkseek/exec-voice/dist/types.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/package.json +31 -0
- package/node_modules/@xrkseek/exec-web/README.md +5 -5
- package/node_modules/@xrkseek/exec-web/dist/browser-cdp.d.ts +23 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-cdp.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-cdp.js +286 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-cdp.js.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-html.d.ts +26 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-html.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-html.js +118 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-html.js.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-session.d.ts +33 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-session.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-session.js +113 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-session.js.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-tools.d.ts +22 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-tools.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-tools.js +172 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-tools.js.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/format.d.ts +4 -0
- package/node_modules/@xrkseek/exec-web/dist/format.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/format.js +13 -0
- package/node_modules/@xrkseek/exec-web/dist/format.js.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/index.d.ts +5 -1
- package/node_modules/@xrkseek/exec-web/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/index.js +5 -1
- package/node_modules/@xrkseek/exec-web/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/llm/dist/index.d.ts +0 -4
- package/node_modules/@xrkseek/llm/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm/dist/index.js +0 -20
- package/node_modules/@xrkseek/llm/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js +2 -6
- package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js.map +1 -1
- package/node_modules/@xrkseek/llm-deepseek/package.json +30 -29
- package/node_modules/@xrkseek/mcp/README.md +36 -2
- package/node_modules/@xrkseek/mcp/dist/client.d.ts.map +1 -1
- package/node_modules/@xrkseek/mcp/dist/client.js +220 -28
- package/node_modules/@xrkseek/mcp/dist/client.js.map +1 -1
- package/node_modules/@xrkseek/mcp/dist/index.d.ts +7 -4
- package/node_modules/@xrkseek/mcp/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/mcp/dist/index.js +6 -3
- package/node_modules/@xrkseek/mcp/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/mcp/dist/list-tools.d.ts +15 -0
- package/node_modules/@xrkseek/mcp/dist/list-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/mcp/dist/list-tools.js +40 -0
- package/node_modules/@xrkseek/mcp/dist/list-tools.js.map +1 -1
- package/node_modules/@xrkseek/mcp/dist/oauth-device.d.ts +104 -0
- package/node_modules/@xrkseek/mcp/dist/oauth-device.d.ts.map +1 -0
- package/node_modules/@xrkseek/mcp/dist/oauth-device.js +338 -0
- package/node_modules/@xrkseek/mcp/dist/oauth-device.js.map +1 -0
- package/node_modules/@xrkseek/mcp/dist/oauth-discovery.d.ts +92 -0
- package/node_modules/@xrkseek/mcp/dist/oauth-discovery.d.ts.map +1 -0
- package/node_modules/@xrkseek/mcp/dist/oauth-discovery.js +232 -0
- package/node_modules/@xrkseek/mcp/dist/oauth-discovery.js.map +1 -0
- package/node_modules/@xrkseek/mcp/dist/resources.d.ts +24 -0
- package/node_modules/@xrkseek/mcp/dist/resources.d.ts.map +1 -0
- package/node_modules/@xrkseek/mcp/dist/resources.js +127 -0
- package/node_modules/@xrkseek/mcp/dist/resources.js.map +1 -0
- package/node_modules/@xrkseek/mcp/dist/types.d.ts +61 -0
- package/node_modules/@xrkseek/mcp/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/policy/dist/engine.d.ts +12 -1
- package/node_modules/@xrkseek/policy/dist/engine.d.ts.map +1 -1
- package/node_modules/@xrkseek/policy/dist/engine.js +31 -5
- package/node_modules/@xrkseek/policy/dist/engine.js.map +1 -1
- package/node_modules/@xrkseek/policy/dist/index.d.ts +6 -5
- package/node_modules/@xrkseek/policy/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/policy/dist/index.js +5 -4
- package/node_modules/@xrkseek/policy/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/policy/dist/load.d.ts +12 -4
- package/node_modules/@xrkseek/policy/dist/load.d.ts.map +1 -1
- package/node_modules/@xrkseek/policy/dist/load.js +40 -21
- package/node_modules/@xrkseek/policy/dist/load.js.map +1 -1
- package/node_modules/@xrkseek/policy/dist/permission-pre.d.ts +7 -0
- package/node_modules/@xrkseek/policy/dist/permission-pre.d.ts.map +1 -1
- package/node_modules/@xrkseek/policy/dist/permission-pre.js +14 -0
- package/node_modules/@xrkseek/policy/dist/permission-pre.js.map +1 -1
- package/node_modules/@xrkseek/policy/dist/rules.d.ts +30 -0
- package/node_modules/@xrkseek/policy/dist/rules.d.ts.map +1 -1
- package/node_modules/@xrkseek/policy/dist/rules.js +102 -0
- package/node_modules/@xrkseek/policy/dist/rules.js.map +1 -1
- package/node_modules/@xrkseek/policy/dist/ruleset.d.ts +4 -1
- package/node_modules/@xrkseek/policy/dist/ruleset.d.ts.map +1 -1
- package/node_modules/@xrkseek/policy/dist/ruleset.js +39 -2
- package/node_modules/@xrkseek/policy/dist/ruleset.js.map +1 -1
- package/node_modules/@xrkseek/policy/dist/schema.d.ts +16 -1
- package/node_modules/@xrkseek/policy/dist/schema.d.ts.map +1 -1
- package/node_modules/@xrkseek/policy/dist/schema.js +15 -1
- package/node_modules/@xrkseek/policy/dist/schema.js.map +1 -1
- package/node_modules/@xrkseek/policy/dist/types.d.ts +40 -2
- package/node_modules/@xrkseek/policy/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/policy/dist/wire-error.d.ts +30 -0
- package/node_modules/@xrkseek/policy/dist/wire-error.d.ts.map +1 -0
- package/node_modules/@xrkseek/policy/dist/wire-error.js +42 -0
- package/node_modules/@xrkseek/policy/dist/wire-error.js.map +1 -0
- package/node_modules/@xrkseek/policy/package.json +31 -26
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +107 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.js +331 -19
- package/node_modules/@xrkseek/preset-harness/dist/preset.js.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/preset-harness/package.json +7 -0
- package/node_modules/@xrkseek/preset-minimal/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-minimal/dist/preset.js +7 -4
- package/node_modules/@xrkseek/preset-minimal/dist/preset.js.map +1 -1
- package/node_modules/@xrkseek/preset-minimal/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/preset-server/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-server/dist/preset.js +5 -1
- package/node_modules/@xrkseek/preset-server/dist/preset.js.map +1 -1
- package/node_modules/@xrkseek/preset-server/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/protocol/README.md +33 -35
- package/node_modules/@xrkseek/protocol/dist/content.d.ts +5 -0
- package/node_modules/@xrkseek/protocol/dist/content.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/content.js +4 -2
- package/node_modules/@xrkseek/protocol/dist/content.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/index.d.ts +4 -2
- package/node_modules/@xrkseek/protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/index.js +3 -1
- package/node_modules/@xrkseek/protocol/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/json-schema.d.ts +2 -321
- package/node_modules/@xrkseek/protocol/dist/json-schema.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/json-schema.js +106 -61
- package/node_modules/@xrkseek/protocol/dist/json-schema.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/session-events.d.ts +28 -1
- package/node_modules/@xrkseek/protocol/dist/session-events.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/session-events.js +2 -0
- package/node_modules/@xrkseek/protocol/dist/session-events.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/sidebar-previews.d.ts +84 -0
- package/node_modules/@xrkseek/protocol/dist/sidebar-previews.d.ts.map +1 -0
- package/node_modules/@xrkseek/protocol/dist/sidebar-previews.js +36 -0
- package/node_modules/@xrkseek/protocol/dist/sidebar-previews.js.map +1 -0
- package/node_modules/@xrkseek/protocol/dist/validate.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/validate.js +154 -0
- package/node_modules/@xrkseek/protocol/dist/validate.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/workspace-changes.d.ts +132 -0
- package/node_modules/@xrkseek/protocol/dist/workspace-changes.d.ts.map +1 -0
- package/node_modules/@xrkseek/protocol/dist/workspace-changes.js +160 -0
- package/node_modules/@xrkseek/protocol/dist/workspace-changes.js.map +1 -0
- package/node_modules/@xrkseek/server-config/dist/home.d.ts +26 -10
- package/node_modules/@xrkseek/server-config/dist/home.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-config/dist/home.js +40 -30
- package/node_modules/@xrkseek/server-config/dist/home.js.map +1 -1
- package/node_modules/@xrkseek/server-config/dist/index.d.ts +2 -1
- package/node_modules/@xrkseek/server-config/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-config/dist/index.js +1 -1
- package/node_modules/@xrkseek/server-config/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-config/dist/mcp-servers.d.ts +2 -0
- package/node_modules/@xrkseek/server-config/dist/mcp-servers.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-config/dist/mcp-servers.js +1 -0
- package/node_modules/@xrkseek/server-config/dist/mcp-servers.js.map +1 -1
- package/node_modules/@xrkseek/server-config/package.json +28 -27
- package/node_modules/@xrkseek/server-cron/README.md +11 -0
- package/node_modules/@xrkseek/server-cron/dist/deliver.d.ts +9 -0
- package/node_modules/@xrkseek/server-cron/dist/deliver.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/deliver.js +59 -0
- package/node_modules/@xrkseek/server-cron/dist/deliver.js.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/index.d.ts +27 -0
- package/node_modules/@xrkseek/server-cron/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/index.js +48 -0
- package/node_modules/@xrkseek/server-cron/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/runner.d.ts +10 -0
- package/node_modules/@xrkseek/server-cron/dist/runner.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/runner.js +62 -0
- package/node_modules/@xrkseek/server-cron/dist/runner.js.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/schedule.d.ts +9 -0
- package/node_modules/@xrkseek/server-cron/dist/schedule.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/schedule.js +108 -0
- package/node_modules/@xrkseek/server-cron/dist/schedule.js.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/scheduler.d.ts +29 -0
- package/node_modules/@xrkseek/server-cron/dist/scheduler.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/scheduler.js +152 -0
- package/node_modules/@xrkseek/server-cron/dist/scheduler.js.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/store.d.ts +26 -0
- package/node_modules/@xrkseek/server-cron/dist/store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/store.js +127 -0
- package/node_modules/@xrkseek/server-cron/dist/store.js.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/tools.d.ts +8 -0
- package/node_modules/@xrkseek/server-cron/dist/tools.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/tools.js +183 -0
- package/node_modules/@xrkseek/server-cron/dist/tools.js.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/types.d.ts +77 -0
- package/node_modules/@xrkseek/server-cron/dist/types.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-cron/dist/types.js +17 -0
- package/node_modules/@xrkseek/server-cron/dist/types.js.map +1 -0
- package/node_modules/@xrkseek/server-cron/package.json +26 -0
- package/node_modules/@xrkseek/server-face/dist/adapt/index.d.ts +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/index.js +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/index.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.d.ts +9 -0
- package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.js +31 -4
- package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.d.ts +2 -0
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js +16 -0
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/agent-team-graph.d.ts +56 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-graph.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-graph.js +233 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-graph.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/approvals.d.ts +10 -1
- package/node_modules/@xrkseek/server-face/dist/approvals.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/approvals.js +24 -0
- package/node_modules/@xrkseek/server-face/dist/approvals.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/context.d.ts +51 -3
- package/node_modules/@xrkseek/server-face/dist/context.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/dispatch.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/dispatch.js +3 -0
- package/node_modules/@xrkseek/server-face/dist/dispatch.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.d.ts +34 -0
- package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.js +287 -0
- package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/face-schema.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/face-schema.js +1 -0
- package/node_modules/@xrkseek/server-face/dist/face-schema.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/fork-cut.d.ts +33 -0
- package/node_modules/@xrkseek/server-face/dist/fork-cut.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/fork-cut.js +114 -0
- package/node_modules/@xrkseek/server-face/dist/fork-cut.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/catalog.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/catalog.js +2 -2
- package/node_modules/@xrkseek/server-face/dist/handlers/catalog.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/changes.d.ts +23 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/changes.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/changes.js +113 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/changes.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js +10 -3
- package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/host.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/host.js +62 -9
- package/node_modules/@xrkseek/server-face/dist/handlers/host.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/session-added.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/session-added.js +3 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/session-added.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/session.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/session.js +45 -23
- package/node_modules/@xrkseek/server-face/dist/handlers/session.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/subagent.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/subagent.js +3 -2
- package/node_modules/@xrkseek/server-face/dist/handlers/subagent.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/host-open-path.d.ts +4 -0
- package/node_modules/@xrkseek/server-face/dist/host-open-path.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/host-open-path.js +24 -2
- package/node_modules/@xrkseek/server-face/dist/host-open-path.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/index.d.ts +7 -6
- package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/index.js +6 -5
- package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/last-good-config.d.ts +30 -0
- package/node_modules/@xrkseek/server-face/dist/last-good-config.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/last-good-config.js +39 -0
- package/node_modules/@xrkseek/server-face/dist/last-good-config.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/permissions.d.ts +10 -2
- package/node_modules/@xrkseek/server-face/dist/permissions.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/permissions.js +40 -3
- package/node_modules/@xrkseek/server-face/dist/permissions.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/plugin-boot.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/plugin-boot.js +4 -0
- package/node_modules/@xrkseek/server-face/dist/plugin-boot.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/presets-catalog.d.ts +12 -4
- package/node_modules/@xrkseek/server-face/dist/presets-catalog.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/presets-catalog.js +6 -6
- package/node_modules/@xrkseek/server-face/dist/presets-catalog.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/index.js +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/index.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js +3 -0
- package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/list-checkpoint-cache.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/list-checkpoint-cache.js +46 -12
- package/node_modules/@xrkseek/server-face/dist/projections/list-checkpoint-cache.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts +8 -1
- package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/registry.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/snapshot-keys.d.ts +2 -7
- package/node_modules/@xrkseek/server-face/dist/projections/snapshot-keys.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/snapshot-keys.js +2 -11
- package/node_modules/@xrkseek/server-face/dist/projections/snapshot-keys.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/todos.d.ts +4 -2
- package/node_modules/@xrkseek/server-face/dist/projections/units/todos.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/todos.js +5 -5
- package/node_modules/@xrkseek/server-face/dist/projections/units/todos.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/workspace-changes.d.ts +13 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/workspace-changes.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/workspace-changes.js +104 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/workspace-changes.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts +10 -3
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.js +105 -10
- package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/select-session-model.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/select-session-model.js +12 -1
- package/node_modules/@xrkseek/server-face/dist/select-session-model.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts +4 -0
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.js +253 -41
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-document.d.ts +3 -0
- package/node_modules/@xrkseek/server-face/dist/settings-document.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-document.js +84 -23
- package/node_modules/@xrkseek/server-face/dist/settings-document.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-schemas.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-schemas.js +11 -0
- package/node_modules/@xrkseek/server-face/dist/settings-schemas.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-registry.d.ts +9 -2
- package/node_modules/@xrkseek/server-face/dist/subagent-registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-registry.js +21 -3
- package/node_modules/@xrkseek/server-face/dist/subagent-registry.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-tools.d.ts +8 -2
- package/node_modules/@xrkseek/server-face/dist/subagent-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-tools.js +185 -38
- package/node_modules/@xrkseek/server-face/dist/subagent-tools.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-worktree.d.ts +33 -0
- package/node_modules/@xrkseek/server-face/dist/subagent-worktree.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/subagent-worktree.js +172 -0
- package/node_modules/@xrkseek/server-face/dist/subagent-worktree.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/types.d.ts +1 -1
- package/node_modules/@xrkseek/server-face/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/wire/paths.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/wire/paths.js +1 -0
- package/node_modules/@xrkseek/server-face/dist/wire/paths.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/wire/rpc-error.d.ts +1 -1
- package/node_modules/@xrkseek/server-face/dist/wire/rpc-error.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/wire/rpc-error.js +16 -1
- package/node_modules/@xrkseek/server-face/dist/wire/rpc-error.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-face.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-face.js +40 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-face.js.map +1 -1
- package/node_modules/@xrkseek/server-face/package.json +56 -55
- package/node_modules/@xrkseek/server-host/dist/index.d.ts +18 -2
- package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/index.js +340 -48
- package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/mcp-deferred-dispose.d.ts +22 -0
- package/node_modules/@xrkseek/server-host/dist/mcp-deferred-dispose.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/mcp-deferred-dispose.js +37 -0
- package/node_modules/@xrkseek/server-host/dist/mcp-deferred-dispose.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/mcp-wire.d.ts +19 -5
- package/node_modules/@xrkseek/server-host/dist/mcp-wire.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/mcp-wire.js +161 -30
- package/node_modules/@xrkseek/server-host/dist/mcp-wire.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/policy-file-watch.d.ts +18 -0
- package/node_modules/@xrkseek/server-host/dist/policy-file-watch.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/policy-file-watch.js +91 -0
- package/node_modules/@xrkseek/server-host/dist/policy-file-watch.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-opens.d.ts +29 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-opens.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-opens.js +111 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-opens.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-pty.d.ts +101 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-pty.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-pty.js +377 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-pty.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-tools.d.ts +25 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-tools.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-tools.js +343 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-agent-tools.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-face-bridge.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/sidebar-face-bridge.js +66 -6
- package/node_modules/@xrkseek/server-host/dist/sidebar-face-bridge.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts +11 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js +188 -12
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/ssh-directory-backend.d.ts +35 -0
- package/node_modules/@xrkseek/server-host/dist/ssh-directory-backend.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/ssh-directory-backend.js +86 -0
- package/node_modules/@xrkseek/server-host/dist/ssh-directory-backend.js.map +1 -0
- package/node_modules/@xrkseek/server-host/package.json +3 -0
- package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts +6 -2
- package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/boot-inject.js +6 -1
- package/node_modules/@xrkseek/server-http/dist/boot-inject.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js +4 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts +1 -3
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-classifier.d.ts +36 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-classifier.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-classifier.js +102 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-classifier.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts +5 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js +43 -17
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js +23 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js +16 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-boot.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-boot.js +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-boot.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts +4 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js +33 -6
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js +0 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-browser-runtime.d.ts +13 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-browser-runtime.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-browser-runtime.js +254 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-browser-runtime.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-npm-bridge.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-npm-bridge.js +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-npm-bridge.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js +4 -5
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts +9 -11
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js +19 -47
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js +3 -15
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-local-ws.d.ts +15 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-local-ws.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-local-ws.js +165 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-local-ws.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-sidecar.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-sidecar.js +11 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-sidecar.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-long-lived-gateway.d.ts +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-long-lived-gateway.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-long-lived-gateway.js +23 -33
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-long-lived-gateway.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts +9 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js +36 -4
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-vendors.d.ts +4 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-vendors.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-vendors.js +13 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-vendors.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts +4 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js +3 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js +12 -8
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-engine.d.ts +40 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-engine.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-engine.js +139 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-engine.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js +4 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js +137 -27
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js +4 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-python-bridge.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-python-bridge.js +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-python-bridge.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts +3 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js +45 -15
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.d.ts +1 -4
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.js +3 -23
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js +14 -4
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire-normalize.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire-normalize.js +4 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire-normalize.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/host-policy-error.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/host-policy-error.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/host-policy-error.js +19 -0
- package/node_modules/@xrkseek/server-http/dist/host-policy-error.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/host-wire.js +18 -0
- package/node_modules/@xrkseek/server-http/dist/host-wire.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/index.d.ts +3 -3
- package/node_modules/@xrkseek/server-http/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/index.js +3 -3
- package/node_modules/@xrkseek/server-http/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/index.d.ts +5 -2
- package/node_modules/@xrkseek/server-http/dist/sidebar/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/index.js +4 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/index.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/office-to-pdf.d.ts +23 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/office-to-pdf.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/office-to-pdf.js +103 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/office-to-pdf.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-adapter.d.ts +26 -4
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-adapter.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-adapter.js +158 -11
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-adapter.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-browser.d.ts +5 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-browser.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-browser.js +0 -4
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-browser.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-face-bridge.d.ts +45 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-face-bridge.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-git.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-git.js +2 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-git.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-html.d.ts +4 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-html.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-html.js +24 -2
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-html.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-policy.d.ts +41 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-policy.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-policy.js +60 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-policy.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-prefs-store.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-prefs-store.js +1 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-prefs-store.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts +0 -6
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js +1 -10
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts +0 -11
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js +8 -4
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js +2 -8
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js.map +1 -1
- package/node_modules/@xrkseek/server-http/package.json +42 -40
- package/node_modules/@xrkseek/server-loader/dist/hooks.d.ts +32 -0
- package/node_modules/@xrkseek/server-loader/dist/hooks.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/hooks.js +70 -0
- package/node_modules/@xrkseek/server-loader/dist/hooks.js.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/index.d.ts +19 -4
- package/node_modules/@xrkseek/server-loader/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/index.js +42 -8
- package/node_modules/@xrkseek/server-loader/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts +5 -2
- package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/kinds.js +6 -1
- package/node_modules/@xrkseek/server-loader/dist/kinds.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/lifecycle-webhooks.d.ts +63 -0
- package/node_modules/@xrkseek/server-loader/dist/lifecycle-webhooks.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/lifecycle-webhooks.js +185 -0
- package/node_modules/@xrkseek/server-loader/dist/lifecycle-webhooks.js.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/load-failures.d.ts +54 -0
- package/node_modules/@xrkseek/server-loader/dist/load-failures.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/load-failures.js +50 -0
- package/node_modules/@xrkseek/server-loader/dist/load-failures.js.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/load.d.ts +1 -1
- package/node_modules/@xrkseek/server-loader/dist/load.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/load.js +33 -7
- package/node_modules/@xrkseek/server-loader/dist/load.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/managed-state.d.ts +9 -2
- package/node_modules/@xrkseek/server-loader/dist/managed-state.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/managed-state.js +27 -4
- package/node_modules/@xrkseek/server-loader/dist/managed-state.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/manifest.d.ts +5 -0
- package/node_modules/@xrkseek/server-loader/dist/manifest.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/manifest.js +3 -3
- package/node_modules/@xrkseek/server-loader/dist/manifest.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/policy.d.ts +13 -4
- package/node_modules/@xrkseek/server-loader/dist/policy.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/policy.js +21 -3
- package/node_modules/@xrkseek/server-loader/dist/policy.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/shell-hooks.d.ts +49 -0
- package/node_modules/@xrkseek/server-loader/dist/shell-hooks.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/shell-hooks.js +248 -0
- package/node_modules/@xrkseek/server-loader/dist/shell-hooks.js.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/startup-audit.d.ts +46 -0
- package/node_modules/@xrkseek/server-loader/dist/startup-audit.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/startup-audit.js +121 -0
- package/node_modules/@xrkseek/server-loader/dist/startup-audit.js.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/types.d.ts +25 -1
- package/node_modules/@xrkseek/server-loader/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/session-projection/dist/index.d.ts +1 -3
- package/node_modules/@xrkseek/session-projection/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/session-projection/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/session-telemetry/README.md +11 -0
- package/node_modules/@xrkseek/session-telemetry/dist/index.d.ts +28 -0
- package/node_modules/@xrkseek/session-telemetry/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/index.js +80 -0
- package/node_modules/@xrkseek/session-telemetry/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/memory.d.ts +11 -0
- package/node_modules/@xrkseek/session-telemetry/dist/memory.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/memory.js +18 -0
- package/node_modules/@xrkseek/session-telemetry/dist/memory.js.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/otlp-http.d.ts +26 -0
- package/node_modules/@xrkseek/session-telemetry/dist/otlp-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/otlp-http.js +161 -0
- package/node_modules/@xrkseek/session-telemetry/dist/otlp-http.js.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/record.d.ts +8 -0
- package/node_modules/@xrkseek/session-telemetry/dist/record.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/record.js +54 -0
- package/node_modules/@xrkseek/session-telemetry/dist/record.js.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/types.d.ts +33 -0
- package/node_modules/@xrkseek/session-telemetry/dist/types.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/types.js +13 -0
- package/node_modules/@xrkseek/session-telemetry/dist/types.js.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.d.ts +14 -0
- package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.js +52 -0
- package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.js.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/package.json +27 -0
- package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.js +2 -1
- package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/index.d.ts +3 -1
- package/node_modules/@xrkseek/workspace/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/index.js +3 -1
- package/node_modules/@xrkseek/workspace/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.d.ts +2 -1
- package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.js +9 -4
- package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/inject-sources.d.ts +15 -2
- package/node_modules/@xrkseek/workspace/dist/inject-sources.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/inject-sources.js +23 -5
- package/node_modules/@xrkseek/workspace/dist/inject-sources.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skill-dirs.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skill-dirs.js +3 -1
- package/node_modules/@xrkseek/workspace/dist/skill-dirs.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skill-install.d.ts +61 -0
- package/node_modules/@xrkseek/workspace/dist/skill-install.d.ts.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/skill-install.js +346 -0
- package/node_modules/@xrkseek/workspace/dist/skill-install.js.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/tool-output-persist.d.ts +1 -5
- package/node_modules/@xrkseek/workspace/dist/tool-output-persist.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/tool-output-persist.js +10 -22
- package/node_modules/@xrkseek/workspace/dist/tool-output-persist.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/user-product-home.d.ts +18 -0
- package/node_modules/@xrkseek/workspace/dist/user-product-home.d.ts.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/user-product-home.js +45 -0
- package/node_modules/@xrkseek/workspace/dist/user-product-home.js.map +1 -0
- package/node_modules/@xrkseek/workspace/package.json +28 -27
- package/node_modules/@xrkseek/xrk-home-paths/README.md +4 -0
- package/node_modules/@xrkseek/xrk-home-paths/dist/index.d.ts +44 -0
- package/node_modules/@xrkseek/xrk-home-paths/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/xrk-home-paths/dist/index.js +83 -0
- package/node_modules/@xrkseek/xrk-home-paths/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/xrk-home-paths/dist/spill-budget.d.ts +22 -0
- package/node_modules/@xrkseek/xrk-home-paths/dist/spill-budget.d.ts.map +1 -0
- package/node_modules/@xrkseek/xrk-home-paths/dist/spill-budget.js +139 -0
- package/node_modules/@xrkseek/xrk-home-paths/dist/spill-budget.js.map +1 -0
- package/node_modules/@xrkseek/xrk-home-paths/package.json +24 -0
- package/node_modules/@xrkseek/xrk-session-reference/dist/prepare-face.d.ts +0 -1
- package/node_modules/@xrkseek/xrk-session-reference/dist/prepare-face.d.ts.map +1 -1
- package/node_modules/@xrkseek/xrk-session-reference/dist/prepare-face.js +0 -1
- package/node_modules/@xrkseek/xrk-session-reference/dist/prepare-face.js.map +1 -1
- package/node_modules/@xrkseek/xrk-session-reference/dist/spill.d.ts +3 -2
- package/node_modules/@xrkseek/xrk-session-reference/dist/spill.d.ts.map +1 -1
- package/node_modules/@xrkseek/xrk-session-reference/dist/spill.js +11 -21
- package/node_modules/@xrkseek/xrk-session-reference/dist/spill.js.map +1 -1
- package/node_modules/@xrkseek/xrk-session-reference/package.json +56 -55
- package/node_modules/smol-toml/LICENSE +24 -0
- package/node_modules/smol-toml/README.md +418 -0
- package/node_modules/smol-toml/dist/date.d.ts +41 -0
- package/node_modules/smol-toml/dist/date.js +127 -0
- package/node_modules/smol-toml/dist/error.d.ts +38 -0
- package/node_modules/smol-toml/dist/error.js +63 -0
- package/node_modules/smol-toml/dist/extract.js +69 -0
- package/node_modules/smol-toml/dist/index.cjs +734 -0
- package/node_modules/smol-toml/dist/index.d.ts +43 -0
- package/node_modules/smol-toml/dist/index.js +33 -0
- package/node_modules/smol-toml/dist/parse.d.ts +36 -0
- package/node_modules/smol-toml/dist/parse.js +149 -0
- package/node_modules/smol-toml/dist/primitive.js +238 -0
- package/node_modules/smol-toml/dist/stringify.d.ts +31 -0
- package/node_modules/smol-toml/dist/stringify.js +181 -0
- package/node_modules/smol-toml/dist/struct.js +179 -0
- package/node_modules/smol-toml/dist/util.d.ts +38 -0
- package/node_modules/smol-toml/dist/util.js +89 -0
- package/node_modules/smol-toml/package.json +68 -0
- package/package.json +21 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File-backed `settings.yaml` + `.credentials.yaml` for CLI / Face (DSH-shaped).
|
|
3
3
|
*/
|
|
4
4
|
import { readFileSync } from "node:fs";
|
|
5
|
-
import { access, constants, mkdir,
|
|
5
|
+
import { access, constants, mkdir, writeFile, } from "node:fs/promises";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import yaml from "js-yaml";
|
|
8
8
|
import { resolveXrkHome } from "@xrkseek/server-config";
|
|
@@ -11,7 +11,9 @@ import { FACE_AGENT_PRESET_IDS, canonicalAgentPresetId } from "./presets-catalog
|
|
|
11
11
|
import { isFacePermissionPreset, validateFaceFontSize, } from "./face-schema.js";
|
|
12
12
|
import { listSettingsProviderCredentialRefs, providerApiKeyEnv, } from "./llm-provider-context.js";
|
|
13
13
|
import { mergeLayers } from "./settings-layers.js";
|
|
14
|
+
import { ConfigParseError, classifyConfigDoc, isEnoent, keepLastGoodMessage, refuseOverwriteDetail, } from "./last-good-config.js";
|
|
14
15
|
export { mergeLayers } from "./settings-layers.js";
|
|
16
|
+
export { ConfigParseError } from "./last-good-config.js";
|
|
15
17
|
/** Harness home: explicit `productDir` (tests isolate settings/workspaces), else `XRK_HOME` / `~/.xrk`.
|
|
16
18
|
* Not the workspace product tree — that is always `{workspaceRoot}/.xrk` via `resolveProductDir`.
|
|
17
19
|
*/
|
|
@@ -26,18 +28,61 @@ export function settingsYamlPath(runtime) {
|
|
|
26
28
|
export function credentialsYamlPath(runtime) {
|
|
27
29
|
return path.join(resolveHarnessHome(runtime), ".credentials.yaml");
|
|
28
30
|
}
|
|
29
|
-
|
|
31
|
+
/** Last successfully parsed `settings.yaml` docs (keyed by abs path). */
|
|
32
|
+
const lastGoodSettingsYamlByFile = new Map();
|
|
33
|
+
/** Last successfully parsed `.credentials.yaml` docs (keyed by abs path). */
|
|
34
|
+
const lastGoodCredentialsYamlByFile = new Map();
|
|
35
|
+
/** Test helper — clear last-good caches between isolated productDir cases. */
|
|
36
|
+
export function resetLastGoodConfigCaches() {
|
|
37
|
+
lastGoodSettingsYamlByFile.clear();
|
|
38
|
+
lastGoodCredentialsYamlByFile.clear();
|
|
39
|
+
}
|
|
40
|
+
function loadYamlDocument(file, lastGood) {
|
|
41
|
+
let raw;
|
|
30
42
|
try {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
43
|
+
raw = readFileSync(file, "utf8").replace(/^\uFEFF/, "");
|
|
44
|
+
}
|
|
45
|
+
catch (err) {
|
|
46
|
+
if (isEnoent(err)) {
|
|
47
|
+
// Absence is empty — not "keep last good" (that applies to corrupt reload).
|
|
48
|
+
return { status: "missing", doc: {} };
|
|
35
49
|
}
|
|
50
|
+
return {
|
|
51
|
+
status: "invalid",
|
|
52
|
+
error: err instanceof Error ? err.message : String(err),
|
|
53
|
+
doc: lastGood ? structuredClone(lastGood) : {},
|
|
54
|
+
};
|
|
36
55
|
}
|
|
37
|
-
|
|
38
|
-
|
|
56
|
+
try {
|
|
57
|
+
return classifyConfigDoc(yaml.load(raw), lastGood);
|
|
58
|
+
}
|
|
59
|
+
catch (err) {
|
|
60
|
+
return {
|
|
61
|
+
status: "invalid",
|
|
62
|
+
error: err instanceof Error ? err.message : String(err),
|
|
63
|
+
doc: lastGood ? structuredClone(lastGood) : {},
|
|
64
|
+
};
|
|
39
65
|
}
|
|
40
|
-
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Read YAML mapping. Missing → empty. Invalid → warn + last good for this file
|
|
69
|
+
* (never silently pretend the file was empty for overwrite).
|
|
70
|
+
*/
|
|
71
|
+
function loadYamlFile(file, kind) {
|
|
72
|
+
const key = path.resolve(file);
|
|
73
|
+
const cache = kind === "settings"
|
|
74
|
+
? lastGoodSettingsYamlByFile
|
|
75
|
+
: lastGoodCredentialsYamlByFile;
|
|
76
|
+
const lastGood = cache.get(key);
|
|
77
|
+
const loaded = loadYamlDocument(file, lastGood);
|
|
78
|
+
if (loaded.status === "ok") {
|
|
79
|
+
cache.set(key, structuredClone(loaded.doc));
|
|
80
|
+
return loaded.doc;
|
|
81
|
+
}
|
|
82
|
+
if (loaded.status === "invalid") {
|
|
83
|
+
console.warn(keepLastGoodMessage(file, loaded.error));
|
|
84
|
+
}
|
|
85
|
+
return loaded.doc;
|
|
41
86
|
}
|
|
42
87
|
async function fileExists(target) {
|
|
43
88
|
try {
|
|
@@ -59,8 +104,12 @@ export function resolveDefaultAgentPreset(runtime) {
|
|
|
59
104
|
return canonicalAgentPresetId(runtime.defaultAgentPreset ?? "minimal");
|
|
60
105
|
}
|
|
61
106
|
export function hydrateFaceSettingsDocument(runtime) {
|
|
62
|
-
const doc = loadYamlFile(settingsYamlPath(runtime));
|
|
107
|
+
const doc = loadYamlFile(settingsYamlPath(runtime), "settings");
|
|
63
108
|
for (const spec of FACE_PRODUCT_SETTINGS_NAMESPACES) {
|
|
109
|
+
// MCP SoT is `host-settings.json` (hydrateFaceHostSettings / persistHostSettings).
|
|
110
|
+
// Skipping yaml here avoids dual-source Face vs Host boot (Host never reads yaml).
|
|
111
|
+
if (spec.ns === "mcp")
|
|
112
|
+
continue;
|
|
64
113
|
const section = doc[spec.ns] &&
|
|
65
114
|
typeof doc[spec.ns] === "object" &&
|
|
66
115
|
!Array.isArray(doc[spec.ns])
|
|
@@ -88,7 +137,7 @@ function applyUiFromSettings(runtime) {
|
|
|
88
137
|
}
|
|
89
138
|
}
|
|
90
139
|
export function loadCredentialsFile(runtime) {
|
|
91
|
-
const doc = loadYamlFile(credentialsYamlPath(runtime));
|
|
140
|
+
const doc = loadYamlFile(credentialsYamlPath(runtime), "credentials");
|
|
92
141
|
for (const [ref, value] of Object.entries(doc)) {
|
|
93
142
|
if (typeof value !== "string" || !value.trim())
|
|
94
143
|
continue;
|
|
@@ -132,19 +181,18 @@ function credentialRefForSlot(runtime, slotId) {
|
|
|
132
181
|
}
|
|
133
182
|
export async function persistCredentialsFile(runtime) {
|
|
134
183
|
const file = credentialsYamlPath(runtime);
|
|
184
|
+
const key = path.resolve(file);
|
|
135
185
|
await mkdir(path.dirname(file), { recursive: true });
|
|
136
|
-
|
|
137
|
-
if (
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
catch {
|
|
145
|
-
previous = {};
|
|
146
|
-
}
|
|
186
|
+
const loaded = loadYamlDocument(file, lastGoodCredentialsYamlByFile.get(key));
|
|
187
|
+
if (loaded.status === "invalid") {
|
|
188
|
+
throw new ConfigParseError(file, refuseOverwriteDetail(loaded.error));
|
|
189
|
+
}
|
|
190
|
+
if (loaded.status === "ok") {
|
|
191
|
+
lastGoodCredentialsYamlByFile.set(key, structuredClone(loaded.doc));
|
|
147
192
|
}
|
|
193
|
+
const previous = loaded.status === "missing"
|
|
194
|
+
? {}
|
|
195
|
+
: structuredClone(loaded.doc);
|
|
148
196
|
const next = { ...previous };
|
|
149
197
|
for (const slot of runtime.credentials.listPersistedSlots()) {
|
|
150
198
|
const ref = credentialRefForSlot(runtime, slot.slotId);
|
|
@@ -156,11 +204,23 @@ export async function persistCredentialsFile(runtime) {
|
|
|
156
204
|
next[ref] = slot.value;
|
|
157
205
|
}
|
|
158
206
|
await writeFile(file, yaml.dump(next, { lineWidth: 120 }), "utf8");
|
|
207
|
+
lastGoodCredentialsYamlByFile.set(key, structuredClone(next));
|
|
159
208
|
}
|
|
160
209
|
export async function persistSettingsDocument(runtime, namespaces) {
|
|
161
210
|
const file = settingsYamlPath(runtime);
|
|
211
|
+
const key = path.resolve(file);
|
|
162
212
|
await mkdir(path.dirname(file), { recursive: true });
|
|
163
|
-
const
|
|
213
|
+
const loaded = loadYamlDocument(file, lastGoodSettingsYamlByFile.get(key));
|
|
214
|
+
if (loaded.status === "invalid") {
|
|
215
|
+
// DSH: unparsable on-disk document fails the write loud — do not wipe.
|
|
216
|
+
throw new ConfigParseError(file, refuseOverwriteDetail(loaded.error));
|
|
217
|
+
}
|
|
218
|
+
if (loaded.status === "ok") {
|
|
219
|
+
lastGoodSettingsYamlByFile.set(key, structuredClone(loaded.doc));
|
|
220
|
+
}
|
|
221
|
+
const previous = loaded.status === "missing"
|
|
222
|
+
? {}
|
|
223
|
+
: structuredClone(loaded.doc);
|
|
164
224
|
for (const spec of FACE_PRODUCT_SETTINGS_NAMESPACES) {
|
|
165
225
|
if (spec.ns === "mcp")
|
|
166
226
|
continue;
|
|
@@ -173,6 +233,7 @@ export async function persistSettingsDocument(runtime, namespaces) {
|
|
|
173
233
|
}
|
|
174
234
|
}
|
|
175
235
|
await writeFile(file, yaml.dump(previous, { lineWidth: 120 }), "utf8");
|
|
236
|
+
lastGoodSettingsYamlByFile.set(key, structuredClone(previous));
|
|
176
237
|
}
|
|
177
238
|
export async function ensureSettingsDocument(runtime) {
|
|
178
239
|
const file = settingsYamlPath(runtime);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-document.js","sourceRoot":"","sources":["../src/settings-document.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EACL,MAAM,EACN,SAAS,EACT,KAAK,EACL,QAAQ,EACR,SA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;IACD,IAAI,EAAE,KAAK,UAAU,EAAE,CAAC;QACtB,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC;QAC/B,IACE,IAAI,KAAK,SAAS;YAClB,IAAI,KAAK,QAAQ;YACjB,IAAI,KAAK,OAAO;YAChB,IAAI,KAAK,MAAM,EACf,CAAC;YACD,OAAO,6BAA6B,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;QACrD,CAAC;QACD,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QACjC,MAAM,OAAO,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;QAC/C,IAAI,OAAO;YAAE,OAAO,OAAO,CAAC;IAC9B,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
1
|
+
{"version":3,"file":"settings-document.js","sourceRoot":"","sources":["../src/settings-document.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EACL,MAAM,EACN,SAAS,EACT,KAAK,EACL,SAAS,GACV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EACL,gCAAgC,EAChC,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AACrF,OAAO,EACL,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,kCAAkC,EAClC,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,QAAQ,EACR,mBAAmB,EACnB,qBAAqB,GAEtB,MAAM,uB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ACD,OAAO,6BAA6B,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;QACrD,CAAC;QACD,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QACjC,MAAM,OAAO,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;QAC/C,IAAI,OAAO;YAAE,OAAO,OAAO,CAAC;IAC9B,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-schemas.d.ts","sourceRoot":"","sources":["../src/settings-schemas.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAoB3D,eAAO,MAAM,uBAAuB,EAAE,aAAa,CAAC;IAClD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,eAAe,EAAE,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,CAAC;CACnD,CAiCA,CAAC;
|
|
1
|
+
{"version":3,"file":"settings-schemas.d.ts","sourceRoot":"","sources":["../src/settings-schemas.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAoB3D,eAAO,MAAM,uBAAuB,EAAE,aAAa,CAAC;IAClD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,eAAe,EAAE,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,CAAC;CACnD,CAiCA,CAAC;AAqIF,eAAO,MAAM,kCAAkC,QAAS,CAAC;AA+BzD,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,kBAAkB,GAAG,UAAU,CAAC,CAAC,OAAO,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AAQD,eAAO,MAAM,gCAAgC,EAAE,SAAS,yBAAyB,EAsG9E,CAAC;AAEJ,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,yBAAyB,GAC9B,kBAAkB,GAAG,OAAO,CAE9B"}
|
|
@@ -145,6 +145,15 @@ const AgentLoopConfig = Schema.object({
|
|
|
145
145
|
* `0` disables spill (not recommended). Default 64_000.
|
|
146
146
|
*/
|
|
147
147
|
toolResultMaxInlineBytes: Schema.number().step(1_000).min(0).default(64_000),
|
|
148
|
+
/**
|
|
149
|
+
* Max subagent nesting depth (parent=0). Hermes-style tighter default than
|
|
150
|
+
* historical 3. Badge ceilings (e.g. Shallow=1) still apply via min().
|
|
151
|
+
*/
|
|
152
|
+
maxSubagentDepth: Schema.number().step(1).min(1).max(3).default(2),
|
|
153
|
+
/**
|
|
154
|
+
* Max concurrently draining direct children under one parent.
|
|
155
|
+
*/
|
|
156
|
+
maxActiveSubagents: Schema.number().step(1).min(1).max(16).default(2),
|
|
148
157
|
});
|
|
149
158
|
const WebSearchConfig = Schema.object({
|
|
150
159
|
provider: Schema.union([
|
|
@@ -258,6 +267,8 @@ export const FACE_PRODUCT_SETTINGS_NAMESPACES = [
|
|
|
258
267
|
keepTokens: 24_000,
|
|
259
268
|
bufferTokens: 4_000,
|
|
260
269
|
toolResultMaxInlineBytes: 64_000,
|
|
270
|
+
maxSubagentDepth: 2,
|
|
271
|
+
maxActiveSubagents: 2,
|
|
261
272
|
},
|
|
262
273
|
applies: "live",
|
|
263
274
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-schemas.js","sourceRoot":"","sources":["../src/settings-schemas.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAE1C,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,iFAAiF;AACjF,MAAM,eAAe,GAAG;IACtB,aAAa;IACb,oBAAoB;IACpB,kBAAkB;IAClB,oBAAoB;IACpB,iBAAiB;CACT,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAO/B;IACH;QACE,EAAE,EAAE,gBAAgB;QACpB,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,EAAE;QACf,aAAa,EAAE,SAAS;QACxB,SAAS,EAAE,OAAO;QAClB,eAAe,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;KACnC;IACD;QACE,EAAE,EAAE,mBAAmB;QACvB,IAAI,EAAE,mBAAmB;QACzB,WAAW,EAAE,EAAE;QACf,aAAa,EAAE,SAAS;QACxB,SAAS,EAAE,OAAO;QAClB,eAAe,EAAE,CAAC,MAAM,CAAC;KAC1B;IACD;QACE,EAAE,EAAE,iBAAiB;QACrB,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE,EAAE;QACf,aAAa,EAAE,SAAS;QACxB,SAAS,EAAE,OAAO;QAClB,eAAe,EAAE,CAAC,MAAM,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AChB;IACD;QACE,EAAE,EAAE,iBAAiB;QACrB,MAAM,EAAE,eAAe,CAAC,oBAAoB,CAAuB;QACnE,IAAI,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE;QAC5B,OAAO,EAAE,MAAM;KAChB;IACD;QACE,EAAE,EAAE,KAAK;QACT,MAAM,EAAE,eAAe;QACvB,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE;QAC1C,OAAO,EAAE,MAAM;KAChB;CACF,CAAC;AAEJ,MAAM,UAAU,gBAAgB,CAC9B,IAA+B;IAE/B,OAAO,IAAI,CAAC,MAAM,CAAC;AACrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type SubagentMode = "one-shot" | "continuable";
|
|
1
|
+
export type SubagentMode = "one-shot" | "continuable" | "fork";
|
|
2
2
|
export interface FaceSubagentLink {
|
|
3
3
|
readonly parentSessionId: string;
|
|
4
4
|
readonly childSessionId: string;
|
|
@@ -10,14 +10,21 @@ export interface FaceSubagentLink {
|
|
|
10
10
|
* Does not invent session events.
|
|
11
11
|
*/
|
|
12
12
|
export declare class FaceSubagentRegistry {
|
|
13
|
+
private readonly hooks?;
|
|
13
14
|
private readonly byParent;
|
|
14
15
|
private readonly byChild;
|
|
15
16
|
private readonly persistPath;
|
|
16
|
-
constructor(persistPath?: string
|
|
17
|
+
constructor(persistPath?: string, hooks?: {
|
|
18
|
+
onAttach?: (link: FaceSubagentLink) => void;
|
|
19
|
+
} | undefined);
|
|
17
20
|
getByChild(childSessionId: string): FaceSubagentLink | undefined;
|
|
18
21
|
get(parentSessionId: string, childSessionId: string): FaceSubagentLink | undefined;
|
|
19
22
|
list(parentSessionId: string): readonly FaceSubagentLink[];
|
|
23
|
+
entries(): readonly FaceSubagentLink[];
|
|
24
|
+
/** Tool-delegated children only (excludes UI/rewind `fork` lineage). */
|
|
25
|
+
listDelegated(parentSessionId: string): readonly FaceSubagentLink[];
|
|
20
26
|
hasChildren(sessionId: string): boolean;
|
|
27
|
+
hasDelegatedChildren(sessionId: string): boolean;
|
|
21
28
|
attach(link: FaceSubagentLink): FaceSubagentLink;
|
|
22
29
|
private load;
|
|
23
30
|
private save;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subagent-registry.d.ts","sourceRoot":"","sources":["../src/subagent-registry.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"subagent-registry.d.ts","sourceRoot":"","sources":["../src/subagent-registry.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,aAAa,GAAG,MAAM,CAAC;AAE/D,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAMD;;;GAGG;AACH,qBAAa,oBAAoB;IAO7B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC;IANzB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAyC;IAClE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuC;IAC/D,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAqB;gBAG/C,WAAW,CAAC,EAAE,MAAM,EACH,KAAK,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAA;KAAE,YAAA;IAM1E,UAAU,CAAC,cAAc,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS;IAIhE,GAAG,CACD,eAAe,EAAE,MAAM,EACvB,cAAc,EAAE,MAAM,GACrB,gBAAgB,GAAG,SAAS;IAM/B,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,gBAAgB,EAAE;IAI1D,OAAO,IAAI,SAAS,gBAAgB,EAAE;IAItC,wEAAwE;IACxE,aAAa,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,gBAAgB,EAAE;IAInE,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO;IAIvC,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO;IAIhD,MAAM,CAAC,IAAI,EAAE,gBAAgB,GAAG,gBAAgB;IAyBhD,OAAO,CAAC,IAAI;IAoCZ,OAAO,CAAC,IAAI;CAKb"}
|
|
@@ -5,10 +5,12 @@ import { tryWriteJsonSidecar } from "./json-sidecar.js";
|
|
|
5
5
|
* Does not invent session events.
|
|
6
6
|
*/
|
|
7
7
|
export class FaceSubagentRegistry {
|
|
8
|
+
hooks;
|
|
8
9
|
byParent = new Map();
|
|
9
10
|
byChild = new Map();
|
|
10
11
|
persistPath;
|
|
11
|
-
constructor(persistPath) {
|
|
12
|
+
constructor(persistPath, hooks) {
|
|
13
|
+
this.hooks = hooks;
|
|
12
14
|
this.persistPath = persistPath;
|
|
13
15
|
if (persistPath)
|
|
14
16
|
this.load();
|
|
@@ -25,9 +27,19 @@ export class FaceSubagentRegistry {
|
|
|
25
27
|
list(parentSessionId) {
|
|
26
28
|
return this.byParent.get(parentSessionId) ?? [];
|
|
27
29
|
}
|
|
30
|
+
entries() {
|
|
31
|
+
return [...this.byChild.values()];
|
|
32
|
+
}
|
|
33
|
+
/** Tool-delegated children only (excludes UI/rewind `fork` lineage). */
|
|
34
|
+
listDelegated(parentSessionId) {
|
|
35
|
+
return this.list(parentSessionId).filter((link) => link.mode !== "fork");
|
|
36
|
+
}
|
|
28
37
|
hasChildren(sessionId) {
|
|
29
38
|
return (this.byParent.get(sessionId)?.length ?? 0) > 0;
|
|
30
39
|
}
|
|
40
|
+
hasDelegatedChildren(sessionId) {
|
|
41
|
+
return this.listDelegated(sessionId).length > 0;
|
|
42
|
+
}
|
|
31
43
|
attach(link) {
|
|
32
44
|
const existing = this.byChild.get(link.childSessionId);
|
|
33
45
|
if (existing) {
|
|
@@ -47,6 +59,7 @@ export class FaceSubagentRegistry {
|
|
|
47
59
|
this.byParent.set(link.parentSessionId, bucket);
|
|
48
60
|
this.byChild.set(link.childSessionId, frozen);
|
|
49
61
|
this.save();
|
|
62
|
+
this.hooks?.onAttach?.(frozen);
|
|
50
63
|
return frozen;
|
|
51
64
|
}
|
|
52
65
|
load() {
|
|
@@ -62,8 +75,13 @@ export class FaceSubagentRegistry {
|
|
|
62
75
|
continue;
|
|
63
76
|
const parentSessionId = String(row.parentSessionId ?? "").trim();
|
|
64
77
|
const childSessionId = String(row.childSessionId ?? "").trim();
|
|
65
|
-
const mode = row.mode === "one-shot"
|
|
66
|
-
|
|
78
|
+
const mode = row.mode === "one-shot"
|
|
79
|
+
? "one-shot"
|
|
80
|
+
: row.mode === "fork"
|
|
81
|
+
? "fork"
|
|
82
|
+
: "continuable";
|
|
83
|
+
const label = String(row.label ?? "").trim() ||
|
|
84
|
+
(mode === "fork" ? "fork" : "subagent");
|
|
67
85
|
if (!parentSessionId || !childSessionId)
|
|
68
86
|
continue;
|
|
69
87
|
const frozen = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subagent-registry.js","sourceRoot":"","sources":["../src/subagent-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAexD;;;GAGG;AACH,MAAM,OAAO,oBAAoB;
|
|
1
|
+
{"version":3,"file":"subagent-registry.js","sourceRoot":"","sources":["../src/subagent-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAexD;;;GAGG;AACH,MAAM,OAAO,oBAAoB;IAOZ;IANF,QAAQ,GAAG,IAAI,GAAG,EAA8B,CAAC;IACjD,OAAO,G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QAClD,CAAC;IACH,CAAC;IAEO,IAAI;QACV,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC;QAC9B,IAAI,CAAC,IAAI;YAAE,OAAO;QAClB,mBAAmB,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;IACnE,CAAC;CACF"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { ToolRegistry } from "@xrkseek/core-tools";
|
|
2
2
|
import { SUBAGENT_ROUTING_PROMPT_TEXT } from "@xrkseek/core-tools";
|
|
3
3
|
import type { FaceRuntime } from "./context.js";
|
|
4
|
-
import { DEFAULT_MAX_ACTIVE_CHILDREN } from "./presets-catalog.js";
|
|
5
|
-
|
|
4
|
+
import { DEFAULT_MAX_ACTIVE_CHILDREN, DEFAULT_MAX_DEPTH } from "./presets-catalog.js";
|
|
5
|
+
import { type ExternalSpawn } from "./external-agent-runtime.js";
|
|
6
|
+
export { SUBAGENT_ROUTING_PROMPT_TEXT, DEFAULT_MAX_ACTIVE_CHILDREN, DEFAULT_MAX_DEPTH };
|
|
7
|
+
export { parseExternalAgentKind, runExternalAgentTurn, resolveExternalAgentLaunch, ExternalAgentError, type ExternalAgentKind, type ExternalSpawn, type RunExternalAgentOptions, } from "./external-agent-runtime.js";
|
|
6
8
|
export declare function subagentDepth(runtime: FaceRuntime, sessionId: string): number;
|
|
7
9
|
export interface BindSubagentToolsOptions {
|
|
8
10
|
readonly runtime: FaceRuntime;
|
|
@@ -13,6 +15,10 @@ export interface BindSubagentToolsOptions {
|
|
|
13
15
|
* Omit → {@link DEFAULT_MAX_ACTIVE_CHILDREN} (4).
|
|
14
16
|
*/
|
|
15
17
|
readonly maxActiveChildren?: number;
|
|
18
|
+
/** Override spawn for external runtimes (tests). */
|
|
19
|
+
readonly externalSpawn?: ExternalSpawn;
|
|
20
|
+
/** Override env for external launch resolution (tests). */
|
|
21
|
+
readonly externalEnv?: NodeJS.ProcessEnv;
|
|
16
22
|
}
|
|
17
23
|
/** Register model-facing subagent tools on a live Agent tool registry. */
|
|
18
24
|
export declare function bindSubagentTools(tools: ToolRegistry, options: BindSubagentToolsOptions): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subagent-tools.d.ts","sourceRoot":"","sources":["../src/subagent-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"subagent-tools.d.ts","sourceRoot":"","sources":["../src/subagent-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAEnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,OAAO,EAAE,2BAA2B,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEtF,OAAO,EAIL,KAAK,aAAa,EACnB,MAAM,6BAA6B,CAAC;AAarC,OAAO,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,iBAAiB,EAAE,CAAC;AACxF,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,0BAA0B,EAC1B,kBAAkB,EAClB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,uBAAuB,GAC7B,MAAM,6BAA6B,CAAC;AAErC,wBAAgB,aAAa,CAC3B,OAAO,EAAE,WAAW,EACpB,SAAS,EAAE,MAAM,GAChB,MAAM,CAWR;AAyBD,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;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