@contractspec/example.ai-support-bot 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.
@@ -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 29ms
6
+ Bundled 5 modules in 10ms
7
7
 
8
8
  docs/ai-support-bot.docblock.js 1.35 KB (entry point)
9
9
  ./index.js 3.73 KB (entry point)
@@ -12,7 +12,7 @@ Bundled 5 modules in 29ms
12
12
  ./setup.js 1.44 KB (entry point)
13
13
 
14
14
  [contractspec-bun-build] transpile target=node root=src entries=5
15
- Bundled 5 modules in 11ms
15
+ Bundled 5 modules in 28ms
16
16
 
17
17
  docs/ai-support-bot.docblock.js 1.34 KB (entry point)
18
18
  ./index.js 3.72 KB (entry point)
@@ -21,7 +21,7 @@ Bundled 5 modules in 11ms
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 6ms
24
+ Bundled 5 modules in 32ms
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,44 @@
1
1
  # @contractspec/example.ai-support-bot
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.support-bot@3.2.0
14
+ - @contractspec/lib.knowledge@3.2.0
15
+ - @contractspec/lib.logger@3.2.0
16
+
17
+ ## 3.1.1
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [02c0cc5]
22
+ - @contractspec/lib.contracts-spec@3.1.1
23
+ - @contractspec/lib.knowledge@3.1.1
24
+ - @contractspec/lib.support-bot@3.1.1
25
+
26
+ ## 3.1.0
27
+
28
+ ### Minor Changes
29
+
30
+ - 28987eb: chore: upgrade dependencies
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [f2a4faf]
35
+ - Updated dependencies [28987eb]
36
+ - Updated dependencies [28987eb]
37
+ - @contractspec/lib.contracts-spec@3.1.0
38
+ - @contractspec/lib.support-bot@3.1.0
39
+ - @contractspec/lib.knowledge@3.1.0
40
+ - @contractspec/lib.logger@3.1.0
41
+
3
42
  ## 3.0.0
4
43
 
5
44
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.ai-support-bot",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
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": "3.0.0",
68
- "@contractspec/lib.knowledge": "3.0.0",
69
- "@contractspec/lib.contracts-spec": "3.0.0",
70
- "@contractspec/lib.logger": "3.0.0"
67
+ "@contractspec/lib.support-bot": "3.2.0",
68
+ "@contractspec/lib.knowledge": "3.2.0",
69
+ "@contractspec/lib.contracts-spec": "3.2.0",
70
+ "@contractspec/lib.logger": "3.2.0"
71
71
  },
72
72
  "devDependencies": {
73
- "@contractspec/tool.typescript": "3.0.0",
73
+ "@contractspec/tool.typescript": "3.2.0",
74
74
  "typescript": "^5.9.3",
75
- "@contractspec/tool.bun": "3.0.0"
75
+ "@contractspec/tool.bun": "3.2.0"
76
76
  },
77
77
  "publishConfig": {
78
78
  "access": "public",