feat(adapter): claude local chrome flag and max-turns session handling
Add --chrome flag support for Claude adapter. Detect max-turns exhaustion (via subtype, stop_reason, or result text) and clear the session to prevent stale session re-use. Add unit tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,7 @@ Core fields:
|
||||
- cwd (string, optional): default absolute working directory fallback for the agent process
|
||||
- model (string, optional): Claude model id
|
||||
- effort (string, optional): reasoning effort passed via --effort (low|medium|high)
|
||||
- chrome (boolean, optional): pass --chrome when running Claude
|
||||
- promptTemplate (string, optional): run prompt template
|
||||
- bootstrapPromptTemplate (string, optional): first-run prompt template
|
||||
- maxTurnsPerRun (number, optional): max turns for one run
|
||||
|
||||
Reference in New Issue
Block a user