@astermind/chatbot-template 1.0.0 → 1.0.3

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/package.json +10 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,97 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [1.0.1] - 2026-01-17
11
+
12
+ ### Added
13
+ - Auto-increment version script (`scripts/bump-version.js`) that bumps patch version on each build
14
+ - New npm scripts for improved developer experience:
15
+ - `build:prod` - Clean build from scratch
16
+ - `clean` - Remove dist folder
17
+ - `lint:fix` - ESLint with auto-fix
18
+ - `verify` - Full verification (build + typecheck + test + audit)
19
+ - `version:minor` - Bump minor version
20
+ - `version:major` - Bump major version
21
+ - CHANGELOG.md following Keep a Changelog format
22
+ - NPMDEPLOYMENT.md with comprehensive publishing guide
23
+ - GITHUBDETAILS.md documenting repository configuration
24
+
25
+ ### Changed
26
+ - `prepublishOnly` now runs full verification (`npm run verify`) before publishing
27
+ - Updated vitest from v1.x to v4.0.17 to resolve security vulnerabilities
28
+ - Improved .npmignore to exclude all internal files (scripts, templates, configs)
29
+
30
+ ### Security
31
+ - Fixed moderate severity vulnerability in esbuild by upgrading vitest
32
+
33
+ ## [1.0.0] - 2026-01-17
34
+
35
+ ### Added
36
+ - Initial release of @astermind/chatbot-template
37
+ - **Core Widget Features**
38
+ - Embeddable floating chat bubble with 4 position options
39
+ - React components library (11 components)
40
+ - Vanilla JS standalone bundle (IIFE with React bundled)
41
+ - Full TypeScript support with exported types
42
+ - **React Components**
43
+ - `ChatbotWidget` - Main widget component
44
+ - `ChatBubble` - Floating trigger button
45
+ - `ChatWindow` - Chat window container
46
+ - `ChatHeader` - Window header with title/subtitle
47
+ - `ChatInput` - Message input with send button
48
+ - `MessageList` - Scrollable message container
49
+ - `MessageBubble` - Individual message bubble
50
+ - `ActionCard` - Agentic action confirmation card
51
+ - `SourceCitation` - Source reference component
52
+ - `StatusIndicator` - Connection status display
53
+ - `TypingIndicator` - Typing/loading animation
54
+ - **React Hooks**
55
+ - `useOmega` - Direct API client access
56
+ - `useChat` - Chat state management
57
+ - `useTheme` - Theme customization
58
+ - `useScrollToBottom` - Auto-scroll behavior
59
+ - **RAG Integration**
60
+ - AsterMind backend integration (`/api/external/chat` endpoints)
61
+ - Streaming responses via Server-Sent Events (SSE)
62
+ - Source citations with collapsible references
63
+ - Session management with automatic sessionId handling
64
+ - Confidence level indicators
65
+ - **Agentic Capabilities**
66
+ - Navigation actions
67
+ - Form filling
68
+ - Element clicking
69
+ - Modal triggering
70
+ - Scrolling to elements
71
+ - Element highlighting
72
+ - Custom action handlers
73
+ - Action cards UI with confirm/cancel
74
+ - Confidence thresholds for auto-execution
75
+ - Site map configuration
76
+ - **Theming & Customization**
77
+ - 20+ CSS custom properties
78
+ - JavaScript theme configuration object
79
+ - Configurable dimensions (width, height, bubble size)
80
+ - Full color customization
81
+ - Typography settings
82
+ - Border radius and shadow effects
83
+ - **Offline Support**
84
+ - Graceful degradation when offline
85
+ - Custom offline message configuration
86
+ - Connection status indicator
87
+ - Optional local RAG fallback
88
+
89
+ ### Technical
90
+ - ESM, UMD, and IIFE build outputs
91
+ - Tree-shakeable with `sideEffects` configuration
92
+ - React 17, 18, and 19 peer dependency support
93
+ - Node.js >= 18.0.0 engine requirement
94
+
95
+ [Unreleased]: https://github.com/AsterMindAI/chatbot-template/compare/v1.0.1...HEAD
96
+ [1.0.1]: https://github.com/AsterMindAI/chatbot-template/compare/v1.0.0...v1.0.1
97
+ [1.0.0]: https://github.com/AsterMindAI/chatbot-template/releases/tag/v1.0.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astermind/chatbot-template",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "Embeddable AI chatbot widget with React support for AsterMind RAG",
5
5
  "type": "module",
6
6
  "main": "dist/astermind-chatbot.umd.js",
@@ -19,6 +19,7 @@
19
19
  "dist",
20
20
  "!dist/__tests__",
21
21
  "README.md",
22
+ "CHANGELOG.md",
22
23
  "LICENSE"
23
24
  ],
24
25
  "sideEffects": [
@@ -28,15 +29,22 @@
28
29
  "node": ">=18.0.0"
29
30
  },
30
31
  "scripts": {
32
+ "prebuild": "node scripts/bump-version.js",
31
33
  "build": "rollup -c && npm run build:css",
32
34
  "build:css": "postcss src/styles/index.css -o dist/astermind-chatbot.css",
35
+ "build:prod": "npm run clean && npm run build",
36
+ "clean": "rm -rf dist",
33
37
  "dev": "rollup -c -w",
34
38
  "test": "vitest run",
35
39
  "test:watch": "vitest",
36
40
  "test:coverage": "vitest --coverage",
37
41
  "lint": "eslint src/",
42
+ "lint:fix": "eslint src/ --fix",
38
43
  "typecheck": "tsc --noEmit",
39
- "prepublishOnly": "npm run build"
44
+ "verify": "npm run build:prod && npm run typecheck && npm run test && npm audit",
45
+ "prepublishOnly": "npm run verify",
46
+ "version:minor": "node scripts/bump-version.js minor",
47
+ "version:major": "node scripts/bump-version.js major"
40
48
  },
41
49
  "optionalDependencies": {
42
50
  "@astermind/cybernetic-chatbot-client": "^1.0.0"