@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.
- package/.turbo/turbo-build.log +60 -59
- package/.turbo/turbo-prebuild.log +2 -1
- package/CHANGELOG.md +41 -0
- package/dist/browser/index.js +8 -1
- package/dist/browser/policy-safe-knowledge-assistant.feature.js +8 -1
- package/dist/index.js +8 -1
- package/dist/node/index.js +8 -1
- package/dist/node/policy-safe-knowledge-assistant.feature.js +8 -1
- package/dist/policy-safe-knowledge-assistant.feature.js +8 -1
- package/package.json +13 -13
- package/src/policy-safe-knowledge-assistant.feature.ts +11 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,59 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
3
|
+
[0m[2m[35m$[0m [2m[1mbun run prebuild && bun run build:bundle && bun run build:types[0m
|
|
4
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
5
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build transpile[0m
|
|
6
|
+
[contractspec-bun-build] transpile target=bun root=src entries=14
|
|
7
|
+
[32mBundled 14 modules in 13ms[0m
|
|
8
|
+
|
|
9
|
+
[34mdocs/index.js[0m 1.86 KB [2m(entry point)[0m
|
|
10
|
+
[34mseeders/index.js[0m 0.51 KB [2m(entry point)[0m
|
|
11
|
+
[34mhandlers/index.js[0m 12.77 KB [2m(entry point)[0m
|
|
12
|
+
[34m./index.js[0m 35.97 KB [2m(entry point)[0m
|
|
13
|
+
[34mseed/index.js[0m 0.80 KB [2m(entry point)[0m
|
|
14
|
+
[34mseed/fixtures.js[0m 0.80 KB [2m(entry point)[0m
|
|
15
|
+
[34mui/index.js[0m 16.74 KB [2m(entry point)[0m
|
|
16
|
+
[34mui/PolicySafeKnowledgeAssistantDashboard.js[0m 16.74 KB [2m(entry point)[0m
|
|
17
|
+
[34mui/hooks/usePolicySafeKnowledgeAssistant.js[0m 4.92 KB [2m(entry point)[0m
|
|
18
|
+
[34mdocs/policy-safe-knowledge-assistant.docblock.js[0m 1.86 KB [2m(entry point)[0m
|
|
19
|
+
[34m./example.js[0m 1.19 KB [2m(entry point)[0m
|
|
20
|
+
[34mhandlers/policy-safe-knowledge-assistant.handlers.js[0m 12.77 KB [2m(entry point)[0m
|
|
21
|
+
[34morchestrator/buildAnswer.js[0m 2.43 KB [2m(entry point)[0m
|
|
22
|
+
[34m./policy-safe-knowledge-assistant.feature.js[0m 2.67 KB [2m(entry point)[0m
|
|
23
|
+
|
|
24
|
+
[contractspec-bun-build] transpile target=node root=src entries=14
|
|
25
|
+
[32mBundled 14 modules in 10ms[0m
|
|
26
|
+
|
|
27
|
+
[34mdocs/index.js[0m 1.85 KB [2m(entry point)[0m
|
|
28
|
+
[34mseeders/index.js[0m 506 bytes [2m(entry point)[0m
|
|
29
|
+
[34mhandlers/index.js[0m 12.76 KB [2m(entry point)[0m
|
|
30
|
+
[34m./index.js[0m 35.93 KB [2m(entry point)[0m
|
|
31
|
+
[34mseed/index.js[0m 0.79 KB [2m(entry point)[0m
|
|
32
|
+
[34mseed/fixtures.js[0m 0.79 KB [2m(entry point)[0m
|
|
33
|
+
[34mui/index.js[0m 16.71 KB [2m(entry point)[0m
|
|
34
|
+
[34mui/PolicySafeKnowledgeAssistantDashboard.js[0m 16.71 KB [2m(entry point)[0m
|
|
35
|
+
[34mui/hooks/usePolicySafeKnowledgeAssistant.js[0m 4.91 KB [2m(entry point)[0m
|
|
36
|
+
[34mdocs/policy-safe-knowledge-assistant.docblock.js[0m 1.85 KB [2m(entry point)[0m
|
|
37
|
+
[34m./example.js[0m 1.19 KB [2m(entry point)[0m
|
|
38
|
+
[34mhandlers/policy-safe-knowledge-assistant.handlers.js[0m 12.76 KB [2m(entry point)[0m
|
|
39
|
+
[34morchestrator/buildAnswer.js[0m 2.43 KB [2m(entry point)[0m
|
|
40
|
+
[34m./policy-safe-knowledge-assistant.feature.js[0m 2.66 KB [2m(entry point)[0m
|
|
41
|
+
|
|
42
|
+
[contractspec-bun-build] transpile target=browser root=src entries=14
|
|
43
|
+
[32mBundled 14 modules in 11ms[0m
|
|
44
|
+
|
|
45
|
+
[34mdocs/index.js[0m 1.85 KB [2m(entry point)[0m
|
|
46
|
+
[34mseeders/index.js[0m 506 bytes [2m(entry point)[0m
|
|
47
|
+
[34mhandlers/index.js[0m 12.76 KB [2m(entry point)[0m
|
|
48
|
+
[34m./index.js[0m 35.93 KB [2m(entry point)[0m
|
|
49
|
+
[34mseed/index.js[0m 0.79 KB [2m(entry point)[0m
|
|
50
|
+
[34mseed/fixtures.js[0m 0.79 KB [2m(entry point)[0m
|
|
51
|
+
[34mui/index.js[0m 16.71 KB [2m(entry point)[0m
|
|
52
|
+
[34mui/PolicySafeKnowledgeAssistantDashboard.js[0m 16.71 KB [2m(entry point)[0m
|
|
53
|
+
[34mui/hooks/usePolicySafeKnowledgeAssistant.js[0m 4.91 KB [2m(entry point)[0m
|
|
54
|
+
[34mdocs/policy-safe-knowledge-assistant.docblock.js[0m 1.85 KB [2m(entry point)[0m
|
|
55
|
+
[34m./example.js[0m 1.19 KB [2m(entry point)[0m
|
|
56
|
+
[34mhandlers/policy-safe-knowledge-assistant.handlers.js[0m 12.76 KB [2m(entry point)[0m
|
|
57
|
+
[34morchestrator/buildAnswer.js[0m 2.43 KB [2m(entry point)[0m
|
|
58
|
+
[34m./policy-safe-knowledge-assistant.feature.js[0m 2.66 KB [2m(entry point)[0m
|
|
59
|
+
|
|
60
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build types[0m
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
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
|
package/dist/browser/index.js
CHANGED
|
@@ -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
|
package/dist/node/index.js
CHANGED
|
@@ -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.
|
|
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.
|
|
159
|
-
"@contractspec/example.learning-patterns": "3.
|
|
160
|
-
"@contractspec/example.locale-jurisdiction-gate": "3.
|
|
161
|
-
"@contractspec/example.versioned-knowledge-base": "3.
|
|
162
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
163
|
-
"@contractspec/lib.design-system": "3.
|
|
164
|
-
"@contractspec/lib.example-shared-ui": "3.
|
|
165
|
-
"@contractspec/lib.runtime-sandbox": "2.
|
|
166
|
-
"@contractspec/lib.ui-kit-web": "3.
|
|
167
|
-
"@contractspec/module.learning-journey": "3.
|
|
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.
|
|
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.
|
|
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
|
});
|