@contractspec/example.ai-support-bot 3.2.0 → 3.4.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 +36 -32
- package/.turbo/turbo-prebuild.log +2 -1
- package/CHANGELOG.md +29 -0
- package/dist/ai-support-bot.feature.d.ts +1 -0
- package/dist/ai-support-bot.feature.js +20 -0
- package/dist/browser/ai-support-bot.feature.js +19 -0
- package/dist/browser/index.js +19 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +19 -1
- package/dist/node/ai-support-bot.feature.js +19 -0
- package/dist/node/index.js +19 -1
- package/package.json +21 -7
- package/src/ai-support-bot.feature.ts +19 -0
- package/src/index.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,32 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
./
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
[
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
./
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
[
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
./
|
|
30
|
-
./
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
3
|
+
[0m[2m[35m$[0m [2m[1mbun run prebuild && bun run build:bundle && bun run build:types[0m
|
|
4
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
5
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build transpile[0m
|
|
6
|
+
[contractspec-bun-build] transpile target=bun root=src entries=6
|
|
7
|
+
[32mBundled 6 modules in 8ms[0m
|
|
8
|
+
|
|
9
|
+
[34m./ai-support-bot.feature.js[0m 0.66 KB [2m(entry point)[0m
|
|
10
|
+
[34m./index.js[0m 4.38 KB [2m(entry point)[0m
|
|
11
|
+
[34mdocs/index.js[0m 1.35 KB [2m(entry point)[0m
|
|
12
|
+
[34mdocs/ai-support-bot.docblock.js[0m 1.35 KB [2m(entry point)[0m
|
|
13
|
+
[34m./example.js[0m 0.97 KB [2m(entry point)[0m
|
|
14
|
+
[34m./setup.js[0m 1.44 KB [2m(entry point)[0m
|
|
15
|
+
|
|
16
|
+
[contractspec-bun-build] transpile target=node root=src entries=6
|
|
17
|
+
[32mBundled 6 modules in 20ms[0m
|
|
18
|
+
|
|
19
|
+
[34m./ai-support-bot.feature.js[0m 0.66 KB [2m(entry point)[0m
|
|
20
|
+
[34m./index.js[0m 4.36 KB [2m(entry point)[0m
|
|
21
|
+
[34mdocs/index.js[0m 1.34 KB [2m(entry point)[0m
|
|
22
|
+
[34mdocs/ai-support-bot.docblock.js[0m 1.34 KB [2m(entry point)[0m
|
|
23
|
+
[34m./example.js[0m 0.96 KB [2m(entry point)[0m
|
|
24
|
+
[34m./setup.js[0m 1.43 KB [2m(entry point)[0m
|
|
25
|
+
|
|
26
|
+
[contractspec-bun-build] transpile target=browser root=src entries=6
|
|
27
|
+
[32mBundled 6 modules in 9ms[0m
|
|
28
|
+
|
|
29
|
+
[34m./ai-support-bot.feature.js[0m 0.66 KB [2m(entry point)[0m
|
|
30
|
+
[34m./index.js[0m 4.36 KB [2m(entry point)[0m
|
|
31
|
+
[34mdocs/index.js[0m 1.34 KB [2m(entry point)[0m
|
|
32
|
+
[34mdocs/ai-support-bot.docblock.js[0m 1.34 KB [2m(entry point)[0m
|
|
33
|
+
[34m./example.js[0m 0.96 KB [2m(entry point)[0m
|
|
34
|
+
[34m./setup.js[0m 1.43 KB [2m(entry point)[0m
|
|
35
|
+
|
|
36
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build types[0m
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @contractspec/example.ai-support-bot
|
|
2
2
|
|
|
3
|
+
## 3.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0ee467a: feat: improve ai and customization
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [0ee467a]
|
|
12
|
+
- Updated dependencies [56ee8e6]
|
|
13
|
+
- @contractspec/lib.contracts-spec@3.4.0
|
|
14
|
+
- @contractspec/lib.support-bot@3.4.0
|
|
15
|
+
- @contractspec/lib.knowledge@3.4.0
|
|
16
|
+
- @contractspec/lib.logger@3.4.0
|
|
17
|
+
|
|
18
|
+
## 3.3.0
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- 890a0da: fix: stability improvements
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [890a0da]
|
|
27
|
+
- @contractspec/lib.contracts-spec@3.3.0
|
|
28
|
+
- @contractspec/lib.support-bot@3.3.0
|
|
29
|
+
- @contractspec/lib.knowledge@3.3.0
|
|
30
|
+
- @contractspec/lib.logger@3.3.0
|
|
31
|
+
|
|
3
32
|
## 3.2.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AiSupportBotFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/ai-support-bot.feature.ts
|
|
3
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
4
|
+
var AiSupportBotFeature = defineFeature({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "ai-support-bot",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
title: "AI Support Bot",
|
|
9
|
+
description: "AI support ticket classification and resolution using grounded knowledge",
|
|
10
|
+
domain: "support",
|
|
11
|
+
owners: ["@examples"],
|
|
12
|
+
tags: ["ai", "support", "knowledge", "tickets"],
|
|
13
|
+
stability: "experimental"
|
|
14
|
+
},
|
|
15
|
+
knowledge: [{ key: "ai-support-bot.knowledge.articles", version: "1.0.0" }],
|
|
16
|
+
docs: ["docs.examples.ai-support-bot", "docs.examples.ai-support-bot.usage"]
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
AiSupportBotFeature
|
|
20
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// src/ai-support-bot.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var AiSupportBotFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "ai-support-bot",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "AI Support Bot",
|
|
8
|
+
description: "AI support ticket classification and resolution using grounded knowledge",
|
|
9
|
+
domain: "support",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["ai", "support", "knowledge", "tickets"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
knowledge: [{ key: "ai-support-bot.knowledge.articles", version: "1.0.0" }],
|
|
15
|
+
docs: ["docs.examples.ai-support-bot", "docs.examples.ai-support-bot.usage"]
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
AiSupportBotFeature
|
|
19
|
+
};
|
package/dist/browser/index.js
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
// src/ai-support-bot.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var AiSupportBotFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "ai-support-bot",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "AI Support Bot",
|
|
8
|
+
description: "AI support ticket classification and resolution using grounded knowledge",
|
|
9
|
+
domain: "support",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["ai", "support", "knowledge", "tickets"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
knowledge: [{ key: "ai-support-bot.knowledge.articles", version: "1.0.0" }],
|
|
15
|
+
docs: ["docs.examples.ai-support-bot", "docs.examples.ai-support-bot.usage"]
|
|
16
|
+
});
|
|
17
|
+
|
|
1
18
|
// src/docs/ai-support-bot.docblock.ts
|
|
2
19
|
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
3
20
|
var blocks = [
|
|
@@ -109,5 +126,6 @@ async function runAiSupportBotExample() {
|
|
|
109
126
|
}
|
|
110
127
|
export {
|
|
111
128
|
runAiSupportBotExample,
|
|
112
|
-
example_default as example
|
|
129
|
+
example_default as example,
|
|
130
|
+
AiSupportBotFeature
|
|
113
131
|
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
// src/ai-support-bot.feature.ts
|
|
3
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
4
|
+
var AiSupportBotFeature = defineFeature({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "ai-support-bot",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
title: "AI Support Bot",
|
|
9
|
+
description: "AI support ticket classification and resolution using grounded knowledge",
|
|
10
|
+
domain: "support",
|
|
11
|
+
owners: ["@examples"],
|
|
12
|
+
tags: ["ai", "support", "knowledge", "tickets"],
|
|
13
|
+
stability: "experimental"
|
|
14
|
+
},
|
|
15
|
+
knowledge: [{ key: "ai-support-bot.knowledge.articles", version: "1.0.0" }],
|
|
16
|
+
docs: ["docs.examples.ai-support-bot", "docs.examples.ai-support-bot.usage"]
|
|
17
|
+
});
|
|
18
|
+
|
|
2
19
|
// src/docs/ai-support-bot.docblock.ts
|
|
3
20
|
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
4
21
|
var blocks = [
|
|
@@ -110,5 +127,6 @@ async function runAiSupportBotExample() {
|
|
|
110
127
|
}
|
|
111
128
|
export {
|
|
112
129
|
runAiSupportBotExample,
|
|
113
|
-
example_default as example
|
|
130
|
+
example_default as example,
|
|
131
|
+
AiSupportBotFeature
|
|
114
132
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// src/ai-support-bot.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var AiSupportBotFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "ai-support-bot",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "AI Support Bot",
|
|
8
|
+
description: "AI support ticket classification and resolution using grounded knowledge",
|
|
9
|
+
domain: "support",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["ai", "support", "knowledge", "tickets"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
knowledge: [{ key: "ai-support-bot.knowledge.articles", version: "1.0.0" }],
|
|
15
|
+
docs: ["docs.examples.ai-support-bot", "docs.examples.ai-support-bot.usage"]
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
AiSupportBotFeature
|
|
19
|
+
};
|
package/dist/node/index.js
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
// src/ai-support-bot.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var AiSupportBotFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "ai-support-bot",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "AI Support Bot",
|
|
8
|
+
description: "AI support ticket classification and resolution using grounded knowledge",
|
|
9
|
+
domain: "support",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["ai", "support", "knowledge", "tickets"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
knowledge: [{ key: "ai-support-bot.knowledge.articles", version: "1.0.0" }],
|
|
15
|
+
docs: ["docs.examples.ai-support-bot", "docs.examples.ai-support-bot.usage"]
|
|
16
|
+
});
|
|
17
|
+
|
|
1
18
|
// src/docs/ai-support-bot.docblock.ts
|
|
2
19
|
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
3
20
|
var blocks = [
|
|
@@ -109,5 +126,6 @@ async function runAiSupportBotExample() {
|
|
|
109
126
|
}
|
|
110
127
|
export {
|
|
111
128
|
runAiSupportBotExample,
|
|
112
|
-
example_default as example
|
|
129
|
+
example_default as example,
|
|
130
|
+
AiSupportBotFeature
|
|
113
131
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.ai-support-bot",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.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",
|
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
"browser": "./dist/browser/index.js",
|
|
13
13
|
"default": "./dist/index.js"
|
|
14
14
|
},
|
|
15
|
+
"./ai-support-bot.feature": {
|
|
16
|
+
"types": "./dist/ai-support-bot.feature.d.ts",
|
|
17
|
+
"bun": "./dist/ai-support-bot.feature.js",
|
|
18
|
+
"node": "./dist/node/ai-support-bot.feature.js",
|
|
19
|
+
"browser": "./dist/browser/ai-support-bot.feature.js",
|
|
20
|
+
"default": "./dist/ai-support-bot.feature.js"
|
|
21
|
+
},
|
|
15
22
|
"./docs": {
|
|
16
23
|
"types": "./dist/docs/index.d.ts",
|
|
17
24
|
"bun": "./dist/docs/index.js",
|
|
@@ -64,15 +71,15 @@
|
|
|
64
71
|
"typecheck": "tsc --noEmit"
|
|
65
72
|
},
|
|
66
73
|
"dependencies": {
|
|
67
|
-
"@contractspec/lib.support-bot": "3.
|
|
68
|
-
"@contractspec/lib.knowledge": "3.
|
|
69
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
70
|
-
"@contractspec/lib.logger": "3.
|
|
74
|
+
"@contractspec/lib.support-bot": "3.4.0",
|
|
75
|
+
"@contractspec/lib.knowledge": "3.4.0",
|
|
76
|
+
"@contractspec/lib.contracts-spec": "3.4.0",
|
|
77
|
+
"@contractspec/lib.logger": "3.4.0"
|
|
71
78
|
},
|
|
72
79
|
"devDependencies": {
|
|
73
|
-
"@contractspec/tool.typescript": "3.
|
|
80
|
+
"@contractspec/tool.typescript": "3.4.0",
|
|
74
81
|
"typescript": "^5.9.3",
|
|
75
|
-
"@contractspec/tool.bun": "3.
|
|
82
|
+
"@contractspec/tool.bun": "3.4.0"
|
|
76
83
|
},
|
|
77
84
|
"publishConfig": {
|
|
78
85
|
"access": "public",
|
|
@@ -84,6 +91,13 @@
|
|
|
84
91
|
"browser": "./dist/browser/index.js",
|
|
85
92
|
"default": "./dist/index.js"
|
|
86
93
|
},
|
|
94
|
+
"./ai-support-bot.feature": {
|
|
95
|
+
"types": "./dist/ai-support-bot.feature.d.ts",
|
|
96
|
+
"bun": "./dist/ai-support-bot.feature.js",
|
|
97
|
+
"node": "./dist/node/ai-support-bot.feature.js",
|
|
98
|
+
"browser": "./dist/browser/ai-support-bot.feature.js",
|
|
99
|
+
"default": "./dist/ai-support-bot.feature.js"
|
|
100
|
+
},
|
|
87
101
|
"./docs": {
|
|
88
102
|
"types": "./dist/docs/index.d.ts",
|
|
89
103
|
"bun": "./dist/docs/index.js",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineFeature } from '@contractspec/lib.contracts-spec';
|
|
2
|
+
|
|
3
|
+
export const AiSupportBotFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: 'ai-support-bot',
|
|
6
|
+
version: '1.0.0',
|
|
7
|
+
title: 'AI Support Bot',
|
|
8
|
+
description:
|
|
9
|
+
'AI support ticket classification and resolution using grounded knowledge',
|
|
10
|
+
domain: 'support',
|
|
11
|
+
owners: ['@examples'],
|
|
12
|
+
tags: ['ai', 'support', 'knowledge', 'tickets'],
|
|
13
|
+
stability: 'experimental',
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
knowledge: [{ key: 'ai-support-bot.knowledge.articles', version: '1.0.0' }],
|
|
17
|
+
|
|
18
|
+
docs: ['docs.examples.ai-support-bot', 'docs.examples.ai-support-bot.usage'],
|
|
19
|
+
});
|
package/src/index.ts
CHANGED