@contractspec/example.policy-safe-knowledge-assistant 3.2.0 → 3.4.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.
@@ -1,59 +1,60 @@
1
- $ contractspec-bun-build prebuild
2
- $ bun run prebuild && bun run build:bundle && bun run build:types
3
- $ contractspec-bun-build prebuild
4
- $ contractspec-bun-build transpile
5
- [contractspec-bun-build] transpile target=bun root=src entries=14
6
- Bundled 14 modules in 61ms
7
-
8
- docs/index.js 1.86 KB (entry point)
9
- seeders/index.js 0.51 KB (entry point)
10
- handlers/index.js 12.77 KB (entry point)
11
- ./index.js 35.63 KB (entry point)
12
- seed/index.js 0.80 KB (entry point)
13
- seed/fixtures.js 0.80 KB (entry point)
14
- ui/index.js 16.74 KB (entry point)
15
- ui/PolicySafeKnowledgeAssistantDashboard.js 16.74 KB (entry point)
16
- ui/hooks/usePolicySafeKnowledgeAssistant.js 4.92 KB (entry point)
17
- docs/policy-safe-knowledge-assistant.docblock.js 1.86 KB (entry point)
18
- ./example.js 1.19 KB (entry point)
19
- handlers/policy-safe-knowledge-assistant.handlers.js 12.77 KB (entry point)
20
- orchestrator/buildAnswer.js 2.43 KB (entry point)
21
- ./policy-safe-knowledge-assistant.feature.js 2.33 KB (entry point)
22
-
23
- [contractspec-bun-build] transpile target=node root=src entries=14
24
- Bundled 14 modules in 49ms
25
-
26
- docs/index.js 1.85 KB (entry point)
27
- seeders/index.js 506 bytes (entry point)
28
- handlers/index.js 12.76 KB (entry point)
29
- ./index.js 35.59 KB (entry point)
30
- seed/index.js 0.79 KB (entry point)
31
- seed/fixtures.js 0.79 KB (entry point)
32
- ui/index.js 16.71 KB (entry point)
33
- ui/PolicySafeKnowledgeAssistantDashboard.js 16.71 KB (entry point)
34
- ui/hooks/usePolicySafeKnowledgeAssistant.js 4.91 KB (entry point)
35
- docs/policy-safe-knowledge-assistant.docblock.js 1.85 KB (entry point)
36
- ./example.js 1.19 KB (entry point)
37
- handlers/policy-safe-knowledge-assistant.handlers.js 12.76 KB (entry point)
38
- orchestrator/buildAnswer.js 2.43 KB (entry point)
39
- ./policy-safe-knowledge-assistant.feature.js 2.32 KB (entry point)
40
-
41
- [contractspec-bun-build] transpile target=browser root=src entries=14
42
- Bundled 14 modules in 41ms
43
-
44
- docs/index.js 1.85 KB (entry point)
45
- seeders/index.js 506 bytes (entry point)
46
- handlers/index.js 12.76 KB (entry point)
47
- ./index.js 35.59 KB (entry point)
48
- seed/index.js 0.79 KB (entry point)
49
- seed/fixtures.js 0.79 KB (entry point)
50
- ui/index.js 16.71 KB (entry point)
51
- ui/PolicySafeKnowledgeAssistantDashboard.js 16.71 KB (entry point)
52
- ui/hooks/usePolicySafeKnowledgeAssistant.js 4.91 KB (entry point)
53
- docs/policy-safe-knowledge-assistant.docblock.js 1.85 KB (entry point)
54
- ./example.js 1.19 KB (entry point)
55
- handlers/policy-safe-knowledge-assistant.handlers.js 12.76 KB (entry point)
56
- orchestrator/buildAnswer.js 2.43 KB (entry point)
57
- ./policy-safe-knowledge-assistant.feature.js 2.32 KB (entry point)
58
-
59
- $ contractspec-bun-build types
1
+
2
+ $ contractspec-bun-build prebuild
3
+ $ bun run prebuild && bun run build:bundle && bun run build:types
4
+ $ contractspec-bun-build prebuild
5
+ $ contractspec-bun-build transpile
6
+ [contractspec-bun-build] transpile target=bun root=src entries=14
7
+ Bundled 14 modules in 13ms
8
+
9
+ docs/index.js 1.86 KB (entry point)
10
+ seeders/index.js 0.51 KB (entry point)
11
+ handlers/index.js 12.77 KB (entry point)
12
+ ./index.js 35.97 KB (entry point)
13
+ seed/index.js 0.80 KB (entry point)
14
+ seed/fixtures.js 0.80 KB (entry point)
15
+ ui/index.js 16.74 KB (entry point)
16
+ ui/PolicySafeKnowledgeAssistantDashboard.js 16.74 KB (entry point)
17
+ ui/hooks/usePolicySafeKnowledgeAssistant.js 4.92 KB (entry point)
18
+ docs/policy-safe-knowledge-assistant.docblock.js 1.86 KB (entry point)
19
+ ./example.js 1.19 KB (entry point)
20
+ handlers/policy-safe-knowledge-assistant.handlers.js 12.77 KB (entry point)
21
+ orchestrator/buildAnswer.js 2.43 KB (entry point)
22
+ ./policy-safe-knowledge-assistant.feature.js 2.67 KB (entry point)
23
+
24
+ [contractspec-bun-build] transpile target=node root=src entries=14
25
+ Bundled 14 modules in 10ms
26
+
27
+ docs/index.js 1.85 KB (entry point)
28
+ seeders/index.js 506 bytes (entry point)
29
+ handlers/index.js 12.76 KB (entry point)
30
+ ./index.js 35.93 KB (entry point)
31
+ seed/index.js 0.79 KB (entry point)
32
+ seed/fixtures.js 0.79 KB (entry point)
33
+ ui/index.js 16.71 KB (entry point)
34
+ ui/PolicySafeKnowledgeAssistantDashboard.js 16.71 KB (entry point)
35
+ ui/hooks/usePolicySafeKnowledgeAssistant.js 4.91 KB (entry point)
36
+ docs/policy-safe-knowledge-assistant.docblock.js 1.85 KB (entry point)
37
+ ./example.js 1.19 KB (entry point)
38
+ handlers/policy-safe-knowledge-assistant.handlers.js 12.76 KB (entry point)
39
+ orchestrator/buildAnswer.js 2.43 KB (entry point)
40
+ ./policy-safe-knowledge-assistant.feature.js 2.66 KB (entry point)
41
+
42
+ [contractspec-bun-build] transpile target=browser root=src entries=14
43
+ Bundled 14 modules in 11ms
44
+
45
+ docs/index.js 1.85 KB (entry point)
46
+ seeders/index.js 506 bytes (entry point)
47
+ handlers/index.js 12.76 KB (entry point)
48
+ ./index.js 35.93 KB (entry point)
49
+ seed/index.js 0.79 KB (entry point)
50
+ seed/fixtures.js 0.79 KB (entry point)
51
+ ui/index.js 16.71 KB (entry point)
52
+ ui/PolicySafeKnowledgeAssistantDashboard.js 16.71 KB (entry point)
53
+ ui/hooks/usePolicySafeKnowledgeAssistant.js 4.91 KB (entry point)
54
+ docs/policy-safe-knowledge-assistant.docblock.js 1.85 KB (entry point)
55
+ ./example.js 1.19 KB (entry point)
56
+ handlers/policy-safe-knowledge-assistant.handlers.js 12.76 KB (entry point)
57
+ orchestrator/buildAnswer.js 2.43 KB (entry point)
58
+ ./policy-safe-knowledge-assistant.feature.js 2.66 KB (entry point)
59
+
60
+ $ contractspec-bun-build types
@@ -1 +1,2 @@
1
- $ contractspec-bun-build prebuild
1
+
2
+ $ contractspec-bun-build prebuild
package/CHANGELOG.md CHANGED
@@ -1,5 +1,46 @@
1
1
  # @contractspec/example.policy-safe-knowledge-assistant
