@nextclaw/service 0.3.14 → 0.3.15
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/stores/local-ui-runtime.store.js +1 -1
- package/dist/stores/local-ui-runtime.store.js.map +1 -1
- package/dist/utils/remote/remote-runtime-support.utils.d.ts.map +1 -1
- package/dist/utils/remote/remote-runtime-support.utils.js +2 -2
- package/dist/utils/remote/remote-runtime-support.utils.js.map +1 -1
- package/package.json +26 -26
|
@@ -43,7 +43,7 @@ var LocalUiRuntimeStore = class {
|
|
|
43
43
|
apiUrl: `${uiUrl}/api`,
|
|
44
44
|
uiHost: uiConfig.host,
|
|
45
45
|
uiPort: uiConfig.port,
|
|
46
|
-
...existing?.remote ? { remote: existing.remote } : {}
|
|
46
|
+
...existing?.pid === pid && existing.remote ? { remote: existing.remote } : {}
|
|
47
47
|
};
|
|
48
48
|
this.write(state);
|
|
49
49
|
return state;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-ui-runtime.store.js","names":[],"sources":["../../src/stores/local-ui-runtime.store.ts"],"sourcesContent":["import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from \"node:fs\";\nimport { resolve } from \"node:path\";\nimport { getRunPath, type Config } from \"@nextclaw/core\";\nimport type { RemoteRuntimeState } from \"@nextclaw/remote\";\nimport { resolveUiApiBase } from \"../utils/cli.utils.js\";\n\nexport type LocalUiRuntimeState = {\n pid: number;\n startedAt: string;\n uiUrl: string;\n apiUrl: string;\n uiHost?: string;\n uiPort?: number;\n remote?: RemoteRuntimeState;\n};\n\nexport class LocalUiRuntimeStore {\n get path(): string {\n return resolve(getRunPath(), \"ui-runtime.json\");\n }\n\n readonly read = (): LocalUiRuntimeState | null => {\n if (!existsSync(this.path)) {\n return null;\n }\n try {\n const raw = readFileSync(this.path, \"utf-8\");\n return JSON.parse(raw) as LocalUiRuntimeState;\n } catch {\n return null;\n }\n };\n\n readonly write = (state: LocalUiRuntimeState): void => {\n mkdirSync(resolve(this.path, \"..\"), { recursive: true });\n writeFileSync(this.path, JSON.stringify(state, null, 2));\n };\n\n readonly update = (updater: (state: LocalUiRuntimeState) => LocalUiRuntimeState): LocalUiRuntimeState | null => {\n const current = this.read();\n if (!current) {\n return null;\n }\n const next = updater(current);\n this.write(next);\n return next;\n };\n\n readonly clear = (): void => {\n if (existsSync(this.path)) {\n rmSync(this.path, { force: true });\n }\n };\n\n readonly clearIfOwnedByProcess = (pid = process.pid): void => {\n if (this.read()?.pid === pid) {\n this.clear();\n }\n };\n\n readonly writeCurrentProcess = (\n uiConfig: Pick<Config[\"ui\"], \"host\" | \"port\">,\n pid = process.pid\n ): LocalUiRuntimeState => {\n const existing = this.read();\n const uiUrl = resolveUiApiBase(uiConfig.host, uiConfig.port);\n const state: LocalUiRuntimeState = {\n pid,\n startedAt:\n existing?.pid === pid && typeof existing.startedAt === \"string\"\n ? existing.startedAt\n : new Date().toISOString(),\n uiUrl,\n apiUrl: `${uiUrl}/api`,\n uiHost: uiConfig.host,\n uiPort: uiConfig.port,\n ...(existing?.remote ? { remote: existing.remote } : {})\n };\n this.write(state);\n return state;\n };\n}\n\nexport const localUiRuntimeStore = new LocalUiRuntimeStore();\n"],"mappings":";;;;;AAgBA,IAAa,sBAAb,MAAiC;CAC/B,IAAI,OAAe;AACjB,SAAO,QAAQ,YAAY,EAAE,kBAAkB;;CAGjD,aAAkD;AAChD,MAAI,CAAC,WAAW,KAAK,KAAK,CACxB,QAAO;AAET,MAAI;GACF,MAAM,MAAM,aAAa,KAAK,MAAM,QAAQ;AAC5C,UAAO,KAAK,MAAM,IAAI;UAChB;AACN,UAAO;;;CAIX,SAAkB,UAAqC;AACrD,YAAU,QAAQ,KAAK,MAAM,KAAK,EAAE,EAAE,WAAW,MAAM,CAAC;AACxD,gBAAc,KAAK,MAAM,KAAK,UAAU,OAAO,MAAM,EAAE,CAAC;;CAG1D,UAAmB,YAA6F;EAC9G,MAAM,UAAU,KAAK,MAAM;AAC3B,MAAI,CAAC,QACH,QAAO;EAET,MAAM,OAAO,QAAQ,QAAQ;AAC7B,OAAK,MAAM,KAAK;AAChB,SAAO;;CAGT,cAA6B;AAC3B,MAAI,WAAW,KAAK,KAAK,CACvB,QAAO,KAAK,MAAM,EAAE,OAAO,MAAM,CAAC;;CAItC,yBAAkC,MAAM,QAAQ,QAAc;AAC5D,MAAI,KAAK,MAAM,EAAE,QAAQ,IACvB,MAAK,OAAO;;CAIhB,uBACE,UACA,MAAM,QAAQ,QACU;EACxB,MAAM,WAAW,KAAK,MAAM;EAC5B,MAAM,QAAQ,iBAAiB,SAAS,MAAM,SAAS,KAAK;EAC5D,MAAM,QAA6B;GACjC;GACA,WACE,UAAU,QAAQ,OAAO,OAAO,SAAS,cAAc,WACnD,SAAS,6BACT,IAAI,MAAM,EAAC,aAAa;GAC9B;GACA,QAAQ,GAAG,MAAM;GACjB,QAAQ,SAAS;GACjB,QAAQ,SAAS;GACjB,GAAI,UAAU,SAAS,EAAE,QAAQ,SAAS,QAAQ,GAAG,EAAE;
|
|
1
|
+
{"version":3,"file":"local-ui-runtime.store.js","names":[],"sources":["../../src/stores/local-ui-runtime.store.ts"],"sourcesContent":["import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from \"node:fs\";\nimport { resolve } from \"node:path\";\nimport { getRunPath, type Config } from \"@nextclaw/core\";\nimport type { RemoteRuntimeState } from \"@nextclaw/remote\";\nimport { resolveUiApiBase } from \"../utils/cli.utils.js\";\n\nexport type LocalUiRuntimeState = {\n pid: number;\n startedAt: string;\n uiUrl: string;\n apiUrl: string;\n uiHost?: string;\n uiPort?: number;\n remote?: RemoteRuntimeState;\n};\n\nexport class LocalUiRuntimeStore {\n get path(): string {\n return resolve(getRunPath(), \"ui-runtime.json\");\n }\n\n readonly read = (): LocalUiRuntimeState | null => {\n if (!existsSync(this.path)) {\n return null;\n }\n try {\n const raw = readFileSync(this.path, \"utf-8\");\n return JSON.parse(raw) as LocalUiRuntimeState;\n } catch {\n return null;\n }\n };\n\n readonly write = (state: LocalUiRuntimeState): void => {\n mkdirSync(resolve(this.path, \"..\"), { recursive: true });\n writeFileSync(this.path, JSON.stringify(state, null, 2));\n };\n\n readonly update = (updater: (state: LocalUiRuntimeState) => LocalUiRuntimeState): LocalUiRuntimeState | null => {\n const current = this.read();\n if (!current) {\n return null;\n }\n const next = updater(current);\n this.write(next);\n return next;\n };\n\n readonly clear = (): void => {\n if (existsSync(this.path)) {\n rmSync(this.path, { force: true });\n }\n };\n\n readonly clearIfOwnedByProcess = (pid = process.pid): void => {\n if (this.read()?.pid === pid) {\n this.clear();\n }\n };\n\n readonly writeCurrentProcess = (\n uiConfig: Pick<Config[\"ui\"], \"host\" | \"port\">,\n pid = process.pid\n ): LocalUiRuntimeState => {\n const existing = this.read();\n const uiUrl = resolveUiApiBase(uiConfig.host, uiConfig.port);\n const state: LocalUiRuntimeState = {\n pid,\n startedAt:\n existing?.pid === pid && typeof existing.startedAt === \"string\"\n ? existing.startedAt\n : new Date().toISOString(),\n uiUrl,\n apiUrl: `${uiUrl}/api`,\n uiHost: uiConfig.host,\n uiPort: uiConfig.port,\n ...(existing?.pid === pid && existing.remote ? { remote: existing.remote } : {})\n };\n this.write(state);\n return state;\n };\n}\n\nexport const localUiRuntimeStore = new LocalUiRuntimeStore();\n"],"mappings":";;;;;AAgBA,IAAa,sBAAb,MAAiC;CAC/B,IAAI,OAAe;AACjB,SAAO,QAAQ,YAAY,EAAE,kBAAkB;;CAGjD,aAAkD;AAChD,MAAI,CAAC,WAAW,KAAK,KAAK,CACxB,QAAO;AAET,MAAI;GACF,MAAM,MAAM,aAAa,KAAK,MAAM,QAAQ;AAC5C,UAAO,KAAK,MAAM,IAAI;UAChB;AACN,UAAO;;;CAIX,SAAkB,UAAqC;AACrD,YAAU,QAAQ,KAAK,MAAM,KAAK,EAAE,EAAE,WAAW,MAAM,CAAC;AACxD,gBAAc,KAAK,MAAM,KAAK,UAAU,OAAO,MAAM,EAAE,CA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AA,iBAIpD,qCAAA,CAAA,GAAyC,kBAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"remote-runtime-support.utils.d.ts","names":[],"sources":["../../../src/utils/remote/remote-runtime-support.utils.ts"],"mappings":";;;;iBAqBgB,gCAAA,CAAA;AAAA,iBAKA,kCAAA,CAAA,GAAsC,oBAAA;AAAA,iBAwBtC,6BAAA,CAA8B,MAAA;EAC5C,MAAA,GAAS,YAAA;AAAA,IACF,eAAA;AAAA,iBAOO,+BAAA,CACd,IAAA,EAAM,kBAAA,UAA4B,QAAA,IAAY,IAAA,EAAM,kBAAA,YACnD,iBAAA;AAAA,iBAwBa,kCAAA,CAAmC,MAAA,EAAQ,MAAA,GAAS,kBAAA;AAAA,iBAIpD,qCAAA,CAAA,GAAyC,kBAAA;AAAA,iBAwBzC,mCAAA,CAAoC,MAAA,EAAQ,MAAA,GAAS,oBAAA"}
|
|
@@ -59,9 +59,9 @@ function buildNextclawConfiguredRemoteState(config) {
|
|
|
59
59
|
function readCurrentNextclawRemoteRuntimeState() {
|
|
60
60
|
const uiRuntimeState = localUiRuntimeStore.read();
|
|
61
61
|
const serviceState = managedServiceStateStore.read();
|
|
62
|
-
const
|
|
62
|
+
const owningRuntime = serviceState && isProcessRunning(serviceState.pid) ? serviceState : uiRuntimeState ?? serviceState;
|
|
63
|
+
const currentRemoteState = currentProcessRemoteRuntimeState ?? owningRuntime?.remote ?? null;
|
|
63
64
|
if (!currentRemoteState) return null;
|
|
64
|
-
const owningRuntime = uiRuntimeState ?? serviceState;
|
|
65
65
|
if (!owningRuntime || isProcessRunning(owningRuntime.pid)) return currentRemoteState;
|
|
66
66
|
return {
|
|
67
67
|
...currentRemoteState,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-runtime-support.utils.js","names":[],"sources":["../../../src/utils/remote/remote-runtime-support.utils.ts"],"sourcesContent":["import { getConfigPath, getDataDir, loadConfig, type Config } from \"@nextclaw/core\";\nimport {\n RemoteConnector,\n RemotePlatformClient,\n RemoteStatusStore,\n buildConfiguredRemoteState,\n resolveRemoteStatusSnapshot,\n type RemoteLogger,\n type RemoteRuntimeState,\n type RemoteStatusSnapshot\n} from \"@nextclaw/remote\";\nimport {\n getPackageVersion,\n isProcessRunning\n} from \"@nextclaw-service/utils/cli.utils.js\";\nimport { localUiRuntimeStore } from \"@nextclaw-service/stores/local-ui-runtime.store.js\";\nimport { managedServiceStateStore } from \"@nextclaw-service/stores/managed-service-state.store.js\";\nimport { resolvePlatformApiBase } from \"@nextclaw-service/utils/remote/platform-api-base.utils.js\";\n\nlet currentProcessRemoteRuntimeState: RemoteRuntimeState | null = null;\n\nexport function hasRunningNextclawManagedService(): boolean {\n const state = managedServiceStateStore.read();\n return Boolean(state && isProcessRunning(state.pid));\n}\n\nexport function createNextclawRemotePlatformClient(): RemotePlatformClient {\n return new RemotePlatformClient({\n loadConfig: () => loadConfig(getConfigPath()),\n getDataDir,\n getPackageVersion,\n resolvePlatformBase: (rawApiBase) =>\n resolvePlatformApiBase({\n explicitApiBase: rawApiBase,\n requireConfigured: true\n }).platformBase,\n readManagedServiceState: () => {\n const state = managedServiceStateStore.read();\n if (!state) {\n return null;\n }\n return {\n pid: state.pid,\n uiPort: state.uiPort\n };\n },\n isProcessRunning\n });\n}\n\nexport function createNextclawRemoteConnector(params: {\n logger?: RemoteLogger;\n} = {}): RemoteConnector {\n return new RemoteConnector({\n platformClient: createNextclawRemotePlatformClient(),\n logger: params.logger\n });\n}\n\nexport function createNextclawRemoteStatusStore(\n mode: RemoteRuntimeState[\"mode\"], onChange?: (next: RemoteRuntimeState) => void\n): RemoteStatusStore {\n return new RemoteStatusStore(mode, {\n writeRemoteState: (next) => {\n currentProcessRemoteRuntimeState = next;\n onChange?.(next);\n const uiRuntimeState = localUiRuntimeStore.read();\n if (uiRuntimeState?.pid === process.pid) {\n localUiRuntimeStore.update((state) => ({\n ...state,\n remote: next\n }));\n }\n const serviceState = managedServiceStateStore.read();\n if (!serviceState || serviceState.pid !== process.pid) {\n return;\n }\n managedServiceStateStore.update((state) => ({\n ...state,\n remote: next\n }));\n }\n });\n}\n\nexport function buildNextclawConfiguredRemoteState(config: Config): RemoteRuntimeState {\n return buildConfiguredRemoteState(config);\n}\n\nexport function readCurrentNextclawRemoteRuntimeState(): RemoteRuntimeState | null {\n const uiRuntimeState = localUiRuntimeStore.read();\n const serviceState = managedServiceStateStore.read();\n const
|
|
1
|
+
{"version":3,"file":"remote-runtime-support.utils.js","names":[],"sources":["../../../src/utils/remote/remote-runtime-support.utils.ts"],"sourcesContent":["import { getConfigPath, getDataDir, loadConfig, type Config } from \"@nextclaw/core\";\nimport {\n RemoteConnector,\n RemotePlatformClient,\n RemoteStatusStore,\n buildConfiguredRemoteState,\n resolveRemoteStatusSnapshot,\n type RemoteLogger,\n type RemoteRuntimeState,\n type RemoteStatusSnapshot\n} from \"@nextclaw/remote\";\nimport {\n getPackageVersion,\n isProcessRunning\n} from \"@nextclaw-service/utils/cli.utils.js\";\nimport { localUiRuntimeStore } from \"@nextclaw-service/stores/local-ui-runtime.store.js\";\nimport { managedServiceStateStore } from \"@nextclaw-service/stores/managed-service-state.store.js\";\nimport { resolvePlatformApiBase } from \"@nextclaw-service/utils/remote/platform-api-base.utils.js\";\n\nlet currentProcessRemoteRuntimeState: RemoteRuntimeState | null = null;\n\nexport function hasRunningNextclawManagedService(): boolean {\n const state = managedServiceStateStore.read();\n return Boolean(state && isProcessRunning(state.pid));\n}\n\nexport function createNextclawRemotePlatformClient(): RemotePlatformClient {\n return new RemotePlatformClient({\n loadConfig: () => loadConfig(getConfigPath()),\n getDataDir,\n getPackageVersion,\n resolvePlatformBase: (rawApiBase) =>\n resolvePlatformApiBase({\n explicitApiBase: rawApiBase,\n requireConfigured: true\n }).platformBase,\n readManagedServiceState: () => {\n const state = managedServiceStateStore.read();\n if (!state) {\n return null;\n }\n return {\n pid: state.pid,\n uiPort: state.uiPort\n };\n },\n isProcessRunning\n });\n}\n\nexport function createNextclawRemoteConnector(params: {\n logger?: RemoteLogger;\n} = {}): RemoteConnector {\n return new RemoteConnector({\n platformClient: createNextclawRemotePlatformClient(),\n logger: params.logger\n });\n}\n\nexport function createNextclawRemoteStatusStore(\n mode: RemoteRuntimeState[\"mode\"], onChange?: (next: RemoteRuntimeState) => void\n): RemoteStatusStore {\n return new RemoteStatusStore(mode, {\n writeRemoteState: (next) => {\n currentProcessRemoteRuntimeState = next;\n onChange?.(next);\n const uiRuntimeState = localUiRuntimeStore.read();\n if (uiRuntimeState?.pid === process.pid) {\n localUiRuntimeStore.update((state) => ({\n ...state,\n remote: next\n }));\n }\n const serviceState = managedServiceStateStore.read();\n if (!serviceState || serviceState.pid !== process.pid) {\n return;\n }\n managedServiceStateStore.update((state) => ({\n ...state,\n remote: next\n }));\n }\n });\n}\n\nexport function buildNextclawConfiguredRemoteState(config: Config): RemoteRuntimeState {\n return buildConfiguredRemoteState(config);\n}\n\nexport function readCurrentNextclawRemoteRuntimeState(): RemoteRuntimeState | null {\n const uiRuntimeState = localUiRuntimeStore.read();\n const serviceState = managedServiceStateStore.read();\n const owningRuntime =\n serviceState && isProcessRunning(serviceState.pid)\n ? serviceState\n : uiRuntimeState ?? serviceState;\n const currentRemoteState = currentProcessRemoteRuntimeState ?? owningRuntime?.remote ?? null;\n if (!currentRemoteState) {\n return null;\n }\n\n if (!owningRuntime || isProcessRunning(owningRuntime.pid)) {\n return currentRemoteState;\n }\n\n return {\n ...currentRemoteState,\n state: currentRemoteState.enabled ? \"disconnected\" : \"disabled\",\n lastError: currentRemoteState.lastError ?? \"Managed service is not running.\",\n updatedAt: new Date().toISOString()\n };\n}\n\nexport function resolveNextclawRemoteStatusSnapshot(config: Config): RemoteStatusSnapshot {\n return resolveRemoteStatusSnapshot({\n config,\n currentRemoteState: readCurrentNextclawRemoteRuntimeState()\n });\n}\n"],"mappings":";;;;;;;;AAmBA,IAAI,mCAA8D;AAElE,SAAgB,mCAA4C;CAC1D,MAAM,QAAQ,yBAAyB,MAAM;AAC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D,QAAO;AAGT,QAAO;EACL,GAAG;EACH,OAAO,mBAAmB,UAAU,iBAAiB;EACrD,WAAW,mBAAmB,aAAa;EAC3C,4BAAW,IAAI,MAAM,EAAC,aAAa;EACpC;;AAGH,SAAgB,oCAAoC,QAAsC;AACxF,QAAO,4BAA4B;EACjC;EACA,oBAAoB,uCAAuC;EAC5D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/service",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.15",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "NextClaw long-running service host and runtime lifecycle.",
|
|
6
6
|
"type": "module",
|
|
@@ -42,31 +42,31 @@
|
|
|
42
42
|
"chokidar": "^3.6.0",
|
|
43
43
|
"commander": "^12.1.0",
|
|
44
44
|
"jszip": "^3.10.1",
|
|
45
|
-
"@nextclaw/channel-extension-dingtalk": "0.2.
|
|
46
|
-
"@nextclaw/channel-extension-
|
|
47
|
-
"@nextclaw/channel-extension-
|
|
48
|
-
"@nextclaw/channel-extension-telegram": "0.2.
|
|
49
|
-
"@nextclaw/channel-extension-
|
|
50
|
-
"@nextclaw/channel-extension-
|
|
51
|
-
"@nextclaw/channel-extension-
|
|
52
|
-
"@nextclaw/
|
|
53
|
-
"@nextclaw/channel-extension-
|
|
54
|
-
"@nextclaw/
|
|
55
|
-
"@nextclaw/
|
|
56
|
-
"@nextclaw/kernel": "0.6.
|
|
57
|
-
"@nextclaw/
|
|
58
|
-
"@nextclaw/ncp-
|
|
59
|
-
"@nextclaw/
|
|
60
|
-
"@nextclaw/
|
|
61
|
-
"@nextclaw/nextclaw-
|
|
62
|
-
"@nextclaw/ncp": "0.
|
|
63
|
-
"@nextclaw/
|
|
64
|
-
"@nextclaw/runtime": "0.4.
|
|
65
|
-
"@nextclaw/
|
|
66
|
-
"@nextclaw/
|
|
67
|
-
"@nextclaw/
|
|
68
|
-
"@nextclaw/
|
|
69
|
-
"@nextclaw/
|
|
45
|
+
"@nextclaw/channel-extension-dingtalk": "0.2.13",
|
|
46
|
+
"@nextclaw/channel-extension-slack": "0.2.13",
|
|
47
|
+
"@nextclaw/channel-extension-email": "0.2.13",
|
|
48
|
+
"@nextclaw/channel-extension-telegram": "0.2.13",
|
|
49
|
+
"@nextclaw/channel-extension-discord": "0.2.13",
|
|
50
|
+
"@nextclaw/channel-extension-wecom": "0.2.13",
|
|
51
|
+
"@nextclaw/channel-extension-whatsapp": "0.2.13",
|
|
52
|
+
"@nextclaw/client-sdk": "0.5.15",
|
|
53
|
+
"@nextclaw/channel-extension-qq": "0.2.12",
|
|
54
|
+
"@nextclaw/channel-extension-weixin": "0.2.13",
|
|
55
|
+
"@nextclaw/core": "0.15.13",
|
|
56
|
+
"@nextclaw/kernel": "0.6.15",
|
|
57
|
+
"@nextclaw/channel-extension-feishu": "0.2.13",
|
|
58
|
+
"@nextclaw/ncp-mcp": "0.2.13",
|
|
59
|
+
"@nextclaw/ncp": "0.7.11",
|
|
60
|
+
"@nextclaw/mcp": "0.3.13",
|
|
61
|
+
"@nextclaw/nextclaw-hermes-acp-bridge": "0.3.11",
|
|
62
|
+
"@nextclaw/nextclaw-ncp-runtime-http-client": "0.3.11",
|
|
63
|
+
"@nextclaw/runtime": "0.4.13",
|
|
64
|
+
"@nextclaw/ncp-agent-runtime": "0.4.11",
|
|
65
|
+
"@nextclaw/ncp-toolkit": "0.6.12",
|
|
66
|
+
"@nextclaw/remote": "0.3.15",
|
|
67
|
+
"@nextclaw/server": "0.15.15",
|
|
68
|
+
"@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.3.14",
|
|
69
|
+
"@nextclaw/shared": "0.4.12"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/node": "^20.17.6",
|