Use rich TranscriptEntry kinds in UI parser for pretty output
The UI parser was mapping all OpenCode JSONL events to plain stdout/stderr transcript entries, causing the Paperclip UI to render everything as raw terminal output. Updated parseStdoutLine to use structured kinds: - text events → "assistant" (renders as chat bubbles) - tool_use events → "tool_call" / "tool_result" (shows tool invocations) - step_finish events → "result" (shows token/cost metrics) - step_start events → "system" (shows step transitions) - assistant events → "assistant" (nested content blocks) Fixes FAR-43. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@farhoodliquor/paperclip-adapter-opencode-k8s",
|
||||
"version": "0.1.11",
|
||||
"version": "0.1.12",
|
||||
"description": "Paperclip adapter plugin that runs OpenCode agents as Kubernetes Jobs",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
|
||||
Reference in New Issue
Block a user