@contractspec/example.learning-patterns 3.0.0 → 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=9
6
- Bundled 9 modules in 35ms
6
+ Bundled 9 modules in 27ms
7
7
 
8
8
  docs/index.js 1.15 KB (entry point)
9
9
  ./index.js 5.82 KB (entry point)
@@ -16,7 +16,7 @@ Bundled 9 modules in 35ms
16
16
  ./events.js 496 bytes (entry point)
17
17
 
18
18
  [contractspec-bun-build] transpile target=node root=src entries=9
19
- Bundled 9 modules in 24ms
19
+ Bundled 9 modules in 17ms
20
20
 
21
21
  docs/index.js 1.14 KB (entry point)
22
22
  ./index.js 5.81 KB (entry point)
@@ -29,7 +29,7 @@ Bundled 9 modules in 24ms
29
29
  ./events.js 488 bytes (entry point)
30
30
 
31
31
  [contractspec-bun-build] transpile target=browser root=src entries=9
32
- Bundled 9 modules in 14ms
32
+ Bundled 9 modules in 25ms
33
33
 
34
34
  docs/index.js 1.14 KB (entry point)
35
35
  ./index.js 5.81 KB (entry point)
package/AGENTS.md ADDED
@@ -0,0 +1,30 @@
1
+ # AI Agent Guide -- `@contractspec/example.learning-patterns`
2
+
3
+ Scope: `packages/examples/learning-patterns/*`
4
+
5
+ Drills, ambient coach, and quest learning patterns powered by the Learning Journey module (event-driven, deterministic).
6
+
7
+ ## Quick Context
8
+
9
+ - **Layer**: example
10
+ - **Related Packages**: `lib.contracts-spec`, `module.learning-journey`
11
+
12
+ ## What This Demonstrates
13
+
14
+ - Three distinct learning track patterns: drills, ambient-coach, quests
15
+ - Event-driven track progression
16
+ - Deterministic state transitions via the Learning Journey module
17
+
18
+ ## Public Exports
19
+
20
+ - `.` -- root barrel
21
+ - `./tracks` -- ambient-coach, drills, quests
22
+ - `./events` -- track lifecycle events
23
+ - `./docs`, `./example`
24
+
25
+ ## Local Commands
26
+
27
+ - Build: `bun run build`
28
+ - Dev: `bun run dev`
29
+ - Test: `bun test`
30
+ - Typecheck: `bun run typecheck`
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @contractspec/example.learning-patterns
2
2
 
3
+ ## 3.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [02c0cc5]
8
+ - @contractspec/lib.contracts-spec@3.1.1
9
+ - @contractspec/module.learning-journey@3.1.1
10
+
11
+ ## 3.1.0
12
+
13
+ ### Minor Changes
14
+
15
+ - 28987eb: chore: upgrade dependencies
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [f2a4faf]
20
+ - Updated dependencies [28987eb]
21
+ - Updated dependencies [28987eb]
22
+ - @contractspec/lib.contracts-spec@3.1.0
23
+ - @contractspec/module.learning-journey@3.1.0
24
+
3
25
  ## 3.0.0
4
26
 
5
27
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.learning-patterns",
3
- "version": "3.0.0",
3
+ "version": "3.1.1",
4
4
  "description": "Example: drills + ambient coach + quests learning patterns, powered by Learning Journey (event-driven, deterministic).",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -99,13 +99,13 @@
99
99
  "typecheck": "tsc --noEmit"
100
100
  },
101
101
  "dependencies": {
102
- "@contractspec/lib.contracts-spec": "3.0.0",
103
- "@contractspec/module.learning-journey": "3.0.0"
102
+ "@contractspec/lib.contracts-spec": "3.1.1",
103
+ "@contractspec/module.learning-journey": "3.1.1"
104
104
  },
105
105
  "devDependencies": {
106
- "@contractspec/tool.typescript": "3.0.0",
106
+ "@contractspec/tool.typescript": "3.1.0",
107
107
  "typescript": "^5.9.3",
108
- "@contractspec/tool.bun": "3.0.0"
108
+ "@contractspec/tool.bun": "3.1.0"
109
109
  },
110
110
  "publishConfig": {
111
111
  "access": "public",