feat(web): add web demo and polish Lit web components UI and demo tooling

This commit is contained in:
2026-03-07 08:15:23 +00:00
parent dd04edb420
commit 54f9cea7f9
15 changed files with 994 additions and 100 deletions
+18
View File
@@ -0,0 +1,18 @@
# Changelog
## 2026-03-07 - 0.1.0 - feat(web)
add web demo and polish Lit web components UI and demo tooling
- Add web demo artifacts and build tooling: demo.web.html, demo.web.ts, demo.cli.ts, and demo/build.web.ts (esbuild) plus demoWeb and demoCli npm scripts
- Enhance web components (ts_web): smartchat-window, smartchat-message, smartchat-input — new header/status, avatars, timestamps, improved streaming/thinking indicators, responsive textarea input, and refined styles/animations
- Add esbuild to devDependencies to support demo bundling/serving
- Update .gitignore to exclude demo build outputs
- Add README with usage docs and examples
## 2026-03-06 - 0.0.1 - initial
Scaffold initial @push.rocks/smartchat package with core, CLI, and web layers.
- Three-layer architecture built on @push.rocks/smartagent.
- ts/: ChatSession wrapper around runAgent() with conversation state management.
- ts_cli/: Ink-based terminal chat TUI implemented using React.createElement (no JSX).
- ts_web/: Lit web components (smartchat-window, smartchat-message, smartchat-input).