ClaudeCode instance for async/concurrent operations using Ox structured concurrency. Create instances within supervised scopes for concurrent query execution.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Simple convenience method to ask Claude a question with sane defaults. Returns just the assistant's text response.
Simple convenience method to ask Claude a question with sane defaults. Returns just the assistant's text response.
Attributes
Executes a query and returns a Flow of messages from the Claude CLI. Uses Ox direct-style programming for structured concurrency with real streaming.
Executes a query and returns a Flow of messages from the Claude CLI. Uses Ox direct-style programming for structured concurrency with real streaming.
Attributes
Executes a query and returns the answer it ended with (see works.iterative.claude.core.model.Message.answerText). This is a convenience method for getting just the assistant's response text.
Executes a query and returns the answer it ended with (see works.iterative.claude.core.model.Message.answerText). This is a convenience method for getting just the assistant's response text.
Attributes
Executes a query and returns all messages as a List. This is a convenience method that collects all messages from the query Flow synchronously.
Executes a query and returns all messages as a List. This is a convenience method that collects all messages from the query Flow synchronously.
Attributes
Starts a long-lived CLI process and returns a Session for multi-turn conversations. The process stays alive until Session.close() is called. Background forks for stderr capture run within the provided Ox scope.
Starts a long-lived CLI process and returns a Session for multi-turn conversations. The process stays alive until Session.close() is called. Background forks for stderr capture run within the provided Ox scope.