@contractspec/example.ai-support-bot 3.7.7 → 3.7.10

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=6 noBundle=false
6
- Bundled 6 modules in 35ms
6
+ Bundled 6 modules in 13ms
7
7
 
8
8
  ./ai-support-bot.feature.js 0.66 KB (entry point)
9
9
  ./index.js 4.38 KB (entry point)
@@ -13,7 +13,7 @@ Bundled 6 modules in 35ms
13
13
  ./setup.js 1.44 KB (entry point)
14
14
 
15
15
  [contractspec-bun-build] transpile target=node root=src entries=6 noBundle=false
16
- Bundled 6 modules in 7ms
16
+ Bundled 6 modules in 8ms
17
17
 
18
18
  ./ai-support-bot.feature.js 0.66 KB (entry point)
19
19
  ./index.js 4.36 KB (entry point)
@@ -23,7 +23,7 @@ Bundled 6 modules in 7ms
23
23
  ./setup.js 1.43 KB (entry point)
24
24
 
25
25
  [contractspec-bun-build] transpile target=browser root=src entries=6 noBundle=false
26
- Bundled 6 modules in 22ms
26
+ Bundled 6 modules in 18ms
27
27
 
28
28
  ./ai-support-bot.feature.js 0.66 KB (entry point)
29
29
  ./index.js 4.36 KB (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @contractspec/example.ai-support-bot
2
2
 
3
+ ## 3.7.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 1a44cb6: feat: improve examples to increase coverage of Contracts type
8
+ - Updated dependencies [1a44cb6]
9
+ - @contractspec/lib.contracts-spec@4.1.2
10
+ - @contractspec/lib.support-bot@3.7.10
11
+ - @contractspec/lib.knowledge@3.7.10
12
+ - @contractspec/lib.logger@3.7.8
13
+
14
+ ## 3.7.9
15
+
16
+ ### Patch Changes
17
+
18
+ - fix: release
19
+ - Updated dependencies
20
+ - @contractspec/lib.contracts-spec@4.1.1
21
+ - @contractspec/lib.support-bot@3.7.9
22
+ - @contractspec/lib.knowledge@3.7.9
23
+ - @contractspec/lib.logger@3.7.7
24
+
3
25
  ## 3.7.6
4
26
 
5
27
  ### Patch Changes
@@ -449,6 +471,7 @@
449
471
  - 7f3203a: fix: make workspace test runs resilient when packages have no tests
450
472
 
451
473
  Updates package test scripts to pass cleanly when no matching test files exist:
474
+
452
475
  - Uses `bun test --pass-with-no-tests` in Bun-based packages that currently ship without test files.
453
476
  - Uses `jest --passWithNoTests` for the UI kit web package.
454
477
  - Adds `.vscode-test.mjs` for `vscode-contractspec` so VS Code extension test runs have an explicit config and stop failing on missing default configuration.
@@ -839,14 +862,17 @@
839
862
  feat: Contract layers support (features, examples, app-configs)
840
863
 
841
864
  ### New CLI Commands
865
+
842
866
  - `contractspec list layers` - List all contract layers with filtering
843
867
 
844
868
  ### Enhanced Commands
869
+
845
870
  - `contractspec ci` - New `layers` check category validates features/examples/config
846
871
  - `contractspec doctor` - New `layers` health checks
847
872
  - `contractspec integrity` - Now shows layer statistics
848
873
 
849
874
  ### New APIs
875
+
850
876
  - `discoverLayers()` - Scan workspace for all layer files
851
877
  - `scanExampleSource()` - Parse ExampleSpec from source code
852
878
  - `isExampleFile()` - Check if file is an example spec
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.ai-support-bot",
3
- "version": "3.7.7",
3
+ "version": "3.7.10",
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.7.7",
68
- "@contractspec/lib.knowledge": "3.7.7",
69
- "@contractspec/lib.contracts-spec": "4.0.0",
70
- "@contractspec/lib.logger": "3.7.6"
67
+ "@contractspec/lib.support-bot": "3.7.10",
68
+ "@contractspec/lib.knowledge": "3.7.10",
69
+ "@contractspec/lib.contracts-spec": "4.1.2",
70
+ "@contractspec/lib.logger": "3.7.8"
71
71
  },
72
72
  "devDependencies": {
73
- "@contractspec/tool.typescript": "3.7.6",
73
+ "@contractspec/tool.typescript": "3.7.8",
74
74
  "typescript": "^5.9.3",
75
- "@contractspec/tool.bun": "3.7.6"
75
+ "@contractspec/tool.bun": "3.7.8"
76
76
  },
77
77
  "publishConfig": {
78
78
  "access": "public",