@contractspec/example.versioned-knowledge-base 3.0.0 → 3.2.0

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.
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
5
  [contractspec-bun-build] transpile target=bun root=src entries=12
6
- Bundled 12 modules in 29ms
6
+ Bundled 12 modules in 10ms
7
7
 
8
8
  docs/index.js 1.51 KB (entry point)
9
9
  ./index.js 20.13 KB (entry point)
@@ -19,7 +19,7 @@ Bundled 12 modules in 29ms
19
19
  handlers/memory.handlers.js 3.56 KB (entry point)
20
20
 
21
21
  [contractspec-bun-build] transpile target=node root=src entries=12
22
- Bundled 12 modules in 22ms
22
+ Bundled 12 modules in 10ms
23
23
 
24
24
  docs/index.js 1.50 KB (entry point)
25
25
  ./index.js 20.11 KB (entry point)
@@ -35,7 +35,7 @@ Bundled 12 modules in 22ms
35
35
  handlers/memory.handlers.js 3.55 KB (entry point)
36
36
 
37
37
  [contractspec-bun-build] transpile target=browser root=src entries=12
38
- Bundled 12 modules in 19ms
38
+ Bundled 12 modules in 18ms
39
39
 
40
40
  docs/index.js 1.50 KB (entry point)
41
41
  ./index.js 20.11 KB (entry point)
package/AGENTS.md ADDED
@@ -0,0 +1,35 @@
1
+ # AI Agent Guide -- `@contractspec/example.versioned-knowledge-base`
2
+
3
+ Scope: `packages/examples/versioned-knowledge-base/*`
4
+
5
+ Curated, versioned knowledge base with immutable sources, rule versions, and published snapshots.
6
+
7
+ ## Quick Context
8
+
9
+ - **Layer**: example
10
+ - **Related Packages**: `lib.contracts-spec`, `lib.schema`
11
+
12
+ ## What This Demonstrates
13
+
14
+ - Immutable source and versioned rule management
15
+ - Snapshot publishing pattern
16
+ - Entity models for KB domain
17
+ - Memory-based handler implementation
18
+ - Feature definition and event-driven architecture
19
+
20
+ ## Public Exports
21
+
22
+ - `.` -- root barrel
23
+ - `./entities` -- models
24
+ - `./operations` -- KB operations
25
+ - `./handlers` -- memory handlers
26
+ - `./events` -- KB lifecycle events
27
+ - `./versioned-knowledge-base.feature` -- feature definition
28
+ - `./docs`, `./example`
29
+
30
+ ## Local Commands
31
+
32
+ - Build: `bun run build`
33
+ - Dev: `bun run dev`
34
+ - Test: `bun test`
35
+ - Typecheck: `bun run typecheck`
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @contractspec/example.versioned-knowledge-base
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a281fc5: fix: missing dependencies
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [a281fc5]
12
+ - @contractspec/lib.contracts-spec@3.2.0
13
+ - @contractspec/lib.schema@3.2.0
14
+
15
+ ## 3.1.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [02c0cc5]
20
+ - @contractspec/lib.contracts-spec@3.1.1
21
+
22
+ ## 3.1.0
23
+
24
+ ### Minor Changes
25
+
26
+ - 28987eb: chore: upgrade dependencies
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies [f2a4faf]
31
+ - Updated dependencies [28987eb]
32
+ - Updated dependencies [28987eb]
33
+ - @contractspec/lib.contracts-spec@3.1.0
34
+ - @contractspec/lib.schema@3.1.0
35
+
3
36
  ## 3.0.0
4
37
 
5
38
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.versioned-knowledge-base",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "description": "Example: curated, versioned knowledge base with immutable sources, rule versions, and published snapshots.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -134,13 +134,13 @@
134
134
  "typecheck": "tsc --noEmit"
135
135
  },
136
136
  "dependencies": {
137
- "@contractspec/lib.contracts-spec": "3.0.0",
138
- "@contractspec/lib.schema": "3.0.0"
137
+ "@contractspec/lib.contracts-spec": "3.2.0",
138
+ "@contractspec/lib.schema": "3.2.0"
139
139
  },
140
140
  "devDependencies": {
141
- "@contractspec/tool.typescript": "3.0.0",
141
+ "@contractspec/tool.typescript": "3.2.0",
142
142
  "typescript": "^5.9.3",
143
- "@contractspec/tool.bun": "3.0.0"
143
+ "@contractspec/tool.bun": "3.2.0"
144
144
  },
145
145
  "publishConfig": {
146
146
  "access": "public",