@hexabot-ai/widget 3.1.4-alpha.0 → 3.2.1-alpha.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/AGENTS.md +4 -6
- package/dist/hexabot-widget.es.js +1603 -1650
- package/dist/hexabot-widget.umd.js +43 -43
- package/dist/style.css +1 -1
- package/eslint.config.cjs +70 -69
- package/package.json +2 -2
package/AGENTS.md
CHANGED
|
@@ -34,7 +34,7 @@ Key paths in `packages/widget`:
|
|
|
34
34
|
|
|
35
35
|
## Setup & Dev Environment
|
|
36
36
|
Prerequisites:
|
|
37
|
-
- Node.js `^20.
|
|
37
|
+
- Node.js `^20.19.0` (see `engines`).
|
|
38
38
|
- PNPM workspace (`pnpm@9.12.0` at repo root).
|
|
39
39
|
|
|
40
40
|
Recommended setup from repo root:
|
|
@@ -119,7 +119,7 @@ Unit tests:
|
|
|
119
119
|
## Testing Strategy
|
|
120
120
|
Current state:
|
|
121
121
|
- This package includes a Vitest + jsdom setup for widget-level unit tests.
|
|
122
|
-
- CI on `
|
|
122
|
+
- CI on `main` runs workspace checks (`pnpm typecheck`, `pnpm lint`, `pnpm test`, `pnpm build` via Turbo). For widget-specific quality, treat `typecheck + lint + test + build` as the effective gate.
|
|
123
123
|
- Git hooks (`.husky/pre-commit`) run widget checks when widget files are staged: `pnpm typecheck` + `npx lint-staged` from `packages/widget`.
|
|
124
124
|
|
|
125
125
|
Recommended local validation:
|
|
@@ -170,9 +170,9 @@ pnpm --filter @hexabot-ai/widget run lint
|
|
|
170
170
|
pnpm --filter @hexabot-ai/widget run build
|
|
171
171
|
```
|
|
172
172
|
|
|
173
|
-
Release (v3 alpha train, `
|
|
173
|
+
Release (v3 alpha train, `main` branch):
|
|
174
174
|
```bash
|
|
175
|
-
./bump-version
|
|
175
|
+
./bump-version.sh preminor
|
|
176
176
|
```
|
|
177
177
|
> TODO: Confirm with maintainers whether a given release should use `prepatch`, `preminor`, or `prerelease`.
|
|
178
178
|
|
|
@@ -191,7 +191,5 @@ Release (v3 alpha train, `dev` branch):
|
|
|
191
191
|
- Any protocol-level changes (socket payloads, webhook behavior) must stay compatible with the backend expectations used in `src/providers/ChatProvider.tsx` and `src/utils/SocketIoClient.ts`.
|
|
192
192
|
- Preserve license headers and do not remove licensing notices.
|
|
193
193
|
- Avoid unrelated monorepo edits when the task is widget-scoped.
|
|
194
|
-
- Some CI workflows still reference legacy scope `@hexabot/widget` while this package is `@hexabot-ai/widget`.
|
|
195
|
-
> TODO: Align workflow scopes in a dedicated maintenance change.
|
|
196
194
|
- Code ownership:
|
|
197
195
|
> TODO: No `CODEOWNERS` file found in this repository; confirm reviewer/approver group with maintainers.
|