domain/models/entrypoints_full library

Classes

CliConfig
Complete CLI configuration produced by parsing command-line arguments.
CliEntrypoint
CLI entrypoint — parses arguments and produces a CliConfig.
CliFlagDef
Parsed CLI flag definition.
CliFlags
All supported CLI flag definitions.
EmbeddedConfig
Configuration for embedded mode.
EmbeddedEntrypoint
Embedded entrypoint — run inside another application.
EmbeddedRestrictions
Restrictions applied in embedded mode.
EmbeddedSession
An active embedded session.
EntryRouter
Routes to the correct entrypoint based on arguments and environment.
FileInput
Read input from a file.
FileOutput
Write output to a file.
HeadlessConfig
Configuration for headless mode.
HeadlessEntrypoint
Headless entrypoint — run without interactive UI.
HeadlessInput
Input source for headless mode.
HeadlessOutput
Output destination for headless mode.
HeadlessResult
Result of a headless run.
McpCapabilities
MCP server capability declarations.
McpEntrypointConfig
Configuration for the MCP server entrypoint.
McpPromptArgument
MCP prompt argument.
McpServerEntrypoint
MCP server entrypoint — runs Neomage as an MCP-compatible server.
McpServerPrompt
MCP prompt definition.
McpServerResource
MCP resource definition.
McpServerTool
MCP server-side tool definition (includes handler).
PipedConfig
Configuration for piped mode (stdin -> stdout pipeline).
PipedEntrypoint
Piped entrypoint — process stdin to stdout as a pipeline.
SdkConfig
Configuration for SDK entrypoint.
SdkEntrypoint
SDK entrypoint — programmatic access from Dart applications.
SdkSession
An active SDK session — wraps an ongoing conversation.
StdinInput
Read input from stdin.
StdoutOutput
Write output to stdout.
StringInput
Use a literal string as input.

Enums

CommunicationChannel
Communication channel between host app and embedded Neomage.
EntryMode
All supported entry modes for the application.
HeadlessFormat
Output format for headless mode.
McpServerTransport
MCP transport types for server mode.

Typedefs

OnErrorCallback = void Function(Object error, StackTrace? stackTrace)
Callback type for handling errors.
OnMessageCallback = void Function(Message message)
Callback type for handling assistant messages.
OnToolUseCallback = void Function(String toolName, Map<String, dynamic> input)
Callback type for handling tool use events.
PermissionHandler = Future<bool> Function(String toolName, Map<String, dynamic> input, String description)
Callback type for permission handling in SDK mode.