@sjawhar/opencode-legion-envoy 0.5.1 → 0.5.2
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/package.json +1 -1
- package/src/server.ts +2 -2
package/package.json
CHANGED
package/src/server.ts
CHANGED
|
@@ -281,13 +281,13 @@ export default async (input: { serverUrl: URL }) => {
|
|
|
281
281
|
}),
|
|
282
282
|
envoy_send: tool({
|
|
283
283
|
description: sendSpec.description,
|
|
284
|
-
args: {
|
|
284
|
+
args: { session_id: tool.schema.string(), message: tool.schema.string() },
|
|
285
285
|
async execute(args, ctx) {
|
|
286
286
|
ctx.metadata({ title: "Envoy send" });
|
|
287
287
|
return JSON.stringify(
|
|
288
288
|
await envoy.send({
|
|
289
289
|
sourceSessionID: ctx.sessionID,
|
|
290
|
-
targetSessionID: args.
|
|
290
|
+
targetSessionID: args.session_id,
|
|
291
291
|
message: args.message,
|
|
292
292
|
})
|
|
293
293
|
);
|