@hivemagnus/magnus-server 1.0.1 → 1.0.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.
@@ -36,12 +36,12 @@ export const Sql = runtime.Sql;
36
36
  export const Decimal = runtime.Decimal;
37
37
  export const getExtensionContext = runtime.Extensions.getExtensionContext;
38
38
  /**
39
- * Prisma Client JS version: 7.9.1
40
- * Query Engine version: e922089b7d7502aff4249d5da3420f6fa55fc6ad
39
+ * Prisma Client JS version: 7.10.1
40
+ * Query Engine version: d1b3f377ca835d73fd50954a5e22128b9ebdd6b8
41
41
  */
42
42
  export const prismaVersion = {
43
- client: "7.9.1",
44
- engine: "e922089b7d7502aff4249d5da3420f6fa55fc6ad"
43
+ client: "7.10.1",
44
+ engine: "d1b3f377ca835d73fd50954a5e22128b9ebdd6b8"
45
45
  };
46
46
  export const NullTypes = {
47
47
  DbNull: runtime.NullTypes.DbNull,
@@ -44,7 +44,7 @@ function verifiedReconciliation(raw, commandId, expected, fresh, nodeToken) {
44
44
  * Surface that as a non-retryable "feature disabled on this node" error.
45
45
  */
46
46
  export const AGENT_NOT_PRIVILEGED = 'AGENT_NOT_PRIVILEGED';
47
- async function rejectUnprivilegedAgent(_request, _options, response) {
47
+ async function rejectUnprivilegedAgent({ response }) {
48
48
  if (response.status !== 403)
49
49
  return;
50
50
  let body;
@@ -76,7 +76,7 @@ export class NodeApiClient {
76
76
  actorId: options.resourceActorId ?? 'system:control-api', baseUrl: options.baseUrl,
77
77
  ...(options.resourceScope ? { scope: options.resourceScope } : {}) };
78
78
  this.api = ky.create({
79
- prefixUrl: `${options.baseUrl}/api/v1`,
79
+ prefix: `${options.baseUrl}/api/v1`,
80
80
  timeout: options.timeout ?? 15_000,
81
81
  headers: {
82
82
  'x-node-token': options.nodeToken,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hivemagnus/magnus-server",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Magnus server: the fleet control plane API (Hono, PostgreSQL, Redis) for nodes running magnus-agent, with optional Hive IAM, Hive Router, HiveMem, Hermes Agent and external security console integrations.",
5
5
  "keywords": [
6
6
  "magnus",
@@ -84,33 +84,33 @@
84
84
  "prepublishOnly": "npm run db:generate && npm run clean && npm run build"
85
85
  },
86
86
  "dependencies": {
87
- "@hivemagnus/magnus-contracts": "1.0.1",
87
+ "@hivemagnus/magnus-contracts": "1.0.2",
88
88
  "@hono/node-server": "^2.1.5",
89
- "@hono/swagger-ui": "^0.5.3",
90
- "@prisma/adapter-pg": "7.8.0",
91
- "@prisma/client": "^7.9.1",
92
- "argon2": "^0.44.0",
89
+ "@hono/swagger-ui": "^0.6.2",
90
+ "@prisma/adapter-pg": "7.10.1",
91
+ "@prisma/client": "^7.10.1",
92
+ "argon2": "^0.45.1",
93
93
  "bullmq": "^5.30.0",
94
- "dotenv": "^17.3.1",
95
- "hono": "4.13.13",
94
+ "dotenv": "^18.0.9",
95
+ "hono": "4.13.14",
96
96
  "ioredis": "^5.4.0",
97
- "jose": "^6.0.0",
98
- "ky": "^1.7.5",
97
+ "jose": "^6.2.13",
98
+ "ky": "^2.2.0",
99
99
  "nanoid": "^5.0.0",
100
- "pg": "^8.22.0",
100
+ "pg": "^8.23.1",
101
101
  "ssh2": "^1.17.0",
102
- "ws": "^8.19.0",
102
+ "ws": "^8.22.0",
103
103
  "yaml": "2.9.1",
104
104
  "zod": "^4.6.7",
105
- "@hivemagnus/magnus-skills": "1.0.1",
106
- "prisma": "^7.9.1"
105
+ "@hivemagnus/magnus-skills": "1.0.2",
106
+ "prisma": "^7.10.1"
107
107
  },
108
108
  "devDependencies": {
109
- "@types/node": "^22.10.0",
110
- "@types/pg": "^8.20.0",
111
- "@types/ssh2": "^1.15.5",
112
- "@types/ws": "^8.18.1",
113
- "tsx": "^4.19.4",
109
+ "@types/node": "^22.20.5",
110
+ "@types/pg": "^8.23.1",
111
+ "@types/ssh2": "^1.15.6",
112
+ "@types/ws": "^8.18.2",
113
+ "tsx": "^4.23.15",
114
114
  "typescript": "^5.8.3",
115
115
  "vitest": "^4.1.12"
116
116
  },