@hivemagnus/magnus 2.10.0 → 2.10.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 (1) hide show
  1. package/package.json +11 -53
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hivemagnus/magnus",
3
- "version": "2.10.0",
3
+ "version": "2.10.2",
4
4
  "description": "Install, upgrade and roll back a Magnus server and console with one command: `npx @hivemagnus/magnus init`, then `magnus upgrade`. Pins exact, tested component versions, backs up PostgreSQL before every migration and reverts automatically when the new version fails its health check.",
5
5
  "keywords": [
6
6
  "magnus",
@@ -47,7 +47,7 @@
47
47
  "clean": "node -e \"const fs=require('node:fs');fs.rmSync('dist',{recursive:true,force:true});fs.rmSync('tsconfig.tsbuildinfo',{force:true})\""
48
48
  },
49
49
  "dependencies": {
50
- "@hivemagnus/magnus-contracts": "2.10.0"
50
+ "@hivemagnus/magnus-contracts": "2.10.2"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/node": "^24.19.2",
@@ -56,71 +56,29 @@
56
56
  },
57
57
  "magnusRelease": {
58
58
  "schema": 1,
59
- "version": "2.10.0",
59
+ "version": "2.10.2",
60
60
  "engines": {
61
61
  "node": "^24.22.3 || ^26.13.1"
62
62
  },
63
63
  "components": {
64
- "@hivemagnus/magnus-server": "2.10.0",
65
- "@hivemagnus/magnus-ui": "2.10.0",
66
- "@hivemagnus/magnus-contracts": "2.10.0",
67
- "@hivemagnus/magnus-agent": "2.10.0"
64
+ "@hivemagnus/magnus-server": "2.10.2",
65
+ "@hivemagnus/magnus-ui": "2.10.2",
66
+ "@hivemagnus/magnus-contracts": "2.10.2",
67
+ "@hivemagnus/magnus-agent": "2.10.2"
68
68
  },
69
69
  "breaking": false,
70
70
  "minUpgradeFrom": "1.0.0",
71
71
  "engineProtocol": 2,
72
72
  "newRequiredEnv": [],
73
- "newOptionalEnv": [
74
- {
75
- "name": "NODE_AUTH_MODE",
76
- "component": "server",
77
- "secret": false,
78
- "description": "compat (default): node signature or shared node secret; warn: also log each use of the shared secret; enforce: signatures only."
79
- },
80
- {
81
- "name": "NODE_AUTH_LEGACY_UPGRADE_UNTIL",
82
- "component": "server",
83
- "secret": false,
84
- "description": "ISO 8601 date until which existing agents may bind their first node key with the shared node secret. Unset means 30 days after the first start."
85
- },
86
- {
87
- "name": "NODE_AUTH_SERVER_KEY_PATH",
88
- "component": "server",
89
- "secret": false,
90
- "description": "File holding the server's Ed25519 signing key (mode 0600, created on first start). Default $MAGNUS_HOME/state/node-auth/server-signing-key.json."
91
- },
92
- {
93
- "name": "NODE_AUTO_REGISTER",
94
- "component": "server",
95
- "secret": false,
96
- "description": "Add unknown agents that present the shared node secret to the inventory (default true)."
97
- },
98
- {
99
- "name": "NODE_AUTH_MODE",
100
- "component": "agent",
101
- "secret": false,
102
- "description": "compat (default) or warn: the agent accepts the shared node secret on its own API (warn logs each use); enforce: once the node has a bound key, requests that carry only the shared secret are refused, and reconciliation decisions must be signed by the server key."
103
- }
104
- ],
73
+ "newOptionalEnv": [],
105
74
  "removedEnv": [],
106
- "migrations": [
107
- {
108
- "name": "20261113120000_node_credentials",
109
- "impact": "fast",
110
- "note": ""
111
- },
112
- {
113
- "name": "20261114090000_node_credentials_phase2",
114
- "impact": "fast",
115
- "note": ""
116
- }
117
- ],
75
+ "migrations": [],
118
76
  "agent": {
119
77
  "selfUpgradeProtocol": 1,
120
78
  "minLauncher": 1
121
79
  },
122
- "summary": "Per-node credentials, phases 1 and 2: each node agent gets its own Ed25519 key, the server signs its requests to agents, existing nodes move over by themselves, node evidence is signed with the node key and command reconciliation decisions with the server key. The shared node secret keeps working and is refused only for a node that has its own key; NODE_AUTH_MODE=enforce is opt-in. ADMIN users can list, revoke and reset node keys from a browser UI. A root agent now runs a user-installed Hermes as the account that owns it instead of as root. Server, gateway, installer and skill hardening from a review pass. Two additive migrations. Upgrade the server before the agents and before switching any agent to enforce, back up the server key file with the database, and see docs/NODE_CREDENTIALS.md before downgrading an agent that has bound a key.",
123
- "notesUrl": "https://github.com/ChefTaco/magnus/releases/tag/v2.10.0",
80
+ "summary": "Managed HTTP to an enrolled node whose agent has a node key: 2.10.0 and 2.10.1 agents refused every signed managed request as a replay (NODE_AUTH_REPLAY), which blocked agent upgrades and other managed mutations of those nodes and left their leases unknown. The agent now authenticates a request once, and the server reaches 2.10.0 and 2.10.1 agents with a key without upgrading them first (shared secret on that route only, never in enforce mode). The agent's hermes-cli health check uses the Hermes discovery cache instead of a 2.5-second hermes --version. No migrations and no new settings. Upgrade the server first.",
81
+ "notesUrl": "https://github.com/ChefTaco/magnus/releases/tag/v2.10.2",
124
82
  "allowScripts": {
125
83
  "@prisma/engines": true,
126
84
  "argon2": true,