@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.
@@ -1,32 +1,36 @@
1
- $ contractspec-bun-build prebuild
2
- $ bun run prebuild && bun run build:bundle && bun run build:types
3
- $ contractspec-bun-build prebuild
4
- $ contractspec-bun-build transpile
5
- [contractspec-bun-build] transpile target=bun root=src entries=5
6
- Bundled 5 modules in 10ms
7
-
8
- docs/ai-support-bot.docblock.js 1.35 KB (entry point)
9
- ./index.js 3.73 KB (entry point)
10
- docs/index.js 1.35 KB (entry point)
11
- ./example.js 0.97 KB (entry point)
12
- ./setup.js 1.44 KB (entry point)
13
-
14
- [contractspec-bun-build] transpile target=node root=src entries=5
15
- Bundled 5 modules in 28ms
16
-
17
- docs/ai-support-bot.docblock.js 1.34 KB (entry point)
18
- ./index.js 3.72 KB (entry point)
19
- docs/index.js 1.34 KB (entry point)
20
- ./example.js 0.96 KB (entry point)
21
- ./setup.js 1.43 KB (entry point)
22
-
23
- [contractspec-bun-build] transpile target=browser root=src entries=5
24
- Bundled 5 modules in 32ms
25
-
26
- docs/ai-support-bot.docblock.js 1.34 KB (entry point)
27
- ./index.js 3.72 KB (entry point)
28
- docs/index.js 1.34 KB (entry point)
29
- ./example.js 0.96 KB (entry point)
30
- ./setup.js 1.43 KB (entry point)
31
-
32
- $ contractspec-bun-build types
1
+
2
+ $ contractspec-bun-build prebuild
3
+ $ bun run prebuild && bun run build:bundle && bun run build:types
4
+ $ contractspec-bun-build prebuild
5
+ $ contractspec-bun-build transpile
6
+ [contractspec-bun-build] transpile target=bun root=src entries=6
7
+ Bundled 6 modules in 8ms
8
+
9
+ ./ai-support-bot.feature.js 0.66 KB (entry point)
10
+ ./index.js 4.38 KB (entry point)
11
+ docs/index.js 1.35 KB (entry point)
12
+ docs/ai-support-bot.docblock.js 1.35 KB (entry point)
13
+ ./example.js 0.97 KB (entry point)
14
+ ./setup.js 1.44 KB (entry point)
15
+
16
+ [contractspec-bun-build] transpile target=node root=src entries=6
17
+ Bundled 6 modules in 20ms
18
+
19
+ ./ai-support-bot.feature.js 0.66 KB (entry point)
20
+ ./index.js 4.36 KB (entry point)
21
+ docs/index.js 1.34 KB (entry point)
22
+ docs/ai-support-bot.docblock.js 1.34 KB (entry point)
23
+ ./example.js 0.96 KB (entry point)
24
+ ./setup.js 1.43 KB (entry point)
25
+
26
+ [contractspec-bun-build] transpile target=browser root=src entries=6
27
+ Bundled 6 modules in 9ms
28
+
29
+ ./ai-support-bot.feature.js 0.66 KB (entry point)
30
+ ./index.js 4.36 KB (entry point)
31
+ docs/index.js 1.34 KB (entry point)
32
+ docs/ai-support-bot.docblock.js 1.34 KB (entry point)
33
+ ./example.js 0.96 KB (entry point)
34
+ ./setup.js 1.43 KB (entry point)
35
+
36
+ $ contractspec-bun-build types
@@ -1 +1,2 @@
1
- $ contractspec-bun-build prebuild
1
+
2
+ $ contractspec-bun-build prebuild
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
+ };
@@ -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
@@ -1,3 +1,4 @@
1
1
  export * from './setup';
2
+ export * from './ai-support-bot.feature';
2
3
  export { default as example } from './example';
3
4
  import './docs';
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
+ };
@@ -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.2.0",
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.2.0",
68
- "@contractspec/lib.knowledge": "3.2.0",
69
- "@contractspec/lib.contracts-spec": "3.2.0",
70
- "@contractspec/lib.logger": "3.2.0"
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.2.0",
80
+ "@contractspec/tool.typescript": "3.4.0",
74
81
  "typescript": "^5.9.3",
75
- "@contractspec/tool.bun": "3.2.0"
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
@@ -1,3 +1,4 @@
1
1
  export * from './setup';
2
+ export * from './ai-support-bot.feature';
2
3
  export { default as example } from './example';
3
4
  import './docs';