@xrkseek/harness 0.4.0-rc.4 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/checkpoint/README.md +88 -0
- package/node_modules/@xrkseek/checkpoint/dist/index.d.ts +5 -0
- package/node_modules/@xrkseek/checkpoint/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/checkpoint/dist/index.js +5 -0
- package/node_modules/@xrkseek/checkpoint/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/checkpoint/dist/json-file.d.ts +5 -0
- package/node_modules/@xrkseek/checkpoint/dist/json-file.d.ts.map +1 -0
- package/node_modules/@xrkseek/checkpoint/dist/json-file.js +29 -0
- package/node_modules/@xrkseek/checkpoint/dist/json-file.js.map +1 -0
- package/node_modules/@xrkseek/checkpoint/dist/process-git.d.ts +8 -0
- package/node_modules/@xrkseek/checkpoint/dist/process-git.d.ts.map +1 -0
- package/node_modules/@xrkseek/checkpoint/dist/process-git.js +40 -0
- package/node_modules/@xrkseek/checkpoint/dist/process-git.js.map +1 -0
- package/node_modules/@xrkseek/checkpoint/dist/store.d.ts +101 -0
- package/node_modules/@xrkseek/checkpoint/dist/store.d.ts.map +1 -0
- package/node_modules/@xrkseek/checkpoint/dist/store.js +312 -0
- package/node_modules/@xrkseek/checkpoint/dist/store.js.map +1 -0
- package/node_modules/@xrkseek/checkpoint/dist/types.d.ts +65 -0
- package/node_modules/@xrkseek/checkpoint/dist/types.d.ts.map +1 -0
- package/node_modules/@xrkseek/checkpoint/dist/types.js +18 -0
- package/node_modules/@xrkseek/checkpoint/dist/types.js.map +1 -0
- package/node_modules/@xrkseek/checkpoint/package.json +23 -0
- package/node_modules/@xrkseek/code-runtime/README.md +11 -4
- package/node_modules/@xrkseek/code-runtime/dist/index.d.ts +43 -3
- package/node_modules/@xrkseek/code-runtime/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/code-runtime/dist/index.js +209 -7
- package/node_modules/@xrkseek/code-runtime/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/context-fragments/README.md +28 -0
- package/node_modules/@xrkseek/context-fragments/dist/index.d.ts +104 -0
- package/node_modules/@xrkseek/context-fragments/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/context-fragments/dist/index.js +192 -0
- package/node_modules/@xrkseek/context-fragments/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/context-fragments/package.json +27 -0
- package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts +1 -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 +7 -4
- package/node_modules/@xrkseek/core-agent-loop/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/invariant.d.ts +11 -0
- package/node_modules/@xrkseek/core-agent-loop/dist/invariant.d.ts.map +1 -0
- package/node_modules/@xrkseek/core-agent-loop/dist/invariant.js +21 -0
- package/node_modules/@xrkseek/core-agent-loop/dist/invariant.js.map +1 -0
- package/node_modules/@xrkseek/core-agent-loop/dist/tool-result-bound.d.ts +7 -5
- 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 +24 -109
- package/node_modules/@xrkseek/core-agent-loop/dist/tool-result-bound.js.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/package.json +7 -0
- package/node_modules/@xrkseek/core-session/README.md +3 -1
- package/node_modules/@xrkseek/core-session/dist/invariant.d.ts +18 -0
- package/node_modules/@xrkseek/core-session/dist/invariant.d.ts.map +1 -0
- package/node_modules/@xrkseek/core-session/dist/invariant.js +114 -0
- package/node_modules/@xrkseek/core-session/dist/invariant.js.map +1 -0
- package/node_modules/@xrkseek/core-session/dist/session-interchange.d.ts +2 -1
- package/node_modules/@xrkseek/core-session/dist/session-interchange.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/session-interchange.js +6 -1
- package/node_modules/@xrkseek/core-session/dist/session-interchange.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/sqlite-store.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/sqlite-store.js +37 -23
- package/node_modules/@xrkseek/core-session/dist/sqlite-store.js.map +1 -1
- package/node_modules/@xrkseek/core-session/package.json +33 -26
- package/node_modules/@xrkseek/core-system-prompt/README.md +7 -7
- package/node_modules/@xrkseek/core-system-prompt/dist/index.d.ts +1 -1
- package/node_modules/@xrkseek/core-system-prompt/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-system-prompt/dist/index.js +1 -1
- package/node_modules/@xrkseek/core-system-prompt/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-system-prompt/dist/three-layer.d.ts +55 -3
- package/node_modules/@xrkseek/core-system-prompt/dist/three-layer.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-system-prompt/dist/three-layer.js +107 -11
- package/node_modules/@xrkseek/core-system-prompt/dist/three-layer.js.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/guards.d.ts +9 -1
- package/node_modules/@xrkseek/core-tools/dist/guards.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/guards.js +53 -9
- package/node_modules/@xrkseek/core-tools/dist/guards.js.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/index.d.ts +2 -1
- package/node_modules/@xrkseek/core-tools/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/index.js +2 -1
- package/node_modules/@xrkseek/core-tools/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/session-query-prompt.d.ts +5 -0
- package/node_modules/@xrkseek/core-tools/dist/session-query-prompt.d.ts.map +1 -0
- package/node_modules/@xrkseek/core-tools/dist/session-query-prompt.js +12 -0
- package/node_modules/@xrkseek/core-tools/dist/session-query-prompt.js.map +1 -0
- package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.js +6 -2
- package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.js.map +1 -1
- package/node_modules/@xrkseek/exec-computer-use/README.md +1 -1
- package/node_modules/@xrkseek/exec-computer-use/dist/format.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-computer-use/dist/format.js +7 -5
- package/node_modules/@xrkseek/exec-computer-use/dist/format.js.map +1 -1
- package/node_modules/@xrkseek/exec-computer-use/dist/index.d.ts +14 -3
- package/node_modules/@xrkseek/exec-computer-use/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-computer-use/dist/index.js +22 -8
- package/node_modules/@xrkseek/exec-computer-use/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-computer-use/dist/keys.d.ts +10 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/keys.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/keys.js +89 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/keys.js.map +1 -0
- package/node_modules/@xrkseek/exec-computer-use/dist/tools.d.ts +3 -1
- package/node_modules/@xrkseek/exec-computer-use/dist/tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-computer-use/dist/tools.js +12 -8
- package/node_modules/@xrkseek/exec-computer-use/dist/tools.js.map +1 -1
- package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.js +138 -2
- package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.js.map +1 -1
- package/node_modules/@xrkseek/exec-fs/README.md +12 -9
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch-apply.d.ts +32 -0
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch-apply.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch-apply.js +203 -0
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch-apply.js.map +1 -0
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch-parser.d.ts +52 -0
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch-parser.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch-parser.js +260 -0
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch-parser.js.map +1 -0
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch.d.ts +27 -0
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch.js +69 -0
- package/node_modules/@xrkseek/exec-fs/dist/apply-patch.js.map +1 -0
- package/node_modules/@xrkseek/exec-fs/dist/index.d.ts +6 -1
- package/node_modules/@xrkseek/exec-fs/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/index.js +72 -3
- package/node_modules/@xrkseek/exec-fs/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/present.d.ts +4 -0
- package/node_modules/@xrkseek/exec-fs/dist/present.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/present.js +25 -0
- package/node_modules/@xrkseek/exec-fs/dist/present.js.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/routing-prompt.d.ts +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/routing-prompt.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/routing-prompt.js +10 -6
- package/node_modules/@xrkseek/exec-fs/dist/routing-prompt.js.map +1 -1
- package/node_modules/@xrkseek/exec-image-gen/dist/index.d.ts +15 -2
- package/node_modules/@xrkseek/exec-image-gen/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-image-gen/dist/index.js +14 -7
- package/node_modules/@xrkseek/exec-image-gen/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-image-gen/dist/tools.d.ts +6 -1
- package/node_modules/@xrkseek/exec-image-gen/dist/tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-image-gen/dist/tools.js +14 -8
- package/node_modules/@xrkseek/exec-image-gen/dist/tools.js.map +1 -1
- package/node_modules/@xrkseek/exec-memory/README.md +5 -3
- package/node_modules/@xrkseek/exec-memory/dist/http.d.ts +42 -0
- package/node_modules/@xrkseek/exec-memory/dist/http.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/http.js +232 -0
- package/node_modules/@xrkseek/exec-memory/dist/http.js.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/index.d.ts +5 -2
- package/node_modules/@xrkseek/exec-memory/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-memory/dist/index.js +3 -1
- package/node_modules/@xrkseek/exec-memory/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-memory/dist/provider.d.ts +19 -0
- package/node_modules/@xrkseek/exec-memory/dist/provider.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/provider.js +8 -0
- package/node_modules/@xrkseek/exec-memory/dist/provider.js.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/resolve.d.ts +25 -0
- package/node_modules/@xrkseek/exec-memory/dist/resolve.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/resolve.js +46 -0
- package/node_modules/@xrkseek/exec-memory/dist/resolve.js.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/store.d.ts +8 -4
- package/node_modules/@xrkseek/exec-memory/dist/store.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-memory/dist/store.js +6 -0
- package/node_modules/@xrkseek/exec-memory/dist/store.js.map +1 -1
- package/node_modules/@xrkseek/exec-memory/dist/tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-memory/dist/tools.js +12 -9
- package/node_modules/@xrkseek/exec-memory/dist/tools.js.map +1 -1
- package/node_modules/@xrkseek/exec-memory/dist/write-path.d.ts +17 -6
- package/node_modules/@xrkseek/exec-memory/dist/write-path.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-memory/dist/write-path.js +81 -20
- package/node_modules/@xrkseek/exec-memory/dist/write-path.js.map +1 -1
- package/node_modules/@xrkseek/exec-memory/package.json +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/doctor.d.ts +24 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/doctor.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/doctor.js +118 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/doctor.js.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/hardline.d.ts +24 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/hardline.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/hardline.js +93 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/hardline.js.map +1 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/index.d.ts +3 -1
- package/node_modules/@xrkseek/exec-sandbox/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-sandbox/dist/index.js +3 -1
- package/node_modules/@xrkseek/exec-sandbox/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-sandbox/dist/resolve.d.ts +17 -0
- package/node_modules/@xrkseek/exec-sandbox/dist/resolve.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-sandbox/dist/resolve.js +47 -5
- package/node_modules/@xrkseek/exec-sandbox/dist/resolve.js.map +1 -1
- package/node_modules/@xrkseek/exec-sandbox/dist/service.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-sandbox/dist/service.js +2 -5
- package/node_modules/@xrkseek/exec-sandbox/dist/service.js.map +1 -1
- package/node_modules/@xrkseek/exec-ssh/README.md +16 -16
- package/node_modules/@xrkseek/exec-ssh/dist/config.d.ts +10 -0
- package/node_modules/@xrkseek/exec-ssh/dist/config.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-ssh/dist/config.js +50 -0
- package/node_modules/@xrkseek/exec-ssh/dist/config.js.map +1 -1
- package/node_modules/@xrkseek/exec-ssh/dist/fs.d.ts +1 -1
- package/node_modules/@xrkseek/exec-ssh/dist/fs.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-ssh/dist/fs.js +18 -1
- package/node_modules/@xrkseek/exec-ssh/dist/fs.js.map +1 -1
- package/node_modules/@xrkseek/exec-ssh/dist/index.d.ts +1 -1
- package/node_modules/@xrkseek/exec-ssh/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-ssh/dist/index.js +1 -1
- package/node_modules/@xrkseek/exec-ssh/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-video-gen/dist/index.d.ts +15 -2
- package/node_modules/@xrkseek/exec-video-gen/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-video-gen/dist/index.js +14 -9
- package/node_modules/@xrkseek/exec-video-gen/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-video-gen/dist/tools.d.ts +6 -1
- package/node_modules/@xrkseek/exec-video-gen/dist/tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-video-gen/dist/tools.js +14 -10
- package/node_modules/@xrkseek/exec-video-gen/dist/tools.js.map +1 -1
- package/node_modules/@xrkseek/exec-voice/README.md +25 -25
- package/node_modules/@xrkseek/exec-voice/dist/index.d.ts +16 -3
- package/node_modules/@xrkseek/exec-voice/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-voice/dist/index.js +14 -8
- package/node_modules/@xrkseek/exec-voice/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-voice/dist/readiness.d.ts +26 -0
- package/node_modules/@xrkseek/exec-voice/dist/readiness.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/readiness.js +69 -0
- package/node_modules/@xrkseek/exec-voice/dist/readiness.js.map +1 -0
- package/node_modules/@xrkseek/exec-voice/dist/tools.d.ts +4 -1
- package/node_modules/@xrkseek/exec-voice/dist/tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-voice/dist/tools.js +3 -14
- package/node_modules/@xrkseek/exec-voice/dist/tools.js.map +1 -1
- package/node_modules/@xrkseek/exec-web/README.md +11 -11
- package/node_modules/@xrkseek/exec-web/dist/browser-cdp.d.ts +22 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-cdp.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/browser-cdp.js +32 -1
- package/node_modules/@xrkseek/exec-web/dist/browser-cdp.js.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/browser-runtime-registry.d.ts +21 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-runtime-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-runtime-registry.js +52 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-runtime-registry.js.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-session.d.ts +2 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-session.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/browser-session.js +3 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-session.js.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/browser-tools.d.ts +9 -0
- package/node_modules/@xrkseek/exec-web/dist/browser-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/browser-tools.js +34 -15
- package/node_modules/@xrkseek/exec-web/dist/browser-tools.js.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/fetch-http.d.ts +7 -0
- package/node_modules/@xrkseek/exec-web/dist/fetch-http.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/fetch-http.js +8 -2
- package/node_modules/@xrkseek/exec-web/dist/fetch-http.js.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/format.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/format.js +4 -3
- package/node_modules/@xrkseek/exec-web/dist/format.js.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/index.d.ts +4 -2
- package/node_modules/@xrkseek/exec-web/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/index.js +8 -3
- package/node_modules/@xrkseek/exec-web/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/outbound-allowlist.d.ts +46 -0
- package/node_modules/@xrkseek/exec-web/dist/outbound-allowlist.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/outbound-allowlist.js +144 -0
- package/node_modules/@xrkseek/exec-web/dist/outbound-allowlist.js.map +1 -0
- package/node_modules/@xrkseek/exec-web/dist/url-policy.d.ts +6 -1
- package/node_modules/@xrkseek/exec-web/dist/url-policy.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-web/dist/url-policy.js +5 -2
- package/node_modules/@xrkseek/exec-web/dist/url-policy.js.map +1 -1
- package/node_modules/@xrkseek/im-gateway-contract/README.md +50 -0
- package/node_modules/@xrkseek/im-gateway-contract/dist/index.d.ts +77 -0
- package/node_modules/@xrkseek/im-gateway-contract/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/im-gateway-contract/dist/index.js +120 -0
- package/node_modules/@xrkseek/im-gateway-contract/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/im-gateway-contract/examples/mock-sidecar.mjs +124 -0
- package/node_modules/@xrkseek/im-gateway-contract/package.json +25 -0
- package/node_modules/@xrkseek/mcp/dist/index.d.ts +1 -0
- package/node_modules/@xrkseek/mcp/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/mcp/dist/index.js +1 -0
- package/node_modules/@xrkseek/mcp/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/mcp/dist/oauth-product.d.ts +31 -0
- package/node_modules/@xrkseek/mcp/dist/oauth-product.d.ts.map +1 -0
- package/node_modules/@xrkseek/mcp/dist/oauth-product.js +72 -0
- package/node_modules/@xrkseek/mcp/dist/oauth-product.js.map +1 -0
- package/node_modules/@xrkseek/policy/README.md +18 -15
- package/node_modules/@xrkseek/policy/dist/index.d.ts +1 -0
- package/node_modules/@xrkseek/policy/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/policy/dist/index.js +1 -0
- package/node_modules/@xrkseek/policy/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/policy/dist/permission-pre.d.ts.map +1 -1
- package/node_modules/@xrkseek/policy/dist/permission-pre.js +1 -0
- package/node_modules/@xrkseek/policy/dist/permission-pre.js.map +1 -1
- package/node_modules/@xrkseek/policy/dist/security-guidance.d.ts +50 -0
- package/node_modules/@xrkseek/policy/dist/security-guidance.d.ts.map +1 -0
- package/node_modules/@xrkseek/policy/dist/security-guidance.js +262 -0
- package/node_modules/@xrkseek/policy/dist/security-guidance.js.map +1 -0
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +81 -7
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.js +307 -63
- 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 +53 -52
- package/node_modules/@xrkseek/preset-minimal/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-minimal/dist/preset.js +7 -2
- 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 +19 -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/dist/json-schema.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/json-schema.js +3 -0
- package/node_modules/@xrkseek/protocol/dist/json-schema.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/session-events.d.ts +18 -0
- package/node_modules/@xrkseek/protocol/dist/session-events.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/session-events.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/validate.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/validate.js +30 -0
- package/node_modules/@xrkseek/protocol/dist/validate.js.map +1 -1
- package/node_modules/@xrkseek/runtime-invariants/README.md +28 -0
- package/node_modules/@xrkseek/runtime-invariants/dist/index.d.ts +94 -0
- package/node_modules/@xrkseek/runtime-invariants/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/runtime-invariants/dist/index.js +163 -0
- package/node_modules/@xrkseek/runtime-invariants/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/runtime-invariants/package.json +27 -0
- package/node_modules/@xrkseek/secrets/README.md +28 -0
- package/node_modules/@xrkseek/secrets/dist/index.d.ts +11 -0
- package/node_modules/@xrkseek/secrets/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/secrets/dist/index.js +23 -0
- package/node_modules/@xrkseek/secrets/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/secrets/dist/keyring.d.ts +10 -0
- package/node_modules/@xrkseek/secrets/dist/keyring.d.ts.map +1 -0
- package/node_modules/@xrkseek/secrets/dist/keyring.js +77 -0
- package/node_modules/@xrkseek/secrets/dist/keyring.js.map +1 -0
- package/node_modules/@xrkseek/secrets/dist/memory.d.ts +4 -0
- package/node_modules/@xrkseek/secrets/dist/memory.d.ts.map +1 -0
- package/node_modules/@xrkseek/secrets/dist/memory.js +21 -0
- package/node_modules/@xrkseek/secrets/dist/memory.js.map +1 -0
- package/node_modules/@xrkseek/secrets/dist/redact.d.ts +23 -0
- package/node_modules/@xrkseek/secrets/dist/redact.d.ts.map +1 -0
- package/node_modules/@xrkseek/secrets/dist/redact.js +38 -0
- package/node_modules/@xrkseek/secrets/dist/redact.js.map +1 -0
- package/node_modules/@xrkseek/secrets/dist/resolve.d.ts +10 -0
- package/node_modules/@xrkseek/secrets/dist/resolve.d.ts.map +1 -0
- package/node_modules/@xrkseek/secrets/dist/resolve.js +24 -0
- package/node_modules/@xrkseek/secrets/dist/resolve.js.map +1 -0
- package/node_modules/@xrkseek/secrets/dist/types.d.ts +27 -0
- package/node_modules/@xrkseek/secrets/dist/types.d.ts.map +1 -0
- package/node_modules/@xrkseek/secrets/dist/types.js +15 -0
- package/node_modules/@xrkseek/secrets/dist/types.js.map +1 -0
- package/node_modules/@xrkseek/secrets/package.json +29 -0
- package/node_modules/@xrkseek/server-config/dist/index.d.ts +6 -0
- package/node_modules/@xrkseek/server-config/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-config/dist/index.js +12 -0
- package/node_modules/@xrkseek/server-config/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-cron/README.md +1 -1
- package/node_modules/@xrkseek/server-cron/dist/index.d.ts +10 -1
- package/node_modules/@xrkseek/server-cron/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-cron/dist/index.js +9 -2
- package/node_modules/@xrkseek/server-cron/dist/index.js.map +1 -1
- 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 +6 -2
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/agent-team-output.d.ts +34 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-output.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-output.js +140 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-output.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-roles.d.ts +13 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-roles.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-roles.js +67 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-roles.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-tasks.d.ts +79 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-tasks.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-tasks.js +230 -0
- package/node_modules/@xrkseek/server-face/dist/agent-team-tasks.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/approval-category.d.ts +25 -0
- package/node_modules/@xrkseek/server-face/dist/approval-category.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/approval-category.js +108 -0
- package/node_modules/@xrkseek/server-face/dist/approval-category.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/approvals.d.ts +17 -0
- package/node_modules/@xrkseek/server-face/dist/approvals.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/approvals.js +50 -0
- package/node_modules/@xrkseek/server-face/dist/approvals.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/context.d.ts +22 -0
- package/node_modules/@xrkseek/server-face/dist/context.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/cost-meter-store.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js +22 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js.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 +14 -2
- package/node_modules/@xrkseek/server-face/dist/dispatch.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.d.ts +87 -2
- package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.js +456 -32
- package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/goal-round-driver.d.ts +48 -0
- package/node_modules/@xrkseek/server-face/dist/goal-round-driver.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/goal-round-driver.js +69 -0
- package/node_modules/@xrkseek/server-face/dist/goal-round-driver.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/goal-store.d.ts +6 -1
- package/node_modules/@xrkseek/server-face/dist/goal-store.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/goal-store.js +45 -9
- package/node_modules/@xrkseek/server-face/dist/goal-store.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/goal-tools.d.ts +13 -0
- package/node_modules/@xrkseek/server-face/dist/goal-tools.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/goal-tools.js +131 -0
- package/node_modules/@xrkseek/server-face/dist/goal-tools.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/checkpoint.d.ts +10 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/checkpoint.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/checkpoint.js +156 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/checkpoint.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/session.d.ts +7 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/session.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/session.js +88 -2
- 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 +62 -3
- package/node_modules/@xrkseek/server-face/dist/handlers/subagent.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/index.d.ts +19 -5
- package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/index.js +18 -4
- package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/managed-worktree.d.ts +115 -0
- package/node_modules/@xrkseek/server-face/dist/managed-worktree.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/managed-worktree.js +330 -0
- package/node_modules/@xrkseek/server-face/dist/managed-worktree.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/mcp-oauth.d.ts +33 -0
- package/node_modules/@xrkseek/server-face/dist/mcp-oauth.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/mcp-oauth.js +352 -0
- package/node_modules/@xrkseek/server-face/dist/mcp-oauth.js.map +1 -0
- 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.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts +15 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js +26 -2
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/propose-skill.d.ts +20 -0
- package/node_modules/@xrkseek/server-face/dist/propose-skill.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/propose-skill.js +65 -0
- package/node_modules/@xrkseek/server-face/dist/propose-skill.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/ralph-tool.d.ts +33 -0
- package/node_modules/@xrkseek/server-face/dist/ralph-tool.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/ralph-tool.js +366 -0
- package/node_modules/@xrkseek/server-face/dist/ralph-tool.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/reference-discovery.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/reference-discovery.js +1 -0
- package/node_modules/@xrkseek/server-face/dist/reference-discovery.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/rollout-trace.d.ts +58 -0
- package/node_modules/@xrkseek/server-face/dist/rollout-trace.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/rollout-trace.js +194 -0
- package/node_modules/@xrkseek/server-face/dist/rollout-trace.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts +7 -0
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.js +93 -4
- package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-export.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-export.js +74 -0
- package/node_modules/@xrkseek/server-face/dist/session-export.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-query-tools.d.ts +23 -0
- package/node_modules/@xrkseek/server-face/dist/session-query-tools.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/session-query-tools.js +275 -0
- package/node_modules/@xrkseek/server-face/dist/session-query-tools.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/session-status.d.ts +209 -0
- package/node_modules/@xrkseek/server-face/dist/session-status.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/session-status.js +559 -0
- package/node_modules/@xrkseek/server-face/dist/session-status.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts +2 -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 +67 -0
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-document.d.ts +5 -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 +69 -0
- 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 +220 -1
- package/node_modules/@xrkseek/server-face/dist/settings-schemas.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/slash.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/slash.js +70 -16
- package/node_modules/@xrkseek/server-face/dist/slash.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-registry.d.ts +4 -0
- package/node_modules/@xrkseek/server-face/dist/subagent-registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-registry.js +4 -0
- package/node_modules/@xrkseek/server-face/dist/subagent-registry.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-tools.d.ts +14 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-tools.js +614 -62
- package/node_modules/@xrkseek/server-face/dist/subagent-tools.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-worktree.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/subagent-worktree.js +7 -2
- package/node_modules/@xrkseek/server-face/dist/subagent-worktree.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/types.d.ts +4 -0
- package/node_modules/@xrkseek/server-face/dist/types.d.ts.map +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 +11 -0
- package/node_modules/@xrkseek/server-face/dist/wire/rpc-error.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-checkpoint.d.ts +40 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-checkpoint.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-checkpoint.js +154 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-checkpoint.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-face.d.ts +1 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-face.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-face.js +25 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-face.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-registry.d.ts +11 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-registry.js +14 -4
- package/node_modules/@xrkseek/server-face/dist/workspace-registry.js.map +1 -1
- package/node_modules/@xrkseek/server-face/package.json +3 -0
- package/node_modules/@xrkseek/server-host/dist/index.d.ts +61 -0
- package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/index.js +376 -10
- package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/invariants-fail-fast.d.ts +16 -0
- package/node_modules/@xrkseek/server-host/dist/invariants-fail-fast.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/invariants-fail-fast.js +24 -0
- package/node_modules/@xrkseek/server-host/dist/invariants-fail-fast.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/standing-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/standing-tools.js +4 -1
- package/node_modules/@xrkseek/server-host/dist/standing-tools.js.map +1 -1
- package/node_modules/@xrkseek/server-host/package.json +10 -0
- 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 +10 -4
- 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 +17 -0
- 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 +8 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-classifier.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-classifier.js +20 -5
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-classifier.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js +1 -1
- 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/dsh-compat-matrix.js +2 -2
- 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/im-gateway-sidecar.d.ts +5 -17
- 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 +50 -49
- 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/memory-embeddings.d.ts +14 -4
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memory-embeddings.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memory-embeddings.js +30 -14
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memory-embeddings.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts +3 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js +5 -5
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-adapter.d.ts +5 -0
- 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 +1 -0
- package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-adapter.js.map +1 -1
- package/node_modules/@xrkseek/server-http/package.json +1 -0
- package/node_modules/@xrkseek/server-loader/dist/index.d.ts +1 -1
- package/node_modules/@xrkseek/server-loader/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/index.js +1 -1
- package/node_modules/@xrkseek/server-loader/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/shell-hooks.d.ts +75 -3
- package/node_modules/@xrkseek/server-loader/dist/shell-hooks.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/shell-hooks.js +415 -46
- package/node_modules/@xrkseek/server-loader/dist/shell-hooks.js.map +1 -1
- package/node_modules/@xrkseek/session-format/README.md +20 -0
- package/node_modules/@xrkseek/session-format/dist/catalog.d.ts +27 -0
- package/node_modules/@xrkseek/session-format/dist/catalog.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-format/dist/catalog.js +36 -0
- package/node_modules/@xrkseek/session-format/dist/catalog.js.map +1 -0
- package/node_modules/@xrkseek/session-format/dist/chain.d.ts +38 -0
- package/node_modules/@xrkseek/session-format/dist/chain.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-format/dist/chain.js +86 -0
- package/node_modules/@xrkseek/session-format/dist/chain.js.map +1 -0
- package/node_modules/@xrkseek/session-format/dist/detect.d.ts +29 -0
- package/node_modules/@xrkseek/session-format/dist/detect.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-format/dist/detect.js +68 -0
- package/node_modules/@xrkseek/session-format/dist/detect.js.map +1 -0
- package/node_modules/@xrkseek/session-format/dist/index.d.ts +12 -0
- package/node_modules/@xrkseek/session-format/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-format/dist/index.js +12 -0
- package/node_modules/@xrkseek/session-format/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/session-format/dist/interchange-version.d.ts +6 -0
- package/node_modules/@xrkseek/session-format/dist/interchange-version.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-format/dist/interchange-version.js +6 -0
- package/node_modules/@xrkseek/session-format/dist/interchange-version.js.map +1 -0
- package/node_modules/@xrkseek/session-format/dist/sqlite-schema.d.ts +31 -0
- package/node_modules/@xrkseek/session-format/dist/sqlite-schema.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-format/dist/sqlite-schema.js +52 -0
- package/node_modules/@xrkseek/session-format/dist/sqlite-schema.js.map +1 -0
- package/node_modules/@xrkseek/session-format/package.json +24 -0
- package/node_modules/@xrkseek/session-telemetry/dist/index.d.ts +18 -4
- package/node_modules/@xrkseek/session-telemetry/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/session-telemetry/dist/index.js +97 -36
- package/node_modules/@xrkseek/session-telemetry/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/spill/README.md +27 -0
- package/node_modules/@xrkseek/spill/dist/index.d.ts +11 -0
- package/node_modules/@xrkseek/spill/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/spill/dist/index.js +11 -0
- package/node_modules/@xrkseek/spill/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/spill/dist/local-store.d.ts +30 -0
- package/node_modules/@xrkseek/spill/dist/local-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/spill/dist/local-store.js +73 -0
- package/node_modules/@xrkseek/spill/dist/local-store.js.map +1 -0
- package/node_modules/@xrkseek/spill/dist/policy.d.ts +59 -0
- package/node_modules/@xrkseek/spill/dist/policy.d.ts.map +1 -0
- package/node_modules/@xrkseek/spill/dist/policy.js +143 -0
- package/node_modules/@xrkseek/spill/dist/policy.js.map +1 -0
- package/node_modules/@xrkseek/spill/dist/types.d.ts +46 -0
- package/node_modules/@xrkseek/spill/dist/types.d.ts.map +1 -0
- package/node_modules/@xrkseek/spill/dist/types.js +8 -0
- package/node_modules/@xrkseek/spill/dist/types.js.map +1 -0
- package/node_modules/@xrkseek/spill/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 -0
- package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/index.d.ts +1 -0
- package/node_modules/@xrkseek/workspace/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/index.js +1 -0
- package/node_modules/@xrkseek/workspace/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skill-propose.d.ts +71 -0
- package/node_modules/@xrkseek/workspace/dist/skill-propose.d.ts.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/skill-propose.js +259 -0
- package/node_modules/@xrkseek/workspace/dist/skill-propose.js.map +1 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/README.md +46 -45
- package/node_modules/@xrkseek/xrk-file-reference-local/README.zh.md +46 -45
- package/node_modules/@xrkseek/xrk-file-reference-local/dist/gitignore.d.ts +37 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/dist/gitignore.d.ts.map +1 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/dist/gitignore.js +91 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/dist/gitignore.js.map +1 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/dist/search.d.ts +7 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/dist/search.d.ts.map +1 -1
- package/node_modules/@xrkseek/xrk-file-reference-local/dist/search.js +46 -4
- package/node_modules/@xrkseek/xrk-file-reference-local/dist/search.js.map +1 -1
- package/node_modules/@xrkseek/xrk-file-reference-local/package.json +30 -29
- package/node_modules/ignore/LICENSE-MIT +21 -0
- package/node_modules/ignore/README.md +452 -0
- package/node_modules/ignore/index.d.ts +81 -0
- package/node_modules/ignore/index.js +793 -0
- package/node_modules/ignore/legacy.js +690 -0
- package/node_modules/ignore/package.json +87 -0
- package/package.json +17 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-review-classifier.js","sourceRoot":"","sources":["../../src/dsh-compat/auto-review-classifier.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"auto-review-classifier.js","sourceRoot":"","sources":["../../src/dsh-compat/auto-review-classifier.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEvE,MAAM,CAAC,MAAM,0BAA0B,GAAG,gCAAgC,CAAC;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CAAC,CAAC,EAAE,CAAC;aAC/D,CAAC;SACH,CAAC;IACJ,CAAC;IACD,OAAO;QACL,EAAE,EAAE,eAAe;QACnB,IAAI,EAAE,WAAW;QACjB,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,2BAA2B,CAAC,OAAO,CAAC;KACvD,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACtC,OAAgC,EAChC,UAAuC,EAAE;IAOzC,MAAM,QAAQ,GAAG,2BAA2B,CAAC,OAAO,CAAC,CAAC;IACtD,IAAI,CAAC;QACH,MAAM,cAAc,GAAG,iCAAiC,CACtD,CAAC,MAAM,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAuC,CACpE,CAAC;QACF,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,EAAE,cAAc,EAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,EAAE,EAAE,KAAK;YACT,UAAU,EAAE,QAAQ,CAAC,EAAE;YACvB,cAAc,EAAE;gBACd,OAAO,EAAE,KAAK;gBACd,MAAM,EAAE,kBAAkB;gBAC1B,UAAU,EAAE,CAAC;aACd;YACD,KAAK,EAAE,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC;SACxD,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -52,7 +52,7 @@ function statusPayload(options) {
|
|
|
52
52
|
failuresUsed: stats.failuresUsed,
|
|
53
53
|
recentDenies: stats.recentDenies,
|
|
54
54
|
note: classifier.kind === "heuristic"
|
|
55
|
-
? "Default heuristic classifier. Replace
|
|
55
|
+
? "Default heuristic classifier. Replace via Settings → Plugins → Advanced, options.classifier, or XRK_AUTO_REVIEW_CLASSIFIER_URL."
|
|
56
56
|
: `Classifier seam active (${classifier.kind}).`,
|
|
57
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,GAAG,CAAC;QACpC,YAAY,EAAE;YACZ,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE;YACpC,GAAG,KAAK,CAAC,YAAY;SACtB,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;KACd,CAAC,CAAC;AACL,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,0BAA0B,CACxC,OAA0B,EAC1B,IAAY;IAEZ,MAAM,MAAM,GAAG,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAC/C,IAAI,CAAC,MAAM;QAAE,OAAO;IACpB,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QAC1B,OAAO;IACT,CAAC;IACD,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAC9B,UAAU,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QAC3B,OAAO;IACT,CAAC;IACD,MAAM,KAAK,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;IACjC,IAAI,MAAM,CAAC,KAAK,GAAG,CAAC,IAAI,MAAM,CAAC,KAAK,IAAI,KAAK,CAAC,YAAY,CAAC,MAAM;QAAE,OAAO;IAC1E,SAAS,CAAC,OAAO,EAAE;QACjB,GAAG,KAAK;QACR,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,KAAK,CAAC;QACrE,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC;KACzB,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -148,7 +148,7 @@ export const DSH_COMPAT_GENERIC_CAPABILITIES = [
|
|
|
148
148
|
id: "auto-review-pluggable-classifier",
|
|
149
149
|
coverage: "full",
|
|
150
150
|
genericModule: "auto-review-classifier.ts · auto-review-http.ts · host-feature-bridge.ts",
|
|
151
|
-
note: "Default heuristic;
|
|
151
|
+
note: "Default heuristic; Settings Plugins→Advanced, options.classifier, or XRK_AUTO_REVIEW_CLASSIFIER_URL (fail closed)",
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
id: "im-channels",
|
|
@@ -220,7 +220,7 @@ export const DSH_COMPAT_GENERIC_CAPABILITIES = [
|
|
|
220
220
|
id: "memory-embeddings",
|
|
221
221
|
coverage: "full",
|
|
222
222
|
genericModule: "memory-embeddings.ts · embedded-vector-store.ts · noema.ts",
|
|
223
|
-
note: "Embedded vector host + optional XRK_MEMORY_EMBED_* sidecar",
|
|
223
|
+
note: "Embedded vector host + optional XRK_MEMORY_EMBED_* / Settings memory-embed sidecar",
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
id: "taskflow-external-runtime",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dsh-compat-matrix.js","sourceRoot":"","sources":["../../src/dsh-compat/dsh-compat-matrix.ts"],"names":[],"mappings":"AAaA,gFAAgF;AAChF,MAAM,CAAC,MAAM,+BAA+B,GAAsC;IAChF;QACE,EAAE,EAAE,eAAe;QACnB,QAAQ,EAAE,MAAM;QAChB,aAAa,EAAE,2CAA2C;QAC1D,IAAI,EAAE,yCAAyC;KAChD;IACD;QACE,EAAE,EAAE,cAAc;QAClB,QAAQ,EAAE,MAAM;QAChB,aAAa,EAAE,iCAAiC;QAChD,IAAI,EAAE,wCAAwC;KAC/C;IACD;QACE,EAAE,EAAE,cAAc;QAClB,QAAQ,EAAE,MAAM;QAChB,aAAa,EAAE,mDAAmD;QAClE,IAAI,EAAE,wCAAwC;KAC/C;IACD;QACE,EAAE,EAAE,kBAAkB;QACtB,QAAQ,EAAE,MAAM;QAChB,aAAa,EAAE,qBAAqB;QACpC,IAAI,EAAE,6BAA6B;KACpC;IACD;QACE,EAAE,EAAE,gBAAgB;QACpB,QAAQ,EAAE,MAAM;QAChB,aAAa,EAAE,wBAAwB;QACvC,IAAI,EAAE,iDAAiD;KACx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AAC;AAChD,CAAC"}
|
|
@@ -1,24 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Optional IM long-lived gateway sidecar (ADR-0006 D-2).
|
|
3
3
|
* Host stays TypeScript; vendor WS client runs out-of-process and relays inbound here.
|
|
4
|
+
* Wire shapes live in `@xrkseek/im-gateway-contract` (not a vendor SDK matrix).
|
|
4
5
|
*/
|
|
5
6
|
import type { IncomingMessage, ServerResponse } from "node:http";
|
|
6
|
-
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
readonly token?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare function readImGatewaySidecarConfig(env?: NodeJS.ProcessEnv): ImGatewaySidecarConfig | undefined;
|
|
13
|
-
export declare function probeImGatewaySidecar(config: ImGatewaySidecarConfig, timeoutMs?: number): Promise<{
|
|
14
|
-
ok: boolean;
|
|
15
|
-
status?: string;
|
|
16
|
-
error?: string;
|
|
17
|
-
}>;
|
|
18
|
-
export declare function imGatewaySidecarStatusPayload(channel: string, config: ImGatewaySidecarConfig | undefined, probe?: {
|
|
19
|
-
ok: boolean;
|
|
20
|
-
status?: string;
|
|
21
|
-
error?: string;
|
|
22
|
-
}): Record<string, unknown>;
|
|
7
|
+
import { IM_GATEWAY_ENV_TOKEN, IM_GATEWAY_ENV_URL, readImGatewaySidecarConfig, type ImGatewayProbeResult, type ImGatewaySidecarConfig } from "@xrkseek/im-gateway-contract";
|
|
8
|
+
export { IM_GATEWAY_ENV_TOKEN, IM_GATEWAY_ENV_URL, readImGatewaySidecarConfig, type ImGatewaySidecarConfig, };
|
|
9
|
+
export declare function probeImGatewaySidecar(config: ImGatewaySidecarConfig, timeoutMs?: number): Promise<ImGatewayProbeResult>;
|
|
10
|
+
export declare function imGatewaySidecarStatusPayload(channel: string, config: ImGatewaySidecarConfig | undefined, probe?: ImGatewayProbeResult): Record<string, unknown>;
|
|
23
11
|
export declare function handleImGatewaySidecarHttp(req: IncomingMessage, res: ServerResponse, pathname: string, xrkHome: string | undefined, env?: NodeJS.ProcessEnv): Promise<boolean>;
|
|
24
12
|
//# sourceMappingURL=im-gateway-sidecar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"im-gateway-sidecar.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/im-gateway-sidecar.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"im-gateway-sidecar.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/im-gateway-sidecar.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAQlB,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC5B,MAAM,8BAA8B,CAAC;AAOtC,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,0BAA0B,EAC1B,KAAK,sBAAsB,GAC5B,CAAC;AAEF,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,sBAAsB,EAC9B,SAAS,SAAO,GACf,OAAO,CAAC,oBAAoB,CAAC,CAuB/B;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,sBAAsB,GAAG,SAAS,EAC1C,KAAK,CAAC,EAAE,oBAAoB,GAC3B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA8CzB;AAED,wBAAsB,0BAA0B,CAC9C,GAAG,EAAE,eAAe,EACpB,GAAG,EAAE,cAAc,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,OAAO,CAAC,OAAO,CAAC,CA6ElB"}
|
|
@@ -1,35 +1,28 @@
|
|
|
1
|
+
import { IM_GATEWAY_ENV_TOKEN, IM_GATEWAY_ENV_URL, IM_GATEWAY_HOST_HEALTH_PATH, IM_GATEWAY_HOST_RELAY_PATH, IM_GATEWAY_SIDECAR_HEALTH_PATH, assertRelayAuthorized, imGatewayStateFromProbe, interpretSidecarHealthBody, parseRelayBody, readImGatewaySidecarConfig, } from "@xrkseek/im-gateway-contract";
|
|
1
2
|
import { ingestImWebhook } from "./im-messaging-bridge.js";
|
|
2
3
|
import { adapterEcho } from "./honest-envelope.js";
|
|
3
4
|
import { IM_GATEWAY_LOCAL_WS_PATH } from "./im-gateway-local-ws.js";
|
|
4
5
|
import { sendJson } from "./underlying/http-json.js";
|
|
5
6
|
import { parseJsonBody } from "./underlying/http-kit.js";
|
|
6
|
-
export
|
|
7
|
-
export const IM_GATEWAY_ENV_TOKEN = "XRK_IM_GATEWAY_TOKEN";
|
|
8
|
-
export function readImGatewaySidecarConfig(env = process.env) {
|
|
9
|
-
const url = env[IM_GATEWAY_ENV_URL]?.trim();
|
|
10
|
-
if (!url)
|
|
11
|
-
return undefined;
|
|
12
|
-
const token = env[IM_GATEWAY_ENV_TOKEN]?.trim();
|
|
13
|
-
return token ? { url, token } : { url };
|
|
14
|
-
}
|
|
7
|
+
export { IM_GATEWAY_ENV_TOKEN, IM_GATEWAY_ENV_URL, readImGatewaySidecarConfig, };
|
|
15
8
|
export async function probeImGatewaySidecar(config, timeoutMs = 3000) {
|
|
16
9
|
const base = config.url.replace(/\/+$/, "");
|
|
17
10
|
const headers = { accept: "application/json" };
|
|
18
11
|
if (config.token)
|
|
19
12
|
headers.authorization = `Bearer ${config.token}`;
|
|
20
13
|
try {
|
|
21
|
-
const res = await fetch(`${base}
|
|
14
|
+
const res = await fetch(`${base}${IM_GATEWAY_SIDECAR_HEALTH_PATH}`, {
|
|
22
15
|
headers,
|
|
23
16
|
signal: AbortSignal.timeout(timeoutMs),
|
|
24
17
|
});
|
|
18
|
+
const body = (await res.json().catch(() => null));
|
|
25
19
|
if (!res.ok) {
|
|
26
|
-
return {
|
|
20
|
+
return {
|
|
21
|
+
ok: false,
|
|
22
|
+
error: `upstream ${res.status}`,
|
|
23
|
+
};
|
|
27
24
|
}
|
|
28
|
-
|
|
29
|
-
return {
|
|
30
|
-
ok: body.ok !== false,
|
|
31
|
-
status: typeof body.status === "string" ? body.status : "ok",
|
|
32
|
-
};
|
|
25
|
+
return interpretSidecarHealthBody(body, true);
|
|
33
26
|
}
|
|
34
27
|
catch (err) {
|
|
35
28
|
return {
|
|
@@ -38,39 +31,26 @@ export async function probeImGatewaySidecar(config, timeoutMs = 3000) {
|
|
|
38
31
|
};
|
|
39
32
|
}
|
|
40
33
|
}
|
|
41
|
-
function relayAuthorized(req, config) {
|
|
42
|
-
if (!config?.token) {
|
|
43
|
-
const host = String(req.headers.host ?? "");
|
|
44
|
-
return /^(127\.0\.0\.1|localhost)(:\d+)?$/i.test(host);
|
|
45
|
-
}
|
|
46
|
-
const auth = String(req.headers.authorization ?? "");
|
|
47
|
-
const headerToken = String(req.headers["x-im-gateway-token"] ?? "");
|
|
48
|
-
const bearer = auth.startsWith("Bearer ") ? auth.slice(7).trim() : "";
|
|
49
|
-
return bearer === config.token || headerToken === config.token;
|
|
50
|
-
}
|
|
51
34
|
export function imGatewaySidecarStatusPayload(channel, config, probe) {
|
|
35
|
+
const state = imGatewayStateFromProbe(config, probe);
|
|
52
36
|
if (!config) {
|
|
53
37
|
return {
|
|
54
38
|
ok: true,
|
|
55
39
|
channel,
|
|
56
|
-
state
|
|
40
|
+
state,
|
|
57
41
|
transport: "host-ingress",
|
|
58
42
|
sidecar: null,
|
|
59
43
|
localWsPath: IM_GATEWAY_LOCAL_WS_PATH,
|
|
60
|
-
relayPath:
|
|
61
|
-
healthPath:
|
|
44
|
+
relayPath: IM_GATEWAY_HOST_RELAY_PATH,
|
|
45
|
+
healthPath: IM_GATEWAY_HOST_HEALTH_PATH,
|
|
62
46
|
env: [IM_GATEWAY_ENV_URL, IM_GATEWAY_ENV_TOKEN],
|
|
63
|
-
note: "No external gateway env. Local WS and relay accept push; webhook/poll stay available.",
|
|
47
|
+
note: "No external gateway env. Local WS and relay accept push; webhook/poll stay available. Vendor SDKs are not bundled.",
|
|
64
48
|
adr: "docs/adr/0006-im-long-lived-gateway.md",
|
|
49
|
+
contract: "@xrkseek/im-gateway-contract",
|
|
65
50
|
...adapterEcho(),
|
|
66
51
|
};
|
|
67
52
|
}
|
|
68
53
|
const reachable = probe?.ok === true;
|
|
69
|
-
const state = reachable
|
|
70
|
-
? "sidecar-reachable"
|
|
71
|
-
: probe
|
|
72
|
-
? "sidecar-unreachable"
|
|
73
|
-
: "sidecar-configured";
|
|
74
54
|
return {
|
|
75
55
|
ok: true,
|
|
76
56
|
channel,
|
|
@@ -81,55 +61,75 @@ export function imGatewaySidecarStatusPayload(channel, config, probe) {
|
|
|
81
61
|
probed: !!probe,
|
|
82
62
|
reachable,
|
|
83
63
|
...(probe?.status ? { upstreamStatus: probe.status } : {}),
|
|
64
|
+
...(probe?.contractVersion
|
|
65
|
+
? { contractVersion: probe.contractVersion }
|
|
66
|
+
: {}),
|
|
84
67
|
...(probe?.error ? { probeError: probe.error } : {}),
|
|
85
68
|
},
|
|
86
|
-
relayPath:
|
|
87
|
-
healthPath:
|
|
69
|
+
relayPath: IM_GATEWAY_HOST_RELAY_PATH,
|
|
70
|
+
healthPath: IM_GATEWAY_HOST_HEALTH_PATH,
|
|
88
71
|
localWsPath: IM_GATEWAY_LOCAL_WS_PATH,
|
|
89
72
|
env: [IM_GATEWAY_ENV_URL, IM_GATEWAY_ENV_TOKEN],
|
|
90
73
|
note: reachable
|
|
91
74
|
? "Sidecar reachable; push vendor events to relayPath with gateway token."
|
|
92
75
|
: "Sidecar URL configured; start relay and set XRK_IM_GATEWAY_TOKEN for non-local relay.",
|
|
93
76
|
adr: "docs/adr/0006-im-long-lived-gateway.md",
|
|
77
|
+
contract: "@xrkseek/im-gateway-contract",
|
|
94
78
|
...adapterEcho(),
|
|
95
79
|
};
|
|
96
80
|
}
|
|
97
81
|
export async function handleImGatewaySidecarHttp(req, res, pathname, xrkHome, env = process.env) {
|
|
98
82
|
const config = readImGatewaySidecarConfig(env);
|
|
99
83
|
const method = (req.method ?? "GET").toUpperCase();
|
|
100
|
-
if (pathname ===
|
|
84
|
+
if (pathname === IM_GATEWAY_HOST_HEALTH_PATH &&
|
|
85
|
+
(method === "GET" || method === "HEAD")) {
|
|
101
86
|
const probe = config ? await probeImGatewaySidecar(config) : undefined;
|
|
102
87
|
sendJson(res, 200, {
|
|
103
88
|
ok: true,
|
|
104
89
|
configured: !!config,
|
|
105
90
|
localWsPath: IM_GATEWAY_LOCAL_WS_PATH,
|
|
106
91
|
probe,
|
|
107
|
-
relayPath:
|
|
92
|
+
relayPath: IM_GATEWAY_HOST_RELAY_PATH,
|
|
108
93
|
env: [IM_GATEWAY_ENV_URL, IM_GATEWAY_ENV_TOKEN],
|
|
109
94
|
adapter: "xrk-dsh-compat",
|
|
95
|
+
contract: "@xrkseek/im-gateway-contract",
|
|
110
96
|
note: config
|
|
111
97
|
? "External sidecar configured. Local WS ingress stays available."
|
|
112
98
|
: "Local WS ingress is up without XRK_IM_GATEWAY_*.",
|
|
113
99
|
});
|
|
114
100
|
return true;
|
|
115
101
|
}
|
|
116
|
-
if (pathname ===
|
|
117
|
-
|
|
102
|
+
if (pathname === IM_GATEWAY_HOST_RELAY_PATH && method === "POST") {
|
|
103
|
+
const auth = assertRelayAuthorized({
|
|
104
|
+
hostHeader: typeof req.headers.host === "string" ? req.headers.host : undefined,
|
|
105
|
+
authorization: typeof req.headers.authorization === "string"
|
|
106
|
+
? req.headers.authorization
|
|
107
|
+
: undefined,
|
|
108
|
+
gatewayTokenHeader: typeof req.headers["x-im-gateway-token"] === "string"
|
|
109
|
+
? req.headers["x-im-gateway-token"]
|
|
110
|
+
: undefined,
|
|
111
|
+
config,
|
|
112
|
+
});
|
|
113
|
+
if (!auth.ok) {
|
|
118
114
|
sendJson(res, 401, {
|
|
119
115
|
ok: false,
|
|
120
|
-
code:
|
|
121
|
-
message:
|
|
116
|
+
code: auth.code,
|
|
117
|
+
message: auth.message,
|
|
122
118
|
});
|
|
123
119
|
return true;
|
|
124
120
|
}
|
|
125
|
-
const
|
|
126
|
-
const
|
|
127
|
-
if (!
|
|
128
|
-
sendJson(res, 400, {
|
|
121
|
+
const raw = await parseJsonBody(req);
|
|
122
|
+
const parsed = parseRelayBody(raw);
|
|
123
|
+
if (!parsed.ok) {
|
|
124
|
+
sendJson(res, 400, {
|
|
125
|
+
ok: false,
|
|
126
|
+
code: parsed.code,
|
|
127
|
+
message: parsed.message,
|
|
128
|
+
});
|
|
129
129
|
return true;
|
|
130
130
|
}
|
|
131
|
-
const
|
|
132
|
-
const row = ingestImWebhook(xrkHome, channel,
|
|
131
|
+
const { channel, botId, ...rest } = parsed.body;
|
|
132
|
+
const row = ingestImWebhook(xrkHome, channel, { ...rest, channel, ...(botId ? { botId } : {}) }, botId);
|
|
133
133
|
sendJson(res, 200, {
|
|
134
134
|
ok: true,
|
|
135
135
|
received: true,
|
|
@@ -137,6 +137,7 @@ export async function handleImGatewaySidecarHttp(req, res, pathname, xrkHome, en
|
|
|
137
137
|
channel,
|
|
138
138
|
mode: "sidecar-relay",
|
|
139
139
|
adapter: "xrk-dsh-compat",
|
|
140
|
+
contract: "@xrkseek/im-gateway-contract",
|
|
140
141
|
});
|
|
141
142
|
return true;
|
|
142
143
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"im-gateway-sidecar.js","sourceRoot":"","sources":["../../src/dsh-compat/im-gateway-sidecar.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"im-gateway-sidecar.js","sourceRoot":"","sources":["../../src/dsh-compat/im-gateway-sidecar.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,EAC9B,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC1B,cAAc,EACd,0BAA0B,GAG3B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,eAA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AAO,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC;QAChD,MAAM,GAAG,GAAG,eAAe,CACzB,OAAO,EACP,OAAO,EACP,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EACjD,KAAK,CACN,CAAC;QACF,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE;YACjB,EAAE,EAAE,IAAI;YACR,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,GAAG,CAAC,EAAE;YACjB,OAAO;YACP,IAAI,EAAE,eAAe;YACrB,OAAO,EAAE,gBAAgB;YACzB,QAAQ,EAAE,8BAA8B;SACzC,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
export declare const MEMORY_EMBED_ENV_URL = "XRK_MEMORY_EMBED_URL";
|
|
2
2
|
export declare const MEMORY_EMBED_ENV_TOKEN = "XRK_MEMORY_EMBED_TOKEN";
|
|
3
3
|
export declare const MEMORY_EMBED_ENV_COLLECTION = "XRK_MEMORY_EMBED_COLLECTION";
|
|
4
|
-
|
|
4
|
+
/** Face `memory-embed` product (Settings → Plugins → Advanced). */
|
|
5
|
+
export type MemoryEmbedProduct = {
|
|
6
|
+
readonly url?: string;
|
|
7
|
+
readonly token?: string;
|
|
8
|
+
readonly collection?: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Resolve external vector sidecar.
|
|
12
|
+
* Non-empty `XRK_MEMORY_EMBED_URL` wins (CI bypass); else Face product URL.
|
|
13
|
+
*/
|
|
14
|
+
export declare function readExternalMemoryEmbedConfig(env?: NodeJS.ProcessEnv, product?: MemoryEmbedProduct): {
|
|
5
15
|
url: string;
|
|
6
16
|
token?: string;
|
|
7
17
|
collection?: string;
|
|
8
18
|
} | undefined;
|
|
9
|
-
export declare function externalMemoryEmbedStatus(): Record<string, unknown>;
|
|
19
|
+
export declare function externalMemoryEmbedStatus(env?: NodeJS.ProcessEnv, product?: MemoryEmbedProduct): Record<string, unknown>;
|
|
10
20
|
export declare function probeExternalMemoryEmbedSidecar(config: {
|
|
11
21
|
url: string;
|
|
12
22
|
token?: string;
|
|
@@ -37,7 +47,7 @@ export declare function searchMemoryEmbeddings(memories: readonly MemoryEmbedRow
|
|
|
37
47
|
text: string;
|
|
38
48
|
score: number;
|
|
39
49
|
}>;
|
|
40
|
-
export declare function searchMemoryEmbeddingsAsync(memories: readonly MemoryEmbedRow[], query: string, limit?: number, env?: NodeJS.ProcessEnv, xrkHome?: string): Promise<{
|
|
50
|
+
export declare function searchMemoryEmbeddingsAsync(memories: readonly MemoryEmbedRow[], query: string, limit?: number, env?: NodeJS.ProcessEnv, xrkHome?: string, product?: MemoryEmbedProduct): Promise<{
|
|
41
51
|
hits: Array<{
|
|
42
52
|
id: string;
|
|
43
53
|
text: string;
|
|
@@ -49,5 +59,5 @@ export declare function searchMemoryEmbeddingsAsync(memories: readonly MemoryEmb
|
|
|
49
59
|
export declare function rebuildEmbeddedVectorIndex(xrkHome?: string): number;
|
|
50
60
|
export declare function syncEmbeddedVectorRow(xrkHome: string | undefined, row: MemoryEmbedRow): void;
|
|
51
61
|
export declare function dropEmbeddedVectorRow(xrkHome: string | undefined, id: string): void;
|
|
52
|
-
export declare function memoryEmbeddingsStatus(xrkHome?: string): Record<string, unknown>;
|
|
62
|
+
export declare function memoryEmbeddingsStatus(xrkHome?: string, env?: NodeJS.ProcessEnv, product?: MemoryEmbedProduct): Record<string, unknown>;
|
|
53
63
|
//# sourceMappingURL=memory-embeddings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-embeddings.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/memory-embeddings.ts"],"names":[],"mappings":"AAeA,eAAO,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AAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACzD,IAAI,EAAE,SAAS,GAAG,eAAe,GAAG,wBAAwB,CAAC;CAC9D,CAAC,CAgBD;AAOD,kFAAkF;AAClF,wBAAgB,0BAA0B,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAUnE;AAED,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,GAAG,EAAE,cAAc,GAClB,IAAI,CAEN;AAED,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,EAAE,EAAE,MAAM,GACT,IAAI,CAEN;AAED,wBAAgB,sBAAsB,CACpC,OAAO,CAAC,EAAE,MAAM,EAChB,GAAG,GAAE,MAAM,CAAC,UAAwB,EACpC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAkBzB"}
|
|
@@ -9,20 +9,36 @@ import { adapterEcho } from "./honest-envelope.js";
|
|
|
9
9
|
export const MEMORY_EMBED_ENV_URL = "XRK_MEMORY_EMBED_URL";
|
|
10
10
|
export const MEMORY_EMBED_ENV_TOKEN = "XRK_MEMORY_EMBED_TOKEN";
|
|
11
11
|
export const MEMORY_EMBED_ENV_COLLECTION = "XRK_MEMORY_EMBED_COLLECTION";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Resolve external vector sidecar.
|
|
14
|
+
* Non-empty `XRK_MEMORY_EMBED_URL` wins (CI bypass); else Face product URL.
|
|
15
|
+
*/
|
|
16
|
+
export function readExternalMemoryEmbedConfig(env = process.env, product) {
|
|
17
|
+
const envUrl = env[MEMORY_EMBED_ENV_URL]?.trim();
|
|
18
|
+
if (envUrl) {
|
|
19
|
+
const token = env[MEMORY_EMBED_ENV_TOKEN]?.trim();
|
|
20
|
+
const collection = env[MEMORY_EMBED_ENV_COLLECTION]?.trim();
|
|
21
|
+
return {
|
|
22
|
+
url: envUrl,
|
|
23
|
+
...(token ? { token } : {}),
|
|
24
|
+
...(collection ? { collection } : {}),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
const productUrl = product?.url?.trim();
|
|
28
|
+
if (!productUrl)
|
|
15
29
|
return undefined;
|
|
16
|
-
const token = env[MEMORY_EMBED_ENV_TOKEN]?.trim();
|
|
17
|
-
const collection =
|
|
30
|
+
const token = product?.token?.trim() || env[MEMORY_EMBED_ENV_TOKEN]?.trim() || undefined;
|
|
31
|
+
const collection = product?.collection?.trim() ||
|
|
32
|
+
env[MEMORY_EMBED_ENV_COLLECTION]?.trim() ||
|
|
33
|
+
undefined;
|
|
18
34
|
return {
|
|
19
|
-
url,
|
|
35
|
+
url: productUrl,
|
|
20
36
|
...(token ? { token } : {}),
|
|
21
37
|
...(collection ? { collection } : {}),
|
|
22
38
|
};
|
|
23
39
|
}
|
|
24
|
-
export function externalMemoryEmbedStatus() {
|
|
25
|
-
const external = readExternalMemoryEmbedConfig();
|
|
40
|
+
export function externalMemoryEmbedStatus(env = process.env, product) {
|
|
41
|
+
const external = readExternalMemoryEmbedConfig(env, product);
|
|
26
42
|
if (!external) {
|
|
27
43
|
return {
|
|
28
44
|
external: null,
|
|
@@ -182,8 +198,8 @@ export function searchMemoryEmbeddings(memories, query, limit = 16) {
|
|
|
182
198
|
.sort((a, b) => b.score - a.score)
|
|
183
199
|
.slice(0, limit);
|
|
184
200
|
}
|
|
185
|
-
export async function searchMemoryEmbeddingsAsync(memories, query, limit = 16, env = process.env, xrkHome) {
|
|
186
|
-
const external = readExternalMemoryEmbedConfig(env);
|
|
201
|
+
export async function searchMemoryEmbeddingsAsync(memories, query, limit = 16, env = process.env, xrkHome, product) {
|
|
202
|
+
const external = readExternalMemoryEmbedConfig(env, product);
|
|
187
203
|
if (external) {
|
|
188
204
|
const sidecarHits = await fetchExternalMemorySearch(external, query, limit);
|
|
189
205
|
if (sidecarHits && sidecarHits.length > 0) {
|
|
@@ -215,8 +231,8 @@ export function syncEmbeddedVectorRow(xrkHome, row) {
|
|
|
215
231
|
export function dropEmbeddedVectorRow(xrkHome, id) {
|
|
216
232
|
removeEmbeddedVectorRow(xrkHome, id);
|
|
217
233
|
}
|
|
218
|
-
export function memoryEmbeddingsStatus(xrkHome) {
|
|
219
|
-
const external = readExternalMemoryEmbedConfig();
|
|
234
|
+
export function memoryEmbeddingsStatus(xrkHome, env = process.env, product) {
|
|
235
|
+
const external = readExternalMemoryEmbedConfig(env, product);
|
|
220
236
|
const embedded = embeddedVectorStoreStatus(xrkHome);
|
|
221
237
|
return {
|
|
222
238
|
ok: true,
|
|
@@ -226,10 +242,10 @@ export function memoryEmbeddingsStatus(xrkHome) {
|
|
|
226
242
|
engines: external
|
|
227
243
|
? ["keyword", "local-hash", "embedded-host", "sidecar-http"]
|
|
228
244
|
: ["keyword", "local-hash", "embedded-host"],
|
|
229
|
-
...externalMemoryEmbedStatus(),
|
|
245
|
+
...externalMemoryEmbedStatus(env, product),
|
|
230
246
|
store: embedded,
|
|
231
247
|
note: external
|
|
232
|
-
? "Embedded vector host + optional XRK_MEMORY_EMBED_* sidecar upgrade."
|
|
248
|
+
? "Embedded vector host + optional XRK_MEMORY_EMBED_* / Settings memory-embed sidecar upgrade."
|
|
233
249
|
: "Embedded vector host under ~/.xrk/memory-embeddings/; local hash fallback.",
|
|
234
250
|
...adapterEcho(),
|
|
235
251
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-embeddings.js","sourceRoot":"","sources":["../../src/dsh-compat/memory-embeddings.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EACL,yBAAyB,EACzB,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACvB,uBAAuB,GAC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,CAAC;YAC5D,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,EAAE,eAAe,CAAC;QAC9C,GAAG,yBAAyB,CAAC,GAAG,EAAE,OAAO,CAAC;QAC1C,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,QAAQ;YACZ,CAAC,CAAC,6FAA6F;YAC/F,CAAC,CAAC,4EAA4E;QAChF,GAAG,WAAW,EAAE;KACjB,CAAC;AACJ,CAAC"}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* dsh-noema — file-backed status, memory index, runner config.
|
|
3
3
|
*/
|
|
4
4
|
import type { IncomingMessage, ServerResponse } from "node:http";
|
|
5
|
+
import { type MemoryEmbedProduct } from "./memory-embeddings.js";
|
|
5
6
|
export interface NoemaOptions {
|
|
6
7
|
readonly xrkHome?: string;
|
|
8
|
+
/** Face `memory-embed` product (+ Credentials token). Env URL still wins. */
|
|
9
|
+
readonly product?: MemoryEmbedProduct;
|
|
7
10
|
}
|
|
8
11
|
export declare function handleNoemaRpc(endpoint: string, payload: Record<string, unknown>, options: NoemaOptions): Record<string, unknown>;
|
|
9
12
|
export declare function handleNoemaRpcAsync(endpoint: string, payload: Record<string, unknown>, options: NoemaOptions): Promise<Record<string, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noema.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/noema.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"noema.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/noema.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIjE,OAAO,EAML,KAAK,kBAAkB,EACxB,MAAM,wBAAwB,CAAC;AAMhC,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,6EAA6E;IAC7E,QAAQ,CAAC,OAAO,CAAC,EAAE,kBAAkB,CAAC;CACvC;AAwED,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,OAAO,EAAE,YAAY,GACpB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAuKzB;AAED,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CA8BlC;AAED,wBAAsB,eAAe,CACnC,GAAG,EAAE,eAAe,EACpB,GAAG,EAAE,cAAc,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,OAAO,CAAC,CAqDlB;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAErD"}
|
|
@@ -130,7 +130,7 @@ export function handleNoemaRpc(endpoint, payload, options) {
|
|
|
130
130
|
query,
|
|
131
131
|
hits: embeddedHits,
|
|
132
132
|
mode: "embedded-host",
|
|
133
|
-
...memoryEmbeddingsStatus(options.xrkHome),
|
|
133
|
+
...memoryEmbeddingsStatus(options.xrkHome, process.env, options.product),
|
|
134
134
|
};
|
|
135
135
|
}
|
|
136
136
|
const hits = searchMemoryEmbeddings(memories.memories, query, limit);
|
|
@@ -139,13 +139,13 @@ export function handleNoemaRpc(endpoint, payload, options) {
|
|
|
139
139
|
query,
|
|
140
140
|
hits,
|
|
141
141
|
mode: "local-embedding-bridge",
|
|
142
|
-
...memoryEmbeddingsStatus(options.xrkHome),
|
|
142
|
+
...memoryEmbeddingsStatus(options.xrkHome, process.env, options.product),
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
145
|
if (endpoint === "embedding.status" ||
|
|
146
146
|
endpoint === "embeddings.status" ||
|
|
147
147
|
endpoint === "embedding.describe") {
|
|
148
|
-
return memoryEmbeddingsStatus(options.xrkHome);
|
|
148
|
+
return memoryEmbeddingsStatus(options.xrkHome, process.env, options.product);
|
|
149
149
|
}
|
|
150
150
|
if (endpoint === "runner.start" || endpoint === "start") {
|
|
151
151
|
if (!state.enabled) {
|
|
@@ -197,13 +197,13 @@ export async function handleNoemaRpcAsync(endpoint, payload, options) {
|
|
|
197
197
|
? payload.limit
|
|
198
198
|
: 16;
|
|
199
199
|
const memories = loadMemories(options);
|
|
200
|
-
const { hits, mode } = await searchMemoryEmbeddingsAsync(memories.memories, query, limit, process.env, options.xrkHome);
|
|
200
|
+
const { hits, mode } = await searchMemoryEmbeddingsAsync(memories.memories, query, limit, process.env, options.xrkHome, options.product);
|
|
201
201
|
return {
|
|
202
202
|
ok: true,
|
|
203
203
|
query,
|
|
204
204
|
hits,
|
|
205
205
|
mode,
|
|
206
|
-
...memoryEmbeddingsStatus(options.xrkHome),
|
|
206
|
+
...memoryEmbeddingsStatus(options.xrkHome, process.env, options.product),
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
209
|
return handleNoemaRpc(endpoint, payload, options);
|