@contractspec/example.ai-support-bot 3.2.0 → 3.3.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 +15 -12
- package/CHANGELOG.md +14 -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
|
@@ -2,30 +2,33 @@ $ contractspec-bun-build prebuild
|
|
|
2
2
|
$ bun run prebuild && bun run build:bundle && bun run build:types
|
|
3
3
|
$ contractspec-bun-build prebuild
|
|
4
4
|
$ contractspec-bun-build transpile
|
|
5
|
-
[contractspec-bun-build] transpile target=bun root=src entries=
|
|
6
|
-
Bundled
|
|
5
|
+
[contractspec-bun-build] transpile target=bun root=src entries=6
|
|
6
|
+
Bundled 6 modules in 13ms
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
./index.js
|
|
8
|
+
./ai-support-bot.feature.js 0.66 KB (entry point)
|
|
9
|
+
./index.js 4.38 KB (entry point)
|
|
10
10
|
docs/index.js 1.35 KB (entry point)
|
|
11
|
+
docs/ai-support-bot.docblock.js 1.35 KB (entry point)
|
|
11
12
|
./example.js 0.97 KB (entry point)
|
|
12
13
|
./setup.js 1.44 KB (entry point)
|
|
13
14
|
|
|
14
|
-
[contractspec-bun-build] transpile target=node root=src entries=
|
|
15
|
-
Bundled
|
|
15
|
+
[contractspec-bun-build] transpile target=node root=src entries=6
|
|
16
|
+
Bundled 6 modules in 19ms
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
./index.js
|
|
18
|
+
./ai-support-bot.feature.js 0.66 KB (entry point)
|
|
19
|
+
./index.js 4.36 KB (entry point)
|
|
19
20
|
docs/index.js 1.34 KB (entry point)
|
|
21
|
+
docs/ai-support-bot.docblock.js 1.34 KB (entry point)
|
|
20
22
|
./example.js 0.96 KB (entry point)
|
|
21
23
|
./setup.js 1.43 KB (entry point)
|
|
22
24
|
|
|
23
|
-
[contractspec-bun-build] transpile target=browser root=src entries=
|
|
24
|
-
Bundled
|
|
25
|
+
[contractspec-bun-build] transpile target=browser root=src entries=6
|
|
26
|
+
Bundled 6 modules in 21ms
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
./index.js
|
|
28
|
+
./ai-support-bot.feature.js 0.66 KB (entry point)
|
|
29
|
+
./index.js 4.36 KB (entry point)
|
|
28
30
|
docs/index.js 1.34 KB (entry point)
|
|
31
|
+
docs/ai-support-bot.docblock.js 1.34 KB (entry point)
|
|
29
32
|
./example.js 0.96 KB (entry point)
|
|
30
33
|
./setup.js 1.43 KB (entry point)
|
|
31
34
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @contractspec/example.ai-support-bot
|
|
2
2
|
|
|
3
|
+
## 3.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 890a0da: fix: stability improvements
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [890a0da]
|
|
12
|
+
- @contractspec/lib.contracts-spec@3.3.0
|
|
13
|
+
- @contractspec/lib.support-bot@3.3.0
|
|
14
|
+
- @contractspec/lib.knowledge@3.3.0
|
|
15
|
+
- @contractspec/lib.logger@3.3.0
|
|
16
|
+
|
|
3
17
|
## 3.2.0
|
|
4
18
|
|
|
5
19
|
### 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.3.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.3.0",
|
|
75
|
+
"@contractspec/lib.knowledge": "3.3.0",
|
|
76
|
+
"@contractspec/lib.contracts-spec": "3.3.0",
|
|
77
|
+
"@contractspec/lib.logger": "3.3.0"
|
|
71
78
|
},
|
|
72
79
|
"devDependencies": {
|
|
73
|
-
"@contractspec/tool.typescript": "3.
|
|
80
|
+
"@contractspec/tool.typescript": "3.3.0",
|
|
74
81
|
"typescript": "^5.9.3",
|
|
75
|
-
"@contractspec/tool.bun": "3.
|
|
82
|
+
"@contractspec/tool.bun": "3.3.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