@sjawhar/pi-legion-envoy 0.15.0 → 0.16.0

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/dist/envoy.js CHANGED
@@ -30073,7 +30073,7 @@ var LegionDaemonApi = {
30073
30073
  task: nonEmptyString
30074
30074
  }),
30075
30075
  response: object({
30076
- status: _enum2(["spawned", "resumed"]),
30076
+ status: _enum2(["spawned", "resumed", "queued"]),
30077
30077
  roleToken: nonEmptyString
30078
30078
  })
30079
30079
  },
package/dist/legion.js CHANGED
@@ -30071,7 +30071,7 @@ var LegionDaemonApi = {
30071
30071
  task: nonEmptyString
30072
30072
  }),
30073
30073
  response: object({
30074
- status: _enum2(["spawned", "resumed"]),
30074
+ status: _enum2(["spawned", "resumed", "queued"]),
30075
30075
  roleToken: nonEmptyString
30076
30076
  })
30077
30077
  },
@@ -30499,7 +30499,7 @@ function createLegionTool(deps) {
30499
30499
  return {
30500
30500
  name: "legion",
30501
30501
  label: "legion",
30502
- description: "Perform a Legion lifecycle write through the Legion daemon.",
30502
+ description: "Perform a Legion lifecycle write through the Legion daemon. " + `spawn_worker's response "status" means: "spawned" \u2014 a fresh pane just opened and is ` + 'running now; "resumed" \u2014 an existing worker was prompted directly over its live socket, ' + "or (if its boot has not confirmed yet) its task was recorded to deliver once that boot " + 'completes; "queued" \u2014 the running-worker cap is full, the task was recorded and this ' + 'role will start on its own once a slot frees. Never re-spawn a role after "resumed" or ' + '"queued" \u2014 wait for the worker-started notification instead.',
30503
30503
  defaultInactive: true,
30504
30504
  parameters: legionToolSchema(pi),
30505
30505
  execute: async (_id, parameters, _signal, _onUpdate, context) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-legion-envoy",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "type": "module",
5
5
  "omp": {
6
6
  "extensions": [