@contractspec/example.ai-support-bot 3.4.2 → 3.5.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/CHANGELOG.md +25 -0
- package/dist/browser/index.js +3 -3
- package/dist/browser/setup.js +3 -3
- package/dist/index.js +3 -3
- package/dist/node/index.js +3 -3
- package/dist/node/setup.js +3 -3
- package/dist/setup.js +3 -3
- 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=6
|
|
6
|
-
Bundled 6 modules in
|
|
6
|
+
Bundled 6 modules in 6ms
|
|
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 27ms
|
|
|
13
13
|
./setup.js 1.44 KB (entry point)
|
|
14
14
|
|
|
15
15
|
[contractspec-bun-build] transpile target=node root=src entries=6
|
|
16
|
-
Bundled 6 modules in
|
|
16
|
+
Bundled 6 modules in 6ms
|
|
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 26ms
|
|
|
23
23
|
./setup.js 1.43 KB (entry point)
|
|
24
24
|
|
|
25
25
|
[contractspec-bun-build] transpile target=browser root=src entries=6
|
|
26
|
-
Bundled 6 modules in
|
|
26
|
+
Bundled 6 modules in 12ms
|
|
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,30 @@
|
|
|
1
1
|
# @contractspec/example.ai-support-bot
|
|
2
2
|
|
|
3
|
+
## 3.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 230bdf6: feat: ai-chat wireing
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [230bdf6]
|
|
12
|
+
- @contractspec/lib.contracts-spec@3.5.0
|
|
13
|
+
- @contractspec/lib.support-bot@3.5.0
|
|
14
|
+
- @contractspec/lib.knowledge@3.5.0
|
|
15
|
+
- @contractspec/lib.logger@3.5.0
|
|
16
|
+
|
|
17
|
+
## 3.4.3
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 5f7c617: feat: improve ai docs
|
|
22
|
+
- Updated dependencies [5f7c617]
|
|
23
|
+
- @contractspec/lib.contracts-spec@3.4.3
|
|
24
|
+
- @contractspec/lib.support-bot@3.4.3
|
|
25
|
+
- @contractspec/lib.knowledge@3.4.3
|
|
26
|
+
- @contractspec/lib.logger@3.4.3
|
|
27
|
+
|
|
3
28
|
## 3.4.2
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/dist/browser/index.js
CHANGED
|
@@ -90,9 +90,9 @@ import { TicketClassifier } from "@contractspec/lib.support-bot/tickets";
|
|
|
90
90
|
import { AutoResponder } from "@contractspec/lib.support-bot/bot";
|
|
91
91
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
92
92
|
var logger = new Logger({
|
|
93
|
-
level: LogLevel.
|
|
94
|
-
environment: "
|
|
95
|
-
enableColors:
|
|
93
|
+
level: LogLevel.INFO,
|
|
94
|
+
environment: "production",
|
|
95
|
+
enableColors: false
|
|
96
96
|
});
|
|
97
97
|
async function runAiSupportBotExample() {
|
|
98
98
|
const knowledge = {
|
package/dist/browser/setup.js
CHANGED
|
@@ -4,9 +4,9 @@ import { TicketClassifier } from "@contractspec/lib.support-bot/tickets";
|
|
|
4
4
|
import { AutoResponder } from "@contractspec/lib.support-bot/bot";
|
|
5
5
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
6
6
|
var logger = new Logger({
|
|
7
|
-
level: LogLevel.
|
|
8
|
-
environment: "
|
|
9
|
-
enableColors:
|
|
7
|
+
level: LogLevel.INFO,
|
|
8
|
+
environment: "production",
|
|
9
|
+
enableColors: false
|
|
10
10
|
});
|
|
11
11
|
async function runAiSupportBotExample() {
|
|
12
12
|
const knowledge = {
|
package/dist/index.js
CHANGED
|
@@ -91,9 +91,9 @@ import { TicketClassifier } from "@contractspec/lib.support-bot/tickets";
|
|
|
91
91
|
import { AutoResponder } from "@contractspec/lib.support-bot/bot";
|
|
92
92
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
93
93
|
var logger = new Logger({
|
|
94
|
-
level: LogLevel.
|
|
95
|
-
environment: "
|
|
96
|
-
enableColors:
|
|
94
|
+
level: LogLevel.INFO,
|
|
95
|
+
environment: "production",
|
|
96
|
+
enableColors: false
|
|
97
97
|
});
|
|
98
98
|
async function runAiSupportBotExample() {
|
|
99
99
|
const knowledge = {
|
package/dist/node/index.js
CHANGED
|
@@ -90,9 +90,9 @@ import { TicketClassifier } from "@contractspec/lib.support-bot/tickets";
|
|
|
90
90
|
import { AutoResponder } from "@contractspec/lib.support-bot/bot";
|
|
91
91
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
92
92
|
var logger = new Logger({
|
|
93
|
-
level: LogLevel.
|
|
94
|
-
environment: "
|
|
95
|
-
enableColors:
|
|
93
|
+
level: LogLevel.INFO,
|
|
94
|
+
environment: "production",
|
|
95
|
+
enableColors: false
|
|
96
96
|
});
|
|
97
97
|
async function runAiSupportBotExample() {
|
|
98
98
|
const knowledge = {
|
package/dist/node/setup.js
CHANGED
|
@@ -4,9 +4,9 @@ import { TicketClassifier } from "@contractspec/lib.support-bot/tickets";
|
|
|
4
4
|
import { AutoResponder } from "@contractspec/lib.support-bot/bot";
|
|
5
5
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
6
6
|
var logger = new Logger({
|
|
7
|
-
level: LogLevel.
|
|
8
|
-
environment: "
|
|
9
|
-
enableColors:
|
|
7
|
+
level: LogLevel.INFO,
|
|
8
|
+
environment: "production",
|
|
9
|
+
enableColors: false
|
|
10
10
|
});
|
|
11
11
|
async function runAiSupportBotExample() {
|
|
12
12
|
const knowledge = {
|
package/dist/setup.js
CHANGED
|
@@ -5,9 +5,9 @@ import { TicketClassifier } from "@contractspec/lib.support-bot/tickets";
|
|
|
5
5
|
import { AutoResponder } from "@contractspec/lib.support-bot/bot";
|
|
6
6
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
7
7
|
var logger = new Logger({
|
|
8
|
-
level: LogLevel.
|
|
9
|
-
environment: "
|
|
10
|
-
enableColors:
|
|
8
|
+
level: LogLevel.INFO,
|
|
9
|
+
environment: "production",
|
|
10
|
+
enableColors: false
|
|
11
11
|
});
|
|
12
12
|
async function runAiSupportBotExample() {
|
|
13
13
|
const knowledge = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.ai-support-bot",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.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",
|
|
@@ -71,15 +71,15 @@
|
|
|
71
71
|
"typecheck": "tsc --noEmit"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@contractspec/lib.support-bot": "3.
|
|
75
|
-
"@contractspec/lib.knowledge": "3.
|
|
76
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
77
|
-
"@contractspec/lib.logger": "3.
|
|
74
|
+
"@contractspec/lib.support-bot": "3.5.0",
|
|
75
|
+
"@contractspec/lib.knowledge": "3.5.0",
|
|
76
|
+
"@contractspec/lib.contracts-spec": "3.5.0",
|
|
77
|
+
"@contractspec/lib.logger": "3.5.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@contractspec/tool.typescript": "3.
|
|
80
|
+
"@contractspec/tool.typescript": "3.5.0",
|
|
81
81
|
"typescript": "^5.9.3",
|
|
82
|
-
"@contractspec/tool.bun": "3.
|
|
82
|
+
"@contractspec/tool.bun": "3.5.0"
|
|
83
83
|
},
|
|
84
84
|
"publishConfig": {
|
|
85
85
|
"access": "public",
|