mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-19 05:02:49 +00:00
feat: add raw session args/opts for agent passthrough
This commit is contained in:
parent
375d73e4cb
commit
2f26f76d9b
14 changed files with 365 additions and 37 deletions
|
|
@ -64,6 +64,10 @@ export interface components {
|
|||
permissions: boolean;
|
||||
planMode: boolean;
|
||||
questions: boolean;
|
||||
/** @description Whether this agent supports raw CLI arguments passed at session creation */
|
||||
rawSessionArgs: boolean;
|
||||
/** @description Whether this agent supports raw options passed at session creation */
|
||||
rawSessionOptions: boolean;
|
||||
reasoning: boolean;
|
||||
sessionLifecycle: boolean;
|
||||
/** @description Whether this agent uses a shared long-running server process (vs per-turn subprocess) */
|
||||
|
|
@ -156,6 +160,12 @@ export interface components {
|
|||
model?: string | null;
|
||||
permissionMode?: string | null;
|
||||
variant?: string | null;
|
||||
/** @description Raw CLI arguments to pass to the agent (for CLI-based agents like Claude, OpenCode, Amp) */
|
||||
rawSessionArgs?: string[] | null;
|
||||
/** @description Raw options to pass to the agent (for long-running server agents like Codex) */
|
||||
rawSessionOptions?: {
|
||||
[key: string]: unknown;
|
||||
} | null;
|
||||
};
|
||||
CreateSessionResponse: {
|
||||
error?: components["schemas"]["AgentError"] | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue