CoAgent8
Preparing search index...
backends/codex/app-server
CodexAppSessionOptions
Interface CodexAppSessionOptions
interface
CodexAppSessionOptions
{
collector
:
{
beginTurn
:
(
id
:
string
)
=>
void
;
initialize
:
(
id
:
string
)
=>
void
;
isTerminal
:
()
=>
boolean
;
line
:
(
raw
:
string
)
=>
void
;
notify
:
(
method
:
string
,
value
:
unknown
)
=>
void
;
snapshot
:
()
=>
{
denials
:
{
operation
?:
string
;
path
?:
string
;
reason
?:
string
}
[]
;
error
:
ExecutionError
|
undefined
;
initialized
:
boolean
;
interrupted
:
boolean
;
output
:
string
;
terminal
:
boolean
;
threadId
:
string
|
null
;
truncated
:
boolean
;
turnId
:
string
|
null
;
usage
:
TokenUsage
|
undefined
;
}
;
}
;
cwd
:
string
;
effort
:
string
;
model
:
string
;
onEvent
?:
(
event
:
AdapterEvent
)
=>
void
;
threadId
?:
string
|
null
;
}
Index
Properties
collector
cwd
effort
model
on
Event?
thread
Id?
Properties
collector
collector
:
{
beginTurn
:
(
id
:
string
)
=>
void
;
initialize
:
(
id
:
string
)
=>
void
;
isTerminal
:
()
=>
boolean
;
line
:
(
raw
:
string
)
=>
void
;
notify
:
(
method
:
string
,
value
:
unknown
)
=>
void
;
snapshot
:
()
=>
{
denials
:
{
operation
?:
string
;
path
?:
string
;
reason
?:
string
}
[]
;
error
:
ExecutionError
|
undefined
;
initialized
:
boolean
;
interrupted
:
boolean
;
output
:
string
;
terminal
:
boolean
;
threadId
:
string
|
null
;
truncated
:
boolean
;
turnId
:
string
|
null
;
usage
:
TokenUsage
|
undefined
;
}
;
}
Type Declaration
beginTurn
:
(
id
:
string
)
=>
void
initialize
:
(
id
:
string
)
=>
void
isTerminal
:
()
=>
boolean
line
:
(
raw
:
string
)
=>
void
notify
:
(
method
:
string
,
value
:
unknown
)
=>
void
snapshot
:
()
=>
{
denials
:
{
operation
?:
string
;
path
?:
string
;
reason
?:
string
}
[]
;
error
:
ExecutionError
|
undefined
;
initialized
:
boolean
;
interrupted
:
boolean
;
output
:
string
;
terminal
:
boolean
;
threadId
:
string
|
null
;
truncated
:
boolean
;
turnId
:
string
|
null
;
usage
:
TokenUsage
|
undefined
;
}
cwd
cwd
:
string
effort
effort
:
string
model
model
:
string
Optional
on
Event
onEvent
?:
(
event
:
AdapterEvent
)
=>
void
Optional
thread
Id
threadId
?:
string
|
null
Thread to resume; a new thread is started when absent.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
collector
cwd
effort
model
on
Event
thread
Id
CoAgent8
Loading...
Thread to resume; a new thread is started when absent.