@contractspec/example.policy-safe-knowledge-assistant 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=14
6
- Bundled 14 modules in 37ms
6
+ Bundled 14 modules in 46ms
7
7
 
8
8
  docs/index.js 1.86 KB (entry point)
9
9
  seeders/index.js 0.51 KB (entry point)
@@ -21,7 +21,7 @@ Bundled 14 modules in 37ms
21
21
  ./policy-safe-knowledge-assistant.feature.js 2.33 KB (entry point)
22
22
 
23
23
  [contractspec-bun-build] transpile target=node root=src entries=14
24
- Bundled 14 modules in 35ms
24
+ Bundled 14 modules in 46ms
25
25
 
26
26
  docs/index.js 1.85 KB (entry point)
27
27
  seeders/index.js 506 bytes (entry point)
@@ -39,7 +39,7 @@ Bundled 14 modules in 35ms
39
39
  ./policy-safe-knowledge-assistant.feature.js 2.32 KB (entry point)
40
40
 
41
41
  [contractspec-bun-build] transpile target=browser root=src entries=14
42
- Bundled 14 modules in 39ms
42
+ Bundled 14 modules in 26ms
43
43
 
44
44
  docs/index.js 1.85 KB (entry point)
45
45
  seeders/index.js 506 bytes (entry point)
package/AGENTS.md ADDED
@@ -0,0 +1,35 @@
1
+ # AI Agent Guide -- `@contractspec/example.policy-safe-knowledge-assistant`
2
+
3
+ Scope: `packages/examples/policy-safe-knowledge-assistant/*`
4
+
5
+ All-in-one template: policy-safe knowledge assistant with locale/jurisdiction gating, versioned KB snapshots, HITL update pipeline, and learning hub.
6
+
7
+ ## Quick Context
8
+
9
+ - **Layer**: example
10
+ - **Related Packages**: `example.kb-update-pipeline`, `example.learning-patterns`, `example.locale-jurisdiction-gate`, `example.versioned-knowledge-base`, `lib.contracts-spec`, `lib.design-system`, `lib.example-shared-ui`, `lib.runtime-sandbox`, `lib.ui-kit-web`, `module.learning-journey`
11
+
12
+ ## What This Demonstrates
13
+
14
+ - Composition of multiple example packages into a full-stack assistant
15
+ - Orchestrator pattern (`buildAnswer`) for policy-gated responses
16
+ - React dashboard with hooks and UI components
17
+ - Seed data and fixture patterns
18
+ - Feature definition aggregating sub-features
19
+
20
+ ## Public Exports
21
+
22
+ - `.` -- root barrel
23
+ - `./orchestrator/buildAnswer` -- answer orchestration
24
+ - `./handlers` -- assistant handlers
25
+ - `./seed`, `./seeders` -- fixtures and seed data
26
+ - `./ui` -- PolicySafeKnowledgeAssistantDashboard, hooks
27
+ - `./policy-safe-knowledge-assistant.feature`
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,41 @@
1
1
  # @contractspec/example.policy-safe-knowledge-assistant
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/lib.design-system@3.1.1
10
+ - @contractspec/example.kb-update-pipeline@3.1.1
11
+ - @contractspec/example.learning-patterns@3.1.1
12
+ - @contractspec/example.locale-jurisdiction-gate@3.1.1
13
+ - @contractspec/example.versioned-knowledge-base@3.1.1
14
+ - @contractspec/lib.example-shared-ui@3.1.1
15
+ - @contractspec/module.learning-journey@3.1.1
16
+
17
+ ## 3.1.0
18
+
19
+ ### Minor Changes
20
+
21
+ - 28987eb: chore: upgrade dependencies
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [f2a4faf]
26
+ - Updated dependencies [28987eb]
27
+ - Updated dependencies [28987eb]
28
+ - @contractspec/lib.contracts-spec@3.1.0
29
+ - @contractspec/example.locale-jurisdiction-gate@3.1.0
30
+ - @contractspec/example.versioned-knowledge-base@3.1.0
31
+ - @contractspec/example.kb-update-pipeline@3.1.0
32
+ - @contractspec/example.learning-patterns@3.1.0
33
+ - @contractspec/module.learning-journey@3.1.0
34
+ - @contractspec/lib.example-shared-ui@3.1.0
35
+ - @contractspec/lib.runtime-sandbox@2.1.0
36
+ - @contractspec/lib.design-system@3.1.0
37
+ - @contractspec/lib.ui-kit-web@3.1.0
38
+
3
39
  ## 3.0.0
4
40
 
5
41
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.policy-safe-knowledge-assistant",
3
- "version": "3.0.0",
3
+ "version": "3.1.1",
4
4
  "description": "All-in-one template example: policy-safe knowledge assistant with locale/jurisdiction gating, versioned KB snapshots, HITL update pipeline, and learning hub.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -155,25 +155,25 @@
155
155
  "typecheck": "tsc --noEmit"
156
156
  },
157
157
  "dependencies": {
158
- "@contractspec/example.kb-update-pipeline": "3.0.0",
159
- "@contractspec/example.learning-patterns": "3.0.0",
160
- "@contractspec/example.locale-jurisdiction-gate": "3.0.0",
161
- "@contractspec/example.versioned-knowledge-base": "3.0.0",
162
- "@contractspec/lib.contracts-spec": "3.0.0",
163
- "@contractspec/lib.design-system": "3.0.0",
164
- "@contractspec/lib.example-shared-ui": "3.0.0",
165
- "@contractspec/lib.runtime-sandbox": "2.0.0",
166
- "@contractspec/lib.ui-kit-web": "3.0.0",
167
- "@contractspec/module.learning-journey": "3.0.0",
158
+ "@contractspec/example.kb-update-pipeline": "3.1.1",
159
+ "@contractspec/example.learning-patterns": "3.1.1",
160
+ "@contractspec/example.locale-jurisdiction-gate": "3.1.1",
161
+ "@contractspec/example.versioned-knowledge-base": "3.1.1",
162
+ "@contractspec/lib.contracts-spec": "3.1.1",
163
+ "@contractspec/lib.design-system": "3.1.1",
164
+ "@contractspec/lib.example-shared-ui": "3.1.1",
165
+ "@contractspec/lib.runtime-sandbox": "2.1.0",
166
+ "@contractspec/lib.ui-kit-web": "3.1.0",
167
+ "@contractspec/module.learning-journey": "3.1.1",
168
168
  "react": "19.2.4",
169
169
  "react-dom": "19.2.4"
170
170
  },
171
171
  "devDependencies": {
172
- "@contractspec/tool.typescript": "3.0.0",
172
+ "@contractspec/tool.typescript": "3.1.0",
173
173
  "typescript": "^5.9.3",
174
174
  "@types/react": "^19.2.14",
175
175
  "@types/react-dom": "^19.2.2",
176
- "@contractspec/tool.bun": "3.0.0"
176
+ "@contractspec/tool.bun": "3.1.0"
177
177
  },
178
178
  "publishConfig": {
179
179
  "access": "public",