@xrkseek/harness-cli 0.0.10 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -6
- package/dist/commands/plugin.d.ts.map +1 -1
- package/dist/commands/plugin.js +4 -3
- package/dist/commands/plugin.js.map +1 -1
- package/dist/commands/restart.d.ts.map +1 -1
- package/dist/commands/restart.js +16 -7
- package/dist/commands/restart.js.map +1 -1
- package/dist/commands/serve.d.ts.map +1 -1
- package/dist/commands/serve.js +15 -3
- package/dist/commands/serve.js.map +1 -1
- package/dist/host-lock.d.ts +15 -0
- package/dist/host-lock.d.ts.map +1 -0
- package/dist/host-lock.js +64 -0
- package/dist/host-lock.js.map +1 -0
- package/dist/parse-args.d.ts.map +1 -1
- package/dist/parse-args.js +13 -10
- package/dist/parse-args.js.map +1 -1
- package/dist/plugin/install-client.d.ts.map +1 -1
- package/dist/plugin/install-client.js +80 -2
- package/dist/plugin/install-client.js.map +1 -1
- package/dist/port.d.ts +20 -2
- package/dist/port.d.ts.map +1 -1
- package/dist/port.js +147 -28
- package/dist/port.js.map +1 -1
- package/node_modules/@img/colour/LICENSE.md +82 -0
- package/node_modules/@img/colour/README.md +15 -0
- package/node_modules/@img/colour/color.cjs +1596 -0
- package/node_modules/@img/colour/index.cjs +1 -0
- package/node_modules/@img/colour/index.d.ts +929 -0
- package/node_modules/@img/colour/package.json +58 -0
- package/node_modules/@img/sharp-win32-x64/LICENSE +191 -0
- package/node_modules/@img/sharp-win32-x64/README.md +59 -0
- package/node_modules/@img/sharp-win32-x64/index.cjs +1 -0
- package/node_modules/@img/sharp-win32-x64/lib/libvips-42.dll +0 -0
- package/node_modules/@img/sharp-win32-x64/lib/libvips-cpp-8.18.3.dll +0 -0
- package/node_modules/@img/sharp-win32-x64/lib/sharp-win32-x64-0.35.3.node +0 -0
- package/node_modules/@img/sharp-win32-x64/package.json +40 -0
- package/node_modules/@img/sharp-win32-x64/versions.json +30 -0
- package/node_modules/@types/node/LICENSE +21 -0
- package/node_modules/@types/node/README.md +15 -0
- package/node_modules/@types/node/assert/strict.d.ts +111 -0
- package/node_modules/@types/node/assert.d.ts +1115 -0
- package/node_modules/@types/node/async_hooks.d.ts +623 -0
- package/node_modules/@types/node/buffer.buffer.d.ts +472 -0
- package/node_modules/@types/node/buffer.d.ts +1934 -0
- package/node_modules/@types/node/child_process.d.ts +1476 -0
- package/node_modules/@types/node/cluster.d.ts +578 -0
- package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/node_modules/@types/node/console.d.ts +453 -0
- package/node_modules/@types/node/constants.d.ts +21 -0
- package/node_modules/@types/node/crypto.d.ts +5417 -0
- package/node_modules/@types/node/dgram.d.ts +600 -0
- package/node_modules/@types/node/diagnostics_channel.d.ts +576 -0
- package/node_modules/@types/node/dns/promises.d.ts +503 -0
- package/node_modules/@types/node/dns.d.ts +923 -0
- package/node_modules/@types/node/domain.d.ts +166 -0
- package/node_modules/@types/node/events.d.ts +976 -0
- package/node_modules/@types/node/fs/promises.d.ts +1341 -0
- package/node_modules/@types/node/fs.d.ts +4714 -0
- package/node_modules/@types/node/globals.d.ts +170 -0
- package/node_modules/@types/node/globals.typedarray.d.ts +41 -0
- package/node_modules/@types/node/http.d.ts +2154 -0
- package/node_modules/@types/node/http2.d.ts +2835 -0
- package/node_modules/@types/node/https.d.ts +585 -0
- package/node_modules/@types/node/index.d.ts +101 -0
- package/node_modules/@types/node/inspector.d.ts +277 -0
- package/node_modules/@types/node/inspector.generated.d.ts +4239 -0
- package/node_modules/@types/node/module.d.ts +843 -0
- package/node_modules/@types/node/net.d.ts +1073 -0
- package/node_modules/@types/node/os.d.ts +507 -0
- package/node_modules/@types/node/package.json +155 -0
- package/node_modules/@types/node/path.d.ts +200 -0
- package/node_modules/@types/node/perf_hooks.d.ts +1042 -0
- package/node_modules/@types/node/process.d.ts +2102 -0
- package/node_modules/@types/node/punycode.d.ts +117 -0
- package/node_modules/@types/node/querystring.d.ts +152 -0
- package/node_modules/@types/node/readline/promises.d.ts +161 -0
- package/node_modules/@types/node/readline.d.ts +600 -0
- package/node_modules/@types/node/repl.d.ts +438 -0
- package/node_modules/@types/node/sea.d.ts +162 -0
- package/node_modules/@types/node/sqlite.d.ts +1040 -0
- package/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/node_modules/@types/node/stream/web.d.ts +573 -0
- package/node_modules/@types/node/stream.d.ts +1706 -0
- package/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/node_modules/@types/node/test.d.ts +2349 -0
- package/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/node_modules/@types/node/timers.d.ts +285 -0
- package/node_modules/@types/node/tls.d.ts +1279 -0
- package/node_modules/@types/node/trace_events.d.ts +197 -0
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +103 -0
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/node/ts5.7/index.d.ts +103 -0
- package/node_modules/@types/node/tty.d.ts +208 -0
- package/node_modules/@types/node/url.d.ts +1079 -0
- package/node_modules/@types/node/util.d.ts +2336 -0
- package/node_modules/@types/node/v8.d.ts +982 -0
- package/node_modules/@types/node/vm.d.ts +1195 -0
- package/node_modules/@types/node/wasi.d.ts +202 -0
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
- package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/node_modules/@types/node/web-globals/fetch.d.ts +62 -0
- package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/node/web-globals/streams.d.ts +22 -0
- package/node_modules/@types/node/worker_threads.d.ts +894 -0
- package/node_modules/@types/node/zlib.d.ts +745 -0
- package/node_modules/@xrkseek/attachment/dist/error.d.ts +3 -2
- package/node_modules/@xrkseek/attachment/dist/error.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/error.js +17 -2
- package/node_modules/@xrkseek/attachment/dist/error.js.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/index.d.ts +2 -2
- package/node_modules/@xrkseek/attachment/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/index.js +1 -1
- package/node_modules/@xrkseek/attachment/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/memory.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/memory.js +6 -0
- package/node_modules/@xrkseek/attachment/dist/memory.js.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/store.d.ts +6 -1
- package/node_modules/@xrkseek/attachment/dist/store.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/types.d.ts +19 -0
- package/node_modules/@xrkseek/attachment/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/types.js.map +1 -1
- package/node_modules/@xrkseek/attachment-local/README.md +3 -0
- package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.d.ts +18 -0
- package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.js +43 -0
- package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/encoding.d.ts +23 -0
- package/node_modules/@xrkseek/attachment-local/dist/encoding.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/encoding.js +33 -0
- package/node_modules/@xrkseek/attachment-local/dist/encoding.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/image.d.ts +54 -0
- package/node_modules/@xrkseek/attachment-local/dist/image.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/image.js +97 -0
- package/node_modules/@xrkseek/attachment-local/dist/image.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/index.d.ts +32 -0
- package/node_modules/@xrkseek/attachment-local/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/index.js +188 -0
- package/node_modules/@xrkseek/attachment-local/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/normalization.d.ts +44 -0
- package/node_modules/@xrkseek/attachment-local/dist/normalization.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/normalization.js +148 -0
- package/node_modules/@xrkseek/attachment-local/dist/normalization.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts +34 -0
- package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/request-image.js +208 -0
- package/node_modules/@xrkseek/attachment-local/dist/request-image.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/store.d.ts +58 -0
- package/node_modules/@xrkseek/attachment-local/dist/store.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/store.js +290 -0
- package/node_modules/@xrkseek/attachment-local/dist/store.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/package.json +25 -0
- package/node_modules/@xrkseek/exec-fs/dist/index.d.ts +3 -0
- package/node_modules/@xrkseek/exec-fs/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/index.js +10 -0
- package/node_modules/@xrkseek/exec-fs/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/read-image.d.ts +35 -0
- package/node_modules/@xrkseek/exec-fs/dist/read-image.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-fs/dist/read-image.js +120 -0
- package/node_modules/@xrkseek/exec-fs/dist/read-image.js.map +1 -0
- package/node_modules/@xrkseek/exec-fs/package.json +3 -1
- package/node_modules/@xrkseek/llm/dist/index.d.ts +1 -0
- package/node_modules/@xrkseek/llm/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/llm-deepseek/README.md +3 -1
- package/node_modules/@xrkseek/llm-deepseek/dist/file-id.d.ts +10 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-id.d.ts.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-id.js +8 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-id.js.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-store.d.ts +40 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-store.js +164 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-store.js.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/files-api.d.ts +56 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/files-api.d.ts.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/files-api.js +180 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/files-api.js.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/index.d.ts +15 -6
- package/node_modules/@xrkseek/llm-deepseek/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm-deepseek/dist/index.js +63 -13
- package/node_modules/@xrkseek/llm-deepseek/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.d.ts +8 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.d.ts.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.js +12 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.js.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts +28 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js +142 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/package.json +3 -1
- package/node_modules/@xrkseek/llm-openai-compatible/dist/index.d.ts +27 -0
- package/node_modules/@xrkseek/llm-openai-compatible/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm-openai-compatible/dist/index.js +20 -5
- package/node_modules/@xrkseek/llm-openai-compatible/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/llm-registry/dist/registry.d.ts +1 -0
- package/node_modules/@xrkseek/llm-registry/dist/registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm-registry/dist/registry.js +15 -1
- package/node_modules/@xrkseek/llm-registry/dist/registry.js.map +1 -1
- package/node_modules/@xrkseek/preset-harness/README.md +5 -2
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +5 -0
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.js +12 -3
- 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 +1 -0
- 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 +3 -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/content.d.ts +5 -0
- package/node_modules/@xrkseek/protocol/dist/content.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/content.js +8 -1
- package/node_modules/@xrkseek/protocol/dist/content.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/context.d.ts +6 -3
- package/node_modules/@xrkseek/server-face/dist/context.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/cordis-bridge.d.ts +9 -0
- package/node_modules/@xrkseek/server-face/dist/cordis-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cordis-bridge.js +28 -0
- package/node_modules/@xrkseek/server-face/dist/cordis-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.d.ts +16 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.js +141 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.d.ts +13 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.js +158 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.d.ts +284 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.js +696 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.d.ts +15 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.js +196 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.d.ts +19 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.js +143 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.d.ts +16 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.js +84 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-record.d.ts +19 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-record.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-record.js +221 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-record.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-store.d.ts +133 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js +561 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/dispatch.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/dispatch.js +15 -0
- package/node_modules/@xrkseek/server-face/dist/dispatch.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts +0 -5
- package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js +277 -24
- package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts +30 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js +48 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/references.d.ts +6 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/references.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/references.js +42 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/references.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.d.ts +6 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.js +24 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/index.d.ts +1 -0
- package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/index.js +1 -0
- package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/llm-resolve.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/llm-resolve.js +5 -3
- package/node_modules/@xrkseek/server-face/dist/llm-resolve.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/plugin-inventory.d.ts +2 -2
- package/node_modules/@xrkseek/server-face/dist/plugin-inventory.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/plugin-inventory.js +7 -3
- package/node_modules/@xrkseek/server-face/dist/plugin-inventory.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/presets-catalog.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/presets-catalog.js +3 -3
- package/node_modules/@xrkseek/server-face/dist/presets-catalog.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts +2 -0
- 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 -0
- package/node_modules/@xrkseek/server-face/dist/projections/index.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js +12 -0
- package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts +45 -0
- package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/registry.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.d.ts +40 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.js +103 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.d.ts +9 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.js +24 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts +37 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js +109 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.d.ts +35 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js +151 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/reference-discovery.d.ts +13 -0
- package/node_modules/@xrkseek/server-face/dist/reference-discovery.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/reference-discovery.js +81 -0
- package/node_modules/@xrkseek/server-face/dist/reference-discovery.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts +5 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.js +25 -0
- package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts +15 -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.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 +19 -0
- package/node_modules/@xrkseek/server-face/dist/slash.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/wire/paths.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/wire/paths.js +3 -0
- package/node_modules/@xrkseek/server-face/dist/wire/paths.js.map +1 -1
- package/node_modules/@xrkseek/server-face/package.json +3 -0
- package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.d.ts +4 -0
- package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.js +10 -0
- package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.d.ts +11 -0
- package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.js +29 -0
- package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.d.ts +15 -0
- package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.js +34 -0
- package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/index.d.ts +6 -1
- package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/index.js +126 -19
- package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts +17 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js +201 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.d.ts +10 -0
- package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.js +31 -0
- package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/wallet-bridge.d.ts +7 -0
- package/node_modules/@xrkseek/server-host/dist/wallet-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js +40 -0
- package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-host/package.json +8 -1
- package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/boot-inject.js +54 -0
- package/node_modules/@xrkseek/server-http/dist/boot-inject.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.js +141 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts +3 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js +445 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.js +15 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts +57 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.js +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.js +275 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.js +41 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts +17 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js +184 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.d.ts +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.js +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.d.ts +21 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.js +122 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js +58 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js +59 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.d.ts +25 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.js +154 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.d.ts +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.js +77 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts +16 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js +121 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.js +48 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.d.ts +18 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.js +62 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.js +42 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.js +88 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js +67 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts +18 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js +198 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.d.ts +27 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.js +71 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.d.ts +8 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js +12 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.d.ts +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.js +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js +219 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.d.ts +4 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.js +53 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.d.ts +11 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js +61 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js +150 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js +239 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.d.ts +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.js +83 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.d.ts +18 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.js +191 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts +21 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js +105 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js +57 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.js +74 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.d.ts +14 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.js +17 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.d.ts +76 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.js +551 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.js +136 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts +21 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js +281 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts +16 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js +163 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js +125 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.d.ts +17 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.js +188 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.js +55 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts +37 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js +36 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.d.ts +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.js +28 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.js +108 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js +218 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js +81 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.js +15 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.d.ts +8 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.js +83 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.js +144 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts +17 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js +52 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts +11 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js +221 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js +155 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.d.ts +14 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js +213 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.d.ts +14 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js +200 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts +11 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js +200 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.js +47 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.d.ts +15 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.js +132 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.d.ts +13 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.js +336 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js +86 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.d.ts +8 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js +34 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.d.ts +4 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.js +170 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.d.ts +33 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.js +108 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js +38 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js +358 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts +25 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js +78 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.js +56 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.d.ts +11 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js +106 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.d.ts +18 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.js +240 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.d.ts +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.js +78 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.d.ts +42 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js +117 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts +11 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js +111 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts +16 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js +455 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.d.ts +26 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.js +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js +123 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts +16 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js +99 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts +106 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.js +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.d.ts +14 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.js +21 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js +13 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.d.ts +21 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js +190 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js +438 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.d.ts +8 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js +69 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.js +62 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.d.ts +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.js +17 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.js +67 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js +198 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts +15 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js +111 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js +161 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.js +31 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js +103 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.d.ts +49 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.js +190 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js +44 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat.js +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts +14 -0
- package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/host-wire.js +15 -0
- package/node_modules/@xrkseek/server-http/dist/host-wire.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/http-json.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/http-json.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/http-json.js +40 -0
- package/node_modules/@xrkseek/server-http/dist/http-json.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/index.d.ts +12 -1
- package/node_modules/@xrkseek/server-http/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/index.js +12 -1
- package/node_modules/@xrkseek/server-http/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/public-routes.d.ts +19 -0
- package/node_modules/@xrkseek/server-http/dist/public-routes.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/public-routes.js +34 -0
- package/node_modules/@xrkseek/server-http/dist/public-routes.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts +13 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js +58 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts +16 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js +49 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts +35 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js +103 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js.map +1 -0
- package/node_modules/@xrkseek/server-http/package.json +2 -1
- package/node_modules/@xrkseek/server-loader/dist/host.d.ts +6 -0
- package/node_modules/@xrkseek/server-loader/dist/host.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/host.js +11 -0
- package/node_modules/@xrkseek/server-loader/dist/host.js.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/index.d.ts +2 -1
- package/node_modules/@xrkseek/server-loader/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/index.js +1 -0
- package/node_modules/@xrkseek/server-loader/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts +5 -0
- package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/kinds.js +5 -0
- package/node_modules/@xrkseek/server-loader/dist/kinds.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/load.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/load.js +5 -0
- package/node_modules/@xrkseek/server-loader/dist/load.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/types.d.ts +40 -0
- package/node_modules/@xrkseek/server-loader/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/xrk-file-reference/README.i18n.yaml +6 -0
- package/node_modules/@xrkseek/xrk-file-reference/README.md +22 -0
- package/node_modules/@xrkseek/xrk-file-reference/README.zh.md +22 -0
- package/node_modules/@xrkseek/xrk-file-reference/package.json +68 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/README.i18n.yaml +6 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/README.md +45 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/README.zh.md +45 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/package.json +56 -0
- package/node_modules/@xrkseek/xrk-session-reference/README.i18n.yaml +6 -0
- package/node_modules/@xrkseek/xrk-session-reference/README.md +50 -0
- package/node_modules/@xrkseek/xrk-session-reference/README.zh.md +50 -0
- package/node_modules/@xrkseek/xrk-session-reference/package.json +79 -0
- package/node_modules/detect-libc/LICENSE +201 -0
- package/node_modules/detect-libc/README.md +163 -0
- package/node_modules/detect-libc/index.d.ts +14 -0
- package/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/node_modules/detect-libc/lib/elf.js +39 -0
- package/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/node_modules/detect-libc/lib/process.js +24 -0
- package/node_modules/detect-libc/package.json +44 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +680 -0
- package/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/semver/classes/index.js +7 -0
- package/node_modules/semver/classes/range.js +577 -0
- package/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/semver/functions/major.js +5 -0
- package/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/semver/index.js +93 -0
- package/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/semver/internal/re.js +223 -0
- package/node_modules/semver/package.json +78 -0
- package/node_modules/semver/preload.js +4 -0
- package/node_modules/semver/range.bnf +17 -0
- package/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/sharp/LICENSE +191 -0
- package/node_modules/sharp/README.md +112 -0
- package/node_modules/sharp/dist/channel.cjs +177 -0
- package/node_modules/sharp/dist/channel.mjs +177 -0
- package/node_modules/sharp/dist/colour.cjs +199 -0
- package/node_modules/sharp/dist/colour.mjs +199 -0
- package/node_modules/sharp/dist/composite.cjs +213 -0
- package/node_modules/sharp/dist/composite.mjs +213 -0
- package/node_modules/sharp/dist/constructor.cjs +511 -0
- package/node_modules/sharp/dist/constructor.mjs +511 -0
- package/node_modules/sharp/dist/index.cjs +25 -0
- package/node_modules/sharp/dist/index.d.cts +1999 -0
- package/node_modules/sharp/dist/index.d.mts +2046 -0
- package/node_modules/sharp/dist/index.mjs +25 -0
- package/node_modules/sharp/dist/input.cjs +814 -0
- package/node_modules/sharp/dist/input.mjs +814 -0
- package/node_modules/sharp/dist/is.cjs +143 -0
- package/node_modules/sharp/dist/is.mjs +143 -0
- package/node_modules/sharp/dist/libvips.cjs +212 -0
- package/node_modules/sharp/dist/libvips.mjs +212 -0
- package/node_modules/sharp/dist/operation.cjs +998 -0
- package/node_modules/sharp/dist/operation.mjs +998 -0
- package/node_modules/sharp/dist/output.cjs +1788 -0
- package/node_modules/sharp/dist/output.mjs +1788 -0
- package/node_modules/sharp/dist/resize.cjs +617 -0
- package/node_modules/sharp/dist/resize.mjs +617 -0
- package/node_modules/sharp/dist/sharp.cjs +174 -0
- package/node_modules/sharp/dist/sharp.mjs +174 -0
- package/node_modules/sharp/dist/utility.cjs +301 -0
- package/node_modules/sharp/dist/utility.mjs +301 -0
- package/node_modules/sharp/install/build.js +38 -0
- package/node_modules/sharp/lib/index.d.ts +1999 -0
- package/node_modules/sharp/package.json +227 -0
- package/node_modules/sharp/src/binding.gyp +303 -0
- package/node_modules/sharp/src/common.cc +1183 -0
- package/node_modules/sharp/src/common.h +421 -0
- package/node_modules/sharp/src/metadata.cc +404 -0
- package/node_modules/sharp/src/metadata.h +95 -0
- package/node_modules/sharp/src/operations.cc +516 -0
- package/node_modules/sharp/src/operations.h +137 -0
- package/node_modules/sharp/src/pipeline.cc +1948 -0
- package/node_modules/sharp/src/pipeline.h +422 -0
- package/node_modules/sharp/src/sharp.cc +43 -0
- package/node_modules/sharp/src/stats.cc +186 -0
- package/node_modules/sharp/src/stats.h +62 -0
- package/node_modules/sharp/src/utilities.cc +289 -0
- package/node_modules/sharp/src/utilities.h +22 -0
- package/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/undici-types/README.md +6 -0
- package/node_modules/undici-types/agent.d.ts +32 -0
- package/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/node_modules/undici-types/cache-interceptor.d.ts +173 -0
- package/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/undici-types/client.d.ts +108 -0
- package/node_modules/undici-types/connector.d.ts +34 -0
- package/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/undici-types/cookies.d.ts +30 -0
- package/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/node_modules/undici-types/dispatcher.d.ts +276 -0
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/undici-types/errors.d.ts +161 -0
- package/node_modules/undici-types/eventsource.d.ts +66 -0
- package/node_modules/undici-types/fetch.d.ts +211 -0
- package/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/node_modules/undici-types/handlers.d.ts +15 -0
- package/node_modules/undici-types/header.d.ts +160 -0
- package/node_modules/undici-types/index.d.ts +88 -0
- package/node_modules/undici-types/interceptors.d.ts +73 -0
- package/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/undici-types/mock-client.d.ts +27 -0
- package/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/node_modules/undici-types/package.json +55 -0
- package/node_modules/undici-types/patch.d.ts +29 -0
- package/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/undici-types/pool.d.ts +41 -0
- package/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/node_modules/undici-types/readable.d.ts +68 -0
- package/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
- package/node_modules/undici-types/util.d.ts +18 -0
- package/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/undici-types/webidl.d.ts +341 -0
- package/node_modules/undici-types/websocket.d.ts +186 -0
- package/package.json +23 -1
- package/product-web/assets/{index-CSGf6Qzd.css → index-C0u-TtQQ.css} +1 -1
- package/product-web/assets/index-CHKZdZNt.js +112 -0
- package/product-web/assets/index-CHKZdZNt.js.map +1 -0
- package/product-web/assets/langs/{php-DY2VakOf.js → php-9bx0az3O.js} +2 -2
- package/product-web/assets/langs/{php-DY2VakOf.js.map → php-9bx0az3O.js.map} +1 -1
- package/product-web/assets/langs/{ruby-hwtoiFmS.js → ruby-HDLHRjSL.js} +2 -2
- package/product-web/assets/langs/{ruby-hwtoiFmS.js.map → ruby-HDLHRjSL.js.map} +1 -1
- package/product-web/assets/{vendor-CldRVjca.js → vendor-CeMKrCZm.js} +36 -35
- package/product-web/assets/vendor-CeMKrCZm.js.map +1 -0
- package/product-web/boot.json +20 -1
- package/product-web/index.html +3 -3
- package/product-web/plugins/@xrkseek/client-locale/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-modules/client.js +83 -12
- package/product-web/plugins/@xrkseek/client-runtime/client.js +5 -37
- package/product-web/plugins/@xrkseek/client-ui-agent-preset/client.js +63 -80
- package/product-web/plugins/@xrkseek/client-ui-attachment/client.js +782 -0
- package/product-web/plugins/@xrkseek/client-ui-commands/client.js +8 -8
- package/product-web/plugins/@xrkseek/client-ui-conversation/client.js +933 -505
- package/product-web/plugins/@xrkseek/client-ui-deliverables/client.js +6 -6
- package/product-web/plugins/@xrkseek/client-ui-directory-picker-browse/client.js +28 -28
- package/product-web/plugins/@xrkseek/client-ui-goal/client.js +8 -8
- package/product-web/plugins/@xrkseek/client-ui-input-trigger/client.js +82 -26
- package/product-web/plugins/@xrkseek/client-ui-jobs/client.js +8 -8
- package/product-web/plugins/@xrkseek/client-ui-layout/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-message-feedback/client.js +5 -5
- package/product-web/plugins/@xrkseek/client-ui-model-selection/client.js +17 -17
- package/product-web/plugins/@xrkseek/client-ui-permission-presets/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-plan/client.js +1 -1
- package/product-web/plugins/@xrkseek/client-ui-reference/client.js +148 -0
- package/product-web/plugins/@xrkseek/client-ui-settings-general/client.js +12 -12
- package/product-web/plugins/@xrkseek/client-ui-settings-models/client.js +62 -62
- package/product-web/plugins/@xrkseek/client-ui-settings-plugin-inventory/client.js +12 -12
- package/product-web/plugins/@xrkseek/client-ui-settings-plugins/client.js +38 -38
- package/product-web/plugins/@xrkseek/client-ui-sidebar/client.js +16 -16
- package/product-web/plugins/@xrkseek/client-ui-skill/client.js +11 -11
- package/product-web/plugins/@xrkseek/client-ui-subagent/client.js +289 -157
- package/product-web/plugins/@xrkseek/client-ui-theme/client.js +2 -2
- package/product-web/plugins/@xrkseek/client-ui-tool/client.js +41 -41
- package/product-web/plugins/@xrkseek/client-ui-trajectory/client.js +149 -170
- package/product-web/plugins/@xrkseek/client-ui-user-questions/client.js +28 -28
- package/product-web/plugins/@xrkseek/client-ui-workflow-run/client.js +14 -14
- package/product-web/plugins/@xrkseek/client-ui-workspace/client.js +52 -52
- package/product-web/plugins/@xrkseek/xrk-api-remotes/client.js +20 -1
- package/product-web/assets/index-CcF0Sxxg.js +0 -297
- package/product-web/assets/index-CcF0Sxxg.js.map +0 -1
- package/product-web/assets/vendor-CldRVjca.js.map +0 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** XRK community-host adapter id on DSH-shaped wire responses. */
|
|
2
|
+
export const DSH_COMPAT_ADAPTER = "xrk-dsh-compat";
|
|
3
|
+
/** Tag a JSON body with the compat adapter id. */
|
|
4
|
+
export function tag(body, incomplete) {
|
|
5
|
+
return {
|
|
6
|
+
...body,
|
|
7
|
+
adapter: DSH_COMPAT_ADAPTER,
|
|
8
|
+
...(incomplete?.length ? { incomplete: [...incomplete] } : {}),
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/** Honest offline stub for a Cordis Host feature. */
|
|
12
|
+
export function hostIncomplete(feature, extra = {}) {
|
|
13
|
+
return tag({ ...extra }, [`${feature}-host`]);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../src/dsh-compat/meta.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;AAEnD,kDAAkD;AAClD,MAAM,UAAU,GAAG,CACjB,IAAO,EACP,UAA8B;IAE9B,OAAO;QACL,GAAG,IAAI;QACP,OAAO,EAAE,kBAAkB;QAC3B,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,GAAG,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAC/D,CAAC;AACJ,CAAC;AAED,qDAAqD;AACrD,MAAM,UAAU,cAAc,CAC5B,OAAe,EACf,QAAiC,EAAE;IAEnC,OAAO,GAAG,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,CAAC,GAAG,OAAO,OAAO,CAAC,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DSH mnemon dedicated RPC channels → stub / incomplete adapters.
|
|
3
|
+
* Full graph memory is not an XRK Host capability yet (`incomplete`).
|
|
4
|
+
*/
|
|
5
|
+
import type { IncomingMessage, ServerResponse } from "node:http";
|
|
6
|
+
export declare const MNEMON_CHANNELS: readonly ["/dsh-mnemon-read", "/dsh-mnemon-write", "/dsh-mnemon-pack", "/dsh-mnemon-settings", "/dsh-mnemon-activation"];
|
|
7
|
+
export declare function handleMnemonRpcAdapter(req: IncomingMessage, res: ServerResponse, channel: string, endpoint: string): Promise<void>;
|
|
8
|
+
//# sourceMappingURL=mnemon-adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnemon-adapter.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/mnemon-adapter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGjE,eAAO,MAAM,eAAe,0HAMlB,CAAC;AA6DX,wBAAsB,sBAAsB,CAC1C,GAAG,EAAE,eAAe,EACpB,GAAG,EAAE,cAAc,EACnB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,CAAC,CAiBf"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { readBody, rpcErr, rpcOk, sendJson } from "../http-json.js";
|
|
2
|
+
export const MNEMON_CHANNELS = [
|
|
3
|
+
"/dsh-mnemon-read",
|
|
4
|
+
"/dsh-mnemon-write",
|
|
5
|
+
"/dsh-mnemon-pack",
|
|
6
|
+
"/dsh-mnemon-settings",
|
|
7
|
+
"/dsh-mnemon-activation",
|
|
8
|
+
];
|
|
9
|
+
function stubValue(channel, endpoint) {
|
|
10
|
+
if (channel === "/dsh-mnemon-activation") {
|
|
11
|
+
return {
|
|
12
|
+
active: false,
|
|
13
|
+
adapter: "xrk-dsh-compat",
|
|
14
|
+
incomplete: ["mnemon-host"],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
if (channel === "/dsh-mnemon-settings") {
|
|
18
|
+
return {
|
|
19
|
+
ns: "mnemon",
|
|
20
|
+
document: {
|
|
21
|
+
enabled: false,
|
|
22
|
+
adapter: "xrk-dsh-compat",
|
|
23
|
+
incomplete: ["mnemon-host"],
|
|
24
|
+
note: "Settings RPC authorized via XRK adapter; Cordis memory Host is not running.",
|
|
25
|
+
display: { entry: "sidebar" },
|
|
26
|
+
providers: {},
|
|
27
|
+
storage: { scope: "workspace" },
|
|
28
|
+
},
|
|
29
|
+
schema: { type: "object", properties: {} },
|
|
30
|
+
revision: 0,
|
|
31
|
+
writable: true,
|
|
32
|
+
mode: "remote",
|
|
33
|
+
remoteDisabled: false,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
if (endpoint === "turn-activities")
|
|
37
|
+
return [];
|
|
38
|
+
if (endpoint === "status" || endpoint === "status-summary") {
|
|
39
|
+
return {
|
|
40
|
+
ok: true,
|
|
41
|
+
ready: false,
|
|
42
|
+
adapter: "xrk-dsh-compat",
|
|
43
|
+
incomplete: ["mnemon-host"],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
if (endpoint === "list" ||
|
|
47
|
+
endpoint === "documents" ||
|
|
48
|
+
endpoint === "entities" ||
|
|
49
|
+
endpoint === "search" ||
|
|
50
|
+
endpoint === "related" ||
|
|
51
|
+
endpoint === "versions" ||
|
|
52
|
+
endpoint === "graph") {
|
|
53
|
+
return [];
|
|
54
|
+
}
|
|
55
|
+
if (endpoint === "document" || endpoint === "runtime-memory") {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
adapter: "xrk-dsh-compat",
|
|
60
|
+
channel,
|
|
61
|
+
endpoint,
|
|
62
|
+
incomplete: ["mnemon-host"],
|
|
63
|
+
note: "stub",
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export async function handleMnemonRpcAdapter(req, res, channel, endpoint) {
|
|
67
|
+
const raw = await readBody(req);
|
|
68
|
+
let rpcId = "unknown";
|
|
69
|
+
try {
|
|
70
|
+
const msg = JSON.parse(raw || "{}");
|
|
71
|
+
if (typeof msg.rpcId === "string")
|
|
72
|
+
rpcId = msg.rpcId;
|
|
73
|
+
if (typeof msg.method === "string" && msg.method && !endpoint) {
|
|
74
|
+
endpoint = msg.method;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
catch {
|
|
78
|
+
sendJson(res, 400, rpcErr(rpcId, "bad-request", "invalid JSON body"));
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
sendJson(res, 200, rpcOk(rpcId, stubValue(channel, endpoint)));
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=mnemon-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnemon-adapter.js","sourceRoot":"","sources":["../../src/dsh-compat/mnemon-adapter.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEpE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,kBAAkB;IAClB,mBAAmB;IACnB,kBAAkB;IAClB,sBAAsB;IACtB,wBAAwB;CAChB,CAAC;AAEX,SAAS,SAAS,CAAC,OAAe,EAAE,QAAgB;IAClD,IAAI,OAAO,KAAK,wBAAwB,EAAE,CAAC;QACzC,OAAO;YACL,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,UAAU,EAAE,CAAC,aAAa,CAAC;SAC5B,CAAC;IACJ,CAAC;IACD,IAAI,OAAO,KAAK,sBAAsB,EAAE,CAAC;QACvC,OAAO;YACL,EAAE,EAAE,QAAQ;YACZ,QAAQ,EAAE;gBACR,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,gBAAgB;gBACzB,UAAU,EAAE,CAAC,aAAa,CAAC;gBAC3B,IAAI,EAAE,6EAA6E;gBACnF,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;gBAC7B,SAAS,EAAE,EAAE;gBACb,OAAO,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE;aAChC;YACD,MAAM,EAAE,EAAE,IAAI,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KAAK,KAAK,QAAQ;YAAE,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACrD,IAAI,OAAO,GAAG,CAAC,MAAM,KAAK,QAAQ,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC9D,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC;QACxB,CAAC;IACH,CAAC;IAAC,MAAM,CAAC;QACP,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC,KAAK,EAAE,aAAa,EAAE,mBAAmB,CAAC,CAAC,CAAC;QACtE,OAAO;IACT,CAAC;IACD,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,KAAK,EAAE,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;AACjE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface MnemonStatusOptions {
|
|
2
|
+
readonly xrkHome?: string;
|
|
3
|
+
readonly workspaceRoot?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function buildMnemonStatus(options?: MnemonStatusOptions): unknown;
|
|
6
|
+
export declare function buildMnemonVersions(): unknown;
|
|
7
|
+
export declare const MNEMON_SETTINGS_DEFAULTS: Record<string, unknown>;
|
|
8
|
+
export declare const MNEMON_UI_SETTINGS_DEFAULTS: Record<string, unknown>;
|
|
9
|
+
//# sourceMappingURL=mnemon-shapes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnemon-shapes.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/mnemon-shapes.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC;AAwCD,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAqE5E;AAED,wBAAgB,mBAAmB,IAAI,OAAO,CA0B7C;AAED,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAM5D,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAG/D,CAAC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mnemon status / storage shapes so the UI leaves loading / unavailable.
|
|
3
|
+
* Not a real memory engine — empty healthy stubs under ~/.xrk/mnemon.
|
|
4
|
+
*/
|
|
5
|
+
import { existsSync, mkdirSync } from "node:fs";
|
|
6
|
+
import { homedir } from "node:os";
|
|
7
|
+
import path from "node:path";
|
|
8
|
+
function area(kind, root, details) {
|
|
9
|
+
const dir = kind === "runtime"
|
|
10
|
+
? path.join(root, "runtime")
|
|
11
|
+
: kind === "memory-bodies"
|
|
12
|
+
? path.join(root, "bodies")
|
|
13
|
+
: kind === "documents"
|
|
14
|
+
? path.join(root, "documents")
|
|
15
|
+
: path.join(root, "state");
|
|
16
|
+
return {
|
|
17
|
+
kind,
|
|
18
|
+
path: dir,
|
|
19
|
+
status: existsSync(dir) ? "empty" : "missing",
|
|
20
|
+
itemCount: 0,
|
|
21
|
+
bytes: 0,
|
|
22
|
+
details,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function scope(kind, root) {
|
|
26
|
+
return {
|
|
27
|
+
kind,
|
|
28
|
+
root,
|
|
29
|
+
available: true,
|
|
30
|
+
totalBytes: 0,
|
|
31
|
+
areas: [
|
|
32
|
+
area("runtime", root, { userEntries: 0, memoryEntries: 0 }),
|
|
33
|
+
area("memory-bodies", root, { activeBodies: 0, databases: 0 }),
|
|
34
|
+
area("documents", root, { activeDocuments: 0, archivedDocuments: 0 }),
|
|
35
|
+
area("state", root, { reviewLedger: false }),
|
|
36
|
+
],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function buildMnemonStatus(options = {}) {
|
|
40
|
+
const home = options.xrkHome?.trim() || path.join(homedir(), ".xrk");
|
|
41
|
+
const globalRoot = path.join(home, "mnemon");
|
|
42
|
+
try {
|
|
43
|
+
mkdirSync(globalRoot, { recursive: true });
|
|
44
|
+
mkdirSync(path.join(globalRoot, "runtime"), { recursive: true });
|
|
45
|
+
mkdirSync(path.join(globalRoot, "bodies"), { recursive: true });
|
|
46
|
+
mkdirSync(path.join(globalRoot, "documents"), { recursive: true });
|
|
47
|
+
mkdirSync(path.join(globalRoot, "state"), { recursive: true });
|
|
48
|
+
}
|
|
49
|
+
catch {
|
|
50
|
+
/* ignore */
|
|
51
|
+
}
|
|
52
|
+
const workspaceRoot = options.workspaceRoot
|
|
53
|
+
? path.join(options.workspaceRoot, ".xrk", "mnemon")
|
|
54
|
+
: undefined;
|
|
55
|
+
const scopes = [scope("global", globalRoot)];
|
|
56
|
+
if (workspaceRoot) {
|
|
57
|
+
try {
|
|
58
|
+
mkdirSync(workspaceRoot, { recursive: true });
|
|
59
|
+
mkdirSync(path.join(workspaceRoot, "runtime"), { recursive: true });
|
|
60
|
+
mkdirSync(path.join(workspaceRoot, "bodies"), { recursive: true });
|
|
61
|
+
mkdirSync(path.join(workspaceRoot, "documents"), { recursive: true });
|
|
62
|
+
mkdirSync(path.join(workspaceRoot, "state"), { recursive: true });
|
|
63
|
+
}
|
|
64
|
+
catch {
|
|
65
|
+
/* ignore */
|
|
66
|
+
}
|
|
67
|
+
scopes.push(scope("workspace", workspaceRoot));
|
|
68
|
+
}
|
|
69
|
+
const activeKind = workspaceRoot ? "workspace" : "global";
|
|
70
|
+
const activeRoot = scopes.find((s) => s.kind === activeKind)?.root ?? globalRoot;
|
|
71
|
+
return {
|
|
72
|
+
ok: true,
|
|
73
|
+
ready: true,
|
|
74
|
+
healthy: true,
|
|
75
|
+
writeEnabled: true,
|
|
76
|
+
commandFound: true,
|
|
77
|
+
version: "xrk-compat",
|
|
78
|
+
dshMnemonVersion: "compat",
|
|
79
|
+
adapter: "xrk-dsh-compat",
|
|
80
|
+
incomplete: ["mnemon-host"],
|
|
81
|
+
memoryBodies: [],
|
|
82
|
+
providerServices: [
|
|
83
|
+
{
|
|
84
|
+
providerId: "mnemon-native",
|
|
85
|
+
label: "mnemon",
|
|
86
|
+
enabled: true,
|
|
87
|
+
status: "idle",
|
|
88
|
+
activeMemoryBodyCount: 0,
|
|
89
|
+
memoryBodyCount: 0,
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
stats: { totalInsights: 0 },
|
|
93
|
+
documents: {
|
|
94
|
+
activeCount: 0,
|
|
95
|
+
archivedCount: 0,
|
|
96
|
+
activeBytes: 0,
|
|
97
|
+
limitBytes: 0,
|
|
98
|
+
},
|
|
99
|
+
storage: {
|
|
100
|
+
activeKind,
|
|
101
|
+
activeRoot,
|
|
102
|
+
scopes,
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
export function buildMnemonVersions() {
|
|
107
|
+
return {
|
|
108
|
+
checkedAt: new Date().toISOString(),
|
|
109
|
+
components: [
|
|
110
|
+
{
|
|
111
|
+
id: "mnemon",
|
|
112
|
+
name: "Mnemon CLI",
|
|
113
|
+
current: "xrk-compat",
|
|
114
|
+
latest: "xrk-compat",
|
|
115
|
+
outdated: false,
|
|
116
|
+
updateSupported: false,
|
|
117
|
+
installMode: "manual",
|
|
118
|
+
updateHint: "manual",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
id: "dsh-mnemon",
|
|
122
|
+
name: "dsh-mnemon",
|
|
123
|
+
current: "compat",
|
|
124
|
+
latest: "compat",
|
|
125
|
+
outdated: false,
|
|
126
|
+
updateSupported: false,
|
|
127
|
+
installMode: "manual",
|
|
128
|
+
updateHint: "manual",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
export const MNEMON_SETTINGS_DEFAULTS = {
|
|
134
|
+
enabled: true,
|
|
135
|
+
storageScope: "workspace",
|
|
136
|
+
display: { entry: "sidebar" },
|
|
137
|
+
providers: {},
|
|
138
|
+
adapter: "xrk-dsh-compat",
|
|
139
|
+
};
|
|
140
|
+
export const MNEMON_UI_SETTINGS_DEFAULTS = {
|
|
141
|
+
turnBar: true,
|
|
142
|
+
saveAction: true,
|
|
143
|
+
};
|
|
144
|
+
//# sourceMappingURL=mnemon-shapes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnemon-shapes.js","sourceRoot":"","sources":["../../src/dsh-compat/mnemon-shapes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAO7B,SAAS,IAAI,CACX,IAAyD,EACzD,IAAY,EACZ,OAAgC;IAEhC,MAAM,GAAG,GACP,IAAI,KAAK,SAAS;QAChB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC;QAC5B,CAAC,CAAC,IAAI,KAAK,eAAe;YACxB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;YAC3B,CAAC,CAAC,IAAI,KAAK,WAAW;gBACpB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC;gBAC9B,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACnC,OAAO;QACL,IAAI;QACJ,IAAI,EAAE,GAAG;QACT,MAAM,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;QAC7C,SAAS,EAAE,CAAC;QACZ,KAAK,EAAE,CAAC;QACR,OAAO;KACR,CAAC;AACJ,CAAC;AAED,SAAS,KAAK,CAAC,IAAuC,EAAE,IAAY;IAClE,OAAO;QACL,IAAI;QACJ,IAAI;QAC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,KAAK;gBACtB,WAAW,EAAE,QAAQ;gBACrB,UAAU,EAAE,QAAQ;aACrB;SACF;KACF,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,wBAAwB,GAA4B;IAC/D,OAAO,EAAE,IAAI;IACb,YAAY,EAAE,WAAW;IACzB,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;IAC7B,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,gBAAgB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAA4B;IAClE,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,IAAI;CACjB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface MnemonDocument {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
body: string;
|
|
5
|
+
archived: boolean;
|
|
6
|
+
createdAt: string;
|
|
7
|
+
updatedAt: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function listMnemonDocuments(xrkHome?: string): MnemonDocument[];
|
|
10
|
+
export declare function countMnemonDocuments(xrkHome?: string): {
|
|
11
|
+
active: number;
|
|
12
|
+
archived: number;
|
|
13
|
+
bytes: number;
|
|
14
|
+
};
|
|
15
|
+
export declare function upsertMnemonDocument(xrkHome: string | undefined, payload: Record<string, unknown>): MnemonDocument;
|
|
16
|
+
export declare function getMnemonDocument(xrkHome: string | undefined, id: string): MnemonDocument | null;
|
|
17
|
+
//# sourceMappingURL=mnemon-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnemon-store.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/mnemon-store.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAWD,wBAAgB,mBAAmB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,cAAc,EAAE,CAEtE;AAED,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG;IACtD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAWA;AAED,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,cAAc,CAuBhB;AAED,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,EAAE,EAAE,MAAM,GACT,cAAc,GAAG,IAAI,CAIvB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File-backed mnemon documents under ~/.xrk/mnemon/documents.
|
|
3
|
+
*/
|
|
4
|
+
import { randomUUID } from "node:crypto";
|
|
5
|
+
import { createXrkDocStore } from "./underlying/doc-store.js";
|
|
6
|
+
const MNEMON_DOCS = createXrkDocStore(["mnemon", "documents", "index.json"], { documents: [] });
|
|
7
|
+
export function listMnemonDocuments(xrkHome) {
|
|
8
|
+
return MNEMON_DOCS.read(xrkHome).data.documents.filter((d) => !d.archived);
|
|
9
|
+
}
|
|
10
|
+
export function countMnemonDocuments(xrkHome) {
|
|
11
|
+
const docs = MNEMON_DOCS.read(xrkHome).data.documents;
|
|
12
|
+
let bytes = 0;
|
|
13
|
+
let active = 0;
|
|
14
|
+
let archived = 0;
|
|
15
|
+
for (const d of docs) {
|
|
16
|
+
bytes += Buffer.byteLength(d.body, "utf8") + Buffer.byteLength(d.title, "utf8");
|
|
17
|
+
if (d.archived)
|
|
18
|
+
archived += 1;
|
|
19
|
+
else
|
|
20
|
+
active += 1;
|
|
21
|
+
}
|
|
22
|
+
return { active, archived, bytes };
|
|
23
|
+
}
|
|
24
|
+
export function upsertMnemonDocument(xrkHome, payload) {
|
|
25
|
+
const now = new Date().toISOString();
|
|
26
|
+
const id = typeof payload.id === "string" && payload.id.trim()
|
|
27
|
+
? payload.id.trim()
|
|
28
|
+
: randomUUID();
|
|
29
|
+
let row;
|
|
30
|
+
MNEMON_DOCS.patch(xrkHome, (store) => {
|
|
31
|
+
const idx = store.documents.findIndex((d) => d.id === id);
|
|
32
|
+
row = {
|
|
33
|
+
id,
|
|
34
|
+
title: typeof payload.title === "string" ? payload.title : "",
|
|
35
|
+
body: typeof payload.body === "string" ? payload.body : "",
|
|
36
|
+
archived: payload.archived === true,
|
|
37
|
+
createdAt: idx >= 0 ? store.documents[idx].createdAt : now,
|
|
38
|
+
updatedAt: now,
|
|
39
|
+
};
|
|
40
|
+
const documents = [...store.documents];
|
|
41
|
+
if (idx >= 0)
|
|
42
|
+
documents[idx] = row;
|
|
43
|
+
else
|
|
44
|
+
documents.push(row);
|
|
45
|
+
return { documents };
|
|
46
|
+
});
|
|
47
|
+
return row;
|
|
48
|
+
}
|
|
49
|
+
export function getMnemonDocument(xrkHome, id) {
|
|
50
|
+
return (MNEMON_DOCS.read(xrkHome).data.documents.find((d) => d.id === id) ?? null);
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=mnemon-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnemon-store.js","sourceRoot":"","sources":["../../src/dsh-compat/mnemon-store.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAe9D,MAAM,WAAW,GAAG,iBAAiB,CACnC,CAAC,QAAQ,EAAE,WAAW,EAAE,YAAY,CAAC,EACrC,EAAE,SAAS,EAAE,EAAE,EAAE,CAClB,CAAC;AAEF,MAAM,UAAU,mBAAmB,CAAC,OAAgB;IAClD,OAAO,WAAW,CAAC,IAAI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atus(options?: MnemonStatusOptions): unknown;
|
|
6
|
+
export declare function buildMnemonVersions(): unknown;
|
|
7
|
+
export declare const MNEMON_SETTINGS_DEFAULTS: Record<string, unknown>;
|
|
8
|
+
export declare const MNEMON_UI_SETTINGS_DEFAULTS: Record<string, unknown>;
|
|
9
|
+
export declare function handleMnemonRead(endpoint: string, options: MnemonStatusOptions, payload?: Record<string, unknown>): unknown;
|
|
10
|
+
export declare function handleMnemonWrite(endpoint: string, payload: Record<string, unknown>, options?: MnemonStatusOptions): unknown;
|
|
11
|
+
//# sourceMappingURL=mnemon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnemon.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/mnemon.ts"],"names":[],"mappings":"AAeA,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC;AAwCD,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAsE5E;AAED,wBAAgB,mBAAmB,IAAI,OAAO,CA0B7C;AAED,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAM5D,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAG/D,CAAC;AAaF,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,mBAAmB,EAC5B,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GACpC,OAAO,CA2BT;AAED,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,OAAO,GAAE,mBAAwB,GAChC,OAAO,CAsCT"}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mnemon status / storage shapes + RPC handlers.
|
|
3
|
+
* Not a real memory engine — honest stubs under ~/.xrk/mnemon.
|
|
4
|
+
*/
|
|
5
|
+
import { existsSync, mkdirSync } from "node:fs";
|
|
6
|
+
import { homedir } from "node:os";
|
|
7
|
+
import path from "node:path";
|
|
8
|
+
import { DSH_COMPAT_ADAPTER } from "./meta.js";
|
|
9
|
+
import { countMnemonDocuments, getMnemonDocument, listMnemonDocuments, upsertMnemonDocument, } from "./mnemon-store.js";
|
|
10
|
+
function area(kind, root, details) {
|
|
11
|
+
const dir = kind === "runtime"
|
|
12
|
+
? path.join(root, "runtime")
|
|
13
|
+
: kind === "memory-bodies"
|
|
14
|
+
? path.join(root, "bodies")
|
|
15
|
+
: kind === "documents"
|
|
16
|
+
? path.join(root, "documents")
|
|
17
|
+
: path.join(root, "state");
|
|
18
|
+
return {
|
|
19
|
+
kind,
|
|
20
|
+
path: dir,
|
|
21
|
+
status: existsSync(dir) ? "empty" : "missing",
|
|
22
|
+
itemCount: 0,
|
|
23
|
+
bytes: 0,
|
|
24
|
+
details,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function scope(kind, root) {
|
|
28
|
+
return {
|
|
29
|
+
kind,
|
|
30
|
+
root,
|
|
31
|
+
available: true,
|
|
32
|
+
totalBytes: 0,
|
|
33
|
+
areas: [
|
|
34
|
+
area("runtime", root, { userEntries: 0, memoryEntries: 0 }),
|
|
35
|
+
area("memory-bodies", root, { activeBodies: 0, databases: 0 }),
|
|
36
|
+
area("documents", root, { activeDocuments: 0, archivedDocuments: 0 }),
|
|
37
|
+
area("state", root, { reviewLedger: false }),
|
|
38
|
+
],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function buildMnemonStatus(options = {}) {
|
|
42
|
+
const home = options.xrkHome?.trim() || path.join(homedir(), ".xrk");
|
|
43
|
+
const globalRoot = path.join(home, "mnemon");
|
|
44
|
+
try {
|
|
45
|
+
mkdirSync(globalRoot, { recursive: true });
|
|
46
|
+
mkdirSync(path.join(globalRoot, "runtime"), { recursive: true });
|
|
47
|
+
mkdirSync(path.join(globalRoot, "bodies"), { recursive: true });
|
|
48
|
+
mkdirSync(path.join(globalRoot, "documents"), { recursive: true });
|
|
49
|
+
mkdirSync(path.join(globalRoot, "state"), { recursive: true });
|
|
50
|
+
}
|
|
51
|
+
catch {
|
|
52
|
+
/* ignore */
|
|
53
|
+
}
|
|
54
|
+
const workspaceRoot = options.workspaceRoot
|
|
55
|
+
? path.join(options.workspaceRoot, ".xrk", "mnemon")
|
|
56
|
+
: undefined;
|
|
57
|
+
const scopes = [scope("global", globalRoot)];
|
|
58
|
+
if (workspaceRoot) {
|
|
59
|
+
try {
|
|
60
|
+
mkdirSync(workspaceRoot, { recursive: true });
|
|
61
|
+
mkdirSync(path.join(workspaceRoot, "runtime"), { recursive: true });
|
|
62
|
+
mkdirSync(path.join(workspaceRoot, "bodies"), { recursive: true });
|
|
63
|
+
mkdirSync(path.join(workspaceRoot, "documents"), { recursive: true });
|
|
64
|
+
mkdirSync(path.join(workspaceRoot, "state"), { recursive: true });
|
|
65
|
+
}
|
|
66
|
+
catch {
|
|
67
|
+
/* ignore */
|
|
68
|
+
}
|
|
69
|
+
scopes.push(scope("workspace", workspaceRoot));
|
|
70
|
+
}
|
|
71
|
+
const activeKind = workspaceRoot ? "workspace" : "global";
|
|
72
|
+
const activeRoot = scopes.find((s) => s.kind === activeKind)?.root ?? globalRoot;
|
|
73
|
+
const docCounts = countMnemonDocuments(home);
|
|
74
|
+
return {
|
|
75
|
+
ok: true,
|
|
76
|
+
ready: true,
|
|
77
|
+
healthy: true,
|
|
78
|
+
writeEnabled: true,
|
|
79
|
+
commandFound: true,
|
|
80
|
+
version: "xrk-compat",
|
|
81
|
+
dshMnemonVersion: "compat",
|
|
82
|
+
adapter: DSH_COMPAT_ADAPTER,
|
|
83
|
+
memoryBodies: [],
|
|
84
|
+
providerServices: [
|
|
85
|
+
{
|
|
86
|
+
providerId: "mnemon-native",
|
|
87
|
+
label: "mnemon",
|
|
88
|
+
enabled: true,
|
|
89
|
+
status: "idle",
|
|
90
|
+
activeMemoryBodyCount: 0,
|
|
91
|
+
memoryBodyCount: 0,
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
stats: { totalInsights: docCounts.active },
|
|
95
|
+
documents: {
|
|
96
|
+
activeCount: docCounts.active,
|
|
97
|
+
archivedCount: docCounts.archived,
|
|
98
|
+
activeBytes: docCounts.bytes,
|
|
99
|
+
limitBytes: 0,
|
|
100
|
+
},
|
|
101
|
+
storage: {
|
|
102
|
+
activeKind,
|
|
103
|
+
activeRoot,
|
|
104
|
+
scopes,
|
|
105
|
+
},
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
export function buildMnemonVersions() {
|
|
109
|
+
return {
|
|
110
|
+
checkedAt: new Date().toISOString(),
|
|
111
|
+
components: [
|
|
112
|
+
{
|
|
113
|
+
id: "mnemon",
|
|
114
|
+
name: "Mnemon CLI",
|
|
115
|
+
current: "xrk-compat",
|
|
116
|
+
latest: "xrk-compat",
|
|
117
|
+
outdated: false,
|
|
118
|
+
updateSupported: false,
|
|
119
|
+
installMode: "manual",
|
|
120
|
+
updateHint: "manual",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
id: "dsh-mnemon",
|
|
124
|
+
name: "dsh-mnemon",
|
|
125
|
+
current: "compat",
|
|
126
|
+
latest: "compat",
|
|
127
|
+
outdated: false,
|
|
128
|
+
updateSupported: false,
|
|
129
|
+
installMode: "manual",
|
|
130
|
+
updateHint: "manual",
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
export const MNEMON_SETTINGS_DEFAULTS = {
|
|
136
|
+
enabled: true,
|
|
137
|
+
storageScope: "workspace",
|
|
138
|
+
display: { entry: "sidebar" },
|
|
139
|
+
providers: {},
|
|
140
|
+
adapter: DSH_COMPAT_ADAPTER,
|
|
141
|
+
};
|
|
142
|
+
export const MNEMON_UI_SETTINGS_DEFAULTS = {
|
|
143
|
+
turnBar: true,
|
|
144
|
+
saveAction: true,
|
|
145
|
+
};
|
|
146
|
+
const MNEMON_LIST_ENDPOINTS = new Set([
|
|
147
|
+
"list",
|
|
148
|
+
"documents",
|
|
149
|
+
"entities",
|
|
150
|
+
"search",
|
|
151
|
+
"related",
|
|
152
|
+
"graph",
|
|
153
|
+
"bodies",
|
|
154
|
+
"body-directory",
|
|
155
|
+
]);
|
|
156
|
+
export function handleMnemonRead(endpoint, options, payload = {}) {
|
|
157
|
+
const home = options.xrkHome?.trim();
|
|
158
|
+
if (endpoint === "status" || endpoint === "status-summary") {
|
|
159
|
+
return buildMnemonStatus(options);
|
|
160
|
+
}
|
|
161
|
+
if (endpoint === "versions")
|
|
162
|
+
return buildMnemonVersions();
|
|
163
|
+
if (endpoint === "turn-activities")
|
|
164
|
+
return [];
|
|
165
|
+
if (endpoint === "documents" || endpoint === "list") {
|
|
166
|
+
return listMnemonDocuments(home);
|
|
167
|
+
}
|
|
168
|
+
if (MNEMON_LIST_ENDPOINTS.has(endpoint))
|
|
169
|
+
return [];
|
|
170
|
+
if (endpoint === "provider-services") {
|
|
171
|
+
return {
|
|
172
|
+
items: [],
|
|
173
|
+
providers: [{ id: "mnemon-native", label: "mnemon" }],
|
|
174
|
+
generatedAt: new Date().toISOString(),
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
if (endpoint === "document") {
|
|
178
|
+
const id = typeof payload.id === "string" ? payload.id : "";
|
|
179
|
+
return id ? getMnemonDocument(home, id) : null;
|
|
180
|
+
}
|
|
181
|
+
if (endpoint === "runtime-memory")
|
|
182
|
+
return null;
|
|
183
|
+
if (endpoint === "task-agent-models") {
|
|
184
|
+
return { models: [] };
|
|
185
|
+
}
|
|
186
|
+
return { ok: true, endpoint, items: [] };
|
|
187
|
+
}
|
|
188
|
+
export function handleMnemonWrite(endpoint, payload, options = {}) {
|
|
189
|
+
const home = options.xrkHome?.trim();
|
|
190
|
+
if (endpoint === "provider-services" ||
|
|
191
|
+
endpoint === "provider-service-update") {
|
|
192
|
+
return {
|
|
193
|
+
providerId: typeof payload.providerId === "string"
|
|
194
|
+
? payload.providerId
|
|
195
|
+
: "mnemon-native",
|
|
196
|
+
enabled: payload.enabled !== false,
|
|
197
|
+
settings: payload.settings && typeof payload.settings === "object"
|
|
198
|
+
? payload.settings
|
|
199
|
+
: {},
|
|
200
|
+
status: "idle",
|
|
201
|
+
activeMemoryBodyCount: 0,
|
|
202
|
+
memoryBodyCount: 0,
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
if (endpoint === "document" ||
|
|
206
|
+
endpoint === "document-upsert" ||
|
|
207
|
+
endpoint === "upsert" ||
|
|
208
|
+
endpoint === "save") {
|
|
209
|
+
const doc = upsertMnemonDocument(home, payload);
|
|
210
|
+
return { ok: true, document: doc };
|
|
211
|
+
}
|
|
212
|
+
if (endpoint === "pack" || endpoint === "export") {
|
|
213
|
+
return {
|
|
214
|
+
ok: true,
|
|
215
|
+
documents: listMnemonDocuments(home),
|
|
216
|
+
exportedAt: new Date().toISOString(),
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
return { ok: false, endpoint };
|
|
220
|
+
}
|
|
221
|
+
//# sourceMappingURL=mnemon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnemon.js","sourceRoot":"","sources":["../../src/dsh-compat/mnemon.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAO3B,SAAS,IAAI,CACX,IA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AC;QACjD,OAAO;YACL,EAAE,EAAE,IAAI;YACR,SAAS,EAAE,mBAAmB,CAAC,IAAI,CAAC;YACpC,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACrC,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACjC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* dsh-mobile — file-backed mobile access control + pairing keys.
|
|
3
|
+
* Opens same-origin access (no Cordis tunnel); Android app pairing uses generated appKey.
|
|
4
|
+
*/
|
|
5
|
+
import type { IncomingMessage, ServerResponse } from "node:http";
|
|
6
|
+
export interface MobileAccessOptions {
|
|
7
|
+
readonly xrkHome?: string;
|
|
8
|
+
}
|
|
9
|
+
interface MobileState {
|
|
10
|
+
running: boolean;
|
|
11
|
+
appKey: string;
|
|
12
|
+
csrf: string;
|
|
13
|
+
customCss: string;
|
|
14
|
+
customJs: string;
|
|
15
|
+
origin: string;
|
|
16
|
+
}
|
|
17
|
+
/** Pocket / IM 只读 mobile-access 运行态(revision 信封下的 data)。 */
|
|
18
|
+
export declare function readMobileAccessSnapshot(options: MobileAccessOptions): Pick<MobileState, "running" | "origin" | "appKey">;
|
|
19
|
+
export declare function handleMobileAccessHttp(req: IncomingMessage, res: ServerResponse, pathname: string, options: MobileAccessOptions): Promise<boolean>;
|
|
20
|
+
export declare function isMobileAccessPath(pathname: string): boolean;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=mobile-access.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobile-access.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/mobile-access.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMjE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,WAAW;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AA2BD,4DAA4D;AAC5D,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,mBAAmB,GAC3B,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC,CAOpD;AAsBD,wBAAsB,sBAAsB,CAC1C,GAAG,EAAE,eAAe,EACpB,GAAG,EAAE,cAAc,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,OAAO,CAAC,CAyGlB;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAK5D"}
|