Compare commits

..

4 Commits

Author SHA1 Message Date
Koushik Dutta
adcdd18497 server: add cluster worker address 2025-02-05 11:51:07 -08:00
Koushik Dutta
a95b77fe26 sdk: add cluster worker address 2025-02-05 11:49:26 -08:00
Koushik Dutta
3ff75f0fde postbeta 2025-02-05 08:01:46 -08:00
Koushik Dutta
eecd38d271 postrelease 2025-02-05 08:01:39 -08:00
9 changed files with 18 additions and 15 deletions

4
sdk/package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/sdk",
"version": "0.3.111",
"version": "0.3.112",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@scrypted/sdk",
"version": "0.3.111",
"version": "0.3.112",
"license": "ISC",
"dependencies": {
"@babel/preset-typescript": "^7.26.0",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/sdk",
"version": "0.3.111",
"version": "0.3.112",
"description": "",
"main": "dist/src/index.js",
"exports": {

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/types",
"version": "0.3.103",
"version": "0.3.104",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/types",
"version": "0.3.103",
"version": "0.3.104",
"license": "ISC"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/types",
"version": "0.3.103",
"version": "0.3.104",
"description": "",
"main": "dist/index.js",
"author": "",

View File

@@ -467,6 +467,7 @@ class ClusterForkInterfaceOptions(TypedDict):
class ClusterWorker(TypedDict):
address: str
forks: list[ClusterFork]
id: str
labels: list[str]
@@ -956,7 +957,7 @@ class TamperState(TypedDict):
pass
TYPES_VERSION = "0.3.103"
TYPES_VERSION = "0.3.104"
class AirPurifier:

View File

@@ -2713,6 +2713,7 @@ export interface ClusterWorker {
labels: string[];
forks: ClusterFork[];
mode: 'server' | 'client';
address: string;
}
export interface ClusterManager {

View File

@@ -1,18 +1,18 @@
{
"name": "@scrypted/server",
"version": "0.132.1",
"version": "0.134.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@scrypted/server",
"version": "0.132.1",
"version": "0.134.1",
"hasInstallScript": true,
"license": "ISC",
"dependencies": {
"@scrypted/ffmpeg-static": "^6.1.0-build3",
"@scrypted/node-pty": "^1.0.22",
"@scrypted/types": "^0.3.100",
"@scrypted/types": "^0.3.104",
"adm-zip": "^0.5.16",
"body-parser": "^1.20.3",
"cookie-parser": "^1.4.7",
@@ -557,9 +557,9 @@
}
},
"node_modules/@scrypted/types": {
"version": "0.3.100",
"resolved": "https://registry.npmjs.org/@scrypted/types/-/types-0.3.100.tgz",
"integrity": "sha512-s/07QCxjMWqODgWj2UpLehzeo2cGFrCA9X8mvpG3owT/+q+sb8v/UUcw9TLHGSN6yIriNhceg3i9WO07kEIT6A==",
"version": "0.3.104",
"resolved": "https://registry.npmjs.org/@scrypted/types/-/types-0.3.104.tgz",
"integrity": "sha512-aFqB9mDmKoKLGF6O3+N71V+fPeMkIO2xC+2/oUF/xOvhG0D9fmQwTaV2gJtwVZJwx/ZgWGU85dIWqmxP8YfcDg==",
"license": "ISC"
},
"node_modules/@types/adm-zip": {

View File

@@ -1,11 +1,11 @@
{
"name": "@scrypted/server",
"version": "0.132.3",
"version": "0.135.0",
"description": "",
"dependencies": {
"@scrypted/ffmpeg-static": "^6.1.0-build3",
"@scrypted/node-pty": "^1.0.22",
"@scrypted/types": "^0.3.100",
"@scrypted/types": "^0.3.104",
"adm-zip": "^0.5.16",
"body-parser": "^1.20.3",
"cookie-parser": "^1.4.7",

View File

@@ -109,6 +109,7 @@ export class ClusterForkService {
labels: worker.labels,
forks: [...worker.forks] as ClusterFork[],
mode: worker.mode,
address: worker.address,
};
}
return ret;