@chatcode/chatcode-cli 3.0.3 → 3.0.4-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +10 -10
- package/README.md +16 -1
- package/README.zh.md +16 -1
- package/lib/bin.js +62 -11
- package/lib/{command-errors-CBJRI2gy.js → command-errors-BkCHTQHj.js} +12 -12
- package/lib/{command-trees-Dvq4C7a4.js → command-trees-5HFyC5sI.js} +2 -2
- package/lib/{component-identity-DPdJglJO.js → component-identity-De91VHwW.js} +3 -3
- package/lib/{dist-w_sIm4VD.js → dist-CsDWUvQ4.js} +231 -231
- package/lib/{dump-config-CauO75nE.js → dump-config-BcH-VYuv.js} +5 -5
- package/lib/dump-config-CyopmD85.js +2 -0
- package/lib/{dump-config-schema-CObLWWaW.js → dump-config-schema-DM0fb6Ns.js} +2 -2
- package/lib/{extension-events-Be9LWvHD.js → extension-events-CdYCRP0o.js} +26 -26
- package/lib/{frames-7PAg0Q9b.js → frames-DOX-Jgk8.js} +4 -4
- package/lib/headless-compat.js +2 -2
- package/lib/{host-access-DeCjoRQP.js → host-access-Bk4xps5E.js} +1 -1
- package/lib/{keymap-CRUxM_qn.js → keymap-CJ1kvLR2.js} +17 -16
- package/lib/{plugin-CDFSDE_y.js → plugin-XR7ncbnW.js} +2928 -2240
- package/lib/{plugin-Cn-hyYY8.js → plugin-eJjD6r12.js} +1 -1
- package/lib/{profile-boot-SJGbpLgN.js → profile-boot-BNQry1NM.js} +97 -14
- package/lib/profile-boot.js +2 -2
- package/lib/{scenes-D6jV1EEi.js → scenes-CAmWncZD.js} +3 -3
- package/lib/{settings-sections-DJQRNBo9.js → settings-sections-CakcvBv9.js} +7 -3
- package/lib/statusBarSettings-BPPS_Usm.js +382 -0
- package/lib/{supports-color-CcW-FGjr.js → supports-color-DyChQwlI.js} +2 -2
- package/lib/{themes-BCly4_y9.js → themes-OjcUpZzw.js} +13 -13
- package/lib/tui-compat-command-trees.js +1 -1
- package/lib/tui-compat-extensions.js +3 -3
- package/lib/tui-compat-plugin-host.js +5 -5
- package/lib/tui-compat-scenes.js +1 -1
- package/lib/tui-compat-settings-sections.js +1 -1
- package/lib/tui-compat-working-activity.js +4 -4
- package/lib/tui-compat-workspaces.js +1 -1
- package/lib/tui-compat.js +9 -26
- package/lib/types/args.d.ts +2 -0
- package/lib/types/permission-bypass.d.ts +16 -0
- package/lib/types/profile-boot.d.ts +12 -0
- package/lib/types/tui-compat.d.ts +4 -0
- package/lib/types/web-browser.d.ts +6 -0
- package/lib/types/web-instance.d.ts +42 -0
- package/lib/web-browser-Vcgfdsv_.js +46 -0
- package/lib/web-instance-B0jec7cq.js +2 -0
- package/lib/web-instance-DbP7IHPv.js +280 -0
- package/lib/{workspaces-Bb3kCAFb.js → workspaces-XY7UdfXp.js} +2 -2
- package/package.json +34 -32
- package/runtime/manifest.json +4 -2
- package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +34 -4
- package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/types/index.d.ts +9 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +2 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/remote-stream.js +4 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +39 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +6 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +10 -3
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +8 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/types.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/index.js +28 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.host.js +39 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.remote-client.d.ts +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.remote-client.js +32 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/types/index.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/types/index.js +19 -1
- package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/index.js +28 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/feed.js +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +67 -19
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/index.d.ts +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/profile-context.d.ts +11 -1
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/worker/profile-resolution-bootstrap.js +22 -3
- package/runtime/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +9 -3
- package/runtime/node_modules/@deepseek-ai/dsh-base/package.json +2 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +3 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/index.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +60 -12
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/directory.d.ts +3 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/locales.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +3 -5
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +23 -27
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/types/client/contract/slots.d.ts +3 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/index.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +8 -7
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/SettingsDocumentAction.d.ts +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/settings-document-store.d.ts +2 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +33 -12
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/locales.d.ts +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +8 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/locales.d.ts +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/index.js +35 -0
- package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.d.ts +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.js +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.d.ts +28 -0
- package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.js +36 -0
- package/runtime/node_modules/@deepseek-ai/dsh-computer-use/package.json +42 -0
- package/runtime/node_modules/@deepseek-ai/dsh-config-editor/lib/index.js +102 -14
- package/runtime/node_modules/@deepseek-ai/dsh-config-editor/lib/types/index.d.ts +34 -4
- package/runtime/node_modules/@deepseek-ai/dsh-config-editor/package.json +1 -0
- package/runtime/node_modules/@deepseek-ai/dsh-host-webserver/lib/index.js +2 -1
- package/runtime/node_modules/@deepseek-ai/dsh-native-command/lib/index.js +21 -8
- package/runtime/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.d.ts +4 -6
- package/runtime/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.js +18 -7
- package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/index.js +5 -4
- package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/index.d.ts +4 -3
- package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/index.js +4 -3
- package/runtime/node_modules/@deepseek-ai/dsh-storage/lib/types/backend.d.ts +4 -0
- package/runtime/node_modules/@deepseek-ai/dsh-storage-domain/lib/index.js +60 -0
- package/runtime/node_modules/@deepseek-ai/dsh-storage-domain/lib/types/domain.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-storage-json/lib/index.js +25 -0
- package/runtime/node_modules/@deepseek-ai/dsh-storage-json/package.json +1 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/index.js +5472 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/command-args.d.ts +17 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/commands/tianti/cicd.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/commands/tianti/tianti.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/commands/tianti-deliver/tianti-deliver.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/config.d.ts +27 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/index.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/memory-config.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/runtime.d.ts +105 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/aliases.d.ts +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/auth.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/client.d.ts +206 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/config.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/index.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/log.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/types.d.ts +136 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/codebase.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/dynamicWorkflow.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/engine.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/executor.d.ts +11 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/executors.d.ts +15 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/index.d.ts +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/memorySuggestions.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/openspec.d.ts +31 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/recommend.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/render.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/requirementContext.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/scenarioUpgrade.d.ts +24 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/state.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/store.d.ts +33 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/templates.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/types.d.ts +385 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/writeReviewSync.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/writeReview/index.d.ts +29 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/writeReview/store.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/writeReview/types.d.ts +49 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/tools.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tianti/package.json +55 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +57 -13
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-D5kpKf--.css +1 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Dz_cDcce.js +133 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Dz_cDcce.js.map +1 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/chatcode-apple-touch-icon.png +0 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/chatcode-icon-32.png +0 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/chatcode-mask-icon.svg +1 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon-dark.svg +1 -3
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon.ico +0 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon.svg +1 -3
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +8 -4
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/preview.html +8 -4
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/package.json +2 -1
- package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/index.js +110 -33
- package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/entity.d.ts +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/entity.js +23 -17
- package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.js +95 -21
- package/lib/dump-config-CijLv_kn.js +0 -2
- package/lib/tuiDisplayPrefs-Dm_fULiR.js +0 -204
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DUvMhLle.css +0 -1
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Q6zc2uHV.js +0 -127
- package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Q6zc2uHV.js.map +0 -1
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1025 1024"><path fill="#000" d="M733.373245 866.20891c-51.925994 51.978359-136.225239 51.978359-188.180813 0-20.439542-20.377984-32.450399-32.470785-32.450399-32.470785s-12.070017 12.092601-32.411625 32.470785c-52.039717 51.978359-136.282001 51.978359-188.262558 0-51.982956-51.994148-51.982956-136.245625 0-188.239773 14.445406-14.422621 159.008192-158.974016 159.008192-158.974016s-144.562786-144.526411-159.008192-158.971817c-51.982956-52.019331-51.982956-136.245625 0-188.239773 51.980557-51.969165 136.220642-51.969165 188.262558 0 20.341808 20.387177 32.411625 32.425416 32.411625 32.425416s12.010857-12.038238 32.450399-32.425416c51.955574-51.969165 136.254619-51.969165 188.180813 0 51.991949 51.994148 51.991949 136.220642 0 188.239973-14.438611 14.445406-158.998999 158.971817-158.998999 158.971817s144.562786 144.553593 158.998999 158.974016C785.365194 729.963485 785.365194 814.214762 733.373245 866.20891L733.373245 866.20891zM512.076284 580.006556c0 0-139.484829 140.8553-158.314863 159.665147-17.907259 17.882276-17.907259 46.934378 0 64.843836 17.884474 17.895867 46.952566 17.895867 64.871217 0 17.218526-17.252703 32.448-32.459393 32.448-32.459393l-49.096113-49.043748 61.679781-61.66619 49.077925 49.080124 49.046147-49.080124 61.679781 61.66619-49.030158 49.043748c0 0 15.14773 15.20689 32.414023 32.459393 17.961822 17.895867 46.96156 17.895867 64.843836 0 17.932242-17.907259 17.932242-46.96176 0-64.843836C652.895209 720.862056 512.076284 580.006556 512.076284 580.006556L512.076284 580.006556zM100.648033 486.572104c-8.93774 8.949132-13.381527 20.680379-13.381527 32.423017 0 11.758628 4.443787 23.476283 13.381527 32.427614 17.907259 17.895867 46.963958 17.895867 64.907593 0 14.538543-14.563526 32.411825-32.427614 32.411825-32.427614s-17.87548-17.870884-32.411825-32.423017C147.611991 468.651055 118.555292 468.651055 100.648033 486.572104L100.648033 486.572104zM671.693464 298.343523c17.932242-17.918651 17.932242-46.975351 0-64.868819-17.882276-17.92085-46.882214-17.92085-64.843836 0-17.266293 17.252703-32.414023 32.434409-32.414023 32.434409l49.030158 49.077925-61.679781 61.632013-49.043748-49.057339-49.077925 49.057339-61.679781-61.632013 49.07113-49.077925c0 0-15.20689-15.181907-32.423017-32.434409-17.918651-17.92085-46.986743-17.92085-64.8962 0-17.882276 17.893668-17.882276 46.950368 0 64.869019 18.855016 18.786863 158.342244 159.63097 158.342244 159.63097S652.895209 317.130386 671.693464 298.343523L671.693464 298.343523zM858.60134 486.572104c-14.538543 14.549935-32.414023 32.423017-32.414023 32.423017s17.873082 17.86169 32.414023 32.427614c17.918651 17.895867 46.998135 17.895867 64.902996 0 8.93774-8.951331 13.429295-20.668986 13.429295-32.427614 0-11.742638-4.493753-23.474085-13.429295-32.423017C905.597077 468.651055 876.517793 468.651055 858.60134 486.572104L858.60134 486.572104zM38.977245 613.109312c-25.981185-25.990379-38.976374-60.027301-38.976374-94.114191 0-34.084691 12.995189-68.119415 38.976374-94.111992 51.973762-52.003342 136.275205-52.003342 188.267155 0 14.888705 14.902296 32.411625 32.425416 32.411625 32.425416l49.043748-49.036953 61.691173 61.643406-49.102908 49.077925 49.102908 49.055141-61.691173 61.643406-49.043748-49.046147c0 0-17.523119 17.561693-32.411625 32.461791C175.250252 665.092267 90.951007 665.092267 38.977245 613.109312L38.977245 613.109312zM985.186316 613.109312c-51.996346 51.980557-136.295592 51.980557-188.27395 0-14.877313-14.902296-32.427614-32.457194-32.427614-32.457194l-49.057339 49.043748-61.66619-61.641207 49.084721-49.059737-49.084721-49.075527 61.66619-61.643406 49.057339 49.034754c0 0 17.550301-17.523119 32.427614-32.425416 51.978359-52.003342 136.282001-52.003342 188.27395 0 25.967594 25.992577 38.971977 60.0295 38.971977 94.114191C1024.158293 553.08201 1011.15391 587.119133 985.186316 613.109312L985.186316 613.109312z"/></svg>
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
|
2
|
-
<path id="path" d="M48.8354 10.0479C48.3232 9.79199 48.1025 10.2798 47.8032 10.5278C47.7007 10.6079 47.6143 10.7119 47.5273 10.8076C46.7793 11.624 45.9048 12.1597 44.7622 12.0957C43.0923 12 41.666 12.5356 40.4058 13.8398C40.1377 12.2319 39.2476 11.272 37.8926 10.6558C37.1836 10.3359 36.4668 10.0156 35.9702 9.31982C35.6235 8.82373 35.5293 8.27197 35.356 7.72754C35.2456 7.3999 35.1353 7.06396 34.7651 7.00781C34.3633 6.94385 34.2056 7.2876 34.0479 7.57568C33.418 8.75195 33.1733 10.0479 33.1973 11.3599C33.2524 14.312 34.4736 16.6641 36.8999 18.3359C37.1758 18.5278 37.2466 18.7197 37.1597 19C36.9946 19.5757 36.7974 20.1357 36.624 20.7119C36.5137 21.0801 36.3486 21.1597 35.9624 21C34.6309 20.4321 33.481 19.5918 32.4644 18.5757C30.7393 16.8721 29.1792 14.9917 27.2334 13.52C26.7764 13.1758 26.3193 12.856 25.8467 12.5518C23.8618 10.584 26.1069 8.96777 26.627 8.77588C27.1704 8.57568 26.8159 7.8877 25.0591 7.896C23.3022 7.90381 21.6953 8.50391 19.647 9.30371C19.3477 9.42383 19.0322 9.51172 18.7095 9.58398C16.8501 9.22363 14.9199 9.14355 12.9033 9.37598C9.10596 9.80762 6.07275 11.6396 3.84326 14.7681C1.16455 18.5278 0.53418 22.7998 1.30664 27.2559C2.11768 31.9521 4.46582 35.8398 8.07373 38.8799C11.8159 42.0322 16.1255 43.5762 21.041 43.2803C24.0269 43.104 27.3516 42.6963 31.1016 39.4561C32.0469 39.936 33.0396 40.1279 34.686 40.272C35.9546 40.3921 37.1758 40.208 38.1211 40.0078C39.6021 39.688 39.4995 38.2881 38.9639 38.0322C34.623 35.9678 35.5762 36.8081 34.71 36.1279C36.9155 33.4639 40.2402 30.6958 41.54 21.728C41.6426 21.0161 41.5557 20.5679 41.54 19.9917C41.5322 19.6396 41.6108 19.5039 42.0049 19.4639C43.0923 19.3359 44.1479 19.0317 45.1167 18.4878C47.9292 16.9199 49.064 14.3438 49.3315 11.2559C49.3711 10.7837 49.3237 10.2959 48.8354 10.0479ZM24.3262 37.8398C20.1196 34.4639 18.0791 33.3521 17.2358 33.3999C16.4482 33.4482 16.5898 34.3682 16.7632 34.9678C16.9443 35.5601 17.1812 35.9683 17.5117 36.4878C17.7402 36.832 17.8979 37.3442 17.2832 37.728C15.9282 38.584 13.5728 37.4399 13.4624 37.3838C10.7207 35.7358 8.42822 33.5601 6.81348 30.584C5.25342 27.7197 4.34766 24.6479 4.19775 21.3677C4.1582 20.5757 4.38672 20.2959 5.15869 20.1519C6.17529 19.96 7.22314 19.9199 8.23926 20.0718C12.5327 20.7119 16.1885 22.6719 19.2529 25.7759C21.002 27.5439 22.3252 29.6558 23.6885 31.7202C25.1377 33.9121 26.6978 36 28.6831 37.7119C29.3843 38.312 29.9434 38.7681 30.479 39.104C28.8643 39.2881 26.1699 39.3281 24.3262 37.8398ZM26.3433 24.6001C26.3433 24.248 26.6191 23.9678 26.9658 23.9678C27.0444 23.9678 27.1152 23.9839 27.1782 24.0078C27.2651 24.04 27.3438 24.0879 27.4067 24.1602C27.5171 24.272 27.5801 24.4321 27.5801 24.6001C27.5801 24.9521 27.3042 25.2319 26.9575 25.2319C26.6108 25.2319 26.3433 24.9521 26.3433 24.6001ZM32.6064 27.8799C32.2046 28.0479 31.8027 28.1919 31.4165 28.208C30.8179 28.2397 30.1641 27.9922 29.8096 27.688C29.2583 27.2158 28.8643 26.9521 28.6987 26.1279C28.6279 25.7759 28.6675 25.2319 28.7305 24.9199C28.8721 24.248 28.7144 23.8159 28.2495 23.4238C27.8716 23.104 27.3911 23.0161 26.8633 23.0161C26.666 23.0161 26.4849 22.9277 26.3511 22.856C26.1304 22.7441 25.9492 22.4639 26.1226 22.1201C26.1777 22.0078 26.4458 21.7358 26.5088 21.688C27.2256 21.272 28.0527 21.4077 28.8169 21.7197C29.5259 22.0161 30.0615 22.5601 30.834 23.3281C31.6216 24.2559 31.7632 24.5117 32.2124 25.208C32.5669 25.752 32.8901 26.312 33.1104 26.9521C33.2446 27.3521 33.0713 27.6802 32.6064 27.8799Z" fill="#fff" fill-opacity="1.000000" fill-rule="nonzero"/>
|
|
3
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1025 1024"><path fill="#E90003" d="M733.373245 866.20891c-51.925994 51.978359-136.225239 51.978359-188.180813 0-20.439542-20.377984-32.450399-32.470785-32.450399-32.470785s-12.070017 12.092601-32.411625 32.470785c-52.039717 51.978359-136.282001 51.978359-188.262558 0-51.982956-51.994148-51.982956-136.245625 0-188.239773 14.445406-14.422621 159.008192-158.974016 159.008192-158.974016s-144.562786-144.526411-159.008192-158.971817c-51.982956-52.019331-51.982956-136.245625 0-188.239773 51.980557-51.969165 136.220642-51.969165 188.262558 0 20.341808 20.387177 32.411625 32.425416 32.411625 32.425416s12.010857-12.038238 32.450399-32.425416c51.955574-51.969165 136.254619-51.969165 188.180813 0 51.991949 51.994148 51.991949 136.220642 0 188.239973-14.438611 14.445406-158.998999 158.971817-158.998999 158.971817s144.562786 144.553593 158.998999 158.974016C785.365194 729.963485 785.365194 814.214762 733.373245 866.20891L733.373245 866.20891zM512.076284 580.006556c0 0-139.484829 140.8553-158.314863 159.665147-17.907259 17.882276-17.907259 46.934378 0 64.843836 17.884474 17.895867 46.952566 17.895867 64.871217 0 17.218526-17.252703 32.448-32.459393 32.448-32.459393l-49.096113-49.043748 61.679781-61.66619 49.077925 49.080124 49.046147-49.080124 61.679781 61.66619-49.030158 49.043748c0 0 15.14773 15.20689 32.414023 32.459393 17.961822 17.895867 46.96156 17.895867 64.843836 0 17.932242-17.907259 17.932242-46.96176 0-64.843836C652.895209 720.862056 512.076284 580.006556 512.076284 580.006556L512.076284 580.006556zM100.648033 486.572104c-8.93774 8.949132-13.381527 20.680379-13.381527 32.423017 0 11.758628 4.443787 23.476283 13.381527 32.427614 17.907259 17.895867 46.963958 17.895867 64.907593 0 14.538543-14.563526 32.411825-32.427614 32.411825-32.427614s-17.87548-17.870884-32.411825-32.423017C147.611991 468.651055 118.555292 468.651055 100.648033 486.572104L100.648033 486.572104zM671.693464 298.343523c17.932242-17.918651 17.932242-46.975351 0-64.868819-17.882276-17.92085-46.882214-17.92085-64.843836 0-17.266293 17.252703-32.414023 32.434409-32.414023 32.434409l49.030158 49.077925-61.679781 61.632013-49.043748-49.057339-49.077925 49.057339-61.679781-61.632013 49.07113-49.077925c0 0-15.20689-15.181907-32.423017-32.434409-17.918651-17.92085-46.986743-17.92085-64.8962 0-17.882276 17.893668-17.882276 46.950368 0 64.869019 18.855016 18.786863 158.342244 159.63097 158.342244 159.63097S652.895209 317.130386 671.693464 298.343523L671.693464 298.343523zM858.60134 486.572104c-14.538543 14.549935-32.414023 32.423017-32.414023 32.423017s17.873082 17.86169 32.414023 32.427614c17.918651 17.895867 46.998135 17.895867 64.902996 0 8.93774-8.951331 13.429295-20.668986 13.429295-32.427614 0-11.742638-4.493753-23.474085-13.429295-32.423017C905.597077 468.651055 876.517793 468.651055 858.60134 486.572104L858.60134 486.572104zM38.977245 613.109312c-25.981185-25.990379-38.976374-60.027301-38.976374-94.114191 0-34.084691 12.995189-68.119415 38.976374-94.111992 51.973762-52.003342 136.275205-52.003342 188.267155 0 14.888705 14.902296 32.411625 32.425416 32.411625 32.425416l49.043748-49.036953 61.691173 61.643406-49.102908 49.077925 49.102908 49.055141-61.691173 61.643406-49.043748-49.046147c0 0-17.523119 17.561693-32.411625 32.461791C175.250252 665.092267 90.951007 665.092267 38.977245 613.109312L38.977245 613.109312zM985.186316 613.109312c-51.996346 51.980557-136.295592 51.980557-188.27395 0-14.877313-14.902296-32.427614-32.457194-32.427614-32.457194l-49.057339 49.043748-61.66619-61.641207 49.084721-49.059737-49.084721-49.075527 61.66619-61.643406 49.057339 49.034754c0 0 17.550301-17.523119 32.427614-32.425416 51.978359-52.003342 136.282001-52.003342 188.27395 0 25.967594 25.992577 38.971977 60.0295 38.971977 94.114191C1024.158293 553.08201 1011.15391 587.119133 985.186316 613.109312L985.186316 613.109312z"/></svg>
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
|
2
|
-
<path id="path" d="M48.8354 10.0479C48.3232 9.79199 48.1025 10.2798 47.8032 10.5278C47.7007 10.6079 47.6143 10.7119 47.5273 10.8076C46.7793 11.624 45.9048 12.1597 44.7622 12.0957C43.0923 12 41.666 12.5356 40.4058 13.8398C40.1377 12.2319 39.2476 11.272 37.8926 10.6558C37.1836 10.3359 36.4668 10.0156 35.9702 9.31982C35.6235 8.82373 35.5293 8.27197 35.356 7.72754C35.2456 7.3999 35.1353 7.06396 34.7651 7.00781C34.3633 6.94385 34.2056 7.2876 34.0479 7.57568C33.418 8.75195 33.1733 10.0479 33.1973 11.3599C33.2524 14.312 34.4736 16.6641 36.8999 18.3359C37.1758 18.5278 37.2466 18.7197 37.1597 19C36.9946 19.5757 36.7974 20.1357 36.624 20.7119C36.5137 21.0801 36.3486 21.1597 35.9624 21C34.6309 20.4321 33.481 19.5918 32.4644 18.5757C30.7393 16.8721 29.1792 14.9917 27.2334 13.52C26.7764 13.1758 26.3193 12.856 25.8467 12.5518C23.8618 10.584 26.1069 8.96777 26.627 8.77588C27.1704 8.57568 26.8159 7.8877 25.0591 7.896C23.3022 7.90381 21.6953 8.50391 19.647 9.30371C19.3477 9.42383 19.0322 9.51172 18.7095 9.58398C16.8501 9.22363 14.9199 9.14355 12.9033 9.37598C9.10596 9.80762 6.07275 11.6396 3.84326 14.7681C1.16455 18.5278 0.53418 22.7998 1.30664 27.2559C2.11768 31.9521 4.46582 35.8398 8.07373 38.8799C11.8159 42.0322 16.1255 43.5762 21.041 43.2803C24.0269 43.104 27.3516 42.6963 31.1016 39.4561C32.0469 39.936 33.0396 40.1279 34.686 40.272C35.9546 40.3921 37.1758 40.208 38.1211 40.0078C39.6021 39.688 39.4995 38.2881 38.9639 38.0322C34.623 35.9678 35.5762 36.8081 34.71 36.1279C36.9155 33.4639 40.2402 30.6958 41.54 21.728C41.6426 21.0161 41.5557 20.5679 41.54 19.9917C41.5322 19.6396 41.6108 19.5039 42.0049 19.4639C43.0923 19.3359 44.1479 19.0317 45.1167 18.4878C47.9292 16.9199 49.064 14.3438 49.3315 11.2559C49.3711 10.7837 49.3237 10.2959 48.8354 10.0479ZM24.3262 37.8398C20.1196 34.4639 18.0791 33.3521 17.2358 33.3999C16.4482 33.4482 16.5898 34.3682 16.7632 34.9678C16.9443 35.5601 17.1812 35.9683 17.5117 36.4878C17.7402 36.832 17.8979 37.3442 17.2832 37.728C15.9282 38.584 13.5728 37.4399 13.4624 37.3838C10.7207 35.7358 8.42822 33.5601 6.81348 30.584C5.25342 27.7197 4.34766 24.6479 4.19775 21.3677C4.1582 20.5757 4.38672 20.2959 5.15869 20.1519C6.17529 19.96 7.22314 19.9199 8.23926 20.0718C12.5327 20.7119 16.1885 22.6719 19.2529 25.7759C21.002 27.5439 22.3252 29.6558 23.6885 31.7202C25.1377 33.9121 26.6978 36 28.6831 37.7119C29.3843 38.312 29.9434 38.7681 30.479 39.104C28.8643 39.2881 26.1699 39.3281 24.3262 37.8398ZM26.3433 24.6001C26.3433 24.248 26.6191 23.9678 26.9658 23.9678C27.0444 23.9678 27.1152 23.9839 27.1782 24.0078C27.2651 24.04 27.3438 24.0879 27.4067 24.1602C27.5171 24.272 27.5801 24.4321 27.5801 24.6001C27.5801 24.9521 27.3042 25.2319 26.9575 25.2319C26.6108 25.2319 26.3433 24.9521 26.3433 24.6001ZM32.6064 27.8799C32.2046 28.0479 31.8027 28.1919 31.4165 28.208C30.8179 28.2397 30.1641 27.9922 29.8096 27.688C29.2583 27.2158 28.8643 26.9521 28.6987 26.1279C28.6279 25.7759 28.6675 25.2319 28.7305 24.9199C28.8721 24.248 28.7144 23.8159 28.2495 23.4238C27.8716 23.104 27.3911 23.0161 26.8633 23.0161C26.666 23.0161 26.4849 22.9277 26.3511 22.856C26.1304 22.7441 25.9492 22.4639 26.1226 22.1201C26.1777 22.0078 26.4458 21.7358 26.5088 21.688C27.2256 21.272 28.0527 21.4077 28.8169 21.7197C29.5259 22.0161 30.0615 22.5601 30.834 23.3281C31.6216 24.2559 31.7632 24.5117 32.2124 25.208C32.5669 25.752 32.8901 26.312 33.1104 26.9521C33.2446 27.3521 33.0713 27.6802 32.6064 27.8799Z" fill="#000" fill-opacity="1.000000" fill-rule="nonzero"/>
|
|
3
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1025 1024"><path fill="#E90003" d="M733.373245 866.20891c-51.925994 51.978359-136.225239 51.978359-188.180813 0-20.439542-20.377984-32.450399-32.470785-32.450399-32.470785s-12.070017 12.092601-32.411625 32.470785c-52.039717 51.978359-136.282001 51.978359-188.262558 0-51.982956-51.994148-51.982956-136.245625 0-188.239773 14.445406-14.422621 159.008192-158.974016 159.008192-158.974016s-144.562786-144.526411-159.008192-158.971817c-51.982956-52.019331-51.982956-136.245625 0-188.239773 51.980557-51.969165 136.220642-51.969165 188.262558 0 20.341808 20.387177 32.411625 32.425416 32.411625 32.425416s12.010857-12.038238 32.450399-32.425416c51.955574-51.969165 136.254619-51.969165 188.180813 0 51.991949 51.994148 51.991949 136.220642 0 188.239973-14.438611 14.445406-158.998999 158.971817-158.998999 158.971817s144.562786 144.553593 158.998999 158.974016C785.365194 729.963485 785.365194 814.214762 733.373245 866.20891L733.373245 866.20891zM512.076284 580.006556c0 0-139.484829 140.8553-158.314863 159.665147-17.907259 17.882276-17.907259 46.934378 0 64.843836 17.884474 17.895867 46.952566 17.895867 64.871217 0 17.218526-17.252703 32.448-32.459393 32.448-32.459393l-49.096113-49.043748 61.679781-61.66619 49.077925 49.080124 49.046147-49.080124 61.679781 61.66619-49.030158 49.043748c0 0 15.14773 15.20689 32.414023 32.459393 17.961822 17.895867 46.96156 17.895867 64.843836 0 17.932242-17.907259 17.932242-46.96176 0-64.843836C652.895209 720.862056 512.076284 580.006556 512.076284 580.006556L512.076284 580.006556zM100.648033 486.572104c-8.93774 8.949132-13.381527 20.680379-13.381527 32.423017 0 11.758628 4.443787 23.476283 13.381527 32.427614 17.907259 17.895867 46.963958 17.895867 64.907593 0 14.538543-14.563526 32.411825-32.427614 32.411825-32.427614s-17.87548-17.870884-32.411825-32.423017C147.611991 468.651055 118.555292 468.651055 100.648033 486.572104L100.648033 486.572104zM671.693464 298.343523c17.932242-17.918651 17.932242-46.975351 0-64.868819-17.882276-17.92085-46.882214-17.92085-64.843836 0-17.266293 17.252703-32.414023 32.434409-32.414023 32.434409l49.030158 49.077925-61.679781 61.632013-49.043748-49.057339-49.077925 49.057339-61.679781-61.632013 49.07113-49.077925c0 0-15.20689-15.181907-32.423017-32.434409-17.918651-17.92085-46.986743-17.92085-64.8962 0-17.882276 17.893668-17.882276 46.950368 0 64.869019 18.855016 18.786863 158.342244 159.63097 158.342244 159.63097S652.895209 317.130386 671.693464 298.343523L671.693464 298.343523zM858.60134 486.572104c-14.538543 14.549935-32.414023 32.423017-32.414023 32.423017s17.873082 17.86169 32.414023 32.427614c17.918651 17.895867 46.998135 17.895867 64.902996 0 8.93774-8.951331 13.429295-20.668986 13.429295-32.427614 0-11.742638-4.493753-23.474085-13.429295-32.423017C905.597077 468.651055 876.517793 468.651055 858.60134 486.572104L858.60134 486.572104zM38.977245 613.109312c-25.981185-25.990379-38.976374-60.027301-38.976374-94.114191 0-34.084691 12.995189-68.119415 38.976374-94.111992 51.973762-52.003342 136.275205-52.003342 188.267155 0 14.888705 14.902296 32.411625 32.425416 32.411625 32.425416l49.043748-49.036953 61.691173 61.643406-49.102908 49.077925 49.102908 49.055141-61.691173 61.643406-49.043748-49.046147c0 0-17.523119 17.561693-32.411625 32.461791C175.250252 665.092267 90.951007 665.092267 38.977245 613.109312L38.977245 613.109312zM985.186316 613.109312c-51.996346 51.980557-136.295592 51.980557-188.27395 0-14.877313-14.902296-32.427614-32.457194-32.427614-32.457194l-49.057339 49.043748-61.66619-61.641207 49.084721-49.059737-49.084721-49.075527 61.66619-61.643406 49.057339 49.034754c0 0 17.550301-17.523119 32.427614-32.425416 51.978359-52.003342 136.282001-52.003342 188.27395 0 25.967594 25.992577 38.971977 60.0295 38.971977 94.114191C1024.158293 553.08201 1011.15391 587.119133 985.186316 613.109312L985.186316 613.109312z"/></svg>
|
|
@@ -3,14 +3,18 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<!-- Static brand assets work before plugins load; PNG supports older Safari. -->
|
|
7
|
+
<link rel="shortcut icon" type="image/png" sizes="32x32" href="./chatcode-icon-32.png" />
|
|
8
|
+
<link rel="apple-touch-icon" sizes="180x180" href="./chatcode-apple-touch-icon.png" />
|
|
9
|
+
<link rel="mask-icon" href="./chatcode-mask-icon.svg" color="#E90003" />
|
|
6
10
|
<link rel="manifest" href="./manifest.webmanifest" />
|
|
7
|
-
<link rel="icon" type="image/svg+xml" href="./favicon-dark.svg" media="(prefers-color-scheme: dark)" />
|
|
8
|
-
<link rel="icon" type="image/svg+xml" href="./favicon.svg" media="(prefers-color-scheme: light)" />
|
|
11
|
+
<link rel="icon" type="image/svg+xml" href="./favicon-dark.svg?v=unicom-1" media="(prefers-color-scheme: dark)" />
|
|
12
|
+
<link rel="icon" type="image/svg+xml" href="./favicon.svg?v=unicom-1" media="(prefers-color-scheme: light)" />
|
|
9
13
|
<title>ChatCode CLI Local Build</title>
|
|
10
|
-
<script type="module" crossorigin src="./assets/index-
|
|
14
|
+
<script type="module" crossorigin src="./assets/index-Dz_cDcce.js"></script>
|
|
11
15
|
<link rel="modulepreload" crossorigin href="./assets/vendor-CCJJTK99.js">
|
|
12
16
|
<link rel="stylesheet" crossorigin href="./assets/vendor-BNsW4eBh.css">
|
|
13
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
17
|
+
<link rel="stylesheet" crossorigin href="./assets/index-D5kpKf--.css">
|
|
14
18
|
</head>
|
|
15
19
|
<body>
|
|
16
20
|
<div id="root"></div>
|
|
@@ -3,14 +3,18 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<!-- Static brand assets work before plugins load; PNG supports older Safari. -->
|
|
7
|
+
<link rel="shortcut icon" type="image/png" sizes="32x32" href="./chatcode-icon-32.png" />
|
|
8
|
+
<link rel="apple-touch-icon" sizes="180x180" href="./chatcode-apple-touch-icon.png" />
|
|
9
|
+
<link rel="mask-icon" href="./chatcode-mask-icon.svg" color="#E90003" />
|
|
6
10
|
<link rel="manifest" href="./manifest.webmanifest" />
|
|
7
|
-
<link rel="icon" type="image/svg+xml" href="./favicon-dark.svg" media="(prefers-color-scheme: dark)" />
|
|
8
|
-
<link rel="icon" type="image/svg+xml" href="./favicon.svg" media="(prefers-color-scheme: light)" />
|
|
11
|
+
<link rel="icon" type="image/svg+xml" href="./favicon-dark.svg?v=unicom-1" media="(prefers-color-scheme: dark)" />
|
|
12
|
+
<link rel="icon" type="image/svg+xml" href="./favicon.svg?v=unicom-1" media="(prefers-color-scheme: light)" />
|
|
9
13
|
<title>ChatCode CLI Local Build</title>
|
|
10
|
-
<script type="module" crossorigin src="./preview/bootstrap-DlVeEFeU.js"></script><script type="module" crossorigin src="./assets/index-
|
|
14
|
+
<script type="module" crossorigin src="./preview/bootstrap-DlVeEFeU.js"></script><script type="module" crossorigin src="./assets/index-Dz_cDcce.js"></script>
|
|
11
15
|
<link rel="modulepreload" crossorigin href="./assets/vendor-CCJJTK99.js">
|
|
12
16
|
<link rel="stylesheet" crossorigin href="./assets/vendor-BNsW4eBh.css">
|
|
13
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
17
|
+
<link rel="stylesheet" crossorigin href="./assets/index-D5kpKf--.css">
|
|
14
18
|
</head>
|
|
15
19
|
<body>
|
|
16
20
|
<div id="root"></div>
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"@deepseek-ai/dsh-subprocess-local": "workspace:*",
|
|
66
66
|
"@deepseek-ai/dsh-experimental-auto-review": "workspace:*",
|
|
67
67
|
"@deepseek-ai/dsh-experimental-speech-to-text": "workspace:*",
|
|
68
|
-
"@deepseek-ai/dsh-experimental-voice-input-bundle": "workspace:*"
|
|
68
|
+
"@deepseek-ai/dsh-experimental-voice-input-bundle": "workspace:*",
|
|
69
|
+
"core-js": "3.50.0"
|
|
69
70
|
}
|
|
70
71
|
}
|
|
@@ -87,6 +87,12 @@ var WorkspaceEntity = class {
|
|
|
87
87
|
this.id = id;
|
|
88
88
|
this.record = record;
|
|
89
89
|
}
|
|
90
|
+
/** Replace the cached record without changing this entity's identity.
|
|
91
|
+
* @param record Latest validated workspace record.
|
|
92
|
+
*/
|
|
93
|
+
replace(record) {
|
|
94
|
+
this.record = record;
|
|
95
|
+
}
|
|
90
96
|
get path() {
|
|
91
97
|
return this.record.path;
|
|
92
98
|
}
|
|
@@ -171,23 +177,25 @@ var WorkspaceEntity = class {
|
|
|
171
177
|
* rewrites the medium nor emits a change event.
|
|
172
178
|
*/
|
|
173
179
|
async mutate(fn) {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
180
|
+
await this.host.enqueue(async () => {
|
|
181
|
+
let next;
|
|
182
|
+
try {
|
|
183
|
+
next = await this.host.table().update(this.id, (current) => {
|
|
184
|
+
const changed = fn(current);
|
|
185
|
+
const sessionIds = changed.sessionIds.filter((id) => this.host.sessionPath(id) === changed.path);
|
|
186
|
+
if (changed === current && sessionIds.length === current.sessionIds.length) throw unchangedSentinel;
|
|
187
|
+
return {
|
|
188
|
+
...changed,
|
|
189
|
+
sessionIds,
|
|
190
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
191
|
+
};
|
|
192
|
+
});
|
|
193
|
+
} catch (error) {
|
|
194
|
+
if (error === unchangedSentinel) return;
|
|
195
|
+
throw error;
|
|
196
|
+
}
|
|
197
|
+
this.record = next;
|
|
198
|
+
});
|
|
191
199
|
}
|
|
192
200
|
};
|
|
193
201
|
//#endregion
|
|
@@ -354,6 +362,7 @@ const compareHeaders = (left, right) => right.createdAt - left.createdAt || Stri
|
|
|
354
362
|
var WorkspaceRegistry = class extends Service {
|
|
355
363
|
static inject = ["storageDomain", "sessionPersistence"];
|
|
356
364
|
table;
|
|
365
|
+
domain;
|
|
357
366
|
global;
|
|
358
367
|
state;
|
|
359
368
|
entities = /* @__PURE__ */ new Map();
|
|
@@ -361,8 +370,11 @@ var WorkspaceRegistry = class extends Service {
|
|
|
361
370
|
sessionPaths = /* @__PURE__ */ new Map();
|
|
362
371
|
invalidSessionPaths = /* @__PURE__ */ new Map();
|
|
363
372
|
operationTail = Promise.resolve();
|
|
373
|
+
stopping = false;
|
|
374
|
+
refreshedState = "";
|
|
364
375
|
host = {
|
|
365
376
|
table: () => this.requireTable(),
|
|
377
|
+
enqueue: (operation) => this.enqueueOperation(operation),
|
|
366
378
|
sessionPath: (id) => this.sessionPaths.get(id),
|
|
367
379
|
readSessionHeader: (id) => this.readSessionHeader(id),
|
|
368
380
|
rememberSessionPath: (id, path) => {
|
|
@@ -376,21 +388,55 @@ var WorkspaceRegistry = class extends Service {
|
|
|
376
388
|
/** Open the domain, finish bootstrap when required, and rebuild the ordered cache. */
|
|
377
389
|
async [Service.init]() {
|
|
378
390
|
const domain = await this.ctx.storageDomain.open(workspaceDomainSpec);
|
|
379
|
-
this.
|
|
391
|
+
this.domain = domain;
|
|
392
|
+
let timer;
|
|
393
|
+
this.ctx.effect(() => async () => {
|
|
394
|
+
this.stopping = true;
|
|
395
|
+
clearTimeout(timer);
|
|
396
|
+
await this.operationTail;
|
|
397
|
+
await domain.close();
|
|
398
|
+
}, "workspace.domainClose");
|
|
380
399
|
this.table = domain.table("workspaces");
|
|
381
400
|
this.global = domain.global;
|
|
382
401
|
this.state = domain.global.get();
|
|
383
|
-
await
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
402
|
+
await domain.exclusive(async () => {
|
|
403
|
+
await domain.refresh();
|
|
404
|
+
this.state = domain.global.get();
|
|
405
|
+
await this.recoverPendingMutation();
|
|
406
|
+
this.validateStoredState(this.requireState());
|
|
407
|
+
if (!this.requireState().initialized) {
|
|
408
|
+
const headers = await this.listStoredHeaders();
|
|
409
|
+
await this.replaceHeaderIndex(headers);
|
|
410
|
+
await this.bootstrap(headers);
|
|
411
|
+
} else if (this.requireTable().size > 0) await this.replaceHeaderIndex(await this.listStoredHeaders());
|
|
412
|
+
await this.indexLiveSessions();
|
|
413
|
+
this.validateStoredState(this.requireState());
|
|
414
|
+
this.rebuildEntities();
|
|
415
|
+
this.reportFilteredCandidates();
|
|
416
|
+
this.refreshedState = this.snapshotIdentity();
|
|
417
|
+
});
|
|
418
|
+
const poll = async () => {
|
|
419
|
+
try {
|
|
420
|
+
await this.refresh();
|
|
421
|
+
} catch (error) {
|
|
422
|
+
this.ctx.logger.warn(`workspace: shared state refresh failed: ${String(error)}`);
|
|
423
|
+
} finally {
|
|
424
|
+
if (!this.stopping) {
|
|
425
|
+
timer = setTimeout(() => {
|
|
426
|
+
poll();
|
|
427
|
+
}, 1500);
|
|
428
|
+
timer.unref();
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
};
|
|
432
|
+
timer = setTimeout(() => {
|
|
433
|
+
poll();
|
|
434
|
+
}, 1500);
|
|
435
|
+
timer.unref();
|
|
436
|
+
}
|
|
437
|
+
/** Refresh shared membership, pins and archives before reading a new view; never auto-attach detached sessions. */
|
|
438
|
+
refresh() {
|
|
439
|
+
return this.enqueueOperation(async () => {});
|
|
394
440
|
}
|
|
395
441
|
/**
|
|
396
442
|
* Create or reuse a workspace for an existing directory. The fully qualified
|
|
@@ -854,10 +900,13 @@ var WorkspaceRegistry = class extends Service {
|
|
|
854
900
|
}
|
|
855
901
|
}
|
|
856
902
|
rebuildEntities() {
|
|
857
|
-
this.
|
|
903
|
+
const ids = new Set(this.requireState().workspaceIds);
|
|
904
|
+
for (const id of this.entities.keys()) if (!ids.has(id)) this.entities.delete(id);
|
|
858
905
|
for (const id of this.requireState().workspaceIds) {
|
|
859
906
|
const record = this.requireTable().get(id);
|
|
860
|
-
this.entities.
|
|
907
|
+
const entity = this.entities.get(id);
|
|
908
|
+
if (entity === void 0) this.entities.set(id, new WorkspaceEntity(this.host, id, record));
|
|
909
|
+
else entity.replace(record);
|
|
861
910
|
}
|
|
862
911
|
}
|
|
863
912
|
async replaceHeaderIndex(headers) {
|
|
@@ -935,13 +984,41 @@ var WorkspaceRegistry = class extends Service {
|
|
|
935
984
|
this.state = state;
|
|
936
985
|
}
|
|
937
986
|
enqueueOperation(operation) {
|
|
987
|
+
if (this.stopping) return Promise.reject(/* @__PURE__ */ new Error("workspace registry is closing"));
|
|
938
988
|
const result = this.operationTail.then(async () => {
|
|
939
|
-
|
|
940
|
-
|
|
989
|
+
const domain = this.domain;
|
|
990
|
+
if (domain === void 0) throw new Error("workspace registry is not started yet");
|
|
991
|
+
return await domain.exclusive(async () => {
|
|
992
|
+
const before = JSON.stringify([...this.entities.values()].map((entity) => [entity.id, entity.sessionIds]));
|
|
993
|
+
await domain.refresh();
|
|
994
|
+
const changed = this.snapshotIdentity() !== this.refreshedState;
|
|
995
|
+
this.state = domain.global.get();
|
|
996
|
+
const missingHeaders = [...this.requireTable().entries()].some(([, record]) => record.sessionIds.some((id) => !this.sessionPaths.has(id)));
|
|
997
|
+
if (changed || missingHeaders) {
|
|
998
|
+
await this.replaceHeaderIndex(await this.listStoredHeaders());
|
|
999
|
+
await this.indexLiveSessions();
|
|
1000
|
+
this.rebuildEntities();
|
|
1001
|
+
}
|
|
1002
|
+
await this.recoverPendingMutation();
|
|
1003
|
+
this.validateStoredState(this.requireState());
|
|
1004
|
+
const after = JSON.stringify([...this.entities.values()].map((entity) => [entity.id, entity.sessionIds]));
|
|
1005
|
+
if (changed || before !== after) try {
|
|
1006
|
+
this.ctx.emit("workspace/refreshed");
|
|
1007
|
+
} catch (error) {
|
|
1008
|
+
this.ctx.logger.warn(`workspace: refresh listener failed: ${String(error)}`);
|
|
1009
|
+
}
|
|
1010
|
+
this.refreshedState = this.snapshotIdentity();
|
|
1011
|
+
const result = await operation();
|
|
1012
|
+
this.refreshedState = this.snapshotIdentity();
|
|
1013
|
+
return result;
|
|
1014
|
+
});
|
|
941
1015
|
});
|
|
942
1016
|
this.operationTail = result.then(() => {}, () => {});
|
|
943
1017
|
return result;
|
|
944
1018
|
}
|
|
1019
|
+
snapshotIdentity() {
|
|
1020
|
+
return JSON.stringify([this.domain?.global.get(), [...this.requireTable().entries()]]);
|
|
1021
|
+
}
|
|
945
1022
|
};
|
|
946
1023
|
const sameSessionIds = (left, right) => left.length === right.length && left.every((id, index) => id === right[index]);
|
|
947
1024
|
//#endregion
|
|
@@ -24,6 +24,8 @@ export declare class WorkspaceMoveInvalidError extends Error {
|
|
|
24
24
|
* index backing the `sessionIds` projection, and attach-time header reads.
|
|
25
25
|
*/
|
|
26
26
|
export interface WorkspaceEntityHost {
|
|
27
|
+
/** Serialize entity writes with registry mutations and reload shared state under the writer lock. */
|
|
28
|
+
enqueue<T>(operation: () => Promise<T>): Promise<T>;
|
|
27
29
|
/**
|
|
28
30
|
* Resolve the open `workspaces` table.
|
|
29
31
|
* @returns the table; throws while the registry has not started yet.
|
|
@@ -61,6 +63,10 @@ export declare class WorkspaceEntity implements Workspace {
|
|
|
61
63
|
* @param record - The validated record snapshot loaded or just written.
|
|
62
64
|
*/
|
|
63
65
|
constructor(host: WorkspaceEntityHost, id: WorkspaceId, record: WorkspaceRecord);
|
|
66
|
+
/** Replace the cached record without changing this entity's identity.
|
|
67
|
+
* @param record Latest validated workspace record.
|
|
68
|
+
*/
|
|
69
|
+
replace(record: WorkspaceRecord): void;
|
|
64
70
|
get path(): string;
|
|
65
71
|
get title(): string;
|
|
66
72
|
get createdAt(): string;
|
|
@@ -36,6 +36,10 @@ export class WorkspaceEntity {
|
|
|
36
36
|
this.id = id;
|
|
37
37
|
this.record = record;
|
|
38
38
|
}
|
|
39
|
+
/** Replace the cached record without changing this entity's identity.
|
|
40
|
+
* @param record Latest validated workspace record.
|
|
41
|
+
*/
|
|
42
|
+
replace(record) { this.record = record; }
|
|
39
43
|
get path() {
|
|
40
44
|
return this.record.path;
|
|
41
45
|
}
|
|
@@ -134,23 +138,25 @@ export class WorkspaceEntity {
|
|
|
134
138
|
* rewrites the medium nor emits a change event.
|
|
135
139
|
*/
|
|
136
140
|
async mutate(fn) {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
141
|
+
await this.host.enqueue(async () => {
|
|
142
|
+
let next;
|
|
143
|
+
try {
|
|
144
|
+
next = await this.host.table().update(this.id, (current) => {
|
|
145
|
+
const changed = fn(current);
|
|
146
|
+
const sessionIds = changed.sessionIds.filter(id => this.host.sessionPath(id) === changed.path);
|
|
147
|
+
if (changed === current && sessionIds.length === current.sessionIds.length) {
|
|
148
|
+
throw unchangedSentinel;
|
|
149
|
+
}
|
|
150
|
+
return { ...changed, sessionIds, updatedAt: new Date().toISOString() };
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
catch (error) {
|
|
154
|
+
if (error === unchangedSentinel)
|
|
155
|
+
return;
|
|
156
|
+
throw error;
|
|
157
|
+
}
|
|
158
|
+
this.record = next;
|
|
159
|
+
});
|
|
154
160
|
}
|
|
155
161
|
}
|
|
156
162
|
//# sourceMappingURL=entity.js.map
|
|
@@ -82,6 +82,10 @@ declare module '@deepseek-ai/cordis' {
|
|
|
82
82
|
workspaceRegistry: WorkspaceRegistry;
|
|
83
83
|
}
|
|
84
84
|
interface Events {
|
|
85
|
+
/** A refreshed cross-process workspace projection is ready for consumers.
|
|
86
|
+
* @mode emit
|
|
87
|
+
*/
|
|
88
|
+
'workspace/refreshed'(): void;
|
|
85
89
|
/**
|
|
86
90
|
* Ask the composed providers what still runs for a session before it is
|
|
87
91
|
* archived. A listener prepends its own {@link SessionActivity} entries to
|
|
@@ -120,6 +124,7 @@ declare module '@deepseek-ai/cordis' {
|
|
|
120
124
|
export declare class WorkspaceRegistry extends Service {
|
|
121
125
|
static inject: string[];
|
|
122
126
|
private table?;
|
|
127
|
+
private domain?;
|
|
123
128
|
private global?;
|
|
124
129
|
private state?;
|
|
125
130
|
private readonly entities;
|
|
@@ -127,10 +132,14 @@ export declare class WorkspaceRegistry extends Service {
|
|
|
127
132
|
private readonly sessionPaths;
|
|
128
133
|
private readonly invalidSessionPaths;
|
|
129
134
|
private operationTail;
|
|
135
|
+
private stopping;
|
|
136
|
+
private refreshedState;
|
|
130
137
|
private readonly host;
|
|
131
138
|
constructor(ctx: Context);
|
|
132
139
|
/** Open the domain, finish bootstrap when required, and rebuild the ordered cache. */
|
|
133
140
|
protected [Service.init](): Promise<void>;
|
|
141
|
+
/** Refresh shared membership, pins and archives before reading a new view; never auto-attach detached sessions. */
|
|
142
|
+
refresh(): Promise<void>;
|
|
134
143
|
/**
|
|
135
144
|
* Create or reuse a workspace for an existing directory. The fully qualified
|
|
136
145
|
* path is canonicalized through `fs.realpath`; a relative, nonexistent, or
|
|
@@ -285,6 +294,7 @@ export declare class WorkspaceRegistry extends Service {
|
|
|
285
294
|
private requireState;
|
|
286
295
|
private setState;
|
|
287
296
|
private enqueueOperation;
|
|
297
|
+
private snapshotIdentity;
|
|
288
298
|
}
|
|
289
299
|
export default WorkspaceRegistry;
|
|
290
300
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -93,6 +93,7 @@ const compareHeaders = (left, right) => right.createdAt - left.createdAt || Stri
|
|
|
93
93
|
export class WorkspaceRegistry extends Service {
|
|
94
94
|
static inject = ['storageDomain', 'sessionPersistence'];
|
|
95
95
|
table;
|
|
96
|
+
domain;
|
|
96
97
|
global;
|
|
97
98
|
state;
|
|
98
99
|
entities = new Map();
|
|
@@ -100,8 +101,11 @@ export class WorkspaceRegistry extends Service {
|
|
|
100
101
|
sessionPaths = new Map();
|
|
101
102
|
invalidSessionPaths = new Map();
|
|
102
103
|
operationTail = Promise.resolve();
|
|
104
|
+
stopping = false;
|
|
105
|
+
refreshedState = '';
|
|
103
106
|
host = {
|
|
104
107
|
table: () => this.requireTable(),
|
|
108
|
+
enqueue: operation => this.enqueueOperation(operation),
|
|
105
109
|
sessionPath: id => this.sessionPaths.get(id),
|
|
106
110
|
readSessionHeader: id => this.readSessionHeader(id),
|
|
107
111
|
rememberSessionPath: (id, path) => {
|
|
@@ -115,24 +119,56 @@ export class WorkspaceRegistry extends Service {
|
|
|
115
119
|
/** Open the domain, finish bootstrap when required, and rebuild the ordered cache. */
|
|
116
120
|
async [Service.init]() {
|
|
117
121
|
const domain = await this.ctx.storageDomain.open(workspaceDomainSpec);
|
|
118
|
-
this.
|
|
122
|
+
this.domain = domain;
|
|
123
|
+
let timer;
|
|
124
|
+
this.ctx.effect(() => async () => {
|
|
125
|
+
this.stopping = true;
|
|
126
|
+
clearTimeout(timer);
|
|
127
|
+
await this.operationTail;
|
|
128
|
+
await domain.close();
|
|
129
|
+
}, 'workspace.domainClose');
|
|
119
130
|
this.table = domain.table('workspaces');
|
|
120
131
|
this.global = domain.global;
|
|
121
132
|
this.state = domain.global.get();
|
|
122
|
-
await
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
await domain.exclusive(async () => {
|
|
134
|
+
await domain.refresh();
|
|
135
|
+
this.state = domain.global.get();
|
|
136
|
+
await this.recoverPendingMutation();
|
|
137
|
+
this.validateStoredState(this.requireState());
|
|
138
|
+
if (!this.requireState().initialized) {
|
|
139
|
+
const headers = await this.listStoredHeaders();
|
|
140
|
+
await this.replaceHeaderIndex(headers);
|
|
141
|
+
await this.bootstrap(headers);
|
|
142
|
+
}
|
|
143
|
+
else if (this.requireTable().size > 0) {
|
|
144
|
+
await this.replaceHeaderIndex(await this.listStoredHeaders());
|
|
145
|
+
}
|
|
146
|
+
await this.indexLiveSessions();
|
|
147
|
+
this.validateStoredState(this.requireState());
|
|
148
|
+
this.rebuildEntities();
|
|
149
|
+
this.reportFilteredCandidates();
|
|
150
|
+
this.refreshedState = this.snapshotIdentity();
|
|
151
|
+
});
|
|
152
|
+
const poll = async () => {
|
|
153
|
+
try {
|
|
154
|
+
await this.refresh();
|
|
155
|
+
}
|
|
156
|
+
catch (error) {
|
|
157
|
+
this.ctx.logger.warn(`workspace: shared state refresh failed: ${String(error)}`);
|
|
158
|
+
}
|
|
159
|
+
finally {
|
|
160
|
+
if (!this.stopping) {
|
|
161
|
+
timer = setTimeout(() => { void poll(); }, 1500);
|
|
162
|
+
timer.unref();
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
timer = setTimeout(() => { void poll(); }, 1500);
|
|
167
|
+
timer.unref();
|
|
168
|
+
}
|
|
169
|
+
/** Refresh shared membership, pins and archives before reading a new view; never auto-attach detached sessions. */
|
|
170
|
+
refresh() {
|
|
171
|
+
return this.enqueueOperation(async () => { });
|
|
136
172
|
}
|
|
137
173
|
/**
|
|
138
174
|
* Create or reuse a workspace for an existing directory. The fully qualified
|
|
@@ -684,10 +720,17 @@ export class WorkspaceRegistry extends Service {
|
|
|
684
720
|
}
|
|
685
721
|
}
|
|
686
722
|
rebuildEntities() {
|
|
687
|
-
this.
|
|
723
|
+
const ids = new Set(this.requireState().workspaceIds);
|
|
724
|
+
for (const id of this.entities.keys())
|
|
725
|
+
if (!ids.has(id))
|
|
726
|
+
this.entities.delete(id);
|
|
688
727
|
for (const id of this.requireState().workspaceIds) {
|
|
689
728
|
const record = this.requireTable().get(id);
|
|
690
|
-
this.entities.
|
|
729
|
+
const entity = this.entities.get(id);
|
|
730
|
+
if (entity === undefined)
|
|
731
|
+
this.entities.set(id, new WorkspaceEntity(this.host, id, record));
|
|
732
|
+
else
|
|
733
|
+
entity.replace(record);
|
|
691
734
|
}
|
|
692
735
|
}
|
|
693
736
|
async replaceHeaderIndex(headers) {
|
|
@@ -778,15 +821,46 @@ export class WorkspaceRegistry extends Service {
|
|
|
778
821
|
this.state = state;
|
|
779
822
|
}
|
|
780
823
|
enqueueOperation(operation) {
|
|
824
|
+
if (this.stopping)
|
|
825
|
+
return Promise.reject(new Error('workspace registry is closing'));
|
|
781
826
|
const result = this.operationTail.then(async () => {
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
return await
|
|
827
|
+
const domain = this.domain;
|
|
828
|
+
if (domain === undefined)
|
|
829
|
+
throw new Error('workspace registry is not started yet');
|
|
830
|
+
return await domain.exclusive(async () => {
|
|
831
|
+
const before = JSON.stringify([...this.entities.values()].map(entity => [entity.id, entity.sessionIds]));
|
|
832
|
+
await domain.refresh();
|
|
833
|
+
const changed = this.snapshotIdentity() !== this.refreshedState;
|
|
834
|
+
this.state = domain.global.get();
|
|
835
|
+
const missingHeaders = [...this.requireTable().entries()].some(([, record]) => record.sessionIds.some(id => !this.sessionPaths.has(id)));
|
|
836
|
+
if (changed || missingHeaders) {
|
|
837
|
+
await this.replaceHeaderIndex(await this.listStoredHeaders());
|
|
838
|
+
await this.indexLiveSessions();
|
|
839
|
+
this.rebuildEntities();
|
|
840
|
+
}
|
|
841
|
+
await this.recoverPendingMutation();
|
|
842
|
+
this.validateStoredState(this.requireState());
|
|
843
|
+
const after = JSON.stringify([...this.entities.values()].map(entity => [entity.id, entity.sessionIds]));
|
|
844
|
+
if (changed || before !== after) {
|
|
845
|
+
try {
|
|
846
|
+
this.ctx.emit('workspace/refreshed');
|
|
847
|
+
}
|
|
848
|
+
catch (error) {
|
|
849
|
+
this.ctx.logger.warn(`workspace: refresh listener failed: ${String(error)}`);
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
this.refreshedState = this.snapshotIdentity();
|
|
853
|
+
const result = await operation();
|
|
854
|
+
this.refreshedState = this.snapshotIdentity();
|
|
855
|
+
return result;
|
|
856
|
+
});
|
|
786
857
|
});
|
|
787
858
|
this.operationTail = result.then(() => { }, () => { });
|
|
788
859
|
return result;
|
|
789
860
|
}
|
|
861
|
+
snapshotIdentity() {
|
|
862
|
+
return JSON.stringify([this.domain?.global.get(), [...this.requireTable().entries()]]);
|
|
863
|
+
}
|
|
790
864
|
}
|
|
791
865
|
const sameSessionIds = (left, right) => left.length === right.length && left.every((id, index) => id === right[index]);
|
|
792
866
|
export default WorkspaceRegistry;
|