2
2
 
3
+ ## 3.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0ee467a: feat: improve ai and customization
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [0ee467a]
12
+ - Updated dependencies [56ee8e6]
13
+ - @contractspec/example.locale-jurisdiction-gate@3.4.0
14
+ - @contractspec/example.versioned-knowledge-base@3.4.0
15
+ - @contractspec/example.kb-update-pipeline@3.4.0
16
+ - @contractspec/example.learning-patterns@3.4.0
17
+ - @contractspec/module.learning-journey@3.4.0
18
+ - @contractspec/lib.example-shared-ui@3.4.0
19
+ - @contractspec/lib.runtime-sandbox@2.4.0
20
+ - @contractspec/lib.contracts-spec@3.4.0
21
+ - @contractspec/lib.design-system@3.4.0
22
+ - @contractspec/lib.ui-kit-web@3.4.0
23
+
24
+ ## 3.3.0
25
+
26
+ ### Minor Changes
27
+
28
+ - 890a0da: fix: stability improvements
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [890a0da]
33
+ - @contractspec/example.locale-jurisdiction-gate@3.3.0
34
+ - @contractspec/example.versioned-knowledge-base@3.3.0
35
+ - @contractspec/example.kb-update-pipeline@3.3.0
36
+ - @contractspec/example.learning-patterns@3.3.0
37
+ - @contractspec/module.learning-journey@3.3.0
38
+ - @contractspec/lib.example-shared-ui@3.3.0
39
+ - @contractspec/lib.runtime-sandbox@2.3.0
40
+ - @contractspec/lib.contracts-spec@3.3.0
41
+ - @contractspec/lib.design-system@3.3.0
42
+ - @contractspec/lib.ui-kit-web@3.3.0
43
+
3
44
  ## 3.2.0
