een-api-toolkit 0.3.47 → 0.3.49
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/.claude/agents/een-jobs-agent.md +676 -0
- package/CHANGELOG.md +7 -8
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1172 -28
- package/dist/index.js +796 -333
- package/dist/index.js.map +1 -1
- package/docs/AI-CONTEXT.md +22 -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-EVENTS.md +1 -1
- package/docs/ai-reference/AI-GROUPING.md +1 -1
- package/docs/ai-reference/AI-JOBS.md +1084 -0
- package/docs/ai-reference/AI-MEDIA.md +1 -1
- package/docs/ai-reference/AI-SETUP.md +1 -1
- package/docs/ai-reference/AI-USERS.md +1 -1
- package/examples/vue-jobs/.env.example +11 -0
- package/examples/vue-jobs/README.md +245 -0
- package/examples/vue-jobs/e2e/app.spec.ts +79 -0
- package/examples/vue-jobs/e2e/auth.spec.ts +382 -0
- package/examples/vue-jobs/e2e/delete-features.spec.ts +564 -0
- package/examples/vue-jobs/e2e/timelapse.spec.ts +361 -0
- package/examples/vue-jobs/index.html +13 -0
- package/examples/vue-jobs/package-lock.json +1722 -0
- package/examples/vue-jobs/package.json +28 -0
- package/examples/vue-jobs/playwright.config.ts +47 -0
- package/examples/vue-jobs/src/App.vue +154 -0
- package/examples/vue-jobs/src/main.ts +25 -0
- package/examples/vue-jobs/src/router/index.ts +82 -0
- package/examples/vue-jobs/src/views/Callback.vue +76 -0
- package/examples/vue-jobs/src/views/CreateExport.vue +284 -0
- package/examples/vue-jobs/src/views/Files.vue +424 -0
- package/examples/vue-jobs/src/views/Home.vue +195 -0
- package/examples/vue-jobs/src/views/JobDetail.vue +392 -0
- package/examples/vue-jobs/src/views/Jobs.vue +297 -0
- package/examples/vue-jobs/src/views/Login.vue +33 -0
- package/examples/vue-jobs/src/views/Logout.vue +59 -0
- package/examples/vue-jobs/src/vite-env.d.ts +1 -0
- package/examples/vue-jobs/tsconfig.json +25 -0
- package/examples/vue-jobs/vite.config.ts +12 -0
- package/package.json +1 -1
package/docs/AI-CONTEXT.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# EEN API Toolkit - AI Reference
|
|
2
2
|
|
|
3
|
-
> **Version:** 0.3.
|
|
3
|
+
> **Version:** 0.3.49
|
|
4
4
|
>
|
|
5
5
|
> This documentation is optimized for AI assistants. It provides focused, domain-specific
|
|
6
6
|
> references to help you understand and use the een-api-toolkit efficiently.
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
| Live video, images, HLS playback | [AI-MEDIA.md](./ai-reference/AI-MEDIA.md) | ~4K |
|
|
22
22
|
| Events, alerts, metrics, SSE | [AI-EVENTS.md](./ai-reference/AI-EVENTS.md) | ~3.5K |
|
|
23
23
|
| Automation rules, alert actions | [AI-AUTOMATIONS.md](./ai-reference/AI-AUTOMATIONS.md) | ~4K |
|
|
24
|
+
| Jobs, exports, files, downloads | [AI-JOBS.md](./ai-reference/AI-JOBS.md) | ~3.5K |
|
|
24
25
|
|
|
25
26
|
## Specialized Agents
|
|
26
27
|
|
|
@@ -36,6 +37,7 @@ Specialized agents are available in `.claude/agents/` for domain-specific tasks:
|
|
|
36
37
|
| `een-media-agent` | Live video, camera previews, HLS playback, recorded images |
|
|
37
38
|
| `een-events-agent` | Events, alerts, metrics, real-time SSE subscriptions |
|
|
38
39
|
| `een-automations-agent` | Automation rules, alert condition rules, alert actions |
|
|
40
|
+
| `een-jobs-agent` | Jobs, exports, files, downloads, video export workflows |
|
|
39
41
|
|
|
40
42
|
**How to Use Agents:**
|
|
41
43
|
|
|
@@ -76,6 +78,7 @@ Then follow the context files and instructions specified within.
|
|
|
76
78
|
| [vue-alerts-metrics](../examples/vue-alerts-metrics/) | Event metrics and alerts | `src/components/MetricsChart.vue` |
|
|
77
79
|
| [vue-event-subscriptions](../examples/vue-event-subscriptions/) | Real-time SSE streaming | `src/views/LiveEvents.vue` |
|
|
78
80
|
| [vue-automations](../examples/vue-automations/) | Automation rules listing | `src/views/Automations.vue` |
|
|
81
|
+
| [vue-jobs](../examples/vue-jobs/) | Jobs, exports, file downloads | `src/views/Jobs.vue` |
|
|
79
82
|
|
|
80
83
|
---
|
|
81
84
|
|
|
@@ -180,6 +183,24 @@ Then follow the context files and instructions specified within.
|
|
|
180
183
|
| `listAlertActions(params?)` | List alert actions |
|
|
181
184
|
| `getAlertAction(id)` | Get a specific alert action |
|
|
182
185
|
|
|
186
|
+
### Exports & Jobs
|
|
187
|
+
| Function | Purpose |
|
|
188
|
+
|----------|---------|
|
|
189
|
+
| `createExportJob(params)` | Create video/timelapse export job |
|
|
190
|
+
| `listJobs(params?)` | List jobs with filtering |
|
|
191
|
+
| `getJob(jobId)` | Get a specific job |
|
|
192
|
+
|
|
193
|
+
### Files & Downloads
|
|
194
|
+
| Function | Purpose |
|
|
195
|
+
|----------|---------|
|
|
196
|
+
| `listFiles(params?)` | List available files |
|
|
197
|
+
| `getFile(fileId)` | Get a specific file |
|
|
198
|
+
| `addFile(params)` | Add a new file |
|
|
199
|
+
| `downloadFile(fileId)` | Download file content |
|
|
200
|
+
| `listDownloads(params?)` | List available downloads |
|
|
201
|
+
| `getDownload(downloadId)` | Get a specific download |
|
|
202
|
+
| `downloadDownload(downloadId)` | Download from downloads endpoint |
|
|
203
|
+
|
|
183
204
|
### Utilities
|
|
184
205
|
| Function | Purpose |
|
|
185
206
|
|----------|---------|
|