@hivemagnus/magnus-contracts 1.1.8 → 1.1.12

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/ardent.d.ts CHANGED
@@ -1,4 +1,23 @@
1
1
  import { z } from 'zod';
2
+ export declare const ArdentContextAdoptionInputSchema: z.ZodObject<{
3
+ release_id: z.ZodString;
4
+ expected_bundle_sha256: z.ZodString;
5
+ expected_base_sha256: z.ZodString;
6
+ expected_policy_sha256: z.ZodString;
7
+ expected_config_sha256: z.ZodString;
8
+ }, z.core.$strict>;
9
+ export declare const ArdentContextReleaseSchema: z.ZodObject<{
10
+ schema_version: z.ZodLiteral<1>;
11
+ engine_version: z.ZodLiteral<"0.1.0">;
12
+ bundle_sha256: z.ZodString;
13
+ base_sha256: z.ZodString;
14
+ policy_sha256: z.ZodString;
15
+ config_sha256: z.ZodString;
16
+ single_profile: z.ZodBoolean;
17
+ service_unit_matches: z.ZodBoolean;
18
+ }, z.core.$strict>;
19
+ export type ArdentContextAdoptionInput = z.infer<typeof ArdentContextAdoptionInputSchema>;
20
+ export type ArdentContextRelease = z.infer<typeof ArdentContextReleaseSchema>;
2
21
  export declare const ArdentProfileSummarySchema: z.ZodObject<{
3
22
  id: z.ZodString;
4
23
  name: z.ZodString;
package/dist/ardent.js CHANGED
@@ -1,4 +1,10 @@
1
1
  import { z } from 'zod';
2
+ export const ArdentContextAdoptionInputSchema = z.object({ release_id: z.string().guid(),
3
+ expected_bundle_sha256: z.string().regex(/^[a-f0-9]{64}$/), expected_base_sha256: z.string().regex(/^[a-f0-9]{64}$/),
4
+ expected_policy_sha256: z.string().regex(/^[a-f0-9]{64}$/), expected_config_sha256: z.string().regex(/^[a-f0-9]{64}$/) }).strict();
5
+ export const ArdentContextReleaseSchema = z.object({ schema_version: z.literal(1), engine_version: z.literal('0.1.0'),
6
+ bundle_sha256: z.string().regex(/^[a-f0-9]{64}$/), base_sha256: z.string().regex(/^[a-f0-9]{64}$/),
7
+ policy_sha256: z.string().regex(/^[a-f0-9]{64}$/), config_sha256: z.string().regex(/^[a-f0-9]{64}$/), single_profile: z.boolean(), service_unit_matches: z.boolean() }).strict();
2
8
  export const ArdentProfileSummarySchema = z.object({
3
9
  id: z.string(), name: z.string(), backend: z.enum(['llamacpp', 'codex']).nullable(),
4
10
  apiPort: z.number().int().nullable(), running: z.boolean(), a2aEnabled: z.boolean(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hivemagnus/magnus-contracts",
3
- "version": "1.1.8",
3
+ "version": "1.1.12",
4
4
  "description": "Shared Zod schemas and TypeScript types for the Magnus server, UI and node agent wire contracts.",
5
5
  "keywords": [
6
6
  "magnus",