@camstack/addon-post-analysis 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/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/enrichment-engine/index.js +1 -1
- package/dist/enrichment-engine/index.mjs +1 -1
- package/dist/{index-DjIIGJS2.js → index-DNpNyDJi.js} +29 -231
- package/dist/index-DNpNyDJi.js.map +1 -0
- package/dist/{index-DnAXaymw.mjs → index-tm6O4bWa.mjs} +29 -231
- package/dist/index-tm6O4bWa.mjs.map +1 -0
- package/dist/pipeline-analytics/@mf-types.zip +0 -0
- package/dist/pipeline-analytics/__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-CpCK52pE.mjs +19 -0
- package/dist/pipeline-analytics/__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-DEj77u_A.mjs +15 -0
- package/dist/pipeline-analytics/_stub.js +1 -1
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-BDtqUbh1.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-C7e1vVcD.mjs} +6 -6
- package/dist/pipeline-analytics/{hostInit-CtfhvKwy.mjs → hostInit-TFbPssJX.mjs} +6 -6
- package/dist/pipeline-analytics/{index-CzwXKSYE.mjs → index-BDPtaPA2.mjs} +572 -569
- package/dist/pipeline-analytics/{index-COebxMhm.mjs → index-BP0-1QYT.mjs} +1923 -2181
- package/dist/pipeline-analytics/{index-BgDjUxfg.mjs → index-DHiJ7A5x.mjs} +1 -1
- package/dist/pipeline-analytics/index.js +1 -1
- package/dist/pipeline-analytics/index.mjs +1 -1
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/dist/recording/index.js +2 -2
- package/dist/recording/index.mjs +2 -2
- package/dist/{recording-coordinator-CRJ4yA9t.mjs → recording-coordinator-BVFZsuQg.mjs} +2 -2
- package/dist/{recording-coordinator-CRJ4yA9t.mjs.map → recording-coordinator-BVFZsuQg.mjs.map} +1 -1
- package/dist/{recording-coordinator-UGTDbTdE.js → recording-coordinator-CL3NPb1p.js} +2 -2
- package/dist/{recording-coordinator-UGTDbTdE.js.map → recording-coordinator-CL3NPb1p.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-DjIIGJS2.js.map +0 -1
- package/dist/index-DnAXaymw.mjs.map +0 -1
- package/dist/pipeline-analytics/__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-p-Z3JTk9.mjs +0 -19
- package/dist/pipeline-analytics/__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-BfmtcT51.mjs +0 -15
|
@@ -10218,51 +10218,6 @@ const AuthResultSchema = object({
|
|
|
10218
10218
|
validateToken: method(object({ token: string() }), AuthResultSchema.nullable())
|
|
10219
10219
|
}
|
|
10220
10220
|
});
|
|
10221
|
-
const AuthProviderInfoSchema = object({
|
|
10222
|
-
/** Stable id matching the addon id (used for `getLoginUrl({addonId,…})`). */
|
|
10223
|
-
addonId: string(),
|
|
10224
|
-
/**
|
|
10225
|
-
* Per-instance id when one addon registers multiple "logical"
|
|
10226
|
-
* providers (e.g. OIDC with Google + Microsoft + custom). The login
|
|
10227
|
-
* URL becomes `/addon/${addonId}/${instanceId}/start` — handler reads
|
|
10228
|
-
* `:instanceId` from the route. Empty/unset means the addon is a
|
|
10229
|
-
* single-instance provider; the URL is `/addon/${addonId}/start`.
|
|
10230
|
-
*/
|
|
10231
|
-
instanceId: string().optional(),
|
|
10232
|
-
/** Display label shown on the login button + admin row. */
|
|
10233
|
-
displayName: string(),
|
|
10234
|
-
/** Optional iconography hint (lucide-react icon name OR emoji). */
|
|
10235
|
-
icon: string().optional(),
|
|
10236
|
-
/** When true, the provider exposes a redirect-based login flow
|
|
10237
|
-
* (`getLoginUrl` returns a URL the browser navigates to). */
|
|
10238
|
-
hasRedirectFlow: boolean(),
|
|
10239
|
-
/** When true, the provider exposes a credential-form login flow
|
|
10240
|
-
* (`validateCredentials` accepts username + password). */
|
|
10241
|
-
hasCredentialFlow: boolean(),
|
|
10242
|
-
/** Provider kind, drives admin-UI hint dispatch (oidc / saml / totp / …). */
|
|
10243
|
-
kind: string().optional(),
|
|
10244
|
-
/** Operator-facing status string (e.g. "Connected to https://login.acme.com"). */
|
|
10245
|
-
status: string().optional(),
|
|
10246
|
-
/** When false, the provider is registered but disabled by config; the
|
|
10247
|
-
* UI surfaces it as inactive without enumerating it for login. */
|
|
10248
|
-
enabled: boolean()
|
|
10249
|
-
});
|
|
10250
|
-
({
|
|
10251
|
-
methods: {
|
|
10252
|
-
/** All registered auth providers, both enabled and disabled. */
|
|
10253
|
-
listProviders: method(_void(), array(AuthProviderInfoSchema).readonly()),
|
|
10254
|
-
/**
|
|
10255
|
-
* Toggle a provider's enabled flag. Disabled providers stay
|
|
10256
|
-
* registered but aren't surfaced on the login page. The orchestrator
|
|
10257
|
-
* persists the state in `addon-settings` so it survives restarts.
|
|
10258
|
-
*/
|
|
10259
|
-
setProviderEnabled: method(
|
|
10260
|
-
object({ addonId: string(), enabled: boolean() }),
|
|
10261
|
-
object({ success: literal(true) }),
|
|
10262
|
-
{ kind: "mutation", auth: "admin" }
|
|
10263
|
-
)
|
|
10264
|
-
}
|
|
10265
|
-
});
|
|
10266
10221
|
const NetworkEndpointSchema = object({
|
|
10267
10222
|
url: string(),
|
|
10268
10223
|
hostname: string(),
|
|
@@ -10294,55 +10249,13 @@ const NetworkEndpointEntrySchema = NetworkEndpointSchema.extend({
|
|
|
10294
10249
|
getEndpoint: method(_void(), NetworkEndpointSchema.nullable()),
|
|
10295
10250
|
getStatus: method(_void(), NetworkAccessStatusSchema),
|
|
10296
10251
|
/**
|
|
10297
|
-
* Enumerate every active ingress entry.
|
|
10298
|
-
*
|
|
10299
|
-
*
|
|
10252
|
+
* Enumerate every active ingress entry. Providers that expose only a
|
|
10253
|
+
* single endpoint may omit this method; callers fall back to
|
|
10254
|
+
* `getEndpoint()` in that case.
|
|
10300
10255
|
*/
|
|
10301
10256
|
listEndpoints: method(_void(), array(NetworkEndpointEntrySchema).readonly())
|
|
10302
10257
|
}
|
|
10303
10258
|
});
|
|
10304
|
-
const RemoteAccessEndpointSchema = object({
|
|
10305
|
-
url: string(),
|
|
10306
|
-
hostname: string(),
|
|
10307
|
-
port: number(),
|
|
10308
|
-
protocol: _enum(["http", "https"])
|
|
10309
|
-
});
|
|
10310
|
-
const RemoteAccessProviderInfoSchema = object({
|
|
10311
|
-
/** Stable id matching the addon id. */
|
|
10312
|
-
addonId: string(),
|
|
10313
|
-
/** Display label shown on the admin row — sourced from the addon manifest. */
|
|
10314
|
-
displayName: string(),
|
|
10315
|
-
/** When false, the provider is registered but disabled. */
|
|
10316
|
-
enabled: boolean(),
|
|
10317
|
-
/** True when the underlying tunnel/connection is up. */
|
|
10318
|
-
connected: boolean(),
|
|
10319
|
-
/** Public-facing endpoint, when connected. Null otherwise. */
|
|
10320
|
-
endpoint: RemoteAccessEndpointSchema.nullable(),
|
|
10321
|
-
/** Last error message (when connected=false), if available. */
|
|
10322
|
-
error: string().optional()
|
|
10323
|
-
});
|
|
10324
|
-
({
|
|
10325
|
-
methods: {
|
|
10326
|
-
/** All registered remote-access providers + their live status. */
|
|
10327
|
-
listProviders: method(_void(), array(RemoteAccessProviderInfoSchema).readonly()),
|
|
10328
|
-
/**
|
|
10329
|
-
* Start a specific provider's tunnel. Per-provider config still
|
|
10330
|
-
* lives on the addon's settings panel; this is just the on/off
|
|
10331
|
-
* trigger so the admin UI can manage the lifecycle from one place.
|
|
10332
|
-
*/
|
|
10333
|
-
startProvider: method(
|
|
10334
|
-
object({ addonId: string() }),
|
|
10335
|
-
RemoteAccessEndpointSchema,
|
|
10336
|
-
{ kind: "mutation", auth: "admin" }
|
|
10337
|
-
),
|
|
10338
|
-
/** Stop a specific provider's tunnel (idempotent on already-stopped). */
|
|
10339
|
-
stopProvider: method(
|
|
10340
|
-
object({ addonId: string() }),
|
|
10341
|
-
object({ success: literal(true) }),
|
|
10342
|
-
{ kind: "mutation", auth: "admin" }
|
|
10343
|
-
)
|
|
10344
|
-
}
|
|
10345
|
-
});
|
|
10346
10259
|
const TurnServerSchema = object({
|
|
10347
10260
|
/** Single URL or list of URLs (e.g. "turn:turn.example.com:3478?transport=udp"). */
|
|
10348
10261
|
urls: union([string(), array(string())]),
|
|
@@ -10362,45 +10275,6 @@ const TurnServerSchema = object({
|
|
|
10362
10275
|
)
|
|
10363
10276
|
}
|
|
10364
10277
|
});
|
|
10365
|
-
const TurnProviderInfoSchema = object({
|
|
10366
|
-
/** Stable id matching the addon id. */
|
|
10367
|
-
addonId: string(),
|
|
10368
|
-
/** Display label shown on the admin row — sourced from the addon manifest. */
|
|
10369
|
-
displayName: string(),
|
|
10370
|
-
/** When false, the provider is registered but disabled. */
|
|
10371
|
-
enabled: boolean(),
|
|
10372
|
-
/** Number of servers this provider is currently exposing. */
|
|
10373
|
-
serverCount: number(),
|
|
10374
|
-
/**
|
|
10375
|
-
* Flat list of every TURN/STUN URL this provider currently exposes.
|
|
10376
|
-
* One row per URL (multi-URL ICE server entries are flattened). The
|
|
10377
|
-
* admin UI shows this in a compact per-provider list so operators
|
|
10378
|
-
* can verify what's actually being negotiated without having to dig
|
|
10379
|
-
* into the combined `getAllServers` output.
|
|
10380
|
-
*/
|
|
10381
|
-
urls: array(string()).readonly(),
|
|
10382
|
-
/** Last fetch error (when serverCount=0 due to API failure), if any. */
|
|
10383
|
-
error: string().optional()
|
|
10384
|
-
});
|
|
10385
|
-
({
|
|
10386
|
-
methods: {
|
|
10387
|
-
/** All registered TURN providers + per-provider stats. */
|
|
10388
|
-
listProviders: method(_void(), array(TurnProviderInfoSchema).readonly()),
|
|
10389
|
-
/**
|
|
10390
|
-
* Combined list of TURN/STUN servers from all ENABLED providers.
|
|
10391
|
-
* Consumed by the WebRTC layer at session-creation time —
|
|
10392
|
-
* implementations may fetch fresh short-lived credentials each
|
|
10393
|
-
* call (e.g. Cloudflare API), so consumers SHOULD call per-session.
|
|
10394
|
-
*/
|
|
10395
|
-
getAllServers: method(_void(), array(TurnServerSchema).readonly()),
|
|
10396
|
-
/** Toggle a provider's enabled flag. */
|
|
10397
|
-
setProviderEnabled: method(
|
|
10398
|
-
object({ addonId: string(), enabled: boolean() }),
|
|
10399
|
-
object({ success: literal(true) }),
|
|
10400
|
-
{ kind: "mutation", auth: "admin" }
|
|
10401
|
-
)
|
|
10402
|
-
}
|
|
10403
|
-
});
|
|
10404
10278
|
const SnapshotImageSchema = object({
|
|
10405
10279
|
base64: string(),
|
|
10406
10280
|
contentType: string()
|
|
@@ -11875,7 +11749,7 @@ const AllowedAddressesSchema = object({
|
|
|
11875
11749
|
)
|
|
11876
11750
|
}
|
|
11877
11751
|
});
|
|
11878
|
-
const MeshEndpointSchema
|
|
11752
|
+
const MeshEndpointSchema = object({
|
|
11879
11753
|
/** Stable identifier within the provider (e.g. `mesh-ipv4`, `magicdns`, `funnel`). */
|
|
11880
11754
|
id: string(),
|
|
11881
11755
|
/** Operator-facing label (e.g. "Mesh IPv4", "MagicDNS"). */
|
|
@@ -11948,7 +11822,7 @@ const MeshStatusSchema = object({
|
|
|
11948
11822
|
/** Number of peers visible to this host (excluding self). */
|
|
11949
11823
|
peerCount: number(),
|
|
11950
11824
|
/** Every endpoint this provider exposes for the current host. */
|
|
11951
|
-
endpoints: array(MeshEndpointSchema
|
|
11825
|
+
endpoints: array(MeshEndpointSchema).readonly(),
|
|
11952
11826
|
/** Last error from the daemon, when not joined. */
|
|
11953
11827
|
error: string().optional(),
|
|
11954
11828
|
// ── Account / tenant identity (generic across providers) ────────
|
|
@@ -12111,105 +11985,6 @@ const MeshStatusSchema = object({
|
|
|
12111
11985
|
// tabs driven by this cap.
|
|
12112
11986
|
}
|
|
12113
11987
|
});
|
|
12114
|
-
const MeshEndpointSchema = object({
|
|
12115
|
-
id: string(),
|
|
12116
|
-
label: string(),
|
|
12117
|
-
scope: _enum(["mesh", "public"]),
|
|
12118
|
-
url: string(),
|
|
12119
|
-
hostname: string(),
|
|
12120
|
-
port: number(),
|
|
12121
|
-
protocol: _enum(["http", "https"])
|
|
12122
|
-
});
|
|
12123
|
-
const MeshProviderInfoSchema = object({
|
|
12124
|
-
/** Stable id matching the addon id. */
|
|
12125
|
-
addonId: string(),
|
|
12126
|
-
/** Display label shown on the admin row — sourced from the addon manifest. */
|
|
12127
|
-
displayName: string(),
|
|
12128
|
-
/** True when the host is joined to this provider's mesh. */
|
|
12129
|
-
joined: boolean(),
|
|
12130
|
-
/** Local mesh IP (empty when not joined). */
|
|
12131
|
-
meshIp: string(),
|
|
12132
|
-
/** MagicDNS / mesh hostname (empty when not configured). */
|
|
12133
|
-
magicDnsHostname: string(),
|
|
12134
|
-
/** Peer count (excluding self). */
|
|
12135
|
-
peerCount: number(),
|
|
12136
|
-
/** Active endpoints (mesh IP + MagicDNS + optional public Funnel). */
|
|
12137
|
-
endpoints: array(MeshEndpointSchema).readonly(),
|
|
12138
|
-
/** Last error reported by the provider. */
|
|
12139
|
-
error: string().optional(),
|
|
12140
|
-
// ── Generic identity fields mirrored from MeshStatus ─────────────
|
|
12141
|
-
/** Tenant / tailnet / network display name. Empty pre-join. */
|
|
12142
|
-
tenantName: string(),
|
|
12143
|
-
/** Mesh DNS suffix (e.g. tailXXXX.ts.net). Empty when not configured. */
|
|
12144
|
-
magicDnsSuffix: string(),
|
|
12145
|
-
/** Authenticated user / account login. Null for token-only providers. */
|
|
12146
|
-
userLogin: string().nullable(),
|
|
12147
|
-
/** Provider control-plane URL. */
|
|
12148
|
-
controlPlaneUrl: string(),
|
|
12149
|
-
/** Machine-key expiry (epoch ms). Null when keys don't rotate. */
|
|
12150
|
-
keyExpiry: number().nullable()
|
|
12151
|
-
});
|
|
12152
|
-
({
|
|
12153
|
-
methods: {
|
|
12154
|
-
/** All registered mesh-network providers + live status. */
|
|
12155
|
-
listProviders: method(_void(), array(MeshProviderInfoSchema).readonly()),
|
|
12156
|
-
/**
|
|
12157
|
-
* Join the mesh of a specific provider. Per-provider config still
|
|
12158
|
-
* lives on its settings panel; the orchestrator forwards.
|
|
12159
|
-
*/
|
|
12160
|
-
joinProvider: method(
|
|
12161
|
-
object({
|
|
12162
|
-
addonId: string(),
|
|
12163
|
-
authKey: string().min(8),
|
|
12164
|
-
hostname: string().optional()
|
|
12165
|
-
}),
|
|
12166
|
-
object({ joined: literal(true) }),
|
|
12167
|
-
{ kind: "mutation" }
|
|
12168
|
-
),
|
|
12169
|
-
leaveProvider: method(
|
|
12170
|
-
object({ addonId: string() }),
|
|
12171
|
-
object({ success: literal(true) }),
|
|
12172
|
-
{ kind: "mutation" }
|
|
12173
|
-
),
|
|
12174
|
-
/**
|
|
12175
|
-
* Browser-redirect login flow. Forwards to the named provider's
|
|
12176
|
-
* `mesh-network.startLogin` and returns the URL the daemon
|
|
12177
|
-
* prints. UI opens it in a new tab, then polls `listProviders`
|
|
12178
|
-
* for `joined: true`.
|
|
12179
|
-
*/
|
|
12180
|
-
startLoginProvider: method(
|
|
12181
|
-
object({
|
|
12182
|
-
addonId: string(),
|
|
12183
|
-
hostname: string().optional()
|
|
12184
|
-
}),
|
|
12185
|
-
object({ loginUrl: string() }),
|
|
12186
|
-
{ kind: "mutation" }
|
|
12187
|
-
),
|
|
12188
|
-
/**
|
|
12189
|
-
* Sign out of the provider's account entirely (`mesh-network.logout`).
|
|
12190
|
-
* Distinct from `leaveProvider` which only takes the host off-mesh;
|
|
12191
|
-
* `logoutProvider` wipes credentials so the next start requires a
|
|
12192
|
-
* fresh login.
|
|
12193
|
-
*/
|
|
12194
|
-
logoutProvider: method(
|
|
12195
|
-
object({ addonId: string() }),
|
|
12196
|
-
object({ loggedOut: literal(true) }),
|
|
12197
|
-
{ kind: "mutation" }
|
|
12198
|
-
),
|
|
12199
|
-
/**
|
|
12200
|
-
* Per-provider peer list. Forwards to `mesh-network.listPeers` on
|
|
12201
|
-
* the addressed provider. Separate from `listProviders` because
|
|
12202
|
-
* peer payloads can be large on a heavily-populated tailnet —
|
|
12203
|
-
* fetch only when the operator opens the Peers tab.
|
|
12204
|
-
*/
|
|
12205
|
-
listProviderPeers: method(
|
|
12206
|
-
object({ addonId: string() }),
|
|
12207
|
-
object({
|
|
12208
|
-
peers: array(MeshPeerSchema).readonly()
|
|
12209
|
-
})
|
|
12210
|
-
)
|
|
12211
|
-
}
|
|
12212
|
-
});
|
|
12213
11988
|
const MethodAccessSchema = _enum(["view", "create", "delete"]);
|
|
12214
11989
|
const AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
12215
11990
|
const AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
@@ -13079,6 +12854,29 @@ const CustomActionInputSchema = object({
|
|
|
13079
12854
|
isActive: boolean()
|
|
13080
12855
|
})).readonly()
|
|
13081
12856
|
),
|
|
12857
|
+
/**
|
|
12858
|
+
* Toggle a single collection-cap provider on/off. Generic write-side
|
|
12859
|
+
* counterpart of `listCapabilityProviders` — drives the per-provider
|
|
12860
|
+
* Enable/Disable affordance in admin pages (TURN servers, etc.)
|
|
12861
|
+
* without needing a bespoke orchestrator cap.
|
|
12862
|
+
*
|
|
12863
|
+
* Reaches the hub's `CapabilityRegistry` directly:
|
|
12864
|
+
* `enableCollectionProvider` / `disableCollectionProvider` flip the
|
|
12865
|
+
* registry-level `disabledProviders` set. `getCollectionEntries`
|
|
12866
|
+
* already filters disabled providers out, so a disabled provider
|
|
12867
|
+
* drops out of every collection aggregate immediately. Only valid
|
|
12868
|
+
* for `mode: 'collection'` caps — the registry no-ops + warns for
|
|
12869
|
+
* singletons.
|
|
12870
|
+
*/
|
|
12871
|
+
setCapabilityProviderEnabled: method(
|
|
12872
|
+
object({
|
|
12873
|
+
capName: string().min(1),
|
|
12874
|
+
addonId: string().min(1),
|
|
12875
|
+
enabled: boolean()
|
|
12876
|
+
}),
|
|
12877
|
+
object({ success: literal(true) }),
|
|
12878
|
+
{ kind: "mutation", auth: "admin" }
|
|
12879
|
+
),
|
|
13082
12880
|
/**
|
|
13083
12881
|
* Live-update one of the framework packages marked
|
|
13084
12882
|
* `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
|
|
@@ -13726,4 +13524,4 @@ export {
|
|
|
13726
13524
|
tuple as t,
|
|
13727
13525
|
zoneAnalyticsCapability as z
|
|
13728
13526
|
};
|
|
13729
|
-
//# sourceMappingURL=index-
|
|
13527
|
+
//# sourceMappingURL=index-tm6O4bWa.mjs.map
|