@dsh-cove/dsh-web-all 0.0.0-stage → 0.4.3
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/LICENSE +202 -0
- package/README.i18n.yaml +6 -0
- package/README.md +201 -2
- package/README.zh.md +202 -0
- package/cordis.patch.yml +59 -0
- package/lib/client.js +25413 -0
- package/lib/client.js.map +1 -0
- package/lib/index.js +20024 -0
- package/lib/invariant.js +6 -0
- package/lib/types/client/compat.d.ts +29 -0
- package/lib/types/client/compat.d.ts.map +1 -0
- package/lib/types/client/compat.js +69 -0
- package/lib/types/client/conversation/git-branch.d.ts +13 -0
- package/lib/types/client/conversation/git-branch.d.ts.map +1 -0
- package/lib/types/client/conversation/git-branch.js +121 -0
- package/lib/types/client/conversation/git-graph/api.d.ts +42 -0
- package/lib/types/client/conversation/git-graph/api.d.ts.map +1 -0
- package/lib/types/client/conversation/git-graph/api.js +72 -0
- package/lib/types/client/conversation/git-graph/branch-chip.d.ts +47 -0
- package/lib/types/client/conversation/git-graph/branch-chip.d.ts.map +1 -0
- package/lib/types/client/conversation/git-graph/branch-chip.js +268 -0
- package/lib/types/client/conversation/git-graph/branch-popover.d.ts +32 -0
- package/lib/types/client/conversation/git-graph/branch-popover.d.ts.map +1 -0
- package/lib/types/client/conversation/git-graph/branch-popover.js +108 -0
- package/lib/types/client/conversation/git-graph/chip.d.ts +24 -0
- package/lib/types/client/conversation/git-graph/chip.d.ts.map +1 -0
- package/lib/types/client/conversation/git-graph/chip.js +15 -0
- package/lib/types/client/conversation/git-graph/create-branch-dialog.d.ts +30 -0
- package/lib/types/client/conversation/git-graph/create-branch-dialog.d.ts.map +1 -0
- package/lib/types/client/conversation/git-graph/create-branch-dialog.js +52 -0
- package/lib/types/client/conversation/git-graph/error-copy.d.ts +17 -0
- package/lib/types/client/conversation/git-graph/error-copy.d.ts.map +1 -0
- package/lib/types/client/conversation/git-graph/error-copy.js +44 -0
- package/lib/types/client/conversation/git-graph/graph-dialog.d.ts +21 -0
- package/lib/types/client/conversation/git-graph/graph-dialog.d.ts.map +1 -0
- package/lib/types/client/conversation/git-graph/graph-dialog.js +112 -0
- package/lib/types/client/conversation/git-graph/hero-seat.d.ts +53 -0
- package/lib/types/client/conversation/git-graph/hero-seat.d.ts.map +1 -0
- package/lib/types/client/conversation/git-graph/hero-seat.js +54 -0
- package/lib/types/client/conversation/git-graph/locales.d.ts +88 -0
- package/lib/types/client/conversation/git-graph/locales.d.ts.map +1 -0
- package/lib/types/client/conversation/git-graph/locales.js +85 -0
- package/lib/types/client/conversation/git-graph/sse-leader.d.ts +37 -0
- package/lib/types/client/conversation/git-graph/sse-leader.d.ts.map +1 -0
- package/lib/types/client/conversation/git-graph/sse-leader.js +101 -0
- package/lib/types/client/conversation/index.d.ts +43 -0
- package/lib/types/client/conversation/index.d.ts.map +1 -0
- package/lib/types/client/conversation/index.js +39 -0
- package/lib/types/client/conversation/selector-context.d.ts +12 -0
- package/lib/types/client/conversation/selector-context.d.ts.map +1 -0
- package/lib/types/client/conversation/selector-context.js +11 -0
- package/lib/types/client/conversation/session-lane-chip.d.ts +72 -0
- package/lib/types/client/conversation/session-lane-chip.d.ts.map +1 -0
- package/lib/types/client/conversation/session-lane-chip.js +163 -0
- package/lib/types/client/conversation/session-lane-locales.d.ts +22 -0
- package/lib/types/client/conversation/session-lane-locales.d.ts.map +1 -0
- package/lib/types/client/conversation/session-lane-locales.js +29 -0
- package/lib/types/client/conversation/subagent-model-dom.d.ts +16 -0
- package/lib/types/client/conversation/subagent-model-dom.d.ts.map +1 -0
- package/lib/types/client/conversation/subagent-model-dom.js +138 -0
- package/lib/types/client/conversation/subagent-model.d.ts +17 -0
- package/lib/types/client/conversation/subagent-model.d.ts.map +1 -0
- package/lib/types/client/conversation/subagent-model.js +156 -0
- package/lib/types/client/conversation/worktree/api.d.ts +97 -0
- package/lib/types/client/conversation/worktree/api.d.ts.map +1 -0
- package/lib/types/client/conversation/worktree/api.js +239 -0
- package/lib/types/client/conversation/worktree/dialogs/DeleteWorktreeDialog.d.ts +35 -0
- package/lib/types/client/conversation/worktree/dialogs/DeleteWorktreeDialog.d.ts.map +1 -0
- package/lib/types/client/conversation/worktree/dialogs/DeleteWorktreeDialog.js +55 -0
- package/lib/types/client/conversation/worktree/dialogs/PrCreateDialog.d.ts +27 -0
- package/lib/types/client/conversation/worktree/dialogs/PrCreateDialog.d.ts.map +1 -0
- package/lib/types/client/conversation/worktree/dialogs/PrCreateDialog.js +49 -0
- package/lib/types/client/conversation/worktree/lane-binding.d.ts +46 -0
- package/lib/types/client/conversation/worktree/lane-binding.d.ts.map +1 -0
- package/lib/types/client/conversation/worktree/lane-binding.js +60 -0
- package/lib/types/client/conversation/worktree/lane-menu.d.ts +51 -0
- package/lib/types/client/conversation/worktree/lane-menu.d.ts.map +1 -0
- package/lib/types/client/conversation/worktree/lane-menu.js +140 -0
- package/lib/types/client/conversation/worktree/lane-open.d.ts +126 -0
- package/lib/types/client/conversation/worktree/lane-open.d.ts.map +1 -0
- package/lib/types/client/conversation/worktree/lane-open.js +140 -0
- package/lib/types/client/conversation/worktree/lane-workspace-sweeper.d.ts +79 -0
- package/lib/types/client/conversation/worktree/lane-workspace-sweeper.d.ts.map +1 -0
- package/lib/types/client/conversation/worktree/lane-workspace-sweeper.js +116 -0
- package/lib/types/client/conversation/worktree/lifecycle.d.ts +29 -0
- package/lib/types/client/conversation/worktree/lifecycle.d.ts.map +1 -0
- package/lib/types/client/conversation/worktree/lifecycle.js +67 -0
- package/lib/types/client/conversation/worktree/locales.d.ts +58 -0
- package/lib/types/client/conversation/worktree/locales.d.ts.map +1 -0
- package/lib/types/client/conversation/worktree/locales.js +86 -0
- package/lib/types/client/conversation/worktree/semantic.d.ts +11 -0
- package/lib/types/client/conversation/worktree/semantic.d.ts.map +1 -0
- package/lib/types/client/conversation/worktree/semantic.js +10 -0
- package/lib/types/client/index.d.ts +14 -0
- package/lib/types/client/index.d.ts.map +1 -0
- package/lib/types/client/index.js +45 -0
- package/lib/types/client/lark-inbox/i18n.d.ts +63 -0
- package/lib/types/client/lark-inbox/i18n.d.ts.map +1 -0
- package/lib/types/client/lark-inbox/i18n.js +119 -0
- package/lib/types/client/lark-inbox/wizard.d.ts +19 -0
- package/lib/types/client/lark-inbox/wizard.d.ts.map +1 -0
- package/lib/types/client/lark-inbox/wizard.js +158 -0
- package/lib/types/client/notify/i18n.d.ts +47 -0
- package/lib/types/client/notify/i18n.d.ts.map +1 -0
- package/lib/types/client/notify/i18n.js +87 -0
- package/lib/types/client/settings/family-scope.d.ts +23 -0
- package/lib/types/client/settings/family-scope.d.ts.map +1 -0
- package/lib/types/client/settings/family-scope.js +30 -0
- package/lib/types/client/settings/lark-inbox.d.ts +73 -0
- package/lib/types/client/settings/lark-inbox.d.ts.map +1 -0
- package/lib/types/client/settings/lark-inbox.js +144 -0
- package/lib/types/client/settings/notify.d.ts +66 -0
- package/lib/types/client/settings/notify.d.ts.map +1 -0
- package/lib/types/client/settings/notify.js +139 -0
- package/lib/types/client/settings/primitives-0.2.d.ts +137 -0
- package/lib/types/client/settings/primitives-0.2.d.ts.map +1 -0
- package/lib/types/client/settings/primitives-0.2.js +8 -0
- package/lib/types/client/sidebar/RenderBoundary.d.ts +17 -0
- package/lib/types/client/sidebar/RenderBoundary.d.ts.map +1 -0
- package/lib/types/client/sidebar/RenderBoundary.js +18 -0
- package/lib/types/client/sidebar/agent-browser.d.ts +9 -0
- package/lib/types/client/sidebar/agent-browser.d.ts.map +1 -0
- package/lib/types/client/sidebar/agent-browser.js +102 -0
- package/lib/types/client/sidebar/diff-view.d.ts +58 -0
- package/lib/types/client/sidebar/diff-view.d.ts.map +1 -0
- package/lib/types/client/sidebar/diff-view.js +223 -0
- package/lib/types/client/sidebar/git-workbench.d.ts +41 -0
- package/lib/types/client/sidebar/git-workbench.d.ts.map +1 -0
- package/lib/types/client/sidebar/git-workbench.js +480 -0
- package/lib/types/client/sidebar/icons.d.ts +9 -0
- package/lib/types/client/sidebar/icons.d.ts.map +1 -0
- package/lib/types/client/sidebar/icons.js +6 -0
- package/lib/types/client/sidebar/index.d.ts +19 -0
- package/lib/types/client/sidebar/index.d.ts.map +1 -0
- package/lib/types/client/sidebar/index.js +12 -0
- package/lib/types/client/sidebar/native-panels.d.ts +19 -0
- package/lib/types/client/sidebar/native-panels.d.ts.map +1 -0
- package/lib/types/client/sidebar/native-panels.js +103 -0
- package/lib/types/client/sidebar/page-shell.d.ts +52 -0
- package/lib/types/client/sidebar/page-shell.d.ts.map +1 -0
- package/lib/types/client/sidebar/page-shell.js +18 -0
- package/lib/types/client/sidebar/panels/memoir/api.d.ts +258 -0
- package/lib/types/client/sidebar/panels/memoir/api.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/memoir/api.js +135 -0
- package/lib/types/client/sidebar/panels/memoir/controller.d.ts +22 -0
- package/lib/types/client/sidebar/panels/memoir/controller.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/memoir/controller.js +38 -0
- package/lib/types/client/sidebar/panels/memoir/cwd.d.ts +80 -0
- package/lib/types/client/sidebar/panels/memoir/cwd.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/memoir/cwd.js +96 -0
- package/lib/types/client/sidebar/panels/memoir/i18n.d.ts +21 -0
- package/lib/types/client/sidebar/panels/memoir/i18n.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/memoir/i18n.js +288 -0
- package/lib/types/client/sidebar/panels/memoir/panel-activation.d.ts +11 -0
- package/lib/types/client/sidebar/panels/memoir/panel-activation.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/memoir/panel-activation.js +37 -0
- package/lib/types/client/sidebar/panels/memoir/panel.d.ts +26 -0
- package/lib/types/client/sidebar/panels/memoir/panel.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/memoir/panel.js +423 -0
- package/lib/types/client/sidebar/panels/memoir/styles.d.ts +22 -0
- package/lib/types/client/sidebar/panels/memoir/styles.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/memoir/styles.js +774 -0
- package/lib/types/client/sidebar/panels/memoir/types.d.ts +7 -0
- package/lib/types/client/sidebar/panels/memoir/types.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/memoir/types.js +5 -0
- package/lib/types/client/sidebar/panels/ssh/ClusterTab.d.ts +8 -0
- package/lib/types/client/sidebar/panels/ssh/ClusterTab.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/ClusterTab.js +53 -0
- package/lib/types/client/sidebar/panels/ssh/HostFormDialog.d.ts +13 -0
- package/lib/types/client/sidebar/panels/ssh/HostFormDialog.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/HostFormDialog.js +110 -0
- package/lib/types/client/sidebar/panels/ssh/HostsTab.d.ts +26 -0
- package/lib/types/client/sidebar/panels/ssh/HostsTab.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/HostsTab.js +175 -0
- package/lib/types/client/sidebar/panels/ssh/SshPanel.d.ts +14 -0
- package/lib/types/client/sidebar/panels/ssh/SshPanel.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/SshPanel.js +34 -0
- package/lib/types/client/sidebar/panels/ssh/TerminalTab.d.ts +18 -0
- package/lib/types/client/sidebar/panels/ssh/TerminalTab.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/TerminalTab.js +207 -0
- package/lib/types/client/sidebar/panels/ssh/TransferTab.d.ts +8 -0
- package/lib/types/client/sidebar/panels/ssh/TransferTab.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/TransferTab.js +168 -0
- package/lib/types/client/sidebar/panels/ssh/TunnelsTab.d.ts +18 -0
- package/lib/types/client/sidebar/panels/ssh/TunnelsTab.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/TunnelsTab.js +161 -0
- package/lib/types/client/sidebar/panels/ssh/api.d.ts +80 -0
- package/lib/types/client/sidebar/panels/ssh/api.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/api.js +333 -0
- package/lib/types/client/sidebar/panels/ssh/controller.d.ts +23 -0
- package/lib/types/client/sidebar/panels/ssh/controller.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/controller.js +41 -0
- package/lib/types/client/sidebar/panels/ssh/helpers.d.ts +44 -0
- package/lib/types/client/sidebar/panels/ssh/helpers.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/helpers.js +53 -0
- package/lib/types/client/sidebar/panels/ssh/locales.d.ts +155 -0
- package/lib/types/client/sidebar/panels/ssh/locales.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/locales.js +312 -0
- package/lib/types/client/sidebar/panels/ssh/xterm.css.d.ts +3 -0
- package/lib/types/client/sidebar/panels/ssh/xterm.css.d.ts.map +1 -0
- package/lib/types/client/sidebar/panels/ssh/xterm.css.js +2 -0
- package/lib/types/client/sidebar/right-pane-i18n.d.ts +121 -0
- package/lib/types/client/sidebar/right-pane-i18n.d.ts.map +1 -0
- package/lib/types/client/sidebar/right-pane-i18n.js +239 -0
- package/lib/types/client/sidebar/right-pane.d.ts +27 -0
- package/lib/types/client/sidebar/right-pane.d.ts.map +1 -0
- package/lib/types/client/sidebar/right-pane.js +112 -0
- package/lib/types/client/sidebar/scope.d.ts +17 -0
- package/lib/types/client/sidebar/scope.d.ts.map +1 -0
- package/lib/types/client/sidebar/scope.js +41 -0
- package/lib/types/client/trust.d.ts +78 -0
- package/lib/types/client/trust.d.ts.map +1 -0
- package/lib/types/client/trust.js +130 -0
- package/lib/types/client/ui-icons.d.ts +19 -0
- package/lib/types/client/ui-icons.d.ts.map +1 -0
- package/lib/types/client/ui-icons.js +33 -0
- package/lib/types/core/git-graph/commands.d.ts +36 -0
- package/lib/types/core/git-graph/commands.d.ts.map +1 -0
- package/lib/types/core/git-graph/commands.js +122 -0
- package/lib/types/core/git-graph/protocol.d.ts +104 -0
- package/lib/types/core/git-graph/protocol.d.ts.map +1 -0
- package/lib/types/core/git-graph/protocol.js +142 -0
- package/lib/types/core/index.d.ts +3 -0
- package/lib/types/core/index.d.ts.map +1 -0
- package/lib/types/core/index.js +2 -0
- package/lib/types/core/lark-inbox/gating.d.ts +21 -0
- package/lib/types/core/lark-inbox/gating.d.ts.map +1 -0
- package/lib/types/core/lark-inbox/gating.js +17 -0
- package/lib/types/core/lark-inbox/queue.d.ts +27 -0
- package/lib/types/core/lark-inbox/queue.d.ts.map +1 -0
- package/lib/types/core/lark-inbox/queue.js +78 -0
- package/lib/types/core/memoir/protocol.d.ts +42 -0
- package/lib/types/core/memoir/protocol.d.ts.map +1 -0
- package/lib/types/core/memoir/protocol.js +8 -0
- package/lib/types/core/no-browser-auth/contract.d.ts +22 -0
- package/lib/types/core/no-browser-auth/contract.d.ts.map +1 -0
- package/lib/types/core/no-browser-auth/contract.js +9 -0
- package/lib/types/core/notify/contract.d.ts +133 -0
- package/lib/types/core/notify/contract.d.ts.map +1 -0
- package/lib/types/core/notify/contract.js +186 -0
- package/lib/types/core/notify/feed.d.ts +116 -0
- package/lib/types/core/notify/feed.d.ts.map +1 -0
- package/lib/types/core/notify/feed.js +214 -0
- package/lib/types/core/playwright-sessions/contracts.d.ts +98 -0
- package/lib/types/core/playwright-sessions/contracts.d.ts.map +1 -0
- package/lib/types/core/playwright-sessions/contracts.js +68 -0
- package/lib/types/core/playwright-sessions/control.d.ts +19 -0
- package/lib/types/core/playwright-sessions/control.d.ts.map +1 -0
- package/lib/types/core/playwright-sessions/control.js +9 -0
- package/lib/types/core/playwright-sessions/index.d.ts +4 -0
- package/lib/types/core/playwright-sessions/index.d.ts.map +1 -0
- package/lib/types/core/playwright-sessions/index.js +3 -0
- package/lib/types/core/playwright-sessions/names.d.ts +4 -0
- package/lib/types/core/playwright-sessions/names.d.ts.map +1 -0
- package/lib/types/core/playwright-sessions/names.js +84 -0
- package/lib/types/core/playwright-sessions/schema.d.ts +4 -0
- package/lib/types/core/playwright-sessions/schema.d.ts.map +1 -0
- package/lib/types/core/playwright-sessions/schema.js +90 -0
- package/lib/types/core/playwright-sessions/wire.d.ts +78 -0
- package/lib/types/core/playwright-sessions/wire.d.ts.map +1 -0
- package/lib/types/core/playwright-sessions/wire.js +103 -0
- package/lib/types/core/remote-access/paths.d.ts +19 -0
- package/lib/types/core/remote-access/paths.d.ts.map +1 -0
- package/lib/types/core/remote-access/paths.js +18 -0
- package/lib/types/core/remote-web-ui/security.d.ts +35 -0
- package/lib/types/core/remote-web-ui/security.d.ts.map +1 -0
- package/lib/types/core/remote-web-ui/security.js +146 -0
- package/lib/types/core/right-pane/protocol.d.ts +25 -0
- package/lib/types/core/right-pane/protocol.d.ts.map +1 -0
- package/lib/types/core/right-pane/protocol.js +91 -0
- package/lib/types/core/schedule-mode/index.d.ts +7 -0
- package/lib/types/core/schedule-mode/index.d.ts.map +1 -0
- package/lib/types/core/schedule-mode/index.js +6 -0
- package/lib/types/core/schedule-mode/native.d.ts +35 -0
- package/lib/types/core/schedule-mode/native.d.ts.map +1 -0
- package/lib/types/core/schedule-mode/native.js +82 -0
- package/lib/types/core/schedule-mode/types.d.ts +177 -0
- package/lib/types/core/schedule-mode/types.d.ts.map +1 -0
- package/lib/types/core/schedule-mode/types.js +65 -0
- package/lib/types/core/schedule-mode/view.d.ts +62 -0
- package/lib/types/core/schedule-mode/view.d.ts.map +1 -0
- package/lib/types/core/schedule-mode/view.js +4 -0
- package/lib/types/core/ssh/protocol.d.ts +215 -0
- package/lib/types/core/ssh/protocol.d.ts.map +1 -0
- package/lib/types/core/ssh/protocol.js +23 -0
- package/lib/types/core/subagent-model/badges.d.ts +73 -0
- package/lib/types/core/subagent-model/badges.d.ts.map +1 -0
- package/lib/types/core/subagent-model/badges.js +105 -0
- package/lib/types/core/subagent-model/model-resolver.d.ts +25 -0
- package/lib/types/core/subagent-model/model-resolver.d.ts.map +1 -0
- package/lib/types/core/subagent-model/model-resolver.js +60 -0
- package/lib/types/core/worktree/invariant.d.ts +62 -0
- package/lib/types/core/worktree/invariant.d.ts.map +1 -0
- package/lib/types/core/worktree/invariant.js +72 -0
- package/lib/types/core/worktree/manifest.d.ts +71 -0
- package/lib/types/core/worktree/manifest.d.ts.map +1 -0
- package/lib/types/core/worktree/manifest.js +98 -0
- package/lib/types/core/worktree/paths.d.ts +60 -0
- package/lib/types/core/worktree/paths.d.ts.map +1 -0
- package/lib/types/core/worktree/paths.js +118 -0
- package/lib/types/core/worktree/pr-create.d.ts +67 -0
- package/lib/types/core/worktree/pr-create.d.ts.map +1 -0
- package/lib/types/core/worktree/pr-create.js +118 -0
- package/lib/types/core/worktree/protocol.d.ts +7 -0
- package/lib/types/core/worktree/protocol.d.ts.map +1 -0
- package/lib/types/core/worktree/protocol.js +6 -0
- package/lib/types/core/worktree/types.d.ts +292 -0
- package/lib/types/core/worktree/types.d.ts.map +1 -0
- package/lib/types/core/worktree/types.js +14 -0
- package/lib/types/core/worktree/workspace-model.d.ts +56 -0
- package/lib/types/core/worktree/workspace-model.d.ts.map +1 -0
- package/lib/types/core/worktree/workspace-model.js +14 -0
- package/lib/types/host/services/access-trust/index.d.ts +54 -0
- package/lib/types/host/services/access-trust/index.d.ts.map +1 -0
- package/lib/types/host/services/access-trust/index.js +82 -0
- package/lib/types/host/services/access-trust/trust.d.ts +70 -0
- package/lib/types/host/services/access-trust/trust.d.ts.map +1 -0
- package/lib/types/host/services/access-trust/trust.js +187 -0
- package/lib/types/host/services/codex-bridge/bridge.d.ts +106 -0
- package/lib/types/host/services/codex-bridge/bridge.d.ts.map +1 -0
- package/lib/types/host/services/codex-bridge/bridge.js +321 -0
- package/lib/types/host/services/codex-bridge/codex-auth.d.ts +108 -0
- package/lib/types/host/services/codex-bridge/codex-auth.d.ts.map +1 -0
- package/lib/types/host/services/codex-bridge/codex-auth.js +241 -0
- package/lib/types/host/services/codex-bridge/dsh-integration.d.ts +58 -0
- package/lib/types/host/services/codex-bridge/dsh-integration.d.ts.map +1 -0
- package/lib/types/host/services/codex-bridge/dsh-integration.js +120 -0
- package/lib/types/host/services/codex-bridge/http.d.ts +43 -0
- package/lib/types/host/services/codex-bridge/http.d.ts.map +1 -0
- package/lib/types/host/services/codex-bridge/http.js +92 -0
- package/lib/types/host/services/codex-bridge/index.d.ts +63 -0
- package/lib/types/host/services/codex-bridge/index.d.ts.map +1 -0
- package/lib/types/host/services/codex-bridge/index.js +111 -0
- package/lib/types/host/services/codex-bridge/loopback.d.ts +25 -0
- package/lib/types/host/services/codex-bridge/loopback.d.ts.map +1 -0
- package/lib/types/host/services/codex-bridge/loopback.js +68 -0
- package/lib/types/host/services/codex-bridge/routes.d.ts +31 -0
- package/lib/types/host/services/codex-bridge/routes.d.ts.map +1 -0
- package/lib/types/host/services/codex-bridge/routes.js +126 -0
- package/lib/types/host/services/family-config.d.ts +71 -0
- package/lib/types/host/services/family-config.d.ts.map +1 -0
- package/lib/types/host/services/family-config.js +166 -0
- package/lib/types/host/services/family-namespaces.d.ts +24 -0
- package/lib/types/host/services/family-namespaces.d.ts.map +1 -0
- package/lib/types/host/services/family-namespaces.js +30 -0
- package/lib/types/host/services/git-graph/index.d.ts +6 -0
- package/lib/types/host/services/git-graph/index.d.ts.map +1 -0
- package/lib/types/host/services/git-graph/index.js +7 -0
- package/lib/types/host/services/git-graph/routes.d.ts +4 -0
- package/lib/types/host/services/git-graph/routes.d.ts.map +1 -0
- package/lib/types/host/services/git-graph/routes.js +241 -0
- package/lib/types/host/services/git-graph/service.d.ts +52 -0
- package/lib/types/host/services/git-graph/service.d.ts.map +1 -0
- package/lib/types/host/services/git-graph/service.js +301 -0
- package/lib/types/host/services/index.d.ts +23 -0
- package/lib/types/host/services/index.d.ts.map +1 -0
- package/lib/types/host/services/index.js +80 -0
- package/lib/types/host/services/lark-inbox/config.d.ts +24 -0
- package/lib/types/host/services/lark-inbox/config.d.ts.map +1 -0
- package/lib/types/host/services/lark-inbox/config.js +48 -0
- package/lib/types/host/services/lark-inbox/gateway.d.ts +53 -0
- package/lib/types/host/services/lark-inbox/gateway.d.ts.map +1 -0
- package/lib/types/host/services/lark-inbox/gateway.js +171 -0
- package/lib/types/host/services/lark-inbox/host-routes.d.ts +22 -0
- package/lib/types/host/services/lark-inbox/host-routes.d.ts.map +1 -0
- package/lib/types/host/services/lark-inbox/host-routes.js +146 -0
- package/lib/types/host/services/lark-inbox/inbox-store.d.ts +39 -0
- package/lib/types/host/services/lark-inbox/inbox-store.d.ts.map +1 -0
- package/lib/types/host/services/lark-inbox/inbox-store.js +124 -0
- package/lib/types/host/services/lark-inbox/index.d.ts +26 -0
- package/lib/types/host/services/lark-inbox/index.d.ts.map +1 -0
- package/lib/types/host/services/lark-inbox/index.js +135 -0
- package/lib/types/host/services/lark-inbox/tools.d.ts +7 -0
- package/lib/types/host/services/lark-inbox/tools.d.ts.map +1 -0
- package/lib/types/host/services/lark-inbox/tools.js +119 -0
- package/lib/types/host/services/lark-inbox/wizard.d.ts +62 -0
- package/lib/types/host/services/lark-inbox/wizard.d.ts.map +1 -0
- package/lib/types/host/services/lark-inbox/wizard.js +211 -0
- package/lib/types/host/services/lifecycle.d.ts +29 -0
- package/lib/types/host/services/lifecycle.d.ts.map +1 -0
- package/lib/types/host/services/lifecycle.js +93 -0
- package/lib/types/host/services/memoir/index.d.ts +40 -0
- package/lib/types/host/services/memoir/index.d.ts.map +1 -0
- package/lib/types/host/services/memoir/index.js +52 -0
- package/lib/types/host/services/memoir/routes.d.ts +30 -0
- package/lib/types/host/services/memoir/routes.d.ts.map +1 -0
- package/lib/types/host/services/memoir/routes.js +364 -0
- package/lib/types/host/services/memoir/settings.d.ts +27 -0
- package/lib/types/host/services/memoir/settings.d.ts.map +1 -0
- package/lib/types/host/services/memoir/settings.js +120 -0
- package/lib/types/host/services/memoir/store.d.ts +35 -0
- package/lib/types/host/services/memoir/store.d.ts.map +1 -0
- package/lib/types/host/services/memoir/store.js +124 -0
- package/lib/types/host/services/memoir/tools.d.ts +8 -0
- package/lib/types/host/services/memoir/tools.d.ts.map +1 -0
- package/lib/types/host/services/memoir/tools.js +154 -0
- package/lib/types/host/services/no-browser-auth/index.d.ts +25 -0
- package/lib/types/host/services/no-browser-auth/index.d.ts.map +1 -0
- package/lib/types/host/services/no-browser-auth/index.js +42 -0
- package/lib/types/host/services/notify/config.d.ts +105 -0
- package/lib/types/host/services/notify/config.d.ts.map +1 -0
- package/lib/types/host/services/notify/config.js +123 -0
- package/lib/types/host/services/notify/feishu-sender.d.ts +120 -0
- package/lib/types/host/services/notify/feishu-sender.d.ts.map +1 -0
- package/lib/types/host/services/notify/feishu-sender.js +186 -0
- package/lib/types/host/services/notify/host-routes.d.ts +69 -0
- package/lib/types/host/services/notify/host-routes.d.ts.map +1 -0
- package/lib/types/host/services/notify/host-routes.js +112 -0
- package/lib/types/host/services/notify/index.d.ts +80 -0
- package/lib/types/host/services/notify/index.d.ts.map +1 -0
- package/lib/types/host/services/notify/index.js +263 -0
- package/lib/types/host/services/playwright-sessions/child.d.ts +76 -0
- package/lib/types/host/services/playwright-sessions/child.d.ts.map +1 -0
- package/lib/types/host/services/playwright-sessions/child.js +197 -0
- package/lib/types/host/services/playwright-sessions/controller.d.ts +25 -0
- package/lib/types/host/services/playwright-sessions/controller.d.ts.map +1 -0
- package/lib/types/host/services/playwright-sessions/controller.js +104 -0
- package/lib/types/host/services/playwright-sessions/index.d.ts +6 -0
- package/lib/types/host/services/playwright-sessions/index.d.ts.map +1 -0
- package/lib/types/host/services/playwright-sessions/index.js +161 -0
- package/lib/types/host/services/playwright-sessions/live-view.d.ts +32 -0
- package/lib/types/host/services/playwright-sessions/live-view.d.ts.map +1 -0
- package/lib/types/host/services/playwright-sessions/live-view.js +188 -0
- package/lib/types/host/services/playwright-sessions/manager.d.ts +87 -0
- package/lib/types/host/services/playwright-sessions/manager.d.ts.map +1 -0
- package/lib/types/host/services/playwright-sessions/manager.js +203 -0
- package/lib/types/host/services/playwright-sessions/profile-gc.d.ts +39 -0
- package/lib/types/host/services/playwright-sessions/profile-gc.d.ts.map +1 -0
- package/lib/types/host/services/playwright-sessions/profile-gc.js +72 -0
- package/lib/types/host/services/playwright-sessions/routes.d.ts +18 -0
- package/lib/types/host/services/playwright-sessions/routes.d.ts.map +1 -0
- package/lib/types/host/services/playwright-sessions/routes.js +87 -0
- package/lib/types/host/services/remote-access/boot-scripts.d.ts +55 -0
- package/lib/types/host/services/remote-access/boot-scripts.d.ts.map +1 -0
- package/lib/types/host/services/remote-access/boot-scripts.js +109 -0
- package/lib/types/host/services/remote-access/index.d.ts +28 -0
- package/lib/types/host/services/remote-access/index.d.ts.map +1 -0
- package/lib/types/host/services/remote-access/index.js +47 -0
- package/lib/types/host/services/remote-access/routes.d.ts +42 -0
- package/lib/types/host/services/remote-access/routes.d.ts.map +1 -0
- package/lib/types/host/services/remote-access/routes.js +119 -0
- package/lib/types/host/services/remote-web-ui/index.d.ts +21 -0
- package/lib/types/host/services/remote-web-ui/index.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/index.js +325 -0
- package/lib/types/host/services/remote-web-ui/server-mode/accounts.d.ts +115 -0
- package/lib/types/host/services/remote-web-ui/server-mode/accounts.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/accounts.js +396 -0
- package/lib/types/host/services/remote-web-ui/server-mode/cookie.d.ts +28 -0
- package/lib/types/host/services/remote-web-ui/server-mode/cookie.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/cookie.js +48 -0
- package/lib/types/host/services/remote-web-ui/server-mode/dsh-home.d.ts +17 -0
- package/lib/types/host/services/remote-web-ui/server-mode/dsh-home.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/dsh-home.js +40 -0
- package/lib/types/host/services/remote-web-ui/server-mode/external-auth.d.ts +73 -0
- package/lib/types/host/services/remote-web-ui/server-mode/external-auth.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/external-auth.js +242 -0
- package/lib/types/host/services/remote-web-ui/server-mode/fence.d.ts +23 -0
- package/lib/types/host/services/remote-web-ui/server-mode/fence.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/fence.js +24 -0
- package/lib/types/host/services/remote-web-ui/server-mode/gateway-routes.d.ts +89 -0
- package/lib/types/host/services/remote-web-ui/server-mode/gateway-routes.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/gateway-routes.js +768 -0
- package/lib/types/host/services/remote-web-ui/server-mode/gateway.d.ts +99 -0
- package/lib/types/host/services/remote-web-ui/server-mode/gateway.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/gateway.js +679 -0
- package/lib/types/host/services/remote-web-ui/server-mode/http.d.ts +43 -0
- package/lib/types/host/services/remote-web-ui/server-mode/http.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/http.js +92 -0
- package/lib/types/host/services/remote-web-ui/server-mode/integrated-auth.d.ts +42 -0
- package/lib/types/host/services/remote-web-ui/server-mode/integrated-auth.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/integrated-auth.js +73 -0
- package/lib/types/host/services/remote-web-ui/server-mode/lan.d.ts +13 -0
- package/lib/types/host/services/remote-web-ui/server-mode/lan.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/lan.js +17 -0
- package/lib/types/host/services/remote-web-ui/server-mode/loopback.d.ts +25 -0
- package/lib/types/host/services/remote-web-ui/server-mode/loopback.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/loopback.js +68 -0
- package/lib/types/host/services/remote-web-ui/server-mode/posture.d.ts +75 -0
- package/lib/types/host/services/remote-web-ui/server-mode/posture.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/posture.js +116 -0
- package/lib/types/host/services/remote-web-ui/server-mode/roles.d.ts +44 -0
- package/lib/types/host/services/remote-web-ui/server-mode/roles.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/roles.js +47 -0
- package/lib/types/host/services/remote-web-ui/server-mode/server-boot.d.ts +21 -0
- package/lib/types/host/services/remote-web-ui/server-mode/server-boot.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/server-boot.js +37 -0
- package/lib/types/host/services/remote-web-ui/server-mode/sessions.d.ts +111 -0
- package/lib/types/host/services/remote-web-ui/server-mode/sessions.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server-mode/sessions.js +298 -0
- package/lib/types/host/services/remote-web-ui/server.d.ts +82 -0
- package/lib/types/host/services/remote-web-ui/server.d.ts.map +1 -0
- package/lib/types/host/services/remote-web-ui/server.js +492 -0
- package/lib/types/host/services/resources.d.ts +9 -0
- package/lib/types/host/services/resources.d.ts.map +1 -0
- package/lib/types/host/services/resources.js +98 -0
- package/lib/types/host/services/right-pane/browser.d.ts +42 -0
- package/lib/types/host/services/right-pane/browser.d.ts.map +1 -0
- package/lib/types/host/services/right-pane/browser.js +106 -0
- package/lib/types/host/services/right-pane/index.d.ts +22 -0
- package/lib/types/host/services/right-pane/index.d.ts.map +1 -0
- package/lib/types/host/services/right-pane/index.js +114 -0
- package/lib/types/host/services/right-pane/wire.d.ts +6 -0
- package/lib/types/host/services/right-pane/wire.d.ts.map +1 -0
- package/lib/types/host/services/right-pane/wire.js +9 -0
- package/lib/types/host/services/schedule-mode/config.d.ts +11 -0
- package/lib/types/host/services/schedule-mode/config.d.ts.map +1 -0
- package/lib/types/host/services/schedule-mode/config.js +15 -0
- package/lib/types/host/services/schedule-mode/engine.d.ts +150 -0
- package/lib/types/host/services/schedule-mode/engine.d.ts.map +1 -0
- package/lib/types/host/services/schedule-mode/engine.js +672 -0
- package/lib/types/host/services/schedule-mode/index.d.ts +33 -0
- package/lib/types/host/services/schedule-mode/index.d.ts.map +1 -0
- package/lib/types/host/services/schedule-mode/index.js +175 -0
- package/lib/types/host/services/schedule-mode/routes.d.ts +31 -0
- package/lib/types/host/services/schedule-mode/routes.d.ts.map +1 -0
- package/lib/types/host/services/schedule-mode/routes.js +109 -0
- package/lib/types/host/services/schedule-mode/session-create.d.ts +27 -0
- package/lib/types/host/services/schedule-mode/session-create.d.ts.map +1 -0
- package/lib/types/host/services/schedule-mode/session-create.js +21 -0
- package/lib/types/host/services/schedule-mode/store.d.ts +36 -0
- package/lib/types/host/services/schedule-mode/store.d.ts.map +1 -0
- package/lib/types/host/services/schedule-mode/store.js +309 -0
- package/lib/types/host/services/schedule-mode/tools.d.ts +13 -0
- package/lib/types/host/services/schedule-mode/tools.d.ts.map +1 -0
- package/lib/types/host/services/schedule-mode/tools.js +132 -0
- package/lib/types/host/services/ssh/engine.d.ts +162 -0
- package/lib/types/host/services/ssh/engine.d.ts.map +1 -0
- package/lib/types/host/services/ssh/engine.js +699 -0
- package/lib/types/host/services/ssh/host-keys.d.ts +10 -0
- package/lib/types/host/services/ssh/host-keys.d.ts.map +1 -0
- package/lib/types/host/services/ssh/host-keys.js +108 -0
- package/lib/types/host/services/ssh/index.d.ts +38 -0
- package/lib/types/host/services/ssh/index.d.ts.map +1 -0
- package/lib/types/host/services/ssh/index.js +47 -0
- package/lib/types/host/services/ssh/routes.d.ts +29 -0
- package/lib/types/host/services/ssh/routes.d.ts.map +1 -0
- package/lib/types/host/services/ssh/routes.js +465 -0
- package/lib/types/host/services/ssh/store.d.ts +40 -0
- package/lib/types/host/services/ssh/store.d.ts.map +1 -0
- package/lib/types/host/services/ssh/store.js +330 -0
- package/lib/types/host/services/ssh/terminal-ws.d.ts +9 -0
- package/lib/types/host/services/ssh/terminal-ws.d.ts.map +1 -0
- package/lib/types/host/services/ssh/terminal-ws.js +142 -0
- package/lib/types/host/services/ssh/tools.d.ts +11 -0
- package/lib/types/host/services/ssh/tools.d.ts.map +1 -0
- package/lib/types/host/services/ssh/tools.js +270 -0
- package/lib/types/host/services/web-render/contracts.d.ts +93 -0
- package/lib/types/host/services/web-render/contracts.d.ts.map +1 -0
- package/lib/types/host/services/web-render/contracts.js +60 -0
- package/lib/types/host/services/web-render/index.d.ts +58 -0
- package/lib/types/host/services/web-render/index.d.ts.map +1 -0
- package/lib/types/host/services/web-render/index.js +90 -0
- package/lib/types/host/services/web-render/provider.d.ts +37 -0
- package/lib/types/host/services/web-render/provider.d.ts.map +1 -0
- package/lib/types/host/services/web-render/provider.js +274 -0
- package/lib/types/host/services/web-search-anthropic/contracts.d.ts +117 -0
- package/lib/types/host/services/web-search-anthropic/contracts.d.ts.map +1 -0
- package/lib/types/host/services/web-search-anthropic/contracts.js +90 -0
- package/lib/types/host/services/web-search-anthropic/index.d.ts +53 -0
- package/lib/types/host/services/web-search-anthropic/index.d.ts.map +1 -0
- package/lib/types/host/services/web-search-anthropic/index.js +123 -0
- package/lib/types/host/services/web-search-anthropic/provider.d.ts +101 -0
- package/lib/types/host/services/web-search-anthropic/provider.d.ts.map +1 -0
- package/lib/types/host/services/web-search-anthropic/provider.js +237 -0
- package/lib/types/host/services/web-search-kaon/contracts.d.ts +114 -0
- package/lib/types/host/services/web-search-kaon/contracts.d.ts.map +1 -0
- package/lib/types/host/services/web-search-kaon/contracts.js +73 -0
- package/lib/types/host/services/web-search-kaon/index.d.ts +50 -0
- package/lib/types/host/services/web-search-kaon/index.d.ts.map +1 -0
- package/lib/types/host/services/web-search-kaon/index.js +114 -0
- package/lib/types/host/services/web-search-kaon/provider.d.ts +111 -0
- package/lib/types/host/services/web-search-kaon/provider.d.ts.map +1 -0
- package/lib/types/host/services/web-search-kaon/provider.js +244 -0
- package/lib/types/host/services/worktree/git-runner.d.ts +82 -0
- package/lib/types/host/services/worktree/git-runner.d.ts.map +1 -0
- package/lib/types/host/services/worktree/git-runner.js +81 -0
- package/lib/types/host/services/worktree/git.d.ts +94 -0
- package/lib/types/host/services/worktree/git.d.ts.map +1 -0
- package/lib/types/host/services/worktree/git.js +153 -0
- package/lib/types/host/services/worktree/http.d.ts +12 -0
- package/lib/types/host/services/worktree/http.d.ts.map +1 -0
- package/lib/types/host/services/worktree/http.js +34 -0
- package/lib/types/host/services/worktree/index.d.ts +38 -0
- package/lib/types/host/services/worktree/index.d.ts.map +1 -0
- package/lib/types/host/services/worktree/index.js +78 -0
- package/lib/types/host/services/worktree/lane-tool.d.ts +22 -0
- package/lib/types/host/services/worktree/lane-tool.d.ts.map +1 -0
- package/lib/types/host/services/worktree/lane-tool.js +92 -0
- package/lib/types/host/services/worktree/manager.d.ts +410 -0
- package/lib/types/host/services/worktree/manager.d.ts.map +1 -0
- package/lib/types/host/services/worktree/manager.js +1485 -0
- package/lib/types/host/services/worktree/model-override.d.ts +20 -0
- package/lib/types/host/services/worktree/model-override.d.ts.map +1 -0
- package/lib/types/host/services/worktree/model-override.js +35 -0
- package/lib/types/host/services/worktree/routes.d.ts +50 -0
- package/lib/types/host/services/worktree/routes.d.ts.map +1 -0
- package/lib/types/host/services/worktree/routes.js +695 -0
- package/lib/types/host/services/worktree/run-command.d.ts +26 -0
- package/lib/types/host/services/worktree/run-command.d.ts.map +1 -0
- package/lib/types/host/services/worktree/run-command.js +36 -0
- package/lib/types/host/services/worktree/session-lane/manager.d.ts +109 -0
- package/lib/types/host/services/worktree/session-lane/manager.d.ts.map +1 -0
- package/lib/types/host/services/worktree/session-lane/manager.js +172 -0
- package/lib/types/host/services/worktree/workspace-model-routes.d.ts +21 -0
- package/lib/types/host/services/worktree/workspace-model-routes.d.ts.map +1 -0
- package/lib/types/host/services/worktree/workspace-model-routes.js +198 -0
- package/lib/types/host/services/worktree/workspace-model.d.ts +48 -0
- package/lib/types/host/services/worktree/workspace-model.d.ts.map +1 -0
- package/lib/types/host/services/worktree/workspace-model.js +113 -0
- package/lib/types/index.d.ts +47 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js +52 -0
- package/lib/types/invariant.d.ts +4 -0
- package/lib/types/invariant.d.ts.map +1 -0
- package/lib/types/invariant.js +3 -0
- package/package.json +153 -3
- package/presets/code-vibe/THIRD_PARTY_NOTICES.md +55 -0
- package/presets/code-vibe/skills/UPSTREAM.md +104 -0
- package/presets/code-vibe/skills/agent-experience/SKILL.md +15 -0
- package/presets/code-vibe/skills/agent-operation/SKILL.md +43 -0
- package/presets/code-vibe/skills/code-review/SKILL.md +45 -0
- package/presets/code-vibe/skills/dsh-ci-test-reliability/SKILL.md +133 -0
- package/presets/code-vibe/skills/dsh-ci-test-reliability/references/ci-flake-diagnosis.md +60 -0
- package/presets/code-vibe/skills/dsh-find-simplifications/SKILL.md +69 -0
- package/presets/code-vibe/skills/dsh-find-simplifications/references/historical-patterns.md +45 -0
- package/presets/code-vibe/skills/dsh-merging-stacked-prs/SKILL.md +129 -0
- package/presets/code-vibe/skills/dsh-prose-standard/SKILL.md +83 -0
- package/presets/code-vibe/skills/dsh-prose-standard/references/examples.md +169 -0
- package/presets/code-vibe/skills/dsh-speed-up-perf/SKILL.md +94 -0
- package/presets/code-vibe/skills/dsh-trim-cot-leakage/SKILL.md +47 -0
- package/presets/code-vibe/skills/dsh-trim-cot-leakage/references/examples.md +275 -0
- package/presets/code-vibe/skills/dsh-trim-cot-leakage/references/recall-batteries.md +52 -0
- package/presets/code-vibe/skills/frontend-design/SKILL.md +60 -0
- package/presets/code-vibe/skills/frontend-design/references/critique-format.md +35 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/LOAD-MAP.md +81 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/README.md +53 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/anchor.md +51 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/audit/ai-tells.md +59 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/audit/web-interface.md +14 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/change-control.md +62 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/copy.md +65 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/craft-knobs.md +61 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/debug-playbook.md +37 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/exemplars/README.md +64 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/plan-architecture.checklist.json +13 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/product-judgment.md +113 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/system-architecture.md +108 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/tokens/README.md +26 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/tokens/color-roles.md +49 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/tokens/motion.md +51 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/tokens/scale.md +89 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/ui-page-gate.md +61 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/ui-surface.checklist.json +49 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/ux.md +76 -0
- package/presets/code-vibe/skills/frontend-design/references/design-standards/visual.md +52 -0
- package/presets/code-vibe/skills/frontend-design/references/perceptible-path.md +27 -0
- package/presets/code-vibe/skills/frontend-design/references/product-package.md +80 -0
- package/presets/code-vibe/skills/frontend-design/references/scheme-antipatterns.md +21 -0
- package/presets/code-vibe/skills/quality-review/SKILL.md +57 -0
- package/presets/code-vibe/skills/quality-review/references/bounded-verify.md +37 -0
- package/presets/code-vibe/skills/quality-review/references/browser-verify.md +81 -0
- package/presets/code-vibe/skills/quality-review/references/evidence-contract.md +194 -0
- package/presets/code-vibe/skills/quality-review/references/falsify-checklist.md +44 -0
- package/presets/code-vibe/skills/quality-review/references/human-acceptance-pack.md +68 -0
- package/presets/code-vibe/skills/quality-review/references/product-regression.md +51 -0
- package/presets/code-vibe/skills/quality-review/references/ux-standards.md +37 -0
- package/presets/code-vibe/skills/quality-review/references/ux-walkthrough.md +49 -0
- package/presets/code-vibe/skills/quality-review/references/validation-report.md +22 -0
- package/presets/code-vibe/skills/quality-review/references/verification-loop.md +95 -0
- package/presets/code-vibe/skills/quality-review/references/version-acceptance-matrix.md +131 -0
- package/presets/code-vibe/skills/record-browser-gif/SKILL.md +174 -0
- package/presets/code-vibe/skills/record-browser-gif/scripts/encode_gif.py +337 -0
- package/presets/code-vibe/skills/record-browser-gif/scripts/test_encode_gif.py +103 -0
- package/presets/code-vibe/skills/wish-programming/SKILL.md +150 -0
- package/presets/code-vibe/skills/wish-programming/references/roles/arch-reviewer.md +26 -0
- package/presets/code-vibe/skills/wish-programming/references/roles/design-reviewer.md +32 -0
- package/presets/code-vibe/skills/wish-programming/references/roles/pm-reviewer.md +26 -0
- package/presets/code-vibe/skills/wish-programming/references/roles/qa-reviewer.md +16 -0
- package/presets/code-vibe/skills/wish-programming/references/roles/security-reviewer.md +16 -0
- package/presets/code-vibe/skills/wish-programming/references/roles/sre-reviewer.md +16 -0
- package/presets/code-vibe/skills/wish-programming/references/roles/ux-adversary.md +16 -0
- package/presets/code-vibe/skills/wish-programming/references/templates/arch.md.tpl +51 -0
- package/presets/code-vibe/skills/wish-programming/references/templates/brief.md.tpl +36 -0
- package/presets/code-vibe/skills/wish-programming/references/templates/confirmation-pack.md +54 -0
- package/presets/code-vibe/skills/wish-programming/references/templates/design-spec.md.tpl +49 -0
- package/presets/code-vibe/skills/wish-programming/references/templates/module-readme.md +37 -0
- package/presets/code-vibe/skills/wish-programming/references/templates/product.md.tpl +74 -0
- package/presets/code-vibe/skills/wish-programming/references/templates/requirements.md.tpl +31 -0
- package/presets/code-vibe/skills/wish-programming/references/workflow-template.md +122 -0
- package/presets/code-vibe/skills/wish-programming/scripts/MANIFEST.sha256 +11 -0
- package/presets/code-vibe/skills/wish-programming/scripts/check_spec.py +416 -0
- package/presets/code-vibe/skills/wish-programming/scripts/check_whitelist.py +193 -0
- package/presets/code-vibe/skills/wish-programming/scripts/coverage_check.py +199 -0
- package/presets/code-vibe/skills/wish-programming/scripts/gate-lock.sh +46 -0
- package/presets/code-vibe/skills/wish-programming/scripts/journey.sh +281 -0
- package/presets/code-vibe/skills/wish-programming/scripts/project.sh +152 -0
- package/presets/code-vibe/skills/wish-programming/scripts/replay.sh +65 -0
- package/presets/code-vibe/skills/wish-programming/scripts/scan_drift.py +79 -0
- package/presets/code-vibe/skills/wish-programming/scripts/verify.sh +169 -0
- package/presets/code-vibe/skills/wish-programming/scripts/verify_preset_budgets.py +218 -0
- package/presets/code-vibe/skills/wish-programming/scripts/wish.sh +150 -0
- package/presets/code-vibe.patch.yml +325 -0
- package/presets/hiopen.patch.yml +109 -0
- package/src/client/compat.ts +86 -0
- package/src/client/conversation/conversation.module.css +264 -0
- package/src/client/conversation/git-branch.tsx +152 -0
- package/src/client/conversation/git-graph/LICENSE.git-graph +202 -0
- package/src/client/conversation/git-graph/api.ts +85 -0
- package/src/client/conversation/git-graph/branch-chip.tsx +354 -0
- package/src/client/conversation/git-graph/branch-popover.tsx +185 -0
- package/src/client/conversation/git-graph/chip.tsx +47 -0
- package/src/client/conversation/git-graph/create-branch-dialog.tsx +108 -0
- package/src/client/conversation/git-graph/error-copy.ts +50 -0
- package/src/client/conversation/git-graph/git-graph.module.css +792 -0
- package/src/client/conversation/git-graph/graph-dialog.tsx +196 -0
- package/src/client/conversation/git-graph/hero-seat.ts +76 -0
- package/src/client/conversation/git-graph/locales.ts +90 -0
- package/src/client/conversation/git-graph/sse-leader.ts +124 -0
- package/src/client/conversation/index.ts +82 -0
- package/src/client/conversation/selector-context.tsx +24 -0
- package/src/client/conversation/session-lane-chip.tsx +262 -0
- package/src/client/conversation/session-lane-locales.ts +34 -0
- package/src/client/conversation/subagent-model-dom.ts +157 -0
- package/src/client/conversation/subagent-model.ts +198 -0
- package/src/client/conversation/worktree/api.ts +283 -0
- package/src/client/conversation/worktree/dialogs/DeleteWorktreeDialog.tsx +111 -0
- package/src/client/conversation/worktree/dialogs/PrCreateDialog.tsx +114 -0
- package/src/client/conversation/worktree/lane-binding.ts +77 -0
- package/src/client/conversation/worktree/lane-menu.tsx +247 -0
- package/src/client/conversation/worktree/lane-open.ts +204 -0
- package/src/client/conversation/worktree/lane-workspace-sweeper.ts +136 -0
- package/src/client/conversation/worktree/lifecycle.ts +75 -0
- package/src/client/conversation/worktree/locales.ts +97 -0
- package/src/client/conversation/worktree/semantic.ts +10 -0
- package/src/client/conversation/worktree/worktree.module.css +70 -0
- package/src/client/css-modules.d.ts +8 -0
- package/src/client/index.ts +58 -0
- package/src/client/lark-inbox/i18n.ts +125 -0
- package/src/client/lark-inbox/lark-wizard.module.css +88 -0
- package/src/client/lark-inbox/wizard.tsx +211 -0
- package/src/client/notify/i18n.ts +93 -0
- package/src/client/settings/family-scope.ts +45 -0
- package/src/client/settings/lark-inbox.tsx +319 -0
- package/src/client/settings/notify.tsx +288 -0
- package/src/client/settings/primitives-0.2.ts +148 -0
- package/src/client/settings/settings-shell.module.css +56 -0
- package/src/client/sidebar/RenderBoundary.tsx +17 -0
- package/src/client/sidebar/agent-browser.tsx +114 -0
- package/src/client/sidebar/diff-view.tsx +314 -0
- package/src/client/sidebar/git-workbench.tsx +700 -0
- package/src/client/sidebar/icons.tsx +23 -0
- package/src/client/sidebar/index.ts +28 -0
- package/src/client/sidebar/native-panels.tsx +149 -0
- package/src/client/sidebar/page-shell.module.css +96 -0
- package/src/client/sidebar/page-shell.tsx +86 -0
- package/src/client/sidebar/panels/memoir/api.ts +300 -0
- package/src/client/sidebar/panels/memoir/controller.ts +47 -0
- package/src/client/sidebar/panels/memoir/cwd.ts +140 -0
- package/src/client/sidebar/panels/memoir/i18n.ts +300 -0
- package/src/client/sidebar/panels/memoir/panel-activation.ts +42 -0
- package/src/client/sidebar/panels/memoir/panel.tsx +869 -0
- package/src/client/sidebar/panels/memoir/styles.ts +776 -0
- package/src/client/sidebar/panels/memoir/types.ts +7 -0
- package/src/client/sidebar/panels/ssh/ClusterTab.tsx +123 -0
- package/src/client/sidebar/panels/ssh/HostFormDialog.tsx +243 -0
- package/src/client/sidebar/panels/ssh/HostsTab.tsx +290 -0
- package/src/client/sidebar/panels/ssh/SshPanel.tsx +76 -0
- package/src/client/sidebar/panels/ssh/TerminalTab.tsx +290 -0
- package/src/client/sidebar/panels/ssh/TransferTab.tsx +232 -0
- package/src/client/sidebar/panels/ssh/TunnelsTab.tsx +204 -0
- package/src/client/sidebar/panels/ssh/api.ts +388 -0
- package/src/client/sidebar/panels/ssh/controller.ts +48 -0
- package/src/client/sidebar/panels/ssh/helpers.ts +70 -0
- package/src/client/sidebar/panels/ssh/locales.ts +318 -0
- package/src/client/sidebar/panels/ssh/panel.module.css +801 -0
- package/src/client/sidebar/panels/ssh/xterm.css.ts +2 -0
- package/src/client/sidebar/right-pane-i18n.ts +243 -0
- package/src/client/sidebar/right-pane.tsx +156 -0
- package/src/client/sidebar/scope.ts +54 -0
- package/src/client/sidebar/sidebar-header.module.css +72 -0
- package/src/client/sidebar/sidebar.module.css +619 -0
- package/src/client/trust.ts +187 -0
- package/src/client/ui-icons.ts +35 -0
- package/src/core/git-graph/commands.ts +107 -0
- package/src/core/git-graph/protocol.ts +238 -0
- package/src/core/index.ts +2 -0
- package/src/core/lark-inbox/gating.ts +35 -0
- package/src/core/lark-inbox/queue.ts +100 -0
- package/src/core/memoir/protocol.ts +46 -0
- package/src/core/no-browser-auth/contract.ts +25 -0
- package/src/core/notify/contract.ts +236 -0
- package/src/core/notify/feed.ts +235 -0
- package/src/core/playwright-sessions/contracts.ts +143 -0
- package/src/core/playwright-sessions/control.ts +33 -0
- package/src/core/playwright-sessions/index.ts +3 -0
- package/src/core/playwright-sessions/names.ts +83 -0
- package/src/core/playwright-sessions/schema.ts +102 -0
- package/src/core/playwright-sessions/wire.ts +142 -0
- package/src/core/remote-access/paths.ts +23 -0
- package/src/core/remote-web-ui/security.ts +171 -0
- package/src/core/right-pane/protocol.ts +94 -0
- package/src/core/schedule-mode/index.ts +6 -0
- package/src/core/schedule-mode/native.ts +105 -0
- package/src/core/schedule-mode/types.ts +182 -0
- package/src/core/schedule-mode/view.ts +66 -0
- package/src/core/ssh/protocol.ts +212 -0
- package/src/core/subagent-model/badges.ts +161 -0
- package/src/core/worktree/invariant.ts +101 -0
- package/src/core/worktree/manifest.ts +135 -0
- package/src/core/worktree/paths.ts +123 -0
- package/src/core/worktree/pr-create.ts +157 -0
- package/src/core/worktree/protocol.ts +7 -0
- package/src/core/worktree/types.ts +317 -0
- package/src/core/worktree/workspace-model.ts +61 -0
- package/src/host/services/access-trust/index.ts +127 -0
- package/src/host/services/access-trust/trust.ts +189 -0
- package/src/host/services/codex-bridge/bridge.ts +392 -0
- package/src/host/services/codex-bridge/codex-auth.ts +352 -0
- package/src/host/services/codex-bridge/dsh-integration.ts +169 -0
- package/src/host/services/codex-bridge/http.ts +105 -0
- package/src/host/services/codex-bridge/index.ts +154 -0
- package/src/host/services/codex-bridge/loopback.ts +63 -0
- package/src/host/services/codex-bridge/routes.ts +143 -0
- package/src/host/services/family-config.ts +224 -0
- package/src/host/services/family-namespaces.ts +39 -0
- package/src/host/services/git-graph/index.ts +11 -0
- package/src/host/services/git-graph/routes.ts +212 -0
- package/src/host/services/git-graph/service.ts +305 -0
- package/src/host/services/index.ts +94 -0
- package/src/host/services/lark-inbox/config.ts +66 -0
- package/src/host/services/lark-inbox/gateway.ts +184 -0
- package/src/host/services/lark-inbox/host-routes.ts +113 -0
- package/src/host/services/lark-inbox/inbox-store.ts +160 -0
- package/src/host/services/lark-inbox/index.ts +141 -0
- package/src/host/services/lark-inbox/tools.ts +124 -0
- package/src/host/services/lark-inbox/wizard.ts +206 -0
- package/src/host/services/lifecycle.ts +107 -0
- package/src/host/services/memoir/index.ts +80 -0
- package/src/host/services/memoir/routes.ts +346 -0
- package/src/host/services/memoir/settings.ts +122 -0
- package/src/host/services/memoir/store.ts +132 -0
- package/src/host/services/memoir/tools.ts +158 -0
- package/src/host/services/no-browser-auth/index.ts +70 -0
- package/src/host/services/notify/config.ts +178 -0
- package/src/host/services/notify/feishu-sender.ts +220 -0
- package/src/host/services/notify/host-routes.ts +133 -0
- package/src/host/services/notify/index.ts +305 -0
- package/src/host/services/playwright-sessions/child.ts +251 -0
- package/src/host/services/playwright-sessions/controller.ts +102 -0
- package/src/host/services/playwright-sessions/index.ts +146 -0
- package/src/host/services/playwright-sessions/live-view.ts +225 -0
- package/src/host/services/playwright-sessions/manager.ts +239 -0
- package/src/host/services/playwright-sessions/profile-gc.ts +97 -0
- package/src/host/services/playwright-sessions/routes.ts +90 -0
- package/src/host/services/remote-access/boot-scripts.ts +118 -0
- package/src/host/services/remote-access/index.ts +62 -0
- package/src/host/services/remote-access/routes.ts +137 -0
- package/src/host/services/remote-web-ui/index.ts +344 -0
- package/src/host/services/remote-web-ui/server-mode/accounts.ts +423 -0
- package/src/host/services/remote-web-ui/server-mode/cookie.ts +57 -0
- package/src/host/services/remote-web-ui/server-mode/dsh-home.ts +42 -0
- package/src/host/services/remote-web-ui/server-mode/external-auth.ts +296 -0
- package/src/host/services/remote-web-ui/server-mode/fence.ts +27 -0
- package/src/host/services/remote-web-ui/server-mode/gateway-routes.ts +797 -0
- package/src/host/services/remote-web-ui/server-mode/gateway.ts +684 -0
- package/src/host/services/remote-web-ui/server-mode/http.ts +105 -0
- package/src/host/services/remote-web-ui/server-mode/integrated-auth.ts +118 -0
- package/src/host/services/remote-web-ui/server-mode/lan.ts +19 -0
- package/src/host/services/remote-web-ui/server-mode/loopback.ts +63 -0
- package/src/host/services/remote-web-ui/server-mode/posture.ts +154 -0
- package/src/host/services/remote-web-ui/server-mode/roles.ts +51 -0
- package/src/host/services/remote-web-ui/server-mode/server-boot.ts +38 -0
- package/src/host/services/remote-web-ui/server-mode/sessions.ts +347 -0
- package/src/host/services/remote-web-ui/server.ts +591 -0
- package/src/host/services/resources.ts +78 -0
- package/src/host/services/right-pane/browser.ts +106 -0
- package/src/host/services/right-pane/index.ts +117 -0
- package/src/host/services/right-pane/wire.ts +10 -0
- package/src/host/services/schedule-mode/config.ts +26 -0
- package/src/host/services/schedule-mode/engine.ts +689 -0
- package/src/host/services/schedule-mode/index.ts +214 -0
- package/src/host/services/schedule-mode/routes.ts +130 -0
- package/src/host/services/schedule-mode/session-create.ts +36 -0
- package/src/host/services/schedule-mode/store.ts +304 -0
- package/src/host/services/schedule-mode/tools.ts +154 -0
- package/src/host/services/ssh/engine.ts +675 -0
- package/src/host/services/ssh/host-keys.ts +99 -0
- package/src/host/services/ssh/index.ts +84 -0
- package/src/host/services/ssh/routes.ts +442 -0
- package/src/host/services/ssh/store.ts +310 -0
- package/src/host/services/ssh/terminal-ws.ts +157 -0
- package/src/host/services/ssh/tools.ts +279 -0
- package/src/host/services/web-render/contracts.ts +138 -0
- package/src/host/services/web-render/index.ts +112 -0
- package/src/host/services/web-render/provider.ts +282 -0
- package/src/host/services/web-search-anthropic/contracts.ts +163 -0
- package/src/host/services/web-search-anthropic/index.ts +152 -0
- package/src/host/services/web-search-anthropic/provider.ts +325 -0
- package/src/host/services/worktree/git-runner.ts +124 -0
- package/src/host/services/worktree/git.ts +183 -0
- package/src/host/services/worktree/http.ts +36 -0
- package/src/host/services/worktree/index.ts +92 -0
- package/src/host/services/worktree/lane-tool.ts +100 -0
- package/src/host/services/worktree/manager.ts +1553 -0
- package/src/host/services/worktree/model-override.ts +43 -0
- package/src/host/services/worktree/routes.ts +570 -0
- package/src/host/services/worktree/run-command.ts +66 -0
- package/src/host/services/worktree/session-lane/manager.ts +228 -0
- package/src/host/services/worktree/workspace-model-routes.ts +156 -0
- package/src/host/services/worktree/workspace-model.ts +132 -0
- package/src/index.ts +84 -0
- package/src/invariant.ts +4 -0
package/presets/code-vibe/skills/frontend-design/references/design-standards/exemplars/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Exemplars(正反例)
|
|
2
|
+
|
|
3
|
+
> 条款抽象,例子可复现。Agent 实现前可扫一眼同 `page_kind`。
|
|
4
|
+
|
|
5
|
+
## list
|
|
6
|
+
|
|
7
|
+
| | 好 | 坏 |
|
|
8
|
+
|--|----|----|
|
|
9
|
+
| 结构 | 筛选+表+URL;数字右齐 | 卡片墙当订单管理;筛选只在内存 |
|
|
10
|
+
| 空态 | 「还没有项目」+创建 vs 「无匹配」+清筛选 | 两种同一句「暂无数据」 |
|
|
11
|
+
| 行 | 可读名;ID 复制次要 | 主列 UUID |
|
|
12
|
+
|
|
13
|
+
## detail
|
|
14
|
+
|
|
15
|
+
| | 好 | 坏 |
|
|
16
|
+
|--|----|----|
|
|
17
|
+
| 布局 | 工单用主栏+右轨分组属性 | 20 字段一长表按 DB 序 |
|
|
18
|
+
| 编辑 | 点状态 pill 即改 | 「编辑」打开大模态改一个枚举 |
|
|
19
|
+
| 面包屑 | 壳层已有 ID,正文 h1 用标题 | 正文再堆一个巨大 ID |
|
|
20
|
+
|
|
21
|
+
## settings
|
|
22
|
+
|
|
23
|
+
| | 好 | 坏 |
|
|
24
|
+
|--|----|----|
|
|
25
|
+
| 导航 | Personal/Workspace + 段深链 | 单页 40 开关无 URL |
|
|
26
|
+
| 危险 | 底部分区「删除工作区」+ 打字确认 | 删除键夹在主题色旁边 |
|
|
27
|
+
|
|
28
|
+
## dashboard
|
|
29
|
+
|
|
30
|
+
| | 好 | 坏 |
|
|
31
|
+
|--|----|----|
|
|
32
|
+
| KPI | 一主三从;带 +12% 对比 | 四块一样大无基准 |
|
|
33
|
+
| 图 | 同高;口径在旁 | 库默认白 tooltip;假 3D |
|
|
34
|
+
|
|
35
|
+
## overlays
|
|
36
|
+
|
|
37
|
+
| | 好 | 坏 |
|
|
38
|
+
|--|----|----|
|
|
39
|
+
| 新建 | Modal 短表 | Sheet 却强 dim 当 Modal |
|
|
40
|
+
| 行预览 | Sheet 保留列表 | 每次预览都整页跳转又返回 |
|
|
41
|
+
|
|
42
|
+
## judgment(配置 / 授权 / 分发)
|
|
43
|
+
|
|
44
|
+
> 见 [product-judgment.md](../product-judgment.md)。先 Job,再抽屉。
|
|
45
|
+
|
|
46
|
+
| | 好 | 坏 |
|
|
47
|
+
|--|----|----|
|
|
48
|
+
| IA | 「谁可以用」「怎么拿到」「怎么改」分层可见 | 主体/投影/高风险术语堆在首屏 |
|
|
49
|
+
| 选择 | 唯一搜索入口;多选后一次「添加 N 项」 | 先切「人/部门/组」再搜;搜一个加一个 |
|
|
50
|
+
| 分发 | 可见范围与默认开启分两步决策 | 「权限策略」一词包办谁能看+怎么发 |
|
|
51
|
+
| Brief | 落盘 Job Brief + 人话验收 | 直接画线框再补故事 |
|
|
52
|
+
|
|
53
|
+
## growth / consumer
|
|
54
|
+
|
|
55
|
+
| | 好 | 坏 |
|
|
56
|
+
|--|----|----|
|
|
57
|
+
| 首屏 | 品牌+一句+CTA+一主视觉 | 英雄+三特性卡+紫渐变+双主钮 |
|
|
58
|
+
| 商详 | 价格与买按钮首屏 | 主 CTA 折到第三屏 |
|
|
59
|
+
|
|
60
|
+
## 锚点
|
|
61
|
+
|
|
62
|
+
| 好 | 坏 |
|
|
63
|
+
|----|-----|
|
|
64
|
+
| `anchor: Linear Issues;diverge: 无周期字段` | `anchor: 现代简洁` |
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "plan-architecture",
|
|
3
|
+
"title": "架构与设计边界(Plan)",
|
|
4
|
+
"source": "design-standards/system-architecture.md §7",
|
|
5
|
+
"required_when": "new_entry|cross_layer|new_storage|new_auth|new_deploy_unit",
|
|
6
|
+
"items": [
|
|
7
|
+
{"id": "boundary", "prompt": "边界:沿用 / 新开(说明)"},
|
|
8
|
+
{"id": "c4", "prompt": "C4 影响:L1 / L2 / L3 / N/A"},
|
|
9
|
+
{"id": "adr", "prompt": "ADR:否 / 是(路径)"},
|
|
10
|
+
{"id": "ux_visual", "prompt": "UX / 视觉约束(或 N/A)"},
|
|
11
|
+
{"id": "unverified", "prompt": "Unverified"}
|
|
12
|
+
]
|
|
13
|
+
}
|
package/presets/code-vibe/skills/frontend-design/references/design-standards/product-judgment.md
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Product Judgment(交互决策层)
|
|
2
|
+
|
|
3
|
+
> **有 UI 时先于视觉施工。** 蒸馏自 Vercel product-design / mblode `product-judgment`;措辞为本插件合同。
|
|
4
|
+
> 强度与加载义务 → [LOAD-MAP.md](./LOAD-MAP.md)。
|
|
5
|
+
> **本册管「做什么、怎么交互」;不管配色/字号**(→ craft-knobs · tokens · ai-tells)。
|
|
6
|
+
|
|
7
|
+
## 硬门
|
|
8
|
+
|
|
9
|
+
1. **Start with the job, not the pixels.** 先写下方 Job Brief;再选容器、控件、文案语气。
|
|
10
|
+
2. **填不出 `Job` / `Desired outcome` / `Consequence` → 停,问用户;禁止猜着画界面。**
|
|
11
|
+
3. **Decide before decorating.** IA、交互单位、动作后果、可达态未定 → 不得定视觉方向、不得输出线框当定稿。
|
|
12
|
+
4. **Evidence over taste.** 「现代干净」「高级感」不是决策依据。
|
|
13
|
+
|
|
14
|
+
## Job Brief(有 UI 必写;可极短)
|
|
15
|
+
|
|
16
|
+
落盘到产品切片 / Spec `contract.md` 或 `plan.md`(字段名可中英)。Shape 对话里至少口头齐这三项必填。
|
|
17
|
+
|
|
18
|
+
| 字段 | 必填 | 写什么 |
|
|
19
|
+
|------|------|--------|
|
|
20
|
+
| **User** | 建议 | 谁在操作;进来时已知什么 |
|
|
21
|
+
| **Job** | **是** | 用**用户的话**说要完成什么(非内部模块名) |
|
|
22
|
+
| **Current** | 建议 | 今天怎么做、卡在哪 |
|
|
23
|
+
| **Desired outcome** | **是** | 做成后系统行为长什么样 |
|
|
24
|
+
| **Success signal** | 建议 | 怎样算做成(可观察) |
|
|
25
|
+
| **Non-goals** | 建议 | 本切片明确不做 |
|
|
26
|
+
| **Object** | 建议 | 被作用的产品名词(扩展、成员、订单…) |
|
|
27
|
+
| **Action / Scope / Consequence** | **Consequence 必填** | 改什么、改多大、可否撤销 |
|
|
28
|
+
| **Permissions** | 触及权限时必填 | 谁能做;无权限时看见什么 |
|
|
29
|
+
| **Open decisions** | 有则写 | 未拍板项;禁止埋进实现细节 |
|
|
30
|
+
|
|
31
|
+
模板(可复制):
|
|
32
|
+
|
|
33
|
+
```text
|
|
34
|
+
Job Brief:
|
|
35
|
+
- User: …
|
|
36
|
+
- Job: …
|
|
37
|
+
- Desired outcome: …
|
|
38
|
+
- Consequence: …(可逆 / 不可逆 / 影响谁)
|
|
39
|
+
- Permissions: …(若触及)
|
|
40
|
+
- Non-goals: …
|
|
41
|
+
- Open: …
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## 人话验收(Plain acceptance)
|
|
45
|
+
|
|
46
|
+
在定控件前,用 **2–4 条人话** 写清「怎样算这个面可用」。禁止验收句依赖实现黑话。
|
|
47
|
+
|
|
48
|
+
| 好 | 坏 |
|
|
49
|
+
|----|----|
|
|
50
|
+
| 一次搜索勾多人,点一次「添加」即可加满一批 | 投影主体选择完成 |
|
|
51
|
+
| 打开 3 秒内能分清:谁能用 / 怎么拿到 / 怎么改 | 高风险策略配置正确 |
|
|
52
|
+
| 加人与加部门同一入口,无需先切「类型」 | ACL subject 类型切换后多选 |
|
|
53
|
+
|
|
54
|
+
配置 / 授权 / 分发 / 发布范围类界面:**至少**覆盖「谁 · 怎么拿到或生效 · 怎么改错」。
|
|
55
|
+
|
|
56
|
+
## 稳定规则(引用用 ID)
|
|
57
|
+
|
|
58
|
+
评审、切片、Verify 发现问题时引用下列 ID(勿发明新 ID;缺口记 coverage gap)。
|
|
59
|
+
|
|
60
|
+
### 交互单位
|
|
61
|
+
|
|
62
|
+
| ID | 规则 |
|
|
63
|
+
|----|------|
|
|
64
|
+
| `rule/job-before-chrome` | 未齐 Job Brief 三必填 → 禁止定壳/线框定稿 |
|
|
65
|
+
| `rule/interaction-unit` | 交互单位跟用户任务走,不跟内部类型表走(例:搜人/部门/组同一入口批量加,而非先切 tab) |
|
|
66
|
+
| `rule/batch-same-search` | 批量添加:同一次搜索多选 → 一次确认;禁止「搜一个加一个」当主路径 |
|
|
67
|
+
| `rule/control-matches-cardinality` | 2–3 个静态互斥选项 → radio/分段(选项可见);勿用藏选项的 select |
|
|
68
|
+
| `rule/inline-before-modal` | 能行内/就地展开则勿上 Modal;Modal 只打断焦点决策 |
|
|
69
|
+
| `rule/smallest-intervention` | 先更好默认 → 行为自动完成 → 复用已有模式 → 最后才加新 UI |
|
|
70
|
+
| `rule/one-primary-action` | 一屏/一抽屉一个主任务与一个主 CTA |
|
|
71
|
+
|
|
72
|
+
### 后果与范围
|
|
73
|
+
|
|
74
|
+
| ID | 规则 |
|
|
75
|
+
|----|------|
|
|
76
|
+
| `rule/name-object-scope-consequence` | 动作文案说清对象、范围、后果;禁空壳「确定 / OK / 提交」 |
|
|
77
|
+
| `rule/separate-access-vs-delivery` | 「谁可见/可用」与「怎么发到手上(自装 vs 默认开启)」是两件产品决定,勿揉成一词 |
|
|
78
|
+
| `rule/preserve-mental-model` | 不改用户心智除非解决已验证问题;切「全员/指定」等模式须说明已选数据如何收敛 |
|
|
79
|
+
|
|
80
|
+
### 语言与状态
|
|
81
|
+
|
|
82
|
+
| ID | 规则 |
|
|
83
|
+
|----|------|
|
|
84
|
+
| `rule/no-impl-jargon` | UI 与验收禁实现黑话(主体、投影、registry、shadowing、高风险策略码等);用人话或产品名 |
|
|
85
|
+
| `rule/cover-reachable-states` | 设计产品真实可达态:空/载/错/无权限/极端数据;不只 happy path |
|
|
86
|
+
| `rule/3s-ia` | 打开主配置面约 3 秒内应能回答:我在哪、主任务是什么、怎么改 |
|
|
87
|
+
|
|
88
|
+
## Smallest coherent intervention(加 UI 前)
|
|
89
|
+
|
|
90
|
+
按序问:
|
|
91
|
+
|
|
92
|
+
1. 更好的默认能否免选?
|
|
93
|
+
2. 系统能否自动做对?
|
|
94
|
+
3. 现有模式能否复用?
|
|
95
|
+
4. 仍不够 → 再加新 UI。
|
|
96
|
+
|
|
97
|
+
## 与其它册的边界
|
|
98
|
+
|
|
99
|
+
| 本册之后才读 | 用途 |
|
|
100
|
+
|--------------|------|
|
|
101
|
+
| [craft-knobs.md](./craft-knobs.md) | Design Read / 旋钮 |
|
|
102
|
+
| [copy.md](./copy.md) | 动词与错误句式(仍守 `rule/no-impl-jargon`) |
|
|
103
|
+
| [ui-page-gate.md](./ui-page-gate.md) | 写页前评审块(须含 Job Brief) |
|
|
104
|
+
| [LOAD-MAP.md](./LOAD-MAP.md) | 场景加读与字段门(页种/控件册已归档) |
|
|
105
|
+
|
|
106
|
+
## 自检
|
|
107
|
+
|
|
108
|
+
- [ ] Job / Desired outcome / Consequence 已填(或已向用户提问)
|
|
109
|
+
- [ ] 人话验收 2–4 条,无实现黑话
|
|
110
|
+
- [ ] 交互单位与批量规则已选,而非默认「类型 Tab + 单选」
|
|
111
|
+
- [ ] 触及权限/分发时:谁能用 vs 怎么拿到 已拆开
|
|
112
|
+
- [ ] 未跳到 tokens / ai-tells 定视觉
|
|
113
|
+
)
|
package/presets/code-vibe/skills/frontend-design/references/design-standards/system-architecture.md
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# System Architecture(系统架构默认)
|
|
2
|
+
|
|
3
|
+
> 面向 AI 施工的**可执行边界**,不是完整架构方法论。社区锚点:[C4 model](https://c4model.com/)、ADR/MADR、分层/端口适配实践。
|
|
4
|
+
> 加载合同 → [README.md](./README.md)。
|
|
5
|
+
|
|
6
|
+
## 1. 先边界后功能
|
|
7
|
+
|
|
8
|
+
在堆功能前先回答:什么属于 core / application / infrastructure / UI(或宿主等价分层)。
|
|
9
|
+
|
|
10
|
+
| 层 | 职责 | 边界 |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| Core / Domain | 业务规则、不变量 | 经端口访问 DB、HTTP、UI |
|
|
13
|
+
| Application | 用例编排、事务边界 | 存储方言留在基础设施侧 |
|
|
14
|
+
| Infrastructure | DB、队列、第三方、文件系统 | 业务规则留在 Domain / Application |
|
|
15
|
+
| UI / Adapter | 呈现与输入适配 | 经授权与用例入口访问业务规则 |
|
|
16
|
+
|
|
17
|
+
宿主目录名可不同;**依赖方向**单向,跨层只经明确端口。以 `AGENTS.md`「架构与写入边界」为准。
|
|
18
|
+
|
|
19
|
+
## 2. C4 默认表达深度
|
|
20
|
+
|
|
21
|
+
| 层级 | 何时需要 | 默认落点 |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| L1 Context | 新系统、新外部依赖、跨系统集成 | `docs/architecture/` 或 Spec `plan.md` 摘要 |
|
|
24
|
+
| L2 Container | 新进程/部署单元、新数据存储、新消息通道 | 同上 |
|
|
25
|
+
| L3 Component | 单 Container 内大改模块边界时 | Spec `plan.md` 差量即可 |
|
|
26
|
+
| L4 Code | 默认不写;跟代码走 | — |
|
|
27
|
+
|
|
28
|
+
绿场或跨进程变更:Plan 至少给出 L1 或 L2 意图(可用 Mermaid),边界写清进程与数据归属。
|
|
29
|
+
|
|
30
|
+
## 3. ADR(何时必写)
|
|
31
|
+
|
|
32
|
+
触及下列之一时,在 `docs/architecture/adr/` 或 Spec `optional/` 留一条短 ADR(上下文 → 选项 → 决定 → 后果):
|
|
33
|
+
|
|
34
|
+
- 新存储 / 新消息系统 / 新鉴权模型;
|
|
35
|
+
- 改变公共 API 或 schema 真源;
|
|
36
|
+
- 打破既有依赖方向或写入边界;
|
|
37
|
+
- 多方案互斥且后果跨多个 Spec。
|
|
38
|
+
|
|
39
|
+
常规纵向切片不为每个小改写 ADR。
|
|
40
|
+
|
|
41
|
+
## 4. 纵向切片 vs 横向平台
|
|
42
|
+
|
|
43
|
+
与 Skill `spec` 一致:
|
|
44
|
+
|
|
45
|
+
- 按真实用户/系统入口纵向交付;
|
|
46
|
+
- 共享 helper:≥2 切片 Verified 重复同一逻辑后再抽。
|
|
47
|
+
|
|
48
|
+
**硬门:** 切片轴是入口,不是 root / resolver / ACL / registry / readiness 等横向模块任务。
|
|
49
|
+
|
|
50
|
+
## 5. 生产向不变量(适用则写进 plan)
|
|
51
|
+
|
|
52
|
+
- **副作用**:可重试路径具备幂等键或等价去重;
|
|
53
|
+
- **关键资源**:明确单写者或冲突策略;
|
|
54
|
+
- **多租户 / 权限**:读与写均带 scope(查询即带租户/角色条件);
|
|
55
|
+
- **公共契约**:schema / OpenAPI / 事件合同有单一真源(见 AGENTS)。
|
|
56
|
+
|
|
57
|
+
## 6. 绿场默认施工序
|
|
58
|
+
|
|
59
|
+
1. 契约与数据模型(或最小 schema)
|
|
60
|
+
2. Domain / Application + 入口适配
|
|
61
|
+
3. UI
|
|
62
|
+
4. 可观测与失败路径
|
|
63
|
+
|
|
64
|
+
## 7. Plan 轻门(请求 Build 前)
|
|
65
|
+
|
|
66
|
+
当本版触及**新入口、跨层、新存储、新权限模型、新部署单元**时,`plan.md`「架构与设计边界」写明:
|
|
67
|
+
|
|
68
|
+
1. 沿用哪条宿主边界 / Playbook 条款,或是否新开边界;
|
|
69
|
+
2. C4 影响层级(L1–L3 或 N/A);
|
|
70
|
+
3. 是否需要 ADR(是/否 + 路径);
|
|
71
|
+
4. `Unverified` 项清单(仅 Verified 进 Lock)。
|
|
72
|
+
|
|
73
|
+
未触及上述变更:写「沿用现有边界,无架构差量」即可。
|
|
74
|
+
|
|
75
|
+
## 8. 模块级 context
|
|
76
|
+
|
|
77
|
+
优先在模块目录维护短 README(职责、入口、依赖边界),作为 Agent 局部 context;与产品包 `modules/` 产品决策不双写实现细节。
|
|
78
|
+
|
|
79
|
+
## 9. 分层坏味道(重构时)
|
|
80
|
+
|
|
81
|
+
| 味道 | 处理 |
|
|
82
|
+
|------|------|
|
|
83
|
+
| 胖入口(HTTP/UI 里一长串业务 if) | 业务规则下沉 Application / Domain |
|
|
84
|
+
| 入口直接碰持久化 Session / SQL | 经 Repository / 端口 |
|
|
85
|
+
| 持久化层抛传输层异常或发通知 | 只返回数据 / 领域错误;编排上移 |
|
|
86
|
+
| 跨层反向依赖 | 恢复单向依赖;必要时抽端口 |
|
|
87
|
+
|
|
88
|
+
重构保持外部契约不变;改完跑宿主相关测与 ReadLints。
|
|
89
|
+
|
|
90
|
+
## 10. 外部集成通则
|
|
91
|
+
|
|
92
|
+
对接第三方(HTTP / SDK)时:
|
|
93
|
+
|
|
94
|
+
1. **契约与鉴权**:Token 可缓存并在过期前刷新,避免每次热路径重取;
|
|
95
|
+
2. **超时**:所有出站调用设明确超时,禁止无限等;
|
|
96
|
+
3. **重试**:仅对幂等或明确可重试错误做有限退避;
|
|
97
|
+
4. **错误翻译**:底层网络/SDK 异常 → 领域错误 + 可关联的 request id / 状态码日志;
|
|
98
|
+
5. **降级**:非核心链路(如通知)失败不拖垮主 Job;
|
|
99
|
+
6. **测试**:CI 禁打真实第三方;mock 成功 / 超时 / 5xx。
|
|
100
|
+
|
|
101
|
+
命令、客户端落点、队列名 → `AGENTS.md`。
|
|
102
|
+
|
|
103
|
+
## 11. 性能通则
|
|
104
|
+
|
|
105
|
+
- **先测后改**:用日志、Profiler、慢查询证据定位瓶颈,禁止无证据的「感觉优化」;
|
|
106
|
+
- 常见后端:循环内查询(N+1)、缺索引、把长活放进请求线程(应进宿主声明的异步队列);
|
|
107
|
+
- 常见前端:无意义大树重渲染、长列表无虚拟化、重复 GET(缓存策略读宿主数据层约定);
|
|
108
|
+
- 优化后对比前后耗时/体量,写进 PR 或 `run.md`,不空口「变快了」。
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Tokens — 覆盖规则
|
|
2
|
+
|
|
3
|
+
插件预置的**封闭尺度与语义色角色**默认值。有 UI 时与 surface 册一并服从。
|
|
4
|
+
|
|
5
|
+
## 覆盖顺序
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
宿主 AGENTS.md / docs/product/{PRODUCT,DESIGN}.md / 已声明设计 token / 组件库主题
|
|
9
|
+
≫ 本版 Spec 显式差量
|
|
10
|
+
≫ 本目录默认(scale.md / color-roles.md / motion.md)
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
- 宿主已有完整 DS(antd / Geist / shadcn theme 等)→ **禁止平行发明第二套数值**;只保留本目录的**角色名与禁令**,数值以宿主为准。
|
|
14
|
+
- 宿主无 DS → 使用本目录默认表施工。
|
|
15
|
+
- 禁止在组件里写魔法 px / 任意 hex(须来自 token 或宿主变量)。
|
|
16
|
+
**Wireless:** 散落魔法长度 = bug → 见 [scale.md](./scale.md) §Wireless。
|
|
17
|
+
|
|
18
|
+
## 册
|
|
19
|
+
|
|
20
|
+
| 文件 | 内容 |
|
|
21
|
+
|------|------|
|
|
22
|
+
| [scale.md](./scale.md) | space / type / height / radius / icon 封闭阶梯 + wireless |
|
|
23
|
+
| [color-roles.md](./color-roles.md) | 语义色角色 + 无宿主默认 hex |
|
|
24
|
+
| [motion.md](./motion.md) | 时长 / 缓动 / 频率门 / 同屏≤3 |
|
|
25
|
+
|
|
26
|
+
加载合同 → [../README.md](../README.md)。
|
package/presets/code-vibe/skills/frontend-design/references/design-standards/tokens/color-roles.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Color Roles(语义色)
|
|
2
|
+
|
|
3
|
+
> 只许下列**角色**;施工用 `var(--…)` 或宿主 token 名,禁止组件内任意 hex。
|
|
4
|
+
> 无宿主 DS 时用「默认值」列。覆盖 → [README.md](./README.md)。
|
|
5
|
+
|
|
6
|
+
## 1. 角色表
|
|
7
|
+
|
|
8
|
+
| 角色 | 含义 | 无宿主默认(Light) |
|
|
9
|
+
|------|------|---------------------|
|
|
10
|
+
| `canvas` | 最底层画布 | `#F5F5F5` |
|
|
11
|
+
| `surface` | 主表面(面板/卡片底) | `#FFFFFF` |
|
|
12
|
+
| `surface-muted` | 次级表面(表头、斑马弱底) | `#FAFAFA` |
|
|
13
|
+
| `text` | 主文 | `#1F1F1F` |
|
|
14
|
+
| `text-secondary` | 次文 | `#595959` |
|
|
15
|
+
| `text-disabled` | 禁用/占位 | `#BFBFBF` |
|
|
16
|
+
| `border` | 默认线 | `#F0F0F0` |
|
|
17
|
+
| `border-strong` | 强调线 | `#D9D9D9` |
|
|
18
|
+
| `accent` | **唯一**主行动 / 链接 / 焦点强调 | `#1677FF`(可被宿主品牌替换) |
|
|
19
|
+
| `accent-hover` | accent 悬停 | `#4096FF` |
|
|
20
|
+
| `accent-active` | accent 按下 | `#0958D9` |
|
|
21
|
+
| `success` | 成功状态 | `#52C41A` |
|
|
22
|
+
| `warning` | 警告 | `#FAAD14` |
|
|
23
|
+
| `error` | 错误/危险 | `#FF4D4F` |
|
|
24
|
+
| `info` | 信息 | `#1677FF` |
|
|
25
|
+
| `chart-1`…`chart-6` | **仅**图表分类色 | 宿主或实现时再定;不得用于主按钮 |
|
|
26
|
+
|
|
27
|
+
暗色主题:宿主提供;未提供时保持对比度 ≥ WCAG 底线,勿纯 `#000` / `#FFF` 硬编码正文。
|
|
28
|
+
|
|
29
|
+
## 2. 使用纪律
|
|
30
|
+
|
|
31
|
+
1. **先灰度建层级**(字重/尺寸/对比),最后上色。
|
|
32
|
+
2. 颜色只用于:**状态**、**唯一主 CTA/链接**、**品牌强调**、**图表系列**。
|
|
33
|
+
3. 同级信息不用颜色区分;状态须配文案或图标(不只靠色)。
|
|
34
|
+
4. 一屏 **一个** `accent` 主行动色;勿多品牌色抢权。
|
|
35
|
+
|
|
36
|
+
## 3. 硬禁止(输出扫描)
|
|
37
|
+
|
|
38
|
+
| 禁止 | 原因 |
|
|
39
|
+
|------|------|
|
|
40
|
+
| `#6366F1` / `#818CF8` / 同类「AI 紫靛」作 accent | 通用模型默认味 |
|
|
41
|
+
| 装饰渐变、glow、grain、玻璃拟态抢主任务 | product 与多数 consumer 主路径 |
|
|
42
|
+
| 纯黑 `#000` 大面积正文或阴影 | 改用 near-black / 多层淡影 |
|
|
43
|
+
| 用 success 绿表达「推荐/更省钱」而无状态语义 | 学 Vercel:色须有意义 |
|
|
44
|
+
| 预设彩虹色当主按钮 | 分类色只给 tag/chart |
|
|
45
|
+
|
|
46
|
+
## 4. 与宿主
|
|
47
|
+
|
|
48
|
+
- AGENTS 声明 `primary` / 品牌色 → 映射到 `accent*`,替换默认蓝。
|
|
49
|
+
- 使用 antd / Geist 等 → 直接用其 token,角色语义对齐本表,不另起 hex。
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Motion(封闭集)
|
|
2
|
+
|
|
3
|
+
> 默认静止。动效只服务状态变化、连续性或确认反馈。
|
|
4
|
+
|
|
5
|
+
## 时长
|
|
6
|
+
|
|
7
|
+
| Token | 建议 | 用途 |
|
|
8
|
+
|-------|------|------|
|
|
9
|
+
| `--dur-quick` | 120ms | hover / press |
|
|
10
|
+
| `--dur-base` | 200ms | 面板开合、淡入 |
|
|
11
|
+
| `--dur-slow` | 320ms | 罕见的大布局过渡 |
|
|
12
|
+
|
|
13
|
+
禁止组件内散落 `300ms`/`400ms` 魔法数;统一走 token。
|
|
14
|
+
`transition` 须列出属性(如 `opacity, transform`),禁止 `transition: all`。
|
|
15
|
+
|
|
16
|
+
## 缓动
|
|
17
|
+
|
|
18
|
+
| Token | 用途 |
|
|
19
|
+
|-------|------|
|
|
20
|
+
| `--ease-snap` | 按下/hover |
|
|
21
|
+
| `--ease-soft` | 模态/toast |
|
|
22
|
+
| `--ease-layout` | 宽高类布局(能避免则避免动画宽高) |
|
|
23
|
+
|
|
24
|
+
只动画 `transform` / `opacity`(及 compositor 友好属性)。
|
|
25
|
+
|
|
26
|
+
## Reduced motion
|
|
27
|
+
|
|
28
|
+
```css
|
|
29
|
+
@media (prefers-reduced-motion: reduce) {
|
|
30
|
+
:root {
|
|
31
|
+
--dur-quick: 1ms;
|
|
32
|
+
--dur-base: 1ms;
|
|
33
|
+
--dur-slow: 1ms;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Surface 差量 · 频率门
|
|
39
|
+
|
|
40
|
+
| | product | consumer |
|
|
41
|
+
|--|---------|----------|
|
|
42
|
+
| **日频操作**(Cmd+K、行展开、Tab、筛选、行内保存) | **默认可无动画**;要动则 ≤ `--dur-quick` | 短反馈可有 |
|
|
43
|
+
| 低频确认(Modal 开合、成功) | `--dur-base` 可接受 | 同左 |
|
|
44
|
+
| growth 落地 | — | 允许有意义入场;禁自动跑马灯/假打字/装饰脉冲 |
|
|
45
|
+
| 发光/脉冲状态点 | **禁止** | **禁止** |
|
|
46
|
+
|
|
47
|
+
## 同屏预算
|
|
48
|
+
|
|
49
|
+
同一 viewport **同时可见的动画 ≤ 3**(含入场、装饰、循环)。超出 → 删装饰,保留状态反馈。
|
|
50
|
+
只动画 `transform` / `opacity`;滚动驱动优先 CSS 时间线,避免 JS 狂抖。
|
|
51
|
+
旋钮 `motion`(见 [../craft-knobs.md](../craft-knobs.md))低分时进一步砍入场。
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Token Scale(封闭尺度)
|
|
2
|
+
|
|
3
|
+
> 无宿主设计系统时的默认阶梯。只许表内值;半档(如 10、14px gap、`text-[13px]`)视为违规。
|
|
4
|
+
> 覆盖 → [README.md](./README.md)。
|
|
5
|
+
|
|
6
|
+
## 1. Spacing(基单位 4)
|
|
7
|
+
|
|
8
|
+
| Token 角色 | px | 典型用途 |
|
|
9
|
+
|------------|-----|----------|
|
|
10
|
+
| `space-1` | 4 | 紧挨控件内边距、图标与文字微距 |
|
|
11
|
+
| `space-2` | 8 | 控件内默认、密集组内 gap |
|
|
12
|
+
| `space-3` | 12 | 表单字段组、chip 间距 |
|
|
13
|
+
| `space-4` | 16 | 区块内默认 gap、表头/单元格常用垫 |
|
|
14
|
+
| `space-5` | 24 | 卡片/分组内边距、段间 |
|
|
15
|
+
| `space-6` | 32 | 大分组、页头与内容 |
|
|
16
|
+
| `space-7` | 48 | 章节级分隔 |
|
|
17
|
+
|
|
18
|
+
**无线关系(名称固定,值取自上表或宿主等价物):**
|
|
19
|
+
|
|
20
|
+
| 名 | 含义 |
|
|
21
|
+
|----|------|
|
|
22
|
+
| `--page-pl` / `--page-pr` | 内容区左右垫;与侧栏首列对齐时必须同源 |
|
|
23
|
+
| `--detail-px` | 详情阅读页水平垫(可 ≥ list 页) |
|
|
24
|
+
| `--row-h` | 密集行高(表行/导航行) |
|
|
25
|
+
| `--top-row-h` | 顶栏 / 侧栏品牌行高 |
|
|
26
|
+
| `--slot-size` | 图标对齐槽(槽对齐,不是图标本身乱改尺寸) |
|
|
27
|
+
|
|
28
|
+
组件内禁止裸写 `padding: 13px` 等;用上表或 `calc(var(--…))`。
|
|
29
|
+
|
|
30
|
+
### Wireless(硬编码 = bug)
|
|
31
|
+
|
|
32
|
+
可见 **间距 / 高度 / gap / 字号 / 圆角 / 图标外槽** 必须是表内 token、宿主变量或 `calc(token…)`。
|
|
33
|
+
组件源码里散落魔法 px(含 Tailwind 任意值 `p-[13px]`、`text-[13px]`、`h-[37px]`)→ **当作 bug 修**,不是风格偏好。
|
|
34
|
+
验收:抽主路径组件,对非常量 token 的裸长度零容忍(图表库内部除外,外层尺寸仍锁 token)。
|
|
35
|
+
|
|
36
|
+
## 2. Control height
|
|
37
|
+
|
|
38
|
+
| Token | px | 用途 |
|
|
39
|
+
|-------|-----|------|
|
|
40
|
+
| `control-xs` | 28 | 密级 chip、次要图标钮、密表行控件 |
|
|
41
|
+
| `control-sm` | 32 | **product 默认**:按钮、搜索、多数 Input |
|
|
42
|
+
| `control-md` | 36 | 舒适表单行、表单元格内控件 |
|
|
43
|
+
| `control-lg` | 44 | 顶栏行;**consumer 主 CTA / 触控主目标** |
|
|
44
|
+
|
|
45
|
+
## 3. Type(字号阶梯)
|
|
46
|
+
|
|
47
|
+
| 角色 | px | 用途 |
|
|
48
|
+
|------|-----|------|
|
|
49
|
+
| `type-xs` | 12 | 次要元数据、时间戳 |
|
|
50
|
+
| `type-sm` | 14 | **product body 默认**;表单元格、表单 label、导航项 |
|
|
51
|
+
| `type-md` | 16 | consumer 主路径正文;callout |
|
|
52
|
+
| `type-lg` | 18 | 详情内小节标题 |
|
|
53
|
+
| `type-xl` | 20 | 页标题(少用) |
|
|
54
|
+
| `type-2xl` | 24 | 章节/consumer 强调标题 |
|
|
55
|
+
| `type-display` | 30 | KPI 大数、growth 主标题(克制使用) |
|
|
56
|
+
|
|
57
|
+
字重仅:`400` / `500` / `600`。
|
|
58
|
+
**product 禁用 `700`(bold)** — 14px 上过重。
|
|
59
|
+
数字列 / 对比列:`font-variant-numeric: tabular-nums`。
|
|
60
|
+
|
|
61
|
+
## 4. Radius
|
|
62
|
+
|
|
63
|
+
| 角色 | px | 用途 |
|
|
64
|
+
|------|-----|------|
|
|
65
|
+
| `radius-none` | 0 | 齐平密表、需硬边时 |
|
|
66
|
+
| `radius-xs` | 2 | 微 |
|
|
67
|
+
| `radius-sm` | 4 | 小标签 |
|
|
68
|
+
| `radius-md` | 6 | **默认控件**(按钮/输入) |
|
|
69
|
+
| `radius-lg` | 8 | 卡片/模态外框上限(product) |
|
|
70
|
+
| `radius-full` | 9999 | pill / 状态胶囊 |
|
|
71
|
+
|
|
72
|
+
内外圆角:内 ≤ 外。
|
|
73
|
+
|
|
74
|
+
## 5. Icon
|
|
75
|
+
|
|
76
|
+
| 角色 | px |
|
|
77
|
+
|------|-----|
|
|
78
|
+
| `icon-sm` | 14 |
|
|
79
|
+
| `icon-md` | 16 |
|
|
80
|
+
|
|
81
|
+
同一界面单一 icon 家族与单一 stroke;禁止混用描边粗细。
|
|
82
|
+
|
|
83
|
+
## 6. Surface 差量(尺度)
|
|
84
|
+
|
|
85
|
+
| | product | consumer in-product | consumer growth |
|
|
86
|
+
|--|---------|---------------------|-----------------|
|
|
87
|
+
| 默认 body | 14 | 16(可读优先) | 按标题角色,勿半档 |
|
|
88
|
+
| 默认控件高 | 32 | 主行动 ≥44 | CTA ≥44 |
|
|
89
|
+
| 密度 | 偏 compact | motif 决定 | 首屏留白服从构图,非密表 |
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# UI Page Gate(评审输出模板)
|
|
2
|
+
|
|
3
|
+
> 新建/大改用户可见页(或含表单的 Dialog/Sheet)时,写业务 UI 前用本模板做评审。
|
|
4
|
+
> **加载义务与字段强度 → [LOAD-MAP.md](./LOAD-MAP.md)**(本文件不另定硬门)。
|
|
5
|
+
|
|
6
|
+
**硬门:** 禁字段平铺成 UI;先产品判断与 IA;评审确认前不写页。
|
|
7
|
+
|
|
8
|
+
## 何时启用
|
|
9
|
+
|
|
10
|
+
新建路由、大改布局/主任务、含表单的 Dialog/Sheet/Drawer。
|
|
11
|
+
trivial / Polish / 非 material refinement → 见 LOAD-MAP **豁免**;可不跑完整评审。
|
|
12
|
+
|
|
13
|
+
## 阶段〇:Job Brief(硬门)
|
|
14
|
+
|
|
15
|
+
先完成 [product-judgment.md](./product-judgment.md):Job / Desired outcome / Consequence 必填;2–4 条人话验收。
|
|
16
|
+
填不出 → **停,问用户**;禁止进入阶段二画 IA/控件。
|
|
17
|
+
|
|
18
|
+
## 阶段一:五问 → 页面定位
|
|
19
|
+
|
|
20
|
+
1. 谁 2. 核心任务 3. 频率 4. 决策信息 5. 失败边界 → 一句页面定位。
|
|
21
|
+
必填字段按 LOAD-MAP 字段门控表落盘(Job Brief、Design Read、surface、page_kind/motif、anchor…)。
|
|
22
|
+
|
|
23
|
+
## 阶段二:IA
|
|
24
|
+
|
|
25
|
+
| 决策 | |
|
|
26
|
+
|------|--|
|
|
27
|
+
| 交互单位 | 跟 Job 走,不跟内部类型表(product-judgment `rule/interaction-unit`) |
|
|
28
|
+
| 骨架 | 服从合同 `page_kind`/`motif`;混任务拆页;redundancy hunt(见 [LOAD-MAP](./LOAD-MAP.md)) |
|
|
29
|
+
| 主次 / 披露 / 密度 / 路径 | ID 优先选择器 |
|
|
30
|
+
|
|
31
|
+
覆盖层:先定交互单位与批量规则,再选容器——新建短表→Modal;行预览→Sheet;单字段→行内。
|
|
32
|
+
|
|
33
|
+
## 阶段三:探测宿主资源
|
|
34
|
+
|
|
35
|
+
AGENTS / PRODUCT.md / DESIGN.md / 现有 API 与组件;DS 绑定见 AGENTS。
|
|
36
|
+
|
|
37
|
+
## 阶段四:评审块(确认前停)
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
### 页面设计评审:[名]
|
|
41
|
+
Job Brief(User / Job / Desired / Consequence / Permissions):
|
|
42
|
+
人话验收:…
|
|
43
|
+
Design Read:…
|
|
44
|
+
定位:…
|
|
45
|
+
UI surface / page_kind|motif / shell / visitor_mode:
|
|
46
|
+
knobs(v/m/d):
|
|
47
|
+
change(new|refinement|redesign):
|
|
48
|
+
anchor / diverge:
|
|
49
|
+
设计决策(含交互单位 / 引用 rule/*):…
|
|
50
|
+
信息架构:…
|
|
51
|
+
字段清单:…
|
|
52
|
+
主干流程:…
|
|
53
|
+
业务四态 + 交互五态:…
|
|
54
|
+
覆盖层选择:Modal|Sheet|行内|—
|
|
55
|
+
待确认:…
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## 阶段五:实现 / 验收
|
|
59
|
+
|
|
60
|
+
按 LOAD-MAP 场景行加载册;宿主 DS 优先;输出前扫 ai-tells;文案守 copy.md。
|
|
61
|
+
验收:浏览器走主干 Job;对照 LOAD-MAP 场景行 + ai-tells。
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "ui-surface",
|
|
3
|
+
"title": "有 UI 时体验/视觉/门控自检",
|
|
4
|
+
"source": "LOAD-MAP + design-standards/*",
|
|
5
|
+
"required_when": "has_ui",
|
|
6
|
+
"note": "Plan 优先勾 load_map…anchor;Build 按 page_kind 展开 when 项;Verify 抽检 ai_tells/a11y/copy。强度见 LOAD-MAP 字段表。",
|
|
7
|
+
"items": [
|
|
8
|
+
{"id": "load_map", "phase": "plan|build", "prompt": "已按 LOAD-MAP 加载本任务必读册(非只读 visual/ux 开头)"},
|
|
9
|
+
{"id": "job_brief", "phase": "plan|build", "prompt": "已写 Job Brief(Job / Desired outcome / Consequence;见 product-judgment)"},
|
|
10
|
+
{"id": "plain_acceptance", "phase": "plan|build", "prompt": "已写 2–4 条人话验收;无实现黑话"},
|
|
11
|
+
{"id": "interaction_unit", "phase": "build", "prompt": "交互单位跟 Job 走(非内部类型 Tab 当主路径)"},
|
|
12
|
+
{"id": "design_read", "phase": "plan|build", "prompt": "已写 Design Read 一行(craft-knobs)"},
|
|
13
|
+
{"id": "surface_declared", "phase": "plan|build", "prompt": "已声明 UI surface: product|consumer|n/a"},
|
|
14
|
+
{"id": "page_kind_declared", "phase": "plan|build", "prompt": "已声明 page_kind 或 motif(等价)"},
|
|
15
|
+
{"id": "visitor_mode", "phase": "build", "prompt": "已设或默认 visitor_mode(persuade|operate|read|experience)"},
|
|
16
|
+
{"id": "craft_knobs", "phase": "build", "prompt": "variance/motion/density 已设或接受默认(density 用 1–10)"},
|
|
17
|
+
{"id": "anchor_declared", "phase": "build", "prompt": "已写 anchor + diverge(非「现代简洁」);Plan 可 warn"},
|
|
18
|
+
{"id": "change_control", "phase": "build", "prompt": "改存量时已声明 refinement|redesign;material 变更已进合同"},
|
|
19
|
+
{"id": "surface_pack_applied", "phase": "build", "prompt": "已按 surfaces + pages + components 自检"},
|
|
20
|
+
{"id": "page_positioning", "phase": "build", "prompt": "页面定位(谁/任务/频率)清晰"},
|
|
21
|
+
{"id": "ia_not_field_dump", "phase": "build", "prompt": "非后端字段平铺"},
|
|
22
|
+
{"id": "redundancy_hunt", "phase": "build", "prompt": "标签/标题无重复堆叠(pages README)"},
|
|
23
|
+
{"id": "job_paths", "phase": "build|verify", "prompt": "主 Job 成功/失败/权限可感"},
|
|
24
|
+
{"id": "feedback", "phase": "build|verify", "prompt": "反馈可观察"},
|
|
25
|
+
{"id": "no_uuid_memory", "phase": "build", "prompt": "不逼记内部 ID;优先选择器"},
|
|
26
|
+
{"id": "nav_consistency", "phase": "build", "prompt": "导航/用词一致或显式 Breaking"},
|
|
27
|
+
{"id": "primary_task", "phase": "build", "prompt": "一屏一主任务"},
|
|
28
|
+
{"id": "states", "phase": "build|verify", "prompt": "空/载/错/成功/无权限有意图;空态两分"},
|
|
29
|
+
{"id": "interaction_states", "phase": "build", "prompt": "主控件五态(interaction-states)"},
|
|
30
|
+
{"id": "token_scale", "phase": "build", "prompt": "尺度来自 tokens 或宿主 DS;无魔法 px(wireless)"},
|
|
31
|
+
{"id": "color_roles", "phase": "build", "prompt": "色角色合规;无 AI 紫抢权"},
|
|
32
|
+
{"id": "motion_budget", "phase": "build", "prompt": "同屏动画≤3;日频操作频率门"},
|
|
33
|
+
{"id": "overlay_choice", "phase": "build", "prompt": "Modal/Sheet/行内选对(overlays)"},
|
|
34
|
+
{"id": "copy_verbs", "phase": "verify", "prompt": "主按钮/错误文案服从 copy.md"},
|
|
35
|
+
{"id": "a11y", "phase": "verify", "prompt": "web-interface / WCAG 底线"},
|
|
36
|
+
{"id": "ai_tells_scanned", "phase": "build|verify", "prompt": "输出前已扫 ai-tells"},
|
|
37
|
+
{"id": "no_second_ds", "phase": "build", "prompt": "未平行发明第二套视觉语言"},
|
|
38
|
+
{"id": "product_shell_if_chrome", "phase": "build", "prompt": "when product 改壳:shell 匹配 product-shells"},
|
|
39
|
+
{"id": "product_alignment", "phase": "build", "prompt": "when product 壳:跨态对齐不变量"},
|
|
40
|
+
{"id": "product_datatable_laws", "phase": "build", "prompt": "when list:DataTable 三定律"},
|
|
41
|
+
{"id": "product_form_shape", "phase": "build", "prompt": "when 表单:形选对"},
|
|
42
|
+
{"id": "product_no_native_select", "phase": "build", "prompt": "when product:无滥用原生 select"},
|
|
43
|
+
{"id": "product_no_marketing_leak", "phase": "build", "prompt": "when product:无 C 端壳误用"},
|
|
44
|
+
{"id": "consumer_motif_or_reason", "phase": "build", "prompt": "when consumer:motif/page_kind 已设"},
|
|
45
|
+
{"id": "consumer_no_admin_default", "phase": "build", "prompt": "when consumer:无侧栏密表默认"},
|
|
46
|
+
{"id": "consumer_growth_budget", "phase": "build", "prompt": "when growth:定调+uniqueness+首屏预算"},
|
|
47
|
+
{"id": "dashboard_chart_gate", "phase": "build", "prompt": "when dashboard:图类型匹配故事"}
|
|
48
|
+
]
|
|
49
|
+
}
|