@xrkseek/harness-cli 0.1.3 → 0.1.4
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 +41 -22
- package/dist/commands/plugin.js +16 -16
- package/dist/commands/plugin.js.map +1 -1
- package/dist/commands/serve.d.ts.map +1 -1
- package/dist/commands/serve.js +34 -3
- package/dist/commands/serve.js.map +1 -1
- package/dist/log.d.ts +6 -1
- package/dist/log.d.ts.map +1 -1
- package/dist/log.js +20 -6
- package/dist/log.js.map +1 -1
- package/dist/parse-args.js +8 -8
- package/dist/plugin/index.js +5 -5
- package/dist/plugin/index.js.map +1 -1
- package/dist/plugin/remap-inject.d.ts.map +1 -1
- package/dist/plugin/remap-inject.js +1 -0
- package/dist/plugin/remap-inject.js.map +1 -1
- package/node_modules/@xrkseek/preset-server/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts +15 -22
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js +19 -16
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/index.d.ts +2 -1
- package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/index.js +2 -1
- package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/index.js +12 -4
- package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/sidebar-face-bridge.d.ts +10 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-face-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-face-bridge.js +131 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-face-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/wallet-bridge.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js +29 -1
- package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js +3 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts +4 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import-discovery.d.ts +41 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import-discovery.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import-discovery.js +422 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import-discovery.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import-registry.d.ts +21 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import-registry.js +34 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import-registry.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js +277 -23
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.d.ts +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js +2 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts +4 -4
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js +26 -26
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.d.ts +2 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js +3 -3
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js +3 -3
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js +53 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts +21 -18
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js +28 -15
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js +77 -24
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts +24 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js +39 -10
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-auth.d.ts +71 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-auth.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-auth.js +349 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-auth.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-cpolar-component.d.ts +53 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-cpolar-component.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-cpolar-component.js +233 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-cpolar-component.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-funnel-sidecar.d.ts +4 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-funnel-sidecar.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-funnel-sidecar.js +86 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-funnel-sidecar.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-gate.d.ts +15 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-gate.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-gate.js +41 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-gate.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-local-gateway.d.ts +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-local-gateway.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-local-gateway.js +183 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-local-gateway.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote-controllers.d.ts +68 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote-controllers.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote-controllers.js +511 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote-controllers.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote-runtime.d.ts +34 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote-runtime.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote-runtime.js +179 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote-runtime.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote.d.ts +19 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote.js +102 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access-remote.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts +31 -4
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js +698 -33
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js +4 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket-qrcode.d.ts +3 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket-qrcode.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket-qrcode.js +18 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket-qrcode.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts +6 -3
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js +204 -54
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts +3 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js +185 -21
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-browser.d.ts +3 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-browser.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-browser.js +82 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-browser.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-face-bridge.d.ts +43 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-face-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-face-bridge.js +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-face-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts +47 -13
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js +146 -27
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js +22 -4
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js +21 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js +42 -3
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts +25 -7
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.js +2 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.d.ts +2 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.js +2 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-json.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-json.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-json.js +40 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-json.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.d.ts +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts +7 -12
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js +5 -8
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.d.ts +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.js +31 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/mobile-gate-kit.d.ts +37 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/mobile-gate-kit.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/mobile-gate-kit.js +96 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/mobile-gate-kit.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/public-handler.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/public-handler.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/public-handler.js +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/public-handler.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js +66 -4
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js +2 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts +2 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js +2 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js +2 -2
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.d.ts +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js +3 -3
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/index.d.ts +1 -1
- package/node_modules/@xrkseek/server-http/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/index.js +1 -1
- package/node_modules/@xrkseek/server-http/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-http/package.json +7 -1
- package/node_modules/qrcode-generator/README.md +101 -0
- package/node_modules/qrcode-generator/package.json +30 -0
- package/node_modules/qrcode-generator/qrcode.d.ts +57 -0
- package/node_modules/qrcode-generator/qrcode.js +2297 -0
- package/node_modules/qrcode-generator/qrcode_SJIS.js +30 -0
- package/node_modules/qrcode-generator/qrcode_UTF8.js +26 -0
- package/node_modules/qrcode-generator/sample.html +49 -0
- package/node_modules/qrcode-generator/sample.js +49 -0
- package/node_modules/qrcode-generator/test/qrcode.js +118 -0
- package/package.json +4 -2
- package/product-web/assets/index-BNGm-t1O.js +112 -0
- package/product-web/assets/index-BNGm-t1O.js.map +1 -0
- package/product-web/boot.json +1 -1
- package/product-web/index.html +1 -1
- package/product-web/plugins/@xrkseek/client-locale/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-modules/client.js +7 -6
- package/product-web/plugins/@xrkseek/client-runtime/client.js +7 -0
- package/product-web/plugins/@xrkseek/client-ui-agent-preset/client.js +37 -37
- package/product-web/plugins/@xrkseek/client-ui-attachment/client.js +14 -14
- package/product-web/plugins/@xrkseek/client-ui-commands/client.js +8 -8
- package/product-web/plugins/@xrkseek/client-ui-conversation/client.js +186 -193
- package/product-web/plugins/@xrkseek/client-ui-deliverables/client.js +5 -5
- package/product-web/plugins/@xrkseek/client-ui-directory-picker-browse/client.js +30 -30
- package/product-web/plugins/@xrkseek/client-ui-goal/client.js +8 -8
- package/product-web/plugins/@xrkseek/client-ui-input-trigger/client.js +5 -5
- package/product-web/plugins/@xrkseek/client-ui-jobs/client.js +9 -9
- package/product-web/plugins/@xrkseek/client-ui-layout/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-message-feedback/client.js +5 -5
- package/product-web/plugins/@xrkseek/client-ui-model-selection/client.js +18 -18
- package/product-web/plugins/@xrkseek/client-ui-permission-presets/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-plan/client.js +2 -2
- package/product-web/plugins/@xrkseek/client-ui-settings-general/client.js +27 -19
- package/product-web/plugins/@xrkseek/client-ui-settings-models/client.js +54 -54
- package/product-web/plugins/@xrkseek/client-ui-settings-plugin-inventory/client.js +13 -13
- package/product-web/plugins/@xrkseek/client-ui-settings-plugins/client.js +42 -42
- 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 +22 -22
- package/product-web/plugins/@xrkseek/client-ui-theme/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-tool/client.js +38 -38
- package/product-web/plugins/@xrkseek/client-ui-trajectory/client.js +144 -144
- package/product-web/plugins/@xrkseek/client-ui-user-questions/client.js +31 -31
- package/product-web/plugins/@xrkseek/client-ui-workflow-run/client.js +17 -17
- package/product-web/plugins/@xrkseek/client-ui-workspace/client.js +53 -53
- package/product-web/assets/index-C_NG-17x.js +0 -112
- package/product-web/assets/index-C_NG-17x.js.map +0 -1
|
@@ -1,54 +1,308 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { existsSync } from "node:fs";
|
|
2
|
+
import { sendJson } from "./underlying/http-json.js";
|
|
2
3
|
import { createXrkDocStore } from "./underlying/doc-store.js";
|
|
3
4
|
import { httpMethod, isMutatingMethod, parseJsonBody } from "./underlying/http-kit.js";
|
|
5
|
+
import { CHAT_IMPORT_SOURCE_FORMAT, discoverChatImportSessionsAsync, importFingerprint, } from "./chat-import-discovery.js";
|
|
6
|
+
import { loadImportRegistry, registryStatusMap, upsertImportRow, } from "./chat-import-registry.js";
|
|
7
|
+
const DEFAULT_CONFIG = {
|
|
8
|
+
inbound: { enabled: false, formats: [], excludeDirs: [] },
|
|
9
|
+
outbound: { enabled: false, targets: [], excludeDirs: [] },
|
|
10
|
+
intervalMs: 60_000,
|
|
11
|
+
lastRun: { at: null },
|
|
12
|
+
};
|
|
4
13
|
const EMPTY_STATE = {
|
|
5
|
-
|
|
6
|
-
sources: [],
|
|
7
|
-
lastSyncAt: null,
|
|
14
|
+
config: DEFAULT_CONFIG,
|
|
8
15
|
lastError: null,
|
|
9
16
|
};
|
|
10
17
|
const CHAT_IMPORT_STORE = createXrkDocStore(["chat-import", "state.json"], EMPTY_STATE);
|
|
18
|
+
function normalizeConfig(raw) {
|
|
19
|
+
const base = { ...DEFAULT_CONFIG };
|
|
20
|
+
if (!raw || typeof raw !== "object")
|
|
21
|
+
return base;
|
|
22
|
+
const row = raw;
|
|
23
|
+
const inbound = row.inbound && typeof row.inbound === "object"
|
|
24
|
+
? row.inbound
|
|
25
|
+
: {};
|
|
26
|
+
const outbound = row.outbound && typeof row.outbound === "object"
|
|
27
|
+
? row.outbound
|
|
28
|
+
: {};
|
|
29
|
+
return {
|
|
30
|
+
inbound: {
|
|
31
|
+
enabled: inbound.enabled === true,
|
|
32
|
+
formats: Array.isArray(inbound.formats)
|
|
33
|
+
? inbound.formats.filter((f) => typeof f === "string")
|
|
34
|
+
: [],
|
|
35
|
+
excludeDirs: Array.isArray(inbound.excludeDirs)
|
|
36
|
+
? inbound.excludeDirs.filter((d) => typeof d === "string")
|
|
37
|
+
: [],
|
|
38
|
+
},
|
|
39
|
+
outbound: {
|
|
40
|
+
enabled: outbound.enabled === true,
|
|
41
|
+
targets: Array.isArray(outbound.targets)
|
|
42
|
+
? outbound.targets.filter((t) => typeof t === "string")
|
|
43
|
+
: [],
|
|
44
|
+
excludeDirs: Array.isArray(outbound.excludeDirs)
|
|
45
|
+
? outbound.excludeDirs.filter((d) => typeof d === "string")
|
|
46
|
+
: [],
|
|
47
|
+
},
|
|
48
|
+
intervalMs: typeof row.intervalMs === "number" && row.intervalMs >= 15_000
|
|
49
|
+
? row.intervalMs
|
|
50
|
+
: DEFAULT_CONFIG.intervalMs,
|
|
51
|
+
lastRun: {
|
|
52
|
+
at: row.lastRun &&
|
|
53
|
+
typeof row.lastRun === "object" &&
|
|
54
|
+
typeof row.lastRun.at === "string"
|
|
55
|
+
? String(row.lastRun.at)
|
|
56
|
+
: null,
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function mergeConfig(current, patch) {
|
|
61
|
+
const next = normalizeConfig(current);
|
|
62
|
+
if (patch.inbound && typeof patch.inbound === "object") {
|
|
63
|
+
const inbound = patch.inbound;
|
|
64
|
+
next.inbound = {
|
|
65
|
+
...next.inbound,
|
|
66
|
+
...(typeof inbound.enabled === "boolean"
|
|
67
|
+
? { enabled: inbound.enabled }
|
|
68
|
+
: {}),
|
|
69
|
+
...(Array.isArray(inbound.formats)
|
|
70
|
+
? {
|
|
71
|
+
formats: inbound.formats.filter((f) => typeof f === "string"),
|
|
72
|
+
}
|
|
73
|
+
: {}),
|
|
74
|
+
...(Array.isArray(inbound.excludeDirs)
|
|
75
|
+
? {
|
|
76
|
+
excludeDirs: inbound.excludeDirs.filter((d) => typeof d === "string"),
|
|
77
|
+
}
|
|
78
|
+
: {}),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
if (patch.outbound && typeof patch.outbound === "object") {
|
|
82
|
+
const outbound = patch.outbound;
|
|
83
|
+
next.outbound = {
|
|
84
|
+
...next.outbound,
|
|
85
|
+
...(typeof outbound.enabled === "boolean"
|
|
86
|
+
? { enabled: outbound.enabled }
|
|
87
|
+
: {}),
|
|
88
|
+
...(Array.isArray(outbound.targets)
|
|
89
|
+
? {
|
|
90
|
+
targets: outbound.targets.filter((t) => typeof t === "string"),
|
|
91
|
+
}
|
|
92
|
+
: {}),
|
|
93
|
+
...(Array.isArray(outbound.excludeDirs)
|
|
94
|
+
? {
|
|
95
|
+
excludeDirs: outbound.excludeDirs.filter((d) => typeof d === "string"),
|
|
96
|
+
}
|
|
97
|
+
: {}),
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
if (typeof patch.intervalMs === "number" && patch.intervalMs >= 15_000) {
|
|
101
|
+
next.intervalMs = patch.intervalMs;
|
|
102
|
+
}
|
|
103
|
+
return next;
|
|
104
|
+
}
|
|
105
|
+
function sourceToFormat(source) {
|
|
106
|
+
return CHAT_IMPORT_SOURCE_FORMAT[source];
|
|
107
|
+
}
|
|
108
|
+
async function runInboundScan(options) {
|
|
109
|
+
const registry = loadImportRegistry(options.xrkHome);
|
|
110
|
+
const found = await discoverChatImportSessionsAsync({
|
|
111
|
+
...(options.xrkHome ? { xrkHome: options.xrkHome } : {}),
|
|
112
|
+
imports: registryStatusMap(registry),
|
|
113
|
+
});
|
|
114
|
+
return {
|
|
115
|
+
scanned: found.total,
|
|
116
|
+
imported: 0,
|
|
117
|
+
skipped: found.total,
|
|
118
|
+
};
|
|
119
|
+
}
|
|
11
120
|
export async function handleChatImportHttp(req, res, pathname, options) {
|
|
12
121
|
if (!pathname.startsWith("/api-import"))
|
|
13
122
|
return false;
|
|
14
123
|
const method = httpMethod(req);
|
|
15
124
|
let state = CHAT_IMPORT_STORE.read(options.xrkHome).data;
|
|
16
|
-
|
|
125
|
+
if (!("config" in state) || !state.config) {
|
|
126
|
+
const legacy = state;
|
|
127
|
+
state = {
|
|
128
|
+
config: normalizeConfig({
|
|
129
|
+
inbound: { enabled: legacy.enabled === true, formats: [], excludeDirs: [] },
|
|
130
|
+
outbound: { enabled: false, targets: [], excludeDirs: [] },
|
|
131
|
+
intervalMs: DEFAULT_CONFIG.intervalMs,
|
|
132
|
+
lastRun: { at: legacy.lastSyncAt ?? null },
|
|
133
|
+
}),
|
|
134
|
+
lastError: legacy.lastError ?? null,
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
state = {
|
|
138
|
+
...state,
|
|
139
|
+
config: normalizeConfig(state.config),
|
|
140
|
+
};
|
|
141
|
+
if (pathname === "/api-import/sessions" && method === "POST") {
|
|
142
|
+
const body = await parseJsonBody(req);
|
|
143
|
+
const source = typeof body.source === "string" && body.source ? body.source : "";
|
|
144
|
+
const format = source ? sourceToFormat(source) : undefined;
|
|
145
|
+
if (source && !format) {
|
|
146
|
+
sendJson(res, 400, { ok: false, error: `未知来源: ${source}` });
|
|
147
|
+
return true;
|
|
148
|
+
}
|
|
149
|
+
const offset = typeof body.offset === "number" && Number.isFinite(body.offset)
|
|
150
|
+
? Math.max(0, Math.trunc(body.offset))
|
|
151
|
+
: 0;
|
|
152
|
+
const limit = typeof body.limit === "number" && body.limit > 0
|
|
153
|
+
? Math.trunc(body.limit)
|
|
154
|
+
: undefined;
|
|
155
|
+
const registry = loadImportRegistry(options.xrkHome);
|
|
156
|
+
const found = await discoverChatImportSessionsAsync({
|
|
157
|
+
...(format ? { format } : {}),
|
|
158
|
+
...(typeof body.path === "string" && body.path.trim()
|
|
159
|
+
? { path: body.path.trim() }
|
|
160
|
+
: {}),
|
|
161
|
+
...(typeof body.query === "string" ? { query: body.query } : {}),
|
|
162
|
+
...(options.xrkHome ? { xrkHome: options.xrkHome } : {}),
|
|
163
|
+
imports: registryStatusMap(registry),
|
|
164
|
+
});
|
|
165
|
+
const all = found.sessions;
|
|
166
|
+
const sessions = limit === undefined ? all : all.slice(offset, offset + limit);
|
|
167
|
+
sendJson(res, 200, {
|
|
168
|
+
ok: true,
|
|
169
|
+
sessions,
|
|
170
|
+
total: found.total,
|
|
171
|
+
offset,
|
|
172
|
+
limit: limit ?? all.length,
|
|
173
|
+
});
|
|
174
|
+
return true;
|
|
175
|
+
}
|
|
176
|
+
if (pathname === "/api-import/import" && method === "POST") {
|
|
177
|
+
const body = await parseJsonBody(req);
|
|
178
|
+
const items = Array.isArray(body.items) ? body.items : [];
|
|
179
|
+
if (items.length === 0) {
|
|
180
|
+
sendJson(res, 400, {
|
|
181
|
+
ok: false,
|
|
182
|
+
error: "items 为空:请选择要导入的会话",
|
|
183
|
+
});
|
|
184
|
+
return true;
|
|
185
|
+
}
|
|
186
|
+
const results = [];
|
|
187
|
+
for (const item of items) {
|
|
188
|
+
if (!item || typeof item !== "object")
|
|
189
|
+
continue;
|
|
190
|
+
const source = typeof item.source === "string"
|
|
191
|
+
? item.source
|
|
192
|
+
: "";
|
|
193
|
+
const format = sourceToFormat(source);
|
|
194
|
+
const sourcePath = typeof item.sourcePath === "string"
|
|
195
|
+
? item.sourcePath
|
|
196
|
+
: "";
|
|
197
|
+
const sessionId = typeof item.sessionId === "string"
|
|
198
|
+
? item.sessionId
|
|
199
|
+
: "";
|
|
200
|
+
if (!format || !sourcePath) {
|
|
201
|
+
results.push({
|
|
202
|
+
status: "failed",
|
|
203
|
+
error: "missing source or sourcePath",
|
|
204
|
+
});
|
|
205
|
+
continue;
|
|
206
|
+
}
|
|
207
|
+
if (!existsSync(sourcePath)) {
|
|
208
|
+
results.push({
|
|
209
|
+
sourcePath,
|
|
210
|
+
format,
|
|
211
|
+
status: "failed",
|
|
212
|
+
error: "source file missing",
|
|
213
|
+
});
|
|
214
|
+
continue;
|
|
215
|
+
}
|
|
216
|
+
const fingerprint = importFingerprint({
|
|
217
|
+
format,
|
|
218
|
+
sessionId: sessionId || sourcePath,
|
|
219
|
+
sourcePath,
|
|
220
|
+
});
|
|
221
|
+
const registry = loadImportRegistry(options.xrkHome);
|
|
222
|
+
if (registry.imports[fingerprint]?.status === "imported") {
|
|
223
|
+
results.push({
|
|
224
|
+
sourcePath,
|
|
225
|
+
format,
|
|
226
|
+
status: "already-imported",
|
|
227
|
+
alreadyImported: true,
|
|
228
|
+
});
|
|
229
|
+
continue;
|
|
230
|
+
}
|
|
231
|
+
upsertImportRow(options.xrkHome, {
|
|
232
|
+
format,
|
|
233
|
+
sourcePath,
|
|
234
|
+
sessionId: sessionId || sourcePath,
|
|
235
|
+
status: "imported",
|
|
236
|
+
note: "metadata registered on XRK bridge; transcript import uses same fingerprint as dsh-chat-import",
|
|
237
|
+
});
|
|
238
|
+
results.push({
|
|
239
|
+
sourcePath,
|
|
240
|
+
format,
|
|
241
|
+
mode: "single",
|
|
242
|
+
status: "imported",
|
|
243
|
+
sessionId: sessionId || sourcePath,
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
sendJson(res, 200, { ok: true, results });
|
|
247
|
+
return true;
|
|
248
|
+
}
|
|
17
249
|
if (pathname === "/api-import/sync") {
|
|
18
250
|
if (isMutatingMethod(method)) {
|
|
19
251
|
const body = await parseJsonBody(req);
|
|
252
|
+
const runNow = body.runNow === true;
|
|
20
253
|
const saved = CHAT_IMPORT_STORE.patch(options.xrkHome, (current) => {
|
|
21
|
-
const
|
|
22
|
-
if (
|
|
23
|
-
|
|
24
|
-
if (Array.isArray(body.sources)) {
|
|
25
|
-
next.sources = body.sources.filter((s) => !!s &&
|
|
26
|
-
typeof s === "object" &&
|
|
27
|
-
typeof s.id === "string");
|
|
254
|
+
const config = mergeConfig(normalizeConfig(current.config), body);
|
|
255
|
+
if (runNow) {
|
|
256
|
+
config.lastRun = { at: new Date().toISOString() };
|
|
28
257
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
258
|
+
return {
|
|
259
|
+
config,
|
|
260
|
+
lastError: null,
|
|
261
|
+
};
|
|
262
|
+
});
|
|
263
|
+
state = {
|
|
264
|
+
...saved.data,
|
|
265
|
+
config: normalizeConfig(saved.data.config),
|
|
266
|
+
};
|
|
267
|
+
const scan = runNow ? await runInboundScan(options) : undefined;
|
|
268
|
+
sendJson(res, 200, {
|
|
269
|
+
ok: true,
|
|
270
|
+
config: state.config,
|
|
271
|
+
status: {
|
|
272
|
+
ready: state.config.inbound.enabled || state.config.outbound.enabled,
|
|
273
|
+
lastSyncAt: state.config.lastRun.at,
|
|
274
|
+
lastError: state.lastError,
|
|
275
|
+
},
|
|
276
|
+
...(runNow && scan
|
|
277
|
+
? {
|
|
278
|
+
result: {
|
|
279
|
+
inbound: scan,
|
|
280
|
+
outbound: { scanned: 0, exported: 0, skipped: 0 },
|
|
281
|
+
},
|
|
282
|
+
}
|
|
283
|
+
: {}),
|
|
284
|
+
revision: saved.revision,
|
|
32
285
|
});
|
|
33
|
-
|
|
34
|
-
revision = saved.revision;
|
|
286
|
+
return true;
|
|
35
287
|
}
|
|
36
288
|
sendJson(res, 200, {
|
|
37
289
|
ok: true,
|
|
38
|
-
config:
|
|
290
|
+
config: state.config,
|
|
39
291
|
status: {
|
|
40
|
-
ready: state.enabled
|
|
41
|
-
lastSyncAt: state.
|
|
292
|
+
ready: state.config.inbound.enabled || state.config.outbound.enabled,
|
|
293
|
+
lastSyncAt: state.config.lastRun.at,
|
|
42
294
|
lastError: state.lastError,
|
|
43
295
|
},
|
|
44
|
-
...(revision !== undefined ? { revision } : {}),
|
|
45
296
|
});
|
|
46
297
|
return true;
|
|
47
298
|
}
|
|
48
299
|
sendJson(res, 200, {
|
|
49
300
|
ok: true,
|
|
50
|
-
config:
|
|
51
|
-
status: {
|
|
301
|
+
config: state.config,
|
|
302
|
+
status: {
|
|
303
|
+
ready: state.config.inbound.enabled || state.config.outbound.enabled,
|
|
304
|
+
lastSyncAt: state.config.lastRun.at,
|
|
305
|
+
},
|
|
52
306
|
});
|
|
53
307
|
return true;
|
|
54
308
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-import.js","sourceRoot":"","sources":["../../src/dsh-compat/chat-import.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAavF,MAAM,WAAW,GAAoB;IACnC,OAAO,EAAE,KAAK;IACd,OAAO,EAAE,EAAE;IACX,UAAU,EAAE,IAAI;IAChB,SAAS,EAAE,IAAI;CAChB,CAAC;AAEF,MAAM,iBAAiB,GAAG,iBAAiB,CACzC,CAAC,aAAa,EAAE,YAAY,CAAC,EAC7B,WAAW,CACZ,CAAC;AAEF,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,GAAoB,EACpB,GAAmB,EACnB,QAAgB,EAChB,OAA0B;IAE1B,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC;QAAE,OAAO,KAAK,CAAC;IACtD,MAAM,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;IAC/B,IAAI,KAAK,GAAG,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC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MAAM,CAAC,QAAQ,CAAC,OAAO;gBACpE,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE;gBACnC,SAAS,EAAE,KAAK,CAAC,SAAS;aAC3B;SACF,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IACd,CAAC;IAED,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE;QACjB,EAAE,EAAE,IAAI;QACR,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,MAAM,EAAE;YACN,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,IAAI,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO;YACpE,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE;SACpC;KACF,CAAC,CAAC;IACH,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,QAAgB;IAC/C,OAAO,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAC5C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Community root paths such as `/whale-girl` (not `/api`, not capability-table prefixes).
|
|
3
3
|
*/
|
|
4
4
|
import type { IncomingMessage, ServerResponse } from "node:http";
|
|
5
5
|
export declare function isCommunityRootPath(pathname: string): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"community-root-http.js","sourceRoot":"","sources":["../../src/dsh-compat/community-root-http.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"community-root-http.js","sourceRoot":"","sources":["../../src/dsh-compat/community-root-http.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AA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;QACd,OAAO,EAAE,kBAAkB;QAC3B,QAAQ,EAAE,KAAK;KAChB,EACD,CAAC,UAAU,CAAC,CACb,CACF,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Plugins register handlers by channel prefix; Host mounts one public entry.
|
|
4
4
|
*/
|
|
5
5
|
import type { IncomingMessage, ServerResponse } from "node:http";
|
|
6
|
-
export type CordisRpcHandler = (endpoint: string, payload: Record<string, unknown
|
|
6
|
+
export type CordisRpcHandler = (endpoint: string, payload: Record<string, unknown>, req?: IncomingMessage) => unknown | Promise<unknown>;
|
|
7
7
|
export type CordisHttpHandler = (req: IncomingMessage, res: ServerResponse, pathname: string) => boolean | Promise<boolean>;
|
|
8
8
|
export interface CordisCompatRegistry {
|
|
9
9
|
registerRpc(channel: string, handler: CordisRpcHandler): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cordis-registry.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/cordis-registry.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKjE,MAAM,MAAM,gBAAgB,GAAG,CAC7B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"cordis-registry.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/cordis-registry.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKjE,MAAM,MAAM,gBAAgB,GAAG,CAC7B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,GAAG,CAAC,EAAE,eAAe,KAClB,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;AAEhC,MAAM,MAAM,iBAAiB,GAAG,CAC9B,GAAG,EAAE,eAAe,EACpB,GAAG,EAAE,cAAc,EACnB,QAAQ,EAAE,MAAM,KACb,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;AAEhC,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC9D,YAAY,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,EAAE,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACrF,SAAS,CACP,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,OAAO,CAAC,OAAO,CAAC,CAAC;IACpB,eAAe,IAAI,SAAS,MAAM,EAAE,CAAC;IACrC,MAAM,CACJ,GAAG,EAAE,eAAe,EACpB,GAAG,EAAE,cAAc,EACnB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC,CAAC;CACrB;AAMD,wBAAgB,0BAA0B,IAAI,oBAAoB,CAsIjE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { readBody, rpcErr, rpcOk, sendJson } from "
|
|
1
|
+
import { readBody, rpcErr, rpcOk, sendJson } from "./underlying/http-json.js";
|
|
2
2
|
import { DSH_COMPAT_ADAPTER } from "./meta.js";
|
|
3
3
|
import { trySettingsFallbackRpc } from "./cordis-settings-fallback.js";
|
|
4
4
|
function normalizeRpcChannel(channel) {
|
|
@@ -66,7 +66,7 @@ export function createCordisCompatRegistry() {
|
|
|
66
66
|
return true;
|
|
67
67
|
}
|
|
68
68
|
try {
|
|
69
|
-
const value = await handler(method || endpoint, payload);
|
|
69
|
+
const value = await handler(method || endpoint, payload, req);
|
|
70
70
|
sendJson(res, 200, rpcOk(rpcId, value));
|
|
71
71
|
}
|
|
72
72
|
catch (err) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cordis-registry.js","sourceRoot":"","sources":["../../src/dsh-compat/cordis-registry.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"cordis-registry.js","sourceRoot":"","sources":["../../src/dsh-compat/cordis-registry.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AA8BvE,SAAS,mBAAmB,CAAC,OAAe;IAC1C,OAAO,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,0BAA0B;IACxC,MAAM,GAAG,GAAG,IAAI,GAAG,EAA4B,CAAC;IAChD,MAAM,IAAI,GAGL,EAAE,CAAC;IAER,OAAO;QACL,WAAW,CAAC,OAAO,EAAE,OAAO;YAC1B,GAAG,CAAC,GAAG,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC;QACjD,CAAC;QACD,YAAY,CAAC,KAAK,EAAE,OAAO;YACzB,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO;YACxC,MAAM,GAAG,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;YACzC,MAAM,OAAO,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI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,CAAC;gBACvC,MAAM,QAAQ,GACZ,KAAK,GAAG,CAAC;oBACP,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;oBAC9C,CAAC,CAAC,MAAM,IAAI,EAAE,CAAC;gBACnB,MAAM,QAAQ,GAAG,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;gBACrE,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;oBAC3B,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;oBAC3C,OAAO,IAAI,CAAC;gBACd,CAAC;gBACD,QAAQ,CACN,GAAG,EACH,GAAG,EACH,KAAK,CAAC,KAAK,EAAE;oBACX,OAAO,EAAE,kBAAkB;oBAC3B,IAAI,EAAE,QAAQ;oBACd,EAAE,EAAE,IAAI;oBACR,MAAM,EAAE,OAAO;oBACf,QAAQ,EAAE,IAAI;oBACd,KAAK,EAAE,EAAE;iBACV,CAAC,CACH,CAAC;gBACF,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -14,7 +14,7 @@ export function inferDshCommunityHostManifest(pkgRoot, packageName) {
|
|
|
14
14
|
const scanned = scanClientHostSurface(pkgRoot);
|
|
15
15
|
const rpcChannelNames = conventionRpcChannels(packageName, scanned.rpcChannels);
|
|
16
16
|
const rpc = rpcChannelNames.map((channel) => resolveRpcRoute(channel, packageName));
|
|
17
|
-
// HTTP:
|
|
17
|
+
// HTTP: global capability table + honest GET catch-all; do not register per-package xrk-stub prefixes.
|
|
18
18
|
return {
|
|
19
19
|
id,
|
|
20
20
|
...(rpc.length ? { rpc } : {}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dsh-community-infer.js","sourceRoot":"","sources":["../../src/dsh-compat/dsh-community-infer.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,6FAA6F;AAC7F,MAAM,UAAU,6BAA6B,CAC3C,OAAe,EACf,WAAmB;IAEnB,MAAM,EAAE,GAAG,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC7D,MAAM,OAAO,GAAG,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAC/C,MAAM,eAAe,GAAG,qBAAqB,CAAC,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAEhF,MAAM,GAAG,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAC1C,eAAe,CAAC,OAAO,EAAE,WAAW,CAAC,CACtC,CAAC;IAEF,
|
|
1
|
+
{"version":3,"file":"dsh-community-infer.js","sourceRoot":"","sources":["../../src/dsh-compat/dsh-community-infer.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,6FAA6F;AAC7F,MAAM,UAAU,6BAA6B,CAC3C,OAAe,EACf,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CAAC,WAAmB;IAC3D,MAAM,OAAO,GAAG,WAAW,CAAC,IAAI,EAAE,CAAC;IACnC,IAAI,CAAC,OAAO;QAAE,OAAO,KAAK,CAAC;IAC3B,IAAI,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC;QAAE,OAAO,KAAK,CAAC;IAClD,MAAM,KAAK,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACxC,IAAI,KAAK,KAAK,WAAW,IAAI,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QACrF,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;QAAE,OAAO,IAAI,CAAC;IAC3C,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,UAAU,2BAA2B,CACzC,WAAmB,EACnB,GAA6B;IAE7B,IAAI,GAAG,EAAE,CAAC;QACR,MAAM,SAAS,GAAG,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAChD,MAAM,SAAS,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;QAC5C,IAAI,SAAS,IAAI,CAAC,SAAS;YAAE,OAAO,KAAK,CAAC;QAC1C,IAAI,SAAS;YAAE,OAAO,IAAI,CAAC;IAC7B,CAAC;IACD,OAAO,yBAAyB,CAAC,WAAW,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Community Host capability matrix (generic, not per-plugin).
|
|
3
|
+
* Aligned with docs/status and community-plugins; coverage is XRK first-party depth.
|
|
4
4
|
*/
|
|
5
5
|
export type DshCompatCoverage = "full" | "bridge" | "honest-stub" | "missing";
|
|
6
6
|
export interface DshCompatCapabilityRow {
|
|
@@ -9,9 +9,9 @@ export interface DshCompatCapabilityRow {
|
|
|
9
9
|
readonly genericModule: string;
|
|
10
10
|
readonly note: string;
|
|
11
11
|
}
|
|
12
|
-
/**
|
|
12
|
+
/** Generic underlying + adapter coverage (not forked per community package). */
|
|
13
13
|
export declare const DSH_COMPAT_GENERIC_CAPABILITIES: readonly DshCompatCapabilityRow[];
|
|
14
|
-
/**
|
|
14
|
+
/** Reserved for future XRK product capabilities (empty; see docs/community-plugins). */
|
|
15
15
|
export declare const DSH_COMPAT_KNOWN_GAPS: readonly DshCompatCapabilityRow[];
|
|
16
16
|
export declare function listDshCompatGenericIds(): readonly string[];
|
|
17
17
|
export declare function listDshCompatGapIds(): readonly string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dsh-compat-matrix.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/dsh-compat-matrix.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,QAAQ,GAAG,aAAa,GAAG,SAAS,CAAC;AAE9E,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,
|
|
1
|
+
{"version":3,"file":"dsh-compat-matrix.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/dsh-compat-matrix.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,QAAQ,GAAG,aAAa,GAAG,SAAS,CAAC;AAE9E,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,gFAAgF;AAChF,eAAO,MAAM,+BAA+B,EAAE,SAAS,sBAAsB,EAgMnE,CAAC;AAEX,wFAAwF;AACxF,eAAO,MAAM,qBAAqB,EAAE,SAAS,sBAAsB,EAAgB,CAAC;AAEpF,wBAAgB,uBAAuB,IAAI,SAAS,MAAM,EAAE,CAE3D;AAED,wBAAgB,mBAAmB,IAAI,SAAS,MAAM,EAAE,CAEvD"}
|