@contractspec/example.kb-update-pipeline 3.0.0 → 3.2.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 +3 -3
- package/AGENTS.md +38 -0
- package/CHANGELOG.md +33 -0
- package/package.json +5 -5
package/.turbo/turbo-build.log
CHANGED
|
@@ -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
|
|
6
|
+
Bundled 14 modules in 35ms
|
|
7
7
|
|
|
8
8
|
docs/index.js 1.49 KB (entry point)
|
|
9
9
|
./index.js 20.56 KB (entry point)
|
|
@@ -21,7 +21,7 @@ Bundled 14 modules in 31ms
|
|
|
21
21
|
handlers/memory.handlers.js 3.62 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 36ms
|
|
25
25
|
|
|
26
26
|
docs/index.js 1.48 KB (entry point)
|
|
27
27
|
./index.js 20.55 KB (entry point)
|
|
@@ -39,7 +39,7 @@ Bundled 14 modules in 29ms
|
|
|
39
39
|
handlers/memory.handlers.js 3.61 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 37ms
|
|
43
43
|
|
|
44
44
|
docs/index.js 1.48 KB (entry point)
|
|
45
45
|
./index.js 20.55 KB (entry point)
|
package/AGENTS.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# AI Agent Guide -- `@contractspec/example.kb-update-pipeline`
|
|
2
|
+
|
|
3
|
+
Scope: `packages/examples/kb-update-pipeline/*`
|
|
4
|
+
|
|
5
|
+
Demonstrates a knowledge base update automation pipeline with human-in-the-loop review and auditability.
|
|
6
|
+
|
|
7
|
+
## Quick Context
|
|
8
|
+
|
|
9
|
+
- **Layer**: example
|
|
10
|
+
- **Related Packages**: `lib.contracts-spec`, `lib.schema`
|
|
11
|
+
|
|
12
|
+
## What This Demonstrates
|
|
13
|
+
|
|
14
|
+
- HITL (human-in-the-loop) review pipeline pattern
|
|
15
|
+
- Entity models for KB articles and update proposals
|
|
16
|
+
- Event-driven pipeline with typed operations
|
|
17
|
+
- Feature definition with presentations and test-specs
|
|
18
|
+
- In-memory handlers for demo scenarios
|
|
19
|
+
|
|
20
|
+
## Public Exports
|
|
21
|
+
|
|
22
|
+
- `.` -- root barrel
|
|
23
|
+
- `./kb-update-pipeline.feature` -- feature definition
|
|
24
|
+
- `./entities` -- KB entity models
|
|
25
|
+
- `./events` -- pipeline event definitions
|
|
26
|
+
- `./operations` -- pipeline operations
|
|
27
|
+
- `./presentations` -- presentation definitions
|
|
28
|
+
- `./handlers` -- in-memory handlers
|
|
29
|
+
- `./tests/operations.test-spec` -- operation test specifications
|
|
30
|
+
- `./docs` -- DocBlock documentation
|
|
31
|
+
- `./example` -- runnable example entry point
|
|
32
|
+
|
|
33
|
+
## Local Commands
|
|
34
|
+
|
|
35
|
+
- Build: `bun run build`
|
|
36
|
+
- Dev: `bun run dev`
|
|
37
|
+
- Test: `bun test`
|
|
38
|
+
- Typecheck: `bun run typecheck`
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @contractspec/example.kb-update-pipeline
|
|
2
2
|
|
|
3
|
+
## 3.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a281fc5: fix: missing dependencies
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [a281fc5]
|
|
12
|
+
- @contractspec/lib.contracts-spec@3.2.0
|
|
13
|
+
- @contractspec/lib.schema@3.2.0
|
|
14
|
+
|
|
15
|
+
## 3.1.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [02c0cc5]
|
|
20
|
+
- @contractspec/lib.contracts-spec@3.1.1
|
|
21
|
+
|
|
22
|
+
## 3.1.0
|
|
23
|
+
|
|
24
|
+
### Minor Changes
|
|
25
|
+
|
|
26
|
+
- 28987eb: chore: upgrade dependencies
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [f2a4faf]
|
|
31
|
+
- Updated dependencies [28987eb]
|
|
32
|
+
- Updated dependencies [28987eb]
|
|
33
|
+
- @contractspec/lib.contracts-spec@3.1.0
|
|
34
|
+
- @contractspec/lib.schema@3.1.0
|
|
35
|
+
|
|
3
36
|
## 3.0.0
|
|
4
37
|
|
|
5
38
|
### Major Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.kb-update-pipeline",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Example: KB update automation pipeline with HITL review and auditability.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -148,13 +148,13 @@
|
|
|
148
148
|
"typecheck": "tsc --noEmit"
|
|
149
149
|
},
|
|
150
150
|
"dependencies": {
|
|
151
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
152
|
-
"@contractspec/lib.schema": "3.
|
|
151
|
+
"@contractspec/lib.contracts-spec": "3.2.0",
|
|
152
|
+
"@contractspec/lib.schema": "3.2.0"
|
|
153
153
|
},
|
|
154
154
|
"devDependencies": {
|
|
155
|
-
"@contractspec/tool.typescript": "3.
|
|
155
|
+
"@contractspec/tool.typescript": "3.2.0",
|
|
156
156
|
"typescript": "^5.9.3",
|
|
157
|
-
"@contractspec/tool.bun": "3.
|
|
157
|
+
"@contractspec/tool.bun": "3.2.0"
|
|
158
158
|
},
|
|
159
159
|
"publishConfig": {
|
|
160
160
|
"access": "public",
|