@camera.ui/browser 0.0.129 → 0.0.130

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.d.ts CHANGED
@@ -434,9 +434,14 @@ export declare class NamespaceManager {
434
434
  pluginChildRpc: `plugin.${pluginId}.child.rpc`,
435
435
  pluginChild: `plugin.${pluginId}.child`,
436
436
  pluginStorageRpc: `plugin.${pluginId}.storage.rpc`,
437
+ pluginConfigStoreRpc: `plugin.${pluginId}.configstore.rpc`,
437
438
  };
438
439
  }
439
440
 
441
+ static pluginFileServeRpc(pluginId: string): string {
442
+ return `plugin.${pluginId}.fileserve.rpc`;
443
+ }
444
+
440
445
  static cameraNamespaces(cameraId: string): CameraNamespaces {
441
446
  return {
442
447
  cameraSubject: `camera.${cameraId}.subscriber`,
@@ -524,13 +529,21 @@ export declare class NamespaceManager {
524
529
  return `worker.${agentId}.rpc`;
525
530
  }
526
531
 
527
- static workerHeartbeat(): string {
528
- return 'workers.heartbeat';
532
+ static workerManagerRpc(): string {
533
+ return 'workers.manager.rpc';
534
+ }
535
+
536
+ static workerSync(agentId: string): string {
537
+ return `worker.${agentId}.sync`;
529
538
  }
530
539
 
531
540
  static workerDisconnect(): string {
532
541
  return 'workers.disconnect';
533
542
  }
543
+
544
+ static workerLogs(): string {
545
+ return 'workers.logs';
546
+ }
534
547
  }
535
548
 
536
549
  export { NatsStatus }
@@ -566,6 +579,7 @@ export declare interface PluginNamespaces {
566
579
  pluginChildRpc: string;
567
580
  pluginChild: string;
568
581
  pluginStorageRpc: string;
582
+ pluginConfigStoreRpc: string;
569
583
  }
570
584
 
571
585
  export declare interface PluginSensorNamespaces {
package/dist/index.js CHANGED
@@ -120,9 +120,13 @@ var NamespaceManager = class {
120
120
  pluginDeviceManagerSubject: `plugin.${pluginId}.deviceManager.subscriber`,
121
121
  pluginChildRpc: `plugin.${pluginId}.child.rpc`,
122
122
  pluginChild: `plugin.${pluginId}.child`,
123
- pluginStorageRpc: `plugin.${pluginId}.storage.rpc`
123
+ pluginStorageRpc: `plugin.${pluginId}.storage.rpc`,
124
+ pluginConfigStoreRpc: `plugin.${pluginId}.configstore.rpc`
124
125
  };
125
126
  }
127
+ static pluginFileServeRpc(pluginId) {
128
+ return `plugin.${pluginId}.fileserve.rpc`;
129
+ }
126
130
  static cameraNamespaces(cameraId) {
127
131
  return {
128
132
  cameraSubject: `camera.${cameraId}.subscriber`,
@@ -182,12 +186,18 @@ var NamespaceManager = class {
182
186
  static workerAgentRpc(agentId) {
183
187
  return `worker.${agentId}.rpc`;
184
188
  }
185
- static workerHeartbeat() {
186
- return "workers.heartbeat";
189
+ static workerManagerRpc() {
190
+ return "workers.manager.rpc";
191
+ }
192
+ static workerSync(agentId) {
193
+ return `worker.${agentId}.sync`;
187
194
  }
188
195
  static workerDisconnect() {
189
196
  return "workers.disconnect";
190
197
  }
198
+ static workerLogs() {
199
+ return "workers.logs";
200
+ }
191
201
  };
192
202
  //#endregion
193
203
  //#region src/composables/useRpc.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camera.ui/browser",
3
- "version": "0.0.129",
3
+ "version": "0.0.130",
4
4
  "description": "camera.ui browser client",
5
5
  "author": "seydx (https://github.com/cameraui/clients)",
6
6
  "type": "module",
@@ -16,10 +16,11 @@
16
16
  }
17
17
  },
18
18
  "scripts": {
19
- "build": "rimraf dist && vite build",
19
+ "build": "npm run install:cui && rimraf dist && vite build",
20
20
  "build:types": "vue-tsc --noEmit --declaration false --declarationMap false",
21
21
  "dev": "vite build --watch",
22
22
  "format": "prettier --write 'src/' --ignore-unknown --no-error-on-unmatched-pattern",
23
+ "install:cui": "cd ../../externals/camera.ui/server && npm i --save --ignore-scripts && cd ../../../clients/browser",
23
24
  "install-updates": "npm i --save",
24
25
  "lint": "eslint --fix .",
25
26
  "prepublishOnly": "npm i --package-lock-only && npm run lint && npm run format && npm run build",
@@ -30,7 +31,7 @@
30
31
  "peerDependencies": {
31
32
  "@camera.ui/logger": ">=0.0.2",
32
33
  "@camera.ui/rpc": ">=1.0.9",
33
- "@camera.ui/sdk": ">=0.0.11",
34
+ "@camera.ui/sdk": ">=0.0.14",
34
35
  "@camera.ui/transport": ">=0.0.1",
35
36
  "@vueuse/core": ">=14.3.0",
36
37
  "vue": ">=3.5.39"
@@ -38,17 +39,17 @@
38
39
  "devDependencies": {
39
40
  "@camera.ui/logger": "file:../../packages/logger",
40
41
  "@camera.ui/rpc": "^1.0.9",
41
- "@camera.ui/sdk": "~0.0.11",
42
+ "@camera.ui/sdk": "~0.0.14",
42
43
  "@camera.ui/transport": "file:../../packages/transport",
43
44
  "@eneris/push-receiver": "^4.3.1",
44
45
  "@microsoft/api-extractor": "^7.58.9",
45
46
  "@stylistic/eslint-plugin": "^5.10.0",
46
47
  "@types/webrtc": "^0.0.47",
47
- "@typescript-eslint/parser": "^8.62.1",
48
+ "@typescript-eslint/parser": "^8.63.0",
48
49
  "@vitejs/plugin-vue": "^6.0.7",
49
50
  "@vue/eslint-config-prettier": "^10.2.0",
50
51
  "@vue/eslint-config-typescript": "^14.9.0",
51
- "@vue/language-core": "^3.3.6",
52
+ "@vue/language-core": "^3.3.7",
52
53
  "@vue/tsconfig": "^0.9.1",
53
54
  "@vueuse/core": "^14.3.0",
54
55
  "@webgpu/types": "^0.1.71",
@@ -58,13 +59,13 @@
58
59
  "prettier": "^3.9.4",
59
60
  "rimraf": "^6.1.3",
60
61
  "typescript": "5.9.3",
61
- "typescript-eslint": "^8.62.1",
62
+ "typescript-eslint": "^8.63.0",
62
63
  "unplugin-dts": "^1.0.3",
63
64
  "updates": "^17.18.2",
64
65
  "vite": "^8.1.3",
65
- "vitest": "^4.1.9",
66
+ "vitest": "^4.1.10",
66
67
  "vue": "^3.5.39",
67
- "vue-tsc": "^3.3.6"
68
+ "vue-tsc": "^3.3.7"
68
69
  },
69
70
  "overrides": {
70
71
  "@vue/language-core": "$@vue/language-core"