@camstack/core 0.1.38 → 0.1.40
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/dist/auth/auth-manager.d.ts +12 -1
- package/dist/auth/auth-manager.d.ts.map +1 -1
- package/dist/auth/scope-matcher.d.ts +8 -0
- package/dist/auth/scope-matcher.d.ts.map +1 -0
- package/dist/auth/totp-manager.d.ts +0 -1
- package/dist/auth/totp-manager.d.ts.map +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.d.ts +15 -0
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.d.ts.map +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +27 -6
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js.map +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +27 -6
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs.map +1 -1
- package/dist/builtins/device-manager/device-config-contribution.d.ts +33 -0
- package/dist/builtins/device-manager/device-config-contribution.d.ts.map +1 -0
- package/dist/builtins/device-manager/device-manager.addon.d.ts +52 -17
- package/dist/builtins/device-manager/device-manager.addon.d.ts.map +1 -1
- package/dist/builtins/device-manager/device-manager.addon.js +285 -161
- package/dist/builtins/device-manager/device-manager.addon.js.map +1 -1
- package/dist/builtins/device-manager/device-manager.addon.mjs +286 -162
- package/dist/builtins/device-manager/device-manager.addon.mjs.map +1 -1
- package/dist/builtins/local-auth/auth-schema.d.ts +1 -0
- package/dist/builtins/local-auth/auth-schema.d.ts.map +1 -1
- package/dist/builtins/local-auth/local-auth.addon.d.ts +1 -0
- package/dist/builtins/local-auth/local-auth.addon.d.ts.map +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +354 -3
- package/dist/builtins/local-auth/local-auth.addon.js.map +1 -1
- package/dist/builtins/local-auth/local-auth.addon.mjs +355 -3
- package/dist/builtins/local-auth/local-auth.addon.mjs.map +1 -1
- package/dist/builtins/local-auth/oauth-grants.d.ts +46 -0
- package/dist/builtins/local-auth/oauth-grants.d.ts.map +1 -0
- package/dist/builtins/local-auth/oauth-session-manager.d.ts +51 -0
- package/dist/builtins/local-auth/oauth-session-manager.d.ts.map +1 -0
- package/dist/builtins/remote-access-orchestrator/enabled-providers-reconcile.d.ts +97 -0
- package/dist/builtins/remote-access-orchestrator/enabled-providers-reconcile.d.ts.map +1 -0
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.d.ts +17 -0
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.d.ts.map +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +95 -5
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js.map +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +95 -5
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs.map +1 -1
- package/dist/builtins/snapshot/index.js +1 -3
- package/dist/builtins/snapshot/index.js.map +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -3
- package/dist/builtins/snapshot/index.mjs.map +1 -1
- package/dist/builtins/snapshot/snapshot.addon.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +419 -97
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +419 -98
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.40",
|
|
4
4
|
"description": "Core addon for CamStack — builtins, pipeline, process management, auth, logging, events",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"addons": [
|
|
32
32
|
{
|
|
33
33
|
"id": "filesystem-storage",
|
|
34
|
+
"category": "system",
|
|
34
35
|
"name": "Filesystem Storage",
|
|
35
36
|
"entry": "./dist/builtins/sqlite-storage/filesystem-storage.addon.js",
|
|
36
37
|
"capabilities": [
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
},
|
|
42
43
|
{
|
|
43
44
|
"id": "sqlite-settings",
|
|
45
|
+
"category": "system",
|
|
44
46
|
"name": "SQLite Settings",
|
|
45
47
|
"entry": "./dist/builtins/sqlite-storage/sqlite-settings.addon.js",
|
|
46
48
|
"capabilities": [
|
|
@@ -51,6 +53,7 @@
|
|
|
51
53
|
},
|
|
52
54
|
{
|
|
53
55
|
"id": "winston-logging",
|
|
56
|
+
"category": "system",
|
|
54
57
|
"name": "Winston Logging",
|
|
55
58
|
"entry": "./dist/builtins/winston-logging/index.js",
|
|
56
59
|
"capabilities": [
|
|
@@ -61,6 +64,7 @@
|
|
|
61
64
|
},
|
|
62
65
|
{
|
|
63
66
|
"id": "console-logging",
|
|
67
|
+
"category": "system",
|
|
64
68
|
"name": "Console Logging",
|
|
65
69
|
"entry": "./dist/builtins/console-logging/index.js",
|
|
66
70
|
"capabilities": [
|
|
@@ -71,6 +75,7 @@
|
|
|
71
75
|
},
|
|
72
76
|
{
|
|
73
77
|
"id": "hub-forwarder",
|
|
78
|
+
"category": "system",
|
|
74
79
|
"name": "Hub Log Forwarder",
|
|
75
80
|
"description": "Agent-only log destination — forwards every log entry to the hub via the cluster broker. Never runs on the hub itself (the hub already owns the log-receiver, registering hub-forwarder there would create a write→ingest→write feedback loop).",
|
|
76
81
|
"entry": "./dist/builtins/hub-forwarder/index.js",
|
|
@@ -85,6 +90,7 @@
|
|
|
85
90
|
},
|
|
86
91
|
{
|
|
87
92
|
"id": "backup-orchestrator",
|
|
93
|
+
"category": "system",
|
|
88
94
|
"name": "Backup Orchestrator",
|
|
89
95
|
"description": "System singleton that owns the schedule, builds the archive once, and fans it out to every enabled `backup-destination` provider (local, S3, rsync, …). In-process on hub root — aggregator over a cluster collection, no native deps.",
|
|
90
96
|
"entry": "./dist/builtins/backup-orchestrator/index.js",
|
|
@@ -97,6 +103,7 @@
|
|
|
97
103
|
},
|
|
98
104
|
{
|
|
99
105
|
"id": "storage-orchestrator",
|
|
106
|
+
"category": "system",
|
|
100
107
|
"name": "Storage Orchestrator",
|
|
101
108
|
"description": "Hub-only singleton that owns the consumer-facing `storage` cap. Holds the `locationId → StorageLocation` map, resolves `StorageLocationRef` to concrete locations, and dispatches every call to the matching `storage-provider` collection registrant (`filesystem-storage` today; future SFTP / S3 / WebDAV addons plug in alongside).",
|
|
102
109
|
"entry": "./dist/builtins/storage-orchestrator/index.js",
|
|
@@ -109,6 +116,7 @@
|
|
|
109
116
|
},
|
|
110
117
|
{
|
|
111
118
|
"id": "metrics-native",
|
|
119
|
+
"category": "system",
|
|
112
120
|
"name": "Native Metrics",
|
|
113
121
|
"entry": "./dist/builtins/native-metrics/native-metrics.addon.js",
|
|
114
122
|
"capabilities": [
|
|
@@ -119,6 +127,7 @@
|
|
|
119
127
|
},
|
|
120
128
|
{
|
|
121
129
|
"id": "snapshot",
|
|
130
|
+
"category": "system",
|
|
122
131
|
"name": "Snapshot",
|
|
123
132
|
"entry": "./dist/builtins/snapshot/index.js",
|
|
124
133
|
"capabilities": [
|
|
@@ -129,6 +138,7 @@
|
|
|
129
138
|
},
|
|
130
139
|
{
|
|
131
140
|
"id": "alert-center",
|
|
141
|
+
"category": "system",
|
|
132
142
|
"name": "Alert Center",
|
|
133
143
|
"entry": "./dist/builtins/alerts/index.js",
|
|
134
144
|
"capabilities": [
|
|
@@ -139,6 +149,7 @@
|
|
|
139
149
|
},
|
|
140
150
|
{
|
|
141
151
|
"id": "system-config",
|
|
152
|
+
"category": "system",
|
|
142
153
|
"name": "System Config",
|
|
143
154
|
"description": "Exposes cluster-wide yml-backed configuration sections (server, auth, ffmpeg, logging, recording, retention) via the three-level settings API. Hub-only.",
|
|
144
155
|
"entry": "./dist/builtins/system-config/index.js",
|
|
@@ -146,6 +157,7 @@
|
|
|
146
157
|
},
|
|
147
158
|
{
|
|
148
159
|
"id": "addon-pages-aggregator",
|
|
160
|
+
"category": "system",
|
|
149
161
|
"name": "Addon Pages Aggregator",
|
|
150
162
|
"description": "Hub-only singleton that aggregates `addon-pages-source` (collection) providers and emits the public `addon-pages.listPages` surface with versioned bundleUrls.",
|
|
151
163
|
"entry": "./dist/builtins/addon-pages-aggregator/index.js",
|
|
@@ -158,6 +170,7 @@
|
|
|
158
170
|
},
|
|
159
171
|
{
|
|
160
172
|
"id": "addon-widgets-aggregator",
|
|
173
|
+
"category": "system",
|
|
161
174
|
"name": "Addon Widgets Aggregator",
|
|
162
175
|
"description": "Hub-only singleton that aggregates `addon-widgets-source` (collection) providers and emits the public `addon-widgets.listWidgets` surface with versioned bundleUrls.",
|
|
163
176
|
"entry": "./dist/builtins/addon-widgets-aggregator/index.js",
|
|
@@ -170,6 +183,7 @@
|
|
|
170
183
|
},
|
|
171
184
|
{
|
|
172
185
|
"id": "device-manager",
|
|
186
|
+
"category": "system",
|
|
173
187
|
"name": "Device Manager",
|
|
174
188
|
"description": "Hub-side singleton that unifies device persistence and management. Uses ctx.settings for storage — no direct SQLite access. Replaces device-persistence cap (Phase 2 will delete device-persistence once all consumers are migrated).",
|
|
175
189
|
"entry": "./dist/builtins/device-manager/index.js",
|
|
@@ -185,6 +199,7 @@
|
|
|
185
199
|
},
|
|
186
200
|
{
|
|
187
201
|
"id": "local-auth",
|
|
202
|
+
"category": "system",
|
|
188
203
|
"name": "Local Auth",
|
|
189
204
|
"description": "Built-in local username/password authentication. Implements the auth-provider capability as the default login path. OIDC and other providers can register alongside via the same capability.",
|
|
190
205
|
"entry": "./dist/builtins/local-auth/index.js",
|
|
@@ -200,6 +215,7 @@
|
|
|
200
215
|
},
|
|
201
216
|
{
|
|
202
217
|
"id": "platform-probe",
|
|
218
|
+
"category": "system",
|
|
203
219
|
"name": "Platform Probe (Native)",
|
|
204
220
|
"description": "Probes hardware and inference runtimes on the local node. Registers the `platform-probe` capability consumed by every inference addon on this node.",
|
|
205
221
|
"entry": "./dist/builtins/platform-probe/index.js",
|
|
@@ -215,6 +231,7 @@
|
|
|
215
231
|
},
|
|
216
232
|
{
|
|
217
233
|
"id": "local-network",
|
|
234
|
+
"category": "system",
|
|
218
235
|
"name": "Local Network",
|
|
219
236
|
"description": "Enumerates the hub's network interfaces, classifies them (LAN / Wi-Fi / Docker / VPN / loopback), and ranks connection-endpoints for SDK clients. Hub-only — agents are not directly addressable.",
|
|
220
237
|
"entry": "./dist/builtins/local-network/index.js",
|
|
@@ -227,6 +244,7 @@
|
|
|
227
244
|
},
|
|
228
245
|
{
|
|
229
246
|
"id": "remote-access-orchestrator",
|
|
247
|
+
"category": "system",
|
|
230
248
|
"name": "Remote Access Orchestrator",
|
|
231
249
|
"description": "Hub-only singleton facade over the network-access collection (Cloudflare Tunnel, ngrok, …). Surfaces a unified provider list to the admin UI's Remote Access page.",
|
|
232
250
|
"entry": "./dist/builtins/remote-access-orchestrator/index.js",
|