@camstack/types 1.0.0 → 1.0.2

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/index.js CHANGED
@@ -3166,8 +3166,8 @@ var HF_BASE_URL = `https://huggingface.co/${HF_REPO}/resolve/main`;
3166
3166
  * Runtime defaults -- used by ConfigManager.get() for backward compatibility
3167
3167
  * until Plan B wires all runtime settings to the system_settings SQL table.
3168
3168
  *
3169
- * Moved from @camstack/kernel/config-schema to @camstack/types so that
3170
- * @camstack/core can reference it without a cross-package kernel import.
3169
+ * Moved from @camstack/system/config-schema to @camstack/types so that
3170
+ * @camstack/system can reference it without a cross-package kernel import.
3171
3171
  */
3172
3172
  var RUNTIME_DEFAULTS = {
3173
3173
  "features.streaming": true,
@@ -14927,7 +14927,7 @@ var CollectionIndexSchema = zod.z.object({
14927
14927
  * - With namespace: `{ namespace: 'events', collection: 'detections' }` →
14928
14928
  * `"<addonId>:events:detections"`
14929
14929
  *
14930
- * Implemented by `@camstack/core/builtins/sqlite-settings` (SQLite WAL backend).
14930
+ * Implemented by `@camstack/system/builtins/sqlite-settings` (SQLite WAL backend).
14931
14931
  * Addons access it via `ctx.api.settingsStore.*`.
14932
14932
  */
14933
14933
  var settingsStoreCapability = {
@@ -16112,7 +16112,7 @@ var deviceExportCapability = {
16112
16112
  * rebuilds without manual reload.
16113
16113
  *
16114
16114
  * The hub-local builtin `addon-pages-aggregator` (see
16115
- * `@camstack/core/builtins/addon-pages-aggregator`) registers the
16115
+ * `@camstack/system/builtins/addon-pages-aggregator`) registers the
16116
16116
  * provider. Splitting the public aggregator from the raw collection
16117
16117
  * keeps both ends in codegen — there's no hand-written
16118
16118
  * `addon-pages.router.ts` wrapper anymore.
@@ -16318,7 +16318,7 @@ var addonWidgetsSourceCapability = {
16318
16318
  * manual reload — same scheme used by `addon-pages`.
16319
16319
  *
16320
16320
  * The hub-local builtin `addon-widgets-aggregator` (see
16321
- * `@camstack/core/builtins/addon-widgets-aggregator`) registers the
16321
+ * `@camstack/system/builtins/addon-widgets-aggregator`) registers the
16322
16322
  * provider. Splitting the public aggregator from the raw collection
16323
16323
  * keeps both ends in codegen — there's no hand-written wrapper.
16324
16324
  */
@@ -18588,7 +18588,7 @@ var SnapshotImageSchema = zod.z.object({
18588
18588
  * straight from the camera (HTTP snapshot URL, ONVIF action, etc.).
18589
18589
  *
18590
18590
  * - **Wrapper** providers (kind:'wrapper'): register as a system
18591
- * provider (SnapshotAddon in `@camstack/core/builtins/snapshot`). The
18591
+ * provider (SnapshotAddon in `@camstack/system/builtins/snapshot`). The
18592
18592
  * wrapper owns the cache and invokes the native via
18593
18593
  * `ctx.getNativeProvider(snapshotCapability, deviceId)` on miss.
18594
18594
  *
@@ -20971,7 +20971,7 @@ var platformProbeCapability = {
20971
20971
  * clients — they reverse-connect to the hub. Exposing their interfaces
20972
20972
  * via the same surface would leak internal topology with no upside.
20973
20973
  *
20974
- * Implementation in `@camstack/core/builtins/local-network/`.
20974
+ * Implementation in `@camstack/system/builtins/local-network/`.
20975
20975
  */
20976
20976
  /** Coarse classification derived from the interface name + IP range. */
20977
20977
  var InterfaceKindEnum = zod.z.enum([
@@ -21696,7 +21696,7 @@ var systemCapability = {
21696
21696
  * jitter, and observed/peak bandwidth per device + per client.
21697
21697
  *
21698
21698
  * Implementation lives in the server's `NetworkQualityService` (thin
21699
- * wrapper over the shared `NetworkQualityTracker` from `@camstack/core`).
21699
+ * wrapper over the shared `NetworkQualityTracker` from `@camstack/system`).
21700
21700
  * The provider is registered from `trpc.router.ts` against the existing
21701
21701
  * service instance — no addon owns this state.
21702
21702
  *
package/dist/index.mjs CHANGED
@@ -3165,8 +3165,8 @@ var HF_BASE_URL = `https://huggingface.co/${HF_REPO}/resolve/main`;
3165
3165
  * Runtime defaults -- used by ConfigManager.get() for backward compatibility
3166
3166
  * until Plan B wires all runtime settings to the system_settings SQL table.
3167
3167
  *
3168
- * Moved from @camstack/kernel/config-schema to @camstack/types so that
3169
- * @camstack/core can reference it without a cross-package kernel import.
3168
+ * Moved from @camstack/system/config-schema to @camstack/types so that
3169
+ * @camstack/system can reference it without a cross-package kernel import.
3170
3170
  */
3171
3171
  var RUNTIME_DEFAULTS = {
3172
3172
  "features.streaming": true,
@@ -14926,7 +14926,7 @@ var CollectionIndexSchema = z.object({
14926
14926
  * - With namespace: `{ namespace: 'events', collection: 'detections' }` →
14927
14927
  * `"<addonId>:events:detections"`
14928
14928
  *
14929
- * Implemented by `@camstack/core/builtins/sqlite-settings` (SQLite WAL backend).
14929
+ * Implemented by `@camstack/system/builtins/sqlite-settings` (SQLite WAL backend).
14930
14930
  * Addons access it via `ctx.api.settingsStore.*`.
14931
14931
  */
14932
14932
  var settingsStoreCapability = {
@@ -16111,7 +16111,7 @@ var deviceExportCapability = {
16111
16111
  * rebuilds without manual reload.
16112
16112
  *
16113
16113
  * The hub-local builtin `addon-pages-aggregator` (see
16114
- * `@camstack/core/builtins/addon-pages-aggregator`) registers the
16114
+ * `@camstack/system/builtins/addon-pages-aggregator`) registers the
16115
16115
  * provider. Splitting the public aggregator from the raw collection
16116
16116
  * keeps both ends in codegen — there's no hand-written
16117
16117
  * `addon-pages.router.ts` wrapper anymore.
@@ -16317,7 +16317,7 @@ var addonWidgetsSourceCapability = {
16317
16317
  * manual reload — same scheme used by `addon-pages`.
16318
16318
  *
16319
16319
  * The hub-local builtin `addon-widgets-aggregator` (see
16320
- * `@camstack/core/builtins/addon-widgets-aggregator`) registers the
16320
+ * `@camstack/system/builtins/addon-widgets-aggregator`) registers the
16321
16321
  * provider. Splitting the public aggregator from the raw collection
16322
16322
  * keeps both ends in codegen — there's no hand-written wrapper.
16323
16323
  */
@@ -18587,7 +18587,7 @@ var SnapshotImageSchema = z.object({
18587
18587
  * straight from the camera (HTTP snapshot URL, ONVIF action, etc.).
18588
18588
  *
18589
18589
  * - **Wrapper** providers (kind:'wrapper'): register as a system
18590
- * provider (SnapshotAddon in `@camstack/core/builtins/snapshot`). The
18590
+ * provider (SnapshotAddon in `@camstack/system/builtins/snapshot`). The
18591
18591
  * wrapper owns the cache and invokes the native via
18592
18592
  * `ctx.getNativeProvider(snapshotCapability, deviceId)` on miss.
18593
18593
  *
@@ -20970,7 +20970,7 @@ var platformProbeCapability = {
20970
20970
  * clients — they reverse-connect to the hub. Exposing their interfaces
20971
20971
  * via the same surface would leak internal topology with no upside.
20972
20972
  *
20973
- * Implementation in `@camstack/core/builtins/local-network/`.
20973
+ * Implementation in `@camstack/system/builtins/local-network/`.
20974
20974
  */
20975
20975
  /** Coarse classification derived from the interface name + IP range. */
20976
20976
  var InterfaceKindEnum = z.enum([
@@ -21695,7 +21695,7 @@ var systemCapability = {
21695
21695
  * jitter, and observed/peak bandwidth per device + per client.
21696
21696
  *
21697
21697
  * Implementation lives in the server's `NetworkQualityService` (thin
21698
- * wrapper over the shared `NetworkQualityTracker` from `@camstack/core`).
21698
+ * wrapper over the shared `NetworkQualityTracker` from `@camstack/system`).
21699
21699
  * The provider is registered from `trpc.router.ts` against the existing
21700
21700
  * service instance — no addon owns this state.
21701
21701
  *
@@ -504,7 +504,7 @@ export interface AddonContext<TConfig = Record<string, unknown>> {
504
504
  * `ctx.deps.ensureBinary(...)` / `ensureFfmpeg()` / `ensurePython()` to
505
505
  * materialise per-addon runtime deps under the shared `data/deps` tree.
506
506
  * Injected by the addon host so addons never import the concrete
507
- * implementation from `@camstack/core` directly.
507
+ * implementation from `@camstack/system` directly.
508
508
  */
509
509
  readonly deps: IAddonDepsManager;
510
510
  /**
@@ -943,7 +943,7 @@ export interface AddonPackageManifest {
943
943
  * regular addon installer.
944
944
  *
945
945
  * Mutually-exclusive with `addons[]` in concept but not in code:
946
- * `@camstack/core` is both a system package AND ships builtin addons,
946
+ * `@camstack/system` is both a system package AND ships builtin addons,
947
947
  * so both fields can coexist on it.
948
948
  */
949
949
  readonly system?: boolean;
@@ -1089,7 +1089,7 @@ export interface RunnerAddonPlacement {
1089
1089
  * id (the addon runs on its own dedicated runner) or a co-location
1090
1090
  * group name (every addon under that key shares one runner). Computed
1091
1091
  * by `AddonRegistryService.buildAddonGroupPlan` and fed to
1092
- * `initializeAddonGroup`. `@camstack/core` builtins are absent — they
1092
+ * `initializeAddonGroup`. `@camstack/system` builtins are absent — they
1093
1093
  * stay in-process on the hub.
1094
1094
  */
1095
1095
  export type RunnerPlan = ReadonlyMap<string, readonly RunnerAddonPlacement[]>;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * API-shared types — types that originated in @camstack/core, @camstack/kernel,
2
+ * API-shared types — types that originated in @camstack/system, @camstack/system,
3
3
  * or server internals and are now canonical here so the generated API type file
4
4
  * has zero external dependencies beyond @camstack/types.
5
5
  */
@@ -268,7 +268,7 @@ export interface SystemReadyStatePayload {
268
268
  * Payload carried on `system.restarting` (when the restart is being
269
269
  * scheduled) and `system.restart-completed` (after the new process
270
270
  * boots). Mirrors the on-disk `.restart-pending` marker schema in
271
- * `@camstack/kernel` so consumers don't need a separate type.
271
+ * `@camstack/system` so consumers don't need a separate type.
272
272
  *
273
273
  * Optional fields stay optional because not every restart is a
274
274
  * framework update — operator-triggered "restart hub" flows can fire
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Minimal interfaces for kernel services consumed by @camstack/core.
2
+ * Minimal interfaces for kernel services consumed by @camstack/system.
3
3
  *
4
4
  * These abstractions break the direct core -> kernel import dependency,
5
5
  * allowing core to depend only on @camstack/types while kernel provides
@@ -12,7 +12,7 @@ import type { InferenceOutput } from './pipeline-runner.js';
12
12
  import type { CapabilityProviderMap } from './capability.js';
13
13
  /**
14
14
  * Capability registry interface exposing what core/addon consumers need.
15
- * The full CapabilityRegistry in @camstack/kernel implements this and more.
15
+ * The full CapabilityRegistry in @camstack/system implements this and more.
16
16
  */
17
17
  export interface ICapabilityRegistry {
18
18
  /** Get all active collection providers for a capability. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",
@@ -37,7 +37,7 @@
37
37
  "./package.json": "./package.json"
38
38
  },
39
39
  "camstack": {
40
- "system": true,
40
+ "system": false,
41
41
  "displayName": "CamStack Types",
42
42
  "description": "Shared cap definitions, schemas, and runtime contracts. Required at server boot; updating restarts the hub."
43
43
  },