@femtomc/mu-core 26.2.38 → 26.2.40

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @femtomc/mu-core
2
2
 
3
- Core types and utilities shared across mu packages: JSONL store abstractions, event logging, DAG helpers, and spec schemas.
3
+ Core runtime primitives shared across mu packages.
4
4
 
5
5
  ## Install
6
6
 
package/dist/spec.d.ts CHANGED
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
  export declare const DepSchema: z.ZodObject<{
3
3
  type: z.ZodString;
4
4
  target: z.ZodString;
5
- }, z.core.$loose>;
5
+ }, z.core.$strict>;
6
6
  export type Dep = z.infer<typeof DepSchema>;
7
7
  export declare const IssueSchema: z.ZodObject<{
8
8
  id: z.ZodString;
@@ -18,18 +18,18 @@ export declare const IssueSchema: z.ZodObject<{
18
18
  deps: z.ZodArray<z.ZodObject<{
19
19
  type: z.ZodString;
20
20
  target: z.ZodString;
21
- }, z.core.$loose>>;
21
+ }, z.core.$strict>>;
22
22
  priority: z.ZodNumber;
23
23
  created_at: z.ZodNumber;
24
24
  updated_at: z.ZodNumber;
25
- }, z.core.$loose>;
25
+ }, z.core.$strict>;
26
26
  export type Issue = z.infer<typeof IssueSchema>;
27
27
  export declare const ForumMessageSchema: z.ZodObject<{
28
28
  topic: z.ZodString;
29
29
  body: z.ZodString;
30
30
  author: z.ZodString;
31
31
  created_at: z.ZodNumber;
32
- }, z.core.$loose>;
32
+ }, z.core.$strict>;
33
33
  export type ForumMessage = z.infer<typeof ForumMessageSchema>;
34
34
  export declare const PromptFrontmatterSchema: z.ZodObject<{
35
35
  cli: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"spec.d.ts","sourceRoot":"","sources":["../src/spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS;;;iBAKP,CAAC;AAChB,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAE5C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;iBAaT,CAAC;AAChB,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,eAAO,MAAM,kBAAkB;;;;;iBAOhB,CAAC;AAChB,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,uBAAuB;;;;;iBAOrB,CAAC;AAChB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"spec.d.ts","sourceRoot":"","sources":["../src/spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS;;;kBAKZ,CAAC;AACX,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAE5C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;kBAad,CAAC;AACX,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,eAAO,MAAM,kBAAkB;;;;;kBAOrB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,uBAAuB;;;;;iBAOrB,CAAC;AAChB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
package/dist/spec.js CHANGED
@@ -4,7 +4,7 @@ export const DepSchema = z
4
4
  type: z.string().min(1),
5
5
  target: z.string().min(1),
6
6
  })
7
- .passthrough();
7
+ .strict();
8
8
  export const IssueSchema = z
9
9
  .object({
10
10
  id: z.string().min(1),
@@ -18,7 +18,7 @@ export const IssueSchema = z
18
18
  created_at: z.number().int(),
19
19
  updated_at: z.number().int(),
20
20
  })
21
- .passthrough();
21
+ .strict();
22
22
  export const ForumMessageSchema = z
23
23
  .object({
24
24
  topic: z.string().min(1),
@@ -26,7 +26,7 @@ export const ForumMessageSchema = z
26
26
  author: z.string().min(1),
27
27
  created_at: z.number().int(),
28
28
  })
29
- .passthrough();
29
+ .strict();
30
30
  export const PromptFrontmatterSchema = z
31
31
  .object({
32
32
  cli: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "name": "@femtomc/mu-core",
3
- "version": "26.2.38",
3
+ "version": "26.2.40",
4
+ "description": "Core primitives for mu: IDs, events, DAG helpers, and persistence interfaces.",
5
+ "keywords": [
6
+ "mu",
7
+ "agent",
8
+ "core",
9
+ "events",
10
+ "dag"
11
+ ],
4
12
  "type": "module",
5
13
  "main": "./dist/index.js",
6
14
  "types": "./dist/index.d.ts",