@inceptionstack/roundhouse 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/architecture.md +94 -31
- package/package.json +1 -1
- package/src/agents/kiro/kiro-adapter.ts +8 -1
- package/src/agents/pi/message-format.ts +87 -0
- package/src/agents/pi/pi-adapter.ts +9 -72
- package/src/cli/agent-command.ts +210 -0
- package/src/cli/cli.ts +69 -215
- package/src/cli/cron-commands.ts +258 -0
- package/src/cli/cron.ts +26 -267
- package/src/cli/launchd.ts +144 -0
- package/src/cli/service-manager.ts +192 -0
- package/src/cli/setup/args.ts +109 -0
- package/src/cli/setup/flows.ts +273 -0
- package/src/cli/setup/helpers.ts +66 -0
- package/src/cli/setup/index.ts +7 -0
- package/src/cli/setup/runtime.ts +109 -0
- package/src/cli/setup/steps.ts +617 -0
- package/src/cli/setup/types.ts +52 -0
- package/src/cli/setup.ts +79 -1231
- package/src/cli/shell.ts +49 -0
- package/src/cli/systemd.ts +6 -33
- package/src/config.ts +67 -53
- package/src/gateway/attachments.ts +147 -0
- package/src/gateway/commands.ts +371 -0
- package/src/gateway/helpers.ts +104 -0
- package/src/gateway/index.ts +11 -0
- package/src/gateway/streaming.ts +211 -0
- package/src/gateway.ts +212 -763
- package/src/types.ts +14 -0
package/src/types.ts
CHANGED
|
@@ -126,6 +126,20 @@ export interface AgentAdapter {
|
|
|
126
126
|
|
|
127
127
|
/** Return runtime info about the agent (model, version, etc.). */
|
|
128
128
|
getInfo?(threadId?: string): AdapterInfo;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Hook called after message is built (attachments resolved, STT transcribed)
|
|
132
|
+
* but before memory injection and prompt/promptStream. Adapter can append
|
|
133
|
+
* platform-specific hints, rewrite text, etc. Return the (possibly modified) message.
|
|
134
|
+
*/
|
|
135
|
+
prepareMessage?(threadId: string, message: AgentMessage, context: MessageContext): AgentMessage;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export interface MessageContext {
|
|
139
|
+
/** Chat platform: "telegram", "discord", etc. */
|
|
140
|
+
platform: string;
|
|
141
|
+
/** Whether the message has file/image/audio attachments */
|
|
142
|
+
hasAttachments: boolean;
|
|
129
143
|
}
|
|
130
144
|
|
|
131
145
|
export interface AgentResponse {
|