You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0d814cb
Browse filesBrowse the repository at this point in the historyBrowse files
docs(forklog): record tool output coloring by language
syntax.tool_output colors plugin and MCP tool output by tool name or
glob, with a cached JSON sniff for auto (0ab6637); issue anomalyco#54957, PR
anomalyco#54968; the plugin SDK content-type idea is kept as a future note;
vt-252 on desktop and m4max.
AI-Model: anthropic/claude-opus-5-5
AI-Variant: high
AI-Tool: opencode 1.19.0-vt-227-dfb56f76c7
AI-Platform: linux
AI-Harness: Vibeterm e6434eb
AI-Session-ID: ses_ed1e2b932ffe6tTqhsOiGuYXRE
[#54705](https://github.com/anomalyco/opencode/pull/54705) (heredoc, stacked on #54704),
[#54707](https://github.com/anomalyco/opencode/pull/54707) (tool input), all against `v1`.
[#54968](https://github.com/anomalyco/opencode/pull/54968) (tool output, stacked on #54704), all against `v1`.
21
23
**Needs a v2 port later.**
22
24
23
25
## Original request
@@ -70,6 +72,7 @@ approved "Build all four". The user's words on defaults:
70
72
|`b23685155c`| 2026-10-11 | bash command as one `<text>` of spans (layout identical to plain); non-red `toolSyntax` for command and heredocs |`ShellCommand`, `CommandSpans`, `shellHighlights` in `routes/session/index.tsx`; `theme/tool-code.ts``toolCodeTheme`; `toolSyntax` in `context/theme.tsx`; `highlightCached`; `test/cli/tui/shell-command.test.tsx`, `test/tool-code-theme.test.ts`|
71
73
|`91e33c557e`| 2026-10-11 | tool input keys and values from `toolCodeTheme`|`code` memo in `GenericTool`|
|`0ab6637c9d`| 2026-10-12 | generic tool output colored by `syntax.tool_output` (tool name or glob -> language, `auto`, `none`; unset = plain); JSON sniff for `auto`; collapsed preview takes the whole output's highlights |`outputLanguage`, `detectOutputLanguage`, `previewHighlights` in `util/tool-output.ts`; `ToolOutputText`, `StyledOutput` in `routes/session/index.tsx`; `test/cli/tui/tool-output.test.tsx`, `test/util/tool-output.test.ts`|
73
76
|`84d27d0f49`| 2026-10-12 | collapsed tool input: one row per value cut to the measured width; compact YAML lists |`formatToolInput(input, width)` in `util/tool-input.ts`; `inputWidth`/`onWidth` in `GenericTool`/`ToolInput`; `test/cli/tui/tool-input.test.tsx`|
74
77
75
78
Docs: `Syntax highlighting` section in `packages/web/src/content/docs/tui.mdx`.
@@ -94,6 +97,19 @@ Reported by `ses_ed1e2b932ffe6tTqhsOiGuYXRE`; see its
94
97
Values now take one row each, and lists are compact YAML; PR #54707 amended.
95
98
Evidence: `84d27d0f49`; frames at 40/80/160; PTY at 80/160; A/B vs vt-241.
- Source result commit(s): `84d27d0f49`; `8e3a183698` (opencode `*.scm` declaration)
12
+
- Source result commit(s): `84d27d0f49`; `8e3a183698` (opencode `*.scm` declaration);
13
+
`0ab6637c9d` (tool output coloring)
13
14
- Forklog commit: this file's introducing commit
14
15
15
16
## User requests
@@ -39,6 +40,8 @@ Relayed by coordinator `ses_ef8235798ffejGr4sa22eXmVNv` after a collapsed
39
40
|`opencode`|`dev-nowaker`|`3d554e9df1`|`84d27d0f49` + forklog `bfc03b0daf`| fix commit, fast-forward; pushed to both remotes |
40
41
|`opencode`|`dev-nowaker`|`bfc03b0daf`|`8e3a183698` + this record's second forklog commit | opencode typecheck fix, fast-forward; pushed to both remotes |
41
42
|`opencode`|`file-languages`|`f885d7e3ba`|`d6087eb738`| amended with the same declaration; PR #54706|
0 commit comments