@camstack/addon-pipeline 0.1.13 → 0.1.14
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/audio-analyzer/index.js +1 -1
- package/dist/audio-analyzer/index.mjs +1 -1
- package/dist/audio-codec-nodeav/index.js +1 -1
- package/dist/audio-codec-nodeav/index.mjs +1 -1
- package/dist/decoder-nodeav/index.js +1 -1
- package/dist/decoder-nodeav/index.mjs +1 -1
- package/dist/detection-pipeline/index.js +1 -1
- package/dist/detection-pipeline/index.mjs +1 -1
- package/dist/{index-BBpVDiWL.js → index-CFPKrb2Y.js} +29 -231
- package/dist/index-CFPKrb2Y.js.map +1 -0
- package/dist/{index-BwLnHesq.mjs → index-DKh0uEve.mjs} +29 -231
- package/dist/index-DKh0uEve.mjs.map +1 -0
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/pipeline-runner/index.js +1 -1
- package/dist/pipeline-runner/index.mjs +1 -1
- package/dist/stream-broker/@mf-types.zip +0 -0
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-CpCK52pE.mjs +19 -0
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-BN3K4dM8.mjs +20 -0
- package/dist/stream-broker/_stub.js +1 -1
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-B8d_i3jf.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CqeKw-Ig.mjs} +6 -6
- package/dist/stream-broker/{hostInit-oba_vMZE.mjs → hostInit-DkjoXTMb.mjs} +6 -6
- package/dist/stream-broker/{index-COebxMhm.mjs → index-BP0-1QYT.mjs} +1923 -2181
- package/dist/stream-broker/{index-BkB3U-Tc.mjs → index-DKercbDS.mjs} +572 -569
- package/dist/stream-broker/{index-BAZcm437.mjs → index-lmXLeXy8.mjs} +1 -1
- package/dist/stream-broker/index.js +4 -4
- package/dist/stream-broker/index.js.map +1 -1
- package/dist/stream-broker/index.mjs +4 -4
- package/dist/stream-broker/index.mjs.map +1 -1
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/index-BBpVDiWL.js.map +0 -1
- package/dist/index-BwLnHesq.mjs.map +0 -1
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-p-Z3JTk9.mjs +0 -19
- package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-MYpjp-jd.mjs +0 -20
|
@@ -10296,51 +10296,6 @@ const AuthResultSchema = object({
|
|
|
10296
10296
|
validateToken: method(object({ token: string() }), AuthResultSchema.nullable())
|
|
10297
10297
|
}
|
|
10298
10298
|
});
|
|
10299
|
-
const AuthProviderInfoSchema = object({
|
|
10300
|
-
/** Stable id matching the addon id (used for `getLoginUrl({addonId,…})`). */
|
|
10301
|
-
addonId: string(),
|
|
10302
|
-
/**
|
|
10303
|
-
* Per-instance id when one addon registers multiple "logical"
|
|
10304
|
-
* providers (e.g. OIDC with Google + Microsoft + custom). The login
|
|
10305
|
-
* URL becomes `/addon/${addonId}/${instanceId}/start` — handler reads
|
|
10306
|
-
* `:instanceId` from the route. Empty/unset means the addon is a
|
|
10307
|
-
* single-instance provider; the URL is `/addon/${addonId}/start`.
|
|
10308
|
-
*/
|
|
10309
|
-
instanceId: string().optional(),
|
|
10310
|
-
/** Display label shown on the login button + admin row. */
|
|
10311
|
-
displayName: string(),
|
|
10312
|
-
/** Optional iconography hint (lucide-react icon name OR emoji). */
|
|
10313
|
-
icon: string().optional(),
|
|
10314
|
-
/** When true, the provider exposes a redirect-based login flow
|
|
10315
|
-
* (`getLoginUrl` returns a URL the browser navigates to). */
|
|
10316
|
-
hasRedirectFlow: boolean(),
|
|
10317
|
-
/** When true, the provider exposes a credential-form login flow
|
|
10318
|
-
* (`validateCredentials` accepts username + password). */
|
|
10319
|
-
hasCredentialFlow: boolean(),
|
|
10320
|
-
/** Provider kind, drives admin-UI hint dispatch (oidc / saml / totp / …). */
|
|
10321
|
-
kind: string().optional(),
|
|
10322
|
-
/** Operator-facing status string (e.g. "Connected to https://login.acme.com"). */
|
|
10323
|
-
status: string().optional(),
|
|
10324
|
-
/** When false, the provider is registered but disabled by config; the
|
|
10325
|
-
* UI surfaces it as inactive without enumerating it for login. */
|
|
10326
|
-
enabled: boolean()
|
|
10327
|
-
});
|
|
10328
|
-
({
|
|
10329
|
-
methods: {
|
|
10330
|
-
/** All registered auth providers, both enabled and disabled. */
|
|
10331
|
-
listProviders: method(_void(), array(AuthProviderInfoSchema).readonly()),
|
|
10332
|
-
/**
|
|
10333
|
-
* Toggle a provider's enabled flag. Disabled providers stay
|
|
10334
|
-
* registered but aren't surfaced on the login page. The orchestrator
|
|
10335
|
-
* persists the state in `addon-settings` so it survives restarts.
|
|
10336
|
-
*/
|
|
10337
|
-
setProviderEnabled: method(
|
|
10338
|
-
object({ addonId: string(), enabled: boolean() }),
|
|
10339
|
-
object({ success: literal(true) }),
|
|
10340
|
-
{ kind: "mutation", auth: "admin" }
|
|
10341
|
-
)
|
|
10342
|
-
}
|
|
10343
|
-
});
|
|
10344
10299
|
const NetworkEndpointSchema = object({
|
|
10345
10300
|
url: string(),
|
|
10346
10301
|
hostname: string(),
|
|
@@ -10372,55 +10327,13 @@ const NetworkEndpointEntrySchema = NetworkEndpointSchema.extend({
|
|
|
10372
10327
|
getEndpoint: method(_void(), NetworkEndpointSchema.nullable()),
|
|
10373
10328
|
getStatus: method(_void(), NetworkAccessStatusSchema),
|
|
10374
10329
|
/**
|
|
10375
|
-
* Enumerate every active ingress entry.
|
|
10376
|
-
*
|
|
10377
|
-
*
|
|
10330
|
+
* Enumerate every active ingress entry. Providers that expose only a
|
|
10331
|
+
* single endpoint may omit this method; callers fall back to
|
|
10332
|
+
* `getEndpoint()` in that case.
|
|
10378
10333
|
*/
|
|
10379
10334
|
listEndpoints: method(_void(), array(NetworkEndpointEntrySchema).readonly())
|
|
10380
10335
|
}
|
|
10381
10336
|
});
|
|
10382
|
-
const RemoteAccessEndpointSchema = object({
|
|
10383
|
-
url: string(),
|
|
10384
|
-
hostname: string(),
|
|
10385
|
-
port: number(),
|
|
10386
|
-
protocol: _enum(["http", "https"])
|
|
10387
|
-
});
|
|
10388
|
-
const RemoteAccessProviderInfoSchema = object({
|
|
10389
|
-
/** Stable id matching the addon id. */
|
|
10390
|
-
addonId: string(),
|
|
10391
|
-
/** Display label shown on the admin row — sourced from the addon manifest. */
|
|
10392
|
-
displayName: string(),
|
|
10393
|
-
/** When false, the provider is registered but disabled. */
|
|
10394
|
-
enabled: boolean(),
|
|
10395
|
-
/** True when the underlying tunnel/connection is up. */
|
|
10396
|
-
connected: boolean(),
|
|
10397
|
-
/** Public-facing endpoint, when connected. Null otherwise. */
|
|
10398
|
-
endpoint: RemoteAccessEndpointSchema.nullable(),
|
|
10399
|
-
/** Last error message (when connected=false), if available. */
|
|
10400
|
-
error: string().optional()
|
|
10401
|
-
});
|
|
10402
|
-
({
|
|
10403
|
-
methods: {
|
|
10404
|
-
/** All registered remote-access providers + their live status. */
|
|
10405
|
-
listProviders: method(_void(), array(RemoteAccessProviderInfoSchema).readonly()),
|
|
10406
|
-
/**
|
|
10407
|
-
* Start a specific provider's tunnel. Per-provider config still
|
|
10408
|
-
* lives on the addon's settings panel; this is just the on/off
|
|
10409
|
-
* trigger so the admin UI can manage the lifecycle from one place.
|
|
10410
|
-
*/
|
|
10411
|
-
startProvider: method(
|
|
10412
|
-
object({ addonId: string() }),
|
|
10413
|
-
RemoteAccessEndpointSchema,
|
|
10414
|
-
{ kind: "mutation", auth: "admin" }
|
|
10415
|
-
),
|
|
10416
|
-
/** Stop a specific provider's tunnel (idempotent on already-stopped). */
|
|
10417
|
-
stopProvider: method(
|
|
10418
|
-
object({ addonId: string() }),
|
|
10419
|
-
object({ success: literal(true) }),
|
|
10420
|
-
{ kind: "mutation", auth: "admin" }
|
|
10421
|
-
)
|
|
10422
|
-
}
|
|
10423
|
-
});
|
|
10424
10337
|
const TurnServerSchema = object({
|
|
10425
10338
|
/** Single URL or list of URLs (e.g. "turn:turn.example.com:3478?transport=udp"). */
|
|
10426
10339
|
urls: union([string(), array(string())]),
|
|
@@ -10440,45 +10353,6 @@ const TurnServerSchema = object({
|
|
|
10440
10353
|
)
|
|
10441
10354
|
}
|
|
10442
10355
|
});
|
|
10443
|
-
const TurnProviderInfoSchema = object({
|
|
10444
|
-
/** Stable id matching the addon id. */
|
|
10445
|
-
addonId: string(),
|
|
10446
|
-
/** Display label shown on the admin row — sourced from the addon manifest. */
|
|
10447
|
-
displayName: string(),
|
|
10448
|
-
/** When false, the provider is registered but disabled. */
|
|
10449
|
-
enabled: boolean(),
|
|
10450
|
-
/** Number of servers this provider is currently exposing. */
|
|
10451
|
-
serverCount: number(),
|
|
10452
|
-
/**
|
|
10453
|
-
* Flat list of every TURN/STUN URL this provider currently exposes.
|
|
10454
|
-
* One row per URL (multi-URL ICE server entries are flattened). The
|
|
10455
|
-
* admin UI shows this in a compact per-provider list so operators
|
|
10456
|
-
* can verify what's actually being negotiated without having to dig
|
|
10457
|
-
* into the combined `getAllServers` output.
|
|
10458
|
-
*/
|
|
10459
|
-
urls: array(string()).readonly(),
|
|
10460
|
-
/** Last fetch error (when serverCount=0 due to API failure), if any. */
|
|
10461
|
-
error: string().optional()
|
|
10462
|
-
});
|
|
10463
|
-
({
|
|
10464
|
-
methods: {
|
|
10465
|
-
/** All registered TURN providers + per-provider stats. */
|
|
10466
|
-
listProviders: method(_void(), array(TurnProviderInfoSchema).readonly()),
|
|
10467
|
-
/**
|
|
10468
|
-
* Combined list of TURN/STUN servers from all ENABLED providers.
|
|
10469
|
-
* Consumed by the WebRTC layer at session-creation time —
|
|
10470
|
-
* implementations may fetch fresh short-lived credentials each
|
|
10471
|
-
* call (e.g. Cloudflare API), so consumers SHOULD call per-session.
|
|
10472
|
-
*/
|
|
10473
|
-
getAllServers: method(_void(), array(TurnServerSchema).readonly()),
|
|
10474
|
-
/** Toggle a provider's enabled flag. */
|
|
10475
|
-
setProviderEnabled: method(
|
|
10476
|
-
object({ addonId: string(), enabled: boolean() }),
|
|
10477
|
-
object({ success: literal(true) }),
|
|
10478
|
-
{ kind: "mutation", auth: "admin" }
|
|
10479
|
-
)
|
|
10480
|
-
}
|
|
10481
|
-
});
|
|
10482
10356
|
const SnapshotImageSchema = object({
|
|
10483
10357
|
base64: string(),
|
|
10484
10358
|
contentType: string()
|
|
@@ -11951,7 +11825,7 @@ const AllowedAddressesSchema = object({
|
|
|
11951
11825
|
)
|
|
11952
11826
|
}
|
|
11953
11827
|
});
|
|
11954
|
-
const MeshEndpointSchema
|
|
11828
|
+
const MeshEndpointSchema = object({
|
|
11955
11829
|
/** Stable identifier within the provider (e.g. `mesh-ipv4`, `magicdns`, `funnel`). */
|
|
11956
11830
|
id: string(),
|
|
11957
11831
|
/** Operator-facing label (e.g. "Mesh IPv4", "MagicDNS"). */
|
|
@@ -12024,7 +11898,7 @@ const MeshStatusSchema = object({
|
|
|
12024
11898
|
/** Number of peers visible to this host (excluding self). */
|
|
12025
11899
|
peerCount: number(),
|
|
12026
11900
|
/** Every endpoint this provider exposes for the current host. */
|
|
12027
|
-
endpoints: array(MeshEndpointSchema
|
|
11901
|
+
endpoints: array(MeshEndpointSchema).readonly(),
|
|
12028
11902
|
/** Last error from the daemon, when not joined. */
|
|
12029
11903
|
error: string().optional(),
|
|
12030
11904
|
// ── Account / tenant identity (generic across providers) ────────
|
|
@@ -12187,105 +12061,6 @@ const MeshStatusSchema = object({
|
|
|
12187
12061
|
// tabs driven by this cap.
|
|
12188
12062
|
}
|
|
12189
12063
|
});
|
|
12190
|
-
const MeshEndpointSchema = object({
|
|
12191
|
-
id: string(),
|
|
12192
|
-
label: string(),
|
|
12193
|
-
scope: _enum(["mesh", "public"]),
|
|
12194
|
-
url: string(),
|
|
12195
|
-
hostname: string(),
|
|
12196
|
-
port: number(),
|
|
12197
|
-
protocol: _enum(["http", "https"])
|
|
12198
|
-
});
|
|
12199
|
-
const MeshProviderInfoSchema = object({
|
|
12200
|
-
/** Stable id matching the addon id. */
|
|
12201
|
-
addonId: string(),
|
|
12202
|
-
/** Display label shown on the admin row — sourced from the addon manifest. */
|
|
12203
|
-
displayName: string(),
|
|
12204
|
-
/** True when the host is joined to this provider's mesh. */
|
|
12205
|
-
joined: boolean(),
|
|
12206
|
-
/** Local mesh IP (empty when not joined). */
|
|
12207
|
-
meshIp: string(),
|
|
12208
|
-
/** MagicDNS / mesh hostname (empty when not configured). */
|
|
12209
|
-
magicDnsHostname: string(),
|
|
12210
|
-
/** Peer count (excluding self). */
|
|
12211
|
-
peerCount: number(),
|
|
12212
|
-
/** Active endpoints (mesh IP + MagicDNS + optional public Funnel). */
|
|
12213
|
-
endpoints: array(MeshEndpointSchema).readonly(),
|
|
12214
|
-
/** Last error reported by the provider. */
|
|
12215
|
-
error: string().optional(),
|
|
12216
|
-
// ── Generic identity fields mirrored from MeshStatus ─────────────
|
|
12217
|
-
/** Tenant / tailnet / network display name. Empty pre-join. */
|
|
12218
|
-
tenantName: string(),
|
|
12219
|
-
/** Mesh DNS suffix (e.g. tailXXXX.ts.net). Empty when not configured. */
|
|
12220
|
-
magicDnsSuffix: string(),
|
|
12221
|
-
/** Authenticated user / account login. Null for token-only providers. */
|
|
12222
|
-
userLogin: string().nullable(),
|
|
12223
|
-
/** Provider control-plane URL. */
|
|
12224
|
-
controlPlaneUrl: string(),
|
|
12225
|
-
/** Machine-key expiry (epoch ms). Null when keys don't rotate. */
|
|
12226
|
-
keyExpiry: number().nullable()
|
|
12227
|
-
});
|
|
12228
|
-
({
|
|
12229
|
-
methods: {
|
|
12230
|
-
/** All registered mesh-network providers + live status. */
|
|
12231
|
-
listProviders: method(_void(), array(MeshProviderInfoSchema).readonly()),
|
|
12232
|
-
/**
|
|
12233
|
-
* Join the mesh of a specific provider. Per-provider config still
|
|
12234
|
-
* lives on its settings panel; the orchestrator forwards.
|
|
12235
|
-
*/
|
|
12236
|
-
joinProvider: method(
|
|
12237
|
-
object({
|
|
12238
|
-
addonId: string(),
|
|
12239
|
-
authKey: string().min(8),
|
|
12240
|
-
hostname: string().optional()
|
|
12241
|
-
}),
|
|
12242
|
-
object({ joined: literal(true) }),
|
|
12243
|
-
{ kind: "mutation" }
|
|
12244
|
-
),
|
|
12245
|
-
leaveProvider: method(
|
|
12246
|
-
object({ addonId: string() }),
|
|
12247
|
-
object({ success: literal(true) }),
|
|
12248
|
-
{ kind: "mutation" }
|
|
12249
|
-
),
|
|
12250
|
-
/**
|
|
12251
|
-
* Browser-redirect login flow. Forwards to the named provider's
|
|
12252
|
-
* `mesh-network.startLogin` and returns the URL the daemon
|
|
12253
|
-
* prints. UI opens it in a new tab, then polls `listProviders`
|
|
12254
|
-
* for `joined: true`.
|
|
12255
|
-
*/
|
|
12256
|
-
startLoginProvider: method(
|
|
12257
|
-
object({
|
|
12258
|
-
addonId: string(),
|
|
12259
|
-
hostname: string().optional()
|
|
12260
|
-
}),
|
|
12261
|
-
object({ loginUrl: string() }),
|
|
12262
|
-
{ kind: "mutation" }
|
|
12263
|
-
),
|
|
12264
|
-
/**
|
|
12265
|
-
* Sign out of the provider's account entirely (`mesh-network.logout`).
|
|
12266
|
-
* Distinct from `leaveProvider` which only takes the host off-mesh;
|
|
12267
|
-
* `logoutProvider` wipes credentials so the next start requires a
|
|
12268
|
-
* fresh login.
|
|
12269
|
-
*/
|
|
12270
|
-
logoutProvider: method(
|
|
12271
|
-
object({ addonId: string() }),
|
|
12272
|
-
object({ loggedOut: literal(true) }),
|
|
12273
|
-
{ kind: "mutation" }
|
|
12274
|
-
),
|
|
12275
|
-
/**
|
|
12276
|
-
* Per-provider peer list. Forwards to `mesh-network.listPeers` on
|
|
12277
|
-
* the addressed provider. Separate from `listProviders` because
|
|
12278
|
-
* peer payloads can be large on a heavily-populated tailnet —
|
|
12279
|
-
* fetch only when the operator opens the Peers tab.
|
|
12280
|
-
*/
|
|
12281
|
-
listProviderPeers: method(
|
|
12282
|
-
object({ addonId: string() }),
|
|
12283
|
-
object({
|
|
12284
|
-
peers: array(MeshPeerSchema).readonly()
|
|
12285
|
-
})
|
|
12286
|
-
)
|
|
12287
|
-
}
|
|
12288
|
-
});
|
|
12289
12064
|
const MethodAccessSchema = _enum(["view", "create", "delete"]);
|
|
12290
12065
|
const AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
12291
12066
|
const AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
@@ -13155,6 +12930,29 @@ const CustomActionInputSchema = object({
|
|
|
13155
12930
|
isActive: boolean()
|
|
13156
12931
|
})).readonly()
|
|
13157
12932
|
),
|
|
12933
|
+
/**
|
|
12934
|
+
* Toggle a single collection-cap provider on/off. Generic write-side
|
|
12935
|
+
* counterpart of `listCapabilityProviders` — drives the per-provider
|
|
12936
|
+
* Enable/Disable affordance in admin pages (TURN servers, etc.)
|
|
12937
|
+
* without needing a bespoke orchestrator cap.
|
|
12938
|
+
*
|
|
12939
|
+
* Reaches the hub's `CapabilityRegistry` directly:
|
|
12940
|
+
* `enableCollectionProvider` / `disableCollectionProvider` flip the
|
|
12941
|
+
* registry-level `disabledProviders` set. `getCollectionEntries`
|
|
12942
|
+
* already filters disabled providers out, so a disabled provider
|
|
12943
|
+
* drops out of every collection aggregate immediately. Only valid
|
|
12944
|
+
* for `mode: 'collection'` caps — the registry no-ops + warns for
|
|
12945
|
+
* singletons.
|
|
12946
|
+
*/
|
|
12947
|
+
setCapabilityProviderEnabled: method(
|
|
12948
|
+
object({
|
|
12949
|
+
capName: string().min(1),
|
|
12950
|
+
addonId: string().min(1),
|
|
12951
|
+
enabled: boolean()
|
|
12952
|
+
}),
|
|
12953
|
+
object({ success: literal(true) }),
|
|
12954
|
+
{ kind: "mutation", auth: "admin" }
|
|
12955
|
+
),
|
|
13158
12956
|
/**
|
|
13159
12957
|
* Live-update one of the framework packages marked
|
|
13160
12958
|
* `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
|
|
@@ -14028,4 +13826,4 @@ export {
|
|
|
14028
13826
|
DEFAULT_AUDIO_ANALYZER_CONFIG as y,
|
|
14029
13827
|
AUDIO_BACKEND_CHOICES as z
|
|
14030
13828
|
};
|
|
14031
|
-
//# sourceMappingURL=index-
|
|
13829
|
+
//# sourceMappingURL=index-DKh0uEve.mjs.map
|