4
45
 
5
46
  ### Minor Changes
@@ -455,7 +455,14 @@ var PolicySafeKnowledgeAssistantFeature = defineFeature({
455
455
  { key: "metering", version: "1.0.0" },
456
456
  { key: "learning-journey", version: "1.0.0" }
457
457
  ]
458
- }
458
+ },
459
+ policies: [{ key: "policy-safe.policy.gate", version: "1.0.0" }],
460
+ knowledge: [{ key: "policy-safe.knowledge.rules", version: "1.0.0" }],
461
+ jobs: [{ key: "policy-safe.job.pipeline-watch", version: "1.0.0" }],
462
+ docs: [
463
+ "docs.examples.policy-safe-knowledge-assistant.goal",
464
+ "docs.examples.policy-safe-knowledge-assistant.usage"
465
+ ]
459
466
  });
460
467
 
461
468
  // src/seed/fixtures.ts
@@ -50,7 +50,14 @@ var PolicySafeKnowledgeAssistantFeature = defineFeature({
50
50
  { key: "metering", version: "1.0.0" },
51
51
  { key: "learning-journey", version: "1.0.0" }
52
52
  ]
53
- }
53
+ },
54
+ policies: [{ key: "policy-safe.policy.gate", version: "1.0.0" }],
55
+ knowledge: [{ key: "policy-safe.knowledge.rules", version: "1.0.0" }],
56
+ jobs: [{ key: "policy-safe.job.pipeline-watch", version: "1.0.0" }],
57
+ docs: [
58
+ "docs.examples.policy-safe-knowledge-assistant.goal",
59
+ "docs.examples.policy-safe-knowledge-assistant.usage"
60
+ ]
54
61
  });
55
62
  export {
56
63
  PolicySafeKnowledgeAssistantFeature
package/dist/index.js CHANGED
@@ -456,7 +456,14 @@ var PolicySafeKnowledgeAssistantFeature = defineFeature({
456
456
  { key: "metering", version: "1.0.0" },
457
457
  { key: "learning-journey", version: "1.0.0" }
458
458
  ]
459
- }
459
+ },
460
+ policies: [{ key: "policy-safe.policy.gate", version: "1.0.0" }],
461
+ knowledge: [{ key: "policy-safe.knowledge.rules", version: "1.0.0" }],
462
+ jobs: [{ key: "policy-safe.job.pipeline-watch", version: "1.0.0" }],
463
+ docs: [
464
+ "docs.examples.policy-safe-knowledge-assistant.goal",
465
+ "docs.examples.policy-safe-knowledge-assistant.usage"
466
+ ]
460
467
  });
461
468
 
462
469
  // src/seed/fixtures.ts
@@ -455,7 +455,14 @@ var PolicySafeKnowledgeAssistantFeature = defineFeature({
455
455
  { key: "metering", version: "1.0.0" },
456
456
  { key: "learning-journey", version: "1.0.0" }
457
457
  ]
458
- }
458
+ },
459
+ policies: [{ key: "policy-safe.policy.gate", version: "1.0.0" }],
460
+ knowledge: [{ key: "policy-safe.knowledge.rules", version: "1.0.0" }],
461
+ jobs: [{ key: "policy-safe.job.pipeline-watch", version: "1.0.0" }],
462
+ docs: [
463
+ "docs.examples.policy-safe-knowledge-assistant.goal",
464
+ "docs.examples.policy-safe-knowledge-assistant.usage"
465
+ ]
459
466
  });
460
467
 
461
468
  // src/seed/fixtures.ts
