@camstack/addon-advanced-notifier 0.1.25 → 0.1.27

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/addon.js CHANGED
@@ -8499,10 +8499,30 @@ const StatusSchema = object({
8499
8499
  }
8500
8500
  });
8501
8501
  const LinkStateSchema = _enum(["unlinked", "linked", "error"]);
8502
+ const ExportSetupFieldSchema = object({
8503
+ label: string(),
8504
+ value: string(),
8505
+ /** Mask the value by default + render a reveal toggle (client id, secrets). */
8506
+ secret: boolean().optional()
8507
+ });
8508
+ const ExportSetupSchema = object({
8509
+ /** A string to render as a scannable QR — HAP `X-HM://…` URI, a pairing URL, etc. Omitted when there's nothing to scan. */
8510
+ qr: string().optional(),
8511
+ /** Label/value rows shown with a copy button (HAP setup code, OAuth URLs, client id, linked-account count, …). */
8512
+ fields: array(ExportSetupFieldSchema).readonly().optional(),
8513
+ /** Free-form operator instructions rendered above the fields. */
8514
+ note: string().optional()
8515
+ });
8502
8516
  const DeviceExportStatusSchema = object({
8503
8517
  linkState: LinkStateSchema,
8504
8518
  exposedDeviceCount: number(),
8505
- error: string().optional()
8519
+ error: string().optional(),
8520
+ /**
8521
+ * Optional pairing/account info the panel renders in a generic
8522
+ * "Setup" section. Addon-agnostic — the addon id identifies the
8523
+ * export target, never an `ecosystem` key here.
8524
+ */
8525
+ setup: ExportSetupSchema.optional()
8506
8526
  });
8507
8527
  const DeviceKindSchema = string();
