@contractspec/example.ai-support-bot 2.9.1 → 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.
- package/.turbo/turbo-build.log +2 -2
- package/AGENTS.md +31 -0
- package/CHANGELOG.md +44 -0
- package/package.json +7 -7
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=5
|
|
6
|
-
Bundled 5 modules in
|
|
6
|
+
Bundled 5 modules in 19ms
|
|
7
7
|
|
|
8
8
|
docs/ai-support-bot.docblock.js 1.35 KB (entry point)
|
|
9
9
|
./index.js 3.73 KB (entry point)
|
|
@@ -21,7 +21,7 @@ Bundled 5 modules in 16ms
|
|
|
21
21
|
./setup.js 1.43 KB (entry point)
|
|
22
22
|
|
|
23
23
|
[contractspec-bun-build] transpile target=browser root=src entries=5
|
|
24
|
-
Bundled 5 modules in
|
|
24
|
+
Bundled 5 modules in 12ms
|
|
25
25
|
|
|
26
26
|
docs/ai-support-bot.docblock.js 1.34 KB (entry point)
|
|
27
27
|
./index.js 3.72 KB (entry point)
|
package/AGENTS.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# AI Agent Guide -- `@contractspec/example.ai-support-bot`
|
|
2
|
+
|
|
3
|
+
Scope: `packages/examples/ai-support-bot/*`
|
|
4
|
+
|
|
5
|
+
Demonstrates classifying and resolving a support ticket using the support-bot and knowledge libs.
|
|
6
|
+
|
|
7
|
+
## Quick Context
|
|
8
|
+
|
|
9
|
+
- **Layer**: example
|
|
10
|
+
- **Related Packages**: `lib.support-bot`, `lib.knowledge`, `lib.contracts-spec`, `lib.logger`
|
|
11
|
+
|
|
12
|
+
## What This Demonstrates
|
|
13
|
+
|
|
14
|
+
- Ticket classification pipeline with AI-driven resolution
|
|
15
|
+
- Integration of support-bot lib with knowledge base
|
|
16
|
+
- DocBlock documentation for in-app help
|
|
17
|
+
- Setup and example entry points for quick cloning
|
|
18
|
+
|
|
19
|
+
## Public Exports
|
|
20
|
+
|
|
21
|
+
- `.` -- root barrel
|
|
22
|
+
- `./docs` -- DocBlock documentation
|
|
23
|
+
- `./example` -- runnable example entry point
|
|
24
|
+
- `./setup` -- environment setup helper
|
|
25
|
+
|
|
26
|
+
## Local Commands
|
|
27
|
+
|
|
28
|
+
- Build: `bun run build`
|
|
29
|
+
- Dev: `bun run dev`
|
|
30
|
+
- Test: `bun test`
|
|
31
|
+
- Typecheck: `bun run typecheck`
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @contractspec/example.ai-support-bot
|
|
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.knowledge@3.1.1
|
|
10
|
+
- @contractspec/lib.support-bot@3.1.1
|
|
11
|
+
|
|
12
|
+
## 3.1.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- 28987eb: chore: upgrade dependencies
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [f2a4faf]
|
|
21
|
+
- Updated dependencies [28987eb]
|
|
22
|
+
- Updated dependencies [28987eb]
|
|
23
|
+
- @contractspec/lib.contracts-spec@3.1.0
|
|
24
|
+
- @contractspec/lib.support-bot@3.1.0
|
|
25
|
+
- @contractspec/lib.knowledge@3.1.0
|
|
26
|
+
- @contractspec/lib.logger@3.1.0
|
|
27
|
+
|
|
28
|
+
## 3.0.0
|
|
29
|
+
|
|
30
|
+
### Major Changes
|
|
31
|
+
|
|
32
|
+
- b781ce6: feat: improve ai readiness
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Updated dependencies [7cbdb7f]
|
|
37
|
+
- Updated dependencies [c608804]
|
|
38
|
+
- Updated dependencies [e3bc858]
|
|
39
|
+
- Updated dependencies [b19ae0a]
|
|
40
|
+
- Updated dependencies [aa4a9c9]
|
|
41
|
+
- Updated dependencies [b781ce6]
|
|
42
|
+
- @contractspec/lib.contracts-spec@3.0.0
|
|
43
|
+
- @contractspec/lib.support-bot@3.0.0
|
|
44
|
+
- @contractspec/lib.knowledge@3.0.0
|
|
45
|
+
- @contractspec/lib.logger@3.0.0
|
|
46
|
+
|
|
3
47
|
## 2.9.1
|
|
4
48
|
|
|
5
49
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.ai-support-bot",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "AI support bot example: classify and resolve a support ticket using @contractspec/lib.support-bot.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"typecheck": "tsc --noEmit"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@contractspec/lib.support-bot": "
|
|
68
|
-
"@contractspec/lib.knowledge": "
|
|
69
|
-
"@contractspec/lib.contracts-spec": "
|
|
70
|
-
"@contractspec/lib.logger": "
|
|
67
|
+
"@contractspec/lib.support-bot": "3.1.1",
|
|
68
|
+
"@contractspec/lib.knowledge": "3.1.1",
|
|
69
|
+
"@contractspec/lib.contracts-spec": "3.1.1",
|
|
70
|
+
"@contractspec/lib.logger": "3.1.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@contractspec/tool.typescript": "
|
|
73
|
+
"@contractspec/tool.typescript": "3.1.0",
|
|
74
74
|
"typescript": "^5.9.3",
|
|
75
|
-
"@contractspec/tool.bun": "
|
|
75
|
+
"@contractspec/tool.bun": "3.1.0"
|
|
76
76
|
},
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public",
|