@yugoo-design/companion 0.1.0-beta.1 → 0.1.0-beta.11
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 +107 -9
- package/bin/design-system.mjs +14 -2
- package/bin/installer.mjs +68 -42
- package/bin/npm-agent-installation.mjs +141 -0
- package/bin/npm-desktop-preparation.mjs +59 -2
- package/bin/npm-installer-claude.mjs +30 -8
- package/bin/npm-installer-dsh-desktop.mjs +40 -10
- package/bin/npm-installer-dsh.mjs +294 -24
- package/bin/npm-runtime-check.mjs +75 -1
- package/bin/windows-native-platform.mjs +207 -0
- package/bin/windows-private-storage.mjs +110 -0
- package/licenses/third-party/index.json +14 -0
- package/licenses/third-party/pako-1.0.11/LICENSE +21 -0
- package/licenses/third-party/pako-1.0.11/SOURCE.md +17 -0
- package/licenses/third-party/pako-1.0.11/zlib-README +59 -0
- package/licenses/third-party/provenance.json +22 -0
- package/package.json +3 -2
- package/payload/desktop-preparation/hosts/workbuddy/design-SKILL.md +17 -0
- package/payload/desktop-preparation/materials.json +2 -2
- package/payload/desktop-preparation/workbuddy-package.mjs +33 -15
- package/payload/overlays/claude-code/.claude-plugin/plugin.json +1 -1
- package/payload/overlays/codex/.codex-plugin/plugin.json +1 -1
- package/payload/overlays/qoder/.qoder-plugin/plugin.json +1 -1
- package/payload/shared/authoring/panel-components.json +242 -234
- package/payload/shared/bundles/business_rules/SKILL.md +1 -1
- package/payload/shared/bundles/flow_design/SKILL.md +2 -2
- package/payload/shared/bundles/flow_design/scripts/layout-metrics.mjs +5 -5
- package/payload/shared/bundles/flow_design/scripts/layout-search.mjs +5 -5
- package/payload/shared/bundles/flow_design/scripts/layout.mjs +6 -6
- package/payload/shared/bundles/function_modules/locales/en-US.json +1 -1
- package/payload/shared/bundles/function_modules/locales/zh-CN.json +1 -1
- package/payload/shared/bundles/function_modules/panel.yaml +2 -0
- package/payload/shared/bundles/notification_design/SKILL.md +1 -1
- package/payload/shared/bundles/quality_acceptance/SKILL.md +1 -1
- package/payload/shared/bundles/research/SKILL.md +3 -3
- package/payload/shared/bundles/role_access/SKILL.md +2 -2
- package/payload/shared/git-native/LICENSE +22 -0
- package/payload/shared/git-native/NOTICE +6 -0
- package/payload/shared/git-native/SOURCE.json +252 -0
- package/payload/shared/git-native/index.cjs +59 -0
- package/payload/shared/git-native/index.d.ts +2672 -0
- package/payload/shared/git-native/native/yugoo_git.linux-x64.node +0 -0
- package/payload/shared/git-native/native/yugoo_git.win32-x64.node +0 -0
- package/payload/shared/git-native/native-source/Cargo.lock +696 -0
- package/payload/shared/git-native/native-source/Cargo.toml +36 -0
- package/payload/shared/git-native/native-source/UPSTREAM.patch +162 -0
- package/payload/shared/git-native/native-source/build.rs +26 -0
- package/payload/shared/git-native/native-source/src/blame.rs +177 -0
- package/payload/shared/git-native/native-source/src/blob.rs +64 -0
- package/payload/shared/git-native/native-source/src/branch.rs +143 -0
- package/payload/shared/git-native/native-source/src/buffer_diff.rs +164 -0
- package/payload/shared/git-native/native-source/src/checkout.rs +58 -0
- package/payload/shared/git-native/native-source/src/commit.rs +339 -0
- package/payload/shared/git-native/native-source/src/config.rs +253 -0
- package/payload/shared/git-native/native-source/src/deltas.rs +292 -0
- package/payload/shared/git-native/native-source/src/diff.rs +94 -0
- package/payload/shared/git-native/native-source/src/error.rs +349 -0
- package/payload/shared/git-native/native-source/src/file_modification.rs +683 -0
- package/payload/shared/git-native/native-source/src/index.rs +114 -0
- package/payload/shared/git-native/native-source/src/lib.rs +37 -0
- package/payload/shared/git-native/native-source/src/object.rs +125 -0
- package/payload/shared/git-native/native-source/src/reference.rs +219 -0
- package/payload/shared/git-native/native-source/src/remote.rs +1393 -0
- package/payload/shared/git-native/native-source/src/repo.rs +2546 -0
- package/payload/shared/git-native/native-source/src/repo_builder.rs +158 -0
- package/payload/shared/git-native/native-source/src/rev_walk.rs +263 -0
- package/payload/shared/git-native/native-source/src/signature.rs +122 -0
- package/payload/shared/git-native/native-source/src/status.rs +114 -0
- package/payload/shared/git-native/native-source/src/tag.rs +78 -0
- package/payload/shared/git-native/native-source/src/tree.rs +298 -0
- package/payload/shared/git-native/native-source/src/tree_builder.rs +138 -0
- package/payload/shared/git-native/native-source/src/util.rs +20 -0
- package/payload/shared/git-native/package.json +27 -0
- package/payload/shared/git-native/runtime-manifest.json +1701 -0
- package/payload/shared/git-native/scripts/build.cjs +23 -0
- package/payload/shared/git-native/scripts/check-artifacts.cjs +20 -0
- package/payload/shared/git-native/third-party/CARGO-SOURCES.json +1651 -0
- package/payload/shared/git-native/third-party/javascript/abort-controller@3.0.0/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/abort-controller@3.0.0/README.md +98 -0
- package/payload/shared/git-native/third-party/javascript/abort-controller@3.0.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/abort-controller@3.0.0/package.json +97 -0
- package/payload/shared/git-native/third-party/javascript/async-lock@1.4.1/AUTHORS +21 -0
- package/payload/shared/git-native/third-party/javascript/async-lock@1.4.1/LICENSE +22 -0
- package/payload/shared/git-native/third-party/javascript/async-lock@1.4.1/README.md +177 -0
- package/payload/shared/git-native/third-party/javascript/async-lock@1.4.1/SOURCE.json +29 -0
- package/payload/shared/git-native/third-party/javascript/async-lock@1.4.1/package.json +48 -0
- package/payload/shared/git-native/third-party/javascript/available-typed-arrays@1.0.7/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/available-typed-arrays@1.0.7/README.md +55 -0
- package/payload/shared/git-native/third-party/javascript/available-typed-arrays@1.0.7/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/available-typed-arrays@1.0.7/package.json +93 -0
- package/payload/shared/git-native/third-party/javascript/base64-js@1.5.1/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/base64-js@1.5.1/README.md +34 -0
- package/payload/shared/git-native/third-party/javascript/base64-js@1.5.1/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/base64-js@1.5.1/package.json +47 -0
- package/payload/shared/git-native/third-party/javascript/buffer@6.0.3/AUTHORS.md +73 -0
- package/payload/shared/git-native/third-party/javascript/buffer@6.0.3/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/buffer@6.0.3/README.md +410 -0
- package/payload/shared/git-native/third-party/javascript/buffer@6.0.3/SOURCE.json +29 -0
- package/payload/shared/git-native/third-party/javascript/buffer@6.0.3/package.json +93 -0
- package/payload/shared/git-native/third-party/javascript/call-bind-apply-helpers@1.0.2/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/call-bind-apply-helpers@1.0.2/README.md +62 -0
- package/payload/shared/git-native/third-party/javascript/call-bind-apply-helpers@1.0.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/call-bind-apply-helpers@1.0.2/package.json +85 -0
- package/payload/shared/git-native/third-party/javascript/call-bind@1.0.9/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/call-bind@1.0.9/README.md +64 -0
- package/payload/shared/git-native/third-party/javascript/call-bind@1.0.9/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/call-bind@1.0.9/package.json +93 -0
- package/payload/shared/git-native/third-party/javascript/call-bound@1.0.4/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/call-bound@1.0.4/README.md +53 -0
- package/payload/shared/git-native/third-party/javascript/call-bound@1.0.4/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/call-bound@1.0.4/package.json +99 -0
- package/payload/shared/git-native/third-party/javascript/clean-git-ref@2.0.1/README.md +22 -0
- package/payload/shared/git-native/third-party/javascript/clean-git-ref@2.0.1/SOURCE.json +21 -0
- package/payload/shared/git-native/third-party/javascript/clean-git-ref@2.0.1/package.json +33 -0
- package/payload/shared/git-native/third-party/javascript/crc-32@1.2.2/LICENSE +201 -0
- package/payload/shared/git-native/third-party/javascript/crc-32@1.2.2/README.md +200 -0
- package/payload/shared/git-native/third-party/javascript/crc-32@1.2.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/crc-32@1.2.2/package.json +43 -0
- package/payload/shared/git-native/third-party/javascript/decompress-response@6.0.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/decompress-response@6.0.0/license +9 -0
- package/payload/shared/git-native/third-party/javascript/decompress-response@6.0.0/package.json +56 -0
- package/payload/shared/git-native/third-party/javascript/decompress-response@6.0.0/readme.md +48 -0
- package/payload/shared/git-native/third-party/javascript/define-data-property@1.1.4/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/define-data-property@1.1.4/README.md +67 -0
- package/payload/shared/git-native/third-party/javascript/define-data-property@1.1.4/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/define-data-property@1.1.4/package.json +106 -0
- package/payload/shared/git-native/third-party/javascript/diff3@0.0.3/README.md +28 -0
- package/payload/shared/git-native/third-party/javascript/diff3@0.0.3/SOURCE.json +29 -0
- package/payload/shared/git-native/third-party/javascript/diff3@0.0.3/diff3.js +271 -0
- package/payload/shared/git-native/third-party/javascript/diff3@0.0.3/onp.js +178 -0
- package/payload/shared/git-native/third-party/javascript/diff3@0.0.3/package.json +23 -0
- package/payload/shared/git-native/third-party/javascript/dunder-proto@1.0.1/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/dunder-proto@1.0.1/README.md +54 -0
- package/payload/shared/git-native/third-party/javascript/dunder-proto@1.0.1/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/dunder-proto@1.0.1/package.json +76 -0
- package/payload/shared/git-native/third-party/javascript/es-define-property@1.0.1/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/es-define-property@1.0.1/README.md +49 -0
- package/payload/shared/git-native/third-party/javascript/es-define-property@1.0.1/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/es-define-property@1.0.1/package.json +81 -0
- package/payload/shared/git-native/third-party/javascript/es-errors@1.3.0/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/es-errors@1.3.0/README.md +55 -0
- package/payload/shared/git-native/third-party/javascript/es-errors@1.3.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/es-errors@1.3.0/package.json +80 -0
- package/payload/shared/git-native/third-party/javascript/es-object-atoms@1.1.2/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/es-object-atoms@1.1.2/README.md +63 -0
- package/payload/shared/git-native/third-party/javascript/es-object-atoms@1.1.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/es-object-atoms@1.1.2/package.json +79 -0
- package/payload/shared/git-native/third-party/javascript/event-target-shim@5.0.1/LICENSE +22 -0
- package/payload/shared/git-native/third-party/javascript/event-target-shim@5.0.1/README.md +293 -0
- package/payload/shared/git-native/third-party/javascript/event-target-shim@5.0.1/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/event-target-shim@5.0.1/package.json +82 -0
- package/payload/shared/git-native/third-party/javascript/events@3.3.0/LICENSE +22 -0
- package/payload/shared/git-native/third-party/javascript/events@3.3.0/Readme.md +50 -0
- package/payload/shared/git-native/third-party/javascript/events@3.3.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/events@3.3.0/package.json +37 -0
- package/payload/shared/git-native/third-party/javascript/for-each@0.3.5/LICENSE +22 -0
- package/payload/shared/git-native/third-party/javascript/for-each@0.3.5/README.md +39 -0
- package/payload/shared/git-native/third-party/javascript/for-each@0.3.5/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/for-each@0.3.5/package.json +76 -0
- package/payload/shared/git-native/third-party/javascript/function-bind@1.1.2/LICENSE +20 -0
- package/payload/shared/git-native/third-party/javascript/function-bind@1.1.2/README.md +46 -0
- package/payload/shared/git-native/third-party/javascript/function-bind@1.1.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/function-bind@1.1.2/package.json +87 -0
- package/payload/shared/git-native/third-party/javascript/get-intrinsic@1.3.0/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/get-intrinsic@1.3.0/README.md +71 -0
- package/payload/shared/git-native/third-party/javascript/get-intrinsic@1.3.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/get-intrinsic@1.3.0/package.json +97 -0
- package/payload/shared/git-native/third-party/javascript/get-proto@1.0.1/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/get-proto@1.0.1/README.md +50 -0
- package/payload/shared/git-native/third-party/javascript/get-proto@1.0.1/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/get-proto@1.0.1/package.json +81 -0
- package/payload/shared/git-native/third-party/javascript/gopd@1.2.0/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/gopd@1.2.0/README.md +40 -0
- package/payload/shared/git-native/third-party/javascript/gopd@1.2.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/gopd@1.2.0/package.json +77 -0
- package/payload/shared/git-native/third-party/javascript/has-property-descriptors@1.0.2/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/has-property-descriptors@1.0.2/README.md +43 -0
- package/payload/shared/git-native/third-party/javascript/has-property-descriptors@1.0.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/has-property-descriptors@1.0.2/package.json +77 -0
- package/payload/shared/git-native/third-party/javascript/has-symbols@1.1.0/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/has-symbols@1.1.0/README.md +46 -0
- package/payload/shared/git-native/third-party/javascript/has-symbols@1.1.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/has-symbols@1.1.0/package.json +111 -0
- package/payload/shared/git-native/third-party/javascript/has-tostringtag@1.0.2/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/has-tostringtag@1.0.2/README.md +46 -0
- package/payload/shared/git-native/third-party/javascript/has-tostringtag@1.0.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/has-tostringtag@1.0.2/package.json +108 -0
- package/payload/shared/git-native/third-party/javascript/hasown@2.0.4/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/hasown@2.0.4/README.md +40 -0
- package/payload/shared/git-native/third-party/javascript/hasown@2.0.4/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/hasown@2.0.4/package.json +91 -0
- package/payload/shared/git-native/third-party/javascript/iconv-lite@0.7.3/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/iconv-lite@0.7.3/README.md +138 -0
- package/payload/shared/git-native/third-party/javascript/iconv-lite@0.7.3/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/iconv-lite@0.7.3/package.json +70 -0
- package/payload/shared/git-native/third-party/javascript/ieee754@1.2.1/LICENSE +11 -0
- package/payload/shared/git-native/third-party/javascript/ieee754@1.2.1/README.md +51 -0
- package/payload/shared/git-native/third-party/javascript/ieee754@1.2.1/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/ieee754@1.2.1/package.json +52 -0
- package/payload/shared/git-native/third-party/javascript/ignore@5.3.2/LICENSE-MIT +21 -0
- package/payload/shared/git-native/third-party/javascript/ignore@5.3.2/README.md +412 -0
- package/payload/shared/git-native/third-party/javascript/ignore@5.3.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/ignore@5.3.2/package.json +74 -0
- package/payload/shared/git-native/third-party/javascript/inherits@2.0.4/LICENSE +16 -0
- package/payload/shared/git-native/third-party/javascript/inherits@2.0.4/README.md +42 -0
- package/payload/shared/git-native/third-party/javascript/inherits@2.0.4/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/inherits@2.0.4/package.json +29 -0
- package/payload/shared/git-native/third-party/javascript/is-callable@1.2.7/LICENSE +22 -0
- package/payload/shared/git-native/third-party/javascript/is-callable@1.2.7/README.md +83 -0
- package/payload/shared/git-native/third-party/javascript/is-callable@1.2.7/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/is-callable@1.2.7/package.json +106 -0
- package/payload/shared/git-native/third-party/javascript/is-typed-array@1.1.15/LICENSE +22 -0
- package/payload/shared/git-native/third-party/javascript/is-typed-array@1.1.15/README.md +70 -0
- package/payload/shared/git-native/third-party/javascript/is-typed-array@1.1.15/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/is-typed-array@1.1.15/package.json +129 -0
- package/payload/shared/git-native/third-party/javascript/isarray@2.0.5/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/isarray@2.0.5/README.md +38 -0
- package/payload/shared/git-native/third-party/javascript/isarray@2.0.5/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/isarray@2.0.5/package.json +48 -0
- package/payload/shared/git-native/third-party/javascript/isomorphic-git@1.44.2/LICENSE.md +7 -0
- package/payload/shared/git-native/third-party/javascript/isomorphic-git@1.44.2/README.md +510 -0
- package/payload/shared/git-native/third-party/javascript/isomorphic-git@1.44.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/isomorphic-git@1.44.2/package.json +189 -0
- package/payload/shared/git-native/third-party/javascript/math-intrinsics@1.1.0/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/math-intrinsics@1.1.0/README.md +50 -0
- package/payload/shared/git-native/third-party/javascript/math-intrinsics@1.1.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/math-intrinsics@1.1.0/package.json +86 -0
- package/payload/shared/git-native/third-party/javascript/mimic-response@3.1.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/mimic-response@3.1.0/license +9 -0
- package/payload/shared/git-native/third-party/javascript/mimic-response@3.1.0/package.json +42 -0
- package/payload/shared/git-native/third-party/javascript/mimic-response@3.1.0/readme.md +78 -0
- package/payload/shared/git-native/third-party/javascript/minimist@1.2.8/LICENSE +18 -0
- package/payload/shared/git-native/third-party/javascript/minimist@1.2.8/README.md +121 -0
- package/payload/shared/git-native/third-party/javascript/minimist@1.2.8/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/minimist@1.2.8/package.json +75 -0
- package/payload/shared/git-native/third-party/javascript/minimisted@2.0.1/README.md +58 -0
- package/payload/shared/git-native/third-party/javascript/minimisted@2.0.1/SOURCE.json +21 -0
- package/payload/shared/git-native/third-party/javascript/minimisted@2.0.1/package.json +32 -0
- package/payload/shared/git-native/third-party/javascript/once@1.4.0/LICENSE +15 -0
- package/payload/shared/git-native/third-party/javascript/once@1.4.0/README.md +79 -0
- package/payload/shared/git-native/third-party/javascript/once@1.4.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/once@1.4.0/package.json +33 -0
- package/payload/shared/git-native/third-party/javascript/pako@1.0.11/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/pako@1.0.11/README.md +191 -0
- package/payload/shared/git-native/third-party/javascript/pako@1.0.11/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/pako@1.0.11/package.json +44 -0
- package/payload/shared/git-native/third-party/javascript/pify@4.0.1/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/pify@4.0.1/license +9 -0
- package/payload/shared/git-native/third-party/javascript/pify@4.0.1/package.json +51 -0
- package/payload/shared/git-native/third-party/javascript/pify@4.0.1/readme.md +145 -0
- package/payload/shared/git-native/third-party/javascript/possible-typed-array-names@1.1.0/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/possible-typed-array-names@1.1.0/README.md +50 -0
- package/payload/shared/git-native/third-party/javascript/possible-typed-array-names@1.1.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/possible-typed-array-names@1.1.0/package.json +84 -0
- package/payload/shared/git-native/third-party/javascript/process@0.11.10/LICENSE +22 -0
- package/payload/shared/git-native/third-party/javascript/process@0.11.10/README.md +26 -0
- package/payload/shared/git-native/third-party/javascript/process@0.11.10/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/process@0.11.10/package.json +27 -0
- package/payload/shared/git-native/third-party/javascript/readable-stream@4.8.0/LICENSE +47 -0
- package/payload/shared/git-native/third-party/javascript/readable-stream@4.8.0/README.md +116 -0
- package/payload/shared/git-native/third-party/javascript/readable-stream@4.8.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/readable-stream@4.8.0/package.json +89 -0
- package/payload/shared/git-native/third-party/javascript/safe-buffer@5.2.1/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/safe-buffer@5.2.1/README.md +584 -0
- package/payload/shared/git-native/third-party/javascript/safe-buffer@5.2.1/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/safe-buffer@5.2.1/package.json +51 -0
- package/payload/shared/git-native/third-party/javascript/safer-buffer@2.1.2/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/safer-buffer@2.1.2/Readme.md +156 -0
- package/payload/shared/git-native/third-party/javascript/safer-buffer@2.1.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/safer-buffer@2.1.2/package.json +34 -0
- package/payload/shared/git-native/third-party/javascript/set-function-length@1.2.2/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/set-function-length@1.2.2/README.md +56 -0
- package/payload/shared/git-native/third-party/javascript/set-function-length@1.2.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/set-function-length@1.2.2/package.json +102 -0
- package/payload/shared/git-native/third-party/javascript/sha.js@2.4.12/LICENSE +49 -0
- package/payload/shared/git-native/third-party/javascript/sha.js@2.4.12/README.md +44 -0
- package/payload/shared/git-native/third-party/javascript/sha.js@2.4.12/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/sha.js@2.4.12/package.json +58 -0
- package/payload/shared/git-native/third-party/javascript/simple-concat@1.0.1/LICENSE +20 -0
- package/payload/shared/git-native/third-party/javascript/simple-concat@1.0.1/README.md +44 -0
- package/payload/shared/git-native/third-party/javascript/simple-concat@1.0.1/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/simple-concat@1.0.1/package.json +47 -0
- package/payload/shared/git-native/third-party/javascript/simple-get@4.0.1/LICENSE +20 -0
- package/payload/shared/git-native/third-party/javascript/simple-get@4.0.1/README.md +333 -0
- package/payload/shared/git-native/third-party/javascript/simple-get@4.0.1/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/simple-get@4.0.1/package.json +67 -0
- package/payload/shared/git-native/third-party/javascript/string_decoder@1.3.0/LICENSE +48 -0
- package/payload/shared/git-native/third-party/javascript/string_decoder@1.3.0/README.md +47 -0
- package/payload/shared/git-native/third-party/javascript/string_decoder@1.3.0/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/string_decoder@1.3.0/package.json +34 -0
- package/payload/shared/git-native/third-party/javascript/to-buffer@1.2.2/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/to-buffer@1.2.2/README.md +44 -0
- package/payload/shared/git-native/third-party/javascript/to-buffer@1.2.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/to-buffer@1.2.2/package.json +62 -0
- package/payload/shared/git-native/third-party/javascript/typed-array-buffer@1.0.3/LICENSE +21 -0
- package/payload/shared/git-native/third-party/javascript/typed-array-buffer@1.0.3/README.md +42 -0
- package/payload/shared/git-native/third-party/javascript/typed-array-buffer@1.0.3/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/typed-array-buffer@1.0.3/package.json +82 -0
- package/payload/shared/git-native/third-party/javascript/which-typed-array@1.1.24/LICENSE +22 -0
- package/payload/shared/git-native/third-party/javascript/which-typed-array@1.1.24/README.md +68 -0
- package/payload/shared/git-native/third-party/javascript/which-typed-array@1.1.24/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/which-typed-array@1.1.24/package.json +131 -0
- package/payload/shared/git-native/third-party/javascript/wrappy@1.0.2/LICENSE +15 -0
- package/payload/shared/git-native/third-party/javascript/wrappy@1.0.2/README.md +36 -0
- package/payload/shared/git-native/third-party/javascript/wrappy@1.0.2/SOURCE.json +25 -0
- package/payload/shared/git-native/third-party/javascript/wrappy@1.0.2/package.json +29 -0
- package/payload/shared/git-native/third-party/licenses/android_system_properties-0.1.6/LICENSE-APACHE +13 -0
- package/payload/shared/git-native/third-party/licenses/android_system_properties-0.1.6/LICENSE-MIT +20 -0
- package/payload/shared/git-native/third-party/licenses/autocfg-1.5.1/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/autocfg-1.5.1/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/bitflags-2.13.2/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/bitflags-2.13.2/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/bumpalo-3.20.3/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/bumpalo-3.20.3/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/cc-1.8.0/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/cc-1.8.0/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/cfg-if-1.0.5/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/cfg-if-1.0.5/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/chrono-0.4.45/LICENSE.txt +240 -0
- package/payload/shared/git-native/third-party/licenses/convert_case-0.12.0/LICENSE +21 -0
- package/payload/shared/git-native/third-party/licenses/core-foundation-sys-0.8.7/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/core-foundation-sys-0.8.7/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/ctor-1.0.13/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/ctor-1.0.13/LICENSE-MIT +5 -0
- package/payload/shared/git-native/third-party/licenses/dirs-6.0.0/LICENSE-APACHE +174 -0
- package/payload/shared/git-native/third-party/licenses/dirs-6.0.0/LICENSE-MIT +19 -0
- package/payload/shared/git-native/third-party/licenses/dirs-sys-0.5.0/LICENSE-APACHE +174 -0
- package/payload/shared/git-native/third-party/licenses/dirs-sys-0.5.0/LICENSE-MIT +19 -0
- package/payload/shared/git-native/third-party/licenses/find-msvc-tools-0.1.14/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/find-msvc-tools-0.1.14/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/futures-0.3.34/LICENSE-APACHE +202 -0
- package/payload/shared/git-native/third-party/licenses/futures-0.3.34/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/futures-channel-0.3.34/LICENSE-APACHE +202 -0
- package/payload/shared/git-native/third-party/licenses/futures-channel-0.3.34/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/futures-core-0.3.34/LICENSE-APACHE +202 -0
- package/payload/shared/git-native/third-party/licenses/futures-core-0.3.34/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/futures-executor-0.3.34/LICENSE-APACHE +202 -0
- package/payload/shared/git-native/third-party/licenses/futures-executor-0.3.34/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/futures-io-0.3.34/LICENSE-APACHE +202 -0
- package/payload/shared/git-native/third-party/licenses/futures-io-0.3.34/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/futures-macro-0.3.34/LICENSE-APACHE +202 -0
- package/payload/shared/git-native/third-party/licenses/futures-macro-0.3.34/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/futures-sink-0.3.34/LICENSE-APACHE +202 -0
- package/payload/shared/git-native/third-party/licenses/futures-sink-0.3.34/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/futures-task-0.3.34/LICENSE-APACHE +202 -0
- package/payload/shared/git-native/third-party/licenses/futures-task-0.3.34/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/futures-util-0.3.34/LICENSE-APACHE +202 -0
- package/payload/shared/git-native/third-party/licenses/futures-util-0.3.34/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/getrandom-0.4.3/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/getrandom-0.4.3/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/git2-0.21.0/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/git2-0.21.0/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/home-0.5.12/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/home-0.5.12/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/iana-time-zone-0.1.65/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/iana-time-zone-0.1.65/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/iana-time-zone-haiku-0.1.2/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/iana-time-zone-haiku-0.1.2/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/jobserver-0.1.35/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/jobserver-0.1.35/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/js-sys-0.3.106/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/js-sys-0.3.106/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/libc-0.2.190/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/licenses/libc-0.2.190/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/libgit2-sys-0.18.8+1.9.7/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/libgit2-sys-0.18.8+1.9.7/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/libgit2-sys-0.18.8+1.9.7/libgit2/COPYING +1482 -0
- package/payload/shared/git-native/third-party/licenses/libgit2-sys-0.18.8+1.9.7/libgit2/deps/llhttp/LICENSE-MIT +22 -0
- package/payload/shared/git-native/third-party/licenses/libgit2-sys-0.18.8+1.9.7/libgit2/deps/pcre2/LICENCE.md +104 -0
- package/payload/shared/git-native/third-party/licenses/libgit2-sys-0.18.8+1.9.7/libgit2/deps/winhttp/COPYING.GPL +993 -0
- package/payload/shared/git-native/third-party/licenses/libgit2-sys-0.18.8+1.9.7/libgit2/deps/winhttp/COPYING.LGPL +502 -0
- package/payload/shared/git-native/third-party/licenses/libgit2-sys-0.18.8+1.9.7/libgit2/deps/zlib/LICENSE +22 -0
- package/payload/shared/git-native/third-party/licenses/libloading-0.9.0/LICENSE +12 -0
- package/payload/shared/git-native/third-party/licenses/libredox-0.1.25/LICENSE +21 -0
- package/payload/shared/git-native/third-party/licenses/libz-sys-1.1.30/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/libz-sys-1.1.30/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/libz-sys-1.1.30/src/zlib/LICENSE +22 -0
- package/payload/shared/git-native/third-party/licenses/libz-sys-1.1.30/src/zlib/contrib/dotzlib/LICENSE_1_0.txt +23 -0
- package/payload/shared/git-native/third-party/licenses/libz-sys-1.1.30/src/zlib/contrib/minizip/LICENSE.Info-Zip +58 -0
- package/payload/shared/git-native/third-party/licenses/libz-sys-1.1.30/src/zlib-ng/LICENSE.md +19 -0
- package/payload/shared/git-native/third-party/licenses/log-0.4.34/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/log-0.4.34/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/memchr-2.8.3/COPYING +3 -0
- package/payload/shared/git-native/third-party/licenses/memchr-2.8.3/LICENSE-MIT +21 -0
- package/payload/shared/git-native/third-party/licenses/napi-3.14.2/LICENSE +43 -0
- package/payload/shared/git-native/third-party/licenses/napi-build-2.6.0/LICENSE +43 -0
- package/payload/shared/git-native/third-party/licenses/napi-derive-3.6.12/LICENSE +43 -0
- package/payload/shared/git-native/third-party/licenses/napi-derive-backend-6.1.5/LICENSE +43 -0
- package/payload/shared/git-native/third-party/licenses/napi-sys-3.4.0/LICENSE +43 -0
- package/payload/shared/git-native/third-party/licenses/nohash-hasher-0.2.0/LICENSE-APACHE +202 -0
- package/payload/shared/git-native/third-party/licenses/nohash-hasher-0.2.0/LICENSE-MIT +18 -0
- package/payload/shared/git-native/third-party/licenses/num-traits-0.2.19/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/num-traits-0.2.19/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/once_cell-1.21.4/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/once_cell-1.21.4/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/option-ext-0.2.0/LICENSE.txt +373 -0
- package/payload/shared/git-native/third-party/licenses/pin-project-lite-0.2.17/LICENSE-APACHE +177 -0
- package/payload/shared/git-native/third-party/licenses/pin-project-lite-0.2.17/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/pkg-config-0.3.34/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/pkg-config-0.3.34/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/proc-macro2-1.0.107/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/licenses/proc-macro2-1.0.107/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/quote-1.0.47/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/licenses/quote-1.0.47/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/redox_users-0.5.3/LICENSE +22 -0
- package/payload/shared/git-native/third-party/licenses/rustc-hash-2.1.3/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/licenses/rustc-hash-2.1.3/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/rustversion-1.0.23/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/licenses/rustversion-1.0.23/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/semver-1.0.28/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/licenses/semver-1.0.28/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/shlex-2.0.1/LICENSE-APACHE +13 -0
- package/payload/shared/git-native/third-party/licenses/shlex-2.0.1/LICENSE-MIT +21 -0
- package/payload/shared/git-native/third-party/licenses/slab-0.4.12/LICENSE +25 -0
- package/payload/shared/git-native/third-party/licenses/syn-2.0.119/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/licenses/syn-2.0.119/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/syn-3.0.9/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/licenses/syn-3.0.9/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/thiserror-2.0.21/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/licenses/thiserror-2.0.21/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/thiserror-impl-2.0.21/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/licenses/thiserror-impl-2.0.21/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/tokio-1.53.3/LICENSE +21 -0
- package/payload/shared/git-native/third-party/licenses/unicode-ident-1.0.27/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/licenses/unicode-ident-1.0.27/LICENSE-MIT +23 -0
- package/payload/shared/git-native/third-party/licenses/unicode-ident-1.0.27/LICENSE-UNICODE +39 -0
- package/payload/shared/git-native/third-party/licenses/unicode-segmentation-1.13.3/COPYRIGHT +7 -0
- package/payload/shared/git-native/third-party/licenses/unicode-segmentation-1.13.3/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/unicode-segmentation-1.13.3/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/vcpkg-0.2.15/LICENSE-APACHE +202 -0
- package/payload/shared/git-native/third-party/licenses/vcpkg-0.2.15/LICENSE-MIT +26 -0
- package/payload/shared/git-native/third-party/licenses/wasm-bindgen-0.2.129/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/wasm-bindgen-0.2.129/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/wasm-bindgen-macro-0.2.129/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/wasm-bindgen-macro-0.2.129/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/wasm-bindgen-macro-support-0.2.129/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/wasm-bindgen-macro-support-0.2.129/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/wasm-bindgen-shared-0.2.129/LICENSE-APACHE +201 -0
- package/payload/shared/git-native/third-party/licenses/wasm-bindgen-shared-0.2.129/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/licenses/windows-core-0.62.2/license-apache-2.0 +201 -0
- package/payload/shared/git-native/third-party/licenses/windows-core-0.62.2/license-mit +21 -0
- package/payload/shared/git-native/third-party/licenses/windows-implement-0.60.2/license-apache-2.0 +201 -0
- package/payload/shared/git-native/third-party/licenses/windows-implement-0.60.2/license-mit +21 -0
- package/payload/shared/git-native/third-party/licenses/windows-interface-0.59.3/license-apache-2.0 +201 -0
- package/payload/shared/git-native/third-party/licenses/windows-interface-0.59.3/license-mit +21 -0
- package/payload/shared/git-native/third-party/licenses/windows-link-0.2.1/license-apache-2.0 +201 -0
- package/payload/shared/git-native/third-party/licenses/windows-link-0.2.1/license-mit +21 -0
- package/payload/shared/git-native/third-party/licenses/windows-result-0.4.1/license-apache-2.0 +201 -0
- package/payload/shared/git-native/third-party/licenses/windows-result-0.4.1/license-mit +21 -0
- package/payload/shared/git-native/third-party/licenses/windows-strings-0.5.1/license-apache-2.0 +201 -0
- package/payload/shared/git-native/third-party/licenses/windows-strings-0.5.1/license-mit +21 -0
- package/payload/shared/git-native/third-party/licenses/windows-sys-0.61.2/license-apache-2.0 +201 -0
- package/payload/shared/git-native/third-party/licenses/windows-sys-0.61.2/license-mit +21 -0
- package/payload/shared/git-native/third-party/rust-stdlib/rust-std-1.99.1-x86_64-pc-windows-msvc/COPYRIGHT +34 -0
- package/payload/shared/git-native/third-party/rust-stdlib/rust-std-1.99.1-x86_64-pc-windows-msvc/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/rust-stdlib/rust-std-1.99.1-x86_64-pc-windows-msvc/LICENSE-MIT +25 -0
- package/payload/shared/git-native/third-party/rust-stdlib/rust-std-1.99.1-x86_64-unknown-linux-gnu/COPYRIGHT +34 -0
- package/payload/shared/git-native/third-party/rust-stdlib/rust-std-1.99.1-x86_64-unknown-linux-gnu/LICENSE-APACHE +176 -0
- package/payload/shared/git-native/third-party/rust-stdlib/rust-std-1.99.1-x86_64-unknown-linux-gnu/LICENSE-MIT +25 -0
- package/payload/shared/kits/web_app/mindset.md +42 -9
- package/payload/shared/knowledge/cli-lifecycle.mjs +79 -0
- package/payload/shared/knowledge/runtime-manifest.json +2 -1
- package/payload/shared/knowledge/runtime.mjs +297 -84
- package/payload/shared/scripts/{content-archive-9pzDBpn3.mjs → content-archive-Dc-eUqE_.mjs} +2 -2
- package/payload/shared/scripts/{core-entry-DH2wsFgg.mjs → core-entry-Bj1isC2W.mjs} +959 -210
- package/payload/shared/scripts/design-git-read-BUV0s4TT.mjs +192 -0
- package/payload/shared/scripts/design.mjs +198 -181
- package/payload/shared/scripts/git-index-library-08zOq52I.mjs +6868 -0
- package/payload/shared/scripts/git-index-library-C_wZ6wUq.mjs +2 -0
- package/payload/shared/scripts/git-native-NCzpyKUp.mjs +9472 -0
- package/payload/shared/scripts/git-native-executor-CqFIQhzz.mjs +205 -0
- package/payload/shared/scripts/git-native-executor-D8TkZYzk.mjs +2 -0
- package/payload/shared/scripts/git-native-operation-BsYNBbvH.mjs +91 -0
- package/payload/shared/scripts/git-native-worker.js +65 -0
- package/payload/shared/scripts/git-runtime-check.mjs +113 -0
- package/payload/shared/scripts/knowledge-snapshot-query.mjs +1 -1
- package/payload/shared/scripts/{load-B-XdiMTX.mjs → load-B9zD0DAZ.mjs} +1 -1
- package/payload/shared/scripts/package.json +1 -0
- package/payload/shared/scripts/{panel-preview-HRISZ1HI.mjs → panel-preview-CE8w39XL.mjs} +2 -2
- package/payload/shared/scripts/{server-CydyvZvR.mjs → server-DWGjbv7N.mjs} +155 -239
- package/payload/shared/scripts/{studio-content-archive-C2mFLBuL.mjs → studio-content-archive-DmZ57yxv.mjs} +2 -2
- package/payload/shared/scripts/{studio-instance-composition-C17CmAmZ.mjs → studio-instance-composition-BONpvYpU.mjs} +2 -2
- package/payload/shared/scripts/{studio-instances-CmNfOFil.mjs → studio-instances-B_x9lgOw.mjs} +2 -2
- package/payload/shared/scripts/{studio-panel-drafts-x3awqien.mjs → studio-panel-drafts-mDQAikiO.mjs} +3 -3
- package/payload/shared/scripts/workbuddy-panel-service.mjs +1 -1
- package/payload/shared/scripts/{wrapper-BMQX62IU.mjs → wrapper-g_hHf07-.mjs} +13 -13
- package/payload/shared/web/{3d-force-graph-Ctmjqo-Y.js → 3d-force-graph-Dp5EP8PR.js} +102 -102
- package/payload/shared/web/{OrbitControls-CQxxM5ji.js → OrbitControls-GT2xzD-Y.js} +2 -2
- package/payload/shared/web/{_dsh-design-css_owned_f311e6c6d8e65aed0c9a7ee24ef653d3c38574a3505babc3e0cad2a40b94a188_diagram-js.css-C11OT7zU.js → _dsh-design-css_owned_36d28881e6f7af776649e53b2f2b629b04ea523d493caeddd292cec54a715cd6_diagram-js.css-CXsegth4.js} +2 -2
- package/payload/shared/web/{_dsh-design-css_owned_89a065927fa266797ef9ce977561ca0c4a3502195b0ba467350b7673cd701bdf_bpmn-embedded.css-CS3_MdFX.js → _dsh-design-css_owned_877b6b8da93d775125d8757870500b8da17b6f73b028cc234eca12fa9b4ae60b_bpmn-embedded.css-m5pOpVKs.js} +2 -2
- package/payload/shared/web/{_dsh-design-css_owned_cc41a10f41ce4c8219d75daefaa99c08ac76f04537f7ec1abc92622e819f5bba_bpmn-js.css-BMPB0-R-.js → _dsh-design-css_owned_f5b5930298486b8b27fd599263606bd06793ec2c0c3117995b02f33e29e3a67a_bpmn-js.css-BEKL3YhU.js} +2 -2
- package/payload/shared/web/{abnfDiagram-VCTEODGH-BElHS-zE.js → abnfDiagram-VCTEODGH-BOviwOVa.js} +8 -8
- package/payload/shared/web/{ar-SA-G6X2FPQ2-D7POWdFi.js → ar-SA-G6X2FPQ2-C9pj1Qwe.js} +1 -1
- package/payload/shared/web/{arc-Do8BUoj2.js → arc-kyzbkQwH.js} +1 -1
- package/payload/shared/web/{architecture-7GRP2DOG-DdensYya.js → architecture-7GRP2DOG-BGvt1Xht.js} +2 -2
- package/payload/shared/web/{architectureDiagram-5GKGNRK7-BECL41Da.js → architectureDiagram-5GKGNRK7-DD_2BzWX.js} +14 -14
- package/payload/shared/web/{az-AZ-76LH7QW2-C5e-y-w3.js → az-AZ-76LH7QW2-C858-FTp.js} +1 -1
- package/payload/shared/web/{bg-BG-XCXSNQG7-fVQUxYSL.js → bg-BG-XCXSNQG7-qP_6o60I.js} +1 -1
- package/payload/shared/web/{blockDiagram-I7D4REHJ-BHdPKhvo.js → blockDiagram-I7D4REHJ-CBB2xpnz.js} +17 -17
- package/payload/shared/web/{bn-BD-2XOGV67Q-DSmymzRw.js → bn-BD-2XOGV67Q-oWZtiCX9.js} +1 -1
- package/payload/shared/web/{c4Diagram-7LVT6UL2-CWIbzZY_.js → c4Diagram-7LVT6UL2-cwHwsOVr.js} +11 -11
- package/payload/shared/web/{ca-ES-6MX7JW3Y-BDoNy_ee.js → ca-ES-6MX7JW3Y-cbvzx_Rc.js} +1 -1
- package/payload/shared/web/channel-B_7OGlFl.js +7 -0
- package/payload/shared/web/{chunk-2Q5K7J3B-fbXEjlJX.js → chunk-2Q5K7J3B-CXD8iaoE.js} +2 -2
- package/payload/shared/web/{chunk-4HAMMTFA-b3a3G6vp.js → chunk-4HAMMTFA-C5D181yx.js} +10 -10
- package/payload/shared/web/{chunk-5VM5RSS4-BK0NOjPp.js → chunk-5VM5RSS4-wbZkDH1K.js} +2 -2
- package/payload/shared/web/{chunk-75Z2AOVW-CRrsMd7V.js → chunk-75Z2AOVW-Bqa6gkEP.js} +21 -21
- package/payload/shared/web/{chunk-DU6HZSFF-DQGKOvUD.js → chunk-DU6HZSFF-B8ITk3Jk.js} +27 -27
- package/payload/shared/web/{chunk-F27PBJKO-CKTDAMhD.js → chunk-F27PBJKO-CWwi3FWW.js} +6 -6
- package/payload/shared/web/{chunk-FOHPRMQF-Cr2lbyG-.js → chunk-FOHPRMQF-rEqaabGg.js} +1 -1
- package/payload/shared/web/{chunk-GMAD6QVW-CR6pf1Wk.js → chunk-GMAD6QVW-CFx_63Nw.js} +11 -11
- package/payload/shared/web/{chunk-GVQU2GXP-Cuq0uwWc.js → chunk-GVQU2GXP-T_-efhrj.js} +5 -5
- package/payload/shared/web/{chunk-IMKFNOWR-BIkawNBO.js → chunk-IMKFNOWR-kHws-9la.js} +10 -10
- package/payload/shared/web/{chunk-JWPE2WC7-CdZv-_qJ.js → chunk-JWPE2WC7-CPxMPrRi.js} +2 -2
- package/payload/shared/web/{chunk-L3NEJ4N5-CuRR4sgK.js → chunk-L3NEJ4N5-BgN5Tx0f.js} +10 -10
- package/payload/shared/web/{chunk-OSK3NFVY-o5AaXVbW.js → chunk-OSK3NFVY-D9uWts6t.js} +11 -11
- package/payload/shared/web/{chunk-P2QGCYS3-CQGN9yCW.js → chunk-P2QGCYS3-CDbJml6A.js} +3 -3
- package/payload/shared/web/{chunk-POPQ4Y6H-CoV8F_6L.js → chunk-POPQ4Y6H-op0h3mUK.js} +4 -4
- package/payload/shared/web/{chunk-PWAF6VOD-DLPv7U5s.js → chunk-PWAF6VOD-BhYhPR_m.js} +16 -16
- package/payload/shared/web/{chunk-SHT3W25Y-DAA9rzEQ.js → chunk-SHT3W25Y-Dqrc5eXc.js} +13 -13
- package/payload/shared/web/{chunk-SVP7TREG-CsNwZR-J.js → chunk-SVP7TREG-CDbj2t_B.js} +5 -5
- package/payload/shared/web/{chunk-TICWLB2K-BkUUbwgD.js → chunk-TICWLB2K-CR3B6YH3.js} +11 -11
- package/payload/shared/web/{chunk-XXDRQBXY-DuWXQH59.js → chunk-XXDRQBXY-DlGEO2sV.js} +4 -4
- package/payload/shared/web/{chunk-Y2CYZVJY-Dou7QIQD.js → chunk-Y2CYZVJY-wGtSCliH.js} +1 -1
- package/payload/shared/web/classDiagram-ZZMXUADV-uq7ZUODP.js +31 -0
- package/payload/shared/web/classDiagram-v2-VYDZK3BY-CVJPjOrd.js +31 -0
- package/payload/shared/web/client.js +27523 -27031
- package/payload/shared/web/{colors-CWuSpNaV.js → colors-nJ02GWw9.js} +1 -1
- package/payload/shared/web/{cose-bilkent-JH36ORCC-CtLBgNIX.js → cose-bilkent-JH36ORCC-EKk2pLe2.js} +7 -7
- package/payload/shared/web/{cs-CZ-2BRQDIVT-Dt87r7S-.js → cs-CZ-2BRQDIVT-CZGi3hI9.js} +1 -1
- package/payload/shared/web/{cynefin-OW5HDTMX-PtMqCYqM.js → cynefin-OW5HDTMX-CxvgJdw4.js} +2 -2
- package/payload/shared/web/{cynefinDiagram-5FMLGOSQ-CP-tjXE5.js → cynefinDiagram-5FMLGOSQ-Cja2xZEE.js} +8 -8
- package/payload/shared/web/{cytoscape.esm-B-DS7tqX.js → cytoscape.esm-CYzsz6wJ.js} +1 -1
- package/payload/shared/web/{da-DK-5WZEPLOC--27XibzI.js → da-DK-5WZEPLOC-9hzDqFdo.js} +1 -1
- package/payload/shared/web/{dagre-CEj7qy_c.js → dagre-C8srMx9M.js} +114 -114
- package/payload/shared/web/{dagre-GXQ25YYZ-GUxh673_.js → dagre-GXQ25YYZ-C6dYxkON.js} +15 -15
- package/payload/shared/web/{de-DE-XR44H4JA-D1MX3nBF.js → de-DE-XR44H4JA-DHlGwtxS.js} +1 -1
- package/payload/shared/web/{diagram-S7CK7UJ4-BFDH1Gbu.js → diagram-S7CK7UJ4-CnhsrDCA.js} +10 -10
- package/payload/shared/web/{diagram-UQ7AKVKN-PHM6uSDT.js → diagram-UQ7AKVKN-CgbbB5Y0.js} +8 -8
- package/payload/shared/web/{diagram-VSXAHHWV-C6m_LjuJ.js → diagram-VSXAHHWV-CQwmcqp1.js} +9 -9
- package/payload/shared/web/{diagram-VX7I27RA-G0Og_1eB.js → diagram-VX7I27RA-BPVSW-70.js} +32 -32
- package/payload/shared/web/{diagram-Z3DM3KII-DxLU0CyU.js → diagram-Z3DM3KII-3j3WLZbQ.js} +8 -8
- package/payload/shared/web/{directory-open-01563666-DOF-LFZj.js → directory-open-01563666-D8ozuYcu.js} +1 -1
- package/payload/shared/web/{directory-open-4ed118d0-BhSg263d.js → directory-open-4ed118d0-CnMchJXh.js} +1 -1
- package/payload/shared/web/{dist-CpfF1Jph.js → dist-CRiJa2Xn.js} +91 -91
- package/payload/shared/web/{dist-BYV9yYN_.js → dist-qRiBzc2v.js} +2 -2
- package/payload/shared/web/{ebnfDiagram-PWID7BFC-Dh7NgFDw.js → ebnfDiagram-PWID7BFC-Doul9Lu2.js} +8 -8
- package/payload/shared/web/{el-GR-BZB4AONW-B-2rmEpJ.js → el-GR-BZB4AONW-DEZYqiYi.js} +1 -1
- package/payload/shared/web/{elk.bundled-CoqjhytL.js → elk.bundled-1pUJ7NR1.js} +1 -1
- package/payload/shared/web/{erDiagram-RLTQ6QDP-De1Ves_r.js → erDiagram-RLTQ6QDP-w2txXJVD.js} +17 -17
- package/payload/shared/web/{es-ES-U4NZUMDT-C5yEmbaZ.js → es-ES-U4NZUMDT-2X7qg8_0.js} +1 -1
- package/payload/shared/web/{eu-ES-A7QVB2H4-BJR6dFFp.js → eu-ES-A7QVB2H4-daoDnmjs.js} +1 -1
- package/payload/shared/web/{eventmodeling-NTZA5JFV-DI7fNQlO.js → eventmodeling-NTZA5JFV-ZLs6TMHy.js} +2 -2
- package/payload/shared/web/{fa-IR-HGAKTJCU-BCz_Ftau.js → fa-IR-HGAKTJCU-BUnJteaP.js} +1 -1
- package/payload/shared/web/{fi-FI-Z5N7JZ37-B-f17R2D.js → fi-FI-Z5N7JZ37-BebG4a49.js} +1 -1
- package/payload/shared/web/{file-open-002ab408-hyYj-YWQ.js → file-open-002ab408-XDsHoTPm.js} +1 -1
- package/payload/shared/web/{file-open-7c801643-DypCtGbZ.js → file-open-7c801643-CjrF_py3.js} +1 -1
- package/payload/shared/web/{file-save-3189631c-DP5vC6AA.js → file-save-3189631c-DppYxizf.js} +1 -1
- package/payload/shared/web/{file-save-745eba88-DQC5H-1g.js → file-save-745eba88-CFlgND05.js} +1 -1
- package/payload/shared/web/flowDiagram-HODETNUW-C_xCBqZR.js +16 -0
- package/payload/shared/web/{fr-FR-RHASNOE6-DmkeKeyA.js → fr-FR-RHASNOE6-DVva4O4s.js} +1 -1
- package/payload/shared/web/{ganttDiagram-EL5Y4UJY-9UcawiqG.js → ganttDiagram-EL5Y4UJY-CzybpZfy.js} +17 -17
- package/payload/shared/web/{gitGraph-4MIJSDKK-Brimk1PV.js → gitGraph-4MIJSDKK-B-oxeXyR.js} +2 -2
- package/payload/shared/web/{gitGraphDiagram-WWUBYQGX-BYFpRlq8.js → gitGraphDiagram-WWUBYQGX-BSQu-X_j.js} +9 -9
- package/payload/shared/web/{gl-ES-HMX3MZ6V-D4X9brTj.js → gl-ES-HMX3MZ6V-DCGdgneH.js} +1 -1
- package/payload/shared/web/{graphlib-i6IPrIm0.js → graphlib-CNIpO9dV.js} +144 -144
- package/payload/shared/web/{he-IL-6SHJWFNN-C_1Gs06a.js → he-IL-6SHJWFNN-D_6-CaCA.js} +1 -1
- package/payload/shared/web/{hi-IN-IWLTKZ5I-n-1X_Yh_.js → hi-IN-IWLTKZ5I-BD1i4iLx.js} +1 -1
- package/payload/shared/web/{hu-HU-A5ZG7DT2-DZE5a3kU.js → hu-HU-A5ZG7DT2-BFGTG0EZ.js} +1 -1
- package/payload/shared/web/{id-ID-SAP4L64H-kyW1-Blg.js → id-ID-SAP4L64H-Cen-Cusx.js} +1 -1
- package/payload/shared/web/info-A6RAGUB7-DdGPtq7-.js +3 -0
- package/payload/shared/web/{infoDiagram-27XIBGKW-B_sYOrDT.js → infoDiagram-27XIBGKW-CjD26GXN.js} +6 -6
- package/payload/shared/web/{isSymbol-C7nLo9aG.js → isSymbol-Bub695Uo.js} +9 -9
- package/payload/shared/web/{ishikawaDiagram-5VMMS53U-Dbq0pjSI.js → ishikawaDiagram-5VMMS53U-BApaugiu.js} +7 -7
- package/payload/shared/web/{it-IT-JPQ66NNP-CYr0JsnF.js → it-IT-JPQ66NNP-D3D4JBx-.js} +1 -1
- package/payload/shared/web/{ja-JP-DBVTYXUO-C_IigVNV.js → ja-JP-DBVTYXUO-DvPfXBOy.js} +1 -1
- package/payload/shared/web/{journeyDiagram-3NMN7TZE-CzWCm5-W.js → journeyDiagram-3NMN7TZE-C9ULQCMU.js} +8 -8
- package/payload/shared/web/{kaa-6HZHGXH3-CfWQ1jHJ.js → kaa-6HZHGXH3-CiYeV_X5.js} +1 -1
- package/payload/shared/web/{kab-KAB-ZGHBKWFO-B3pHuBR-.js → kab-KAB-ZGHBKWFO-Cgw1e9GC.js} +1 -1
- package/payload/shared/web/{kanban-definition-UXKFOSKX-BPt2iOge.js → kanban-definition-UXKFOSKX-n8_vWP8l.js} +13 -13
- package/payload/shared/web/{katex-DhTJdtYJ.js → katex-BX-46dpk.js} +1 -1
- package/payload/shared/web/{kk-KZ-P5N5QNE5-CQpxXuIU.js → kk-KZ-P5N5QNE5-BpZ5FFIy.js} +1 -1
- package/payload/shared/web/{km-KH-HSX4SM5Z-Dc7wato0.js → km-KH-HSX4SM5Z-BQn5R2iL.js} +1 -1
- package/payload/shared/web/{ko-KR-MTYHY66A-DLW_Eenb.js → ko-KR-MTYHY66A-D2iQ0j-F.js} +1 -1
- package/payload/shared/web/{ku-TR-6OUDTVRD-DmL5F-rU.js → ku-TR-6OUDTVRD-r5YT0k_1.js} +1 -1
- package/payload/shared/web/{lt-LT-XHIRWOB4-BuHt1LRQ.js → lt-LT-XHIRWOB4-DyiS7odV.js} +1 -1
- package/payload/shared/web/{lv-LV-5QDEKY6T-BR0l3jdi.js → lv-LV-5QDEKY6T-B_qUNX5o.js} +1 -1
- package/payload/shared/web/{mermaid-parser.core-CgDHe7WO.js → mermaid-parser.core-D5YsbUcY.js} +32 -32
- package/payload/shared/web/{mindmap-definition-YA3MSWOX--s-o7l9c.js → mindmap-definition-YA3MSWOX-BQ89fQ37.js} +18 -18
- package/payload/shared/web/{mr-IN-CRQNXWMA-ByPSg8_m.js → mr-IN-CRQNXWMA-CKenVzE_.js} +1 -1
- package/payload/shared/web/{my-MM-5M5IBNSE-C1BGhC6H.js → my-MM-5M5IBNSE-BBCW5aWg.js} +1 -1
- package/payload/shared/web/{nb-NO-T6EIAALU-B3KhPAe1.js → nb-NO-T6EIAALU-B7BNMR35.js} +1 -1
- package/payload/shared/web/{nl-NL-IS3SIHDZ-CtvOo1al.js → nl-NL-IS3SIHDZ-cYiy7wqo.js} +1 -1
- package/payload/shared/web/{nn-NO-6E72VCQL-CerdLebG.js → nn-NO-6E72VCQL-BGzQmEoQ.js} +1 -1
- package/payload/shared/web/{oc-FR-POXYY2M6-lPXDyA40.js → oc-FR-POXYY2M6-vKi2zBEa.js} +1 -1
- package/payload/shared/web/{pa-IN-N4M65BXN-CXY0SKG3.js → pa-IN-N4M65BXN-BeMHF1Rc.js} +1 -1
- package/payload/shared/web/{packet-AYTQ26CC-DXyLibyW.js → packet-AYTQ26CC-BUVeKDnn.js} +2 -2
- package/payload/shared/web/{pegDiagram-XKGWAZYB-BtVScKlh.js → pegDiagram-XKGWAZYB-B3YjqNKA.js} +8 -8
- package/payload/shared/web/pie-WAS4IAKB-CEe7cHaG.js +3 -0
- package/payload/shared/web/{pieDiagram-E7YTZNPT-BVRgxFzd.js → pieDiagram-E7YTZNPT-Ck520SLB.js} +12 -12
- package/payload/shared/web/{pl-PL-T2D74RX3-BVmN6-gn.js → pl-PL-T2D74RX3-_HC9KwCw.js} +1 -1
- package/payload/shared/web/{pt-BR-5N22H2LF-VoMeGWv5.js → pt-BR-5N22H2LF-BTVHF6PJ.js} +1 -1
- package/payload/shared/web/{pt-PT-UZXXM6DQ-BCeApATc.js → pt-PT-UZXXM6DQ-5Qnk03rd.js} +1 -1
- package/payload/shared/web/{quadrantDiagram-AXDQQJYC-CoI_hWsn.js → quadrantDiagram-AXDQQJYC-CKWIYn6E.js} +5 -5
- package/payload/shared/web/{radar-RG4KPBEZ-ik5LQn3z.js → radar-RG4KPBEZ-BjUmoWTN.js} +2 -2
- package/payload/shared/web/{railroad-74A4TZTK-yLJ9q3Fv.js → railroad-74A4TZTK-Bf0L2GNV.js} +2 -2
- package/payload/shared/web/{railroad-abnf-HS5TGJTU-DrnMEW8S.js → railroad-abnf-HS5TGJTU-ChX8anMw.js} +2 -2
- package/payload/shared/web/{railroad-ebnf-LZEXJU2U-C3E4zm5K.js → railroad-ebnf-LZEXJU2U-D3f-0cxn.js} +2 -2
- package/payload/shared/web/{railroad-peg-WCYAUIDC-COIlHGKU.js → railroad-peg-WCYAUIDC-ieV3m38M.js} +2 -2
- package/payload/shared/web/{railroadDiagram-O6MQD6OU-CQvkXn2E.js → railroadDiagram-O6MQD6OU-BS37HeiC.js} +8 -8
- package/payload/shared/web/{requirementDiagram-BXWQKSXE-BeMX6Y3_.js → requirementDiagram-BXWQKSXE-5NOR0NWD.js} +15 -15
- package/payload/shared/web/{ro-RO-JPDTUUEW-BVI89rBX.js → ro-RO-JPDTUUEW-DFzQCRja.js} +1 -1
- package/payload/shared/web/{rough.esm-T_8Mwfec.js → rough.esm-CMu4qUai.js} +1 -1
- package/payload/shared/web/{roundRect-BCKJUrpT.js → roundRect-CMZu4cQA.js} +1 -1
- package/payload/shared/web/{ru-RU-B4JR7IUQ-Bs2zkyCL.js → ru-RU-B4JR7IUQ-BlFn_iKo.js} +1 -1
- package/payload/shared/web/{sankeyDiagram-P5KCCOFB-DAW2tMQQ.js → sankeyDiagram-P5KCCOFB-BvXZ0_I6.js} +19 -19
- package/payload/shared/web/{sequenceDiagram-WJ2MYXX4-CIyt6uFH.js → sequenceDiagram-WJ2MYXX4-C14vLjk6.js} +10 -10
- package/payload/shared/web/{si-LK-N5RQ5JYF-W6ZZjLGV.js → si-LK-N5RQ5JYF-BpRW_Z8Z.js} +1 -1
- package/payload/shared/web/{sizeCapture-INFHLROL-BkZtG6WP.js → sizeCapture-INFHLROL-CzWSc3Ox.js} +2 -2
- package/payload/shared/web/{sk-SK-C5VTKIMK-DsS1TRNt.js → sk-SK-C5VTKIMK-BKAr5Wv0.js} +1 -1
- package/payload/shared/web/{sl-SI-NN7IZMDC-lOGyvagL.js → sl-SI-NN7IZMDC-COqf4F9Q.js} +1 -1
- package/payload/shared/web/{src-DAzEjDkt.js → src-CHYSAFF9.js} +48 -48
- package/payload/shared/web/{src-DBqTbpm9.js → src-CYHsrlHl.js} +5 -5
- package/payload/shared/web/{stateDiagram-D77RDMKH-Cl5YhtvO.js → stateDiagram-D77RDMKH-CQ-MX63m.js} +20 -20
- package/payload/shared/web/stateDiagram-v2-MP3YSRHH-19lM4LR4.js +31 -0
- package/payload/shared/web/{sv-SE-XGPEYMSR-C133Fo29.js → sv-SE-XGPEYMSR-DzbpqFG6.js} +1 -1
- package/payload/shared/web/{swimlanes-42K2YHIH-DRkfAovZ.js → swimlanes-42K2YHIH-DwJkjPgt.js} +13 -13
- package/payload/shared/web/swimlanesDiagram-VR7AAH4N-DMsTBIOJ.js +30 -0
- package/payload/shared/web/{ta-IN-2NMHFXQM-DEEVujwJ.js → ta-IN-2NMHFXQM-DIXMAT1h.js} +1 -1
- package/payload/shared/web/{th-TH-HPSO5L25-m4z4u_Rd.js → th-TH-HPSO5L25-BI7dgU4x.js} +1 -1
- package/payload/shared/web/{three.module-DsonTxjC.js → three.module-B134HiU-.js} +2 -2
- package/payload/shared/web/{timeline-definition-24CTP7MA-Bc0GefZe.js → timeline-definition-24CTP7MA-B_1pkFHA.js} +8 -8
- package/payload/shared/web/{timer-DaJNeeTj.js → timer-BP62ZyBP.js} +49 -49
- package/payload/shared/web/{toNumber-Dq0WEEGL.js → toNumber-6KcveEJk.js} +5 -5
- package/payload/shared/web/{tr-TR-DEFEU3FU-oqObk9H8.js → tr-TR-DEFEU3FU-D75Lolm3.js} +1 -1
- package/payload/shared/web/{treeView-Q6P3EWNA-s6cJWvL2.js → treeView-Q6P3EWNA-DNEAKBm1.js} +2 -2
- package/payload/shared/web/{treemap-WGGIJYW6-B39slRxY.js → treemap-WGGIJYW6-DGkSlPZJ.js} +2 -2
- package/payload/shared/web/{uk-UA-QMV73CPH-DR5E21g2.js → uk-UA-QMV73CPH-Bz5BFb5N.js} +1 -1
- package/payload/shared/web/{vennDiagram-4TSXK5OY-CU3O6wRh.js → vennDiagram-4TSXK5OY-CTBoCSsb.js} +10 -10
- package/payload/shared/web/{vi-VN-M7AON7JQ-BTGcSenL.js → vi-VN-M7AON7JQ-BfU_0Hoc.js} +1 -1
- package/payload/shared/web/{wardley-WFR3VGLG-ROBWVVUd.js → wardley-WFR3VGLG-CL0XoFwN.js} +2 -2
- package/payload/shared/web/{wardleyDiagram-VM6X3IG4-USaMhD8m.js → wardleyDiagram-VM6X3IG4-5UCOztW-.js} +8 -8
- package/payload/shared/web/{xychartDiagram-S5SC5T6Z-C8IhDKnq.js → xychartDiagram-S5SC5T6Z-CQcNduev.js} +8 -8
- package/payload/shared/web/{zh-CN-LNUGB5OW-B8jdxL1j.js → zh-CN-LNUGB5OW-CFkwrVNq.js} +1 -1
- package/payload/shared/web/{zh-HK-E62DVLB3-C01JMzt_.js → zh-HK-E62DVLB3-DU83efpQ.js} +1 -1
- package/payload/shared/web/{zh-TW-RAJ6MFWO-Cdn1Kb1q.js → zh-TW-RAJ6MFWO-B8iH8AP3.js} +1 -1
- package/release-hosts.json +1 -1
- package/release-manifest.json +659 -212
- package/payload/shared/web/channel-CIc-uLOz.js +0 -7
- package/payload/shared/web/classDiagram-ZZMXUADV-HbaRZ3Nl.js +0 -31
- package/payload/shared/web/classDiagram-v2-VYDZK3BY-Bkk8o06s.js +0 -31
- package/payload/shared/web/flowDiagram-HODETNUW-DY-blVtj.js +0 -16
- package/payload/shared/web/info-A6RAGUB7-D5Cy9r2z.js +0 -3
- package/payload/shared/web/pie-WAS4IAKB-DsYWyNi3.js +0 -3
- package/payload/shared/web/stateDiagram-v2-MP3YSRHH-BsQEmOAZ.js +0 -31
- package/payload/shared/web/swimlanesDiagram-VR7AAH4N-CDtUk-LJ.js +0 -30
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Yugoo Design Companion — beta
|
|
2
2
|
|
|
3
|
-
Package: `@yugoo-design/companion@0.1.0-beta.
|
|
3
|
+
Package: `@yugoo-design/companion@0.1.0-beta.11`.
|
|
4
4
|
|
|
5
5
|
Yugoo Design (语构设计系统) is an interactive design plugin for native Agent Hosts.
|
|
6
6
|
It combines domain methods, Design Projects, versioned Design Files and shared
|
|
@@ -11,31 +11,129 @@ This beta is experimental. Native installation, tools, Panel saving, KAG and GRA
|
|
|
11
11
|
must be verified for the actual host version and platform. A successful package
|
|
12
12
|
installation or runtime-load check does not establish all of those capabilities.
|
|
13
13
|
|
|
14
|
-
Use
|
|
14
|
+
Use Node.js `>=22.19.0 <23` and a durable npm or pnpm installation directory. The current
|
|
15
|
+
release uses the packaged native Git library for normal Design versioning without
|
|
16
|
+
system Git. It bundles Windows x64 MSVC and Linux x64 GNU runtimes; other platforms
|
|
17
|
+
are unsupported. System Git is separate and needed only for the explicit CLI
|
|
18
|
+
diagnostic backend and development fixtures. Missing native support is reported
|
|
19
|
+
rather than silently spawning system Git. Resolve the
|
|
15
20
|
selected beta to the exact version and integrity before acquisition; keep the
|
|
16
21
|
previous installed version available during updates. Do not substitute `latest`.
|
|
17
22
|
|
|
18
23
|
```sh
|
|
19
|
-
npm install --ignore-scripts --save-exact @yugoo-design/companion@0.1.0-beta.
|
|
24
|
+
ONNXRUNTIME_NODE_INSTALL_CUDA=skip npm install --ignore-scripts=false --save-exact @yugoo-design/companion@0.1.0-beta.11 --registry=https://registry.npmjs.org
|
|
20
25
|
npx --no-install design-system --help
|
|
21
26
|
```
|
|
22
27
|
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
Alternatively, use an existing pnpm 11 installation (npm remains supported).
|
|
29
|
+
In the dedicated, empty version directory, create `pnpm-workspace.yaml` with
|
|
30
|
+
these local settings before acquisition:
|
|
31
|
+
|
|
32
|
+
```yaml
|
|
33
|
+
nodeLinker: hoisted
|
|
34
|
+
allowBuilds:
|
|
35
|
+
onnxruntime-node: true
|
|
36
|
+
protobufjs: true
|
|
37
|
+
sharp: true
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
ONNXRUNTIME_NODE_INSTALL_CUDA=skip pnpm add --save-exact @yugoo-design/companion@0.1.0-beta.11 --registry=https://registry.npmjs.org
|
|
42
|
+
pnpm exec design-system --help
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Run either acquisition in its own retained version directory, not the Design
|
|
46
|
+
Project or host profile. Do not mix npm and pnpm lockfiles in that directory.
|
|
47
|
+
The hoisted layout is the compatibility route for Companion's current native
|
|
48
|
+
dependency inspection; other pnpm layouts are not certified for every host.
|
|
49
|
+
pnpm's explicit build permissions above allow the current native dependencies'
|
|
50
|
+
installation scripts; do not disable all scripts or enable all future dependency
|
|
51
|
+
builds. Review any newly reported build requirement before allowing it. Retain
|
|
52
|
+
the complete pnpm installation layout; do not copy just a linked
|
|
53
|
+
package directory or invoke Node with `--preserve-symlinks` flags.
|
|
54
|
+
|
|
55
|
+
An explicitly selected HTTPS npm mirror is supported, for example
|
|
56
|
+
`--registry=https://registry.npmmirror.com`. Use it both when acquiring this
|
|
57
|
+
package and when invoking `design-system install --host dsh --registry=<url>`
|
|
58
|
+
with the required host inputs. The latter controls the official DSH CLI's
|
|
59
|
+
package download registry; it does not replace that CLI with npm or pnpm.
|
|
60
|
+
The exact aggregate version still comes from `release-hosts.json`, whose registry
|
|
61
|
+
remains the canonical release origin/default. The plan and receipt separately
|
|
62
|
+
record the effective mirror and bind it through apply and owned updates. There
|
|
63
|
+
is no automatic registry fallback or global registry edit. Verify the exact
|
|
64
|
+
mirror version and integrity against the selected release before installation;
|
|
65
|
+
missing or stale mirror packages are not permission to change version or source.
|
|
66
|
+
Registry selection does not redirect separate embedding-model or upstream
|
|
67
|
+
installation-script downloads to that mirror.
|
|
68
|
+
|
|
69
|
+
First-release local embedding runs on CPU. Set the supported
|
|
70
|
+
`ONNXRUNTIME_NODE_INSTALL_CUDA=skip` environment before acquisition to skip ONNX
|
|
71
|
+
Runtime's extra CUDA download while retaining normal dependency lifecycle
|
|
72
|
+
scripts. Preserve the upstream packages and other environment values. The
|
|
73
|
+
installed package cannot configure its acquiring parent npm/npx process; a bare
|
|
74
|
+
npm/npx acquisition does not apply this policy automatically. Keep the same
|
|
75
|
+
policy on later host-installation children that acquire dependencies. The
|
|
76
|
+
maintained DSH adapter passes it to the official CLI in Web and Desktop; older
|
|
77
|
+
installed adapters may need the caller to supply it. This does not establish
|
|
78
|
+
installation success or remove the separate embedding-model download/cache step.
|
|
79
|
+
The default product does not provision GPU runtimes; optional GPU support and
|
|
80
|
+
configurable or user-local model selection are future work.
|
|
81
|
+
|
|
82
|
+
In Windows PowerShell, scope the setting to acquisition and restore its previous
|
|
83
|
+
process value:
|
|
84
|
+
|
|
85
|
+
```powershell
|
|
86
|
+
$previousOrtCuda = [Environment]::GetEnvironmentVariable('ONNXRUNTIME_NODE_INSTALL_CUDA', 'Process')
|
|
87
|
+
try {
|
|
88
|
+
$env:ONNXRUNTIME_NODE_INSTALL_CUDA = 'skip'
|
|
89
|
+
npm install --ignore-scripts=false --save-exact @yugoo-design/companion@0.1.0-beta.11 --registry=https://registry.npmjs.org
|
|
90
|
+
} finally {
|
|
91
|
+
[Environment]::SetEnvironmentVariable('ONNXRUNTIME_NODE_INSTALL_CUDA', $previousOrtCuda, 'Process')
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Ask the Agent in your current host to install or update Yugoo Design as one
|
|
96
|
+
product. It should identify the host from its actual execution context or your
|
|
97
|
+
explicit choice, not from which CLIs happen to be installed. If identity is
|
|
98
|
+
unclear, ask only for the missing host choice. Follow this acquired version's
|
|
99
|
+
CLI parameters and host requirements; a newer source guide does not add commands
|
|
100
|
+
to an already published package. Users do not install DSH and Companion separately:
|
|
25
101
|
|
|
26
102
|
| Host | Native installation route |
|
|
27
103
|
| --- | --- |
|
|
28
|
-
| Codex | `install --host codex`:
|
|
104
|
+
| Codex | `install --host codex`: run the existing plan, runtime check and apply transaction, retaining each receipt. |
|
|
29
105
|
| Claude Code | `install --host claude-code`: native user-scope registration. |
|
|
30
106
|
| Qoder CLI | `install --host qoder`: native user-scope registration and independent readback. |
|
|
31
|
-
| QwenWork | `
|
|
32
|
-
| WorkBuddy | `
|
|
33
|
-
| DSH | `install --host dsh`:
|
|
107
|
+
| QwenWork | `install --host qwenwork`: prepare the expert suite and its MCP configuration; import and enable through the host. |
|
|
108
|
+
| WorkBuddy | `install --host workbuddy`: prepare the stable marketplace and plugin; import or update and enable through the host. |
|
|
109
|
+
| DSH | `install --host dsh`: run the existing plan/apply transaction with the bound aggregate, official CLI/Loader and an explicitly selected existing profile. |
|
|
110
|
+
|
|
111
|
+
For a fresh WorkBuddy installation, use native suite `0.3.24` with
|
|
112
|
+
`--suite-version 0.3.24`, the verified Node executable and a persistent external
|
|
113
|
+
preparation destination. Import the returned `nativeImport.market` directory and
|
|
114
|
+
enable its `yugoo-design` plugin. The fresh market is also named `yugoo-design`;
|
|
115
|
+
no previous test market or preparation receipt is required. An owned update with
|
|
116
|
+
`--previous-receipt` retains its original market name and directory, including
|
|
117
|
+
historical test markets, rather than migrating a registered installation.
|
|
118
|
+
|
|
119
|
+
Supply the required host inputs shown by `design-system --help`. Without a host,
|
|
120
|
+
the entry returns `host-selection-required`; missing inputs return
|
|
121
|
+
`inputs-required`, both with exit code 2 and no installation attempted. The
|
|
122
|
+
Agent should obtain supported native facts itself and ask only for missing
|
|
123
|
+
choices. Explicit saved-plan and `prepare-desktop` routes remain available.
|
|
124
|
+
|
|
125
|
+
The Agent completes executable steps and reports only the required human
|
|
126
|
+
authorization, import, enable, restart or new-session action. Report acquisition,
|
|
127
|
+
registration/import, activation and verified use separately; do not report an
|
|
128
|
+
untested phase as complete. DSH uses its native integration, not a second
|
|
129
|
+
Companion runtime inside the host.
|
|
34
130
|
|
|
35
131
|
Desktop preparation alone does not register or activate a plugin. Native suite
|
|
36
132
|
versions are separate from npm versions. Preserve unrelated registrations,
|
|
37
133
|
models, credentials and Design Projects; do not overwrite an owned previous
|
|
38
134
|
installation path or automatically repeat an uncertain operation.
|
|
135
|
+
Same-version retries and updates must follow the owning adapter's receipt rules;
|
|
136
|
+
this entry does not introduce a universal replacement or rollback mechanism.
|
|
39
137
|
|
|
40
138
|
Start the host normally, then invoke Yugoo Design in the intended conversation.
|
|
41
139
|
Confirm the actual loaded skill and tools, open a project, edit and save a Panel,
|
package/bin/design-system.mjs
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { fileURLToPath } from 'node:url'
|
|
3
3
|
import { installerMain } from './installer.mjs'
|
|
4
|
+
const args=process.argv.slice(2)
|
|
5
|
+
const dshInstall=args[0]==='install'&&args.some((arg,index)=>arg==='--host=dsh'||arg==='--host'&&args[index+1]==='dsh')
|
|
6
|
+
const cancellation=new AbortController()
|
|
7
|
+
const cancel=()=>cancellation.abort()
|
|
8
|
+
if(dshInstall) { process.on('SIGINT',cancel);process.on('SIGTERM',cancel) }
|
|
4
9
|
try {
|
|
5
|
-
const result=await installerMain(
|
|
10
|
+
const result=await installerMain(args,{npmRoot:fileURLToPath(new URL('../',import.meta.url)),signal:dshInstall?cancellation.signal:undefined})
|
|
6
11
|
console.log(JSON.stringify(result))
|
|
7
12
|
if(process.argv[2]==='check-runtime'&&!['load-verified','disabled','not-applicable'].includes(result.status))process.exitCode=1
|
|
8
13
|
if(result.status==='failed-partial-state-retained')process.exitCode=1
|
|
9
|
-
|
|
14
|
+
if(['runtime-not-ready','unsupported-host'].includes(result.status))process.exitCode=1
|
|
15
|
+
if(['host-selection-required','inputs-required'].includes(result.status))process.exitCode=2
|
|
16
|
+
} catch(error) {
|
|
17
|
+
console.error(error.installation ? JSON.stringify({error:error.message,installation:error.installation}) : error.message)
|
|
18
|
+
process.exitCode=1
|
|
19
|
+
} finally {
|
|
20
|
+
if(dshInstall) { process.off('SIGINT',cancel);process.off('SIGTERM',cancel) }
|
|
21
|
+
}
|
package/bin/installer.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isPathWithin } from './npm-installer-paths.mjs'
|
|
2
|
+
import { assertWindowsPrivate, ensureWindowsPrivateDirectory } from './windows-private-storage.mjs'
|
|
2
3
|
import assert from 'node:assert/strict'
|
|
3
4
|
import { createHash, randomUUID } from 'node:crypto'
|
|
4
5
|
import { cp, lstat, mkdir, readFile, readdir, realpath, rename, rm, rmdir, unlink, writeFile } from 'node:fs/promises'
|
|
@@ -10,10 +11,11 @@ import { parseArgs } from 'node:util'
|
|
|
10
11
|
import { codexAdapter, assertCodexAdmission, createCodexNativeAdapter } from './npm-installer-codex.mjs'
|
|
11
12
|
import { createClaudeNativeAdapter, planClaudeInstallation, applyClaudeInstallation, recoverClaudeInstallation } from './npm-installer-claude.mjs'
|
|
12
13
|
import { installQoderPlugin } from './npm-installer-qoder.mjs'
|
|
13
|
-
import { checkRuntime, inspectRuntime } from './npm-runtime-check.mjs'
|
|
14
|
+
import { checkRuntime, inspectRuntime, assertGitRuntimeReceipt } from './npm-runtime-check.mjs'
|
|
14
15
|
import { runDesktopDshInstaller } from './npm-installer-dsh-desktop.mjs'
|
|
15
|
-
import { desktopPreparationMain } from './npm-desktop-preparation.mjs'
|
|
16
|
-
import {
|
|
16
|
+
import { desktopPreparationMain, desktopPreparationReuseMain } from './npm-desktop-preparation.mjs'
|
|
17
|
+
import { agentInstallation, AGENT_INSTALL_HOSTS, DESKTOP_INSTALL_OPTIONS } from './npm-agent-installation.mjs'
|
|
18
|
+
import { createDshInstallerAdapter, planDshInstallation, applyDshInstallation, validateReleaseHosts } from './npm-installer-dsh.mjs'
|
|
17
19
|
|
|
18
20
|
export const INSTALL_HOSTS = ['dsh','codex','claude-code','qoder','codex-desktop','qwenwork']
|
|
19
21
|
const PLUGIN = 'yugoo-design'
|
|
@@ -240,6 +242,7 @@ function testContract(adapter,userRoot) {
|
|
|
240
242
|
|
|
241
243
|
function runtimeGate(plan,receipt,current,receiptSha256) {
|
|
242
244
|
assert.ok(receipt&&typeof receipt==='object'&&!Array.isArray(receipt),'An explicit runtime-check receipt is required')
|
|
245
|
+
assertGitRuntimeReceipt(receipt,current)
|
|
243
246
|
assert.ok(['installed-runtime-readonly','isolated-test-contract'].includes(receipt.scope),'Unknown runtime receipt scope')
|
|
244
247
|
assert.equal(receipt.npmRoot,plan.npmRoot,'Runtime receipt npmRoot mismatch')
|
|
245
248
|
assert.equal(receipt.identitySha256,current.identitySha256,'Runtime receipt identity drift')
|
|
@@ -620,32 +623,15 @@ async function recoverOwnedInstallation(receipt,{adapter,ownRecovery,uninstall=f
|
|
|
620
623
|
}
|
|
621
624
|
|
|
622
625
|
const DSH_FLAGS = ['dsh-config','profile','aggregate-selector','registry']
|
|
623
|
-
|
|
624
|
-
// explicit selector/registry route; preparation values never imply a release.
|
|
625
|
-
export function validateReleaseHosts(config) {
|
|
626
|
-
assert.ok(config && typeof config==='object' && !Array.isArray(config),'Release hosts object required')
|
|
627
|
-
assert.deepEqual(Object.keys(config).sort(),['hosts','schemaVersion'],'Unknown release hosts fields')
|
|
628
|
-
assert.equal(config.schemaVersion,1,'Unsupported release hosts schema')
|
|
629
|
-
assert.ok(config.hosts && typeof config.hosts==='object' && !Array.isArray(config.hosts),'Release hosts map required')
|
|
630
|
-
assert.deepEqual(Object.keys(config.hosts),['dsh'],'Release mapping currently supports DSH only')
|
|
631
|
-
const dsh=config.hosts.dsh
|
|
632
|
-
assert.ok(dsh && typeof dsh==='object' && !Array.isArray(dsh),'DSH release mapping required')
|
|
633
|
-
assert.deepEqual(Object.keys(dsh).sort(),['aggregatePackage','aggregateVersion','registry'],'Unknown DSH release fields')
|
|
634
|
-
assert.match(dsh.aggregatePackage ?? '',/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/u,'Exact aggregate package name required')
|
|
635
|
-
if(dsh.aggregateVersion===null && dsh.registry===null)return null
|
|
636
|
-
assert.match(dsh.aggregateVersion ?? '',/^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/u,'Exact aggregate version required')
|
|
637
|
-
assert.equal(typeof dsh.registry,'string','Bound HTTPS registry required')
|
|
638
|
-
const url=new URL(dsh.registry)
|
|
639
|
-
assert.ok(url.protocol==='https:' && !url.username && !url.password && !url.search && !url.hash,'Credential-free HTTPS registry required')
|
|
640
|
-
return {aggregateSelector:`${dsh.aggregatePackage}@${dsh.aggregateVersion}`,registry:url.href}
|
|
641
|
-
}
|
|
626
|
+
export { validateReleaseHosts }
|
|
642
627
|
async function dshReleaseSelection(values,npmRoot) {
|
|
643
628
|
const bytes=await optional(join(npmRoot,'release-hosts.json'))
|
|
644
629
|
const mapped=bytes===null?null:validateReleaseHosts(JSON.parse(bytes))
|
|
645
630
|
if(mapped) {
|
|
646
631
|
if(Object.hasOwn(values,'aggregate-selector'))assert.equal(values['aggregate-selector'],mapped.aggregateSelector,'Aggregate override differs from product release')
|
|
647
|
-
|
|
648
|
-
|
|
632
|
+
// The release binds the package/version and default origin, not the user's
|
|
633
|
+
// explicit download mirror. The owning planner validates and pins transport.
|
|
634
|
+
return {...mapped,registry:values.registry ?? mapped.registry}
|
|
649
635
|
}
|
|
650
636
|
for(const key of ['aggregate-selector','registry'])assert.ok(typeof values[key]==='string' && values[key],`DSH release mapping is unbound or missing; explicit --${key} required for compatibility installation`)
|
|
651
637
|
return {aggregateSelector:values['aggregate-selector'],registry:values.registry}
|
|
@@ -664,7 +650,7 @@ async function dshConfiguration(path) {
|
|
|
664
650
|
}
|
|
665
651
|
return config
|
|
666
652
|
}
|
|
667
|
-
async function dshOutputDirectory(path,{npmRoot,config,configPath,planPath}) {
|
|
653
|
+
async function dshOutputDirectory(path,{npmRoot,config,configPath,planPath,previousProductRoot}) {
|
|
668
654
|
assert.ok(typeof path==='string'&&isAbsolute(path),'Explicit absolute external receipt directory required')
|
|
669
655
|
const output=resolve(path)
|
|
670
656
|
await safePath(output)
|
|
@@ -675,23 +661,30 @@ async function dshOutputDirectory(path,{npmRoot,config,configPath,planPath}) {
|
|
|
675
661
|
try { assert.equal(await realpath(ancestor),ancestor,'Output ancestor realpath mismatch'); break }
|
|
676
662
|
catch(error){if(error.code!=='ENOENT')throw error;ancestor=dirname(ancestor)}
|
|
677
663
|
}
|
|
678
|
-
const roots=[resolve(npmRoot),resolve(config.dshHome)]
|
|
664
|
+
const roots=[resolve(npmRoot),resolve(config.dshHome),...previousProductRoot ? [resolve(previousProductRoot)] : []]
|
|
679
665
|
for(const key of ['node','cli','hostManifest','loader','loaderManifest', ...config.desktopHostManifest ? ['desktopHostManifest'] : []]) {
|
|
680
666
|
roots.push(dirname(resolve(config[key].path)),dirname(await realpath(config[key].path)))
|
|
681
667
|
}
|
|
682
668
|
for(const root of roots)assert.ok(outside(root,output)&&outside(output,root),'DSH output overlaps a package, host or user configuration root')
|
|
683
669
|
for(const file of [configPath,planPath].filter(Boolean))
|
|
684
670
|
assert.ok(outside(output,resolve(file))&&outside(resolve(file),output),'DSH output overlaps config or saved plan')
|
|
671
|
+
if(process.platform==='win32') {
|
|
672
|
+
try { await lstat(output) } catch(error) { if(error.code==='ENOENT')return output; throw error }
|
|
673
|
+
await assertWindowsPrivate(output,{directory:true})
|
|
674
|
+
}
|
|
685
675
|
return output
|
|
686
676
|
}
|
|
687
677
|
async function writeDshOutput(directory,name,value) {
|
|
688
|
-
await safePath(directory)
|
|
678
|
+
await safePath(directory)
|
|
679
|
+
if(process.platform==='win32')await ensureWindowsPrivateDirectory(directory)
|
|
680
|
+
else await mkdir(directory,{recursive:true})
|
|
681
|
+
await safePath(directory)
|
|
689
682
|
const path=join(directory,name)
|
|
690
683
|
// Exclusive create, never overwrite even an unrelated file at a digest name.
|
|
691
684
|
await safePath(path);await writeFile(path,encode(value),{flag:'wx',mode:0o600})
|
|
692
685
|
return path
|
|
693
686
|
}
|
|
694
|
-
async function dshInstallerEntry(values,{npmRoot,dshAdapterFactory,args}) {
|
|
687
|
+
async function dshInstallerEntry(values,{npmRoot,dshAdapterFactory,args,signal,dshInstallTimeoutMs}) {
|
|
695
688
|
assert.ok(values['dry-run']===true&&values.apply!==true||values.apply===true&&values['dry-run']!==true,'Choose exactly dry-run or apply')
|
|
696
689
|
for(const key of ['codex-executable','user-root','runtime-receipt','disable-embedding','receipt'])
|
|
697
690
|
assert.ok(!Object.hasOwn(values,key),`DSH install does not accept --${key}`)
|
|
@@ -700,7 +693,7 @@ async function dshInstallerEntry(values,{npmRoot,dshAdapterFactory,args}) {
|
|
|
700
693
|
const selection=await dshReleaseSelection(values,npmRoot)
|
|
701
694
|
const configPath=values['dsh-config'],config=await dshConfiguration(configPath)
|
|
702
695
|
if (config.desktopHostManifest && !process.versions.electron)
|
|
703
|
-
return runDesktopDshInstaller({ node:config.node, args, npmRoot })
|
|
696
|
+
return runDesktopDshInstaller({ node:config.node, args, npmRoot, signal, timeoutMs:dshInstallTimeoutMs })
|
|
704
697
|
const output=await dshOutputDirectory(values['receipt-dir'],{npmRoot,config,configPath})
|
|
705
698
|
const adapter=await dshAdapterFactory({...config,scope:'official-pinned'})
|
|
706
699
|
let aggregateDirectory
|
|
@@ -708,9 +701,12 @@ async function dshInstallerEntry(values,{npmRoot,dshAdapterFactory,args}) {
|
|
|
708
701
|
const name=selection.aggregateSelector.slice(0,selection.aggregateSelector.lastIndexOf('@'))
|
|
709
702
|
aggregateDirectory=dirname(await realpath(createRequire(join(npmRoot,'package.json')).resolve(name+'/package.json')))
|
|
710
703
|
} catch(error) { if(error.code!=='MODULE_NOT_FOUND')throw error }
|
|
711
|
-
const options={adapter,profile:values.profile,...selection
|
|
704
|
+
const options={adapter,profile:values.profile,...selection,productRoot:await realpath(resolve(npmRoot)),
|
|
705
|
+
...values['previous-receipt'] ? {previousReceipt:values['previous-receipt']} : {},
|
|
706
|
+
...aggregateDirectory ? {aggregateDirectory} : {}}
|
|
712
707
|
if(values['dry-run']) {
|
|
713
708
|
const plan=await planDshInstallation(options)
|
|
709
|
+
if(plan.previous)await dshOutputDirectory(output,{npmRoot,config,configPath,previousProductRoot:plan.previous.product.npmRoot})
|
|
714
710
|
const planFile=await writeDshOutput(output,plan.planSha256+'.dsh-plan.json',plan)
|
|
715
711
|
return {...plan,planFile}
|
|
716
712
|
}
|
|
@@ -721,14 +717,27 @@ async function dshInstallerEntry(values,{npmRoot,dshAdapterFactory,args}) {
|
|
|
721
717
|
assert.equal(plan.profile,options.profile,'Saved DSH profile mismatch')
|
|
722
718
|
assert.equal(plan.aggregateSelector,options.aggregateSelector,'Saved aggregate selector mismatch')
|
|
723
719
|
assert.equal(plan.registry,new URL(options.registry).href,'Saved registry mismatch')
|
|
720
|
+
assert.equal(plan.previousReceipt,options.previousReceipt,'Saved previous ownership reference mismatch')
|
|
724
721
|
assert.equal(plan.protocol.scope,adapter.scope,'Saved adapter scope mismatch')
|
|
725
722
|
const fresh=await planDshInstallation(options)
|
|
723
|
+
if(fresh.previous)await dshOutputDirectory(output,{npmRoot,config,configPath,previousProductRoot:fresh.previous.product.npmRoot})
|
|
726
724
|
assert.deepEqual(plan.protocol,fresh.protocol,'Saved official pins/home/version mismatch')
|
|
727
725
|
assert.equal(plan.planSha256,fresh.planSha256,'Saved DSH plan or profile drifted')
|
|
728
|
-
const
|
|
729
|
-
const
|
|
730
|
-
|
|
731
|
-
|
|
726
|
+
const id=randomUUID(),receiptPath=join(output,id+'.dsh-result.json')
|
|
727
|
+
const preparedRecordFile=await writeDshOutput(output,id+'.dsh-prepared.json',{
|
|
728
|
+
schemaVersion:2,kind:'dsh-installation-prepared',id,planSha256:plan.planSha256,planSnapshot:plan,
|
|
729
|
+
receiptPath,ownershipEstablished:false,phase:'prepared',retrySafe:false})
|
|
730
|
+
try {
|
|
731
|
+
const result=await applyDshInstallation(plan,{adapter,signal,timeoutMs:dshInstallTimeoutMs,logDirectory:output})
|
|
732
|
+
const body={...result,id,receiptPath,preparedRecordFile}
|
|
733
|
+
const receipt={...body,receiptSha256:digest(body)}
|
|
734
|
+
const receiptFile=await writeDshOutput(output,id+'.dsh-result.json',receipt)
|
|
735
|
+
return {...receipt,receiptFile}
|
|
736
|
+
} catch(error) {
|
|
737
|
+
// The native command may already have changed the profile. Keep the exact
|
|
738
|
+
// prepared record discoverable without fabricating a successful terminal receipt.
|
|
739
|
+
throw Object.assign(error,{receiptPath:preparedRecordFile,preparedRecordFile,planFile:values.plan})
|
|
740
|
+
}
|
|
732
741
|
}
|
|
733
742
|
|
|
734
743
|
/** Reuse native session plugin loading. No registration, copying, or host launch. */
|
|
@@ -786,18 +795,19 @@ export async function nativePluginDirectory({npmRoot,host}) {
|
|
|
786
795
|
}
|
|
787
796
|
}
|
|
788
797
|
|
|
789
|
-
export async function installerMain(args,{npmRoot,userRoot=homedir(),adapter=codexAdapter,dshAdapterFactory=createDshInstallerAdapter,claudeAdapterFactory=createClaudeNativeAdapter,qoderInstaller=installQoderPlugin}={}) {
|
|
798
|
+
export async function installerMain(args,{npmRoot,userRoot=homedir(),adapter=codexAdapter,dshAdapterFactory=createDshInstallerAdapter,claudeAdapterFactory=createClaudeNativeAdapter,qoderInstaller=installQoderPlugin,agentDispatch=true,signal,dshInstallTimeoutMs}={}) {
|
|
790
799
|
if(args[0]==='prepare-desktop')return desktopPreparationMain(args.slice(1),{npmRoot})
|
|
791
800
|
const {values,positionals}=parseArgs({args,allowPositionals:true,options:{host:{type:'string'},'dry-run':{type:'boolean'},
|
|
792
801
|
help:{type:'boolean',short:'h'},apply:{type:'boolean'},plan:{type:'string'},'receipt-dir':{type:'string'},receipt:{type:'string'},'runtime-receipt':{type:'string'},'codex-executable':{type:'string'},'claude-executable':{type:'string'},'user-root':{type:'string'},'disable-embedding':{type:'boolean'},
|
|
793
802
|
'qoder-executable':{type:'string'},'qoder-config-dir':{type:'string'},
|
|
794
|
-
'dsh-config':{type:'string'},profile:{type:'string'},'aggregate-selector':{type:'string'},registry:{type:'string'}
|
|
803
|
+
'dsh-config':{type:'string'},profile:{type:'string'},'aggregate-selector':{type:'string'},registry:{type:'string'},
|
|
804
|
+
...Object.fromEntries(DESKTOP_INSTALL_OPTIONS.map(key=>[key,{type:key==='separate-mcp'?'boolean':'string'}]))}})
|
|
795
805
|
if(values.help)return {
|
|
796
806
|
schemaVersion:1,kind:'installer-help',status:'not-applicable',
|
|
797
807
|
usage:'design-system <command> [options]',
|
|
798
808
|
commands:{
|
|
799
809
|
'prepare-desktop':'Prepare a small QwenWork suite or stable WorkBuddy market from this exact acquired npm package. Uses --target, --package-name/--package-version, --suite-version, --node-executable and an external --destination; does not register a host. Updates use the previous preparation receipt.',
|
|
800
|
-
install:'
|
|
810
|
+
install:'The current Agent selects --host from trusted context or one user choice. Direct install orchestrates the existing DSH/Codex saved-plan routes, native Claude/Qoder registration, or QwenWork/WorkBuddy import preparation. Missing inputs and pending activation are explicit. Existing --dry-run / --apply remain available.',
|
|
801
811
|
'plugin-directory':'Inspect the optional Claude/Qoder session-only --plugin-dir entry; this is not persistent installation.',
|
|
802
812
|
'check-runtime':'Check runtime prerequisites and write an external runtime receipt; does not install.',
|
|
803
813
|
recover:'Recover an owned Codex or Claude installation transaction using --receipt.',
|
|
@@ -805,7 +815,7 @@ export async function installerMain(args,{npmRoot,userRoot=homedir(),adapter=cod
|
|
|
805
815
|
},
|
|
806
816
|
options:{
|
|
807
817
|
'--help, -h':'Show this JSON usage without reading configuration or registering a host.',
|
|
808
|
-
'--host <host>':`
|
|
818
|
+
'--host <host>':`Current host: ${AGENT_INSTALL_HOSTS.join(', ')}. Omission requests one choice; installed binaries are not active-host identity. Explicit legacy codex-desktop remains plan-only.`,
|
|
809
819
|
'--dry-run':'Prepare an install plan; requires --receipt-dir and writes that plan.',
|
|
810
820
|
'--apply':'Apply a saved plan. Codex and Claude require --runtime-receipt; DSH requires explicit pins and external --receipt-dir.',
|
|
811
821
|
'--plan <file>':'Saved installation plan used by --apply.',
|
|
@@ -821,13 +831,29 @@ export async function installerMain(args,{npmRoot,userRoot=homedir(),adapter=cod
|
|
|
821
831
|
'--dsh-config <file>':'DSH install only: absolute JSON with dshHome, official node/CLI/Loader file pins and host/Loader versions; desktopHostManifest selects the official Electron Desktop CLI. No scope or runner override.',
|
|
822
832
|
'--profile <name>':'DSH install only: explicitly selected existing profile; never initialized implicitly.',
|
|
823
833
|
'--aggregate-selector <name@version>':'DSH install only: optional exact aggregate override matching the product release mapping; required for old or unbound candidates.',
|
|
824
|
-
'--registry <https-url>':'DSH install only:
|
|
834
|
+
'--registry <https-url>':'DSH install only: explicit credential-free HTTPS download registry or mirror; defaults to the product mapping. Preserves the exact mapped aggregate and binds the saved plan/receipt; no automatic fallback. Required for old or unbound candidates.',
|
|
835
|
+
'--destination <directory>':'QwenWork/WorkBuddy direct install: exclusive external preparation directory, or the same owned directory with --previous-receipt.',
|
|
836
|
+
'--suite-version <version>':'QwenWork/WorkBuddy: exact native suite version, separate from the acquired npm version.',
|
|
837
|
+
'--node-executable <path>':'QwenWork/WorkBuddy: absolute Windows Node path used by the imported suite.',
|
|
838
|
+
'--qwenwork-runtime <file>':'QwenWork: verified native executable/worker/Node paths and byte pins. Agent obtains these through supported native inspection; no credentials.',
|
|
839
|
+
'--separate-mcp':'QwenWork: emit one external connector instead of bundling it when organization policy requires this.',
|
|
840
|
+
'--previous-receipt <file>':'DSH: successful source-bound installation receipt for an owned update or repeat; sparse/manual receipts cannot be adopted. Desktop: reuse an owned preparation or prepare a newer native suite/npm version.',
|
|
841
|
+
'--npm-root-windows, --destination-windows':'Desktop: explicit Windows path mappings required when preparing from another platform; native Windows paths must match actual roots.',
|
|
825
842
|
},
|
|
826
|
-
limitations:['plugin-directory is an optional session-only diagnostic, not installation.
|
|
843
|
+
limitations:['plugin-directory is an optional session-only diagnostic, not installation. Codex requires an admitted adapter; DSH requires pinned public CLI inputs. Desktop preparation needs native import and activation. Exit 2 means host selection or inputs are required; exit 0 does not establish a usable native session.',
|
|
827
844
|
'DSH failures retain partial state without rollback. Configuration parsing is not actual host runtime or release acceptance.',
|
|
828
845
|
'Uninstall requires a successful owned receipt. Package installation is not Bundle/Panel/GRA/KAG acceptance.'],
|
|
829
846
|
}
|
|
830
847
|
assert.equal(positionals.length,1,'Exactly one installer command required')
|
|
848
|
+
if(agentDispatch&&positionals[0]==='install'&&!values['dry-run']&&!values.apply) {
|
|
849
|
+
const context={npmRoot,userRoot,adapter,dshAdapterFactory,claudeAdapterFactory,qoderInstaller,agentDispatch:false,signal,dshInstallTimeoutMs}
|
|
850
|
+
return agentInstallation(values,{npmRoot,admittedCodexAdapter:adapter!==codexAdapter,
|
|
851
|
+
invoke:nextArgs=>installerMain(nextArgs,context),
|
|
852
|
+
desktopPrepare:nextArgs=>desktopPreparationMain(nextArgs,{npmRoot}),
|
|
853
|
+
desktopReuse:nextArgs=>desktopPreparationReuseMain(nextArgs,{npmRoot})})
|
|
854
|
+
}
|
|
855
|
+
for(const key of DESKTOP_INSTALL_OPTIONS)if(!(key==='previous-receipt'&&values.host==='dsh'&&positionals[0]==='install'))
|
|
856
|
+
assert.ok(!Object.hasOwn(values,key),`--${key} is only valid for direct desktop install`)
|
|
831
857
|
if(positionals[0]==='plugin-directory'&&['claude-code','qoder'].includes(values.host)) {
|
|
832
858
|
assert.deepEqual(Object.keys(values),['host'],'Native directory entry accepts only --host; transaction/runtime options must not be silently ignored')
|
|
833
859
|
return nativePluginDirectory({npmRoot,host:values.host})
|
|
@@ -858,7 +884,7 @@ export async function installerMain(args,{npmRoot,userRoot=homedir(),adapter=cod
|
|
|
858
884
|
if(values.apply)assert.ok(values.plan&&values['runtime-receipt']&&!values['receipt-dir']&&!values['disable-embedding'],'Claude apply requires saved plan and runtime receipt only')
|
|
859
885
|
else assert.ok(values['receipt-dir']&&!values.plan&&!values['runtime-receipt'],'Claude dry-run requires external receipt directory only')
|
|
860
886
|
} else assert.ok(values.receipt&&!values.apply&&!values['dry-run']&&!values.plan&&!values['receipt-dir']&&!values['runtime-receipt']&&!values['disable-embedding'],'Claude recovery/uninstall requires only persisted receipt')
|
|
861
|
-
const native=await claudeAdapterFactory({executable:values['claude-executable'],userRoot:profile,scope:values['dry-run']?'plan-only':'production'})
|
|
887
|
+
const native=await claudeAdapterFactory({executable:values['claude-executable'],userRoot:profile,nativeCwd:resolve(npmRoot),scope:values['dry-run']?'plan-only':'production'})
|
|
862
888
|
if(command==='recover'||command==='uninstall') {
|
|
863
889
|
const receipt=JSON.parse(await optional(resolve(values.receipt)))
|
|
864
890
|
assert.equal(receipt.npmRoot,resolve(npmRoot),'Claude receipt npm root mismatch');assert.equal(receipt.userRoot,profile,'Claude receipt profile mismatch')
|
|
@@ -880,7 +906,7 @@ export async function installerMain(args,{npmRoot,userRoot=homedir(),adapter=cod
|
|
|
880
906
|
}
|
|
881
907
|
return {...plan,planFile:path}
|
|
882
908
|
}
|
|
883
|
-
if(values.host==='dsh'&&positionals[0]==='install')return dshInstallerEntry(values,{npmRoot,dshAdapterFactory,args})
|
|
909
|
+
if(values.host==='dsh'&&positionals[0]==='install')return dshInstallerEntry(values,{npmRoot,dshAdapterFactory,args,signal,dshInstallTimeoutMs})
|
|
884
910
|
if(adapter===codexAdapter&&values['codex-executable']&&positionals[0]!=='check-runtime') {
|
|
885
911
|
assert.equal(values.host,'codex','Native executable is only valid for the Codex host')
|
|
886
912
|
const profile=resolve(values['user-root']??userRoot)
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/** Agent-facing orchestration of the existing native installers, not a registration authority. */
|
|
2
|
+
import assert from 'node:assert/strict'
|
|
3
|
+
import { randomUUID } from 'node:crypto'
|
|
4
|
+
import { lstat, readFile } from 'node:fs/promises'
|
|
5
|
+
import { join } from 'node:path'
|
|
6
|
+
|
|
7
|
+
export const AGENT_INSTALL_HOSTS = ['dsh', 'codex', 'claude-code', 'qoder', 'qwenwork', 'workbuddy']
|
|
8
|
+
export const DESKTOP_INSTALL_OPTIONS = ['destination', 'node-executable', 'suite-version', 'npm-root-windows',
|
|
9
|
+
'destination-windows', 'qwenwork-runtime', 'separate-mcp', 'previous-receipt']
|
|
10
|
+
const nativeOptions = {
|
|
11
|
+
dsh: ['host', 'receipt-dir', 'dsh-config', 'profile', 'aggregate-selector', 'registry', 'previous-receipt'],
|
|
12
|
+
codex: ['host', 'receipt-dir', 'codex-executable', 'user-root', 'disable-embedding'],
|
|
13
|
+
'claude-code': ['host', 'receipt-dir', 'claude-executable', 'user-root', 'disable-embedding'],
|
|
14
|
+
qoder: ['host', 'receipt-dir', 'qoder-executable', 'qoder-config-dir'],
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function argv(command, values, keys) {
|
|
18
|
+
const args = [command]
|
|
19
|
+
for (const key of keys) if (Object.hasOwn(values, key)) {
|
|
20
|
+
args.push('--' + key)
|
|
21
|
+
if (typeof values[key] !== 'boolean') args.push(values[key])
|
|
22
|
+
else assert.equal(values[key], true, 'False CLI flags are not supported')
|
|
23
|
+
}
|
|
24
|
+
return args
|
|
25
|
+
}
|
|
26
|
+
function pending(host, status, missing, message) {
|
|
27
|
+
return { schemaVersion: 1, kind: 'agent-installation', status, host: host ?? null,
|
|
28
|
+
hostRegistered: false, usable: false, missing,
|
|
29
|
+
installation: { host: host ?? null, acquisition: 'unverified', registration: 'not-performed',
|
|
30
|
+
activation: 'not-performed', usability: 'unverified', nextActions: [{ action: 'supply-inputs', automatic: false, message }] } }
|
|
31
|
+
}
|
|
32
|
+
function activationActions(host, result) {
|
|
33
|
+
const verify = { action: 'verify-native-session', automatic: true,
|
|
34
|
+
message: 'In the intended native conversation, verify the actually loaded Yugoo Design version and tools; then open a project and verify Panel save/reopen and original-conversation receipt. Registration alone is not usability.' }
|
|
35
|
+
if (host === 'qwenwork') return [
|
|
36
|
+
{ action: 'import-expert-suite', automatic: false, path: result.nativeImport?.archive,
|
|
37
|
+
message: 'Import this exact expert-suite ZIP through QwenWork. If bundled MCP is disabled by organization policy, use the emitted connector configuration and retain exactly one Yugoo Design connector.' },
|
|
38
|
+
{ action: 'activate-native-suite', automatic: false,
|
|
39
|
+
message: 'Enable the imported suite; start a new native conversation if QwenWork requires it. Retain the acquired npm runtime and confirm the actually loaded suite version.' }, verify]
|
|
40
|
+
if (host === 'workbuddy') return [
|
|
41
|
+
{ action: 'import-or-update-market', automatic: false, path: result.nativeImport?.market,
|
|
42
|
+
message: 'Import this stable marketplace through WorkBuddy, or refresh the same market and update its existing Yugoo Design plugin. Preparation has not registered or activated it.' },
|
|
43
|
+
{ action: 'activate-native-plugin', automatic: false,
|
|
44
|
+
message: 'Enable the plugin and start a new native conversation if WorkBuddy requires it; confirm the actually loaded suite version.' }, verify]
|
|
45
|
+
return [{ action: 'activate-native-session', automatic: false,
|
|
46
|
+
message: host === 'dsh'
|
|
47
|
+
? 'Use the selected existing DSH profile and the host-supported plugin activation/restart flow; verify runtime loading in a new native session.'
|
|
48
|
+
: host === 'codex'
|
|
49
|
+
? 'Start a new Codex conversation normally in the intended workspace and invoke the installed yugoo Skill through the native Skill entry. Retain the registered npm runtime.'
|
|
50
|
+
: 'Start a new native host conversation normally in the intended workspace and invoke /yugoo-design:yugoo. Retain the registered npm runtime; no --plugin-dir is needed.' }, verify]
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** Project only verified facts from the owning native/preparation receipt. */
|
|
54
|
+
export function installationResult(host, result, packageIdentity) {
|
|
55
|
+
const failed = result.status === 'failed-partial-state-retained'
|
|
56
|
+
const desktop = host === 'qwenwork' || host === 'workbuddy'
|
|
57
|
+
const registered = !desktop && !failed && (result.hostRegistered === true
|
|
58
|
+
|| host === 'dsh' && result.status === 'registered-config-parsed' && result.readback?.bundleRegistered === true)
|
|
59
|
+
const identity = result.package ?? packageIdentity
|
|
60
|
+
return { ...result, host, usable: false,
|
|
61
|
+
installation: { host, package: identity ?? null,
|
|
62
|
+
acquisition: identity?.name && identity?.version && (host !== 'dsh' || result.readback?.packageInstalled === true) ? 'available' : 'unverified',
|
|
63
|
+
// This entry consumes an acquired installation; it never verifies a registry download.
|
|
64
|
+
registryAcquisitionVerified: false,
|
|
65
|
+
registration: failed ? 'failed-partial-state-retained' : registered ? 'verified' : 'not-performed',
|
|
66
|
+
activation: failed ? 'not-performed' : 'required', usability: 'unverified',
|
|
67
|
+
nextActions: failed ? [{ action: 'inspect-retained-state', automatic: false, path: result.receiptFile,
|
|
68
|
+
message: 'Inspect the owning receipt and retained DSH state before another operation. No automatic rollback or retry was attempted.' }]
|
|
69
|
+
: activationActions(host, result) } }
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export async function agentInstallation(values, { npmRoot, invoke, desktopPrepare, desktopReuse,
|
|
73
|
+
admittedCodexAdapter = false, platform = process.platform } = {}) {
|
|
74
|
+
const host = values.host
|
|
75
|
+
// Installed executables, PATH, host profiles and process names cannot identify this conversation.
|
|
76
|
+
if (!host) return { ...pending(null, 'host-selection-required', ['host'],
|
|
77
|
+
'Select the host of this conversation. If trusted native context identifies it, the current Agent should supply --host; otherwise ask one host-selection question.'), hosts: AGENT_INSTALL_HOSTS }
|
|
78
|
+
if (host === 'codex-desktop') return pending(host, 'unsupported-host', [],
|
|
79
|
+
'Codex Desktop native registration is not implemented by this entry. Select the actual supported host; do not substitute a CLI or infer usability from a prepared plan.')
|
|
80
|
+
assert.ok(AGENT_INSTALL_HOSTS.includes(host), 'Explicit supported host required')
|
|
81
|
+
const desktop = host === 'qwenwork' || host === 'workbuddy'
|
|
82
|
+
const allowed = desktop ? ['host', ...DESKTOP_INSTALL_OPTIONS] : nativeOptions[host]
|
|
83
|
+
for (const key of Object.keys(values)) assert.ok(allowed.includes(key), `${host} install accepts only ${allowed.map(k => '--' + k).join(', ')}; unsupported option --${key}`)
|
|
84
|
+
const required = desktop ? ['destination', 'node-executable', 'suite-version'] : ['receipt-dir']
|
|
85
|
+
if (host === 'dsh') required.push('dsh-config', 'profile')
|
|
86
|
+
if (host === 'codex' && !admittedCodexAdapter) required.push('codex-executable')
|
|
87
|
+
if (host === 'claude-code') required.push('claude-executable')
|
|
88
|
+
if (host === 'qwenwork') required.push('qwenwork-runtime')
|
|
89
|
+
if (host === 'workbuddy') for (const key of ['qwenwork-runtime', 'separate-mcp'])
|
|
90
|
+
assert.ok(!Object.hasOwn(values, key), `WorkBuddy install does not accept --${key}`)
|
|
91
|
+
if (desktop && platform !== 'win32') required.push('npm-root-windows', 'destination-windows')
|
|
92
|
+
const missing = required.filter(key => typeof values[key] !== 'string' || !values[key])
|
|
93
|
+
if (missing.length) return pending(host, 'inputs-required', missing,
|
|
94
|
+
`The current Agent should obtain verified values for ${missing.map(key => '--' + key).join(', ')}. Ask only for information or host actions it cannot obtain through supported native inspection. No installation was attempted.`)
|
|
95
|
+
|
|
96
|
+
let plan
|
|
97
|
+
try {
|
|
98
|
+
if (desktop) {
|
|
99
|
+
const path = join(npmRoot, 'package.json'), info = await lstat(path)
|
|
100
|
+
assert.ok(info.isFile() && info.size <= 1024 * 1024, 'Expected bounded regular acquired package manifest')
|
|
101
|
+
const manifest = JSON.parse(await readFile(path, 'utf8'))
|
|
102
|
+
const args = argv('prepare-desktop', values, DESKTOP_INSTALL_OPTIONS).slice(1)
|
|
103
|
+
args.push('--target', host, '--package-name', manifest.name, '--package-version', manifest.version)
|
|
104
|
+
const reused = values['previous-receipt'] && await desktopReuse(args)
|
|
105
|
+
return installationResult(host, reused || await desktopPrepare(args))
|
|
106
|
+
}
|
|
107
|
+
if (host === 'claude-code' || host === 'qoder')
|
|
108
|
+
return installationResult(host, await invoke(argv('install', values, allowed)))
|
|
109
|
+
// DSH's exclusive plan files are never overwritten. Each direct operation gets
|
|
110
|
+
// its own receipt subdirectory; Codex keeps the stable directory needed by upgrades.
|
|
111
|
+
const nativeValues = host === 'dsh' ? { ...values, 'receipt-dir': join(values['receipt-dir'], randomUUID()) } : values
|
|
112
|
+
const dryArgs = argv('install', nativeValues, allowed)
|
|
113
|
+
dryArgs.push('--dry-run')
|
|
114
|
+
plan = await invoke(dryArgs)
|
|
115
|
+
assert.ok(plan.planFile, 'The owning installer did not retain an installation plan')
|
|
116
|
+
if (host === 'codex') {
|
|
117
|
+
assert.equal(plan.applySupported, true, 'Codex native installation is not admitted by the owning adapter')
|
|
118
|
+
const runtime = await invoke(argv('check-runtime', values, ['host', 'receipt-dir', 'disable-embedding']))
|
|
119
|
+
if (!['load-verified', 'disabled'].includes(runtime.status)) return {
|
|
120
|
+
...pending(host, 'runtime-not-ready', [], 'Inspect the runtime receipt. No native apply was attempted; repair the reported prerequisites before re-running install.'),
|
|
121
|
+
runtimeReceipt: runtime, planFile: plan.planFile }
|
|
122
|
+
assert.ok(runtime.receiptFile, 'The owning runtime checker did not retain its receipt')
|
|
123
|
+
const applyArgs = argv('install', values, allowed.filter(key => !['receipt-dir', 'disable-embedding'].includes(key)))
|
|
124
|
+
applyArgs.push('--apply', '--plan', plan.planFile, '--runtime-receipt', runtime.receiptFile)
|
|
125
|
+
return installationResult(host, await invoke(applyArgs), plan.package)
|
|
126
|
+
}
|
|
127
|
+
const applyArgs = argv('install', nativeValues, allowed)
|
|
128
|
+
applyArgs.push('--apply', '--plan', plan.planFile)
|
|
129
|
+
return installationResult(host, await invoke(applyArgs), plan.package)
|
|
130
|
+
} catch (error) {
|
|
131
|
+
const receipt = error.receiptFile ?? error.receiptPath ?? null
|
|
132
|
+
error.installation = { host, acquisition: 'unverified', registration: 'failed-or-unconfirmed',
|
|
133
|
+
activation: 'not-performed', usability: 'unverified', receiptFile: receipt,
|
|
134
|
+
planFile: plan?.planFile ?? null,
|
|
135
|
+
nextActions: [{ action: receipt ? 'inspect-owned-receipt' : 'inspect-failure', automatic: false,
|
|
136
|
+
message: host === 'codex' || host === 'claude-code'
|
|
137
|
+
? 'Inspect the failure and matching owned receipt; use the existing recover --host route only when that receipt requires recovery. Do not delete profiles, projects or unrelated plugins.'
|
|
138
|
+
: 'Inspect retained state before retrying. This host has no general automatic rollback in this entry; use its supported update/recovery flow.' }] }
|
|
139
|
+
throw error
|
|
140
|
+
}
|
|
141
|
+
}
|