8508
8528
  const ExposedDeviceSchema = object({
@@ -10172,51 +10192,6 @@ const AuthResultSchema = object({
10172
10192
  validateToken: method(object({ token: string() }), AuthResultSchema.nullable())
10173
10193
  }
10174
10194
  });
10175
- const AuthProviderInfoSchema = object({
10176
- /** Stable id matching the addon id (used for `getLoginUrl({addonId,…})`). */
10177
- addonId: string(),
10178
- /**
10179
- * Per-instance id when one addon registers multiple "logical"
10180
- * providers (e.g. OIDC with Google + Microsoft + custom). The login
10181
- * URL becomes `/addon/${addonId}/${instanceId}/start` — handler reads
10182
- * `:instanceId` from the route. Empty/unset means the addon is a
10183
- * single-instance provider; the URL is `/addon/${addonId}/start`.
10184
- */
10185
- instanceId: string().optional(),
10186
- /** Display label shown on the login button + admin row. */
10187
- displayName: string(),
10188
- /** Optional iconography hint (lucide-react icon name OR emoji). */
10189
- icon: string().optional(),
10190
- /** When true, the provider exposes a redirect-based login flow
10191
- * (`getLoginUrl` returns a URL the browser navigates to). */
10192
- hasRedirectFlow: boolean(),
10193
- /** When true, the provider exposes a credential-form login flow
10194
- * (`validateCredentials` accepts username + password). */
10195
- hasCredentialFlow: boolean(),
10196
- /** Provider kind, drives admin-UI hint dispatch (oidc / saml / totp / …). */
10197
- kind: string().optional(),
10198
- /** Operator-facing status string (e.g. "Connected to https://login.acme.com"). */
10199
- status: string().optional(),
10200
- /** When false, the provider is registered but disabled by config; the
10201
- * UI surfaces it as inactive without enumerating it for login. */
10202
- enabled: boolean()
10203
- });
10204
- ({
10205
- methods: {
10206
- /** All registered auth providers, both enabled and disabled. */
10207
- listProviders: method(_void(), array(AuthProviderInfoSchema).readonly()),
10208
- /**
10209
- * Toggle a provider's enabled flag. Disabled providers stay
10210
- * registered but aren't surfaced on the login page. The orchestrator
10211
- * persists the state in `addon-settings` so it survives restarts.
10212
- */
10213
- setProviderEnabled: method(
10214
- object({ addonId: string(), enabled: boolean() }),
10215
- object({ success: literal(true) }),
10216
- { kind: "mutation", auth: "admin" }
10217
- )
10218
- }
10219
- });
10220
10195
  const NetworkEndpointSchema = object({
10221
10196
  url: string(),
10222
10197
  hostname: string(),
@@ -10248,55 +10223,13 @@ const NetworkEndpointEntrySchema = NetworkEndpointSchema.extend({
10248
10223
  getEndpoint: method(_void(), NetworkEndpointSchema.nullable()),
10249
10224
  getStatus: method(_void(), NetworkAccessStatusSchema),
10250
10225
  /**
10251
- * Enumerate every active ingress entry. Default implementation (when
10252
- * the provider omits this method) is derived from `getEndpoint()` —
10253
- * see the remote-access orchestrator for the fallback path.
10226
+ * Enumerate every active ingress entry. Providers that expose only a
10227
+ * single endpoint may omit this method; callers fall back to
10228
+ * `getEndpoint()` in that case.
10254
10229
  */
10255
10230
  listEndpoints: method(_void(), array(NetworkEndpointEntrySchema).readonly())
10256
10231
  }
10257
10232
  });
10258
- const RemoteAccessEndpointSchema = object({
10259
- url: string(),
10260
- hostname: string(),
10261
- port: number(),
10262
- protocol: _enum(["http", "https"])
10263
- });
10264
- const RemoteAccessProviderInfoSchema = object({
10265
- /** Stable id matching the addon id. */
10266
- addonId: string(),
10267
- /** Display label shown on the admin row — sourced from the addon manifest. */
10268
- displayName: string(),
10269
- /** When false, the provider is registered but disabled. */
10270
- enabled: boolean(),
10271
- /** True when the underlying tunnel/connection is up. */
10272
- connected: boolean(),
10273
- /** Public-facing endpoint, when connected. Null otherwise. */
10274
- endpoint: RemoteAccessEndpointSchema.nullable(),
10275
- /** Last error message (when connected=false), if available. */
10276
- error: string().optional()
10277
- });
10278
- ({
10279
- methods: {
10280
- /** All registered remote-access providers + their live status. */
10281
- listProviders: method(_void(), array(RemoteAccessProviderInfoSchema).readonly()),
10282
- /**
10283
- * Start a specific provider's tunnel. Per-provider config still
10284
- * lives on the addon's settings panel; this is just the on/off
10285
- * trigger so the admin UI can manage the lifecycle from one place.
10286
- */
10287
- startProvider: method(
10288
- object({ addonId: string() }),
10289
- RemoteAccessEndpointSchema,
10290
- { kind: "mutation", auth: "admin" }
10291
- ),
10292
- /** Stop a specific provider's tunnel (idempotent on already-stopped). */
10293
- stopProvider: method(
10294
- object({ addonId: string() }),
10295
- object({ success: literal(true) }),
10296
- { kind: "mutation", auth: "admin" }
10297
- )
10298
- }
10299
- });
10300
10233
  const TurnServerSchema = object({
10301
10234
  /** Single URL or list of URLs (e.g. "turn:turn.example.com:3478?transport=udp"). */
10302
10235
  urls: union([string(), array(string())]),
@@ -10316,45 +10249,6 @@ const TurnServerSchema = object({
10316
10249
  )
10317
10250
  }
10318
10251
  });
10319
- const TurnProviderInfoSchema = object({
10320
- /** Stable id matching the addon id. */
10321
- addonId: string(),
10322
- /** Display label shown on the admin row — sourced from the addon manifest. */
10323
- displayName: string(),
10324
- /** When false, the provider is registered but disabled. */
10325
- enabled: boolean(),
10326
- /** Number of servers this provider is currently exposing. */
10327
- serverCount: number(),
10328
- /**
10329
- * Flat list of every TURN/STUN URL this provider currently exposes.
10330
- * One row per URL (multi-URL ICE server entries are flattened). The
10331
- * admin UI shows this in a compact per-provider list so operators
10332
- * can verify what's actually being negotiated without having to dig
10333
- * into the combined `getAllServers` output.
10334
- */
10335
- urls: array(string()).readonly(),
10336
- /** Last fetch error (when serverCount=0 due to API failure), if any. */
10337
- error: string().optional()
10338
- });
10339
- ({
10340
- methods: {
10341
- /** All registered TURN providers + per-provider stats. */
10342
- listProviders: method(_void(), array(TurnProviderInfoSchema).readonly()),
10343
- /**
10344
- * Combined list of TURN/STUN servers from all ENABLED providers.
10345
- * Consumed by the WebRTC layer at session-creation time —
10346
- * implementations may fetch fresh short-lived credentials each
10347
- * call (e.g. Cloudflare API), so consumers SHOULD call per-session.
10348
- */
10349
- getAllServers: method(_void(), array(TurnServerSchema).readonly()),
10350
- /** Toggle a provider's enabled flag. */
10351
- setProviderEnabled: method(
10352
- object({ addonId: string(), enabled: boolean() }),
10353
- object({ success: literal(true) }),
10354
- { kind: "mutation", auth: "admin" }
10355
- )
10356
- }
10357
- });
10358
10252
  const SnapshotImageSchema = object({
10359
10253
  base64: string(),
10360
10254
  contentType: string()
@@ -11829,7 +11723,7 @@ const AllowedAddressesSchema = object({
11829
11723
  )
11830
11724
  }
11831
11725
  });
11832
- const MeshEndpointSchema$1 = object({
11726
+ const MeshEndpointSchema = object({
11833
11727
  /** Stable identifier within the provider (e.g. `mesh-ipv4`, `magicdns`, `funnel`). */
11834
11728
  id: string(),
11835
11729
  /** Operator-facing label (e.g. "Mesh IPv4", "MagicDNS"). */
@@ -11902,7 +11796,7 @@ const MeshStatusSchema = object({
11902
11796
  /** Number of peers visible to this host (excluding self). */
11903
11797
  peerCount: number(),
11904
11798
  /** Every endpoint this provider exposes for the current host. */
11905
- endpoints: array(MeshEndpointSchema$1).readonly(),
11799
+ endpoints: array(MeshEndpointSchema).readonly(),
11906
11800
  /** Last error from the daemon, when not joined. */
11907
11801
  error: string().optional(),
11908
11802
  // ── Account / tenant identity (generic across providers) ────────
@@ -11935,7 +11829,25 @@ const MeshStatusSchema = object({
11935
11829
  * doesn't rotate keys for the bound host. Operator-facing surface
11936
11830
  * for "your access expires on …" banners.
11937
11831
  */
11938
- keyExpiry: number().nullable()
11832
+ keyExpiry: number().nullable(),
11833
+ // ── Onboard-daemon handoff (Tailscale, generic slot) ────────────
11834
+ /**
11835
+ * When the provider runs its OWN mesh daemon (e.g. the Tailscale
11836
+ * client addon in `onboard` mode spawns a private `tailscaled`),
11837
+ * this carries the local control-socket path. Companion addons that
11838
+ * must drive the SAME daemon — chiefly `tailscale-ingress` for
11839
+ * Serve/Funnel — read it to point their CLI at the right socket
11840
+ * instead of the system default. Empty when the provider uses the
11841
+ * host's system daemon (or doesn't have the concept).
11842
+ */
11843
+ daemonSocket: string().optional(),
11844
+ /**
11845
+ * Path to the mesh CLI binary the provider downloaded for onboard
11846
+ * mode. Companion addons reuse it so they don't need a system
11847
+ * install when the operator chose a fully self-contained mesh.
11848
+ * Empty in host mode.
11849
+ */
11850
+ daemonCliPath: string().optional()
11939
11851
  });
11940
11852
  ({
11941
11853
  methods: {
@@ -12047,105 +11959,6 @@ const MeshStatusSchema = object({
12047
11959
  // tabs driven by this cap.
12048
11960
  }
12049
11961
  });
12050
- const MeshEndpointSchema = object({
12051
- id: string(),
12052
- label: string(),
12053
- scope: _enum(["mesh", "public"]),
12054
- url: string(),
12055
- hostname: string(),
12056
- port: number(),
12057
- protocol: _enum(["http", "https"])
12058
- });
12059
- const MeshProviderInfoSchema = object({
12060
- /** Stable id matching the addon id. */
12061
- addonId: string(),
12062
- /** Display label shown on the admin row — sourced from the addon manifest. */
12063
- displayName: string(),
12064
- /** True when the host is joined to this provider's mesh. */
12065
- joined: boolean(),
12066
- /** Local mesh IP (empty when not joined). */
12067
- meshIp: string(),
12068
- /** MagicDNS / mesh hostname (empty when not configured). */
12069
- magicDnsHostname: string(),
12070
- /** Peer count (excluding self). */
12071
- peerCount: number(),
12072
- /** Active endpoints (mesh IP + MagicDNS + optional public Funnel). */
12073
- endpoints: array(MeshEndpointSchema).readonly(),
12074
- /** Last error reported by the provider. */
12075
- error: string().optional(),
12076
- // ── Generic identity fields mirrored from MeshStatus ─────────────
12077
- /** Tenant / tailnet / network display name. Empty pre-join. */
12078
- tenantName: string(),
12079
- /** Mesh DNS suffix (e.g. tailXXXX.ts.net). Empty when not configured. */
12080
- magicDnsSuffix: string(),
12081
- /** Authenticated user / account login. Null for token-only providers. */
12082
- userLogin: string().nullable(),
12083
- /** Provider control-plane URL. */
12084
- controlPlaneUrl: string(),
12085
- /** Machine-key expiry (epoch ms). Null when keys don't rotate. */
12086
- keyExpiry: number().nullable()
12087
- });
12088
- ({
12089
- methods: {
12090
- /** All registered mesh-network providers + live status. */
12091
- listProviders: method(_void(), array(MeshProviderInfoSchema).readonly()),
12092
- /**
12093
- * Join the mesh of a specific provider. Per-provider config still
12094
- * lives on its settings panel; the orchestrator forwards.
12095
- */
12096
- joinProvider: method(
12097
- object({
12098
- addonId: string(),
12099
- authKey: string().min(8),
12100
- hostname: string().optional()
12101
- }),
12102
- object({ joined: literal(true) }),
12103
- { kind: "mutation" }
12104
- ),
12105
- leaveProvider: method(
12106
- object({ addonId: string() }),
12107
- object({ success: literal(true) }),
12108
- { kind: "mutation" }
12109
- ),
12110
- /**
12111
- * Browser-redirect login flow. Forwards to the named provider's
12112
- * `mesh-network.startLogin` and returns the URL the daemon
12113
- * prints. UI opens it in a new tab, then polls `listProviders`
12114
- * for `joined: true`.
12115
- */
12116
- startLoginProvider: method(
12117
- object({
12118
- addonId: string(),
12119
- hostname: string().optional()
12120
- }),
12121
- object({ loginUrl: string() }),
12122
- { kind: "mutation" }
12123
- ),
12124
- /**
12125
- * Sign out of the provider's account entirely (`mesh-network.logout`).
12126
- * Distinct from `leaveProvider` which only takes the host off-mesh;
12127
- * `logoutProvider` wipes credentials so the next start requires a
12128
- * fresh login.
12129
- */
12130
- logoutProvider: method(
12131
- object({ addonId: string() }),
12132
- object({ loggedOut: literal(true) }),
12133
- { kind: "mutation" }
12134
- ),
12135
- /**
12136
- * Per-provider peer list. Forwards to `mesh-network.listPeers` on
12137
- * the addressed provider. Separate from `listProviders` because
12138
- * peer payloads can be large on a heavily-populated tailnet —
12139
- * fetch only when the operator opens the Peers tab.
12140
- */
12141
- listProviderPeers: method(
12142
- object({ addonId: string() }),
12143
- object({
12144
- peers: array(MeshPeerSchema).readonly()
12145
- })
12146
- )
12147
- }
12148
- });
12149
11962
  const MethodAccessSchema = _enum(["view", "create", "delete"]);
12150
11963
  const AllowedProviderSchema = union([literal("*"), array(string())]);
12151
11964
  const AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
@@ -12821,6 +12634,21 @@ const AddonAutoUpdateSchema = ChannelWithInheritSchema;
12821
12634
  const RestartAddonResultSchema = unknown();
12822
12635
  const InstallPackageResultSchema = unknown();
12823
12636
  const ReloadPackagesResultSchema = unknown();
12637
+ const UpdateFrameworkPackageResultSchema = object({
12638
+ packageName: string(),
12639
+ fromVersion: string(),
12640
+ toVersion: string(),
12641
+ /** Ms-epoch the server scheduled its self-restart. */
12642
+ restartingAt: number()
12643
+ });
12644
+ const FrameworkPackageStatusSchema = object({
12645
+ packageName: string(),
12646
+ currentVersion: string(),
12647
+ latestVersion: string().nullable(),
12648
+ hasUpdate: boolean(),
12649
+ /** Optional manifest description for the row tooltip. */
12650
+ description: string().optional()
12651
+ });
12824
12652
  const LogStreamEntrySchema = object({
12825
12653
  timestamp: string(),
12826
12654
  level: string(),
@@ -12880,13 +12708,29 @@ const CustomActionInputSchema = object({
12880
12708
  object({ query: string().optional() }),
12881
12709
  array(SearchResultSchema)
12882
12710
  ),
12711
+ /**
12712
+ * Available package updates for a node. `nodeId` omitted (or
12713
+ * `'hub'`) checks the hub's own installed packages; an agent
12714
+ * `nodeId` checks that agent's installed roster against npm
12715
+ * (the hub does the npm lookups + diff — agents stay npm-free).
12716
+ */
12883
12717
  listUpdates: method(
12884
- _void(),
12718
+ object({ nodeId: string().optional() }),
12885
12719
  array(PackageUpdateSchema).readonly(),
12886
12720
  { auth: "admin" }
12887
12721
  ),
12722
+ /**
12723
+ * Update one package on a node. `nodeId` omitted (or `'hub'`)
12724
+ * installs on the hub via npm; an agent `nodeId` makes the hub
12725
+ * pack the resolved version and push the tarball to that agent
12726
+ * (`$agent.deploy` + `$agent.reload`) — agents need no npm runtime.
12727
+ */
12888
12728
  updatePackage: method(
12889
- object({ name: string().min(1), version: string().optional() }),
12729
+ object({
12730
+ name: string().min(1),
12731
+ version: string().optional(),
12732
+ nodeId: string().optional()
12733
+ }),
12890
12734
  unknown(),
12891
12735
  { kind: "mutation", auth: "admin" }
12892
12736
  ),
@@ -12907,12 +12751,128 @@ const CustomActionInputSchema = object({
12907
12751
  object({ rolledBackTo: string().nullable() }),
12908
12752
  { kind: "mutation", auth: "admin" }
12909
12753
  ),
12910
- forceRefresh: method(_void(), unknown(), { kind: "mutation", auth: "admin" }),
12754
+ /** Re-check updates for a node, bypassing any cache. `nodeId`
12755
+ * omitted (or `'hub'`) refreshes the hub; an agent `nodeId`
12756
+ * re-checks that agent's roster. */
12757
+ forceRefresh: method(
12758
+ object({ nodeId: string().optional() }),
12759
+ unknown(),
12760
+ { kind: "mutation", auth: "admin" }
12761
+ ),
12911
12762
  restartServer: method(
12912
12763
  object({ confirm: literal(true) }),
12913
12764
  unknown(),
12914
12765
  { kind: "mutation", auth: "admin" }
12915
12766
  ),
12767
+ /**
12768
+ * Most-recent restart marker (kind / packageName / from→to versions
12769
+ * / requestedBy / requestedAt). Returns `null` when this process
12770
+ * didn't boot from a tracked restart, or when the
12771
+ * post-boot retention window (5 min) has elapsed.
12772
+ *
12773
+ * Drives the admin-UI reconnect overlay's success toast — the
12774
+ * `system.restart-completed` event itself is fired before the
12775
+ * client has time to re-subscribe, so the client queries this on
12776
+ * first reconnect instead.
12777
+ */
12778
+ getLastRestart: method(
12779
+ _void(),
12780
+ object({
12781
+ kind: _enum(["framework-update", "manual", "system"]),
12782
+ packageName: string().optional(),
12783
+ fromVersion: string().optional(),
12784
+ toVersion: string().optional(),
12785
+ requestedBy: string().optional(),
12786
+ requestedAt: number()
12787
+ }).nullable(),
12788
+ { auth: "admin" }
12789
+ ),
12790
+ /**
12791
+ * Snapshot of the framework packages installed under the hub's
12792
+ * `<appRoot>/node_modules/`. Each row carries the currently
12793
+ * installed version and (best-effort) the latest version
12794
+ * available on npm. Drives the admin-UI "System packages" panel.
12795
+ *
12796
+ * Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
12797
+ */
12798
+ listFrameworkPackages: method(
12799
+ _void(),
12800
+ array(FrameworkPackageStatusSchema).readonly(),
12801
+ { auth: "admin" }
12802
+ ),
12803
+ /**
12804
+ * Cluster-wide capability-provider discovery. Returns the list of
12805
+ * `{ addonId, mode, isActive }` tuples for whatever addon(s)
12806
+ * currently provide the requested capability across the cluster.
12807
+ *
12808
+ * Why this lives on `addons` (and not on a `capabilities` cap of
12809
+ * its own): the hub's main-process `CapabilityRegistry` already
12810
+ * aggregates registrations from every forked group-runner and
12811
+ * remote agent via Moleculer event propagation — there's no
12812
+ * cross-process registry mirror to build, just an introspection
12813
+ * shim.
12814
+ *
12815
+ * Use this from addon code when you need to know whether another
12816
+ * addon has registered a specific cap (e.g. `tailscale-ingress`
12817
+ * checking `tailscale-client` is up before calling `tailscale
12818
+ * serve`). Don't reach for `ctx.capabilities.getCollectionEntries`
12819
+ * — that reads the LOCAL registry of the calling addon's group
12820
+ * runner and never sees providers in other processes. See
12821
+ * `CLAUDE.md` → Critical rules → ctx.api vs ctx.capabilities.
12822
+ */
12823
+ listCapabilityProviders: method(
12824
+ object({ capName: string().min(1) }),
12825
+ array(object({
12826
+ addonId: string(),
12827
+ mode: _enum(["singleton", "collection"]),
12828
+ isActive: boolean()
12829
+ })).readonly()
12830
+ ),
12831
+ /**
12832
+ * Toggle a single collection-cap provider on/off. Generic write-side
12833
+ * counterpart of `listCapabilityProviders` — drives the per-provider
12834
+ * Enable/Disable affordance in admin pages (TURN servers, etc.)
12835
+ * without needing a bespoke orchestrator cap.
12836
+ *
12837
+ * Reaches the hub's `CapabilityRegistry` directly:
12838
+ * `enableCollectionProvider` / `disableCollectionProvider` flip the
12839
+ * registry-level `disabledProviders` set. `getCollectionEntries`
12840
+ * already filters disabled providers out, so a disabled provider
12841
+ * drops out of every collection aggregate immediately. Only valid
12842
+ * for `mode: 'collection'` caps — the registry no-ops + warns for
12843
+ * singletons.
12844
+ */
12845
+ setCapabilityProviderEnabled: method(
12846
+ object({
12847
+ capName: string().min(1),
12848
+ addonId: string().min(1),
12849
+ enabled: boolean()
12850
+ }),
12851
+ object({ success: literal(true) }),
12852
+ { kind: "mutation", auth: "admin" }
12853
+ ),
12854
+ /**
12855
+ * Live-update one of the framework packages marked
12856
+ * `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
12857
+ * Runs `npm install --prefix <appRoot> <name>@<version> --no-save`,
12858
+ * writes a `.restart-pending` marker, emits `system.restarting`
12859
+ * and schedules a graceful process exit. The supervisor (Docker /
12860
+ * Electron / systemd) brings the hub back up; on first boot after
12861
+ * the restart the marker fires `system.restart-completed`.
12862
+ *
12863
+ * `version` defaults to `'latest'`. The allow-list of valid
12864
+ * `packageName` values is enforced server-side.
12865
+ *
12866
+ * Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
12867
+ */
12868
+ updateFrameworkPackage: method(
12869
+ object({
12870
+ packageName: string().min(1),
12871
+ version: string().optional()
12872
+ }),
12873
+ UpdateFrameworkPackageResultSchema,
12874
+ { kind: "mutation", auth: "admin" }
12875
+ ),
12916
12876
  getVersions: method(
12917
12877
  object({ name: string() }),
12918
12878
  array(PackageVersionInfoSchema).readonly()
@@ -12983,6 +12943,7 @@ var EventCategory = /* @__PURE__ */ ((EventCategory2) => {
12983
12943
  EventCategory2["SystemBoot"] = "system.boot";
12984
12944
  EventCategory2["SystemAddonsReady"] = "system.addons-ready";
12985
12945
  EventCategory2["SystemRestarting"] = "system.restarting";
12946
+ EventCategory2["SystemRestartCompleted"] = "system.restart-completed";
12986
12947
  EventCategory2["SystemReadyState"] = "system.ready-state";
12987
12948
  EventCategory2["AddonStarted"] = "addon.started";
12988
12949
  EventCategory2["AddonStopped"] = "addon.stopped";