@deepseek-harness-tui/dsh-tui 0.10.0 → 0.10.2
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 +5 -2
- package/bin/dsh-tui.js +99 -33
- package/cordis.patch.yml +25 -5
- package/lib/types/adapter/channel/actions.d.ts +17 -0
- package/lib/types/adapter/channel/actions.d.ts.map +1 -0
- package/lib/types/adapter/channel/actions.js +28 -0
- package/lib/types/adapter/channel/consumer.d.ts +34 -0
- package/lib/types/adapter/channel/consumer.d.ts.map +1 -0
- package/lib/types/adapter/channel/consumer.js +87 -0
- package/lib/types/adapter/channel/features.d.ts +12 -0
- package/lib/types/adapter/channel/features.d.ts.map +1 -0
- package/lib/types/adapter/channel/features.js +41 -0
- package/lib/types/adapter/channel/host-registry.d.ts +40 -0
- package/lib/types/adapter/channel/host-registry.d.ts.map +1 -0
- package/lib/types/adapter/channel/host-registry.js +120 -0
- package/lib/types/adapter/channel/index.d.ts +22 -0
- package/lib/types/adapter/channel/index.d.ts.map +1 -0
- package/lib/types/adapter/channel/index.js +21 -0
- package/lib/types/adapter/channel/internal-token.d.ts +12 -0
- package/lib/types/adapter/channel/internal-token.d.ts.map +1 -0
- package/lib/types/adapter/channel/internal-token.js +11 -0
- package/lib/types/adapter/channel/plugins.d.ts +17 -0
- package/lib/types/adapter/channel/plugins.d.ts.map +1 -0
- package/lib/types/adapter/channel/plugins.js +47 -0
- package/lib/types/adapter/channel/projection.d.ts +15 -0
- package/lib/types/adapter/channel/projection.d.ts.map +1 -0
- package/lib/types/adapter/channel/projection.js +59 -0
- package/lib/types/adapter/channel/provider.d.ts +52 -0
- package/lib/types/adapter/channel/provider.d.ts.map +1 -0
- package/lib/types/adapter/channel/provider.js +231 -0
- package/lib/types/adapter/channel/read-view.d.ts +4 -0
- package/lib/types/adapter/channel/read-view.d.ts.map +1 -0
- package/lib/types/adapter/channel/read-view.js +132 -0
- package/lib/types/adapter/channel/session-projection.d.ts +56 -0
- package/lib/types/adapter/channel/session-projection.d.ts.map +1 -0
- package/lib/types/adapter/channel/session-projection.js +247 -0
- package/lib/types/adapter/channel/state.d.ts +11 -0
- package/lib/types/adapter/channel/state.d.ts.map +1 -0
- package/lib/types/adapter/channel/state.js +55 -0
- package/lib/types/adapter/channel/transcript.d.ts +15 -0
- package/lib/types/adapter/channel/transcript.d.ts.map +1 -0
- package/lib/types/adapter/channel/transcript.js +22 -0
- package/lib/types/adapter/channel/ui-policy.d.ts +106 -0
- package/lib/types/adapter/channel/ui-policy.d.ts.map +1 -0
- package/lib/types/adapter/channel/ui-policy.js +166 -0
- package/lib/types/adapter/channel/ui.d.ts +16 -0
- package/lib/types/adapter/channel/ui.d.ts.map +1 -0
- package/lib/types/adapter/channel/ui.js +168 -0
- package/lib/types/adapter/index.d.ts +20 -0
- package/lib/types/adapter/index.d.ts.map +1 -0
- package/lib/types/adapter/index.js +19 -0
- package/lib/types/adapter/kernel/contract-catalog.d.ts +12 -0
- package/lib/types/adapter/kernel/contract-catalog.d.ts.map +1 -0
- package/lib/types/adapter/kernel/contract-catalog.js +11 -0
- package/lib/types/adapter/kernel/diagnostics.d.ts +18 -0
- package/lib/types/adapter/kernel/diagnostics.d.ts.map +1 -0
- package/lib/types/adapter/kernel/diagnostics.js +16 -0
- package/lib/types/adapter/kernel/driver-types.d.ts +16 -0
- package/lib/types/adapter/kernel/driver-types.d.ts.map +1 -0
- package/lib/types/adapter/kernel/driver-types.js +8 -0
- package/lib/types/adapter/kernel/host-facade.d.ts +65 -0
- package/lib/types/adapter/kernel/host-facade.d.ts.map +1 -0
- package/lib/types/adapter/kernel/host-facade.js +215 -0
- package/lib/types/adapter/kernel/host-probe-access.d.ts +71 -0
- package/lib/types/adapter/kernel/host-probe-access.d.ts.map +1 -0
- package/lib/types/adapter/kernel/host-probe-access.js +121 -0
- package/lib/types/adapter/kernel/index.d.ts +20 -0
- package/lib/types/adapter/kernel/index.d.ts.map +1 -0
- package/lib/types/adapter/kernel/index.js +19 -0
- package/lib/types/adapter/kernel/kernel-runtime.d.ts +138 -0
- package/lib/types/adapter/kernel/kernel-runtime.d.ts.map +1 -0
- package/lib/types/adapter/kernel/kernel-runtime.js +572 -0
- package/lib/types/adapter/kernel/ledger.d.ts +55 -0
- package/lib/types/adapter/kernel/ledger.d.ts.map +1 -0
- package/lib/types/adapter/kernel/ledger.js +33 -0
- package/lib/types/adapter/kernel/legacy-facade.d.ts +22 -0
- package/lib/types/adapter/kernel/legacy-facade.d.ts.map +1 -0
- package/lib/types/adapter/kernel/legacy-facade.js +34 -0
- package/lib/types/adapter/kernel/lifecycle.d.ts +38 -0
- package/lib/types/adapter/kernel/lifecycle.d.ts.map +1 -0
- package/lib/types/adapter/kernel/lifecycle.js +53 -0
- package/lib/types/adapter/kernel/replay-isolation.d.ts +27 -0
- package/lib/types/adapter/kernel/replay-isolation.d.ts.map +1 -0
- package/lib/types/adapter/kernel/replay-isolation.js +45 -0
- package/lib/types/adapter/kernel/replay.d.ts +132 -0
- package/lib/types/adapter/kernel/replay.d.ts.map +1 -0
- package/lib/types/adapter/kernel/replay.js +425 -0
- package/lib/types/adapter/kernel/runtime-context.d.ts +15 -0
- package/lib/types/adapter/kernel/runtime-context.d.ts.map +1 -0
- package/lib/types/adapter/kernel/runtime-context.js +24 -0
- package/lib/types/adapter/kernel/runtime.d.ts +70 -0
- package/lib/types/adapter/kernel/runtime.d.ts.map +1 -0
- package/lib/types/adapter/kernel/runtime.js +325 -0
- package/lib/types/adapter/kernel/slices/channel.d.ts +3 -0
- package/lib/types/adapter/kernel/slices/channel.d.ts.map +1 -0
- package/lib/types/adapter/kernel/slices/channel.js +8 -0
- package/lib/types/adapter/kernel/slices/decisions.d.ts +3 -0
- package/lib/types/adapter/kernel/slices/decisions.d.ts.map +1 -0
- package/lib/types/adapter/kernel/slices/decisions.js +10 -0
- package/lib/types/adapter/kernel/slices/extensions.d.ts +8 -0
- package/lib/types/adapter/kernel/slices/extensions.d.ts.map +1 -0
- package/lib/types/adapter/kernel/slices/extensions.js +43 -0
- package/lib/types/adapter/kernel/slices/index.d.ts +19 -0
- package/lib/types/adapter/kernel/slices/index.d.ts.map +1 -0
- package/lib/types/adapter/kernel/slices/index.js +36 -0
- package/lib/types/adapter/kernel/slices/presentation.d.ts +3 -0
- package/lib/types/adapter/kernel/slices/presentation.d.ts.map +1 -0
- package/lib/types/adapter/kernel/slices/presentation.js +14 -0
- package/lib/types/adapter/kernel/slices/scenes.d.ts +3 -0
- package/lib/types/adapter/kernel/slices/scenes.d.ts.map +1 -0
- package/lib/types/adapter/kernel/slices/scenes.js +14 -0
- package/lib/types/adapter/kernel/slices/settings.d.ts +3 -0
- package/lib/types/adapter/kernel/slices/settings.d.ts.map +1 -0
- package/lib/types/adapter/kernel/slices/settings.js +12 -0
- package/lib/types/adapter/kernel/slices/types.d.ts +20 -0
- package/lib/types/adapter/kernel/slices/types.d.ts.map +1 -0
- package/lib/types/adapter/kernel/slices/types.js +12 -0
- package/lib/types/adapter/kernel/slices/workspace.d.ts +3 -0
- package/lib/types/adapter/kernel/slices/workspace.d.ts.map +1 -0
- package/lib/types/adapter/kernel/slices/workspace.js +15 -0
- package/lib/types/adapter/ports/channel-catalog.d.ts +90 -0
- package/lib/types/adapter/ports/channel-catalog.d.ts.map +1 -0
- package/lib/types/adapter/ports/channel-catalog.js +2 -0
- package/lib/types/adapter/ports/channel-display.d.ts +90 -0
- package/lib/types/adapter/ports/channel-display.d.ts.map +1 -0
- package/lib/types/adapter/ports/channel-display.js +2 -0
- package/lib/types/adapter/ports/channel-session.d.ts +229 -0
- package/lib/types/adapter/ports/channel-session.d.ts.map +1 -0
- package/lib/types/adapter/ports/channel-session.js +2 -0
- package/lib/types/adapter/ports/channel-settings.d.ts +273 -0
- package/lib/types/adapter/ports/channel-settings.d.ts.map +1 -0
- package/lib/types/adapter/ports/channel-settings.js +1 -0
- package/lib/types/adapter/ports/channel-ui.d.ts +569 -0
- package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -0
- package/lib/types/adapter/ports/channel-ui.js +1 -0
- package/lib/types/adapter/ports/channel-view.d.ts +609 -0
- package/lib/types/adapter/ports/channel-view.d.ts.map +1 -0
- package/lib/types/adapter/ports/channel-view.js +2 -0
- package/lib/types/adapter/ports/channel-workspace.d.ts +45 -0
- package/lib/types/adapter/ports/channel-workspace.d.ts.map +1 -0
- package/lib/types/adapter/ports/channel-workspace.js +2 -0
- package/lib/types/adapter/ports/channel.d.ts +145 -0
- package/lib/types/adapter/ports/channel.d.ts.map +1 -0
- package/lib/types/adapter/ports/channel.js +22 -0
- package/lib/types/adapter/ports/decisions.d.ts +18 -0
- package/lib/types/adapter/ports/decisions.d.ts.map +1 -0
- package/lib/types/adapter/ports/decisions.js +9 -0
- package/lib/types/adapter/ports/descriptor.d.ts +25 -0
- package/lib/types/adapter/ports/descriptor.d.ts.map +1 -0
- package/lib/types/adapter/ports/descriptor.js +11 -0
- package/lib/types/adapter/ports/extensions.d.ts +86 -0
- package/lib/types/adapter/ports/extensions.d.ts.map +1 -0
- package/lib/types/adapter/ports/extensions.js +9 -0
- package/lib/types/adapter/ports/index.d.ts +23 -0
- package/lib/types/adapter/ports/index.d.ts.map +1 -0
- package/lib/types/adapter/ports/index.js +14 -0
- package/lib/types/adapter/ports/owner.d.ts +19 -0
- package/lib/types/adapter/ports/owner.d.ts.map +1 -0
- package/lib/types/adapter/ports/owner.js +9 -0
- package/lib/types/adapter/ports/presentation.d.ts +81 -0
- package/lib/types/adapter/ports/presentation.d.ts.map +1 -0
- package/lib/types/adapter/ports/presentation.js +10 -0
- package/lib/types/adapter/ports/scenes.d.ts +24 -0
- package/lib/types/adapter/ports/scenes.d.ts.map +1 -0
- package/lib/types/adapter/ports/scenes.js +8 -0
- package/lib/types/adapter/ports/settings.d.ts +44 -0
- package/lib/types/adapter/ports/settings.d.ts.map +1 -0
- package/lib/types/adapter/ports/settings.js +9 -0
- package/lib/types/adapter/ports/workspace.d.ts +60 -0
- package/lib/types/adapter/ports/workspace.d.ts.map +1 -0
- package/lib/types/adapter/ports/workspace.js +8 -0
- package/lib/types/adapter/spec/index.d.ts +11 -0
- package/lib/types/adapter/spec/index.d.ts.map +1 -0
- package/lib/types/adapter/spec/index.js +10 -0
- package/lib/types/adapter/spec/profile.d.ts +10 -0
- package/lib/types/adapter/spec/profile.d.ts.map +1 -0
- package/lib/types/adapter/spec/profile.js +9 -0
- package/lib/types/adapter/spec/protocol-constants.d.ts +60 -0
- package/lib/types/adapter/spec/protocol-constants.d.ts.map +1 -0
- package/lib/types/adapter/spec/protocol-constants.js +129 -0
- package/lib/types/adapter/spec/tui-contributions.d.ts +18 -0
- package/lib/types/adapter/spec/tui-contributions.d.ts.map +1 -0
- package/lib/types/adapter/spec/tui-contributions.js +19 -0
- package/lib/types/adapter/standard/admission.d.ts +11 -0
- package/lib/types/adapter/standard/admission.d.ts.map +1 -0
- package/lib/types/adapter/standard/admission.js +10 -0
- package/lib/types/adapter/standard/descriptor.d.ts +74 -0
- package/lib/types/adapter/standard/descriptor.d.ts.map +1 -0
- package/lib/types/adapter/standard/descriptor.js +356 -0
- package/lib/types/{dsh-adapter → adapter/standard}/grants.d.ts +8 -3
- package/lib/types/adapter/standard/grants.d.ts.map +1 -0
- package/lib/types/{dsh-adapter → adapter/standard}/grants.js +14 -8
- package/lib/types/adapter/standard/index.d.ts +25 -0
- package/lib/types/adapter/standard/index.d.ts.map +1 -0
- package/lib/types/adapter/standard/index.js +24 -0
- package/lib/types/adapter/standard/negotiate.d.ts.map +1 -0
- package/lib/types/{plugin-spec → adapter/standard}/permission-scope.d.ts +3 -8
- package/lib/types/adapter/standard/permission-scope.d.ts.map +1 -0
- package/lib/types/{plugin-spec → adapter/standard}/permission-scope.js +4 -26
- package/lib/types/adapter/standard/protocols.d.ts +12 -0
- package/lib/types/adapter/standard/protocols.d.ts.map +1 -0
- package/lib/types/adapter/standard/protocols.js +11 -0
- package/lib/types/adapter/standard/registry.d.ts.map +1 -0
- package/lib/types/{plugin-spec → adapter/standard}/registry.js +3 -15
- package/lib/types/adapter/standard/schema-check.d.ts.map +1 -0
- package/lib/types/{plugin-spec → adapter/standard}/schema-check.js +4 -2
- package/lib/types/adapter/standard/tui-extension.d.ts +25 -0
- package/lib/types/adapter/standard/tui-extension.d.ts.map +1 -0
- package/lib/types/adapter/standard/tui-extension.js +45 -0
- package/lib/types/{plugin-spec → adapter/standard}/types.d.ts +3 -9
- package/lib/types/adapter/standard/types.d.ts.map +1 -0
- package/lib/types/{plugin-spec → adapter/standard}/validate.d.ts +3 -3
- package/lib/types/adapter/standard/validate.d.ts.map +1 -0
- package/lib/types/{plugin-spec → adapter/standard}/validate.js +14 -13
- package/lib/types/adapter/upstream/channel-driver.d.ts +22 -0
- package/lib/types/adapter/upstream/channel-driver.d.ts.map +1 -0
- package/lib/types/adapter/upstream/channel-driver.js +424 -0
- package/lib/types/adapter/upstream/decisions-driver.d.ts +15 -0
- package/lib/types/adapter/upstream/decisions-driver.d.ts.map +1 -0
- package/lib/types/adapter/upstream/decisions-driver.js +141 -0
- package/lib/types/adapter/upstream/detection.d.ts +26 -0
- package/lib/types/adapter/upstream/detection.d.ts.map +1 -0
- package/lib/types/adapter/upstream/detection.js +9 -0
- package/lib/types/adapter/upstream/driver.d.ts +50 -0
- package/lib/types/adapter/upstream/driver.d.ts.map +1 -0
- package/lib/types/adapter/upstream/driver.js +8 -0
- package/lib/types/adapter/upstream/extensions-driver.d.ts +24 -0
- package/lib/types/adapter/upstream/extensions-driver.d.ts.map +1 -0
- package/lib/types/adapter/upstream/extensions-driver.js +697 -0
- package/lib/types/adapter/upstream/host-descriptor-driver.d.ts +45 -0
- package/lib/types/adapter/upstream/host-descriptor-driver.d.ts.map +1 -0
- package/lib/types/adapter/upstream/host-descriptor-driver.js +606 -0
- package/lib/types/adapter/upstream/index.d.ts +18 -0
- package/lib/types/adapter/upstream/index.d.ts.map +1 -0
- package/lib/types/adapter/upstream/index.js +15 -0
- package/lib/types/adapter/upstream/presentation-driver.d.ts +17 -0
- package/lib/types/adapter/upstream/presentation-driver.d.ts.map +1 -0
- package/lib/types/adapter/upstream/presentation-driver.js +129 -0
- package/lib/types/adapter/upstream/scenes-driver.d.ts +18 -0
- package/lib/types/adapter/upstream/scenes-driver.d.ts.map +1 -0
- package/lib/types/adapter/upstream/scenes-driver.js +170 -0
- package/lib/types/adapter/upstream/settings-driver.d.ts +20 -0
- package/lib/types/adapter/upstream/settings-driver.d.ts.map +1 -0
- package/lib/types/adapter/upstream/settings-driver.js +173 -0
- package/lib/types/adapter/upstream/workspace-driver.d.ts +19 -0
- package/lib/types/adapter/upstream/workspace-driver.d.ts.map +1 -0
- package/lib/types/adapter/upstream/workspace-driver.js +190 -0
- package/lib/types/api.d.ts +1 -1
- package/lib/types/api.d.ts.map +1 -1
- package/lib/types/commands.d.ts +2 -41
- package/lib/types/commands.d.ts.map +1 -1
- package/lib/types/commands.js +1 -1
- package/lib/types/components/Chat/JobCard.d.ts.map +1 -1
- package/lib/types/components/Chat/JobCard.js +8 -1
- package/lib/types/components/GoalTodoPanel.d.ts +2 -1
- package/lib/types/components/GoalTodoPanel.d.ts.map +1 -1
- package/lib/types/components/HistorySearchDialog.d.ts.map +1 -1
- package/lib/types/components/HistorySearchDialog.js +7 -5
- package/lib/types/components/Markdown.d.ts +2 -2
- package/lib/types/components/Markdown.d.ts.map +1 -1
- package/lib/types/components/Markdown.js +28 -3
- package/lib/types/components/MessageList.d.ts.map +1 -1
- package/lib/types/components/MessageList.js +46 -17
- package/lib/types/components/ModelPicker.d.ts +1 -1
- package/lib/types/components/ModelPicker.d.ts.map +1 -1
- package/lib/types/components/ModelPicker.js +8 -4
- package/lib/types/components/OverlayAbove.d.ts +22 -1
- package/lib/types/components/OverlayAbove.d.ts.map +1 -1
- package/lib/types/components/OverlayAbove.js +74 -5
- package/lib/types/components/PromptInput.d.ts +2 -1
- package/lib/types/components/PromptInput.d.ts.map +1 -1
- package/lib/types/components/RewindPicker.d.ts.map +1 -1
- package/lib/types/components/RewindPicker.js +14 -6
- package/lib/types/components/SkillsPicker.d.ts.map +1 -1
- package/lib/types/components/SkillsPicker.js +6 -4
- package/lib/types/components/Spinner/spinnerMode.d.ts +1 -5
- package/lib/types/components/Spinner/spinnerMode.d.ts.map +1 -1
- package/lib/types/components/StreamingMarkdown.d.ts.map +1 -1
- package/lib/types/components/StreamingMarkdown.js +61 -9
- package/lib/types/components/design-system/ThemedBox.d.ts +4 -2
- package/lib/types/components/design-system/ThemedBox.d.ts.map +1 -1
- package/lib/types/components/design-system/ThemedBox.js +2 -2
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +69 -25
- package/lib/types/components/overlayBudget.d.ts +39 -0
- package/lib/types/components/overlayBudget.d.ts.map +1 -0
- package/lib/types/components/overlayBudget.js +43 -0
- package/lib/types/deepseekBalance.d.ts +2 -36
- package/lib/types/deepseekBalance.d.ts.map +1 -1
- package/lib/types/deepseekBalance.js +0 -14
- package/lib/types/deepseekPricing.d.ts +2 -1
- package/lib/types/deepseekPricing.d.ts.map +1 -1
- package/lib/types/deepseekPricing.js +8 -1
- package/lib/types/dsh-adapter/approvals.d.ts +11 -1
- package/lib/types/dsh-adapter/approvals.d.ts.map +1 -1
- package/lib/types/dsh-adapter/approvals.js +32 -12
- package/lib/types/dsh-adapter/channel/action-readiness.d.ts +20 -0
- package/lib/types/dsh-adapter/channel/action-readiness.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/action-readiness.js +83 -0
- package/lib/types/dsh-adapter/channel/activity.d.ts +20 -0
- package/lib/types/dsh-adapter/channel/activity.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/activity.js +113 -0
- package/lib/types/dsh-adapter/channel/agent-view-projection.d.ts +64 -0
- package/lib/types/dsh-adapter/channel/agent-view-projection.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/agent-view-projection.js +295 -0
- package/lib/types/dsh-adapter/channel/background-action.d.ts +41 -0
- package/lib/types/dsh-adapter/channel/background-action.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/background-action.js +86 -0
- package/lib/types/dsh-adapter/channel/binding-events.d.ts +65 -0
- package/lib/types/dsh-adapter/channel/binding-events.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/binding-events.js +169 -0
- package/lib/types/dsh-adapter/channel/binding.d.ts +41 -0
- package/lib/types/dsh-adapter/channel/binding.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/binding.js +227 -0
- package/lib/types/dsh-adapter/channel/command-completions.d.ts +29 -0
- package/lib/types/dsh-adapter/channel/command-completions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/command-completions.js +94 -0
- package/lib/types/dsh-adapter/channel/commands.d.ts +8 -0
- package/lib/types/dsh-adapter/channel/commands.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/commands.js +9 -0
- package/lib/types/dsh-adapter/channel/compaction.d.ts +19 -0
- package/lib/types/dsh-adapter/channel/compaction.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/compaction.js +116 -0
- package/lib/types/dsh-adapter/channel/composer-images.d.ts +57 -0
- package/lib/types/dsh-adapter/channel/composer-images.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/composer-images.js +217 -0
- package/lib/types/dsh-adapter/channel/composer-mentions.d.ts +15 -0
- package/lib/types/dsh-adapter/channel/composer-mentions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/composer-mentions.js +200 -0
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts +26 -0
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/context-bookkeeping.js +30 -0
- package/lib/types/dsh-adapter/channel/decisions.d.ts +19 -0
- package/lib/types/dsh-adapter/channel/decisions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/decisions.js +90 -0
- package/lib/types/dsh-adapter/channel/emitter.d.ts +10 -0
- package/lib/types/dsh-adapter/channel/emitter.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/emitter.js +71 -0
- package/lib/types/dsh-adapter/channel/external-commands.d.ts +31 -0
- package/lib/types/dsh-adapter/channel/external-commands.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/external-commands.js +187 -0
- package/lib/types/dsh-adapter/channel/file-actions.d.ts +20 -0
- package/lib/types/dsh-adapter/channel/file-actions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/file-actions.js +45 -0
- package/lib/types/dsh-adapter/channel/input-actions.d.ts +13 -0
- package/lib/types/dsh-adapter/channel/input-actions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/input-actions.js +135 -0
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts +37 -0
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/input-delivery.js +305 -0
- package/lib/types/dsh-adapter/channel/job-projection.d.ts +28 -0
- package/lib/types/dsh-adapter/channel/job-projection.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/job-projection.js +150 -0
- package/lib/types/dsh-adapter/channel/lifetime-resources.d.ts +9 -0
- package/lib/types/dsh-adapter/channel/lifetime-resources.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/lifetime-resources.js +33 -0
- package/lib/types/dsh-adapter/channel/loaded-context.d.ts +40 -0
- package/lib/types/dsh-adapter/channel/loaded-context.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/loaded-context.js +62 -0
- package/lib/types/dsh-adapter/channel/local-actions.d.ts +70 -0
- package/lib/types/dsh-adapter/channel/local-actions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/local-actions.js +108 -0
- package/lib/types/dsh-adapter/channel/mentions.d.ts +29 -0
- package/lib/types/dsh-adapter/channel/mentions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/mentions.js +235 -0
- package/lib/types/dsh-adapter/channel/mode-actions.d.ts +30 -0
- package/lib/types/dsh-adapter/channel/mode-actions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/mode-actions.js +247 -0
- package/lib/types/dsh-adapter/channel/mode-permission-actions.d.ts +35 -0
- package/lib/types/dsh-adapter/channel/mode-permission-actions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/mode-permission-actions.js +199 -0
- package/lib/types/dsh-adapter/channel/mode-permission.d.ts +58 -0
- package/lib/types/dsh-adapter/channel/mode-permission.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/mode-permission.js +240 -0
- package/lib/types/dsh-adapter/channel/mode-roster.d.ts +51 -0
- package/lib/types/dsh-adapter/channel/mode-roster.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/mode-roster.js +119 -0
- package/lib/types/dsh-adapter/channel/model-actions.d.ts +46 -0
- package/lib/types/dsh-adapter/channel/model-actions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/model-actions.js +275 -0
- package/lib/types/dsh-adapter/channel/model-switch.d.ts +32 -0
- package/lib/types/dsh-adapter/channel/model-switch.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/model-switch.js +98 -0
- package/lib/types/dsh-adapter/channel/notifications.d.ts +9 -0
- package/lib/types/dsh-adapter/channel/notifications.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/notifications.js +24 -0
- package/lib/types/dsh-adapter/channel/owner.d.ts +18 -0
- package/lib/types/dsh-adapter/channel/owner.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/owner.js +73 -0
- package/lib/types/dsh-adapter/channel/paths.d.ts +31 -0
- package/lib/types/dsh-adapter/channel/paths.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/paths.js +147 -0
- package/lib/types/dsh-adapter/channel/permissions.d.ts +40 -0
- package/lib/types/dsh-adapter/channel/permissions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/permissions.js +187 -0
- package/lib/types/dsh-adapter/channel/preferences.d.ts +3 -0
- package/lib/types/dsh-adapter/channel/preferences.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/preferences.js +103 -0
- package/lib/types/dsh-adapter/channel/projection-helpers.d.ts +13 -0
- package/lib/types/dsh-adapter/channel/projection-helpers.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/projection-helpers.js +63 -0
- package/lib/types/dsh-adapter/channel/projection.d.ts +40 -0
- package/lib/types/dsh-adapter/channel/projection.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/projection.js +1021 -0
- package/lib/types/dsh-adapter/channel/reports.d.ts +32 -0
- package/lib/types/dsh-adapter/channel/reports.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/reports.js +171 -0
- package/lib/types/dsh-adapter/channel/session-actions.d.ts +13 -0
- package/lib/types/dsh-adapter/channel/session-actions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/session-actions.js +29 -0
- package/lib/types/dsh-adapter/channel/session-adoption.d.ts +32 -0
- package/lib/types/dsh-adapter/channel/session-adoption.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/session-adoption.js +35 -0
- package/lib/types/dsh-adapter/channel/session-fork.d.ts +19 -0
- package/lib/types/dsh-adapter/channel/session-fork.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/session-fork.js +85 -0
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts +32 -0
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/session-live-adoption.js +62 -0
- package/lib/types/dsh-adapter/channel/session-metadata.d.ts +81 -0
- package/lib/types/dsh-adapter/channel/session-metadata.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/session-metadata.js +209 -0
- package/lib/types/dsh-adapter/channel/session-reset.d.ts +11 -0
- package/lib/types/dsh-adapter/channel/session-reset.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/session-reset.js +44 -0
- package/lib/types/dsh-adapter/channel/session-resume.d.ts +56 -0
- package/lib/types/dsh-adapter/channel/session-resume.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/session-resume.js +240 -0
- package/lib/types/dsh-adapter/channel/session-rewind.d.ts +19 -0
- package/lib/types/dsh-adapter/channel/session-rewind.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/session-rewind.js +128 -0
- package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts +19 -0
- package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/session-tree-actions.js +138 -0
- package/lib/types/dsh-adapter/channel/session-tree.d.ts +10 -0
- package/lib/types/dsh-adapter/channel/session-tree.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/session-tree.js +503 -0
- package/lib/types/dsh-adapter/channel/settings-host.d.ts +4 -0
- package/lib/types/dsh-adapter/channel/settings-host.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/settings-host.js +256 -0
- package/lib/types/dsh-adapter/channel/skill-catalog.d.ts +33 -0
- package/lib/types/dsh-adapter/channel/skill-catalog.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/skill-catalog.js +215 -0
- package/lib/types/dsh-adapter/channel/state.d.ts +46 -0
- package/lib/types/dsh-adapter/channel/state.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/state.js +31 -0
- package/lib/types/dsh-adapter/channel/subagent-projection.d.ts +47 -0
- package/lib/types/dsh-adapter/channel/subagent-projection.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/subagent-projection.js +140 -0
- package/lib/types/dsh-adapter/channel/transcript.d.ts +73 -0
- package/lib/types/dsh-adapter/channel/transcript.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/transcript.js +312 -0
- package/lib/types/dsh-adapter/channel/types.d.ts +162 -0
- package/lib/types/dsh-adapter/channel/types.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/types.js +1 -0
- package/lib/types/dsh-adapter/channel/usage.d.ts +13 -0
- package/lib/types/dsh-adapter/channel/usage.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/usage.js +48 -0
- package/lib/types/dsh-adapter/channel/workspace-actions.d.ts +20 -0
- package/lib/types/dsh-adapter/channel/workspace-actions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/workspace-actions.js +56 -0
- package/lib/types/dsh-adapter/channel-facade-actions.d.ts +25 -0
- package/lib/types/dsh-adapter/channel-facade-actions.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel-facade-actions.js +55 -0
- package/lib/types/dsh-adapter/channel-scene-outlet.d.ts +6 -0
- package/lib/types/dsh-adapter/channel-scene-outlet.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel-scene-outlet.js +13 -0
- package/lib/types/dsh-adapter/channel-ui.d.ts +9 -0
- package/lib/types/dsh-adapter/channel-ui.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel-ui.js +128 -0
- package/lib/types/dsh-adapter/channel.d.ts +9 -1525
- package/lib/types/dsh-adapter/channel.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel.js +753 -8145
- package/lib/types/dsh-adapter/command-trees.d.ts +1 -0
- package/lib/types/dsh-adapter/command-trees.d.ts.map +1 -1
- package/lib/types/dsh-adapter/command-trees.js +20 -1
- package/lib/types/dsh-adapter/compat/liveSession.d.ts +8 -4
- package/lib/types/dsh-adapter/compat/liveSession.d.ts.map +1 -1
- package/lib/types/dsh-adapter/compat/liveSession.js +28 -3
- package/lib/types/dsh-adapter/compat/persistence.d.ts +21 -0
- package/lib/types/dsh-adapter/compat/persistence.d.ts.map +1 -0
- package/lib/types/dsh-adapter/compat/persistence.js +17 -0
- package/lib/types/dsh-adapter/compat/sessionLog.d.ts +50 -11
- package/lib/types/dsh-adapter/compat/sessionLog.d.ts.map +1 -1
- package/lib/types/dsh-adapter/compat/sessionLog.js +325 -36
- package/lib/types/dsh-adapter/component-identity.d.ts +1 -1
- package/lib/types/dsh-adapter/component-identity.d.ts.map +1 -1
- package/lib/types/dsh-adapter/component-identity.js +1 -1
- package/lib/types/dsh-adapter/contract.d.ts +11 -9
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +19 -12
- package/lib/types/dsh-adapter/decision-guard.d.ts +56 -12
- package/lib/types/dsh-adapter/decision-guard.d.ts.map +1 -1
- package/lib/types/dsh-adapter/decision-guard.js +134 -22
- package/lib/types/dsh-adapter/dialogs.d.ts.map +1 -1
- package/lib/types/dsh-adapter/dialogs.js +13 -0
- package/lib/types/dsh-adapter/effect-ledger.d.ts +5 -0
- package/lib/types/dsh-adapter/effect-ledger.d.ts.map +1 -1
- package/lib/types/dsh-adapter/effect-ledger.js +53 -15
- package/lib/types/dsh-adapter/extension-events.d.ts +2 -9
- package/lib/types/dsh-adapter/extension-events.d.ts.map +1 -1
- package/lib/types/dsh-adapter/extension-events.js +0 -20
- package/lib/types/dsh-adapter/extensions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/extensions.js +3 -2
- package/lib/types/dsh-adapter/host-grants.d.ts +23 -0
- package/lib/types/dsh-adapter/host-grants.d.ts.map +1 -0
- package/lib/types/dsh-adapter/host-grants.js +45 -0
- package/lib/types/dsh-adapter/jobs.d.ts +2 -46
- package/lib/types/dsh-adapter/jobs.d.ts.map +1 -1
- package/lib/types/dsh-adapter/jobs.js +0 -25
- package/lib/types/dsh-adapter/message-observer.d.ts +15 -2
- package/lib/types/dsh-adapter/message-observer.d.ts.map +1 -1
- package/lib/types/dsh-adapter/message-observer.js +157 -28
- package/lib/types/dsh-adapter/plugin-host.d.ts +80 -11
- package/lib/types/dsh-adapter/plugin-host.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-host.js +438 -41
- package/lib/types/dsh-adapter/plugin-storage.d.ts +11 -1
- package/lib/types/dsh-adapter/plugin-storage.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-storage.js +150 -11
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +75 -34
- package/lib/types/dsh-adapter/plugins-info.d.ts +2 -2
- package/lib/types/dsh-adapter/plugins-info.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugins-info.js +11 -6
- package/lib/types/dsh-adapter/presets.d.ts.map +1 -1
- package/lib/types/dsh-adapter/presets.js +3 -2
- package/lib/types/dsh-adapter/providerWizard.d.ts +2 -159
- package/lib/types/dsh-adapter/providerWizard.d.ts.map +1 -1
- package/lib/types/dsh-adapter/questions.d.ts +8 -0
- package/lib/types/dsh-adapter/questions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/questions.js +18 -0
- package/lib/types/dsh-adapter/recap.d.ts +1 -9
- package/lib/types/dsh-adapter/recap.d.ts.map +1 -1
- package/lib/types/dsh-adapter/recap.js +0 -14
- package/lib/types/dsh-adapter/renderers.d.ts +1 -0
- package/lib/types/dsh-adapter/renderers.d.ts.map +1 -1
- package/lib/types/dsh-adapter/renderers.js +26 -1
- package/lib/types/dsh-adapter/scenes.d.ts +3 -1
- package/lib/types/dsh-adapter/scenes.d.ts.map +1 -1
- package/lib/types/dsh-adapter/scenes.js +31 -0
- package/lib/types/dsh-adapter/sessionTree.d.ts +14 -95
- package/lib/types/dsh-adapter/sessionTree.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sessionTree.js +51 -36
- package/lib/types/dsh-adapter/sessions/digest.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sessions/digest.js +40 -19
- package/lib/types/dsh-adapter/sessions/frames.js +2 -0
- package/lib/types/dsh-adapter/sessions/index.d.ts +1 -1
- package/lib/types/dsh-adapter/sessions/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sessions/index.js +1 -1
- package/lib/types/dsh-adapter/sessions/list.d.ts +23 -0
- package/lib/types/dsh-adapter/sessions/list.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sessions/list.js +28 -17
- package/lib/types/dsh-adapter/sessions/store.d.ts +2 -2
- package/lib/types/dsh-adapter/sessions/store.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sessions/store.js +12 -11
- package/lib/types/dsh-adapter/sessions/types.d.ts +4 -128
- package/lib/types/dsh-adapter/sessions/types.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sessions/types.js +0 -13
- package/lib/types/dsh-adapter/settings-sections.d.ts +4 -95
- package/lib/types/dsh-adapter/settings-sections.d.ts.map +1 -1
- package/lib/types/dsh-adapter/settings-sections.js +50 -13
- package/lib/types/dsh-adapter/settingsEditor.d.ts +2 -36
- package/lib/types/dsh-adapter/settingsEditor.d.ts.map +1 -1
- package/lib/types/dsh-adapter/settingsEditor.js +0 -18
- package/lib/types/dsh-adapter/shortcuts.d.ts +5 -0
- package/lib/types/dsh-adapter/shortcuts.d.ts.map +1 -1
- package/lib/types/dsh-adapter/shortcuts.js +49 -0
- package/lib/types/dsh-adapter/status.d.ts +5 -0
- package/lib/types/dsh-adapter/status.d.ts.map +1 -1
- package/lib/types/dsh-adapter/status.js +29 -0
- package/lib/types/dsh-adapter/subagents.d.ts +9 -49
- package/lib/types/dsh-adapter/subagents.d.ts.map +1 -1
- package/lib/types/dsh-adapter/subagents.js +92 -1
- package/lib/types/dsh-adapter/themes.d.ts +1 -0
- package/lib/types/dsh-adapter/themes.d.ts.map +1 -1
- package/lib/types/dsh-adapter/themes.js +29 -0
- package/lib/types/dsh-adapter/toast.d.ts +13 -0
- package/lib/types/dsh-adapter/toast.d.ts.map +1 -1
- package/lib/types/dsh-adapter/toast.js +31 -1
- package/lib/types/dsh-adapter/trajectory/aggregate.d.ts +2 -1
- package/lib/types/dsh-adapter/trajectory/aggregate.d.ts.map +1 -1
- package/lib/types/dsh-adapter/trajectory/aggregate.js +2 -1
- package/lib/types/dsh-adapter/trajectory/guards.d.ts +37 -18
- package/lib/types/dsh-adapter/trajectory/guards.d.ts.map +1 -1
- package/lib/types/dsh-adapter/trajectory/guards.js +43 -5
- package/lib/types/dsh-adapter/trajectory/inspect.d.ts +2 -2
- package/lib/types/dsh-adapter/trajectory/inspect.d.ts.map +1 -1
- package/lib/types/dsh-adapter/trajectory/projection.d.ts +31 -13
- package/lib/types/dsh-adapter/trajectory/projection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/trajectory/projection.js +71 -14
- package/lib/types/dsh-adapter/trajectory/types.d.ts +1 -1
- package/lib/types/dsh-adapter/trajectory/types.d.ts.map +1 -1
- package/lib/types/dsh-adapter/transcript-images.d.ts +2 -19
- package/lib/types/dsh-adapter/transcript-images.d.ts.map +1 -1
- package/lib/types/dsh-adapter/workspaces.d.ts +2 -49
- package/lib/types/dsh-adapter/workspaces.d.ts.map +1 -1
- package/lib/types/dsh-adapter/workspaces.js +23 -3
- package/lib/types/i18n.d.ts +19 -7
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +8 -3
- package/lib/types/ink/components/ScrollBox.d.ts.map +1 -1
- package/lib/types/ink/components/ScrollBox.js +30 -33
- package/lib/types/ink/dom.d.ts.map +1 -1
- package/lib/types/ink/dom.js +32 -64
- package/lib/types/ink/get-max-width.d.ts +7 -15
- package/lib/types/ink/get-max-width.d.ts.map +1 -1
- package/lib/types/ink/get-max-width.js +7 -20
- package/lib/types/ink/ink.d.ts +1 -0
- package/lib/types/ink/ink.d.ts.map +1 -1
- package/lib/types/ink/ink.js +22 -3
- package/lib/types/ink/layout/node.d.ts +2 -0
- package/lib/types/ink/layout/node.d.ts.map +1 -1
- package/lib/types/ink/layout/yoga.d.ts +1 -0
- package/lib/types/ink/layout/yoga.d.ts.map +1 -1
- package/lib/types/ink/layout/yoga.js +3 -0
- package/lib/types/ink/node-cache.d.ts +11 -0
- package/lib/types/ink/node-cache.d.ts.map +1 -1
- package/lib/types/ink/node-cache.js +3 -0
- package/lib/types/ink/output.d.ts +6 -1
- package/lib/types/ink/output.d.ts.map +1 -1
- package/lib/types/ink/output.js +55 -65
- package/lib/types/ink/render-node-to-output.d.ts +24 -1
- package/lib/types/ink/render-node-to-output.d.ts.map +1 -1
- package/lib/types/ink/render-node-to-output.js +195 -71
- package/lib/types/ink/renderer.d.ts.map +1 -1
- package/lib/types/ink/renderer.js +14 -2
- package/lib/types/ink/styles.d.ts +12 -0
- package/lib/types/ink/styles.d.ts.map +1 -1
- package/lib/types/ink/tabstops.d.ts +3 -2
- package/lib/types/ink/tabstops.d.ts.map +1 -1
- package/lib/types/ink/tabstops.js +5 -4
- package/lib/types/ink/wrap-text.js +2 -2
- package/lib/types/modelGroups.d.ts +1 -1
- package/lib/types/modelGroups.d.ts.map +1 -1
- package/lib/types/modelRoute.js +1 -1
- package/lib/types/native-ts/yoga-layout/index.d.ts +8 -3
- package/lib/types/native-ts/yoga-layout/index.d.ts.map +1 -1
- package/lib/types/native-ts/yoga-layout/index.js +23 -8
- package/lib/types/plugin-host.d.ts +3 -4
- package/lib/types/plugin-host.d.ts.map +1 -1
- package/lib/types/plugin-host.js +8 -6
- package/lib/types/screens/AgentView.d.ts +1 -1
- package/lib/types/screens/AgentView.d.ts.map +1 -1
- package/lib/types/screens/Chat.d.ts +3 -2
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +91 -17
- package/lib/types/screens/SessionBrowser.d.ts +1 -1
- package/lib/types/screens/SessionBrowser.d.ts.map +1 -1
- package/lib/types/screens/SessionTree.d.ts +1 -1
- package/lib/types/screens/SessionTree.d.ts.map +1 -1
- package/lib/types/screens/Settings.d.ts +1 -1
- package/lib/types/screens/Settings.d.ts.map +1 -1
- package/lib/types/screens/StatusLine.d.ts +1 -1
- package/lib/types/screens/StatusLine.d.ts.map +1 -1
- package/lib/types/screens/StatusLine.js +40 -1
- package/lib/types/screens/TrajectoryScene.d.ts +1 -1
- package/lib/types/screens/TrajectoryScene.d.ts.map +1 -1
- package/lib/types/sessionModes.d.ts +11 -15
- package/lib/types/sessionModes.d.ts.map +1 -1
- package/lib/types/sessionModes.js +11 -0
- package/lib/types/tuiDisplayPrefs.d.ts +2 -68
- package/lib/types/tuiDisplayPrefs.d.ts.map +1 -1
- package/lib/types/tuiDisplayPrefs.js +5 -1
- package/lib/types/utils/credentials.d.ts +13 -0
- package/lib/types/utils/credentials.d.ts.map +1 -0
- package/lib/types/utils/credentials.js +41 -0
- package/lib/types/utils/fileSuggestions.d.ts +2 -9
- package/lib/types/utils/fileSuggestions.d.ts.map +1 -1
- package/lib/types/utils/fold-long-lines.d.ts +38 -0
- package/lib/types/utils/fold-long-lines.d.ts.map +1 -0
- package/lib/types/utils/fold-long-lines.js +91 -0
- package/node_modules/@deepseek-harness-tui/dsh-auth/lib/pi-ai.d.ts +1 -1
- package/node_modules/@deepseek-harness-tui/dsh-auth/lib/profiles.js +4 -0
- package/node_modules/@deepseek-harness-tui/dsh-auth/lib/service.js +15 -2
- package/node_modules/@deepseek-harness-tui/dsh-auth/package.json +10 -10
- package/package.json +125 -81
- package/presets/liangshen/.dsh-tui-managed.json +1 -1
- package/presets/liangshen/agent.cordis.yml +20 -4
- package/presets/liangshen/compaction-epoch.mjs +3 -1
- package/presets/liangshen/instruction-hint.mjs +2 -1
- package/presets/liangshen/session-events.mjs +8 -0
- package/lib/types/dsh-adapter/grants.d.ts.map +0 -1
- package/lib/types/dsh-adapter/host-descriptor.d.ts +0 -24
- package/lib/types/dsh-adapter/host-descriptor.d.ts.map +0 -1
- package/lib/types/dsh-adapter/host-descriptor.js +0 -169
- package/lib/types/dsh-adapter/plugin-test-utils.d.ts +0 -62
- package/lib/types/dsh-adapter/plugin-test-utils.d.ts.map +0 -1
- package/lib/types/dsh-adapter/plugin-test-utils.js +0 -61
- package/lib/types/plugin-spec/negotiate.d.ts.map +0 -1
- package/lib/types/plugin-spec/permission-scope.d.ts.map +0 -1
- package/lib/types/plugin-spec/registry.d.ts.map +0 -1
- package/lib/types/plugin-spec/schema-check.d.ts.map +0 -1
- package/lib/types/plugin-spec/tui-extension.d.ts +0 -16
- package/lib/types/plugin-spec/tui-extension.d.ts.map +0 -1
- package/lib/types/plugin-spec/tui-extension.js +0 -79
- package/lib/types/plugin-spec/types.d.ts.map +0 -1
- package/lib/types/plugin-spec/validate.d.ts.map +0 -1
- package/lib/types/test-utils.d.ts +0 -2
- package/lib/types/test-utils.d.ts.map +0 -1
- package/lib/types/test-utils.js +0 -8
- /package/lib/types/{plugin-spec → adapter/standard}/negotiate.d.ts +0 -0
- /package/lib/types/{plugin-spec → adapter/standard}/negotiate.js +0 -0
- /package/lib/types/{plugin-spec → adapter/standard}/registry.d.ts +0 -0
- /package/lib/types/{plugin-spec → adapter/standard}/schema-check.d.ts +0 -0
- /package/lib/types/{plugin-spec → adapter/standard}/types.js +0 -0
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
/** Build the current dsh-TUI Host Descriptor from live Kernel lifecycle evidence. */
|
|
2
|
+
import { readFileSync } from 'node:fs';
|
|
3
|
+
import { dirname, join } from 'node:path';
|
|
4
|
+
import { fileURLToPath } from 'node:url';
|
|
5
|
+
import { hasProbeEvidence, hasVerificationEvidence } from '../kernel/lifecycle.js';
|
|
6
|
+
import { digestFile, loadSpecData, verifyContractProfiles } from './registry.js';
|
|
7
|
+
import { HOST_SUPPORTED_CONTRACTS } from '../spec/protocol-constants.js';
|
|
8
|
+
import { createContractIndex, validateHost } from './validate.js';
|
|
9
|
+
import { check } from './schema-check.js';
|
|
10
|
+
export { HOST_SUPPORTED_CONTRACTS };
|
|
11
|
+
/** The facet version is part of the host identity, not a protocol definition.
|
|
12
|
+
* Keep a conservative fallback so a descriptor remains schema-valid when the
|
|
13
|
+
* optional vendored registry is unavailable; the contract list is still
|
|
14
|
+
* empty in that degraded state. */
|
|
15
|
+
export const HOST_FACET_API_VERSIONS = Object.freeze(['v1alpha1']);
|
|
16
|
+
function freezeDeep(value, seen = new WeakSet()) {
|
|
17
|
+
if (value === null || typeof value !== 'object' || seen.has(value))
|
|
18
|
+
return value;
|
|
19
|
+
seen.add(value);
|
|
20
|
+
for (const child of Object.values(value))
|
|
21
|
+
freezeDeep(child, seen);
|
|
22
|
+
return Object.freeze(value);
|
|
23
|
+
}
|
|
24
|
+
export function readOwnPackageVersion() {
|
|
25
|
+
const candidates = [];
|
|
26
|
+
try {
|
|
27
|
+
candidates.push(fileURLToPath(import.meta.resolve('@deepseek-harness-tui/dsh-tui/package.json')));
|
|
28
|
+
}
|
|
29
|
+
catch {
|
|
30
|
+
// Fall through to the source/package walk-up path.
|
|
31
|
+
}
|
|
32
|
+
let dir = dirname(fileURLToPath(import.meta.url));
|
|
33
|
+
for (let index = 0; index < 8; index++) {
|
|
34
|
+
candidates.push(join(dir, 'package.json'));
|
|
35
|
+
const parent = dirname(dir);
|
|
36
|
+
if (parent === dir)
|
|
37
|
+
break;
|
|
38
|
+
dir = parent;
|
|
39
|
+
}
|
|
40
|
+
for (const candidate of candidates) {
|
|
41
|
+
try {
|
|
42
|
+
const manifest = JSON.parse(readFileSync(candidate, 'utf8'));
|
|
43
|
+
if (manifest.name === '@deepseek-harness-tui/dsh-tui'
|
|
44
|
+
&& typeof manifest.version === 'string'
|
|
45
|
+
&& manifest.version !== '')
|
|
46
|
+
return manifest.version;
|
|
47
|
+
}
|
|
48
|
+
catch {
|
|
49
|
+
// Keep looking.
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return '0.0.0';
|
|
53
|
+
}
|
|
54
|
+
function coordinateFromCapability(capability) {
|
|
55
|
+
const index = capability.indexOf('#');
|
|
56
|
+
if (index <= 0 || index === capability.length - 1)
|
|
57
|
+
return undefined;
|
|
58
|
+
return {
|
|
59
|
+
apiVersion: capability.slice(0, index),
|
|
60
|
+
kind: capability.slice(index + 1),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function coordinateOf(lifecycle) {
|
|
64
|
+
return lifecycle.coordinate ?? coordinateFromCapability(lifecycle.capability);
|
|
65
|
+
}
|
|
66
|
+
function supportSpec(coordinate, lifecycle, legacyFeatures) {
|
|
67
|
+
if (coordinate.apiVersion === 'tui.dsh/v1alpha1' && coordinate.kind === 'DecisionEvents') {
|
|
68
|
+
// Never fall back to the full event vocabulary. New mode only advertises
|
|
69
|
+
// liveFeatures verified by the driver probe; legacy mode only advertises
|
|
70
|
+
// features passed from the read-only legacy topology probe.
|
|
71
|
+
const features = legacyFeatures ?? [...(lifecycle?.liveFeatures ?? [])];
|
|
72
|
+
return { features: [...new Set(features)].sort() };
|
|
73
|
+
}
|
|
74
|
+
return undefined;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Whether a lifecycle's probe evidence is sufficient to publish the whole
|
|
78
|
+
* capability contract.
|
|
79
|
+
*
|
|
80
|
+
* The protocol definitions for Command / LocalStorage / MessageObserver do not
|
|
81
|
+
* support feature-granular support specs, so a probe must prove the real
|
|
82
|
+
* operational capability (not merely a catalog/list or mounted-runtime
|
|
83
|
+
* diagnostic). DecisionEvents is feature-granular and is handled separately.
|
|
84
|
+
*/
|
|
85
|
+
function hasPublishableCapabilityProbe(lifecycle, coordinate) {
|
|
86
|
+
const detection = lifecycle.detection;
|
|
87
|
+
if (detection.state !== 'supported' && detection.state !== 'degraded')
|
|
88
|
+
return false;
|
|
89
|
+
const evidence = detection.evidence ?? [];
|
|
90
|
+
if (coordinate.kind === 'Command') {
|
|
91
|
+
return evidence.some(item => item.kind === 'probe' && /(?:execute|invoke)/u.test(item.id));
|
|
92
|
+
}
|
|
93
|
+
if (coordinate.kind === 'LocalStorage' || coordinate.kind === 'MessageObserver') {
|
|
94
|
+
return evidence.some(item => item.kind === 'probe' && !item.id.includes('probeDiagnostic'));
|
|
95
|
+
}
|
|
96
|
+
return true;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* DecisionEvents publication additionally requires the actual mediated
|
|
100
|
+
* subscription method to exist. A real channel/probe with a missing
|
|
101
|
+
* `subscribeDecision()` is still a degraded/non-publishable capability.
|
|
102
|
+
*/
|
|
103
|
+
function hasDecisionSubscriptionMethod(lifecycle) {
|
|
104
|
+
const detection = lifecycle.detection;
|
|
105
|
+
if (detection.state !== 'supported' && detection.state !== 'degraded')
|
|
106
|
+
return false;
|
|
107
|
+
return (detection.evidence ?? []).some(item => item.kind === 'method' && item.id.includes('subscribeDecision'));
|
|
108
|
+
}
|
|
109
|
+
function hasDecisionCriticalMissing(lifecycle) {
|
|
110
|
+
const detection = lifecycle.detection;
|
|
111
|
+
if (detection.state !== 'degraded')
|
|
112
|
+
return false;
|
|
113
|
+
return detection.missing.some(item => item.includes('subscribeDecision'));
|
|
114
|
+
}
|
|
115
|
+
function hasPublishableDecisionFeatureEvidence(lifecycle) {
|
|
116
|
+
return hasProbeEvidence(lifecycle)
|
|
117
|
+
&& !hasDecisionCriticalMissing(lifecycle)
|
|
118
|
+
&& hasDecisionSubscriptionMethod(lifecycle)
|
|
119
|
+
&& (lifecycle.liveFeatures?.length ?? 0) > 0;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Select the publishable contract set from live lifecycle evidence.
|
|
123
|
+
*
|
|
124
|
+
* `degraded` remains a diagnostic fact here: it is never promoted to a whole
|
|
125
|
+
* supported contract. If a protocol supports feature granularity, the caller
|
|
126
|
+
* must split the degraded capability into feature-level live lifecycles (or
|
|
127
|
+
* pass `liveFeatures` on a live lifecycle) before this builder can publish it.
|
|
128
|
+
*/
|
|
129
|
+
function publishableLifecycles(lifecycles, warnings, dropped) {
|
|
130
|
+
const published = [];
|
|
131
|
+
for (const lifecycle of lifecycles) {
|
|
132
|
+
const coordinate = coordinateOf(lifecycle);
|
|
133
|
+
if (coordinate === undefined) {
|
|
134
|
+
dropped.push(lifecycle.capability);
|
|
135
|
+
warnings.push(`${lifecycle.capability}: lifecycle has no contract coordinate; cannot publish`);
|
|
136
|
+
continue;
|
|
137
|
+
}
|
|
138
|
+
const key = `${coordinate.apiVersion}#${coordinate.kind}`;
|
|
139
|
+
if (lifecycle.state === 'live') {
|
|
140
|
+
if (!hasVerificationEvidence(lifecycle) || !hasPublishableCapabilityProbe(lifecycle, coordinate)) {
|
|
141
|
+
dropped.push(key);
|
|
142
|
+
warnings.push(`${key}: live lifecycle lacks a publishable real capability probe; not published`);
|
|
143
|
+
continue;
|
|
144
|
+
}
|
|
145
|
+
if (coordinate.apiVersion === 'tui.dsh/v1alpha1' && coordinate.kind === 'DecisionEvents') {
|
|
146
|
+
if (lifecycle.liveFeatures === undefined || lifecycle.liveFeatures.length === 0) {
|
|
147
|
+
dropped.push(key);
|
|
148
|
+
warnings.push(`${key}: live DecisionEvents has no verified feature-level evidence; not published`);
|
|
149
|
+
continue;
|
|
150
|
+
}
|
|
151
|
+
if (!hasPublishableDecisionFeatureEvidence(lifecycle)) {
|
|
152
|
+
dropped.push(key);
|
|
153
|
+
warnings.push(`${key}: live DecisionEvents lacks a real probe and/or the mediated subscribeDecision method; not published`);
|
|
154
|
+
continue;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
published.push({ lifecycle, coordinate });
|
|
158
|
+
}
|
|
159
|
+
else if (lifecycle.state === 'degraded') {
|
|
160
|
+
if (lifecycle.liveFeatures !== undefined && lifecycle.liveFeatures.length > 0
|
|
161
|
+
&& coordinate.apiVersion === 'tui.dsh/v1alpha1'
|
|
162
|
+
&& coordinate.kind === 'DecisionEvents'
|
|
163
|
+
&& hasPublishableDecisionFeatureEvidence(lifecycle)) {
|
|
164
|
+
// Feature-granular publication: only the decomposed live features are
|
|
165
|
+
// advertised, never the whole degraded capability. Probe evidence is
|
|
166
|
+
// mandatory even for feature splits — no probe, no publication — and
|
|
167
|
+
// the mediated subscribeDecision method must also exist.
|
|
168
|
+
published.push({ lifecycle, coordinate });
|
|
169
|
+
warnings.push(`${key}: degraded capability split into live feature-level evidence (${lifecycle.liveFeatures.join(', ')})`);
|
|
170
|
+
}
|
|
171
|
+
else if (lifecycle.liveFeatures !== undefined && lifecycle.liveFeatures.length > 0
|
|
172
|
+
&& coordinate.apiVersion === 'tui.dsh/v1alpha1'
|
|
173
|
+
&& coordinate.kind === 'DecisionEvents') {
|
|
174
|
+
dropped.push(key);
|
|
175
|
+
warnings.push(`${key}: degraded DecisionEvents has feature evidence without a real probe/mediated subscribeDecision method; not published`);
|
|
176
|
+
}
|
|
177
|
+
else {
|
|
178
|
+
dropped.push(key);
|
|
179
|
+
warnings.push(`${key}: degraded capability was not split into publishable live features; not published`);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
dropped.push(key);
|
|
184
|
+
warnings.push(`${key}: capability is ${lifecycle.state}, not live; not published`);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
return published;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Build Host Descriptor only from live lifecycle evidence. This is the
|
|
191
|
+
* canonical production entry point; it never accepts a bare supported array as
|
|
192
|
+
* final fact.
|
|
193
|
+
*/
|
|
194
|
+
export function buildHostDescriptorFromLifecycles(lifecycles, options = { generationId: 'unknown' }) {
|
|
195
|
+
return buildHostDescriptor({ ...options, lifecycles });
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Build the explicit legacy-mode Host Descriptor.
|
|
199
|
+
*
|
|
200
|
+
* P6 keeps this as a first-class mode, not a compatibility shim: it preserves
|
|
201
|
+
* the old default (`legacy` adapter mode) publication semantics. Command /
|
|
202
|
+
* LocalStorage / MessageObserver are declared when their legacy service rows
|
|
203
|
+
* are mounted, without running the new Kernel or any reversible live probe.
|
|
204
|
+
* It is deliberately distinct from the live-only
|
|
205
|
+
* `buildHostDescriptorFromLifecycles` path and returns warnings identifying it
|
|
206
|
+
* as a legacy declaration.
|
|
207
|
+
*/
|
|
208
|
+
export function buildLegacyHostDescriptor(options) {
|
|
209
|
+
return buildHostDescriptor({
|
|
210
|
+
hostId: options.hostId,
|
|
211
|
+
hostVersion: options.hostVersion,
|
|
212
|
+
generationId: options.generationId,
|
|
213
|
+
headless: options.headless,
|
|
214
|
+
specDir: options.specDir,
|
|
215
|
+
legacy: true,
|
|
216
|
+
legacySupported: options.supported,
|
|
217
|
+
legacyDecisionFeatures: options.decisionFeatures,
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
export function buildHostDescriptor(options) {
|
|
221
|
+
const warnings = [];
|
|
222
|
+
const dropped = [];
|
|
223
|
+
const contracts = [];
|
|
224
|
+
const data = loadSpecData(options.specDir);
|
|
225
|
+
// `loadSpecData` rejects malformed/empty facet declarations. Preserve the
|
|
226
|
+
// pinned values exactly when data is valid; use the schema-valid fallback
|
|
227
|
+
// only for the completely unavailable/degraded path.
|
|
228
|
+
const facetApiVersions = data === undefined
|
|
229
|
+
? [...HOST_FACET_API_VERSIONS]
|
|
230
|
+
: [...data.registry.facetApiVersions];
|
|
231
|
+
const profileFailures = data === undefined ? [] : verifyContractProfiles(data);
|
|
232
|
+
const legacyMode = options.legacy === true && options.legacySupported !== undefined;
|
|
233
|
+
// Live lifecycle evidence is the only caller-facing publication source.
|
|
234
|
+
// The old no-lifecycles fallback (advertising HOST_SUPPORTED_CONTRACTS) has
|
|
235
|
+
// been removed: without live lifecycle evidence this host must not claim any
|
|
236
|
+
// negotiated support. Callers that only want static diagnostics get an empty
|
|
237
|
+
// contract surface plus an explicit non-live/host-unavailable warning.
|
|
238
|
+
if (options.lifecycles === undefined && !legacyMode) {
|
|
239
|
+
warnings.push('no live lifecycle evidence supplied; host descriptor advertises no contracts (host unavailable / non-live)');
|
|
240
|
+
}
|
|
241
|
+
if (legacyMode) {
|
|
242
|
+
warnings.push('legacy compatibility descriptor: contracts declared from the mounted legacy service topology without live probe evidence');
|
|
243
|
+
}
|
|
244
|
+
// Admission is a live/feature-split evidence path only. Degraded/staged
|
|
245
|
+
// capabilities are never admitted solely because a service row is mounted.
|
|
246
|
+
//
|
|
247
|
+
// The explicit exception is the legacy compatibility path used by the
|
|
248
|
+
// default `legacy` adapter mode. It is a separate, non-live declaration of
|
|
249
|
+
// the old mounted-service topology (kept alive for zero-behavior-change
|
|
250
|
+
// migration), not a fake live claim and never mixed into new-mode live
|
|
251
|
+
// descriptors.
|
|
252
|
+
const selected = legacyMode
|
|
253
|
+
? options.legacySupported.map(coordinate => ({ coordinate, lifecycle: undefined }))
|
|
254
|
+
: options.lifecycles === undefined
|
|
255
|
+
? []
|
|
256
|
+
: publishableLifecycles(options.lifecycles, warnings, dropped);
|
|
257
|
+
if (data === undefined) {
|
|
258
|
+
warnings.push('admission profile unavailable (dsh-ecosystem-spec/); advertising an empty protocol surface');
|
|
259
|
+
}
|
|
260
|
+
else {
|
|
261
|
+
const index = createContractIndex(data.registry, data.permissions);
|
|
262
|
+
for (const item of selected) {
|
|
263
|
+
const coordinate = item.coordinate;
|
|
264
|
+
const key = `${coordinate.apiVersion}#${coordinate.kind}`;
|
|
265
|
+
const entry = index.lookupContract(coordinate);
|
|
266
|
+
const definition = index.protocols.resolve(coordinate);
|
|
267
|
+
if (entry === undefined || definition === undefined) {
|
|
268
|
+
dropped.push(key);
|
|
269
|
+
warnings.push(`${key}: live implementation has no pinned ProtocolCatalog definition`);
|
|
270
|
+
continue;
|
|
271
|
+
}
|
|
272
|
+
if ('profile' in entry) {
|
|
273
|
+
if (profileFailures.length > 0) {
|
|
274
|
+
dropped.push(key);
|
|
275
|
+
warnings.push(`${key}: TUI contract profile self-check failed (${profileFailures.join(' | ')})`);
|
|
276
|
+
continue;
|
|
277
|
+
}
|
|
278
|
+
let actual;
|
|
279
|
+
try {
|
|
280
|
+
actual = digestFile(data.dir, entry.profile);
|
|
281
|
+
}
|
|
282
|
+
catch {
|
|
283
|
+
dropped.push(key);
|
|
284
|
+
warnings.push(`${key}: TUI profile is unreadable (${entry.profile})`);
|
|
285
|
+
continue;
|
|
286
|
+
}
|
|
287
|
+
if (actual !== entry.profileHash) {
|
|
288
|
+
dropped.push(key);
|
|
289
|
+
warnings.push(`${key}: TUI profile hash drifted (expected ${entry.profileHash}, actual ${actual})`);
|
|
290
|
+
continue;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
const lifecycle = item.lifecycle;
|
|
294
|
+
// Legacy declarations use the same definition/registry resolution but
|
|
295
|
+
// do not invent a live support spec.
|
|
296
|
+
const spec = legacyMode
|
|
297
|
+
? supportSpec(coordinate, undefined, options.legacyDecisionFeatures)
|
|
298
|
+
: supportSpec(coordinate, lifecycle);
|
|
299
|
+
try {
|
|
300
|
+
definition.validateSupport(spec);
|
|
301
|
+
}
|
|
302
|
+
catch (error) {
|
|
303
|
+
dropped.push(key);
|
|
304
|
+
warnings.push(`${key}: support spec rejected by its definition (${error instanceof Error ? error.message : String(error)})`);
|
|
305
|
+
continue;
|
|
306
|
+
}
|
|
307
|
+
contracts.push({
|
|
308
|
+
...coordinate,
|
|
309
|
+
...(spec === undefined ? {} : { spec }),
|
|
310
|
+
definition: 'package' in entry
|
|
311
|
+
? { source: 'dsh-std', package: entry.package }
|
|
312
|
+
: { source: 'tui-profile', profileHash: entry.profileHash },
|
|
313
|
+
permissions: [...entry.permissions],
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
const descriptor = {
|
|
318
|
+
$schema: 'urn:dsh-tui:host-descriptor:0.15',
|
|
319
|
+
hostId: options.hostId ?? 'dsh-tui',
|
|
320
|
+
hostVersion: options.hostVersion ?? readOwnPackageVersion(),
|
|
321
|
+
facetApiVersions: [...facetApiVersions],
|
|
322
|
+
contracts,
|
|
323
|
+
runtime: {
|
|
324
|
+
location: 'local',
|
|
325
|
+
generationId: options.generationId,
|
|
326
|
+
headless: options.headless ?? false,
|
|
327
|
+
},
|
|
328
|
+
trustLevel: 'trusted-in-process',
|
|
329
|
+
platform: { os: process.platform, arch: process.arch, node: process.version },
|
|
330
|
+
};
|
|
331
|
+
if (data !== undefined) {
|
|
332
|
+
try {
|
|
333
|
+
validateHost(createContractIndex(data.registry, data.permissions), descriptor);
|
|
334
|
+
}
|
|
335
|
+
catch (error) {
|
|
336
|
+
warnings.push(`constructed descriptor failed semantic validation: ${error instanceof Error ? error.message : String(error)}`);
|
|
337
|
+
descriptor.contracts.length = 0;
|
|
338
|
+
}
|
|
339
|
+
try {
|
|
340
|
+
check(descriptor, data.schemas.host, data.schemas.host);
|
|
341
|
+
}
|
|
342
|
+
catch (error) {
|
|
343
|
+
warnings.push(`constructed descriptor failed schema validation: ${error instanceof Error ? error.message : String(error)}`);
|
|
344
|
+
descriptor.contracts.length = 0;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
// The descriptor is handed to untrusted admission/diagnostic callers. A
|
|
348
|
+
// cached mutable object would let one caller delete contracts or forge the
|
|
349
|
+
// runtime generation for every later negotiation, so freeze the complete
|
|
350
|
+
// graph and return immutable diagnostic arrays as well.
|
|
351
|
+
return Object.freeze({
|
|
352
|
+
descriptor: freezeDeep(descriptor),
|
|
353
|
+
dropped: Object.freeze(dropped),
|
|
354
|
+
warnings: Object.freeze(warnings),
|
|
355
|
+
});
|
|
356
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** Live, scoped plugin grant evaluation. */
|
|
2
|
-
import type { PermissionRegistry } from '
|
|
2
|
+
import type { PermissionRegistry } from './types.js';
|
|
3
|
+
import { type AdapterRuntimeOptions } from '../kernel/runtime.js';
|
|
3
4
|
export declare const EXTENSION_GRANTS_FILE = "extension-grants.json";
|
|
4
5
|
export interface GrantPrincipal {
|
|
5
6
|
componentId: string;
|
|
@@ -15,11 +16,15 @@ export interface GrantStore {
|
|
|
15
16
|
readonly corrupt: boolean;
|
|
16
17
|
}
|
|
17
18
|
/** Parse a fixed snapshot, primarily for deterministic tests. */
|
|
18
|
-
export declare function parseGrantStore(text: string, registry?: PermissionRegistry): GrantStore;
|
|
19
|
+
export declare function parseGrantStore(text: string, registry?: PermissionRegistry, runtime?: AdapterRuntimeOptions): GrantStore;
|
|
19
20
|
/**
|
|
20
21
|
* Read grants on every decision. File changes therefore affect the next
|
|
21
22
|
* operation without a restart. onChange uses a non-persistent watcher so
|
|
22
23
|
* grant-owned subscriptions can be released even when no event is flowing.
|
|
24
|
+
*
|
|
25
|
+
* When called from a Cordis composition, pass the same immutable
|
|
26
|
+
* `adapterRuntimeFor(ctx)` snapshot so grant evaluation uses the same shadow
|
|
27
|
+
* policy as every other service in that composition root.
|
|
23
28
|
*/
|
|
24
|
-
export declare function readGrantStore(dir?: string, registry?: PermissionRegistry): GrantStore;
|
|
29
|
+
export declare function readGrantStore(dir?: string, registry?: PermissionRegistry, runtime?: AdapterRuntimeOptions): GrantStore;
|
|
25
30
|
//# sourceMappingURL=grants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grants.d.ts","sourceRoot":"","sources":["../../../../src/adapter/standard/grants.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAI5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAGpD,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,sBAAsB,CAAA;AAG7B,eAAO,MAAM,qBAAqB,0BAA0B,CAAA;AAE5D,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,8EAA8E;IAC9E,MAAM,CAAC,SAAS,EAAE,cAAc,GAAG,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAA;IACtF,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IAC/C,gBAAgB,IAAI,SAAS,MAAM,EAAE,CAAA;IACrC,+EAA+E;IAC/E,QAAQ,CAAC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAA;IAC3C,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAC1B;AAoJD,iEAAiE;AACjE,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,QAAQ,CAAC,EAAE,kBAAkB,EAC7B,OAAO,GAAE,qBAA+C,GACvD,UAAU,CAKZ;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAC5B,GAAG,GAAE,MAAiB,EACtB,QAAQ,CAAC,EAAE,kBAAkB,EAC7B,OAAO,GAAE,qBAA+C,GACvD,UAAU,CA0DZ"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/** Live, scoped plugin grant evaluation. */
|
|
2
2
|
import { readFileSync } from 'node:fs';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
|
-
import { normalizePermissionScope, permissionScopeCovers } from '
|
|
5
|
-
import { loadSpecData } from '
|
|
6
|
-
import {
|
|
4
|
+
import { normalizePermissionScope, permissionScopeCovers } from './permission-scope.js';
|
|
5
|
+
import { loadSpecData } from './registry.js';
|
|
6
|
+
import { assertCapabilityShadowPolicy, defaultAdapterRuntime, } from '../kernel/runtime.js';
|
|
7
|
+
import { DATA_DIR } from '../../utils/paths.js';
|
|
7
8
|
export const EXTENSION_GRANTS_FILE = 'extension-grants.json';
|
|
8
9
|
function parseRule(value) {
|
|
9
10
|
if (typeof value === 'string')
|
|
@@ -103,7 +104,7 @@ function hasUnknownActivationRule(rules, principal, permission, scope) {
|
|
|
103
104
|
return declared !== undefined && permissionScopeCovers(permission, declared, actual);
|
|
104
105
|
});
|
|
105
106
|
}
|
|
106
|
-
function storeFrom(table, registry, onChange) {
|
|
107
|
+
function storeFrom(table, registry, onChange, runtime = defaultAdapterRuntime()) {
|
|
107
108
|
const known = new Map((registry?.permissions ?? []).map(entry => [entry.name, entry.default]));
|
|
108
109
|
// The store is a capability, not a mutable configuration object. Keep the
|
|
109
110
|
// live table in the closure and freeze the facade so a traceable Cordis
|
|
@@ -114,6 +115,7 @@ function storeFrom(table, registry, onChange) {
|
|
|
114
115
|
return table().corrupt;
|
|
115
116
|
},
|
|
116
117
|
allows(principalValue, permission, scope) {
|
|
118
|
+
assertCapabilityShadowPolicy('host.grants.evaluate', runtime.mode, runtime.slices);
|
|
117
119
|
const current = table();
|
|
118
120
|
if (current.corrupt || known.get(permission) === undefined)
|
|
119
121
|
return false;
|
|
@@ -137,18 +139,22 @@ function storeFrom(table, registry, onChange) {
|
|
|
137
139
|
});
|
|
138
140
|
}
|
|
139
141
|
/** Parse a fixed snapshot, primarily for deterministic tests. */
|
|
140
|
-
export function parseGrantStore(text, registry) {
|
|
142
|
+
export function parseGrantStore(text, registry, runtime = defaultAdapterRuntime()) {
|
|
141
143
|
const parsed = text === ''
|
|
142
144
|
? { grants: new Map(), denies: new Map(), corrupt: false }
|
|
143
145
|
: parseTable(text);
|
|
144
|
-
return storeFrom(() => parsed, resolveRegistry(registry), () => () => undefined);
|
|
146
|
+
return storeFrom(() => parsed, resolveRegistry(registry), () => () => undefined, runtime);
|
|
145
147
|
}
|
|
146
148
|
/**
|
|
147
149
|
* Read grants on every decision. File changes therefore affect the next
|
|
148
150
|
* operation without a restart. onChange uses a non-persistent watcher so
|
|
149
151
|
* grant-owned subscriptions can be released even when no event is flowing.
|
|
152
|
+
*
|
|
153
|
+
* When called from a Cordis composition, pass the same immutable
|
|
154
|
+
* `adapterRuntimeFor(ctx)` snapshot so grant evaluation uses the same shadow
|
|
155
|
+
* policy as every other service in that composition root.
|
|
150
156
|
*/
|
|
151
|
-
export function readGrantStore(dir = DATA_DIR, registry) {
|
|
157
|
+
export function readGrantStore(dir = DATA_DIR, registry, runtime = defaultAdapterRuntime()) {
|
|
152
158
|
const file = join(dir, EXTENSION_GRANTS_FILE);
|
|
153
159
|
const readCurrent = () => {
|
|
154
160
|
let text;
|
|
@@ -209,5 +215,5 @@ export function readGrantStore(dir = DATA_DIR, registry) {
|
|
|
209
215
|
}
|
|
210
216
|
};
|
|
211
217
|
};
|
|
212
|
-
return storeFrom(() => readCurrent().table, resolveRegistry(registry), onChange);
|
|
218
|
+
return storeFrom(() => readCurrent().table, resolveRegistry(registry), onChange, runtime);
|
|
213
219
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical dsh-std / dsh-ecosystem-spec plane for the TUI adapter.
|
|
3
|
+
*
|
|
4
|
+
* This is the single import point for protocol catalogs, Host Descriptor
|
|
5
|
+
* construction, admission/negotiation, permission scopes, grant evaluation
|
|
6
|
+
* and the pinned dsh-ecosystem-spec profile loader.
|
|
7
|
+
*
|
|
8
|
+
* Invariants:
|
|
9
|
+
* - No `@deepseek-ai/*` imports are allowed in this directory.
|
|
10
|
+
* - Protocol semantics stay owned by dsh-std / dsh-ecosystem-spec; Host Ports
|
|
11
|
+
* must not invent a second protocol language.
|
|
12
|
+
* - P6 removed the legacy `src/plugin-spec/*` and
|
|
13
|
+
* `src/dsh-adapter/{grants,host-descriptor}.ts` shims; production code
|
|
14
|
+
* imports this canonical surface directly.
|
|
15
|
+
*/
|
|
16
|
+
export * from './types.js';
|
|
17
|
+
export * from './protocols.js';
|
|
18
|
+
export * from './schema-check.js';
|
|
19
|
+
export * from './permission-scope.js';
|
|
20
|
+
export * from './tui-extension.js';
|
|
21
|
+
export * from './registry.js';
|
|
22
|
+
export * from './admission.js';
|
|
23
|
+
export * from './grants.js';
|
|
24
|
+
export * from './descriptor.js';
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/adapter/standard/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical dsh-std / dsh-ecosystem-spec plane for the TUI adapter.
|
|
3
|
+
*
|
|
4
|
+
* This is the single import point for protocol catalogs, Host Descriptor
|
|
5
|
+
* construction, admission/negotiation, permission scopes, grant evaluation
|
|
6
|
+
* and the pinned dsh-ecosystem-spec profile loader.
|
|
7
|
+
*
|
|
8
|
+
* Invariants:
|
|
9
|
+
* - No `@deepseek-ai/*` imports are allowed in this directory.
|
|
10
|
+
* - Protocol semantics stay owned by dsh-std / dsh-ecosystem-spec; Host Ports
|
|
11
|
+
* must not invent a second protocol language.
|
|
12
|
+
* - P6 removed the legacy `src/plugin-spec/*` and
|
|
13
|
+
* `src/dsh-adapter/{grants,host-descriptor}.ts` shims; production code
|
|
14
|
+
* imports this canonical surface directly.
|
|
15
|
+
*/
|
|
16
|
+
export * from './types.js';
|
|
17
|
+
export * from './protocols.js';
|
|
18
|
+
export * from './schema-check.js';
|
|
19
|
+
export * from './permission-scope.js';
|
|
20
|
+
export * from './tui-extension.js';
|
|
21
|
+
export * from './registry.js';
|
|
22
|
+
export * from './admission.js';
|
|
23
|
+
export * from './grants.js';
|
|
24
|
+
export * from './descriptor.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"negotiate.d.ts","sourceRoot":"","sources":["../../../../src/adapter/standard/negotiate.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAIlF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAElD,OAAO,KAAK,EAAE,cAAc,EAAsB,mBAAmB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAIzG,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,4EAA4E;IAC5E,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,SAAS,CACvB,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,cAAc,EACxB,IAAI,EAAE,cAAc,EACpB,MAAM,GAAE,SAAS,iBAAiB,EAAO,GACxC,mBAAmB,CA6FrB"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/** Permission scope normalization shared by admission and runtime checks. */
|
|
2
|
+
import { INTERCEPT_PERMISSIONS, INTERCEPT_EVENT_SCOPE_BY_PERMISSION, TUI_EVENT_SCOPE_NAMES } from '../spec/protocol-constants.js';
|
|
3
|
+
export { INTERCEPT_PERMISSIONS, INTERCEPT_EVENT_SCOPE_BY_PERMISSION, TUI_EVENT_SCOPE_NAMES };
|
|
4
|
+
/** Storage permission names are derived from the same vendored registry. */
|
|
2
5
|
export declare const STORAGE_PERMISSIONS: Set<string>;
|
|
3
|
-
export declare const INTERCEPT_PERMISSIONS: Set<string>;
|
|
4
|
-
/** The decision point controlled by each intercept permission. Keeping this
|
|
5
|
-
* mapping in the scope adapter (rather than accepting every `tui/*` name for
|
|
6
|
-
* every permission) prevents a manifest or grant from silently crossing an
|
|
7
|
-
* event boundary. */
|
|
8
|
-
export declare const INTERCEPT_EVENT_SCOPE_BY_PERMISSION: Readonly<Record<string, string>>;
|
|
9
6
|
/** A session scope is carried through the message envelope and may also be
|
|
10
7
|
* used by an intercept grant. Keep the canonical bound here so admission,
|
|
11
8
|
* grant evaluation, and runtime delivery cannot disagree about whether a
|
|
@@ -26,7 +23,5 @@ export declare function scopeCovers(declared: NormalizedPermissionScope, actual:
|
|
|
26
23
|
* denies, so a narrow `session:<id>` deny wins over a broad event grant.
|
|
27
24
|
*/
|
|
28
25
|
export declare function permissionScopeCovers(permission: string, declared: NormalizedPermissionScope, actual: NormalizedPermissionScope): boolean;
|
|
29
|
-
/** Decision permission scopes may be expressed as one named event point. */
|
|
30
|
-
export declare const TUI_EVENT_SCOPE_NAMES: Set<string>;
|
|
31
26
|
export declare function rawScopeCovers(permission: string, declared: string, actual: string, componentId: string): boolean;
|
|
32
27
|
//# sourceMappingURL=permission-scope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permission-scope.d.ts","sourceRoot":"","sources":["../../../../src/adapter/standard/permission-scope.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAE7E,OAAO,EAEL,qBAAqB,EACrB,mCAAmC,EACnC,qBAAqB,EACtB,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,qBAAqB,EAAE,mCAAmC,EAAE,qBAAqB,EAAE,CAAA;AAE5F,4EAA4E;AAC5E,eAAO,MAAM,mBAAmB,aAE/B,CAAA;AAGD;;;0BAG0B;AAC1B,eAAO,MAAM,uBAAuB,MAAM,CAAA;AAI1C,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;AAErE,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd;AAED,4EAA4E;AAC5E,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,GAClB,yBAAyB,GAAG,SAAS,CA2BvC;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,yBAAyB,EAAE,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAI3G;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,yBAAyB,EACnC,MAAM,EAAE,yBAAyB,GAChC,OAAO,CAKT;AAED,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAMjH"}
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
/** Permission scope normalization shared by admission and runtime checks. */
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
'session.switch.intercept',
|
|
7
|
-
'session.compact.intercept',
|
|
8
|
-
]);
|
|
9
|
-
/** The decision point controlled by each intercept permission. Keeping this
|
|
10
|
-
* mapping in the scope adapter (rather than accepting every `tui/*` name for
|
|
11
|
-
* every permission) prevents a manifest or grant from silently crossing an
|
|
12
|
-
* event boundary. */
|
|
13
|
-
export const INTERCEPT_EVENT_SCOPE_BY_PERMISSION = Object.freeze({
|
|
14
|
-
'session.input.intercept': 'tui/input',
|
|
15
|
-
'session.rewind.intercept': 'tui/rewind-prompt',
|
|
16
|
-
'session.switch.intercept': 'tui/session-switch',
|
|
17
|
-
'session.compact.intercept': 'tui/compact',
|
|
18
|
-
});
|
|
2
|
+
import { EXPECTED_PERMISSIONS, INTERCEPT_PERMISSIONS, INTERCEPT_EVENT_SCOPE_BY_PERMISSION, TUI_EVENT_SCOPE_NAMES, } from '../spec/protocol-constants.js';
|
|
3
|
+
export { INTERCEPT_PERMISSIONS, INTERCEPT_EVENT_SCOPE_BY_PERMISSION, TUI_EVENT_SCOPE_NAMES };
|
|
4
|
+
/** Storage permission names are derived from the same vendored registry. */
|
|
5
|
+
export const STORAGE_PERMISSIONS = new Set(EXPECTED_PERMISSIONS.filter(permission => permission.name.startsWith('storage.local.')).map(permission => permission.name));
|
|
19
6
|
/** A session scope is carried through the message envelope and may also be
|
|
20
7
|
* used by an intercept grant. Keep the canonical bound here so admission,
|
|
21
8
|
* grant evaluation, and runtime delivery cannot disagree about whether a
|
|
@@ -72,15 +59,6 @@ export function permissionScopeCovers(permission, declared, actual) {
|
|
|
72
59
|
&& declared.kind === 'event'
|
|
73
60
|
&& actual.kind === 'session';
|
|
74
61
|
}
|
|
75
|
-
/** Decision permission scopes may be expressed as one named event point. */
|
|
76
|
-
export const TUI_EVENT_SCOPE_NAMES = new Set([
|
|
77
|
-
'tui/input',
|
|
78
|
-
'tui/rewind-prompt',
|
|
79
|
-
'tui/rewind-done',
|
|
80
|
-
'tui/session-switch',
|
|
81
|
-
'tui/session-switched',
|
|
82
|
-
'tui/compact',
|
|
83
|
-
]);
|
|
84
62
|
export function rawScopeCovers(permission, declared, actual, componentId) {
|
|
85
63
|
const normalizedDeclared = normalizePermissionScope(permission, declared, componentId);
|
|
86
64
|
const normalizedActual = normalizePermissionScope(permission, actual, componentId);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical re-export surface for dsh-std public protocol packages.
|
|
3
|
+
*
|
|
4
|
+
* This is the only place in the new adapter where dsh-std runtime/type APIs
|
|
5
|
+
* are re-exported for the legacy adapter layer. Consumer modules that still
|
|
6
|
+
* live in `src/dsh-adapter/` during incremental migration should import from
|
|
7
|
+
* here instead of importing `@dsh-std/*` directly.
|
|
8
|
+
*/
|
|
9
|
+
export { parseManifest, projectManifest } from '@dsh-std/manifest';
|
|
10
|
+
export { validateMessageEvent } from '@dsh-std/messages';
|
|
11
|
+
export { validateDeleteInput, validateDeleteOutput, validateGetInput, validateGetOutput, validateSetInput, validateSetOutput, } from '@dsh-std/storage';
|
|
12
|
+
//# sourceMappingURL=protocols.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protocols.d.ts","sourceRoot":"","sources":["../../../../src/adapter/standard/protocols.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical re-export surface for dsh-std public protocol packages.
|
|
3
|
+
*
|
|
4
|
+
* This is the only place in the new adapter where dsh-std runtime/type APIs
|
|
5
|
+
* are re-exported for the legacy adapter layer. Consumer modules that still
|
|
6
|
+
* live in `src/dsh-adapter/` during incremental migration should import from
|
|
7
|
+
* here instead of importing `@dsh-std/*` directly.
|
|
8
|
+
*/
|
|
9
|
+
export { parseManifest, projectManifest } from '@dsh-std/manifest';
|
|
10
|
+
export { validateMessageEvent } from '@dsh-std/messages';
|
|
11
|
+
export { validateDeleteInput, validateDeleteOutput, validateGetInput, validateGetOutput, validateSetInput, validateSetOutput, } from '@dsh-std/storage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/adapter/standard/registry.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAQ5D,OAAO,KAAK,EAAE,gBAAgB,EAAmB,kBAAkB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAEtG,eAAO,MAAM,gBAAgB,6CAA6C,CAAA;AAC1E,eAAO,MAAM,uBAAuB,6CAA6C,CAAA;AAEjF,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,WAAW,EAAE,kBAAkB,CAAA;IAC/B,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;QAC7B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;QAC/B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAC/B,CAAA;CACF;AASD,wBAAgB,aAAa,CAAC,KAAK,GAAE,MAAgD,GAAG,MAAM,GAAG,SAAS,CASzG;AAiFD,wBAAgB,YAAY,CAAC,GAAG,GAAE,MAAM,GAAG,SAA2B,GAAG,QAAQ,GAAG,SAAS,CAiB5F;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,gBAAgB,GAAG,aAAa,EAAE,CAI3E;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,MAAM,EAAE,CAE5E;AAED,sEAAsE;AACtE,wBAAgB,cAAc,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,EAAE,CAuCvD;AAED,4EAA4E;AAC5E,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,EAAE,CA2C/D"}
|