yao/agent/caller
Max bec8d9d426 Fix SystemPrompt passing and Claude CLI stream-json parsing
- Fix missing SystemPrompt field in sandbox executor options conversion
  (was causing Claude CLI to be skipped even when prompts were configured)
- Rewrite parseStream to handle Claude CLI stream-json output format:
  - system: initialization message
  - assistant: message with content array (text, tool_use)
  - result: final result with verification string
- Add comprehensive E2E tests via caller for sandbox integration:
  - TestSandboxE2E_ClaudeCLIExecution: verify command execution
  - TestSandboxE2E_FileCreation: verify file operations
  - TestSandboxE2E_HookOnlyMode: verify Claude CLI skip logic
  - TestSandboxE2E_StreamingResponse: verify streaming works
- Add real_e2e_test.go for direct Claude CLI execution testing

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 15:07:40 +08:00
..
caller.go Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +08:00
integration_test.go Enhance Agent Context with JSAPI Initialization and Message Handling 2026-01-25 19:42:56 +08:00
jsapi.go Implement Agent-to-Agent Call Enhancements and Context Management 2026-01-26 18:14:34 +08:00
jsapi_test.go Enhance Agent Context with JSAPI Initialization and Message Handling 2026-01-25 19:42:56 +08:00
orchestrator.go Implement Agent-to-Agent Call Enhancements and Context Management 2026-01-26 18:14:34 +08:00
orchestrator_test.go Enhance Agent Context with JSAPI Initialization and Message Handling 2026-01-25 19:42:56 +08:00
sandbox_integration_test.go Fix SystemPrompt passing and Claude CLI stream-json parsing 2026-01-31 15:07:40 +08:00
types.go Enhance Agent Context with JSAPI Initialization and Message Handling 2026-01-25 19:42:56 +08:00
types_test.go Enhance Agent Context with JSAPI Initialization and Message Handling 2026-01-25 19:42:56 +08:00