@deepseek-harness-tui/dsh-tui 0.7.3 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -7
- package/bin/dsh-tui.js +19 -3
- package/cordis.patch.yml +43 -11
- package/cordis.yml +20 -1
- package/ecosystem-spec/registry/contracts/decision-events-v1alpha1.json +13 -0
- package/ecosystem-spec/registry/host-descriptor.tui.example.json +56 -0
- package/ecosystem-spec/registry/permissions-0.1.json +13 -0
- package/ecosystem-spec/registry/registry-0.15.json +57 -0
- package/ecosystem-spec/schemas/conformance-claim.schema.json +15 -0
- package/ecosystem-spec/schemas/effect-ledger-record.schema.json +16 -0
- package/ecosystem-spec/schemas/host-descriptor.schema.json +26 -0
- package/lib/types/cc/figures.d.ts +4 -0
- package/lib/types/cc/figures.d.ts.map +1 -1
- package/lib/types/cc/figures.js +4 -0
- package/lib/types/commands.d.ts.map +1 -1
- package/lib/types/commands.js +4 -1
- package/lib/types/components/ExtensionDialog.d.ts +40 -0
- package/lib/types/components/ExtensionDialog.d.ts.map +1 -0
- package/lib/types/components/ExtensionDialog.js +210 -0
- package/lib/types/components/HelpMenu.js +1 -1
- package/lib/types/components/LoadedContextPanel.d.ts +5 -10
- package/lib/types/components/LoadedContextPanel.d.ts.map +1 -1
- package/lib/types/components/LoadedContextPanel.js +7 -18
- package/lib/types/components/LogoV2.d.ts.map +1 -1
- package/lib/types/components/LogoV2.js +1 -2
- package/lib/types/components/MessageList.d.ts +3 -1
- package/lib/types/components/MessageList.d.ts.map +1 -1
- package/lib/types/components/MessageList.js +29 -5
- package/lib/types/components/PluginSceneBoundary.d.ts +31 -0
- package/lib/types/components/PluginSceneBoundary.d.ts.map +1 -0
- package/lib/types/components/PluginSceneBoundary.js +29 -0
- package/lib/types/components/RewindPicker.d.ts +13 -1
- package/lib/types/components/RewindPicker.d.ts.map +1 -1
- package/lib/types/components/RewindPicker.js +26 -2
- package/lib/types/components/SkillsPicker.d.ts +18 -0
- package/lib/types/components/SkillsPicker.d.ts.map +1 -0
- package/lib/types/components/SkillsPicker.js +50 -0
- package/lib/types/components/SplitDiffView.d.ts +28 -0
- package/lib/types/components/SplitDiffView.d.ts.map +1 -0
- package/lib/types/components/SplitDiffView.js +417 -0
- package/lib/types/components/ToolUseLoader.d.ts +8 -3
- package/lib/types/components/ToolUseLoader.d.ts.map +1 -1
- package/lib/types/components/ToolUseLoader.js +43 -9
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts +3 -1
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +17 -7
- package/lib/types/dsh-adapter/channel.d.ts +98 -7
- package/lib/types/dsh-adapter/channel.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel.js +623 -26
- package/lib/types/dsh-adapter/command-attribution.d.ts +51 -0
- package/lib/types/dsh-adapter/command-attribution.d.ts.map +1 -0
- package/lib/types/dsh-adapter/command-attribution.js +93 -0
- package/lib/types/dsh-adapter/command-errors.d.ts +42 -0
- package/lib/types/dsh-adapter/command-errors.d.ts.map +1 -0
- package/lib/types/dsh-adapter/command-errors.js +63 -0
- package/lib/types/dsh-adapter/component-identity.d.ts +28 -0
- package/lib/types/dsh-adapter/component-identity.d.ts.map +1 -0
- package/lib/types/dsh-adapter/component-identity.js +108 -0
- package/lib/types/dsh-adapter/contract.d.ts +2 -2
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +3 -2
- package/lib/types/dsh-adapter/decision-guard.d.ts +84 -0
- package/lib/types/dsh-adapter/decision-guard.d.ts.map +1 -0
- package/lib/types/dsh-adapter/decision-guard.js +354 -0
- package/lib/types/dsh-adapter/dialogs.d.ts +146 -0
- package/lib/types/dsh-adapter/dialogs.d.ts.map +1 -0
- package/lib/types/dsh-adapter/dialogs.js +262 -0
- package/lib/types/dsh-adapter/effect-ledger.d.ts +99 -0
- package/lib/types/dsh-adapter/effect-ledger.d.ts.map +1 -0
- package/lib/types/dsh-adapter/effect-ledger.js +231 -0
- package/lib/types/dsh-adapter/extension-events.d.ts +193 -0
- package/lib/types/dsh-adapter/extension-events.d.ts.map +1 -0
- package/lib/types/dsh-adapter/extension-events.js +169 -0
- package/lib/types/dsh-adapter/extensions.d.ts +32 -0
- package/lib/types/dsh-adapter/extensions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/extensions.js +42 -0
- package/lib/types/dsh-adapter/grants.d.ts +25 -0
- package/lib/types/dsh-adapter/grants.d.ts.map +1 -0
- package/lib/types/dsh-adapter/grants.js +184 -0
- package/lib/types/dsh-adapter/host-descriptor.d.ts +24 -0
- package/lib/types/dsh-adapter/host-descriptor.d.ts.map +1 -0
- package/lib/types/dsh-adapter/host-descriptor.js +146 -0
- package/lib/types/dsh-adapter/index.d.ts +4 -0
- package/lib/types/dsh-adapter/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/index.js +1 -0
- package/lib/types/dsh-adapter/message-observer.d.ts +178 -0
- package/lib/types/dsh-adapter/message-observer.d.ts.map +1 -0
- package/lib/types/dsh-adapter/message-observer.js +509 -0
- package/lib/types/dsh-adapter/plugin-host.d.ts +103 -0
- package/lib/types/dsh-adapter/plugin-host.d.ts.map +1 -0
- package/lib/types/dsh-adapter/plugin-host.js +270 -0
- package/lib/types/dsh-adapter/plugin-storage.d.ts +113 -0
- package/lib/types/dsh-adapter/plugin-storage.d.ts.map +1 -0
- package/lib/types/dsh-adapter/plugin-storage.js +385 -0
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +106 -1
- package/lib/types/dsh-adapter/plugins-info.d.ts +43 -0
- package/lib/types/dsh-adapter/plugins-info.d.ts.map +1 -0
- package/lib/types/dsh-adapter/plugins-info.js +276 -0
- package/lib/types/dsh-adapter/promptDebug.d.ts +10 -0
- package/lib/types/dsh-adapter/promptDebug.d.ts.map +1 -0
- package/lib/types/dsh-adapter/promptDebug.js +148 -0
- package/lib/types/dsh-adapter/renderers.d.ts +65 -0
- package/lib/types/dsh-adapter/renderers.d.ts.map +1 -0
- package/lib/types/dsh-adapter/renderers.js +138 -0
- package/lib/types/dsh-adapter/sanitize.d.ts +36 -0
- package/lib/types/dsh-adapter/sanitize.d.ts.map +1 -0
- package/lib/types/dsh-adapter/sanitize.js +65 -0
- package/lib/types/dsh-adapter/scenes.d.ts +81 -0
- package/lib/types/dsh-adapter/scenes.d.ts.map +1 -0
- package/lib/types/dsh-adapter/scenes.js +93 -0
- package/lib/types/dsh-adapter/settings-sections.d.ts +116 -0
- package/lib/types/dsh-adapter/settings-sections.d.ts.map +1 -0
- package/lib/types/dsh-adapter/settings-sections.js +63 -0
- package/lib/types/dsh-adapter/settingsEditor.d.ts +128 -0
- package/lib/types/dsh-adapter/settingsEditor.d.ts.map +1 -0
- package/lib/types/dsh-adapter/settingsEditor.js +244 -0
- package/lib/types/dsh-adapter/shortcuts.d.ts +109 -0
- package/lib/types/dsh-adapter/shortcuts.d.ts.map +1 -0
- package/lib/types/dsh-adapter/shortcuts.js +268 -0
- package/lib/types/dsh-adapter/status.d.ts +75 -0
- package/lib/types/dsh-adapter/status.d.ts.map +1 -0
- package/lib/types/dsh-adapter/status.js +168 -0
- package/lib/types/extensions.d.ts +8 -0
- package/lib/types/extensions.d.ts.map +1 -0
- package/lib/types/extensions.js +15 -0
- package/lib/types/i18n.d.ts +299 -26
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +89 -8
- package/lib/types/ink/ink.d.ts +11 -0
- package/lib/types/ink/ink.d.ts.map +1 -1
- package/lib/types/ink/ink.js +33 -0
- package/lib/types/ink/log-update.d.ts.map +1 -1
- package/lib/types/ink/log-update.js +101 -51
- package/lib/types/ink/output.d.ts +7 -0
- package/lib/types/ink/output.d.ts.map +1 -1
- package/lib/types/ink/output.js +125 -4
- package/lib/types/ink/render-node-to-output.d.ts.map +1 -1
- package/lib/types/ink/render-node-to-output.js +14 -6
- package/lib/types/ink/terminal.d.ts.map +1 -1
- package/lib/types/ink/terminal.js +18 -6
- package/lib/types/jsx-runtime.d.ts +2 -0
- package/lib/types/jsx-runtime.d.ts.map +1 -0
- package/lib/types/jsx-runtime.js +13 -0
- package/lib/types/modelRoute.d.ts +10 -2
- package/lib/types/modelRoute.d.ts.map +1 -1
- package/lib/types/modelRoute.js +33 -4
- package/lib/types/plugin-host.d.ts +13 -0
- package/lib/types/plugin-host.d.ts.map +1 -0
- package/lib/types/plugin-host.js +17 -0
- package/lib/types/plugin-spec/negotiate.d.ts +11 -0
- package/lib/types/plugin-spec/negotiate.d.ts.map +1 -0
- package/lib/types/plugin-spec/negotiate.js +97 -0
- package/lib/types/plugin-spec/permission-scope.d.ts +32 -0
- package/lib/types/plugin-spec/permission-scope.d.ts.map +1 -0
- package/lib/types/plugin-spec/permission-scope.js +90 -0
- package/lib/types/plugin-spec/registry.d.ts +23 -0
- package/lib/types/plugin-spec/registry.d.ts.map +1 -0
- package/lib/types/plugin-spec/registry.js +157 -0
- package/lib/types/plugin-spec/schema-check.d.ts +17 -0
- package/lib/types/plugin-spec/schema-check.d.ts.map +1 -0
- package/lib/types/plugin-spec/schema-check.js +165 -0
- package/lib/types/plugin-spec/tui-extension.d.ts +16 -0
- package/lib/types/plugin-spec/tui-extension.d.ts.map +1 -0
- package/lib/types/plugin-spec/tui-extension.js +77 -0
- package/lib/types/plugin-spec/types.d.ts +114 -0
- package/lib/types/plugin-spec/types.d.ts.map +1 -0
- package/lib/types/plugin-spec/types.js +10 -0
- package/lib/types/plugin-spec/validate.d.ts +21 -0
- package/lib/types/plugin-spec/validate.d.ts.map +1 -0
- package/lib/types/plugin-spec/validate.js +119 -0
- package/lib/types/scenes.d.ts +3 -0
- package/lib/types/scenes.d.ts.map +1 -0
- package/lib/types/scenes.js +4 -0
- package/lib/types/screens/Chat.d.ts +14 -1
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +247 -48
- package/lib/types/screens/Settings.d.ts +20 -0
- package/lib/types/screens/Settings.d.ts.map +1 -0
- package/lib/types/screens/Settings.js +333 -0
- package/lib/types/screens/StatusLine.js +1 -1
- package/lib/types/settings-sections.d.ts +3 -0
- package/lib/types/settings-sections.d.ts.map +1 -0
- package/lib/types/settings-sections.js +4 -0
- package/lib/types/theme.d.ts +17 -0
- package/lib/types/theme.d.ts.map +1 -1
- package/lib/types/theme.js +51 -0
- package/lib/types/update.d.ts +20 -0
- package/lib/types/update.d.ts.map +1 -1
- package/lib/types/update.js +54 -7
- package/lib/types/utils/loaded-context.d.ts +8 -3
- package/lib/types/utils/loaded-context.d.ts.map +1 -1
- package/lib/types/utils/loaded-context.js +39 -3
- package/lib/types/utils/modifiers.d.ts.map +1 -1
- package/lib/types/utils/modifiers.js +3 -2
- package/lib/types/working-activity.d.ts +12 -0
- package/lib/types/working-activity.d.ts.map +1 -1
- package/lib/types/working-activity.js +13 -0
- package/node_modules/@dsh-std/command/LICENSE +21 -0
- package/node_modules/@dsh-std/command/README.md +26 -0
- package/node_modules/@dsh-std/command/README.zh.md +28 -0
- package/node_modules/@dsh-std/command/lib/index.d.ts +144 -0
- package/node_modules/@dsh-std/command/lib/index.d.ts.map +1 -0
- package/node_modules/@dsh-std/command/lib/index.js +252 -0
- package/node_modules/@dsh-std/command/lib/index.js.map +1 -0
- package/node_modules/@dsh-std/command/package.json +22 -0
- package/node_modules/@dsh-std/connection/LICENSE +21 -0
- package/node_modules/@dsh-std/connection/README.md +42 -0
- package/node_modules/@dsh-std/connection/README.zh.md +42 -0
- package/node_modules/@dsh-std/connection/lib/connection-CdGcSQnu.d.ts +125 -0
- package/node_modules/@dsh-std/connection/lib/connection-CdGcSQnu.d.ts.map +1 -0
- package/node_modules/@dsh-std/connection/lib/index.d.ts +89 -0
- package/node_modules/@dsh-std/connection/lib/index.d.ts.map +1 -0
- package/node_modules/@dsh-std/connection/lib/index.js +158 -0
- package/node_modules/@dsh-std/connection/lib/index.js.map +1 -0
- package/node_modules/@dsh-std/connection/lib/memory.d.ts +24 -0
- package/node_modules/@dsh-std/connection/lib/memory.d.ts.map +1 -0
- package/node_modules/@dsh-std/connection/lib/memory.js +257 -0
- package/node_modules/@dsh-std/connection/lib/memory.js.map +1 -0
- package/node_modules/@dsh-std/connection/lib/resolve-3X6ausgz.js +226 -0
- package/node_modules/@dsh-std/connection/lib/resolve-3X6ausgz.js.map +1 -0
- package/node_modules/@dsh-std/connection/package.json +20 -0
- package/node_modules/@dsh-std/core/LICENSE +21 -0
- package/node_modules/@dsh-std/core/README.md +13 -0
- package/node_modules/@dsh-std/core/README.zh.md +13 -0
- package/node_modules/@dsh-std/core/lib/index.d.ts +112 -0
- package/node_modules/@dsh-std/core/lib/index.d.ts.map +1 -0
- package/node_modules/@dsh-std/core/lib/index.js +424 -0
- package/node_modules/@dsh-std/core/lib/index.js.map +1 -0
- package/node_modules/@dsh-std/core/package.json +21 -0
- package/node_modules/@dsh-std/manifest/LICENSE +21 -0
- package/node_modules/@dsh-std/manifest/README.md +5 -0
- package/node_modules/@dsh-std/manifest/README.zh.md +5 -0
- package/node_modules/@dsh-std/manifest/lib/index.d.ts +182 -0
- package/node_modules/@dsh-std/manifest/lib/index.d.ts.map +1 -0
- package/node_modules/@dsh-std/manifest/lib/index.js +625 -0
- package/node_modules/@dsh-std/manifest/lib/index.js.map +1 -0
- package/node_modules/@dsh-std/manifest/package.json +20 -0
- package/node_modules/@dsh-std/manifest/schema/dsh-plugin-0.15.schema.json +144 -0
- package/node_modules/@dsh-std/messages/LICENSE +21 -0
- package/node_modules/@dsh-std/messages/README.md +5 -0
- package/node_modules/@dsh-std/messages/README.zh.md +7 -0
- package/node_modules/@dsh-std/messages/lib/index.d.ts +50 -0
- package/node_modules/@dsh-std/messages/lib/index.d.ts.map +1 -0
- package/node_modules/@dsh-std/messages/lib/index.js +151 -0
- package/node_modules/@dsh-std/messages/lib/index.js.map +1 -0
- package/node_modules/@dsh-std/messages/package.json +20 -0
- package/node_modules/@dsh-std/messages/schema/message-observer-envelope-0.15.schema.json +54 -0
- package/node_modules/@dsh-std/presentation/LICENSE +21 -0
- package/node_modules/@dsh-std/presentation/README.md +26 -0
- package/node_modules/@dsh-std/presentation/README.zh.md +28 -0
- package/node_modules/@dsh-std/presentation/lib/index.d.ts +219 -0
- package/node_modules/@dsh-std/presentation/lib/index.d.ts.map +1 -0
- package/node_modules/@dsh-std/presentation/lib/index.js +547 -0
- package/node_modules/@dsh-std/presentation/lib/index.js.map +1 -0
- package/node_modules/@dsh-std/presentation/lib/interaction.d.ts +2 -0
- package/node_modules/@dsh-std/presentation/lib/interaction.js +2 -0
- package/node_modules/@dsh-std/presentation/lib/operations.d.ts +2 -0
- package/node_modules/@dsh-std/presentation/lib/operations.js +2 -0
- package/node_modules/@dsh-std/presentation/package.json +21 -0
- package/node_modules/@dsh-std/storage/LICENSE +21 -0
- package/node_modules/@dsh-std/storage/README.md +5 -0
- package/node_modules/@dsh-std/storage/README.zh.md +7 -0
- package/node_modules/@dsh-std/storage/lib/index.d.ts +48 -0
- package/node_modules/@dsh-std/storage/lib/index.d.ts.map +1 -0
- package/node_modules/@dsh-std/storage/lib/index.js +104 -0
- package/node_modules/@dsh-std/storage/lib/index.js.map +1 -0
- package/node_modules/@dsh-std/storage/package.json +20 -0
- package/node_modules/@dsh-std/storage/schema/local-storage-0.15.schema.json +56 -0
- package/package.json +118 -67
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/LICENSE +21 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/README.md +42 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/README.zh.md +42 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/connection-CdGcSQnu.d.ts +125 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/connection-CdGcSQnu.d.ts.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/index.d.ts +89 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/index.d.ts.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/index.js +158 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/index.js.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/memory.d.ts +24 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/memory.d.ts.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/memory.js +257 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/memory.js.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/resolve-3X6ausgz.js +226 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/lib/resolve-3X6ausgz.js.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/connection/package.json +20 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/core/LICENSE +21 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/core/README.md +13 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/core/README.zh.md +13 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/core/lib/index.d.ts +112 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/core/lib/index.d.ts.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/core/lib/index.js +424 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/core/lib/index.js.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/core/package.json +21 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/manifest/LICENSE +21 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/manifest/README.md +5 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/manifest/README.zh.md +5 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/manifest/lib/index.d.ts +182 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/manifest/lib/index.d.ts.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/manifest/lib/index.js +625 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/manifest/lib/index.js.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/manifest/package.json +20 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/manifest/schema/dsh-plugin-0.15.schema.json +144 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/LICENSE +21 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/README.md +26 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/README.zh.md +28 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/lib/index.d.ts +219 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/lib/index.d.ts.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/lib/index.js +547 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/lib/index.js.map +1 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/lib/interaction.d.ts +2 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/lib/interaction.js +2 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/lib/operations.d.ts +2 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/lib/operations.js +2 -0
- package/vendor/dsh-std/packages/command/node_modules/@dsh-std/presentation/package.json +21 -0
- package/vendor/dsh-std/packages/connection/node_modules/@dsh-std/core/LICENSE +21 -0
- package/vendor/dsh-std/packages/connection/node_modules/@dsh-std/core/README.md +13 -0
- package/vendor/dsh-std/packages/connection/node_modules/@dsh-std/core/README.zh.md +13 -0
- package/vendor/dsh-std/packages/connection/node_modules/@dsh-std/core/lib/index.d.ts +112 -0
- package/vendor/dsh-std/packages/connection/node_modules/@dsh-std/core/lib/index.d.ts.map +1 -0
- package/vendor/dsh-std/packages/connection/node_modules/@dsh-std/core/lib/index.js +424 -0
- package/vendor/dsh-std/packages/connection/node_modules/@dsh-std/core/lib/index.js.map +1 -0
- package/vendor/dsh-std/packages/connection/node_modules/@dsh-std/core/package.json +21 -0
- package/vendor/dsh-std/packages/manifest/node_modules/@dsh-std/core/LICENSE +21 -0
- package/vendor/dsh-std/packages/manifest/node_modules/@dsh-std/core/README.md +13 -0
- package/vendor/dsh-std/packages/manifest/node_modules/@dsh-std/core/README.zh.md +13 -0
- package/vendor/dsh-std/packages/manifest/node_modules/@dsh-std/core/lib/index.d.ts +112 -0
- package/vendor/dsh-std/packages/manifest/node_modules/@dsh-std/core/lib/index.d.ts.map +1 -0
- package/vendor/dsh-std/packages/manifest/node_modules/@dsh-std/core/lib/index.js +424 -0
- package/vendor/dsh-std/packages/manifest/node_modules/@dsh-std/core/lib/index.js.map +1 -0
- package/vendor/dsh-std/packages/manifest/node_modules/@dsh-std/core/package.json +21 -0
- package/vendor/dsh-std/packages/messages/node_modules/@dsh-std/core/LICENSE +21 -0
- package/vendor/dsh-std/packages/messages/node_modules/@dsh-std/core/README.md +13 -0
- package/vendor/dsh-std/packages/messages/node_modules/@dsh-std/core/README.zh.md +13 -0
- package/vendor/dsh-std/packages/messages/node_modules/@dsh-std/core/lib/index.d.ts +112 -0
- package/vendor/dsh-std/packages/messages/node_modules/@dsh-std/core/lib/index.d.ts.map +1 -0
- package/vendor/dsh-std/packages/messages/node_modules/@dsh-std/core/lib/index.js +424 -0
- package/vendor/dsh-std/packages/messages/node_modules/@dsh-std/core/lib/index.js.map +1 -0
- package/vendor/dsh-std/packages/messages/node_modules/@dsh-std/core/package.json +21 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/LICENSE +21 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/README.md +42 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/README.zh.md +42 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/connection-CdGcSQnu.d.ts +125 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/connection-CdGcSQnu.d.ts.map +1 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/index.d.ts +89 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/index.d.ts.map +1 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/index.js +158 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/index.js.map +1 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/memory.d.ts +24 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/memory.d.ts.map +1 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/memory.js +257 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/memory.js.map +1 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/resolve-3X6ausgz.js +226 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/lib/resolve-3X6ausgz.js.map +1 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/connection/package.json +20 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/core/LICENSE +21 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/core/README.md +13 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/core/README.zh.md +13 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/core/lib/index.d.ts +112 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/core/lib/index.d.ts.map +1 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/core/lib/index.js +424 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/core/lib/index.js.map +1 -0
- package/vendor/dsh-std/packages/presentation/node_modules/@dsh-std/core/package.json +21 -0
- package/vendor/dsh-std/packages/storage/node_modules/@dsh-std/core/LICENSE +21 -0
- package/vendor/dsh-std/packages/storage/node_modules/@dsh-std/core/README.md +13 -0
- package/vendor/dsh-std/packages/storage/node_modules/@dsh-std/core/README.zh.md +13 -0
- package/vendor/dsh-std/packages/storage/node_modules/@dsh-std/core/lib/index.d.ts +112 -0
- package/vendor/dsh-std/packages/storage/node_modules/@dsh-std/core/lib/index.d.ts.map +1 -0
- package/vendor/dsh-std/packages/storage/node_modules/@dsh-std/core/lib/index.js +424 -0
- package/vendor/dsh-std/packages/storage/node_modules/@dsh-std/core/lib/index.js.map +1 -0
- package/vendor/dsh-std/packages/storage/node_modules/@dsh-std/core/package.json +21 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { ApiReference, ProtocolCatalog, ProtocolRequirement, ProtocolSupport, VersionRange } from "@dsh-std/core";
|
|
2
|
+
//#region src/index.d.ts
|
|
3
|
+
declare const COMMUNITY_V015_MANIFEST_VERSION = "0.15";
|
|
4
|
+
declare const COMPONENT_API_VERSION = "manifest.dsh/internal/v1alpha1";
|
|
5
|
+
declare const COMMUNITY_PERMISSION_API_VERSION = "community.dsh/v1alpha1";
|
|
6
|
+
declare const COMMUNITY_PERMISSION_KIND = "Permission";
|
|
7
|
+
interface CommunityContractReference extends ApiReference {
|
|
8
|
+
readonly optional?: boolean;
|
|
9
|
+
readonly fallback?: string;
|
|
10
|
+
}
|
|
11
|
+
interface CommunityPermissionRequest {
|
|
12
|
+
readonly name: string;
|
|
13
|
+
readonly scope: string;
|
|
14
|
+
readonly reason?: string;
|
|
15
|
+
}
|
|
16
|
+
interface CommunityCommandContribution {
|
|
17
|
+
readonly id: string;
|
|
18
|
+
readonly title: string;
|
|
19
|
+
readonly description?: string;
|
|
20
|
+
}
|
|
21
|
+
type CommunitySubscription = string | (ApiReference & {
|
|
22
|
+
readonly scope?: string;
|
|
23
|
+
});
|
|
24
|
+
interface CommunityPluginManifestV015 {
|
|
25
|
+
/** Draft schema identifier. It is not fetched while loading the plugin. */
|
|
26
|
+
readonly $schema: string;
|
|
27
|
+
readonly manifestVersion: typeof COMMUNITY_V015_MANIFEST_VERSION;
|
|
28
|
+
readonly id: string;
|
|
29
|
+
readonly name: string;
|
|
30
|
+
readonly version: string;
|
|
31
|
+
readonly facets: {
|
|
32
|
+
readonly host: {
|
|
33
|
+
readonly entry: string;
|
|
34
|
+
readonly apiVersion: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
readonly requires: {
|
|
38
|
+
readonly contracts: readonly CommunityContractReference[];
|
|
39
|
+
readonly services?: readonly never[];
|
|
40
|
+
};
|
|
41
|
+
readonly permissions: readonly CommunityPermissionRequest[];
|
|
42
|
+
readonly contributes: {
|
|
43
|
+
readonly commands: readonly CommunityCommandContribution[];
|
|
44
|
+
readonly panels?: readonly never[];
|
|
45
|
+
} & Readonly<Record<string, readonly unknown[]>>;
|
|
46
|
+
readonly subscriptions: readonly CommunitySubscription[];
|
|
47
|
+
readonly license?: string;
|
|
48
|
+
readonly source?: {
|
|
49
|
+
readonly repository: string;
|
|
50
|
+
readonly revision?: string;
|
|
51
|
+
};
|
|
52
|
+
readonly artifact?: {
|
|
53
|
+
readonly digest: string;
|
|
54
|
+
readonly algorithm: 'sha256';
|
|
55
|
+
readonly path: string;
|
|
56
|
+
};
|
|
57
|
+
readonly compat?: {
|
|
58
|
+
readonly hosts?: readonly string[];
|
|
59
|
+
};
|
|
60
|
+
readonly overrides?: readonly {
|
|
61
|
+
readonly target: string;
|
|
62
|
+
readonly kind: 'patch' | 'native' | 'build';
|
|
63
|
+
readonly description?: string;
|
|
64
|
+
}[];
|
|
65
|
+
}
|
|
66
|
+
type PluginManifest = CommunityPluginManifestV015;
|
|
67
|
+
interface ComponentRelationships {
|
|
68
|
+
readonly depends?: Readonly<Record<string, VersionRange>>;
|
|
69
|
+
readonly recommends?: Readonly<Record<string, VersionRange>>;
|
|
70
|
+
readonly conflicts?: Readonly<Record<string, VersionRange>>;
|
|
71
|
+
readonly breaks?: Readonly<Record<string, VersionRange>>;
|
|
72
|
+
}
|
|
73
|
+
interface ActivationObject<Spec = unknown> extends ApiReference {
|
|
74
|
+
readonly spec: Spec;
|
|
75
|
+
}
|
|
76
|
+
interface ExtensionMetadata {
|
|
77
|
+
readonly name: string;
|
|
78
|
+
readonly labels?: Readonly<Record<string, string>>;
|
|
79
|
+
}
|
|
80
|
+
interface ManifestExtension<Spec = unknown> extends ApiReference {
|
|
81
|
+
readonly metadata: ExtensionMetadata;
|
|
82
|
+
readonly spec: Spec;
|
|
83
|
+
}
|
|
84
|
+
interface PermissionRequest<Spec = unknown> extends ApiReference {
|
|
85
|
+
readonly action: string;
|
|
86
|
+
readonly optional?: boolean;
|
|
87
|
+
readonly reason?: string;
|
|
88
|
+
readonly spec?: Spec;
|
|
89
|
+
}
|
|
90
|
+
interface ComponentFacet {
|
|
91
|
+
readonly name: string;
|
|
92
|
+
readonly activation?: ActivationObject;
|
|
93
|
+
readonly protocols?: {
|
|
94
|
+
readonly requires?: readonly ProtocolRequirement[];
|
|
95
|
+
readonly supports?: readonly ProtocolSupport[];
|
|
96
|
+
};
|
|
97
|
+
readonly extensions?: readonly ManifestExtension[];
|
|
98
|
+
readonly permissions?: readonly PermissionRequest[];
|
|
99
|
+
}
|
|
100
|
+
interface ComponentManifest {
|
|
101
|
+
/** Host-internal projection. Portable packages publish PluginManifest instead. */
|
|
102
|
+
readonly apiVersion: typeof COMPONENT_API_VERSION;
|
|
103
|
+
readonly kind: 'Component';
|
|
104
|
+
readonly metadata: {
|
|
105
|
+
readonly name: string;
|
|
106
|
+
readonly version: string;
|
|
107
|
+
readonly displayName?: string;
|
|
108
|
+
};
|
|
109
|
+
readonly spec: {
|
|
110
|
+
readonly facets: readonly ComponentFacet[];
|
|
111
|
+
readonly relationships?: ComponentRelationships;
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
interface FacetIdentity {
|
|
115
|
+
readonly component: string;
|
|
116
|
+
readonly version: string;
|
|
117
|
+
readonly facet: string;
|
|
118
|
+
}
|
|
119
|
+
interface ManifestObjectDefinition<Spec = unknown> extends ApiReference {
|
|
120
|
+
validateSpec(spec: unknown): Spec;
|
|
121
|
+
/** Extension-owned identity validation. Activation definitions leave this undefined. */
|
|
122
|
+
validateMetadata?(metadata: ExtensionMetadata): void;
|
|
123
|
+
}
|
|
124
|
+
interface ManifestValidationIssue {
|
|
125
|
+
readonly code: 'unknown-protocol' | 'unknown-activation' | 'unknown-extension' | 'invalid-activation' | 'invalid-extension';
|
|
126
|
+
readonly severity: 'error' | 'warning';
|
|
127
|
+
readonly path: string;
|
|
128
|
+
readonly message: string;
|
|
129
|
+
}
|
|
130
|
+
interface ManifestValidationReport {
|
|
131
|
+
readonly apiVersion: 'manifest.dsh/report/v1alpha1';
|
|
132
|
+
readonly validator: {
|
|
133
|
+
readonly name: string;
|
|
134
|
+
readonly version: string;
|
|
135
|
+
};
|
|
136
|
+
readonly source: string;
|
|
137
|
+
readonly digest: string;
|
|
138
|
+
readonly manifest: {
|
|
139
|
+
readonly name: string;
|
|
140
|
+
readonly version: string;
|
|
141
|
+
};
|
|
142
|
+
readonly compatible: boolean;
|
|
143
|
+
readonly issues: readonly ManifestValidationIssue[];
|
|
144
|
+
}
|
|
145
|
+
declare class ManifestDefinitionCatalog {
|
|
146
|
+
readonly validator: Readonly<{
|
|
147
|
+
name: "@dsh-std/manifest";
|
|
148
|
+
version: "0.1.0";
|
|
149
|
+
}>;
|
|
150
|
+
private readonly activations;
|
|
151
|
+
private readonly extensions;
|
|
152
|
+
constructor(validator?: Readonly<{
|
|
153
|
+
name: "@dsh-std/manifest";
|
|
154
|
+
version: "0.1.0";
|
|
155
|
+
}>);
|
|
156
|
+
registerActivation(definition: ManifestObjectDefinition): () => void;
|
|
157
|
+
registerExtension(definition: ManifestObjectDefinition): () => void;
|
|
158
|
+
activation(reference: ApiReference): ManifestObjectDefinition | undefined;
|
|
159
|
+
extension(reference: ApiReference): ManifestObjectDefinition | undefined;
|
|
160
|
+
validate(manifestValue: ComponentManifest, protocols?: ProtocolCatalog, options?: {
|
|
161
|
+
readonly source?: string;
|
|
162
|
+
readonly digest?: string;
|
|
163
|
+
}): ManifestValidationReport;
|
|
164
|
+
}
|
|
165
|
+
interface ParseManifestOptions {
|
|
166
|
+
readonly source?: string;
|
|
167
|
+
}
|
|
168
|
+
/** Parse the package-root dsh-plugin.json without executing plugin code or fetching a schema. */
|
|
169
|
+
declare function parseManifest(source: string, options?: ParseManifestOptions): PluginManifest;
|
|
170
|
+
declare function defineManifest<const T extends PluginManifest>(manifest: T): T;
|
|
171
|
+
declare function validateManifest(value: unknown): asserts value is PluginManifest;
|
|
172
|
+
/** Validate a host-internal Component/Facet projection. */
|
|
173
|
+
declare function defineComponentManifest<const T extends ComponentManifest>(manifest: T): T;
|
|
174
|
+
declare function validateComponentManifest(value: unknown): asserts value is ComponentManifest;
|
|
175
|
+
/** Project a supported package manifest version into the common host composition model. */
|
|
176
|
+
declare function projectManifest(manifestValue: PluginManifest): ComponentManifest;
|
|
177
|
+
declare function facetIdentity(manifest: ComponentManifest, facet: ComponentFacet): FacetIdentity;
|
|
178
|
+
declare function facetKey(identity: FacetIdentity): string;
|
|
179
|
+
declare function findFacet(manifest: ComponentManifest, name: string): ComponentFacet | undefined;
|
|
180
|
+
//#endregion
|
|
181
|
+
export { ActivationObject, COMMUNITY_PERMISSION_API_VERSION, COMMUNITY_PERMISSION_KIND, COMMUNITY_V015_MANIFEST_VERSION, COMPONENT_API_VERSION, CommunityCommandContribution, CommunityContractReference, CommunityPermissionRequest, CommunityPluginManifestV015, CommunitySubscription, ComponentFacet, ComponentManifest, ComponentRelationships, ExtensionMetadata, FacetIdentity, ManifestDefinitionCatalog, ManifestExtension, ManifestObjectDefinition, ManifestValidationIssue, ManifestValidationReport, ParseManifestOptions, PermissionRequest, PluginManifest, defineComponentManifest, defineManifest, facetIdentity, facetKey, findFacet, parseManifest, projectManifest, validateComponentManifest, validateManifest };
|
|
182
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"mappings":";;cAWa;cACA;cACA;cACA;UAKI,mCAAmC;WACzC;WACA;;UAGM;WACN;WACA;WACA;;UAGM;WACN;WACA;WACA;;KAGC,kCAAkC;WAA0B;;UAEvD;;WAEN;WACA,wBAAwB;WACxB;WACA;WACA;WACA;aACE;eAAiB;eAAwB;;;WAE3C;aACE,oBAAoB;aACpB;;WAEF,sBAAsB;WACtB;aACE,mBAAmB;aACnB;MACP,SAAS;WACJ,wBAAwB;WACxB;WACA;aAAoB;aAA6B;;WACjD;aAAsB;aAAyB;aAA8B;;WAC7E;aAAoB;;WACpB;aACE;aACA;aACA;;;KAID,iBAAiB;UAEZ;WACN,UAAU,SAAS,eAAe;WAClC,aAAa,SAAS,eAAe;WACrC,YAAY,SAAS,eAAe;WACpC,SAAS,SAAS,eAAe;;UAG3B,iBAAiB,wBAAwB;WAC/C,MAAM;;UAGA;WACN;WACA,SAAS,SAAS;;UAGZ,kBAAkB,wBAAwB;WAChD,UAAU;WACV,MAAM;;UAGA,kBAAkB,wBAAwB;WAChD;WACA;WACA;WACA,OAAO;;UAGD;WACN;WACA,aAAa;WACb;aACE,oBAAoB;aACpB,oBAAoB;;WAEtB,sBAAsB;WACtB,uBAAuB;;UAGjB;;WAEN,mBAAmB;WACnB;WACA;aACE;aACA;aACA;;WAEF;aACE,iBAAiB;aACjB,gBAAgB;;;UAIZ;WACN;WACA;WACA;;UAGM,yBAAyB,wBAAwB;EAChE,aAAa,gBAAgB;;EAE7B,kBAAkB,UAAU;;UAGb;WACN;WACA;WACA;WACA;;UAGM;WACN;WACA;aAAsB;aAAuB;;WAC7C;WACA;WACA;aAAqB;aAAuB;;WAC5C;WACA,iBAAiB;;cAGf;WAIU,WAAS;;;;mBAHb;mBACA;EAEI,YAAA,YAAS;;;;EAK9B,mBAAmB,YAAY;EAI/B,kBAAkB,YAAY;EAI9B,WAAW,WAAW,eAAe;EAIrC,UAAU,WAAW,eAAe;EAIpC,SACE,eAAe,mBACf,YAAY,iBACZ;aAAoB;aAA0B;MAC7C;;UAgDY;WACN;;;iBAIK,cAAc,gBAAgB,UAAS,uBAA4B;iBAWnE,qBAAqB,UAAU,gBAAgB,UAAU,IAAI;iBAK7D,iBAAiB,yBAAyB,SAAS;;iBAmCnD,8BAA8B,UAAU,mBAAmB,UAAU,IAAI;iBAKzE,0BAA0B,yBAAyB,SAAS;;iBAyB5D,gBAAgB,eAAe,iBAAiB;iBA2EhD,cAAc,UAAU,mBAAmB,OAAO,iBAAiB;iBAQnE,SAAS,UAAU;iBAInB,UAAU,UAAU,mBAAmB,eAAe"}
|