@@ -50,7 +50,14 @@ var PolicySafeKnowledgeAssistantFeature = defineFeature({
50
50
  { key: "metering", version: "1.0.0" },
51
51
  { key: "learning-journey", version: "1.0.0" }
52
52
  ]
53
- }
53
+ },
54
+ policies: [{ key: "policy-safe.policy.gate", version: "1.0.0" }],
55
+ knowledge: [{ key: "policy-safe.knowledge.rules", version: "1.0.0" }],
56
+ jobs: [{ key: "policy-safe.job.pipeline-watch", version: "1.0.0" }],
57
+ docs: [
58
+ "docs.examples.policy-safe-knowledge-assistant.goal",
59
+ "docs.examples.policy-safe-knowledge-assistant.usage"
60
+ ]
54
61
  });
55
62
  export {
56
63
  PolicySafeKnowledgeAssistantFeature
@@ -51,7 +51,14 @@ var PolicySafeKnowledgeAssistantFeature = defineFeature({
51
51
  { key: "metering", version: "1.0.0" },
52
52
  { key: "learning-journey", version: "1.0.0" }
53
53
  ]
54
- }
54
+ },
55
+ policies: [{ key: "policy-safe.policy.gate", version: "1.0.0" }],
56
+ knowledge: [{ key: "policy-safe.knowledge.rules", version: "1.0.0" }],
57
+ jobs: [{ key: "policy-safe.job.pipeline-watch", version: "1.0.0" }],
58
+ docs: [
59
+ "docs.examples.policy-safe-knowledge-assistant.goal",
60
+ "docs.examples.policy-safe-knowledge-assistant.usage"
61
+ ]
55
62
  });
56
63
  export {
57
64
  PolicySafeKnowledgeAssistantFeature
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.policy-safe-knowledge-assistant",
3
- "version": "3.2.0",
3
+ "version": "3.4.0",
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.2.0",
159
- "@contractspec/example.learning-patterns": "3.2.0",
160
- "@contractspec/example.locale-jurisdiction-gate": "3.2.0",
161
- "@contractspec/example.versioned-knowledge-base": "3.2.0",
162
- "@contractspec/lib.contracts-spec": "3.2.0",
163
- "@contractspec/lib.design-system": "3.2.0",
164
- "@contractspec/lib.example-shared-ui": "3.2.0",
165
- "@contractspec/lib.runtime-sandbox": "2.2.0",
166
- "@contractspec/lib.ui-kit-web": "3.2.0",
167
- "@contractspec/module.learning-journey": "3.2.0",
158
+ "@contractspec/example.kb-update-pipeline": "3.4.0",
159
+ "@contractspec/example.learning-patterns": "3.4.0",
160
+ "@contractspec/example.locale-jurisdiction-gate": "3.4.0",
161
+ "@contractspec/example.versioned-knowledge-base": "3.4.0",
162
+ "@contractspec/lib.contracts-spec": "3.4.0",
163
+ "@contractspec/lib.design-system": "3.4.0",
164
+ "@contractspec/lib.example-shared-ui": "3.4.0",
165
+ "@contractspec/lib.runtime-sandbox": "2.4.0",
166
+ "@contractspec/lib.ui-kit-web": "3.4.0",
167
+ "@contractspec/module.learning-journey": "3.4.0",
168
168
  "react": "19.2.4",
169
169
  "react-dom": "19.2.4"
170
170
  },
171
171
  "devDependencies": {
172
- "@contractspec/tool.typescript": "3.2.0",
172
+ "@contractspec/tool.typescript": "3.4.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.2.0"
176
+ "@contractspec/tool.bun": "3.4.0"
177
177
  },
178
178
  "publishConfig": {
179
179
  "access": "public",
@@ -55,4 +55,15 @@ export const PolicySafeKnowledgeAssistantFeature = defineFeature({
55
55
  { key: 'learning-journey', version: '1.0.0' },
56
56
  ],
57
57
  },
58
+
59
+ policies: [{ key: 'policy-safe.policy.gate', version: '1.0.0' }],
60
+
61
+ knowledge: [{ key: 'policy-safe.knowledge.rules', version: '1.0.0' }],
62
+
63
+ jobs: [{ key: 'policy-safe.job.pipeline-watch', version: '1.0.0' }],
64
+
65
+ docs: [
66
+ 'docs.examples.policy-safe-knowledge-assistant.goal',
67
+ 'docs.examples.policy-safe-knowledge-assistant.usage',
68
+ ],
58
69
  });