@valni/cli-darwin-x64 0.0.0-stage → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +53 -0
- package/package.json +18 -5
- package/runtime/LICENSE +53 -0
- package/runtime/README.md +674 -0
- package/runtime/assets/clankolas.png +0 -0
- package/runtime/docs/extensions.md +2910 -0
- package/runtime/docs/json.md +82 -0
- package/runtime/docs/models.md +540 -0
- package/runtime/docs/packages.md +228 -0
- package/runtime/docs/rpc.md +1480 -0
- package/runtime/docs/sdk.md +1183 -0
- package/runtime/docs/session-format.md +422 -0
- package/runtime/docs/settings.md +315 -0
- package/runtime/docs/shell-aliases.md +13 -0
- package/runtime/docs/terminal-setup.md +142 -0
- package/runtime/docs/termux.md +127 -0
- package/runtime/docs/tmux.md +63 -0
- package/runtime/docs/tui.md +927 -0
- package/runtime/docs/windows.md +17 -0
- package/runtime/examples/README.md +25 -0
- package/runtime/examples/extensions/README.md +212 -0
- package/runtime/examples/extensions/auto-commit-on-exit.ts +49 -0
- package/runtime/examples/extensions/bash-spawn-hook.ts +30 -0
- package/runtime/examples/extensions/bookmark.ts +50 -0
- package/runtime/examples/extensions/border-status-editor.ts +145 -0
- package/runtime/examples/extensions/built-in-tool-renderer.ts +249 -0
- package/runtime/examples/extensions/claude-rules.ts +86 -0
- package/runtime/examples/extensions/commands.ts +72 -0
- package/runtime/examples/extensions/confirm-destructive.ts +59 -0
- package/runtime/examples/extensions/custom-footer.ts +64 -0
- package/runtime/examples/extensions/custom-header.ts +73 -0
- package/runtime/examples/extensions/custom-provider-anthropic/index.ts +604 -0
- package/runtime/examples/extensions/custom-provider-anthropic/package-lock.json +24 -0
- package/runtime/examples/extensions/custom-provider-anthropic/package.json +19 -0
- package/runtime/examples/extensions/dirty-repo-guard.ts +56 -0
- package/runtime/examples/extensions/doom-overlay/README.md +46 -0
- package/runtime/examples/extensions/doom-overlay/doom/build/doom.js +21 -0
- package/runtime/examples/extensions/doom-overlay/doom/build/doom.wasm +0 -0
- package/runtime/examples/extensions/doom-overlay/doom/build.sh +152 -0
- package/runtime/examples/extensions/doom-overlay/doom/doomgeneric_pi.c +72 -0
- package/runtime/examples/extensions/doom-overlay/doom-component.ts +132 -0
- package/runtime/examples/extensions/doom-overlay/doom-engine.ts +173 -0
- package/runtime/examples/extensions/doom-overlay/doom-keys.ts +104 -0
- package/runtime/examples/extensions/doom-overlay/index.ts +74 -0
- package/runtime/examples/extensions/doom-overlay/wad-finder.ts +51 -0
- package/runtime/examples/extensions/dynamic-resources/SKILL.md +8 -0
- package/runtime/examples/extensions/dynamic-resources/dynamic.json +79 -0
- package/runtime/examples/extensions/dynamic-resources/dynamic.md +5 -0
- package/runtime/examples/extensions/dynamic-resources/index.ts +15 -0
- package/runtime/examples/extensions/dynamic-tools.ts +74 -0
- package/runtime/examples/extensions/entry-renderer.ts +41 -0
- package/runtime/examples/extensions/event-bus.ts +43 -0
- package/runtime/examples/extensions/file-trigger.ts +41 -0
- package/runtime/examples/extensions/git-checkpoint.ts +53 -0
- package/runtime/examples/extensions/git-merge-and-resolve.ts +115 -0
- package/runtime/examples/extensions/github-issue-autocomplete.ts +185 -0
- package/runtime/examples/extensions/gondolin/index.ts +531 -0
- package/runtime/examples/extensions/gondolin/package-lock.json +185 -0
- package/runtime/examples/extensions/gondolin/package.json +19 -0
- package/runtime/examples/extensions/hello.ts +26 -0
- package/runtime/examples/extensions/hidden-thinking-label.ts +53 -0
- package/runtime/examples/extensions/inline-bash.ts +94 -0
- package/runtime/examples/extensions/input-transform-streaming.ts +39 -0
- package/runtime/examples/extensions/input-transform.ts +43 -0
- package/runtime/examples/extensions/interactive-shell.ts +196 -0
- package/runtime/examples/extensions/mac-system-theme.ts +47 -0
- package/runtime/examples/extensions/message-renderer.ts +59 -0
- package/runtime/examples/extensions/minimal-mode.ts +426 -0
- package/runtime/examples/extensions/modal-editor.ts +85 -0
- package/runtime/examples/extensions/model-status.ts +31 -0
- package/runtime/examples/extensions/notify.ts +55 -0
- package/runtime/examples/extensions/overlay-qa-tests.ts +1450 -0
- package/runtime/examples/extensions/overlay-test.ts +153 -0
- package/runtime/examples/extensions/permission-gate.ts +34 -0
- package/runtime/examples/extensions/pirate.ts +47 -0
- package/runtime/examples/extensions/plan-mode/README.md +66 -0
- package/runtime/examples/extensions/plan-mode/index.ts +390 -0
- package/runtime/examples/extensions/plan-mode/utils.ts +168 -0
- package/runtime/examples/extensions/preset.ts +436 -0
- package/runtime/examples/extensions/project-trust.ts +64 -0
- package/runtime/examples/extensions/prompt-customizer.ts +97 -0
- package/runtime/examples/extensions/protected-paths.ts +30 -0
- package/runtime/examples/extensions/provider-payload.ts +18 -0
- package/runtime/examples/extensions/question.ts +278 -0
- package/runtime/examples/extensions/questionnaire.ts +440 -0
- package/runtime/examples/extensions/rainbow-editor.ts +88 -0
- package/runtime/examples/extensions/reload-runtime.ts +37 -0
- package/runtime/examples/extensions/rpc-demo.ts +118 -0
- package/runtime/examples/extensions/sandbox/index.ts +321 -0
- package/runtime/examples/extensions/sandbox/package-lock.json +92 -0
- package/runtime/examples/extensions/sandbox/package.json +19 -0
- package/runtime/examples/extensions/send-user-message.ts +97 -0
- package/runtime/examples/extensions/session-name.ts +27 -0
- package/runtime/examples/extensions/shutdown-command.ts +63 -0
- package/runtime/examples/extensions/snake.ts +343 -0
- package/runtime/examples/extensions/space-invaders.ts +560 -0
- package/runtime/examples/extensions/ssh.ts +220 -0
- package/runtime/examples/extensions/status-line.ts +32 -0
- package/runtime/examples/extensions/structured-output.ts +65 -0
- package/runtime/examples/extensions/subagent/README.md +175 -0
- package/runtime/examples/extensions/subagent/agents/planner.md +37 -0
- package/runtime/examples/extensions/subagent/agents/reviewer.md +35 -0
- package/runtime/examples/extensions/subagent/agents/scout.md +50 -0
- package/runtime/examples/extensions/subagent/agents/worker.md +24 -0
- package/runtime/examples/extensions/subagent/agents.ts +126 -0
- package/runtime/examples/extensions/subagent/index.ts +1009 -0
- package/runtime/examples/extensions/subagent/prompts/implement-and-review.md +10 -0
- package/runtime/examples/extensions/subagent/prompts/implement.md +10 -0
- package/runtime/examples/extensions/subagent/prompts/scout-and-plan.md +9 -0
- package/runtime/examples/extensions/system-prompt-header.ts +17 -0
- package/runtime/examples/extensions/tic-tac-toe.ts +1008 -0
- package/runtime/examples/extensions/timed-confirm.ts +70 -0
- package/runtime/examples/extensions/titlebar-spinner.ts +58 -0
- package/runtime/examples/extensions/todo.ts +297 -0
- package/runtime/examples/extensions/tool-override.ts +144 -0
- package/runtime/examples/extensions/tools.ts +146 -0
- package/runtime/examples/extensions/trigger-compact.ts +50 -0
- package/runtime/examples/extensions/truncated-tool.ts +195 -0
- package/runtime/examples/extensions/widget-placement.ts +9 -0
- package/runtime/examples/extensions/with-deps/index.ts +32 -0
- package/runtime/examples/extensions/with-deps/package-lock.json +31 -0
- package/runtime/examples/extensions/with-deps/package.json +22 -0
- package/runtime/examples/extensions/working-indicator.ts +123 -0
- package/runtime/examples/extensions/working-message-test.ts +25 -0
- package/runtime/examples/rpc-extension-ui.ts +632 -0
- package/runtime/examples/sdk/01-minimal.ts +26 -0
- package/runtime/examples/sdk/02-custom-model.ts +43 -0
- package/runtime/examples/sdk/03-custom-prompt.ts +70 -0
- package/runtime/examples/sdk/04-skills.ts +55 -0
- package/runtime/examples/sdk/05-tools.ts +48 -0
- package/runtime/examples/sdk/06-extensions.ts +94 -0
- package/runtime/examples/sdk/07-context-files.ts +42 -0
- package/runtime/examples/sdk/08-prompt-templates.ts +51 -0
- package/runtime/examples/sdk/09-api-keys-and-oauth.ts +34 -0
- package/runtime/examples/sdk/10-settings.ts +53 -0
- package/runtime/examples/sdk/11-sessions.ts +52 -0
- package/runtime/examples/sdk/12-full-control.ts +71 -0
- package/runtime/examples/sdk/13-session-runtime.ts +67 -0
- package/runtime/examples/sdk/README.md +140 -0
- package/runtime/export-html/ansi-to-html.js +249 -0
- package/runtime/export-html/index.js +226 -0
- package/runtime/export-html/template.css +1066 -0
- package/runtime/export-html/template.html +55 -0
- package/runtime/export-html/template.js +1864 -0
- package/runtime/export-html/tool-renderer.js +108 -0
- package/runtime/export-html/vendor/highlight.min.js +1213 -0
- package/runtime/export-html/vendor/marked.min.js +78 -0
- package/runtime/extensions/pi-switchboard/.github/workflows/ci.yml +51 -0
- package/runtime/extensions/pi-switchboard/LICENSE +22 -0
- package/runtime/extensions/pi-switchboard/README.md +85 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/catalog.ts +183 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/config.ts +97 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/connections.ts +386 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/constants.ts +12 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/device-auth.ts +127 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/envelope.ts +199 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/errors.ts +180 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/index.ts +125 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/participant.ts +17 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/sessionStream.ts +131 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/toolProxy.ts +136 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/tools.ts +16 -0
- package/runtime/extensions/pi-switchboard/extensions/switchboard/types.ts +37 -0
- package/runtime/extensions/pi-switchboard/package.json +30 -0
- package/runtime/extensions/pi-switchboard/tsconfig.json +13 -0
- package/runtime/extensions/switchboard-local/.github/workflows/ci.yml +80 -0
- package/runtime/extensions/switchboard-local/.github/workflows/release.yml +46 -0
- package/runtime/extensions/switchboard-local/README.md +98 -0
- package/runtime/extensions/switchboard-local/extensions/local/engine.ts +28 -0
- package/runtime/extensions/switchboard-local/extensions/local/engines/gguf.ts +324 -0
- package/runtime/extensions/switchboard-local/extensions/local/engines/llamaBuild.ts +62 -0
- package/runtime/extensions/switchboard-local/extensions/local/engines/mlx.ts +245 -0
- package/runtime/extensions/switchboard-local/extensions/local/engines/select.ts +38 -0
- package/runtime/extensions/switchboard-local/extensions/local/engines/support.ts +151 -0
- package/runtime/extensions/switchboard-local/extensions/local/hf.ts +106 -0
- package/runtime/extensions/switchboard-local/extensions/local/index.ts +67 -0
- package/runtime/extensions/switchboard-local/extensions/local/nativeStream.ts +602 -0
- package/runtime/extensions/switchboard-local/extensions/local/paths.ts +44 -0
- package/runtime/extensions/switchboard-local/extensions/local/provider.ts +57 -0
- package/runtime/extensions/switchboard-local/extensions/local/store.ts +82 -0
- package/runtime/extensions/switchboard-local/extensions/local/ui.ts +60 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard/dist/apiTypes.js +74 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard/dist/client.js +292 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard/dist/deviceAuth.js +155 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard/dist/errors.js +95 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard/dist/index.js +8 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard/dist/messages.js +253 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard/dist/models.js +19 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard/dist/native.js +886 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard/dist/wire.js +85 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard/package.json +39 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/package.json +29 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/anthropic.ts +127 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/google.ts +111 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/index.ts +8 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/modelRecord.test.ts +25 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/modelRecord.ts +57 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/openaiGeneric.ts +103 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/openaiPro.ts +89 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/profile.ts +120 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/routing.test.ts +82 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/routing.ts +74 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/validateConfig.google.test.ts +137 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/validateConfig.openai.test.ts +241 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/validateConfig.test.ts +174 -0
- package/runtime/extensions/switchboard-local/node_modules/@valni/switchboard-native/src/validateConfig.ts +438 -0
- package/runtime/extensions/switchboard-local/package.json +34 -0
- package/runtime/extensions/switchboard-local/tsconfig.json +13 -0
- package/runtime/native/darwin/prebuilds/darwin-x64/darwin-modifiers.node +0 -0
- package/runtime/node_modules/@mariozechner/clipboard/.yarnrc.yml +1 -0
- package/runtime/node_modules/@mariozechner/clipboard/Cargo.toml +45 -0
- package/runtime/node_modules/@mariozechner/clipboard/README.md +60 -0
- package/runtime/node_modules/@mariozechner/clipboard/build.rs +5 -0
- package/runtime/node_modules/@mariozechner/clipboard/clipboard.darwin-x64.node +0 -0
- package/runtime/node_modules/@mariozechner/clipboard/exp.ts +12 -0
- package/runtime/node_modules/@mariozechner/clipboard/index.js +606 -0
- package/runtime/node_modules/@mariozechner/clipboard/package.json +56 -0
- package/runtime/node_modules/@mariozechner/clipboard/src/clipboard_rs/common.rs +307 -0
- package/runtime/node_modules/@mariozechner/clipboard/src/clipboard_rs/mod.rs +93 -0
- package/runtime/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/ios.rs +313 -0
- package/runtime/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/macos.rs +471 -0
- package/runtime/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/mod.rs +252 -0
- package/runtime/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/wayland.rs +431 -0
- package/runtime/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/win.rs +712 -0
- package/runtime/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/x11.rs +916 -0
- package/runtime/node_modules/@mariozechner/clipboard/src/lib.rs +194 -0
- package/runtime/node_modules/@mariozechner/clipboard-darwin-x64/README.md +3 -0
- package/runtime/node_modules/@mariozechner/clipboard-darwin-x64/clipboard.darwin-x64.node +0 -0
- package/runtime/node_modules/@mariozechner/clipboard-darwin-x64/package.json +22 -0
- package/runtime/package.json +104 -0
- package/runtime/photon_rs_bg.wasm +0 -0
- package/runtime/theme/dark.json +87 -0
- package/runtime/theme/light.json +86 -0
- package/runtime/theme/theme-schema.json +340 -0
- package/runtime/valni +4 -0
- package/README.md +0 -3
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "Pi Coding Agent Theme",
|
|
4
|
+
"description": "Theme schema for Pi coding agent",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["name", "colors"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"$schema": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "JSON schema reference"
|
|
11
|
+
},
|
|
12
|
+
"name": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"pattern": "^[^/]+$",
|
|
15
|
+
"description": "Theme name. Must not contain '/' because it is reserved for automatic light/dark theme settings."
|
|
16
|
+
},
|
|
17
|
+
"vars": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"description": "Reusable color variables",
|
|
20
|
+
"additionalProperties": {
|
|
21
|
+
"oneOf": [
|
|
22
|
+
{
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Hex color (#RRGGBB), variable reference, or empty string for terminal default"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"minimum": 0,
|
|
29
|
+
"maximum": 255,
|
|
30
|
+
"description": "256-color palette index (0-255)"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"colors": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"description": "Theme color definitions (thinkingMax is optional and falls back to thinkingXhigh)",
|
|
38
|
+
"required": [
|
|
39
|
+
"accent",
|
|
40
|
+
"border",
|
|
41
|
+
"borderAccent",
|
|
42
|
+
"borderMuted",
|
|
43
|
+
"success",
|
|
44
|
+
"error",
|
|
45
|
+
"warning",
|
|
46
|
+
"muted",
|
|
47
|
+
"dim",
|
|
48
|
+
"text",
|
|
49
|
+
"thinkingText",
|
|
50
|
+
"selectedBg",
|
|
51
|
+
"userMessageBg",
|
|
52
|
+
"userMessageText",
|
|
53
|
+
"customMessageBg",
|
|
54
|
+
"customMessageText",
|
|
55
|
+
"customMessageLabel",
|
|
56
|
+
"toolPendingBg",
|
|
57
|
+
"toolSuccessBg",
|
|
58
|
+
"toolErrorBg",
|
|
59
|
+
"toolTitle",
|
|
60
|
+
"toolOutput",
|
|
61
|
+
"mdHeading",
|
|
62
|
+
"mdLink",
|
|
63
|
+
"mdLinkUrl",
|
|
64
|
+
"mdCode",
|
|
65
|
+
"mdCodeBlock",
|
|
66
|
+
"mdCodeBlockBorder",
|
|
67
|
+
"mdQuote",
|
|
68
|
+
"mdQuoteBorder",
|
|
69
|
+
"mdHr",
|
|
70
|
+
"mdListBullet",
|
|
71
|
+
"toolDiffAdded",
|
|
72
|
+
"toolDiffRemoved",
|
|
73
|
+
"toolDiffContext",
|
|
74
|
+
"syntaxComment",
|
|
75
|
+
"syntaxKeyword",
|
|
76
|
+
"syntaxFunction",
|
|
77
|
+
"syntaxVariable",
|
|
78
|
+
"syntaxString",
|
|
79
|
+
"syntaxNumber",
|
|
80
|
+
"syntaxType",
|
|
81
|
+
"syntaxOperator",
|
|
82
|
+
"syntaxPunctuation",
|
|
83
|
+
"thinkingOff",
|
|
84
|
+
"thinkingMinimal",
|
|
85
|
+
"thinkingLow",
|
|
86
|
+
"thinkingMedium",
|
|
87
|
+
"thinkingHigh",
|
|
88
|
+
"thinkingXhigh",
|
|
89
|
+
"bashMode"
|
|
90
|
+
],
|
|
91
|
+
"properties": {
|
|
92
|
+
"accent": {
|
|
93
|
+
"$ref": "#/$defs/colorValue",
|
|
94
|
+
"description": "Primary accent color (logo, selected items, cursor)"
|
|
95
|
+
},
|
|
96
|
+
"border": {
|
|
97
|
+
"$ref": "#/$defs/colorValue",
|
|
98
|
+
"description": "Normal borders"
|
|
99
|
+
},
|
|
100
|
+
"borderAccent": {
|
|
101
|
+
"$ref": "#/$defs/colorValue",
|
|
102
|
+
"description": "Highlighted borders"
|
|
103
|
+
},
|
|
104
|
+
"borderMuted": {
|
|
105
|
+
"$ref": "#/$defs/colorValue",
|
|
106
|
+
"description": "Subtle borders"
|
|
107
|
+
},
|
|
108
|
+
"success": {
|
|
109
|
+
"$ref": "#/$defs/colorValue",
|
|
110
|
+
"description": "Success states"
|
|
111
|
+
},
|
|
112
|
+
"error": {
|
|
113
|
+
"$ref": "#/$defs/colorValue",
|
|
114
|
+
"description": "Error states"
|
|
115
|
+
},
|
|
116
|
+
"warning": {
|
|
117
|
+
"$ref": "#/$defs/colorValue",
|
|
118
|
+
"description": "Warning states"
|
|
119
|
+
},
|
|
120
|
+
"muted": {
|
|
121
|
+
"$ref": "#/$defs/colorValue",
|
|
122
|
+
"description": "Secondary/dimmed text"
|
|
123
|
+
},
|
|
124
|
+
"dim": {
|
|
125
|
+
"$ref": "#/$defs/colorValue",
|
|
126
|
+
"description": "Very dimmed text (more subtle than muted)"
|
|
127
|
+
},
|
|
128
|
+
"text": {
|
|
129
|
+
"$ref": "#/$defs/colorValue",
|
|
130
|
+
"description": "Default text color (usually empty string)"
|
|
131
|
+
},
|
|
132
|
+
"thinkingText": {
|
|
133
|
+
"$ref": "#/$defs/colorValue",
|
|
134
|
+
"description": "Thinking block text color"
|
|
135
|
+
},
|
|
136
|
+
"selectedBg": {
|
|
137
|
+
"$ref": "#/$defs/colorValue",
|
|
138
|
+
"description": "Selected item background"
|
|
139
|
+
},
|
|
140
|
+
"userMessageBg": {
|
|
141
|
+
"$ref": "#/$defs/colorValue",
|
|
142
|
+
"description": "User message background"
|
|
143
|
+
},
|
|
144
|
+
"userMessageText": {
|
|
145
|
+
"$ref": "#/$defs/colorValue",
|
|
146
|
+
"description": "User message text color"
|
|
147
|
+
},
|
|
148
|
+
"customMessageBg": {
|
|
149
|
+
"$ref": "#/$defs/colorValue",
|
|
150
|
+
"description": "Custom message background (hook-injected messages)"
|
|
151
|
+
},
|
|
152
|
+
"customMessageText": {
|
|
153
|
+
"$ref": "#/$defs/colorValue",
|
|
154
|
+
"description": "Custom message text color"
|
|
155
|
+
},
|
|
156
|
+
"customMessageLabel": {
|
|
157
|
+
"$ref": "#/$defs/colorValue",
|
|
158
|
+
"description": "Custom message type label color"
|
|
159
|
+
},
|
|
160
|
+
"toolPendingBg": {
|
|
161
|
+
"$ref": "#/$defs/colorValue",
|
|
162
|
+
"description": "Tool execution box (pending state)"
|
|
163
|
+
},
|
|
164
|
+
"toolSuccessBg": {
|
|
165
|
+
"$ref": "#/$defs/colorValue",
|
|
166
|
+
"description": "Tool execution box (success state)"
|
|
167
|
+
},
|
|
168
|
+
"toolErrorBg": {
|
|
169
|
+
"$ref": "#/$defs/colorValue",
|
|
170
|
+
"description": "Tool execution box (error state)"
|
|
171
|
+
},
|
|
172
|
+
"toolTitle": {
|
|
173
|
+
"$ref": "#/$defs/colorValue",
|
|
174
|
+
"description": "Tool execution box title color"
|
|
175
|
+
},
|
|
176
|
+
"toolOutput": {
|
|
177
|
+
"$ref": "#/$defs/colorValue",
|
|
178
|
+
"description": "Tool execution box output text color"
|
|
179
|
+
},
|
|
180
|
+
"mdHeading": {
|
|
181
|
+
"$ref": "#/$defs/colorValue",
|
|
182
|
+
"description": "Markdown heading text"
|
|
183
|
+
},
|
|
184
|
+
"mdLink": {
|
|
185
|
+
"$ref": "#/$defs/colorValue",
|
|
186
|
+
"description": "Markdown link text"
|
|
187
|
+
},
|
|
188
|
+
"mdLinkUrl": {
|
|
189
|
+
"$ref": "#/$defs/colorValue",
|
|
190
|
+
"description": "Markdown link URL"
|
|
191
|
+
},
|
|
192
|
+
"mdCode": {
|
|
193
|
+
"$ref": "#/$defs/colorValue",
|
|
194
|
+
"description": "Markdown inline code"
|
|
195
|
+
},
|
|
196
|
+
"mdCodeBlock": {
|
|
197
|
+
"$ref": "#/$defs/colorValue",
|
|
198
|
+
"description": "Markdown code block content"
|
|
199
|
+
},
|
|
200
|
+
"mdCodeBlockBorder": {
|
|
201
|
+
"$ref": "#/$defs/colorValue",
|
|
202
|
+
"description": "Markdown code block fences"
|
|
203
|
+
},
|
|
204
|
+
"mdQuote": {
|
|
205
|
+
"$ref": "#/$defs/colorValue",
|
|
206
|
+
"description": "Markdown blockquote text"
|
|
207
|
+
},
|
|
208
|
+
"mdQuoteBorder": {
|
|
209
|
+
"$ref": "#/$defs/colorValue",
|
|
210
|
+
"description": "Markdown blockquote border"
|
|
211
|
+
},
|
|
212
|
+
"mdHr": {
|
|
213
|
+
"$ref": "#/$defs/colorValue",
|
|
214
|
+
"description": "Markdown horizontal rule"
|
|
215
|
+
},
|
|
216
|
+
"mdListBullet": {
|
|
217
|
+
"$ref": "#/$defs/colorValue",
|
|
218
|
+
"description": "Markdown list bullets/numbers"
|
|
219
|
+
},
|
|
220
|
+
"toolDiffAdded": {
|
|
221
|
+
"$ref": "#/$defs/colorValue",
|
|
222
|
+
"description": "Added lines in tool diffs"
|
|
223
|
+
},
|
|
224
|
+
"toolDiffRemoved": {
|
|
225
|
+
"$ref": "#/$defs/colorValue",
|
|
226
|
+
"description": "Removed lines in tool diffs"
|
|
227
|
+
},
|
|
228
|
+
"toolDiffContext": {
|
|
229
|
+
"$ref": "#/$defs/colorValue",
|
|
230
|
+
"description": "Context lines in tool diffs"
|
|
231
|
+
},
|
|
232
|
+
"syntaxComment": {
|
|
233
|
+
"$ref": "#/$defs/colorValue",
|
|
234
|
+
"description": "Syntax highlighting: comments"
|
|
235
|
+
},
|
|
236
|
+
"syntaxKeyword": {
|
|
237
|
+
"$ref": "#/$defs/colorValue",
|
|
238
|
+
"description": "Syntax highlighting: keywords"
|
|
239
|
+
},
|
|
240
|
+
"syntaxFunction": {
|
|
241
|
+
"$ref": "#/$defs/colorValue",
|
|
242
|
+
"description": "Syntax highlighting: function names"
|
|
243
|
+
},
|
|
244
|
+
"syntaxVariable": {
|
|
245
|
+
"$ref": "#/$defs/colorValue",
|
|
246
|
+
"description": "Syntax highlighting: variable names"
|
|
247
|
+
},
|
|
248
|
+
"syntaxString": {
|
|
249
|
+
"$ref": "#/$defs/colorValue",
|
|
250
|
+
"description": "Syntax highlighting: string literals"
|
|
251
|
+
},
|
|
252
|
+
"syntaxNumber": {
|
|
253
|
+
"$ref": "#/$defs/colorValue",
|
|
254
|
+
"description": "Syntax highlighting: number literals"
|
|
255
|
+
},
|
|
256
|
+
"syntaxType": {
|
|
257
|
+
"$ref": "#/$defs/colorValue",
|
|
258
|
+
"description": "Syntax highlighting: type names"
|
|
259
|
+
},
|
|
260
|
+
"syntaxOperator": {
|
|
261
|
+
"$ref": "#/$defs/colorValue",
|
|
262
|
+
"description": "Syntax highlighting: operators"
|
|
263
|
+
},
|
|
264
|
+
"syntaxPunctuation": {
|
|
265
|
+
"$ref": "#/$defs/colorValue",
|
|
266
|
+
"description": "Syntax highlighting: punctuation"
|
|
267
|
+
},
|
|
268
|
+
"thinkingOff": {
|
|
269
|
+
"$ref": "#/$defs/colorValue",
|
|
270
|
+
"description": "Thinking level border: off"
|
|
271
|
+
},
|
|
272
|
+
"thinkingMinimal": {
|
|
273
|
+
"$ref": "#/$defs/colorValue",
|
|
274
|
+
"description": "Thinking level border: minimal"
|
|
275
|
+
},
|
|
276
|
+
"thinkingLow": {
|
|
277
|
+
"$ref": "#/$defs/colorValue",
|
|
278
|
+
"description": "Thinking level border: low"
|
|
279
|
+
},
|
|
280
|
+
"thinkingMedium": {
|
|
281
|
+
"$ref": "#/$defs/colorValue",
|
|
282
|
+
"description": "Thinking level border: medium"
|
|
283
|
+
},
|
|
284
|
+
"thinkingHigh": {
|
|
285
|
+
"$ref": "#/$defs/colorValue",
|
|
286
|
+
"description": "Thinking level border: high"
|
|
287
|
+
},
|
|
288
|
+
"thinkingXhigh": {
|
|
289
|
+
"$ref": "#/$defs/colorValue",
|
|
290
|
+
"description": "Thinking level border: xhigh"
|
|
291
|
+
},
|
|
292
|
+
"thinkingMax": {
|
|
293
|
+
"$ref": "#/$defs/colorValue",
|
|
294
|
+
"description": "Thinking level border: max (falls back to thinkingXhigh when omitted)"
|
|
295
|
+
},
|
|
296
|
+
"bashMode": {
|
|
297
|
+
"$ref": "#/$defs/colorValue",
|
|
298
|
+
"description": "Editor border color in bash mode"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"additionalProperties": false
|
|
302
|
+
},
|
|
303
|
+
"export": {
|
|
304
|
+
"type": "object",
|
|
305
|
+
"description": "Optional colors for HTML export (defaults derived from userMessageBg if not specified)",
|
|
306
|
+
"properties": {
|
|
307
|
+
"pageBg": {
|
|
308
|
+
"$ref": "#/$defs/colorValue",
|
|
309
|
+
"description": "Page background color"
|
|
310
|
+
},
|
|
311
|
+
"cardBg": {
|
|
312
|
+
"$ref": "#/$defs/colorValue",
|
|
313
|
+
"description": "Card/container background color"
|
|
314
|
+
},
|
|
315
|
+
"infoBg": {
|
|
316
|
+
"$ref": "#/$defs/colorValue",
|
|
317
|
+
"description": "Info sections background (system prompt, notices)"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"additionalProperties": false
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"additionalProperties": false,
|
|
324
|
+
"$defs": {
|
|
325
|
+
"colorValue": {
|
|
326
|
+
"oneOf": [
|
|
327
|
+
{
|
|
328
|
+
"type": "string",
|
|
329
|
+
"description": "Hex color (#RRGGBB), variable reference, or empty string for terminal default"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"type": "integer",
|
|
333
|
+
"minimum": 0,
|
|
334
|
+
"maximum": 255,
|
|
335
|
+
"description": "256-color palette index (0-255)"
|
|
336
|
+
}
|
|
337
|
+
]
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
package/runtime/valni
ADDED
package/README.md
DELETED