Yunfei He
6e01954cf9
fix: resolve vpr ready failures
...
- Fix unhandled promise in coding-agent example (void operator)
- Fix unhandled promise in cli/dev.ts (void operator)
- Fix ChildProcess.on() type error in cli/process-manager.ts
(@types/node v25 removed .on() from ChildProcess type)
- Change example build scripts from "vite build" to "vp build"
(vite resolves to vite-plus-core which has no CLI bin)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-25 23:19:55 +08:00
Yunfei He
0854ef4828
fix(coding-agent): fix user message layout and add Agent prefix
...
- Use nested Text instead of sibling Text nodes to keep 'You: ' and
content on the same line (avoids yoga row layout splitting them)
- Add 'Agent: ' prefix (cyan, bold) to assistant messages
2026-05-24 23:03:13 +08:00
Yunfei He
638dd9fbc7
fix(coding-agent): harden edge cases from codex review
...
- Guard JSON.parse of tool arguments with try-catch
- Robust tool-call accumulation via Map (handles out-of-order deltas)
- Pass real ToolCall to onToolCall/onToolResult (correct ids in scrollback)
- Persist skipped tool calls to Static scrollback
- Flush partial streaming text on network errors
- Ensure empty assistant messages have content: "" (valid schema)
2026-05-24 22:49:57 +08:00
Yunfei He
4ac8a87507
fix(coding-agent): persist user messages and tool results to Static scrollback
2026-05-24 22:40:57 +08:00
Yunfei He
9f9edcf991
fix(coding-agent): lazy-init OpenAI client to avoid top-level throw
2026-05-24 22:36:38 +08:00
Yunfei He
253fa8bfc6
feat(coding-agent): add API key validation in entry point
...
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-24 22:32:55 +08:00
Yunfei He
6a8a365d24
feat(coding-agent): implement App with state machine and Static/Dynamic split
...
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-24 22:32:07 +08:00
Yunfei He
b1da92e63c
feat(coding-agent): add MessageList component
...
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-24 22:30:48 +08:00
Yunfei He
242fc74b9c
feat(coding-agent): add streaming agent loop with DeepSeek
...
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-24 22:29:32 +08:00
Yunfei He
6aec92e16d
feat(coding-agent): add types and bash execution
...
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-24 22:27:27 +08:00
Yunfei He
795251a080
feat(examples): scaffold coding-agent example
...
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-24 22:26:21 +08:00