@hivemagnus/magnus-agent 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.
|
@@ -110,11 +110,11 @@ export declare const schedulerSourceSettlementSchema: z.ZodObject<{
|
|
|
110
110
|
}, z.core.$strict>;
|
|
111
111
|
export type SchedulerSourceSettlement = z.infer<typeof schedulerSourceSettlementSchema>;
|
|
112
112
|
export declare const schedulerSourceSettlementReceiptSchema: z.ZodObject<{
|
|
113
|
+
version: z.ZodLiteral<1>;
|
|
113
114
|
expiresAt: z.ZodNumber;
|
|
114
115
|
nodeId: z.ZodString;
|
|
115
116
|
count: z.ZodNumber;
|
|
116
117
|
kind: z.ZodString;
|
|
117
|
-
version: z.ZodLiteral<1>;
|
|
118
118
|
nodeFqdn: z.ZodString;
|
|
119
119
|
disposition: z.ZodEnum<{
|
|
120
120
|
effects_verified: "effects_verified";
|
|
@@ -138,11 +138,11 @@ export declare function schedulerSourceSettlementReceiptPayload(value: Omit<Sche
|
|
|
138
138
|
replayed: boolean;
|
|
139
139
|
}): string;
|
|
140
140
|
declare const legacySettlementReceiptSchema: z.ZodObject<{
|
|
141
|
+
version: z.ZodLiteral<1>;
|
|
141
142
|
expiresAt: z.ZodNumber;
|
|
142
143
|
nodeId: z.ZodString;
|
|
143
144
|
count: z.ZodNumber;
|
|
144
145
|
kind: z.ZodString;
|
|
145
|
-
version: z.ZodLiteral<1>;
|
|
146
146
|
nodeFqdn: z.ZodString;
|
|
147
147
|
disposition: z.ZodEnum<{
|
|
148
148
|
effects_verified: "effects_verified";
|
|
@@ -194,11 +194,11 @@ export declare class ManagedScheduler {
|
|
|
194
194
|
count: number;
|
|
195
195
|
}[];
|
|
196
196
|
settlements: {
|
|
197
|
+
version: 1;
|
|
197
198
|
expiresAt: number;
|
|
198
199
|
nodeId: string;
|
|
199
200
|
count: number;
|
|
200
201
|
kind: string;
|
|
201
|
-
version: 1;
|
|
202
202
|
nodeFqdn: string;
|
|
203
203
|
disposition: "effects_verified" | "no_effect_verified";
|
|
204
204
|
evidenceSha256: string;
|
|
@@ -213,11 +213,11 @@ export declare class ManagedScheduler {
|
|
|
213
213
|
receiptSignature: string;
|
|
214
214
|
}[];
|
|
215
215
|
legacySettlements: {
|
|
216
|
+
version: 1;
|
|
216
217
|
expiresAt: number;
|
|
217
218
|
nodeId: string;
|
|
218
219
|
count: number;
|
|
219
220
|
kind: string;
|
|
220
|
-
version: 1;
|
|
221
221
|
nodeFqdn: string;
|
|
222
222
|
disposition: "effects_verified" | "no_effect_verified";
|
|
223
223
|
evidenceSha256: string;
|
|
@@ -240,11 +240,11 @@ export declare class ManagedScheduler {
|
|
|
240
240
|
settlementReceipt(decisionId: string): Promise<SchedulerSourceSettlementReceipt | z.infer<typeof legacySettlementReceiptSchema> | undefined>;
|
|
241
241
|
settleForeignSource(raw: SchedulerSourceSettlement, signReceipt: (payload: Omit<SchedulerSourceSettlementReceipt, 'receiptSignature'>) => string): Promise<{
|
|
242
242
|
receipt: {
|
|
243
|
+
version: 1;
|
|
243
244
|
expiresAt: number;
|
|
244
245
|
nodeId: string;
|
|
245
246
|
count: number;
|
|
246
247
|
kind: string;
|
|
247
|
-
version: 1;
|
|
248
248
|
nodeFqdn: string;
|
|
249
249
|
disposition: "effects_verified" | "no_effect_verified";
|
|
250
250
|
evidenceSha256: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hivemagnus/magnus-agent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Magnus node agent: a small daemon that enrolls a Linux host with a magnus-server and runs authenticated health, command, cron, file and skill management, with optional Hermes Agent, Codex and Ardent management.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"magnus",
|
|
@@ -55,19 +55,19 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@hono/node-server": "^2.1.5",
|
|
58
|
-
"dotenv": "^
|
|
59
|
-
"hono": "^4.13.
|
|
60
|
-
"ky": "^
|
|
58
|
+
"dotenv": "^18.0.9",
|
|
59
|
+
"hono": "^4.13.14",
|
|
60
|
+
"ky": "^2.2.0",
|
|
61
61
|
"nanoid": "^5.1.16",
|
|
62
|
-
"tar-stream": "3.2.
|
|
62
|
+
"tar-stream": "3.2.2",
|
|
63
63
|
"undici": "^7.30.1",
|
|
64
64
|
"yaml": "^2.9.1",
|
|
65
65
|
"zod": "^4.6.7"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@types/node": "^22.
|
|
69
|
-
"@types/tar-stream": "^3.1.
|
|
70
|
-
"tsx": "^4.
|
|
68
|
+
"@types/node": "^22.20.5",
|
|
69
|
+
"@types/tar-stream": "^3.1.5",
|
|
70
|
+
"tsx": "^4.23.15",
|
|
71
71
|
"typescript": "^5.8.3",
|
|
72
72
|
"vitest": "^4.1.12"
|
|
73
73
|
}
|