Input responders are now notification channels
OneNotificationChannel replaces the InputResponder SPI and one outbox replaces the input delivery queue. The same channel carries a question with an answer token (a route tier that names external:webhook:<name>) and a plain alert (a notification rule that lists channels).
The old property prefix is refused at start-up, with a message that names the new one. Rename it; the settings (
url, headers, timeout, signing-secret, answer-url) keep their names. The route syntax external:webhook:<name> does not change.
The webhook body only grows
A receiver written for alpha.4 keeps working: an input request still arrives withrequestId, prompt, context, token and the other top-level fields. The body gains a notification object. An alert that is not a question carries only notification.
If you wrote an InputResponder
Implement NotificationChannel instead: deliver(Notification, ChannelContext). The context has the target name, its merged settings and, for a question delivered by a route tier, the request, the one-time answerToken and answerExpires. A channel of a notification rule never gets a token. Delivery stays at least once: be idempotent by notification id. The SPI version is now 1.1.
What changed in behaviour
- Deliveries are queued when the question reaches a tier that names a channel, even when no person is asked. They are written by the notification producer, so
yukta.notifications.enabled=falsealso stops them. - A delivery given up after 10 tries raises a
delivery.failednotification for administrators (change it with a rule for the categorydelivery.failed). - Queued deliveries live in the notification store: in memory in Community, so they are lost on a restart.
AGENT_SESSION moved to its own module and talks to the conversations
AGENT_SESSION now lives in the agent-session module (package com.infenia.yukta.plugin.agentsession) and no longer in process-executor. The node type, its options and the harness presets are the same. What changes:
- Plugin authors and embedders:
ProcessExecutorAutoConfigurationno longer creates the agent beans; the newAgentSessionAutoConfigurationdoes.ProcessExecutionSpechas a newlauncher(a prefix only code sets, such as the terminal host), so code that builds a spec with the record constructor needs the extra component; the builder is unchanged. - A harness with an
interactiveblock now starts in its interactive mode whenever conversations are recorded (the default), so a message can be sent to it. Withapprovals: NONEan approval request the agent raises is denied with the text “approvals are off for this node” instead of being left to the agent’s own setting. Add"approvals": "ASK"to be asked. - The payload gains
conversationId. The run log keeps the sameagentlines. - New settings
yukta.agents.*:enabled(default true),retention(7d),max-conversations,max-events-per-conversation,max-message-bytes,max-tool-bytes,terminal-ring-bytes,messages-per-minute, and the terminal tieryukta.agents.pty.enabled(default false),host,cols,rows.yukta.agents.store-type=postgreskeeps conversations across a restart (Plus). - New node options
mode,idleTimeout,conversationTimeout,steerAudience, and for theterminalharnesscommandandterminalSize. The defaultsteerAudienceisrole:OPERATOR: a key or supervisor that should steer an agent must be named. - New API, CLI, MCP and events:
/api/conversations/**,yukta-cli conversationsandattach, seven*_agent_*MCP tools, the eventAgentConversationChangedand the commandsAgentMessageCommand,AgentInterruptCommandandAgentEndCommand. See Run an AI agent. - Server-sent events with names: the conversation stream names its events (
conversation,event). A client of any other stream is not affected.