@contractspec/example.versioned-knowledge-base 2.9.1 → 3.1.1

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 21ms
6
+ Bundled 12 modules in 31ms
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 21ms
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 29ms
22
+ Bundled 12 modules in 33ms
23
23
 
24
24
  docs/index.js 1.50 KB (entry point)
25
25
  ./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,43 @@
1
1
  # @contractspec/example.versioned-knowledge-base
2
2
 
3
+ ## 3.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [02c0cc5]
8
+ - @contractspec/lib.contracts-spec@3.1.1
9
+
10
+ ## 3.1.0
11
+
12
+ ### Minor Changes
13
+
14
+ - 28987eb: chore: upgrade dependencies
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [f2a4faf]
19
+ - Updated dependencies [28987eb]
20
+ - Updated dependencies [28987eb]
21
+ - @contractspec/lib.contracts-spec@3.1.0
22
+ - @contractspec/lib.schema@3.1.0
23
+
24
+ ## 3.0.0
25
+
26
+ ### Major Changes
27
+
28
+ - b781ce6: feat: improve ai readiness
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [7cbdb7f]
33
+ - Updated dependencies [c608804]
34
+ - Updated dependencies [e3bc858]
35
+ - Updated dependencies [b19ae0a]
36
+ - Updated dependencies [aa4a9c9]
37
+ - Updated dependencies [b781ce6]
38
+ - @contractspec/lib.contracts-spec@3.0.0
39
+ - @contractspec/lib.schema@3.0.0
40
+
3
41
  ## 2.9.1
4
42
 
5
43
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.versioned-knowledge-base",
3
- "version": "2.9.1",
3
+ "version": "3.1.1",
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": "2.10.0",
138
- "@contractspec/lib.schema": "2.9.0"
137
+ "@contractspec/lib.contracts-spec": "3.1.1",
138
+ "@contractspec/lib.schema": "3.1.0"
139
139
  },
140
140
  "devDependencies": {
141
- "@contractspec/tool.typescript": "2.9.0",
141
+ "@contractspec/tool.typescript": "3.1.0",
142
142
  "typescript": "^5.9.3",
143
- "@contractspec/tool.bun": "2.9.0"
143
+ "@contractspec/tool.bun": "3.1.0"
144
144
  },
145
145
  "publishConfig": {
146
146
  "access": "public",