@sjawhar/pi-legion 10.17.0 → 10.18.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/legion.js CHANGED
@@ -15803,6 +15803,10 @@ var legionCapabilityState = exports_external.strictObject({
15803
15803
  configLine: nonEmptyString.optional(),
15804
15804
  source: exports_external.enum(["configuration", "boot"]).optional()
15805
15805
  });
15806
+ var legionSettings = exports_external.looseObject({
15807
+ max_fix_attempts: exports_external.number().int().positive(),
15808
+ worker_boot_timeout_seconds: exports_external.number().int().positive()
15809
+ });
15806
15810
  var legionCacheView = exports_external.strictObject({
15807
15811
  repo: nonEmptyString,
15808
15812
  sandbox: nonEmptyString,
@@ -15836,7 +15840,8 @@ var LegionStateResponse = exports_external.strictObject({
15836
15840
  controllerLocator: legionControllerLocator.optional(),
15837
15841
  agentSecretsLogin: legionAgentSecretsLoginView.optional(),
15838
15842
  capabilities: exports_external.array(legionCapabilityState),
15839
- repositories: legionRepositories
15843
+ repositories: legionRepositories,
15844
+ settings: legionSettings
15840
15845
  });
15841
15846
  var LegionRegisterResponse = exports_external.strictObject({
15842
15847
  claimToken: nonEmptyString,
@@ -16913,7 +16918,7 @@ async function bootLegionClaim(host2) {
16913
16918
  // package.json
16914
16919
  var package_default = {
16915
16920
  name: "@sjawhar/pi-legion",
16916
- version: "10.17.0",
16921
+ version: "10.18.0",
16917
16922
  license: "Apache-2.0",
16918
16923
  type: "module",
16919
16924
  omp: {
@@ -16925,7 +16930,7 @@ var package_default = {
16925
16930
  ]
16926
16931
  },
16927
16932
  legion: {
16928
- daemonApiVersion: 34
16933
+ daemonApiVersion: 35
16929
16934
  },
16930
16935
  repository: {
16931
16936
  type: "git",
@@ -24,12 +24,13 @@ the owner a command names (`-R owner/repo`, `repos/owner/repo` in `gh api`, a Gi
24
24
  the first owner's (`GH_CONFIG_DIR`) otherwise, so name the repository. Against a daemon with no
25
25
  GitHub App, `legion controller start` says so when it starts (`[legion] the daemon has no GitHub
26
26
  App to act as; the controller's gh acts as nobody`), and `gh` acts as nobody. The controller reads
27
- Dispatch and the daemon's state, and applies its controller
28
- capability, through the `legion` tool alone: `op: "read_state"` returns the daemon's whole state
29
- (`issues.<KEY>.phase`, `issues.<KEY>.holdReason`, `issues.<KEY>.architect`, `admission.cap`,
30
- `admission.active`, `admission.waiting`, `capabilities[]`, `daemon.project`), and `op: "set_status"`
31
- with `issue` and `status` (`todo`, `backlog` or `icebox`) moves an issue. It runs no `legion` from
32
- bash. Any pull-request comment or review the controller posts ends with
27
+ Dispatch and the daemon's state, and applies its controller capability, through the `legion` tool
28
+ alone: `op: "read_state"` returns the daemon's whole state (`issues.<KEY>.phase`,
29
+ `issues.<KEY>.holdReason`, `issues.<KEY>.architect`, `admission.cap`, `admission.active`,
30
+ `admission.waiting`, `capabilities[]`, `daemon.project`, and `settings`, how the daemon is tuned:
31
+ its resolved `legion.yaml`, `max_fix_attempts` and the rest, with no credential in it, LEGION-791),
32
+ and `op: "set_status"` with `issue` and `status` (`todo`, `backlog` or `icebox`) moves an issue. It
33
+ runs no `legion` from bash. Any pull-request comment or review the controller posts ends with
33
34
  `<!-- legion: {"session":"<session-id>","phase":"controller"} -->`, the footer every Legion role
34
35
  appends: the daemon reads the session to tell a controller's review from the reviewer's verdict. A
35
36
  review the controller submits without that footer still decides nothing for Legion's own workflow
@@ -495,4 +496,3 @@ controller never opens a gate and there is no operator command for it; a project
495
496
  want the gate at all runs `gates.design: off` in its `legion.yaml`. Otherwise resolve the
496
497
  authoritative owning architect role and route the verified context with `envoy_publish`. Do not
497
498
  route raw event traffic or invent a role token from a partial issue reference.
498
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-legion",
3
- "version": "10.17.0",
3
+ "version": "10.18.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "omp": {
@@ -12,7 +12,7 @@
12
12
  ]
13
13
  },
14
14
  "legion": {
15
- "daemonApiVersion": 34
15
+ "daemonApiVersion": 35
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",