@xrkseek/harness 0.6.21 → 0.7.0-rc.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/node_modules/@xrkseek/a2a/README.md +45 -45
- package/node_modules/@xrkseek/attachment/README.md +23 -23
- package/node_modules/@xrkseek/attachment-local/README.md +6 -6
- package/node_modules/@xrkseek/attachment-local/package.json +26 -26
- package/node_modules/@xrkseek/checkpoint/README.md +90 -90
- package/node_modules/@xrkseek/checkpoint/dist/store.d.ts +21 -0
- package/node_modules/@xrkseek/checkpoint/dist/store.d.ts.map +1 -1
- package/node_modules/@xrkseek/checkpoint/dist/store.js +33 -0
- package/node_modules/@xrkseek/checkpoint/dist/store.js.map +1 -1
- package/node_modules/@xrkseek/checkpoint/package.json +26 -26
- package/node_modules/@xrkseek/claude-code-mods/README.md +152 -0
- package/node_modules/@xrkseek/claude-code-mods/README.zh.md +172 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/api.d.ts +36 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/api.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/api.js +215 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/api.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/attach.d.ts +92 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/attach.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/attach.js +106 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/attach.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/chain.d.ts +105 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/chain.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/chain.js +324 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/chain.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/define-mod.d.ts +39 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/define-mod.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/define-mod.js +39 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/define-mod.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/elements.d.ts +96 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/elements.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/elements.js +171 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/elements.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/engine.d.ts +155 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/engine.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/engine.js +356 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/engine.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/host-ops.d.ts +72 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/host-ops.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/host-ops.js +603 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/host-ops.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/index.d.ts +112 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/index.js +654 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/matcher.d.ts +45 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/matcher.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/matcher.js +195 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/matcher.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/module.d.ts +74 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/module.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/module.js +167 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/module.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/native-import.d.ts +31 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/native-import.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/native-import.js +32 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/native-import.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/plugin-dir.d.ts +70 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/plugin-dir.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/plugin-dir.js +167 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/plugin-dir.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/product-agent.d.ts +57 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/product-agent.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/product-agent.js +85 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/product-agent.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/runtime.d.ts +117 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/runtime.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/runtime.js +252 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/runtime.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/storage-domain.d.ts +68 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/storage-domain.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/storage-domain.js +104 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/storage-domain.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/surfaces.d.ts +82 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/surfaces.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/surfaces.js +243 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/surfaces.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/testing.d.ts +157 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/testing.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/testing.js +266 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/testing.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/tool-names.d.ts +21 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/tool-names.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/tool-names.js +37 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/tool-names.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/types.d.ts +592 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/types.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/types.js +10 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/types.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/values.d.ts +58 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/values.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/values.js +75 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/values.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/working-directory.d.ts +45 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/working-directory.d.ts.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/working-directory.js +29 -0
- package/node_modules/@xrkseek/claude-code-mods/dist/working-directory.js.map +1 -0
- package/node_modules/@xrkseek/claude-code-mods/package.json +47 -0
- package/node_modules/@xrkseek/code-runtime/README.md +20 -20
- package/node_modules/@xrkseek/core-agent/dist/index.d.ts +87 -0
- package/node_modules/@xrkseek/core-agent/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-agent/dist/index.js.map +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 +9 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/package.json +42 -42
- package/node_modules/@xrkseek/core-session/README.md +35 -35
- package/node_modules/@xrkseek/core-session/dist/compaction.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/compaction.js +62 -37
- package/node_modules/@xrkseek/core-session/dist/compaction.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/freeze.d.ts +6 -0
- package/node_modules/@xrkseek/core-session/dist/freeze.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/freeze.js +9 -0
- package/node_modules/@xrkseek/core-session/dist/freeze.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/index.d.ts +18 -2
- package/node_modules/@xrkseek/core-session/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/index.js +53 -12
- package/node_modules/@xrkseek/core-session/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/list-hints.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/list-hints.js +14 -4
- package/node_modules/@xrkseek/core-session/dist/list-hints.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/repair-open-turn.d.ts +8 -1
- package/node_modules/@xrkseek/core-session/dist/repair-open-turn.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/repair-open-turn.js +14 -4
- package/node_modules/@xrkseek/core-session/dist/repair-open-turn.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/sqlite-store.d.ts +55 -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 +670 -92
- package/node_modules/@xrkseek/core-session/dist/sqlite-store.js.map +1 -1
- package/node_modules/@xrkseek/core-session/dist/store.d.ts +38 -0
- package/node_modules/@xrkseek/core-session/dist/store.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-session/package.json +34 -34
- package/node_modules/@xrkseek/core-system-prompt/README.md +14 -14
- package/node_modules/@xrkseek/core-tools/dist/session-query-prompt.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/session-query-prompt.js +3 -2
- package/node_modules/@xrkseek/core-tools/dist/session-query-prompt.js.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/std-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-tools/dist/std-tools.js +1 -13
- package/node_modules/@xrkseek/core-tools/dist/std-tools.js.map +1 -1
- package/node_modules/@xrkseek/exec-computer-use/README.md +14 -14
- package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.js +402 -402
- package/node_modules/@xrkseek/exec-computer-use/package.json +26 -26
- package/node_modules/@xrkseek/exec-fs/README.md +12 -12
- package/node_modules/@xrkseek/exec-fs/dist/read-image.js +4 -4
- package/node_modules/@xrkseek/exec-image-gen/README.md +13 -13
- package/node_modules/@xrkseek/exec-image-gen/package.json +28 -28
- package/node_modules/@xrkseek/exec-memory/README.md +14 -14
- package/node_modules/@xrkseek/exec-memory/dist/live-fragment.d.ts +11 -0
- package/node_modules/@xrkseek/exec-memory/dist/live-fragment.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-memory/dist/live-fragment.js +40 -0
- package/node_modules/@xrkseek/exec-memory/dist/live-fragment.js.map +1 -0
- package/node_modules/@xrkseek/exec-memory/package.json +28 -28
- package/node_modules/@xrkseek/exec-sandbox/README.md +15 -15
- package/node_modules/@xrkseek/exec-ssh/README.md +19 -19
- package/node_modules/@xrkseek/exec-subprocess/README.md +10 -10
- package/node_modules/@xrkseek/exec-video-analyze/README.md +11 -11
- package/node_modules/@xrkseek/exec-video-analyze/package.json +26 -26
- package/node_modules/@xrkseek/exec-video-gen/README.md +26 -26
- package/node_modules/@xrkseek/exec-voice/README.md +25 -25
- package/node_modules/@xrkseek/exec-web/README.md +11 -11
- package/node_modules/@xrkseek/llm-deepseek/README.md +22 -22
- package/node_modules/@xrkseek/llm-deepseek/package.json +30 -30
- package/node_modules/@xrkseek/llm-registry/dist/index.d.ts +2 -2
- package/node_modules/@xrkseek/llm-registry/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm-registry/dist/index.js +1 -1
- package/node_modules/@xrkseek/llm-registry/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/llm-registry/dist/types.d.ts +29 -0
- package/node_modules/@xrkseek/llm-registry/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm-registry/dist/types.js +21 -0
- package/node_modules/@xrkseek/llm-registry/dist/types.js.map +1 -1
- package/node_modules/@xrkseek/mcp/README.md +78 -78
- package/node_modules/@xrkseek/policy/README.md +18 -18
- package/node_modules/@xrkseek/policy/package.json +31 -31
- package/node_modules/@xrkseek/preset-harness/README.md +7 -7
- package/node_modules/@xrkseek/preset-harness/dist/mods.d.ts +68 -0
- package/node_modules/@xrkseek/preset-harness/dist/mods.d.ts.map +1 -0
- package/node_modules/@xrkseek/preset-harness/dist/mods.js +510 -0
- package/node_modules/@xrkseek/preset-harness/dist/mods.js.map +1 -0
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +12 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.js +73 -26
- 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 +9 -8
- package/node_modules/@xrkseek/preset-minimal/README.md +6 -6
- package/node_modules/@xrkseek/preset-minimal/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-minimal/dist/preset.js +9 -3
- 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/README.md +4 -4
- package/node_modules/@xrkseek/preset-server/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-server/dist/preset.js +2 -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 +34 -34
- package/node_modules/@xrkseek/protocol/dist/index.d.ts +3 -2
- package/node_modules/@xrkseek/protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/index.js +1 -0
- package/node_modules/@xrkseek/protocol/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/json-schema.d.ts +12 -0
- package/node_modules/@xrkseek/protocol/dist/json-schema.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/json-schema.js +9 -0
- package/node_modules/@xrkseek/protocol/dist/json-schema.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/json-value.d.ts +25 -0
- package/node_modules/@xrkseek/protocol/dist/json-value.d.ts.map +1 -0
- package/node_modules/@xrkseek/protocol/dist/json-value.js +181 -0
- package/node_modules/@xrkseek/protocol/dist/json-value.js.map +1 -0
- package/node_modules/@xrkseek/protocol/dist/session-events.d.ts +21 -1
- package/node_modules/@xrkseek/protocol/dist/session-events.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/session-events.js +1 -0
- package/node_modules/@xrkseek/protocol/dist/session-events.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/validate.d.ts +4 -1
- package/node_modules/@xrkseek/protocol/dist/validate.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/validate.js +28 -2
- package/node_modules/@xrkseek/protocol/dist/validate.js.map +1 -1
- package/node_modules/@xrkseek/schemastery/lib/index.cjs +597 -597
- package/node_modules/@xrkseek/schemastery/lib/index.mjs +597 -597
- package/node_modules/@xrkseek/schemastery/lib/types/index.d.ts +203 -203
- package/node_modules/@xrkseek/schemastery/src/index.d.ts +203 -203
- package/node_modules/@xrkseek/schemastery/src/index.ts +906 -906
- package/node_modules/@xrkseek/server-config/package.json +28 -28
- package/node_modules/@xrkseek/server-cron/README.md +12 -12
- package/node_modules/@xrkseek/server-cron/package.json +26 -26
- package/node_modules/@xrkseek/server-face/dist/adapt/history-paginate.d.ts +22 -0
- package/node_modules/@xrkseek/server-face/dist/adapt/history-paginate.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/history-paginate.js +40 -3
- package/node_modules/@xrkseek/server-face/dist/adapt/history-paginate.js.map +1 -1
- 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 +2 -0
- 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 +1 -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 +2 -0
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-ids.d.ts +5 -0
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-ids.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-ids.js +7 -0
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-ids.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/agent-home-boundary.d.ts +31 -0
- package/node_modules/@xrkseek/server-face/dist/agent-home-boundary.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/agent-home-boundary.js +71 -0
- package/node_modules/@xrkseek/server-face/dist/agent-home-boundary.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/agent-home.d.ts +18 -0
- package/node_modules/@xrkseek/server-face/dist/agent-home.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/agent-home.js +64 -0
- package/node_modules/@xrkseek/server-face/dist/agent-home.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/agent-roster-store.d.ts +41 -2
- package/node_modules/@xrkseek/server-face/dist/agent-roster-store.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/agent-roster-store.js +200 -28
- package/node_modules/@xrkseek/server-face/dist/agent-roster-store.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/agent-team-roles.js +1 -1
- package/node_modules/@xrkseek/server-face/dist/agent-team-roles.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/attach-http.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/attach-http.js +9 -0
- package/node_modules/@xrkseek/server-face/dist/attach-http.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/boss-status-broadcast.d.ts +55 -0
- package/node_modules/@xrkseek/server-face/dist/boss-status-broadcast.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/boss-status-broadcast.js +167 -0
- package/node_modules/@xrkseek/server-face/dist/boss-status-broadcast.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/collab-board.d.ts +12 -0
- package/node_modules/@xrkseek/server-face/dist/collab-board.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/collab-board.js +101 -19
- package/node_modules/@xrkseek/server-face/dist/collab-board.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/context.d.ts +25 -2
- 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 +6 -2
- package/node_modules/@xrkseek/server-face/dist/dispatch.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/face-schema.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/face-schema.js +2 -1
- package/node_modules/@xrkseek/server-face/dist/face-schema.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/fork-cut.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/fork-cut.js +15 -3
- package/node_modules/@xrkseek/server-face/dist/fork-cut.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/fork-lineage.d.ts +7 -0
- package/node_modules/@xrkseek/server-face/dist/fork-lineage.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/fork-lineage.js +23 -8
- package/node_modules/@xrkseek/server-face/dist/fork-lineage.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/band.d.ts +7 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/band.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/band.js +40 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/band.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/checkpoint.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/checkpoint.js +81 -3
- package/node_modules/@xrkseek/server-face/dist/handlers/checkpoint.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/remotes.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/remotes.js +4 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/remotes.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/session.d.ts +2 -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 +236 -62
- package/node_modules/@xrkseek/server-face/dist/handlers/session.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/team.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/team.js +100 -9
- package/node_modules/@xrkseek/server-face/dist/handlers/team.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/worktree.d.ts +8 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/worktree.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/worktree.js +15 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/worktree.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/index.d.ts +5 -1
- package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/index.js +5 -1
- package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/instruction-authority-fragment.d.ts +19 -0
- package/node_modules/@xrkseek/server-face/dist/instruction-authority-fragment.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/instruction-authority-fragment.js +28 -0
- package/node_modules/@xrkseek/server-face/dist/instruction-authority-fragment.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/log-cut-reset.d.ts +3 -0
- package/node_modules/@xrkseek/server-face/dist/log-cut-reset.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/log-cut-reset.js +22 -0
- package/node_modules/@xrkseek/server-face/dist/log-cut-reset.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/managed-worktree.d.ts +66 -4
- package/node_modules/@xrkseek/server-face/dist/managed-worktree.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/managed-worktree.js +147 -5
- package/node_modules/@xrkseek/server-face/dist/managed-worktree.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/model-catalog.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/model-catalog.js +60 -5
- package/node_modules/@xrkseek/server-face/dist/model-catalog.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts +2 -2
- package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/index.js +2 -2
- package/node_modules/@xrkseek/server-face/dist/projections/index.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/list-checkpoint-cache.d.ts +50 -4
- 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 +167 -19
- package/node_modules/@xrkseek/server-face/dist/projections/list-checkpoint-cache.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/snapshot-keys.d.ts +21 -1
- 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 +21 -1
- package/node_modules/@xrkseek/server-face/dist/projections/snapshot-keys.js.map +1 -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 +58 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js +85 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/session-list-metadata.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/session-list-metadata.js +14 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/session-list-metadata.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/title.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/title.js +14 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/title.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/turn-outline.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/turn-outline.js +24 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/turn-outline.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts +4 -2
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.js +127 -17
- package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/seat-identity.d.ts +26 -0
- package/node_modules/@xrkseek/server-face/dist/seat-identity.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/seat-identity.js +137 -0
- package/node_modules/@xrkseek/server-face/dist/seat-identity.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/seat-titles.d.ts +29 -0
- package/node_modules/@xrkseek/server-face/dist/seat-titles.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/seat-titles.js +74 -0
- package/node_modules/@xrkseek/server-face/dist/seat-titles.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/session-capability.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-capability.js +9 -6
- package/node_modules/@xrkseek/server-face/dist/session-capability.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-cwd.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-cwd.js +3 -1
- package/node_modules/@xrkseek/server-face/dist/session-cwd.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-event-window.d.ts +37 -0
- package/node_modules/@xrkseek/server-face/dist/session-event-window.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/session-event-window.js +88 -0
- package/node_modules/@xrkseek/server-face/dist/session-event-window.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/session-identity-store.d.ts +20 -0
- package/node_modules/@xrkseek/server-face/dist/session-identity-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/session-identity-store.js +82 -0
- package/node_modules/@xrkseek/server-face/dist/session-identity-store.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/session-posture.d.ts +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-posture.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-posture.js +20 -5
- package/node_modules/@xrkseek/server-face/dist/session-posture.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-query-tools.d.ts +1 -0
- package/node_modules/@xrkseek/server-face/dist/session-query-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-query-tools.js +172 -25
- package/node_modules/@xrkseek/server-face/dist/session-query-tools.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-search.d.ts +20 -2
- package/node_modules/@xrkseek/server-face/dist/session-search.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-search.js +125 -19
- package/node_modules/@xrkseek/server-face/dist/session-search.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-status.d.ts +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-status.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-status.js +143 -21
- package/node_modules/@xrkseek/server-face/dist/session-status.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-thread-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-thread-tools.js +5 -0
- package/node_modules/@xrkseek/server-face/dist/session-thread-tools.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-tool-copy.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/session-tool-copy.js +2 -1
- package/node_modules/@xrkseek/server-face/dist/session-tool-copy.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.js +10 -2
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.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 +48 -10
- package/node_modules/@xrkseek/server-face/dist/settings-schemas.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-documents.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-documents.js +14 -4
- package/node_modules/@xrkseek/server-face/dist/skill-documents.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-list.d.ts +4 -2
- package/node_modules/@xrkseek/server-face/dist/skill-list.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-list.js +10 -4
- package/node_modules/@xrkseek/server-face/dist/skill-list.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-read.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-read.js +9 -2
- package/node_modules/@xrkseek/server-face/dist/skill-read.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-source.d.ts +2 -1
- package/node_modules/@xrkseek/server-face/dist/skill-source.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-source.js +12 -2
- package/node_modules/@xrkseek/server-face/dist/skill-source.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/slash.d.ts +10 -1
- package/node_modules/@xrkseek/server-face/dist/slash.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/slash.js +97 -22
- package/node_modules/@xrkseek/server-face/dist/slash.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/status-snapshot-cache.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/status-snapshot-cache.js +53 -0
- package/node_modules/@xrkseek/server-face/dist/status-snapshot-cache.js.map +1 -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 +10 -5
- package/node_modules/@xrkseek/server-face/dist/subagent-tools.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/types.d.ts +23 -0
- package/node_modules/@xrkseek/server-face/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-checkpoint.d.ts +6 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-checkpoint.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-checkpoint.js +17 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-checkpoint.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 +19 -14
- package/node_modules/@xrkseek/server-face/dist/workspace-face.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-member-look.d.ts +22 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-member-look.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-member-look.js +35 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-member-look.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-orchestrate-tools.d.ts +3 -2
- package/node_modules/@xrkseek/server-face/dist/workspace-orchestrate-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-orchestrate-tools.js +74 -57
- package/node_modules/@xrkseek/server-face/dist/workspace-orchestrate-tools.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-registry.d.ts +31 -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 +109 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-registry.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-store.d.ts +2 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-store.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/workspace-store.js +7 -0
- package/node_modules/@xrkseek/server-face/dist/workspace-store.js.map +1 -1
- package/node_modules/@xrkseek/server-face/package.json +60 -60
- package/node_modules/@xrkseek/server-host/dist/agent-cache.d.ts +16 -2
- package/node_modules/@xrkseek/server-host/dist/agent-cache.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/agent-cache.js +84 -36
- package/node_modules/@xrkseek/server-host/dist/agent-cache.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/index.d.ts +37 -6
- package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/index.js +124 -27
- package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/log.d.ts +6 -0
- package/node_modules/@xrkseek/server-host/dist/log.d.ts.map +1 -1
- 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 +17 -2
- package/node_modules/@xrkseek/server-host/dist/sidebar-face-bridge.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/standing-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/standing-tools.js +3 -3
- package/node_modules/@xrkseek/server-host/dist/standing-tools.js.map +1 -1
- package/node_modules/@xrkseek/server-host/package.json +75 -75
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts +5 -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-tool-pre.d.ts +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-tool-pre.d.ts.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 +41 -6
- 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.js +188 -188
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts +1 -1
- 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 +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-auth.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-auth.js +292 -24
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-auth.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-gate.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-gate.js +12 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-gate.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts +16 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js +47 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-center.d.ts +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/token-usage-stats-dash.js +53 -53
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/mobile-gate-kit.d.ts +9 -4
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/mobile-gate-kit.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/mobile-gate-kit.js +39 -20
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/mobile-gate-kit.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/index.d.ts +2 -1
- package/node_modules/@xrkseek/server-http/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/index.js +2 -1
- package/node_modules/@xrkseek/server-http/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/sunflower-free/ensure.d.ts +11 -0
- package/node_modules/@xrkseek/server-http/dist/sunflower-free/ensure.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/sunflower-free/ensure.js +85 -0
- package/node_modules/@xrkseek/server-http/dist/sunflower-free/ensure.js.map +1 -0
- package/node_modules/@xrkseek/server-http/package.json +72 -72
- package/node_modules/@xrkseek/server-loader/dist/load.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/load.js +132 -0
- package/node_modules/@xrkseek/server-loader/dist/load.js.map +1 -1
- package/node_modules/@xrkseek/session-projection/README.md +26 -26
- package/node_modules/@xrkseek/session-projection/dist/index.d.ts +31 -2
- package/node_modules/@xrkseek/session-projection/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/session-projection/dist/index.js +135 -19
- package/node_modules/@xrkseek/session-projection/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/session-telemetry/README.md +11 -11
- package/node_modules/@xrkseek/session-telemetry/dist/index.d.ts +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/session-telemetry/dist/index.js +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/session-telemetry/dist/redact.d.ts +14 -0
- package/node_modules/@xrkseek/session-telemetry/dist/redact.d.ts.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/redact.js +58 -0
- package/node_modules/@xrkseek/session-telemetry/dist/redact.js.map +1 -0
- package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.d.ts +7 -0
- package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.d.ts.map +1 -1
- package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.js +43 -12
- package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.js.map +1 -1
- package/node_modules/@xrkseek/session-telemetry/package.json +27 -27
- package/node_modules/@xrkseek/workspace/dist/durable-inject.d.ts +13 -0
- package/node_modules/@xrkseek/workspace/dist/durable-inject.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/durable-inject.js +40 -4
- package/node_modules/@xrkseek/workspace/dist/durable-inject.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.d.ts +10 -9
- package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.js +67 -19
- package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/index.d.ts +19 -20
- package/node_modules/@xrkseek/workspace/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/index.js +43 -20
- package/node_modules/@xrkseek/workspace/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.d.ts +2 -0
- package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.js +23 -12
- package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/inject-sources.d.ts +7 -4
- package/node_modules/@xrkseek/workspace/dist/inject-sources.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/inject-sources.js +10 -0
- package/node_modules/@xrkseek/workspace/dist/inject-sources.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/instruction-authority.d.ts +27 -0
- package/node_modules/@xrkseek/workspace/dist/instruction-authority.d.ts.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/instruction-authority.js +78 -0
- package/node_modules/@xrkseek/workspace/dist/instruction-authority.js.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/skill-dirs.d.ts +7 -0
- package/node_modules/@xrkseek/workspace/dist/skill-dirs.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skill-dirs.js +4 -2
- package/node_modules/@xrkseek/workspace/dist/skill-dirs.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skill-tools.js +1 -1
- package/node_modules/@xrkseek/workspace/dist/skill-tools.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skills.d.ts +13 -1
- package/node_modules/@xrkseek/workspace/dist/skills.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skills.js +45 -5
- package/node_modules/@xrkseek/workspace/dist/skills.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/standing-skill-dirs.d.ts +26 -0
- package/node_modules/@xrkseek/workspace/dist/standing-skill-dirs.d.ts.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/standing-skill-dirs.js +80 -0
- package/node_modules/@xrkseek/workspace/dist/standing-skill-dirs.js.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/workspace-anchor.d.ts +7 -1
- package/node_modules/@xrkseek/workspace/dist/workspace-anchor.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/workspace-anchor.js +21 -1
- package/node_modules/@xrkseek/workspace/dist/workspace-anchor.js.map +1 -1
- package/node_modules/@xrkseek/workspace/package.json +28 -28
- package/node_modules/@xrkseek/xrk-agent/lib/index.js +1 -793
- package/node_modules/@xrkseek/xrk-agent/lib/invariant.js +1 -23
- package/node_modules/@xrkseek/xrk-attachment/lib/index.js +1 -1
- package/node_modules/@xrkseek/xrk-attachment/lib/invariant.js +1 -0
- package/node_modules/@xrkseek/xrk-attachment/lib/types/brand.js +10 -0
- package/node_modules/@xrkseek/xrk-attachment/lib/types/error.js +48 -0
- package/node_modules/@xrkseek/xrk-attachment/lib/types/index.js +42 -0
- package/node_modules/@xrkseek/xrk-attachment/lib/types/invariant.js +16 -0
- package/node_modules/@xrkseek/xrk-attachment/lib/types/types.d.ts +6 -0
- package/node_modules/@xrkseek/xrk-attachment/lib/types/types.js +3 -0
- package/node_modules/@xrkseek/xrk-attachment/package.json +1 -0
- package/node_modules/@xrkseek/xrk-brand/lib/index.js +1 -1
- package/node_modules/@xrkseek/xrk-brand/lib/invariant.js +1 -0
- package/node_modules/@xrkseek/xrk-brand/lib/types/index.js +24 -0
- package/node_modules/@xrkseek/xrk-brand/lib/types/invariant.js +22 -0
- package/node_modules/@xrkseek/xrk-brand/package.json +1 -0
- package/node_modules/@xrkseek/xrk-commands/lib/index.js +1 -1
- package/node_modules/@xrkseek/xrk-commands/lib/invariant.js +1 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/README.md +46 -46
- package/node_modules/@xrkseek/xrk-file-reference-local/README.zh.md +46 -46
- package/node_modules/@xrkseek/xrk-file-reference-local/package.json +30 -30
- package/node_modules/@xrkseek/xrk-invariants/lib/index.js +1 -1
- package/node_modules/@xrkseek/xrk-invariants/lib/invariant.js +1 -0
- package/node_modules/@xrkseek/xrk-invariants/lib/types/index.js +148 -0
- package/node_modules/@xrkseek/xrk-invariants/lib/types/invariant.js +22 -0
- package/node_modules/@xrkseek/xrk-invariants/package.json +1 -0
- package/node_modules/@xrkseek/xrk-llm/lib/index.js +1 -1
- package/node_modules/@xrkseek/xrk-llm/lib/invariant.js +1 -0
- package/node_modules/@xrkseek/xrk-llm/lib/types/index.js +4 -0
- package/node_modules/@xrkseek/xrk-llm/lib/types/types.d.ts +11 -0
- package/node_modules/@xrkseek/xrk-permission-presets/lib/index.js +1 -1
- package/node_modules/@xrkseek/xrk-permission-presets/lib/invariant.js +1 -0
- package/node_modules/@xrkseek/xrk-scope/lib/index.js +1 -0
- package/node_modules/@xrkseek/xrk-scope/lib/types/index.d.ts +129 -0
- package/node_modules/@xrkseek/xrk-scope/lib/types/index.js +243 -0
- package/node_modules/@xrkseek/xrk-scope/package.json +34 -0
- package/node_modules/@xrkseek/xrk-session/lib/index.js +1 -1
- package/node_modules/@xrkseek/xrk-session/lib/invariant.js +1 -0
- package/node_modules/@xrkseek/xrk-session-projection/lib/index.js +1 -1
- package/node_modules/@xrkseek/xrk-session-projection/lib/invariant.js +1 -0
- package/node_modules/@xrkseek/xrk-session-reference/README.md +50 -50
- package/node_modules/@xrkseek/xrk-session-reference/README.zh.md +50 -50
- package/node_modules/@xrkseek/xrk-session-reference/dist/prepare-face.js +13 -13
- package/node_modules/@xrkseek/xrk-session-reference/dist/spill.js +2 -2
- package/node_modules/@xrkseek/xrk-session-reference/package.json +56 -56
- package/node_modules/@xrkseek/xrk-settings/lib/index.js +1 -638
- package/node_modules/@xrkseek/xrk-settings/lib/invariant.js +1 -67
- package/node_modules/@xrkseek/xrk-system-prompt/package.json +15 -15
- package/node_modules/@xrkseek/xrk-system-prompt/src/index.ts +144 -144
- package/node_modules/@xrkseek/xrk-token-meter/README.i18n.yaml +6 -0
- package/node_modules/@xrkseek/xrk-token-meter/README.md +68 -0
- package/node_modules/@xrkseek/xrk-token-meter/README.zh.md +68 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/index.js +1 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/invariant.js +1 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/breakdown-projection.d.ts +29 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/breakdown-projection.js +56 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/client.d.ts +9 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/client.js +7 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/estimate.d.ts +42 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/estimate.js +79 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/index.d.ts +62 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/index.js +250 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/invariant.d.ts +16 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/invariant.js +30 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/projection.d.ts +74 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/projection.js +7 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/surface-fold.d.ts +38 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/surface-fold.js +47 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/surface-projection.d.ts +59 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/surface-projection.js +66 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/turn-usage.d.ts +33 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/turn-usage.js +247 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/types.d.ts +44 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/types.js +7 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/usage-projection.d.ts +64 -0
- package/node_modules/@xrkseek/xrk-token-meter/lib/types/usage-projection.js +161 -0
- package/node_modules/@xrkseek/xrk-token-meter/package.json +57 -0
- package/node_modules/@xrkseek/xrk-tools/lib/index.js +1 -1
- package/node_modules/@xrkseek/xrk-tools/lib/invariant.js +1 -1
- package/node_modules/@xrkseek/xrk-tools/src/presentation.ts +39 -39
- package/node_modules/@xrkseek/xrk-typert-protocol/lib/index.js +1 -1
- package/node_modules/@xrkseek/xrk-typert-protocol/lib/invariant.js +1 -0
- package/node_modules/@xrkseek/xrk-workflow/README.md +73 -73
- package/node_modules/@xrkseek/xrk-workflow/README.zh.md +72 -72
- package/node_modules/@xrkseek/xrk-workflow/lib/types/index.js +118 -118
- package/package.json +7 -1
- package/node_modules/@xrkseek/llm/dist/reasoning-effort.d.ts +0 -14
- package/node_modules/@xrkseek/llm/dist/reasoning-effort.d.ts.map +0 -1
- package/node_modules/@xrkseek/llm/dist/reasoning-effort.js +0 -21
- package/node_modules/@xrkseek/llm/dist/reasoning-effort.js.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/index.d.mts +0 -3734
- package/node_modules/@xrkseek/server-face/dist/index.d.mts.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/index.mjs +0 -22085
- package/node_modules/@xrkseek/server-face/dist/index.mjs.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/model-reasoning.d.ts +0 -51
- package/node_modules/@xrkseek/server-face/dist/model-reasoning.d.ts.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/model-reasoning.js +0 -104
- package/node_modules/@xrkseek/server-face/dist/model-reasoning.js.map +0 -1
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty-agent.d.ts +0 -2
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty-agent.d.ts.map +0 -1
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty-agent.js +0 -98
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty-agent.js.map +0 -1
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty-worker.d.ts +0 -18
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty-worker.d.ts.map +0 -1
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty-worker.js +0 -141
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty-worker.js.map +0 -1
- package/node_modules/@xrkseek/server-host/dist/win-fd-inherit.d.ts +0 -30
- package/node_modules/@xrkseek/server-host/dist/win-fd-inherit.d.ts.map +0 -1
- package/node_modules/@xrkseek/server-host/dist/win-fd-inherit.js +0 -96
- package/node_modules/@xrkseek/server-host/dist/win-fd-inherit.js.map +0 -1
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
# `@xrkseek/a2a`
|
|
2
|
-
|
|
3
|
-
> **读者**:集成者 · 维护者
|
|
4
|
-
|
|
5
|
-
可选 **A2A(Agent-to-Agent)** 客户端:对标 Hermes `plugins/platforms/a2a` 的出站工具集核心——`context_id` 磁盘持久、历史召回、环路上限。
|
|
6
|
-
|
|
7
|
-
## 能力
|
|
8
|
-
|
|
9
|
-
| 面 | 行为 |
|
|
10
|
-
|----|------|
|
|
11
|
-
| 持久 | `{XRK_HOME}/a2a_conversations/<context>.jsonl`(可用 `XRK_A2A_CONVERSATIONS_DIR`) |
|
|
12
|
-
| 历史 | `a2a_history(context_id)` / `loadConversation` |
|
|
13
|
-
| 环路 | `TurnTracker` + `XRK_A2A_MAX_PINGPONG_TURNS`(默认 5,硬顶 20) |
|
|
14
|
-
| 工具 | `a2a_discover` · `a2a_call` · `a2a_list` · `a2a_history` |
|
|
15
|
-
|
|
16
|
-
## 启用
|
|
17
|
-
|
|
18
|
-
进程插件:`extensions/a2a`(`XRK_PLUGINS_DIR=./extensions` 或 `xrkh plugin add`)。
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
# 对等体
|
|
22
|
-
set XRK_A2A_AGENTS={"researcher":{"url":"http://127.0.0.1:9900","auth":{"token":"…"}}}
|
|
23
|
-
# 环路上限(可选)
|
|
24
|
-
set XRK_A2A_MAX_PINGPONG_TURNS=5
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
或写 `{XRK_HOME}/a2a_agents.json`。
|
|
28
|
-
|
|
29
|
-
## 入站(opt-in)
|
|
30
|
-
|
|
31
|
-
`XRK_A2A_INBOUND=1` 时 Host 挂载:
|
|
32
|
-
|
|
33
|
-
| 路径 | 行为 |
|
|
34
|
-
|------|------|
|
|
35
|
-
| `GET /.well-known/agent-card.json`(兼 `agent.json`) | A2A v1.0 Agent Card |
|
|
36
|
-
| `POST /a2a` | JSON-RPC:`message/send` **与** `SendMessage`(持久化 + TaskStore + **Face 会话注入**);`tasks/get`·`GetTask` / `tasks/list`·`ListTasks` / `tasks/cancel`·`CancelTask` |
|
|
37
|
-
| `GET /a2a/health` | 健康检查(含已支持 methods) |
|
|
38
|
-
|
|
39
|
-
出站 `a2a_call` 默认发 `SendMessage`;若对端回 method-not-found,再试 `message/send`。
|
|
40
|
-
|
|
41
|
-
会话映射:默认 `a2a-<contextId>`;`XRK_A2A_INBOUND_SESSION` 可钉死单一会话。无 bearer / peer token 时仅环回语义可用(仍建议本机);设 `XRK_A2A_BEARER_TOKEN` 或 `XRK_A2A_PEER_TOKENS` 启用鉴权。`XRK_A2A_PUBLIC_URL` 覆盖 Card 上的 url。
|
|
42
|
-
|
|
43
|
-
## 未做(本切片之后)
|
|
44
|
-
|
|
45
|
-
SSE `message/stream`、tasks/subscribe、push notifications、orchestrate、trusted-peers / rate-limit — 见 Hermes DESIGN。
|
|
1
|
+
# `@xrkseek/a2a`
|
|
2
|
+
|
|
3
|
+
> **读者**:集成者 · 维护者
|
|
4
|
+
|
|
5
|
+
可选 **A2A(Agent-to-Agent)** 客户端:对标 Hermes `plugins/platforms/a2a` 的出站工具集核心——`context_id` 磁盘持久、历史召回、环路上限。
|
|
6
|
+
|
|
7
|
+
## 能力
|
|
8
|
+
|
|
9
|
+
| 面 | 行为 |
|
|
10
|
+
|----|------|
|
|
11
|
+
| 持久 | `{XRK_HOME}/a2a_conversations/<context>.jsonl`(可用 `XRK_A2A_CONVERSATIONS_DIR`) |
|
|
12
|
+
| 历史 | `a2a_history(context_id)` / `loadConversation` |
|
|
13
|
+
| 环路 | `TurnTracker` + `XRK_A2A_MAX_PINGPONG_TURNS`(默认 5,硬顶 20) |
|
|
14
|
+
| 工具 | `a2a_discover` · `a2a_call` · `a2a_list` · `a2a_history` |
|
|
15
|
+
|
|
16
|
+
## 启用
|
|
17
|
+
|
|
18
|
+
进程插件:`extensions/a2a`(`XRK_PLUGINS_DIR=./extensions` 或 `xrkh plugin add`)。
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# 对等体
|
|
22
|
+
set XRK_A2A_AGENTS={"researcher":{"url":"http://127.0.0.1:9900","auth":{"token":"…"}}}
|
|
23
|
+
# 环路上限(可选)
|
|
24
|
+
set XRK_A2A_MAX_PINGPONG_TURNS=5
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
或写 `{XRK_HOME}/a2a_agents.json`。
|
|
28
|
+
|
|
29
|
+
## 入站(opt-in)
|
|
30
|
+
|
|
31
|
+
`XRK_A2A_INBOUND=1` 时 Host 挂载:
|
|
32
|
+
|
|
33
|
+
| 路径 | 行为 |
|
|
34
|
+
|------|------|
|
|
35
|
+
| `GET /.well-known/agent-card.json`(兼 `agent.json`) | A2A v1.0 Agent Card |
|
|
36
|
+
| `POST /a2a` | JSON-RPC:`message/send` **与** `SendMessage`(持久化 + TaskStore + **Face 会话注入**);`tasks/get`·`GetTask` / `tasks/list`·`ListTasks` / `tasks/cancel`·`CancelTask` |
|
|
37
|
+
| `GET /a2a/health` | 健康检查(含已支持 methods) |
|
|
38
|
+
|
|
39
|
+
出站 `a2a_call` 默认发 `SendMessage`;若对端回 method-not-found,再试 `message/send`。
|
|
40
|
+
|
|
41
|
+
会话映射:默认 `a2a-<contextId>`;`XRK_A2A_INBOUND_SESSION` 可钉死单一会话。无 bearer / peer token 时仅环回语义可用(仍建议本机);设 `XRK_A2A_BEARER_TOKEN` 或 `XRK_A2A_PEER_TOKENS` 启用鉴权。`XRK_A2A_PUBLIC_URL` 覆盖 Card 上的 url。
|
|
42
|
+
|
|
43
|
+
## 未做(本切片之后)
|
|
44
|
+
|
|
45
|
+
SSE `message/stream`、tasks/subscribe、push notifications、orchestrate、trusted-peers / rate-limit — 见 Hermes DESIGN。
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# `@xrkseek/attachment`
|
|
2
|
-
|
|
3
|
-
Durable **image** + generic-file blob store (DSH-aligned). Session events hold
|
|
4
|
-
`ImageAttachmentRef` / `FileAttachmentRef` only; bytes live here.
|
|
5
|
-
|
|
6
|
-
## Exports
|
|
7
|
-
|
|
8
|
-
- `createMemoryAttachmentStore` — content-addressed in-memory store
|
|
9
|
-
- `AttachmentStore` — `validateImage` / `saveImages` / `readImage` / `readImageRequest`
|
|
10
|
-
- `AttachmentError` — stable `code` (`IMAGE_TOO_LARGE`, `IMAGE_TOO_MANY_PIXELS`, …)
|
|
11
|
-
- `sniffImageMediaType` / `readImageSize` — header sniff + intrinsic size
|
|
12
|
-
- `requestImageDimensions` / `longEdgeDimensions` — pure projection geometry
|
|
13
|
-
- `estimateImageTokens` / `requestImageTokenDimensions` — DeepSeek V41 vision-token
|
|
14
|
-
accounting (soft-budget + route request projection)
|
|
15
|
-
- `offloadRequestImages` — wire safety net for oversized base64 payloads
|
|
16
|
-
|
|
17
|
-
## Non-goals (v1)
|
|
18
|
-
|
|
19
|
-
- Disk / `$HOME` layout (see `@xrkseek/attachment-local`)
|
|
20
|
-
- PDF / audio / video
|
|
21
|
-
- GC / retention
|
|
22
|
-
|
|
23
|
-
文件地图:[docs/modules/attachment.md](../../docs/modules/attachment.md)(若有)· [docs/status.md](../../docs/status.md)
|
|
1
|
+
# `@xrkseek/attachment`
|
|
2
|
+
|
|
3
|
+
Durable **image** + generic-file blob store (DSH-aligned). Session events hold
|
|
4
|
+
`ImageAttachmentRef` / `FileAttachmentRef` only; bytes live here.
|
|
5
|
+
|
|
6
|
+
## Exports
|
|
7
|
+
|
|
8
|
+
- `createMemoryAttachmentStore` — content-addressed in-memory store
|
|
9
|
+
- `AttachmentStore` — `validateImage` / `saveImages` / `readImage` / `readImageRequest`
|
|
10
|
+
- `AttachmentError` — stable `code` (`IMAGE_TOO_LARGE`, `IMAGE_TOO_MANY_PIXELS`, …)
|
|
11
|
+
- `sniffImageMediaType` / `readImageSize` — header sniff + intrinsic size
|
|
12
|
+
- `requestImageDimensions` / `longEdgeDimensions` — pure projection geometry
|
|
13
|
+
- `estimateImageTokens` / `requestImageTokenDimensions` — DeepSeek V41 vision-token
|
|
14
|
+
accounting (soft-budget + route request projection)
|
|
15
|
+
- `offloadRequestImages` — wire safety net for oversized base64 payloads
|
|
16
|
+
|
|
17
|
+
## Non-goals (v1)
|
|
18
|
+
|
|
19
|
+
- Disk / `$HOME` layout (see `@xrkseek/attachment-local`)
|
|
20
|
+
- PDF / audio / video
|
|
21
|
+
- GC / retention
|
|
22
|
+
|
|
23
|
+
文件地图:[docs/modules/attachment.md](../../docs/modules/attachment.md)(若有)· [docs/status.md](../../docs/status.md)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# @xrkseek/attachment-local
|
|
2
|
-
|
|
3
|
-
Disk-backed attachment store under `{XRK_HOME}/attachments/v1` with sharp
|
|
4
|
-
normalization. Deterministic `readImageRequest` variants live under the
|
|
5
|
-
rebuildable `{XRK_HOME}/cache/attachments/request-images/` tree (via
|
|
6
|
-
`xrkCachePath`); clearing that cache never deletes durable originals.
|
|
1
|
+
# @xrkseek/attachment-local
|
|
2
|
+
|
|
3
|
+
Disk-backed attachment store under `{XRK_HOME}/attachments/v1` with sharp
|
|
4
|
+
normalization. Deterministic `readImageRequest` variants live under the
|
|
5
|
+
rebuildable `{XRK_HOME}/cache/attachments/request-images/` tree (via
|
|
6
|
+
`xrkCachePath`); clearing that cache never deletes durable originals.
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xrkseek/attachment-local",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"type": "module",
|
|
5
|
-
"exports": {
|
|
6
|
-
".": {
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"import": "./dist/index.js",
|
|
9
|
-
"default": "./dist/index.js"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"files": ["dist", "README.md"],
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"@xrkseek/attachment": "workspace:*",
|
|
15
|
-
"@xrkseek/protocol": "workspace:*",
|
|
16
|
-
"@xrkseek/xrk-home-paths": "workspace:*",
|
|
17
|
-
"sharp": "^0.35.3"
|
|
18
|
-
},
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/xrkseek/XRK-harness.git",
|
|
23
|
-
"directory": "packages/attachment-local"
|
|
24
|
-
},
|
|
25
|
-
"private": true
|
|
26
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xrkseek/attachment-local",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": {
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"import": "./dist/index.js",
|
|
9
|
+
"default": "./dist/index.js"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"files": ["dist", "README.md"],
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@xrkseek/attachment": "workspace:*",
|
|
15
|
+
"@xrkseek/protocol": "workspace:*",
|
|
16
|
+
"@xrkseek/xrk-home-paths": "workspace:*",
|
|
17
|
+
"sharp": "^0.35.3"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/xrkseek/XRK-harness.git",
|
|
23
|
+
"directory": "packages/attachment-local"
|
|
24
|
+
},
|
|
25
|
+
"private": true
|
|
26
|
+
}
|
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
# @xrkseek/checkpoint
|
|
2
|
-
|
|
3
|
-
回合级**工作区文件快照**(turn rewind 的可恢复侧)。
|
|
4
|
-
|
|
5
|
-
A turn-scoped **workspace file snapshot** store: the recoverable half of turn
|
|
6
|
-
rewind.
|
|
7
|
-
|
|
8
|
-
## 为什么是影子 git
|
|
9
|
-
|
|
10
|
-
快照提交落在**独立**的 `--git-dir`(`{XRK_HOME}/checkpoints/<workspace-id>/git`,
|
|
11
|
-
默认 `~/.xrk/checkpoints/<workspace-id>/git`),`--work-tree` 指向工作区。因此:
|
|
12
|
-
|
|
13
|
-
- 工作区本身不是 git 仓库也能快照;
|
|
14
|
-
- 永不读/写用户自己的 `.git`,不会改写操作者历史;
|
|
15
|
-
- **不在工作区里生成任何目录**——快照数据全部归置到 XRK home,
|
|
16
|
-
`XRK_HOME` / `XRK_DSH_HOME` / `DSH_HOME` 可覆盖默认 `~/.xrk`;
|
|
17
|
-
- 每条命令都带 `core.autocrlf=false`,Windows 上 restore 不会重写行尾。
|
|
18
|
-
|
|
19
|
-
`snapshot()` 用 `commit --allow-empty`,所以「这一回合没改文件」也仍是一个
|
|
20
|
-
**可恢复点**(它标记的是状态,而不是差异)。
|
|
21
|
-
|
|
22
|
-
## API
|
|
23
|
-
|
|
24
|
-
```ts
|
|
25
|
-
import { WorkspaceCheckpointStore, createProcessGitRunner } from "@xrkseek/checkpoint";
|
|
26
|
-
|
|
27
|
-
const store = new WorkspaceCheckpointStore({
|
|
28
|
-
workspaceDir: "/path/to/ws",
|
|
29
|
-
runGit: createProcessGitRunner(), // 注入:测试可传假 runner
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
// 回合开始前
|
|
33
|
-
const record = await store.snapshot({ sessionId: "s1", seq: 12, label: "pre-edit" });
|
|
34
|
-
|
|
35
|
-
// 改文件 · 跑工具 · …
|
|
36
|
-
|
|
37
|
-
// 预演:会说清哪些文件不在快照里(不会被误删)
|
|
38
|
-
const plan = await store.planRestore(record.id);
|
|
39
|
-
// → { id, fileCount, extra: ["scratch/new.txt"] }
|
|
40
|
-
|
|
41
|
-
// 回退:默认保留 extra;prune 才删除它们(ignored 文件永不触碰)
|
|
42
|
-
const result = await store.restore(record.id, { prune: false });
|
|
43
|
-
// → { id, fileCount, extra, restored, removed }
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
## 语义
|
|
47
|
-
|
|
48
|
-
| 方法 | 行为 |
|
|
49
|
-
| ------------------------ | -------------------------------------------------------- |
|
|
50
|
-
| `snapshot(input)` | `add -A` → `commit --allow-empty` → 索引追加记录 |
|
|
51
|
-
| `list()` | 时间序(旧 → 新)记录 |
|
|
52
|
-
| `planRestore(id)` | 预演:快照文件数 + 快照不知道的 untracked 文件 |
|
|
53
|
-
| `restore(id, { prune })` | `checkout --force <id> -- .`;`prune` 时追加 `clean -fd` |
|
|
54
|
-
| `prune(keep)` | 只裁剪索引,保留最新 `keep` 条(影子提交仍在) |
|
|
55
|
-
|
|
56
|
-
- `restore` 会**恢复**快照里存在、之后被删除的文件;
|
|
57
|
-
- 快照之后**新建**的文件默认保留(列在 `extra` 里);
|
|
58
|
-
- `prune: true` 才删除它们,且 `clean` 不加 `-x`,**ignored 路径(如
|
|
59
|
-
`node_modules`)永不删除**。
|
|
60
|
-
|
|
61
|
-
## 错误
|
|
62
|
-
|
|
63
|
-
`WorkspaceCheckpointError.code`:`bad-argument` · `git-unavailable` ·
|
|
64
|
-
`init-failed` · `snapshot-failed` · `restore-failed` · `unknown-checkpoint`。
|
|
65
|
-
|
|
66
|
-
`git` 不在 PATH 时 runner 解析为 `{ code: -1 }`,store 抛 `git-unavailable`
|
|
67
|
-
而不是崩溃。
|
|
68
|
-
|
|
69
|
-
## Face / Host 暴露
|
|
70
|
-
|
|
71
|
-
库本身无 RPC。产品面在 `@xrkseek/server-face`:
|
|
72
|
-
|
|
73
|
-
| 入口 | 作用 |
|
|
74
|
-
| ---- | ---- |
|
|
75
|
-
| `session.checkpoint.list` · `planRestore` · `restore` · `snapshot` | Face unary |
|
|
76
|
-
| `/rollback` | 斜杠列表 / 回退 / `plan` 预演 |
|
|
77
|
-
| 消息 **Restore** | `/rollback seq:N`(与 **Branch** / `session.fork` 并列,语义不同) |
|
|
78
|
-
| Host `snapshotSessionWorkspace` | 每轮 `continueTurn` 前自动打点(`XRK_CHECKPOINTS=0` 关闭) |
|
|
79
|
-
|
|
80
|
-
**fork-cut ≠ restore**:`session.fork` 只切会话血缘;本包只回退工作区文件。详见 [docs/turn-rewind.md](../../docs/turn-rewind.md)。
|
|
81
|
-
|
|
82
|
-
## 测试
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
npx vitest run packages/checkpoint
|
|
86
|
-
npx vitest run packages/server/face/tests/checkpoint.test.ts
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
`tests/store.test.ts` 用假 runner 断言 git argv 序列;`tests/shadow-git.integration.test.ts`
|
|
90
|
-
用真实 git 验证 restore 后内容回退、用户 `.git` 未被改写。
|
|
1
|
+
# @xrkseek/checkpoint
|
|
2
|
+
|
|
3
|
+
回合级**工作区文件快照**(turn rewind 的可恢复侧)。
|
|
4
|
+
|
|
5
|
+
A turn-scoped **workspace file snapshot** store: the recoverable half of turn
|
|
6
|
+
rewind.
|
|
7
|
+
|
|
8
|
+
## 为什么是影子 git
|
|
9
|
+
|
|
10
|
+
快照提交落在**独立**的 `--git-dir`(`{XRK_HOME}/checkpoints/<workspace-id>/git`,
|
|
11
|
+
默认 `~/.xrk/checkpoints/<workspace-id>/git`),`--work-tree` 指向工作区。因此:
|
|
12
|
+
|
|
13
|
+
- 工作区本身不是 git 仓库也能快照;
|
|
14
|
+
- 永不读/写用户自己的 `.git`,不会改写操作者历史;
|
|
15
|
+
- **不在工作区里生成任何目录**——快照数据全部归置到 XRK home,
|
|
16
|
+
`XRK_HOME` / `XRK_DSH_HOME` / `DSH_HOME` 可覆盖默认 `~/.xrk`;
|
|
17
|
+
- 每条命令都带 `core.autocrlf=false`,Windows 上 restore 不会重写行尾。
|
|
18
|
+
|
|
19
|
+
`snapshot()` 用 `commit --allow-empty`,所以「这一回合没改文件」也仍是一个
|
|
20
|
+
**可恢复点**(它标记的是状态,而不是差异)。
|
|
21
|
+
|
|
22
|
+
## API
|
|
23
|
+
|
|
24
|
+
```ts
|
|
25
|
+
import { WorkspaceCheckpointStore, createProcessGitRunner } from "@xrkseek/checkpoint";
|
|
26
|
+
|
|
27
|
+
const store = new WorkspaceCheckpointStore({
|
|
28
|
+
workspaceDir: "/path/to/ws",
|
|
29
|
+
runGit: createProcessGitRunner(), // 注入:测试可传假 runner
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
// 回合开始前
|
|
33
|
+
const record = await store.snapshot({ sessionId: "s1", seq: 12, label: "pre-edit" });
|
|
34
|
+
|
|
35
|
+
// 改文件 · 跑工具 · …
|
|
36
|
+
|
|
37
|
+
// 预演:会说清哪些文件不在快照里(不会被误删)
|
|
38
|
+
const plan = await store.planRestore(record.id);
|
|
39
|
+
// → { id, fileCount, extra: ["scratch/new.txt"] }
|
|
40
|
+
|
|
41
|
+
// 回退:默认保留 extra;prune 才删除它们(ignored 文件永不触碰)
|
|
42
|
+
const result = await store.restore(record.id, { prune: false });
|
|
43
|
+
// → { id, fileCount, extra, restored, removed }
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## 语义
|
|
47
|
+
|
|
48
|
+
| 方法 | 行为 |
|
|
49
|
+
| ------------------------ | -------------------------------------------------------- |
|
|
50
|
+
| `snapshot(input)` | `add -A` → `commit --allow-empty` → 索引追加记录 |
|
|
51
|
+
| `list()` | 时间序(旧 → 新)记录 |
|
|
52
|
+
| `planRestore(id)` | 预演:快照文件数 + 快照不知道的 untracked 文件 |
|
|
53
|
+
| `restore(id, { prune })` | `checkout --force <id> -- .`;`prune` 时追加 `clean -fd` |
|
|
54
|
+
| `prune(keep)` | 只裁剪索引,保留最新 `keep` 条(影子提交仍在) |
|
|
55
|
+
|
|
56
|
+
- `restore` 会**恢复**快照里存在、之后被删除的文件;
|
|
57
|
+
- 快照之后**新建**的文件默认保留(列在 `extra` 里);
|
|
58
|
+
- `prune: true` 才删除它们,且 `clean` 不加 `-x`,**ignored 路径(如
|
|
59
|
+
`node_modules`)永不删除**。
|
|
60
|
+
|
|
61
|
+
## 错误
|
|
62
|
+
|
|
63
|
+
`WorkspaceCheckpointError.code`:`bad-argument` · `git-unavailable` ·
|
|
64
|
+
`init-failed` · `snapshot-failed` · `restore-failed` · `unknown-checkpoint`。
|
|
65
|
+
|
|
66
|
+
`git` 不在 PATH 时 runner 解析为 `{ code: -1 }`,store 抛 `git-unavailable`
|
|
67
|
+
而不是崩溃。
|
|
68
|
+
|
|
69
|
+
## Face / Host 暴露
|
|
70
|
+
|
|
71
|
+
库本身无 RPC。产品面在 `@xrkseek/server-face`:
|
|
72
|
+
|
|
73
|
+
| 入口 | 作用 |
|
|
74
|
+
| ---- | ---- |
|
|
75
|
+
| `session.checkpoint.list` · `planRestore` · `restore` · `snapshot` | Face unary |
|
|
76
|
+
| `/rollback` | 斜杠列表 / 回退 / `plan` 预演 |
|
|
77
|
+
| 消息 **Restore** | `/rollback seq:N`(与 **Branch** / `session.fork` 并列,语义不同) |
|
|
78
|
+
| Host `snapshotSessionWorkspace` | 每轮 `continueTurn` 前自动打点(`XRK_CHECKPOINTS=0` 关闭) |
|
|
79
|
+
|
|
80
|
+
**fork-cut ≠ restore**:`session.fork` 只切会话血缘;本包只回退工作区文件。详见 [docs/turn-rewind.md](../../docs/turn-rewind.md)。
|
|
81
|
+
|
|
82
|
+
## 测试
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
npx vitest run packages/checkpoint
|
|
86
|
+
npx vitest run packages/server/face/tests/checkpoint.test.ts
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
`tests/store.test.ts` 用假 runner 断言 git argv 序列;`tests/shadow-git.integration.test.ts`
|
|
90
|
+
用真实 git 验证 restore 后内容回退、用户 `.git` 未被改写。
|
|
@@ -123,6 +123,27 @@ export declare class WorkspaceCheckpointStore {
|
|
|
123
123
|
* restorable by sha when the operator kept a copy.
|
|
124
124
|
*/
|
|
125
125
|
prune(keep: number): string[];
|
|
126
|
+
/**
|
|
127
|
+
* Pack the shadow repo's loose objects when git decides it is worth it.
|
|
128
|
+
*
|
|
129
|
+
* {@link baseArgs} disables `maintenance.auto` so a background maintenance
|
|
130
|
+
* run can never fight a concurrent `add`/`commit` for the object and index
|
|
131
|
+
* locks. The side effect is that nothing ever packs what those commits
|
|
132
|
+
* produce: a live shadow repo reached 27,828 loose objects / 12.79 GiB with
|
|
133
|
+
* zero packs. An explicit `gc --auto` is the cheap half of that trade — git
|
|
134
|
+
* returns immediately while the loose count is under `gc.auto`, and when it
|
|
135
|
+
* does run it packs in one pass and only drops unreachable objects older than
|
|
136
|
+
* `gc.pruneExpire` (two weeks by default), so a recently dropped index record
|
|
137
|
+
* stays restorable by sha.
|
|
138
|
+
*
|
|
139
|
+
* Call this from an idle moment (startup), never per commit: packing is I/O
|
|
140
|
+
* heavy and the caller must not be holding a snapshot lock.
|
|
141
|
+
* @param budgetMs - hard git budget; a timeout leaves the repo untouched.
|
|
142
|
+
* @returns true when the loose-object count actually went down.
|
|
143
|
+
*/
|
|
144
|
+
reclaim(budgetMs?: number): Promise<boolean>;
|
|
145
|
+
/** Loose object count from `git count-objects -v` (0 when git cannot answer). */
|
|
146
|
+
private looseObjectCount;
|
|
126
147
|
private loadIndex;
|
|
127
148
|
private saveIndex;
|
|
128
149
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../src/store.ts"],"names":[],"mappings":"AAKA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,aAAa,EAElB,KAAK,yBAAyB,EAC/B,MAAM,YAAY,CAAC;AAKpB;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,QAAS,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,sBAAsB,mBAAmB,CAAC;AACvD,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAEhE,yDAAyD;AACzD,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CA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removed;
|
|
353
353
|
}
|
|
354
|
+
/**
|
|
355
|
+
* Pack the shadow repo's loose objects when git decides it is worth it.
|
|
356
|
+
*
|
|
357
|
+
* {@link baseArgs} disables `maintenance.auto` so a background maintenance
|
|
358
|
+
* run can never fight a concurrent `add`/`commit` for the object and index
|
|
359
|
+
* locks. The side effect is that nothing ever packs what those commits
|
|
360
|
+
* produce: a live shadow repo reached 27,828 loose objects / 12.79 GiB with
|
|
361
|
+
* zero packs. An explicit `gc --auto` is the cheap half of that trade — git
|
|
362
|
+
* returns immediately while the loose count is under `gc.auto`, and when it
|
|
363
|
+
* does run it packs in one pass and only drops unreachable objects older than
|
|
364
|
+
* `gc.pruneExpire` (two weeks by default), so a recently dropped index record
|
|
365
|
+
* stays restorable by sha.
|
|
366
|
+
*
|
|
367
|
+
* Call this from an idle moment (startup), never per commit: packing is I/O
|
|
368
|
+
* heavy and the caller must not be holding a snapshot lock.
|
|
369
|
+
* @param budgetMs - hard git budget; a timeout leaves the repo untouched.
|
|
370
|
+
* @returns true when the loose-object count actually went down.
|
|
371
|
+
*/
|
|
372
|
+
async reclaim(budgetMs = 10 * 60_000) {
|
|
373
|
+
const before = await this.looseObjectCount();
|
|
374
|
+
const result = await this.exec(["gc", "--auto", "--quiet"], budgetMs);
|
|
375
|
+
if (result.timedOut || result.code !== 0)
|
|
376
|
+
return false;
|
|
377
|
+
return (await this.looseObjectCount()) < before;
|
|
378
|
+
}
|
|
379
|
+
/** Loose object count from `git count-objects -v` (0 when git cannot answer). */
|
|
380
|
+
async looseObjectCount() {
|
|
381
|
+
const result = await this.exec(["count-objects", "-v"], 30_000);
|
|
382
|
+
if (result.code !== 0)
|
|
383
|
+
return 0;
|
|
384
|
+
const match = /^count:\s*(\d+)$/m.exec(result.stdout);
|
|
385
|
+
return match === null ? 0 : Number(match[1]);
|
|
386
|
+
}
|
|
354
387
|
loadIndex() {
|
|
355
388
|
const raw = readJsonFile(this.indexFile);
|
|
356
389
|
const records = raw?.records;
|
|
@@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AO,EAAE,IAAI,CAAC,OAAO;SACG,CAAC,CAAC;IAC9B,CAAC;CACF"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xrkseek/checkpoint",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"type": "module",
|
|
5
|
-
"exports": {
|
|
6
|
-
".": {
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"import": "./dist/index.js",
|
|
9
|
-
"default": "./dist/index.js"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"files": [
|
|
13
|
-
"dist",
|
|
14
|
-
"README.md"
|
|
15
|
-
],
|
|
16
|
-
"license": "MIT",
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/xrkseek/XRK-harness.git",
|
|
20
|
-
"directory": "packages/checkpoint"
|
|
21
|
-
},
|
|
22
|
-
"private": true,
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"@xrkseek/xrk-home-paths": "workspace:*"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xrkseek/checkpoint",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": {
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"import": "./dist/index.js",
|
|
9
|
+
"default": "./dist/index.js"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"README.md"
|
|
15
|
+
],
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/xrkseek/XRK-harness.git",
|
|
20
|
+
"directory": "packages/checkpoint"
|
|
21
|
+
},
|
|
22
|
+
"private": true,
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@xrkseek/xrk-home-paths": "workspace:*"
|
|
25
|
+
}
|
|
26
|
+
}
|