@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/server.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/opencode-legion-envoy",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "type": "module",
5
5
  "main": "src/server.ts",
6
6
  "exports": {
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: { target_session: tool.schema.string(), message: tool.schema.string() },
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.target_session,
290
+ targetSessionID: args.session_id,
291
291
  message: args.message,
292
292
  })
293
293
  );