@cueplusplus/ui 0.9.0 → 0.11.0
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/CHANGELOG.md +337 -0
- package/README.md +197 -9
- package/dist/chrome/index.d.ts +2 -1
- package/dist/chrome/index.js +3 -2
- package/dist/chrome/inspector.d.ts +61 -0
- package/dist/chrome/inspector.js +121 -0
- package/dist/forms/input.d.ts +12 -0
- package/dist/forms/textarea.d.ts +12 -0
- package/dist/forms/toggle.d.ts +6 -0
- package/dist/index.d.ts +7 -3
- package/dist/index.js +8 -3
- package/dist/instruments/code-block.d.ts +35 -0
- package/dist/instruments/code-block.js +173 -0
- package/dist/instruments/index.d.ts +2 -1
- package/dist/instruments/index.js +2 -1
- package/dist/instruments/meter.d.ts +5 -1
- package/dist/layout/bento.d.ts +144 -0
- package/dist/layout/bento.js +266 -0
- package/dist/layout/index.d.ts +4 -2
- package/dist/layout/index.js +4 -2
- package/dist/layout/preview.d.ts +110 -0
- package/dist/layout/preview.js +459 -0
- package/dist/primitives/button.d.ts +12 -0
- package/dist/primitives/chip.d.ts +1 -1
- package/dist/system/index.d.ts +2 -2
- package/dist/system/index.js +2 -1
- package/dist/system/overrides.d.ts +38 -1
- package/dist/system/overrides.js +40 -1
- package/manifest/components/accordion.json +24 -6
- package/manifest/components/activity-graph.json +20 -5
- package/manifest/components/agent-card.json +37 -9
- package/manifest/components/agent-handoff.json +21 -5
- package/manifest/components/agent-mode-badge.json +22 -4
- package/manifest/components/agent-pile.json +38 -8
- package/manifest/components/agent-plan.json +9 -2
- package/manifest/components/agent-status.json +17 -3
- package/manifest/components/agent-surface.json +26 -11
- package/manifest/components/alert-dialog.json +29 -5
- package/manifest/components/animated-number.json +14 -6
- package/manifest/components/app-bar.json +66 -13
- package/manifest/components/app-shell.json +133 -31
- package/manifest/components/app-window-frame.json +28 -6
- package/manifest/components/approval-card.json +37 -7
- package/manifest/components/artifact-card.json +16 -4
- package/manifest/components/ask-box.json +99 -21
- package/manifest/components/audience-icon.json +1 -7
- package/manifest/components/autocomplete.json +80 -18
- package/manifest/components/avatar-group.json +13 -2
- package/manifest/components/avatar.json +22 -4
- package/manifest/components/background-inbox.json +9 -2
- package/manifest/components/bento.json +306 -0
- package/manifest/components/branch-picker.json +29 -7
- package/manifest/components/breadcrumb.json +13 -3
- package/manifest/components/button-group.json +21 -4
- package/manifest/components/button.json +41 -4
- package/manifest/components/canvas-split-body.json +4 -1
- package/manifest/components/canvas-split-header.json +17 -4
- package/manifest/components/canvas-split-line.json +4 -1
- package/manifest/components/canvas-split-message.json +8 -1
- package/manifest/components/card.json +14 -3
- package/manifest/components/carousel.json +54 -12
- package/manifest/components/catalogue-icon.json +1 -7
- package/manifest/components/channel-beta-icon.json +1 -7
- package/manifest/components/channel-matrix.json +80 -15
- package/manifest/components/channel-released-icon.json +1 -7
- package/manifest/components/chart-container.json +26 -10
- package/manifest/components/chart-ramp.json +13 -3
- package/manifest/components/chart-swatch.json +9 -2
- package/manifest/components/chart-tooltip-content.json +31 -7
- package/manifest/components/chart.json +30 -6
- package/manifest/components/chat-panel-composer.json +9 -2
- package/manifest/components/checkbox-group.json +4 -2
- package/manifest/components/checkbox.json +17 -4
- package/manifest/components/checkpoint-history.json +13 -3
- package/manifest/components/chip.json +35 -5
- package/manifest/components/clamp.json +30 -7
- package/manifest/components/cli-tool-icon.json +1 -7
- package/manifest/components/code-block.json +106 -0
- package/manifest/components/code-diff.json +20 -5
- package/manifest/components/code-runner.json +32 -6
- package/manifest/components/collapsible.json +16 -4
- package/manifest/components/color-area.json +4 -1
- package/manifest/components/color-field.json +13 -3
- package/manifest/components/color-picker.json +75 -17
- package/manifest/components/color-slider.json +12 -3
- package/manifest/components/color-swatch.json +13 -2
- package/manifest/components/colors-section.json +8 -4
- package/manifest/components/combobox.json +81 -18
- package/manifest/components/command-palette.json +57 -13
- package/manifest/components/compaction-row.json +35 -7
- package/manifest/components/comparison-card.json +17 -4
- package/manifest/components/composer-attachment-chip.json +9 -2
- package/manifest/components/composer-bar.json +4 -1
- package/manifest/components/composer-command-item.json +8 -2
- package/manifest/components/composer-context.json +4 -1
- package/manifest/components/composer-input.json +5 -1
- package/manifest/components/composer-menu-item.json +4 -1
- package/manifest/components/composer-menu.json +12 -2
- package/manifest/components/composer-model-item.json +8 -2
- package/manifest/components/composer-model-trigger.json +8 -2
- package/manifest/components/composer-person-item.json +8 -2
- package/manifest/components/composer-send.json +8 -2
- package/manifest/components/composer-voice-button.json +4 -1
- package/manifest/components/composer-voice.json +8 -2
- package/manifest/components/composer.json +76 -17
- package/manifest/components/computer-use.json +17 -4
- package/manifest/components/confidence-marker.json +13 -3
- package/manifest/components/connection-state.json +23 -4
- package/manifest/components/container.json +14 -2
- package/manifest/components/context-breakdown.json +8 -2
- package/manifest/components/context-menu.json +16 -4
- package/manifest/components/context-usage.json +16 -4
- package/manifest/components/conversation-search.json +22 -5
- package/manifest/components/copy-button.json +32 -7
- package/manifest/components/cost-meter.json +12 -3
- package/manifest/components/cue-logotype.json +17 -3
- package/manifest/components/cue-mark.json +17 -3
- package/manifest/components/cue-portal-frame.json +13 -3
- package/manifest/components/data-row.json +21 -7
- package/manifest/components/data-table-pagination.json +18 -4
- package/manifest/components/data-table-toolbar.json +30 -7
- package/manifest/components/data-tree.json +42 -9
- package/manifest/components/date-field.json +13 -2
- package/manifest/components/date-picker.json +81 -19
- package/manifest/components/date-range-picker.json +81 -19
- package/manifest/components/day-separator.json +4 -1
- package/manifest/components/delegation-card.json +64 -12
- package/manifest/components/density.json +24 -4
- package/manifest/components/description-list.json +8 -1
- package/manifest/components/diagram.json +33 -7
- package/manifest/components/dialog.json +29 -6
- package/manifest/components/disclosure.json +31 -7
- package/manifest/components/dmx-bar.json +16 -4
- package/manifest/components/dmx-strip.json +20 -5
- package/manifest/components/document-reference.json +21 -5
- package/manifest/components/draft-restore.json +18 -4
- package/manifest/components/drawer.json +30 -6
- package/manifest/components/dropdown-menu.json +55 -10
- package/manifest/components/edit-message.json +32 -7
- package/manifest/components/elements-command-palette.json +27 -6
- package/manifest/components/elements-data-table.json +9 -2
- package/manifest/components/elements-timeline.json +8 -2
- package/manifest/components/elicitation-form.json +31 -6
- package/manifest/components/empty-state-composer.json +9 -2
- package/manifest/components/empty-state-suggestion.json +4 -1
- package/manifest/components/empty-state.json +25 -5
- package/manifest/components/end-of-turn-summary.json +16 -4
- package/manifest/components/env-var-input.json +54 -12
- package/manifest/components/error-state.json +17 -4
- package/manifest/components/export-dialog.json +27 -8
- package/manifest/components/eyebrow.json +4 -1
- package/manifest/components/feedback-dialog.json +33 -7
- package/manifest/components/field-description.json +4 -1
- package/manifest/components/field-error.json +13 -3
- package/manifest/components/field-label.json +4 -1
- package/manifest/components/field.json +4 -1
- package/manifest/components/file-tree.json +16 -4
- package/manifest/components/file-upload.json +58 -13
- package/manifest/components/flow-graph.json +12 -3
- package/manifest/components/folder-icon.json +1 -7
- package/manifest/components/footer.json +24 -4
- package/manifest/components/frac.json +10 -2
- package/manifest/components/generation-loader.json +17 -3
- package/manifest/components/generative-ui.json +39 -7
- package/manifest/components/grid.json +56 -5
- package/manifest/components/group-bar.json +25 -6
- package/manifest/components/guardrail-notice.json +22 -5
- package/manifest/components/hover-card.json +45 -8
- package/manifest/components/icon-button.json +22 -4
- package/manifest/components/image-generation.json +8 -2
- package/manifest/components/info-tip.json +42 -7
- package/manifest/components/inline-citation.json +14 -3
- package/manifest/components/input-group.json +24 -5
- package/manifest/components/input.json +33 -3
- package/manifest/components/inspector.json +199 -0
- package/manifest/components/item.json +42 -8
- package/manifest/components/job-progress.json +25 -6
- package/manifest/components/launcher-bubble.json +32 -7
- package/manifest/components/ledger.json +87 -19
- package/manifest/components/link.json +16 -3
- package/manifest/components/live-region-announcer.json +21 -5
- package/manifest/components/log-viewer.json +42 -10
- package/manifest/components/map-answer.json +17 -4
- package/manifest/components/markdown-text.json +36 -5
- package/manifest/components/math-block.json +12 -3
- package/manifest/components/mcp-server-icon.json +1 -7
- package/manifest/components/mcp-server-panel.json +18 -4
- package/manifest/components/memory-chips.json +9 -2
- package/manifest/components/menubar.json +33 -7
- package/manifest/components/message-actions.json +32 -7
- package/manifest/components/message-attachments.json +9 -2
- package/manifest/components/message-branches.json +14 -3
- package/manifest/components/message-list.json +27 -6
- package/manifest/components/message-pair.json +25 -5
- package/manifest/components/message-queue.json +13 -3
- package/manifest/components/message-timing.json +8 -2
- package/manifest/components/message.json +41 -9
- package/manifest/components/meter.json +43 -7
- package/manifest/components/mobile-composer.json +47 -10
- package/manifest/components/model-picker.json +13 -3
- package/manifest/components/multi-select.json +78 -17
- package/manifest/components/musical-time-input.json +34 -8
- package/manifest/components/navigation-menu.json +54 -12
- package/manifest/components/node-card.json +42 -7
- package/manifest/components/node-handle.json +17 -2
- package/manifest/components/number-field.json +28 -6
- package/manifest/components/number-ticker.json +8 -2
- package/manifest/components/onboarding.json +18 -4
- package/manifest/components/otp-field.json +43 -10
- package/manifest/components/page-shell.json +35 -6
- package/manifest/components/pagination.json +21 -5
- package/manifest/components/panel-header.json +15 -3
- package/manifest/components/password-input.json +58 -8
- package/manifest/components/permission-grant.json +28 -5
- package/manifest/components/permission-scopes.json +57 -12
- package/manifest/components/piano-keyboard.json +38 -9
- package/manifest/components/plussie.json +34 -5
- package/manifest/components/popover.json +45 -8
- package/manifest/components/preset-section.json +12 -5
- package/manifest/components/preview.json +202 -0
- package/manifest/components/progress.json +25 -6
- package/manifest/components/prompt-library.json +27 -6
- package/manifest/components/queue-dock.json +36 -8
- package/manifest/components/quota-banner.json +25 -6
- package/manifest/components/quote-reply.json +29 -7
- package/manifest/components/radio-group.json +12 -2
- package/manifest/components/radio.json +17 -3
- package/manifest/components/rating.json +60 -13
- package/manifest/components/read-aloud.json +35 -8
- package/manifest/components/reasoning-effort.json +17 -4
- package/manifest/components/reasoning-panel.json +33 -8
- package/manifest/components/recommendation-card.json +35 -10
- package/manifest/components/regenerate-menu.json +22 -5
- package/manifest/components/replay-player.json +29 -7
- package/manifest/components/research-report.json +12 -3
- package/manifest/components/resizable.json +4 -1
- package/manifest/components/retrieval-chunks.json +16 -4
- package/manifest/components/revert-dock.json +61 -14
- package/manifest/components/reviewable-diff.json +23 -5
- package/manifest/components/risk-badge.json +18 -3
- package/manifest/components/row.json +17 -4
- package/manifest/components/schedule-card.json +25 -6
- package/manifest/components/score-breakdown.json +20 -5
- package/manifest/components/scroll-anchor.json +13 -3
- package/manifest/components/scroll-area.json +31 -8
- package/manifest/components/scrollable-tabs-list.json +12 -4
- package/manifest/components/scrub-input.json +84 -18
- package/manifest/components/seam-cell.json +19 -3
- package/manifest/components/seam-grid.json +12 -3
- package/manifest/components/search-input.json +69 -10
- package/manifest/components/section-header.json +36 -8
- package/manifest/components/segmented-control.json +50 -11
- package/manifest/components/select.json +74 -16
- package/manifest/components/separator.json +4 -1
- package/manifest/components/settings-panel.json +41 -9
- package/manifest/components/shape-section.json +8 -4
- package/manifest/components/shared-conversation.json +21 -5
- package/manifest/components/sheet.json +29 -6
- package/manifest/components/shimmer-label.json +4 -2
- package/manifest/components/sidebar.json +60 -13
- package/manifest/components/skill-icon.json +1 -7
- package/manifest/components/slider.json +22 -5
- package/manifest/components/sources.json +17 -4
- package/manifest/components/sparkline.json +17 -4
- package/manifest/components/speaker-identity.json +4 -1
- package/manifest/components/spec-sheet.json +16 -4
- package/manifest/components/spectrum-visualizer.json +41 -10
- package/manifest/components/spinner.json +12 -2
- package/manifest/components/stack-icon.json +1 -7
- package/manifest/components/stack.json +54 -7
- package/manifest/components/stacks-matrix-icon.json +1 -7
- package/manifest/components/stat.json +28 -4
- package/manifest/components/status-bar.json +50 -9
- package/manifest/components/status-dot.json +23 -4
- package/manifest/components/stepper.json +22 -5
- package/manifest/components/stopped-run.json +19 -4
- package/manifest/components/streaming-text.json +12 -3
- package/manifest/components/subagent-list.json +21 -5
- package/manifest/components/suggestions.json +27 -5
- package/manifest/components/swap-label.json +18 -4
- package/manifest/components/switch.json +18 -3
- package/manifest/components/table-scroll-region.json +4 -1
- package/manifest/components/table.json +54 -11
- package/manifest/components/tabs.json +16 -5
- package/manifest/components/tags-input.json +79 -17
- package/manifest/components/tail-status.json +37 -8
- package/manifest/components/terminal-block.json +25 -5
- package/manifest/components/terminal-frame.json +34 -8
- package/manifest/components/textarea.json +28 -3
- package/manifest/components/theme-configurator.json +47 -11
- package/manifest/components/theme-provider.json +79 -15
- package/manifest/components/thinking-indicator.json +8 -2
- package/manifest/components/thread-list.json +13 -3
- package/manifest/components/thread-search.json +22 -5
- package/manifest/components/threshold-rail.json +77 -14
- package/manifest/components/time-boundary.json +8 -2
- package/manifest/components/time-field.json +13 -2
- package/manifest/components/timeline-ruler.json +51 -12
- package/manifest/components/timeline.json +19 -3
- package/manifest/components/title-bar.json +19 -4
- package/manifest/components/toast.json +12 -3
- package/manifest/components/todo-list.json +8 -2
- package/manifest/components/toggle-group.json +33 -7
- package/manifest/components/toggle.json +33 -4
- package/manifest/components/token-editor.json +26 -7
- package/manifest/components/tool-call-card.json +83 -16
- package/manifest/components/tool-call.json +37 -9
- package/manifest/components/tool-error.json +34 -8
- package/manifest/components/tool-group.json +17 -4
- package/manifest/components/tool-timeline.json +37 -9
- package/manifest/components/toolbar.json +37 -8
- package/manifest/components/tooltip.json +41 -7
- package/manifest/components/trace-waterfall.json +12 -3
- package/manifest/components/tree-visibility-toggle.json +18 -3
- package/manifest/components/tree.json +52 -11
- package/manifest/components/turn-footer.json +36 -8
- package/manifest/components/two-step-button.json +46 -9
- package/manifest/components/typing-indicator.json +8 -1
- package/manifest/components/universe-grid.json +37 -10
- package/manifest/components/unread-divider.json +4 -1
- package/manifest/components/usage-chart.json +46 -9
- package/manifest/components/verdict-row.json +20 -5
- package/manifest/components/voice-conversation.json +37 -7
- package/manifest/components/web-preview.json +23 -5
- package/manifest/components/web-search.json +20 -5
- package/manifest/components/work-collapse.json +30 -7
- package/manifest/fixtures.json +111 -0
- package/manifest/manifest.json +354 -297
- package/manifest/tokens.json +2 -2
- package/package.json +8 -7
|
@@ -12,91 +12,135 @@
|
|
|
12
12
|
"type": "readonly CommandPaletteItem[]",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Every command the palette can run, in the order they should appear."
|
|
15
|
+
"description": "Every command the palette can run, in the order they should appear.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "array"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "onSelect",
|
|
19
22
|
"type": "(item: CommandPaletteItem) => void",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Called with the command the user ran. The palette closes itself afterwards."
|
|
25
|
+
"description": "Called with the command the user ran. The palette closes itself afterwards.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "callback",
|
|
28
|
+
"fixture": "callback.log"
|
|
29
|
+
}
|
|
23
30
|
},
|
|
24
31
|
{
|
|
25
32
|
"name": "open",
|
|
26
33
|
"type": "boolean",
|
|
27
34
|
"required": false,
|
|
28
35
|
"defaultValue": null,
|
|
29
|
-
"description": "Open state when controlled. Pass with `onOpenChange`."
|
|
36
|
+
"description": "Open state when controlled. Pass with `onOpenChange`.",
|
|
37
|
+
"control": {
|
|
38
|
+
"kind": "boolean"
|
|
39
|
+
}
|
|
30
40
|
},
|
|
31
41
|
{
|
|
32
42
|
"name": "defaultOpen",
|
|
33
43
|
"type": "boolean",
|
|
34
44
|
"required": false,
|
|
35
45
|
"defaultValue": "false",
|
|
36
|
-
"description": "Initial open state when uncontrolled. Defaults to `false`."
|
|
46
|
+
"description": "Initial open state when uncontrolled. Defaults to `false`.",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "boolean"
|
|
49
|
+
}
|
|
37
50
|
},
|
|
38
51
|
{
|
|
39
52
|
"name": "onOpenChange",
|
|
40
53
|
"type": "((open: boolean) => void)",
|
|
41
54
|
"required": false,
|
|
42
55
|
"defaultValue": null,
|
|
43
|
-
"description": "Called whenever the palette wants to open or close."
|
|
56
|
+
"description": "Called whenever the palette wants to open or close.",
|
|
57
|
+
"control": {
|
|
58
|
+
"kind": "callback",
|
|
59
|
+
"fixture": "callback.log"
|
|
60
|
+
}
|
|
44
61
|
},
|
|
45
62
|
{
|
|
46
63
|
"name": "placeholder",
|
|
47
64
|
"type": "string",
|
|
48
65
|
"required": false,
|
|
49
66
|
"defaultValue": "Type a command",
|
|
50
|
-
"description": "Shown while the query is empty. Defaults to `\"Type a command\"`."
|
|
67
|
+
"description": "Shown while the query is empty. Defaults to `\"Type a command\"`.",
|
|
68
|
+
"control": {
|
|
69
|
+
"kind": "string"
|
|
70
|
+
}
|
|
51
71
|
},
|
|
52
72
|
{
|
|
53
73
|
"name": "emptyMessage",
|
|
54
74
|
"type": "ReactNode",
|
|
55
75
|
"required": false,
|
|
56
76
|
"defaultValue": "No commands match",
|
|
57
|
-
"description": "Shown in place of the list when nothing matches. Defaults to `\"No commands match\"`."
|
|
77
|
+
"description": "Shown in place of the list when nothing matches. Defaults to `\"No commands match\"`.",
|
|
78
|
+
"control": {
|
|
79
|
+
"kind": "node",
|
|
80
|
+
"fixture": "children.text"
|
|
81
|
+
}
|
|
58
82
|
},
|
|
59
83
|
{
|
|
60
84
|
"name": "label",
|
|
61
85
|
"type": "string",
|
|
62
86
|
"required": false,
|
|
63
87
|
"defaultValue": "Command palette",
|
|
64
|
-
"description": "Accessible name for the dialog and the input. Defaults to `\"Command palette\"`."
|
|
88
|
+
"description": "Accessible name for the dialog and the input. Defaults to `\"Command palette\"`.",
|
|
89
|
+
"control": {
|
|
90
|
+
"kind": "string"
|
|
91
|
+
}
|
|
65
92
|
},
|
|
66
93
|
{
|
|
67
94
|
"name": "footer",
|
|
68
95
|
"type": "ReactNode",
|
|
69
96
|
"required": false,
|
|
70
97
|
"defaultValue": "(\n <>\n <span>↑↓ navigate</span>\n <span>⏎ run</span>\n <span>esc close</span>\n </>\n)",
|
|
71
|
-
"description": "The hint strip along the foot. Pass `null` to drop it."
|
|
98
|
+
"description": "The hint strip along the foot. Pass `null` to drop it.",
|
|
99
|
+
"control": {
|
|
100
|
+
"kind": "node",
|
|
101
|
+
"fixture": "children.text"
|
|
102
|
+
}
|
|
72
103
|
},
|
|
73
104
|
{
|
|
74
105
|
"name": "debounceMs",
|
|
75
106
|
"type": "number",
|
|
76
107
|
"required": false,
|
|
77
108
|
"defaultValue": "200",
|
|
78
|
-
"description": "Quiet period in ms before the query is re-matched. Defaults to `200`.\n\nThe field itself never waits — only the matching does — so typing stays at\none frame per keystroke however long the command list is."
|
|
109
|
+
"description": "Quiet period in ms before the query is re-matched. Defaults to `200`.\n\nThe field itself never waits — only the matching does — so typing stays at\none frame per keystroke however long the command list is.",
|
|
110
|
+
"control": {
|
|
111
|
+
"kind": "number"
|
|
112
|
+
}
|
|
79
113
|
},
|
|
80
114
|
{
|
|
81
115
|
"name": "filter",
|
|
82
116
|
"type": "((items: readonly CommandPaletteItem[], query: string) => CommandPaletteItem[])",
|
|
83
117
|
"required": false,
|
|
84
118
|
"defaultValue": "defaultFilter",
|
|
85
|
-
"description": "Replace the matcher. Defaults to a case-insensitive substring match over\n`label` and `keywords`. Return the surviving commands in display order."
|
|
119
|
+
"description": "Replace the matcher. Defaults to a case-insensitive substring match over\n`label` and `keywords`. Return the surviving commands in display order.",
|
|
120
|
+
"control": {
|
|
121
|
+
"kind": "callback",
|
|
122
|
+
"fixture": "callback.log"
|
|
123
|
+
}
|
|
86
124
|
},
|
|
87
125
|
{
|
|
88
126
|
"name": "className",
|
|
89
127
|
"type": "string",
|
|
90
128
|
"required": false,
|
|
91
129
|
"defaultValue": null,
|
|
92
|
-
"description": "Extra classes for the palette surface."
|
|
130
|
+
"description": "Extra classes for the palette surface.",
|
|
131
|
+
"control": {
|
|
132
|
+
"kind": "string"
|
|
133
|
+
}
|
|
93
134
|
},
|
|
94
135
|
{
|
|
95
136
|
"name": "backdropClassName",
|
|
96
137
|
"type": "string",
|
|
97
138
|
"required": false,
|
|
98
139
|
"defaultValue": null,
|
|
99
|
-
"description": "Extra classes for the scrim behind it."
|
|
140
|
+
"description": "Extra classes for the scrim behind it.",
|
|
141
|
+
"control": {
|
|
142
|
+
"kind": "string"
|
|
143
|
+
}
|
|
100
144
|
}
|
|
101
145
|
],
|
|
102
146
|
"typeReferences": [],
|
|
@@ -14,49 +14,77 @@
|
|
|
14
14
|
"type": "\"failed\" | \"started\" | \"completed\" | \"cancelled\" | \"skipped\"",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Where the compaction got to. See `COMPACTION_STATES`."
|
|
17
|
+
"description": "Where the compaction got to. See `COMPACTION_STATES`.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "enum",
|
|
20
|
+
"members": [
|
|
21
|
+
"failed",
|
|
22
|
+
"started",
|
|
23
|
+
"completed",
|
|
24
|
+
"cancelled",
|
|
25
|
+
"skipped"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
18
28
|
},
|
|
19
29
|
{
|
|
20
30
|
"name": "tokensBefore",
|
|
21
31
|
"type": "number",
|
|
22
32
|
"required": false,
|
|
23
33
|
"defaultValue": null,
|
|
24
|
-
"description": "Tokens in the window before it ran."
|
|
34
|
+
"description": "Tokens in the window before it ran.",
|
|
35
|
+
"control": {
|
|
36
|
+
"kind": "number"
|
|
37
|
+
}
|
|
25
38
|
},
|
|
26
39
|
{
|
|
27
40
|
"name": "tokensAfter",
|
|
28
41
|
"type": "number",
|
|
29
42
|
"required": false,
|
|
30
43
|
"defaultValue": null,
|
|
31
|
-
"description": "Tokens after. Omit while it is running, or when it did not finish."
|
|
44
|
+
"description": "Tokens after. Omit while it is running, or when it did not finish.",
|
|
45
|
+
"control": {
|
|
46
|
+
"kind": "number"
|
|
47
|
+
}
|
|
32
48
|
},
|
|
33
49
|
{
|
|
34
50
|
"name": "messagesBefore",
|
|
35
51
|
"type": "number",
|
|
36
52
|
"required": false,
|
|
37
53
|
"defaultValue": null,
|
|
38
|
-
"description": "Messages in the window before it ran."
|
|
54
|
+
"description": "Messages in the window before it ran.",
|
|
55
|
+
"control": {
|
|
56
|
+
"kind": "number"
|
|
57
|
+
}
|
|
39
58
|
},
|
|
40
59
|
{
|
|
41
60
|
"name": "messagesAfter",
|
|
42
61
|
"type": "number",
|
|
43
62
|
"required": false,
|
|
44
63
|
"defaultValue": null,
|
|
45
|
-
"description": "Messages after. Omit while it is running, or when it did not finish."
|
|
64
|
+
"description": "Messages after. Omit while it is running, or when it did not finish.",
|
|
65
|
+
"control": {
|
|
66
|
+
"kind": "number"
|
|
67
|
+
}
|
|
46
68
|
},
|
|
47
69
|
{
|
|
48
70
|
"name": "label",
|
|
49
71
|
"type": "string",
|
|
50
72
|
"required": false,
|
|
51
73
|
"defaultValue": null,
|
|
52
|
-
"description": "What the rule says, replacing the one `COMPACTION_LABELS` supplies for this\nstate."
|
|
74
|
+
"description": "What the rule says, replacing the one `COMPACTION_LABELS` supplies for this\nstate.",
|
|
75
|
+
"control": {
|
|
76
|
+
"kind": "string"
|
|
77
|
+
}
|
|
53
78
|
},
|
|
54
79
|
{
|
|
55
80
|
"name": "reason",
|
|
56
81
|
"type": "string",
|
|
57
82
|
"required": false,
|
|
58
83
|
"defaultValue": null,
|
|
59
|
-
"description": "Why, for the two states that owe an answer: `context window still under\n60%`, `the summariser refused`. Roo's rule — a compaction that did not\nhappen, or that lost something, should say so in words rather than leave a\nreader to infer it from a number that did not move."
|
|
84
|
+
"description": "Why, for the two states that owe an answer: `context window still under\n60%`, `the summariser refused`. Roo's rule — a compaction that did not\nhappen, or that lost something, should say so in words rather than leave a\nreader to infer it from a number that did not move.",
|
|
85
|
+
"control": {
|
|
86
|
+
"kind": "string"
|
|
87
|
+
}
|
|
60
88
|
}
|
|
61
89
|
],
|
|
62
90
|
"typeReferences": [
|
|
@@ -14,28 +14,41 @@
|
|
|
14
14
|
"type": "readonly string[]",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The dimensions compared, in order. Used as the fallback label when an option lacks\na trait."
|
|
17
|
+
"description": "The dimensions compared, in order. Used as the fallback label when an option lacks\na trait.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "array",
|
|
20
|
+
"fixture": "agent.transcript"
|
|
21
|
+
}
|
|
18
22
|
},
|
|
19
23
|
{
|
|
20
24
|
"name": "options",
|
|
21
25
|
"type": "readonly ComparisonOption[]",
|
|
22
26
|
"required": true,
|
|
23
27
|
"defaultValue": null,
|
|
24
|
-
"description": "Two or three options. More than that wants a table, not a comparison."
|
|
28
|
+
"description": "Two or three options. More than that wants a table, not a comparison.",
|
|
29
|
+
"control": {
|
|
30
|
+
"kind": "array"
|
|
31
|
+
}
|
|
25
32
|
},
|
|
26
33
|
{
|
|
27
34
|
"name": "recommendedId",
|
|
28
35
|
"type": "string",
|
|
29
36
|
"required": true,
|
|
30
37
|
"defaultValue": null,
|
|
31
|
-
"description": "Which option is the pick. It is tinted and labelled rather than merely ordered first."
|
|
38
|
+
"description": "Which option is the pick. It is tinted and labelled rather than merely ordered first.",
|
|
39
|
+
"control": {
|
|
40
|
+
"kind": "string"
|
|
41
|
+
}
|
|
32
42
|
},
|
|
33
43
|
{
|
|
34
44
|
"name": "reason",
|
|
35
45
|
"type": "string",
|
|
36
46
|
"required": true,
|
|
37
47
|
"defaultValue": null,
|
|
38
|
-
"description": "Why that one, in the user's terms. A comparison without a recommendation is an\nunanswered question."
|
|
48
|
+
"description": "Why that one, in the user's terms. A comparison without a recommendation is an\nunanswered question.",
|
|
49
|
+
"control": {
|
|
50
|
+
"kind": "string"
|
|
51
|
+
}
|
|
39
52
|
}
|
|
40
53
|
],
|
|
41
54
|
"typeReferences": [
|
|
@@ -14,14 +14,21 @@
|
|
|
14
14
|
"type": "ComposerAttachment",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The file this chip stands for."
|
|
17
|
+
"description": "The file this chip stands for.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "opaque"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "onRemove",
|
|
21
24
|
"type": "((name: string) => void)",
|
|
22
25
|
"required": false,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Called with the attachment's name. Omit it and a finished chip shows a tick\ninstead of a remove button."
|
|
27
|
+
"description": "Called with the attachment's name. Omit it and a finished chip shows a tick\ninstead of a remove button.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "callback",
|
|
30
|
+
"fixture": "callback.log"
|
|
31
|
+
}
|
|
25
32
|
}
|
|
26
33
|
],
|
|
27
34
|
"typeReferences": [
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
"type": "boolean",
|
|
15
15
|
"required": false,
|
|
16
16
|
"defaultValue": "false",
|
|
17
|
-
"description": "Whether a file is being dragged over the bar."
|
|
17
|
+
"description": "Whether a file is being dragged over the bar.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "boolean"
|
|
20
|
+
}
|
|
18
21
|
}
|
|
19
22
|
],
|
|
20
23
|
"typeReferences": [
|
|
@@ -14,14 +14,20 @@
|
|
|
14
14
|
"type": "ComposerCommand",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The command this row offers."
|
|
17
|
+
"description": "The command this row offers.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "opaque"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "active",
|
|
21
24
|
"type": "boolean",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Whether this is the row Enter would run."
|
|
27
|
+
"description": "Whether this is the row Enter would run.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "boolean"
|
|
30
|
+
}
|
|
25
31
|
}
|
|
26
32
|
],
|
|
27
33
|
"typeReferences": [
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
"type": "ComposerUsage",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Where the window has gone, and how big it is."
|
|
17
|
+
"description": "Where the window has gone, and how big it is.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "opaque"
|
|
20
|
+
}
|
|
18
21
|
}
|
|
19
22
|
],
|
|
20
23
|
"typeReferences": [
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
"type": "(() => void)",
|
|
15
15
|
"required": false,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Called on Enter, guarded against IME composition so accepting a candidate does not\nsend."
|
|
17
|
+
"description": "Called on Enter, guarded against IME composition so accepting a candidate does not\nsend.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "callback",
|
|
20
|
+
"fixture": "callback.log"
|
|
21
|
+
}
|
|
18
22
|
}
|
|
19
23
|
],
|
|
20
24
|
"typeReferences": [
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
"type": "boolean",
|
|
15
15
|
"required": false,
|
|
16
16
|
"defaultValue": "false",
|
|
17
|
-
"description": "Whether this is the row the keyboard is on."
|
|
17
|
+
"description": "Whether this is the row the keyboard is on.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "boolean"
|
|
20
|
+
}
|
|
18
21
|
}
|
|
19
22
|
],
|
|
20
23
|
"typeReferences": [
|
|
@@ -14,14 +14,24 @@
|
|
|
14
14
|
"type": "boolean",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Whether the menu is showing. Closed is animated out, not unmounted."
|
|
17
|
+
"description": "Whether the menu is showing. Closed is animated out, not unmounted.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "boolean"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "align",
|
|
21
24
|
"type": "\"end\" | \"start\"",
|
|
22
25
|
"required": false,
|
|
23
26
|
"defaultValue": "start",
|
|
24
|
-
"description": "Which edge of the composer the menu hangs from."
|
|
27
|
+
"description": "Which edge of the composer the menu hangs from.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "enum",
|
|
30
|
+
"members": [
|
|
31
|
+
"end",
|
|
32
|
+
"start"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
25
35
|
}
|
|
26
36
|
],
|
|
27
37
|
"typeReferences": [
|
|
@@ -14,14 +14,20 @@
|
|
|
14
14
|
"type": "ComposerModel",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The model this row offers."
|
|
17
|
+
"description": "The model this row offers.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "opaque"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "selected",
|
|
21
24
|
"type": "boolean",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Whether this is the model in use. Draws the tick."
|
|
27
|
+
"description": "Whether this is the model in use. Draws the tick.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "boolean"
|
|
30
|
+
}
|
|
25
31
|
}
|
|
26
32
|
],
|
|
27
33
|
"typeReferences": [
|
|
@@ -14,14 +14,20 @@
|
|
|
14
14
|
"type": "string",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The name to show, which is the selected model."
|
|
17
|
+
"description": "The name to show, which is the selected model.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "string"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "open",
|
|
21
24
|
"type": "boolean",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Whether the menu it opens is showing. Announced as `aria-expanded`."
|
|
27
|
+
"description": "Whether the menu it opens is showing. Announced as `aria-expanded`.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "boolean"
|
|
30
|
+
}
|
|
25
31
|
}
|
|
26
32
|
],
|
|
27
33
|
"typeReferences": [
|
|
@@ -14,14 +14,20 @@
|
|
|
14
14
|
"type": "ComposerPerson",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The person this row would mention."
|
|
17
|
+
"description": "The person this row would mention.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "opaque"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "active",
|
|
21
24
|
"type": "boolean",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Whether this is the row Enter would pick."
|
|
27
|
+
"description": "Whether this is the row Enter would pick.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "boolean"
|
|
30
|
+
}
|
|
25
31
|
}
|
|
26
32
|
],
|
|
27
33
|
"typeReferences": [
|
|
@@ -14,14 +14,20 @@
|
|
|
14
14
|
"type": "boolean",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Swaps the arrow for a stop square."
|
|
17
|
+
"description": "Swaps the arrow for a stop square.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "boolean"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "idle",
|
|
21
24
|
"type": "boolean",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Whether the input is empty. Dims the button when there is nothing to send."
|
|
27
|
+
"description": "Whether the input is empty. Dims the button when there is nothing to send.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "boolean"
|
|
30
|
+
}
|
|
25
31
|
}
|
|
26
32
|
],
|
|
27
33
|
"typeReferences": [
|
|
@@ -14,14 +14,20 @@
|
|
|
14
14
|
"type": "boolean",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Whether the microphone is open. False is the transcribing state, not the resting one."
|
|
17
|
+
"description": "Whether the microphone is open. False is the transcribing state, not the resting one.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "boolean"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "seconds",
|
|
21
24
|
"type": "number",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "How long it has been recording. Drives both the clock and the meter, so the caller\nowns the tick."
|
|
27
|
+
"description": "How long it has been recording. Drives both the clock and the meter, so the caller\nowns the tick.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "number"
|
|
30
|
+
}
|
|
25
31
|
}
|
|
26
32
|
],
|
|
27
33
|
"typeReferences": [
|