Interface: LocalDaemonInteractOptions<TInput>
Defined in: node/src/builders/local-daemon-builder.ts:43
Configuration options for registering a framed PTY interaction tool on local.daemon(id).interact(toolName, options).
Defines the command factory, prompt frame delimiter, output settle quiet window, and turn timeout.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TInput | object | Validated tool input payload type (defaults to { readonly input: string }). |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
command | readonly | (ctx) => readonly string[] | Pure factory mapping allocated ports, sanitized scopeKey, and worktreePath to the interactive CLI argv. | node/src/builders/local-daemon-builder.ts:49 |
description? | readonly | string | Optional human-readable tool description (defaults to `Interact with service via ${toolName}`). | node/src/builders/local-daemon-builder.ts:45 |
frameDelimiter | readonly | | string | RegExp | LocalDaemonRegexDescriptor | Prompt delimiter string, RegExp, or serialized pattern descriptor marking the end of each output frame. | node/src/builders/local-daemon-builder.ts:51 |
idleSettleMs | readonly | number | Quiet window in milliseconds after frameDelimiter matches before resolving the turn output. | node/src/builders/local-daemon-builder.ts:53 |
inputSchema? | readonly | ZodType<TInput, unknown, $ZodTypeInternals<TInput, unknown>> | Optional Zod input validation schema (defaults to z.object({ input: z.string() })). | node/src/builders/local-daemon-builder.ts:47 |
timeoutSeconds | readonly | number | Maximum timeout in seconds for draining the banner or completing a single interactive turn. | node/src/builders/local-daemon-builder.ts:55 |