een-api-toolkit 0.3.97 → 0.3.103
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/CHANGELOG.md +117 -55
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/docs/AI-CONTEXT.md +1 -1
- package/docs/ai-reference/AI-AUTH.md +1 -1
- package/docs/ai-reference/AI-AUTOMATIONS.md +1 -1
- package/docs/ai-reference/AI-DEVICES.md +1 -1
- package/docs/ai-reference/AI-EVENT-DATA-SCHEMAS.md +2 -1
- package/docs/ai-reference/AI-EVENTS.md +1 -1
- package/docs/ai-reference/AI-GROUPING.md +1 -1
- package/docs/ai-reference/AI-JOBS.md +1 -1
- package/docs/ai-reference/AI-MEDIA.md +1 -1
- package/docs/ai-reference/AI-PTZ.md +1 -1
- package/docs/ai-reference/AI-SETUP.md +1 -1
- package/docs/ai-reference/AI-USERS.md +1 -1
- package/examples/vue-ptz/src/components/PositionInput.vue +236 -58
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,92 +2,154 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## [0.3.
|
|
5
|
+
## [0.3.103] - 2026-02-26
|
|
6
6
|
|
|
7
7
|
### Release Summary
|
|
8
8
|
|
|
9
|
-
#### PR #
|
|
9
|
+
#### PR #134: release: v0.3.101 - multi-move-type PTZ support
|
|
10
10
|
## Summary
|
|
11
|
+
- Add move type dropdown (Position / Direction / Center On) to the PositionInput panel in `examples/vue-ptz`
|
|
12
|
+
- Dynamic input fields per move type with proper validation
|
|
13
|
+
- Replace auto-updating x/y/z with explicit "Import Current Position" button
|
|
14
|
+
- Refactored `apply()` with `buildMove()` extraction for cleaner code
|
|
15
|
+
- `try/finally` for defensive state reset, null-safe optional chaining
|
|
11
16
|
|
|
12
|
-
|
|
17
|
+
## Version
|
|
18
|
+
`0.3.101`
|
|
19
|
+
|
|
20
|
+
## Commits
|
|
21
|
+
- `2a4aac8f` feat: add multi-move-type support to vue-ptz PositionInput
|
|
22
|
+
- `f125139c` fix: address code review findings for PositionInput
|
|
23
|
+
- `addcc0ec` fix: wrap movePtz calls in try/finally to always reset applying state
|
|
24
|
+
- `a1365f24` fix: address remaining review findings for PositionInput
|
|
25
|
+
|
|
26
|
+
## Local test results
|
|
27
|
+
- Lint: passed (0 errors, 1 pre-existing warning)
|
|
28
|
+
- Unit tests: 684/684 passed
|
|
29
|
+
- Build: success
|
|
30
|
+
- E2E tests: 12/12 example apps passed
|
|
31
|
+
- Security review: no issues found
|
|
32
|
+
- Docs confidential data scan: clean (274 .md files scanned)
|
|
33
|
+
|
|
34
|
+
## Test plan
|
|
35
|
+
- [ ] Select "Position" move type — verify x/y/z inputs, Import Current Position button
|
|
36
|
+
- [ ] Select "Direction" move type — verify checkboxes + step size, Apply sends direction move
|
|
37
|
+
- [ ] Select "Center On" move type — verify rX/rY inputs, Apply sends centerOn move
|
|
38
|
+
- [ ] Verify x/y/z fields do NOT auto-update when position refreshes
|
|
13
39
|
|
|
14
|
-
|
|
15
|
-
- **PTZ types**: `PtzPosition`, `PtzMove` (discriminated union: position/direction/centerOn), `PtzSettings`, `PtzPreset`, `PtzSettingsUpdate`
|
|
16
|
-
- **vue-ptz example app**: Complete PTZ control application with live video, direction pad, click-to-center, position display, preset management, and API call logging
|
|
17
|
-
- **Camera capabilities**: Added `capabilities` field to `Camera` type for PTZ detection via `include: ['capabilities']`
|
|
18
|
-
- **Documentation**: AI-PTZ.md reference doc, een-ptz-agent, updated AI-CONTEXT.md and CLAUDE.md
|
|
19
|
-
- **E2E tests**: Conditional PTZ API tests that exercise position read, direction move, and preset loading when a PTZ camera is available
|
|
40
|
+
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
|
20
41
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
42
|
+
#### PR #135: chore: bump 11 dev dependencies (v0.3.101)
|
|
43
|
+
## Summary
|
|
44
|
+
Dependabot bump of 11 dev dependencies (all minor/patch versions). Only `package-lock.json` changed — no source code, configuration, or documentation modified.
|
|
45
|
+
|
|
46
|
+
| Package | From | To |
|
|
47
|
+
|---|---|---|
|
|
48
|
+
| `@eslint/js` | 9.39.2 | 9.39.3 |
|
|
49
|
+
| `@types/node` | 25.2.3 | 25.3.0 |
|
|
50
|
+
| `@typescript-eslint/eslint-plugin` | 8.55.0 | 8.56.0 |
|
|
51
|
+
| `@typescript-eslint/parser` | 8.55.0 | 8.56.0 |
|
|
52
|
+
| `dotenv` | 17.2.4 | 17.3.1 |
|
|
53
|
+
| `eslint` | 9.39.2 | 9.39.3 |
|
|
54
|
+
| `eslint-plugin-vue` | 10.7.0 | 10.8.0 |
|
|
55
|
+
| `jsdom` | 28.0.0 | 28.1.0 |
|
|
56
|
+
| `typedoc` | 0.28.16 | 0.28.17 |
|
|
57
|
+
| `vue-eslint-parser` | 10.2.0 | 10.4.0 |
|
|
58
|
+
| `vue-tsc` | 3.2.4 | 3.2.5 |
|
|
59
|
+
|
|
60
|
+
## Version
|
|
61
|
+
`0.3.101`
|
|
24
62
|
|
|
25
63
|
## Commits
|
|
64
|
+
- `237e9886` chore(deps-dev): bump the npm-dependencies group with 11 updates
|
|
26
65
|
|
|
27
|
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
- `3f197ba` chore(deps): bump github/codeql-action from 4.32.2 to 4.32.3
|
|
66
|
+
## Local test results
|
|
67
|
+
- Lint: passed (0 errors, 1 pre-existing warning)
|
|
68
|
+
- Unit tests: 684/684 passed
|
|
69
|
+
- Build: success
|
|
70
|
+
- E2E tests: 12/12 example apps passed (run on identical code in dependabot branch)
|
|
33
71
|
|
|
34
|
-
## Test
|
|
72
|
+
## Test plan
|
|
73
|
+
- [ ] Verify all CI checks pass (no runtime impact expected from dev dependency updates)
|
|
74
|
+
|
|
75
|
+
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
|
35
76
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
| Build | Pass |
|
|
41
|
-
| E2E (12 apps) | All passed |
|
|
42
|
-
| Security review | No vulnerabilities found |
|
|
43
|
-
| Confidential data scan | Clean |
|
|
77
|
+
#### PR #136: Bump github/codeql-action from 4.32.3 to 4.32.4
|
|
78
|
+
## Summary
|
|
79
|
+
- Bumps `github/codeql-action` SHA pins from v4.32.3 to v4.32.4 in `.github/workflows/codeql.yml`
|
|
80
|
+
- Dependabot-originated update merged via develop
|
|
44
81
|
|
|
45
|
-
|
|
82
|
+
## Details
|
|
83
|
+
- **Version**: v0.3.101
|
|
84
|
+
- **Commits**:
|
|
85
|
+
- `b3ddb541` chore(deps): bump github/codeql-action from 4.32.3 to 4.32.4
|
|
86
|
+
- `cd3c541f` Merge pull request #131
|
|
87
|
+
|
|
88
|
+
## Test Results
|
|
89
|
+
- Lint: passed (0 errors, 1 pre-existing warning)
|
|
90
|
+
- Unit tests: 684/684 passed
|
|
91
|
+
- Build: passed
|
|
92
|
+
- E2E: 12/12 example apps passed locally
|
|
93
|
+
- Security: no concerns (SHA pin update only)
|
|
94
|
+
- Docs: no .md files changed
|
|
46
95
|
|
|
47
96
|
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
|
48
97
|
|
|
49
|
-
#### PR #
|
|
98
|
+
#### PR #138: Release v0.3.103: New data schemas, access activation event, alert schemas
|
|
50
99
|
## Summary
|
|
51
|
-
- Add fisheye camera exclusion to PTZ type definitions, agent docs, AI reference docs, and vue-ptz example
|
|
52
|
-
- Add PTZ sub-capability fields (`fisheye`, `panTilt`, `zoom`, `positionMove`, `directionMove`, `centerOnMove`) to `Camera.capabilities.ptz` type
|
|
53
|
-
- Regenerate API coverage docs with full-width layout and scrollbar fix
|
|
54
100
|
|
|
55
|
-
|
|
56
|
-
v0.3.96
|
|
101
|
+
Release of new event data schemas and event type from the latest EEN API v3.0 specification updates.
|
|
57
102
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
- `
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
103
|
+
### Changes
|
|
104
|
+
|
|
105
|
+
- **13 new `DataSchema` entries**: `bestImageUrl`, `trajectory`, `vspVisitDetails`, `credentialAccessActivation`, `userAccessActivation`, `deviceStatusUpdate`, `countData`, `creatorDetails`, and 6 alert-related schemas (`alertConditionRuleInfo`, `alertInfo`, `gunDetectionAlertInfo`, `lprRuleCountAggrAlertInfo`, `lprRuleWatchAlertInfo`, `smartAlertObjectCountAlertInfo`)
|
|
106
|
+
- **1 new `KnownEventType`**: `een.accessActivationEvent.v1` (access control point events, used by Brivo integration)
|
|
107
|
+
- **1 new event-to-schema mapping**: `accessActivationEvent` → `[credentialAccessActivation, creatorDetails, userAccessActivation]`
|
|
108
|
+
- JSDoc clarification that unmapped DataSchemas may appear in API responses
|
|
109
|
+
- Auto-regenerated AI documentation (77 schemas, 67 event types)
|
|
110
|
+
|
|
111
|
+
### Commits
|
|
112
|
+
|
|
113
|
+
- `2cb58b6d` Add new data schemas, event type, and alert schemas from API spec updates
|
|
114
|
+
- `855a1c0a` Address review feedback: sort schemas, clarify unmapped entries, fix doc order
|
|
115
|
+
|
|
116
|
+
**Version**: 0.3.103
|
|
64
117
|
|
|
65
118
|
## Test Results
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
119
|
+
|
|
120
|
+
| Suite | Passed | Skipped | Failed |
|
|
121
|
+
|-------|--------|---------|--------|
|
|
122
|
+
| Lint | 0 errors | - | - |
|
|
123
|
+
| Unit tests (Vitest) | 684 | 0 | 0 |
|
|
124
|
+
| Build | Success | - | - |
|
|
125
|
+
| Examples E2E (12 apps) | 234+ | 0 | 0 |
|
|
126
|
+
|
|
127
|
+
One transient auth timeout in `vue-jobs` timelapse test passed on immediate re-run — unrelated to changes.
|
|
128
|
+
|
|
129
|
+
## Security Review
|
|
130
|
+
|
|
131
|
+
No security issues. Changes are purely additive TypeScript string literal types and static mappings — no credential handling, no user input, no runtime behavior changes.
|
|
132
|
+
|
|
133
|
+
## Confidential Data Scan
|
|
134
|
+
|
|
135
|
+
No secrets, credentials, internal hostnames, or PII found in changed documentation.
|
|
72
136
|
|
|
73
137
|
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
|
74
138
|
|
|
75
139
|
|
|
76
140
|
### Detailed Changes
|
|
77
141
|
|
|
78
|
-
####
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
- fix: address review findings for PTZ fisheye guidance
|
|
82
|
-
- fix: add PTZ sub-capability fields to Camera type and update docs
|
|
142
|
+
#### Features
|
|
143
|
+
- Address review feedback: sort schemas, clarify unmapped entries, fix doc order
|
|
144
|
+
- Add new data schemas, event type, and alert schemas from API spec updates
|
|
83
145
|
|
|
84
146
|
#### Other Changes
|
|
85
|
-
-
|
|
86
|
-
-
|
|
147
|
+
- chore(deps-dev): bump the npm-dependencies group with 11 updates
|
|
148
|
+
- chore(deps): bump github/codeql-action from 4.32.3 to 4.32.4
|
|
87
149
|
|
|
88
150
|
### Links
|
|
89
151
|
- [npm package](https://www.npmjs.com/package/een-api-toolkit)
|
|
90
|
-
- [Full Changelog](https://github.com/klaushofrichter/een-api-toolkit/compare/v0.3.
|
|
152
|
+
- [Full Changelog](https://github.com/klaushofrichter/een-api-toolkit/compare/v0.3.101...v0.3.103)
|
|
91
153
|
|
|
92
154
|
---
|
|
93
|
-
*Released: 2026-02-
|
|
155
|
+
*Released: 2026-02-26 14:49:23 CST*
|