@contractspec/example.policy-safe-knowledge-assistant 3.1.1 → 3.3.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 +9 -9
- package/CHANGELOG.md +40 -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
|
@@ -3,12 +3,12 @@ $ 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
|
|
6
|
+
Bundled 14 modules in 21ms
|
|
7
7
|
|
|
8
8
|
docs/index.js 1.86 KB (entry point)
|
|
9
9
|
seeders/index.js 0.51 KB (entry point)
|
|
10
10
|
handlers/index.js 12.77 KB (entry point)
|
|
11
|
-
./index.js 35.
|
|
11
|
+
./index.js 35.97 KB (entry point)
|
|
12
12
|
seed/index.js 0.80 KB (entry point)
|
|
13
13
|
seed/fixtures.js 0.80 KB (entry point)
|
|
14
14
|
ui/index.js 16.74 KB (entry point)
|
|
@@ -18,15 +18,15 @@ Bundled 14 modules in 46ms
|
|
|
18
18
|
./example.js 1.19 KB (entry point)
|
|
19
19
|
handlers/policy-safe-knowledge-assistant.handlers.js 12.77 KB (entry point)
|
|
20
20
|
orchestrator/buildAnswer.js 2.43 KB (entry point)
|
|
21
|
-
./policy-safe-knowledge-assistant.feature.js 2.
|
|
21
|
+
./policy-safe-knowledge-assistant.feature.js 2.67 KB (entry point)
|
|
22
22
|
|
|
23
23
|
[contractspec-bun-build] transpile target=node root=src entries=14
|
|
24
|
-
Bundled 14 modules in
|
|
24
|
+
Bundled 14 modules in 35ms
|
|
25
25
|
|
|
26
26
|
docs/index.js 1.85 KB (entry point)
|
|
27
27
|
seeders/index.js 506 bytes (entry point)
|
|
28
28
|
handlers/index.js 12.76 KB (entry point)
|
|
29
|
-
./index.js 35.
|
|
29
|
+
./index.js 35.93 KB (entry point)
|
|
30
30
|
seed/index.js 0.79 KB (entry point)
|
|
31
31
|
seed/fixtures.js 0.79 KB (entry point)
|
|
32
32
|
ui/index.js 16.71 KB (entry point)
|
|
@@ -36,15 +36,15 @@ Bundled 14 modules in 46ms
|
|
|
36
36
|
./example.js 1.19 KB (entry point)
|
|
37
37
|
handlers/policy-safe-knowledge-assistant.handlers.js 12.76 KB (entry point)
|
|
38
38
|
orchestrator/buildAnswer.js 2.43 KB (entry point)
|
|
39
|
-
./policy-safe-knowledge-assistant.feature.js 2.
|
|
39
|
+
./policy-safe-knowledge-assistant.feature.js 2.66 KB (entry point)
|
|
40
40
|
|
|
41
41
|
[contractspec-bun-build] transpile target=browser root=src entries=14
|
|
42
|
-
Bundled 14 modules in
|
|
42
|
+
Bundled 14 modules in 12ms
|
|
43
43
|
|
|
44
44
|
docs/index.js 1.85 KB (entry point)
|
|
45
45
|
seeders/index.js 506 bytes (entry point)
|
|
46
46
|
handlers/index.js 12.76 KB (entry point)
|
|
47
|
-
./index.js 35.
|
|
47
|
+
./index.js 35.93 KB (entry point)
|
|
48
48
|
seed/index.js 0.79 KB (entry point)
|
|
49
49
|
seed/fixtures.js 0.79 KB (entry point)
|
|
50
50
|
ui/index.js 16.71 KB (entry point)
|
|
@@ -54,6 +54,6 @@ Bundled 14 modules in 26ms
|
|
|
54
54
|
./example.js 1.19 KB (entry point)
|
|
55
55
|
handlers/policy-safe-knowledge-assistant.handlers.js 12.76 KB (entry point)
|
|
56
56
|
orchestrator/buildAnswer.js 2.43 KB (entry point)
|
|
57
|
-
./policy-safe-knowledge-assistant.feature.js 2.
|
|
57
|
+
./policy-safe-knowledge-assistant.feature.js 2.66 KB (entry point)
|
|
58
58
|
|
|
59
59
|
$ contractspec-bun-build types
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @contractspec/example.policy-safe-knowledge-assistant
|
|
2
2
|
|
|
3
|
+
## 3.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 890a0da: fix: stability improvements
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [890a0da]
|
|
12
|
+
- @contractspec/example.locale-jurisdiction-gate@3.3.0
|
|
13
|
+
- @contractspec/example.versioned-knowledge-base@3.3.0
|
|
14
|
+
- @contractspec/example.kb-update-pipeline@3.3.0
|
|
15
|
+
- @contractspec/example.learning-patterns@3.3.0
|
|
16
|
+
- @contractspec/module.learning-journey@3.3.0
|
|
17
|
+
- @contractspec/lib.example-shared-ui@3.3.0
|
|
18
|
+
- @contractspec/lib.runtime-sandbox@2.3.0
|
|
19
|
+
- @contractspec/lib.contracts-spec@3.3.0
|
|
20
|
+
- @contractspec/lib.design-system@3.3.0
|
|
21
|
+
- @contractspec/lib.ui-kit-web@3.3.0
|
|
22
|
+
|
|
23
|
+
## 3.2.0
|
|
24
|
+
|
|
25
|
+
### Minor Changes
|
|
26
|
+
|
|
27
|
+
- a281fc5: fix: missing dependencies
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [a281fc5]
|
|
32
|
+
- @contractspec/example.locale-jurisdiction-gate@3.2.0
|
|
33
|
+
- @contractspec/example.versioned-knowledge-base@3.2.0
|
|
34
|
+
- @contractspec/example.kb-update-pipeline@3.2.0
|
|
35
|
+
- @contractspec/example.learning-patterns@3.2.0
|
|
36
|
+
- @contractspec/module.learning-journey@3.2.0
|
|
37
|
+
- @contractspec/lib.example-shared-ui@3.2.0
|
|
38
|
+
- @contractspec/lib.runtime-sandbox@2.2.0
|
|
39
|
+
- @contractspec/lib.contracts-spec@3.2.0
|
|
40
|
+
- @contractspec/lib.design-system@3.2.0
|
|
41
|
+
- @contractspec/lib.ui-kit-web@3.2.0
|
|
42
|
+
|
|
3
43
|
## 3.1.1
|
|
4
44
|
|
|
5
45
|
### Patch 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.3.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.3.0",
|
|
159
|
+
"@contractspec/example.learning-patterns": "3.3.0",
|
|
160
|
+
"@contractspec/example.locale-jurisdiction-gate": "3.3.0",
|
|
161
|
+
"@contractspec/example.versioned-knowledge-base": "3.3.0",
|
|
162
|
+
"@contractspec/lib.contracts-spec": "3.3.0",
|
|
163
|
+
"@contractspec/lib.design-system": "3.3.0",
|
|
164
|
+
"@contractspec/lib.example-shared-ui": "3.3.0",
|
|
165
|
+
"@contractspec/lib.runtime-sandbox": "2.3.0",
|
|
166
|
+
"@contractspec/lib.ui-kit-web": "3.3.0",
|
|
167
|
+
"@contractspec/module.learning-journey": "3.3.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.3.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.3.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
|
});
|