Expand description
Type definitions for iFlow SDK
This module contains all the type definitions used throughout the iFlow SDK, including configuration options and message types.
Structs§
- Agent
Info - Agent information
- EnvVariable
- An environment variable to set when launching an MCP server.
- Error
- JSON-RPC error object.
- Error
Message Details - Error message details
- File
Access Config - Configuration for file access
- IFlow
Options - Configuration options for iFlow SDK
- Icon
- Icon for tool calls
- Image
Content - An image provided to or from an LLM.
- Logging
Config - Configuration for logging
- Plan
- An execution plan for accomplishing complex tasks.
- Plan
Entry - Plan entry for task planning
- Process
Config - Configuration for process management
- Session
Id - A unique identifier for a conversation session between a client and agent.
- Text
Content - Text provided to or from an LLM.
- Tool
Call - Represents a tool call that the language model has requested.
- Tool
Call Confirmation - Tool call confirmation details
- Tool
Call Content - Tool call content
- Tool
Call Location - File location for a tool call
- Tool
Call Message - Tool call message
- Tool
Call Update - An update to an existing tool call.
- User
Message - User message
- WebSocket
Config - Configuration for WebSocket connection
Enums§
- Content
Block - Content blocks represent displayable information in the Agent Client Protocol.
- McpServer
- Configuration for connecting to an MCP (Model Context Protocol) server.
- Message
- Message types for communication with iFlow
- Permission
Mode - Permission mode for tool calls
- Plan
Priority - Plan entry priority levels
- Plan
Status - Plan entry status
- Stop
Reason - Reasons why an agent stops processing a prompt turn.
- Tool
Call Status - Tool call status
- User
Message Chunk - User message chunk
Constants§
- PROTOCOL_
VERSION - Protocol version