Files
Marcos Paulo 13bc2d582e feat: Chat mode with Claude Code, Codex and generic API endpoints
A Design | Chat layout (Cmd+J): a chat column next to the live canvas.
Agents run through PaperCraft's own tools, so agent runs, undo, review
and revert work as for any MCP client. The thread shows streamed text,
reasoning, tool cards grouped into steps, the agent's plan, approvals
for destructive tools, checkpoints with Restore to here, run cards and
usage. Chats are saved in the project under chats/.

Backends: Claude Code (claude -p stream-json) and Codex (codex exec
--json) with the app's MCP server, using their own logins; or any API
endpoint in Anthropic Messages or OpenAI Chat Completions format with a
key kept in the OS keychain. Settings > Chat configures them.

Also: the offline CLI no longer saves a camera fitted to a fake window,
and top-level shapes without a position go to the next free spot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 22:43:11 -03:00

8 lines
1.0 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"type":"thread.started","thread_id":"01a16076-27b1-7291-8bd3-f47391424c74"}
{"type":"turn.started"}
{"type":"item.completed","item":{"id":"item_0","type":"agent_message","text":"I’ll call `get_basic_info` once and return file name."}}
{"type":"item.started","item":{"id":"item_1","type":"mcp_tool_call","server":"papercraft","tool":"get_basic_info","arguments":{},"result":null,"error":null,"status":"in_progress"}}
{"type":"item.completed","item":{"id":"item_1","type":"mcp_tool_call","server":"papercraft","tool":"get_basic_info","arguments":{},"result":{"content":[{"type":"text","text":"No project is open in papercraft (the home screen is showing). Call list_resources and open_file, or create_file then open_file."}],"structured_content":null},"error":null,"status":"failed"}}
{"type":"item.completed","item":{"id":"item_2","type":"agent_message","text":"No file open in PaperCraft."}}
{"type":"turn.completed","usage":{"input_tokens":79922,"cached_input_tokens":64896,"cache_write_input_tokens":0,"output_tokens":111,"reasoning_output_tokens":0}}