@cagent/chat-embedding-core 0.0.1 → 0.0.2
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/AGENTS.md +13 -13
- package/README.md +10 -10
- package/bun.lock +1548 -0
- package/dist/queries/sendMessageQuery.d.ts +1 -1
- package/dist/web.js +1 -1
- package/docs/chart-rendering-implementation-plan.md +2 -2
- package/package.json +5 -7
|
@@ -310,7 +310,7 @@ onCleanup(() => {
|
|
|
310
310
|
## Implementation Steps
|
|
311
311
|
|
|
312
312
|
### Phase 1: Setup and Dependencies (Priority: High)
|
|
313
|
-
1. **Add Chart.js dependency**: `
|
|
313
|
+
1. **Add Chart.js dependency**: `bun add chart.js`
|
|
314
314
|
2. **Create type definitions** for chart configurations
|
|
315
315
|
3. **Create chartTagParser.ts** with basic parsing logic
|
|
316
316
|
|
|
@@ -521,7 +521,7 @@ for (let i = 0; i < content.length; i++) {
|
|
|
521
521
|
}
|
|
522
522
|
```
|
|
523
523
|
|
|
524
|
-
**Installation Command**: `
|
|
524
|
+
**Installation Command**: `bun add chart.js`
|
|
525
525
|
|
|
526
526
|
---
|
|
527
527
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cagent/chat-embedding-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Javascript library to display the Agent Studio chatbot on your website",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"dev": "cross-env NODE_ENV=development rollup --watch --config rollup.config.js",
|
|
10
|
-
"build": "cross-env NODE_ENV=production rollup --config rollup.config.js",
|
|
10
|
+
"build": "npm version patch --no-git-tag-version && cross-env NODE_ENV=production rollup --config rollup.config.js",
|
|
11
11
|
"type-check": "tsc --noEmit",
|
|
12
12
|
"lint": "eslint --quiet \"src/**/*.ts*\"",
|
|
13
13
|
"lint-fix": "eslint --quiet --fix \"src/**/*.ts*\"",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,md,mdx}\"",
|
|
16
16
|
"prepare": "husky install",
|
|
17
17
|
"start": "node server.js",
|
|
18
|
-
"build-and-publish": "
|
|
19
|
-
"prepublishOnly": "
|
|
18
|
+
"build-and-publish": "bun run build && npm publish",
|
|
19
|
+
"prepublishOnly": "bun run build"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
@@ -25,8 +25,6 @@
|
|
|
25
25
|
"@ts-stack/markdown": "^1.4.0",
|
|
26
26
|
"@types/pdfjs-dist": "^2.10.378",
|
|
27
27
|
"axios": "^1.7.7",
|
|
28
|
-
"c-agent-embedding": "^1.0.4",
|
|
29
|
-
"c-agent-embedding-react": "^1.0.1",
|
|
30
28
|
"chart.js": "^4.5.1",
|
|
31
29
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
32
30
|
"chartjs-plugin-zoom": "^2.0.1",
|
|
@@ -83,5 +81,5 @@
|
|
|
83
81
|
"typescript": "5.0.3",
|
|
84
82
|
"uuid": "^9.0.1"
|
|
85
83
|
},
|
|
86
|
-
"packageManager": "
|
|
84
|
+
"packageManager": "bun@1.3.13"
|
|
87
85
|
}
|