@volter/supercode-teams 0.2.134 → 0.2.135
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/bin/workspace.mjs +1 -1
- package/package.json +1 -1
package/bin/workspace.mjs
CHANGED
|
@@ -569,7 +569,7 @@ async function machinesCommand(sub, { flags, rest, output, client, context, team
|
|
|
569
569
|
if (['subscribe','unsubscribe','events'].includes(sub)) {
|
|
570
570
|
requireArgs(rest,sub==='events'?0:1,sub==='events'?0:1,`teams machines ${sub} ${sub==='events'?'':'ADDRESS'}`);
|
|
571
571
|
const channel=await openLocalMachine(paths(teamsHome()).socket);
|
|
572
|
-
try { const rpc=await nodeRpc(channel); return output(await rpc.
|
|
572
|
+
try { const rpc=await nodeRpc(channel); return output(await rpc.call(`machine.events.${sub}`,{team_id:context.team_id,address:rest[0]})); }
|
|
573
573
|
finally { channel.close(); }
|
|
574
574
|
}
|
|
575
575
|
if (sub === 'list') return output(await team.machines.list());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/supercode-teams",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.135",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A machine daemon serving this machine's doors, and a local or remote Teams server for shared session discovery, OpenTelemetry ingestion and access to enrolled machines.",
|
|
6
6
|
"license": "MIT",
|