@nextclaw/service 0.6.0-beta.0 → 0.6.0-beta.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npm-runtime-launcher.service.d.ts","names":[],"sources":["../../src/launcher/npm-runtime-launcher.service.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"npm-runtime-launcher.service.d.ts","names":[],"sources":["../../src/launcher/npm-runtime-launcher.service.ts"],"mappings":";;;KAkBK,yBAAA;EACH,IAAA;EACA,GAAA,GAAM,MAAA,CAAO,UAAA;EACb,MAAA,GAAS,2BAAA;EACT,eAAA;EACA,qBAAA;EACA,0BAAA;EACA,sBAAA,SAA+B,OAAA;AAAA;AAAA,cAGpB,kBAAA;EAAA,iBAIkB,OAAA;EAAA,iBAHZ,GAAA;EAAA,iBACA,MAAA;cAEY,OAAA,EAAS,yBAAA;EAKtC,GAAA,QAAgB,OAAA;EAAA,QAiBR,wBAAA;EAAA,QAoEA,sBAAA;EAAA,QAWA,gCAAA;EAAA,QAKA,sBAAA;EAAA,QAEA,4BAAA;AAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getPackageVersion as getPackageVersion$1 } from "../utils/package/package-manifest.utils.js";
|
|
2
2
|
import "../utils/cli.utils.js";
|
|
3
3
|
import { NpmRuntimeBundleLayoutStore } from "../stores/npm-runtime-bundle-layout.store.js";
|
|
4
|
-
import { NpmRuntimeBundleService, isNpmRuntimeBundleComplete, isPackagedNpmRuntimeComplete, shouldPreferPackagedNpmRuntime } from "../services/runtime/npm-runtime-bundle.service.js";
|
|
4
|
+
import { NpmRuntimeBundleService, compareNpmRuntimeVersions, isNpmRuntimeBundleComplete, isPackagedNpmRuntimeComplete, shouldPreferPackagedNpmRuntime } from "../services/runtime/npm-runtime-bundle.service.js";
|
|
5
5
|
import { inferDefaultNpmRuntimeReleaseChannel } from "../services/runtime/npm-runtime-update-source.service.js";
|
|
6
6
|
import { NpmRuntimeUpdateStateStore } from "../stores/npm-runtime-update-state.store.js";
|
|
7
7
|
import { NpmRuntimeUpdateCommandService } from "../services/runtime/npm-runtime-update-command.service.js";
|
|
@@ -51,13 +51,15 @@ var NpmRuntimeLauncher = class {
|
|
|
51
51
|
}
|
|
52
52
|
const packagedRuntimeComplete = isPackagedNpmRuntimeComplete({ runnerPath: this.options.packagedPortableRunnerPath });
|
|
53
53
|
const currentBundleComplete = Boolean(currentBundle && isNpmRuntimeBundleComplete({ bundleDirectory: currentBundle.bundleDirectory }));
|
|
54
|
+
const currentRuntimeVersion = currentBundle?.manifest.runtimeVersion ?? currentBundle?.manifest.bundleVersion;
|
|
55
|
+
const launcherHasNewerRuntime = Boolean(currentBundleComplete && currentRuntimeVersion && compareNpmRuntimeVersions(launcherVersion, currentRuntimeVersion) > 0);
|
|
54
56
|
if (packagedRuntimeComplete && (!currentBundleComplete || currentBundle && shouldPreferPackagedNpmRuntime({
|
|
55
57
|
launcherVersion,
|
|
56
58
|
currentBundleVersion: currentBundle.manifest.runtimeVersion ?? currentBundle.manifest.bundleVersion,
|
|
57
59
|
packagedRuntimeComplete
|
|
58
60
|
}))) return this.resolvePackagedAppEntrypoint();
|
|
59
61
|
if (currentBundleComplete && currentBundle && (currentBundle.manifest.runtimeVersion ?? currentBundle.manifest.bundleVersion) === launcherVersion) return currentBundle.runtimeScriptPath;
|
|
60
|
-
if (!packagedRuntimeComplete || !currentBundleComplete) try {
|
|
62
|
+
if (!packagedRuntimeComplete || !currentBundleComplete || launcherHasNewerRuntime) try {
|
|
61
63
|
await this.bootstrapRuntimeBundle();
|
|
62
64
|
const bootstrappedBundle = bundleService.resolveCurrentBundle();
|
|
63
65
|
if (bootstrappedBundle && isNpmRuntimeBundleComplete({ bundleDirectory: bootstrappedBundle.bundleDirectory })) return bootstrappedBundle.runtimeScriptPath;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npm-runtime-launcher.service.js","names":["getPackageVersion"],"sources":["../../src/launcher/npm-runtime-launcher.service.ts"],"sourcesContent":["import { spawnSync } from \"node:child_process\";\nimport { fileURLToPath } from \"node:url\";\nimport { dirname, resolve } from \"node:path\";\nimport { createExternalCommandEnv } from \"@nextclaw/core\";\nimport { NpmRuntimeBundleLayoutStore } from \"@nextclaw-service/stores/npm-runtime-bundle-layout.store.js\";\nimport {\n isNpmRuntimeBundleComplete,\n isPackagedNpmRuntimeComplete,\n NpmRuntimeBundleService,\n shouldPreferPackagedNpmRuntime,\n type ResolvedNpmRuntimeBundle\n} from \"@nextclaw-service/services/runtime/npm-runtime-bundle.service.js\";\nimport { NpmRuntimeUpdateCommandService } from \"@nextclaw-service/services/runtime/npm-runtime-update-command.service.js\";\nimport { inferDefaultNpmRuntimeReleaseChannel } from \"@nextclaw-service/services/runtime/npm-runtime-update-source.service.js\";\nimport { NpmRuntimeUpdateStateStore } from \"@nextclaw-service/stores/npm-runtime-update-state.store.js\";\nimport { getPackageVersion } from \"@nextclaw-service/utils/cli.utils.js\";\n\ntype NpmRuntimeLauncherOptions = {\n argv: string[];\n env?: NodeJS.ProcessEnv;\n layout?: NpmRuntimeBundleLayoutStore;\n launcherVersion?: string;\n packagedAppEntrypoint?: string;\n packagedPortableRunnerPath?: string;\n bootstrapRuntimeBundle?: () => Promise<void>;\n};\n\nexport class NpmRuntimeLauncher {\n private readonly env: NodeJS.ProcessEnv;\n private readonly layout: NpmRuntimeBundleLayoutStore;\n\n constructor(private readonly options: NpmRuntimeLauncherOptions) {\n this.env = options.env ?? process.env;\n this.layout = options.layout ?? new NpmRuntimeBundleLayoutStore();\n }\n\n run = async (): Promise<never> => {\n const runtimeScriptPath = await this.resolveRuntimeScriptPath();\n const launcherVersion = this.resolveLauncherVersion();\n const launcherEntrypoint = this.options.argv[1]?.trim();\n const result = spawnSync(process.execPath, [runtimeScriptPath, ...this.options.argv.slice(2)], {\n stdio: \"inherit\",\n env: {\n ...createExternalCommandEnv(this.env),\n NEXTCLAW_RUNTIME_BUNDLE_CHILD: \"1\",\n NEXTCLAW_NPM_LAUNCHER_VERSION: launcherVersion,\n ...(launcherEntrypoint ? { NEXTCLAW_NPM_LAUNCHER_ENTRYPOINT: launcherEntrypoint } : {})\n },\n windowsHide: true\n });\n process.exit(typeof result.status === \"number\" ? result.status : 1);\n };\n\n private resolveRuntimeScriptPath = async (): Promise<string> => {\n const launcherVersion = this.resolveLauncherVersion();\n if (this.env.NEXTCLAW_DISABLE_RUNTIME_BUNDLE_LAUNCHER === \"1\" || this.env.NEXTCLAW_RUNTIME_BUNDLE_CHILD === \"1\") {\n return this.resolvePackagedAppEntrypoint();\n }\n const stateStore = new NpmRuntimeUpdateStateStore(this.layout.getStatePath(), {\n defaultChannel: inferDefaultNpmRuntimeReleaseChannel(launcherVersion)\n });\n const bundleService = new NpmRuntimeBundleService({\n layout: this.layout,\n stateStore,\n launcherVersion\n });\n let currentBundle: ResolvedNpmRuntimeBundle | null = null;\n try {\n currentBundle = bundleService.resolveCurrentBundle();\n } catch (error) {\n console.error(`Cannot start current runtime bundle: ${error instanceof Error ? error.message : String(error)}`);\n }\n const packagedRuntimeComplete = isPackagedNpmRuntimeComplete({\n runnerPath: this.options.packagedPortableRunnerPath\n });\n const currentBundleComplete = Boolean(currentBundle && isNpmRuntimeBundleComplete({\n bundleDirectory: currentBundle.bundleDirectory\n }));\n if (\n packagedRuntimeComplete &&\n (!currentBundleComplete || (currentBundle && shouldPreferPackagedNpmRuntime({\n launcherVersion,\n currentBundleVersion: currentBundle.manifest.runtimeVersion ?? currentBundle.manifest.bundleVersion,\n packagedRuntimeComplete\n })))\n ) {\n return this.resolvePackagedAppEntrypoint();\n }\n if (\n currentBundleComplete &&\n currentBundle &&\n (currentBundle.manifest.runtimeVersion ?? currentBundle.manifest.bundleVersion) === launcherVersion\n ) {\n return currentBundle.runtimeScriptPath;\n }\n if (!packagedRuntimeComplete || !currentBundleComplete) {\n try {\n await this.bootstrapRuntimeBundle();\n const bootstrappedBundle = bundleService.resolveCurrentBundle();\n if (bootstrappedBundle && isNpmRuntimeBundleComplete({ bundleDirectory: bootstrappedBundle.bundleDirectory })) {\n return bootstrappedBundle.runtimeScriptPath;\n }\n return currentBundle?.runtimeScriptPath ?? this.resolveIncompletePackagedRuntime();\n } catch (error) {\n console.error(`Cannot bootstrap the complete runtime bundle: ${error instanceof Error ? error.message : String(error)}`);\n if (currentBundle) {\n console.error(`Continuing with the previously installed runtime bundle ${currentBundle.manifest.runtimeVersion}.`);\n return currentBundle.runtimeScriptPath;\n }\n return this.resolveIncompletePackagedRuntime();\n }\n }\n return currentBundle?.runtimeScriptPath ?? this.resolvePackagedAppEntrypoint();\n };\n\n private bootstrapRuntimeBundle = async (): Promise<void> => {\n if (this.options.bootstrapRuntimeBundle) {\n await this.options.bootstrapRuntimeBundle();\n return;\n }\n const snapshot = await new NpmRuntimeUpdateCommandService(this.env).runManaged({});\n if (snapshot.status === \"blocked\" || snapshot.status === \"failed\") {\n throw new Error(snapshot.errorMessage ?? snapshot.blockReason ?? \"runtime bundle bootstrap failed\");\n }\n };\n\n private resolveIncompletePackagedRuntime = (): string => {\n console.error(\"The packaged npm runtime is missing the current platform runner; Portable Service Apps remain unavailable until runtime bootstrap succeeds.\");\n return this.resolvePackagedAppEntrypoint();\n };\n\n private resolveLauncherVersion = (): string => this.options.launcherVersion ?? getPackageVersion();\n\n private resolvePackagedAppEntrypoint = (): string => {\n if (this.options.packagedAppEntrypoint) {\n return this.options.packagedAppEntrypoint;\n }\n return resolve(dirname(fileURLToPath(import.meta.url)), \"../app/index.js\");\n };\n}\n"],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"npm-runtime-launcher.service.js","names":["getPackageVersion"],"sources":["../../src/launcher/npm-runtime-launcher.service.ts"],"sourcesContent":["import { spawnSync } from \"node:child_process\";\nimport { fileURLToPath } from \"node:url\";\nimport { dirname, resolve } from \"node:path\";\nimport { createExternalCommandEnv } from \"@nextclaw/core\";\nimport { NpmRuntimeBundleLayoutStore } from \"@nextclaw-service/stores/npm-runtime-bundle-layout.store.js\";\nimport {\n isNpmRuntimeBundleComplete,\n isPackagedNpmRuntimeComplete,\n compareNpmRuntimeVersions,\n NpmRuntimeBundleService,\n shouldPreferPackagedNpmRuntime,\n type ResolvedNpmRuntimeBundle\n} from \"@nextclaw-service/services/runtime/npm-runtime-bundle.service.js\";\nimport { NpmRuntimeUpdateCommandService } from \"@nextclaw-service/services/runtime/npm-runtime-update-command.service.js\";\nimport { inferDefaultNpmRuntimeReleaseChannel } from \"@nextclaw-service/services/runtime/npm-runtime-update-source.service.js\";\nimport { NpmRuntimeUpdateStateStore } from \"@nextclaw-service/stores/npm-runtime-update-state.store.js\";\nimport { getPackageVersion } from \"@nextclaw-service/utils/cli.utils.js\";\n\ntype NpmRuntimeLauncherOptions = {\n argv: string[];\n env?: NodeJS.ProcessEnv;\n layout?: NpmRuntimeBundleLayoutStore;\n launcherVersion?: string;\n packagedAppEntrypoint?: string;\n packagedPortableRunnerPath?: string;\n bootstrapRuntimeBundle?: () => Promise<void>;\n};\n\nexport class NpmRuntimeLauncher {\n private readonly env: NodeJS.ProcessEnv;\n private readonly layout: NpmRuntimeBundleLayoutStore;\n\n constructor(private readonly options: NpmRuntimeLauncherOptions) {\n this.env = options.env ?? process.env;\n this.layout = options.layout ?? new NpmRuntimeBundleLayoutStore();\n }\n\n run = async (): Promise<never> => {\n const runtimeScriptPath = await this.resolveRuntimeScriptPath();\n const launcherVersion = this.resolveLauncherVersion();\n const launcherEntrypoint = this.options.argv[1]?.trim();\n const result = spawnSync(process.execPath, [runtimeScriptPath, ...this.options.argv.slice(2)], {\n stdio: \"inherit\",\n env: {\n ...createExternalCommandEnv(this.env),\n NEXTCLAW_RUNTIME_BUNDLE_CHILD: \"1\",\n NEXTCLAW_NPM_LAUNCHER_VERSION: launcherVersion,\n ...(launcherEntrypoint ? { NEXTCLAW_NPM_LAUNCHER_ENTRYPOINT: launcherEntrypoint } : {})\n },\n windowsHide: true\n });\n process.exit(typeof result.status === \"number\" ? result.status : 1);\n };\n\n private resolveRuntimeScriptPath = async (): Promise<string> => {\n const launcherVersion = this.resolveLauncherVersion();\n if (this.env.NEXTCLAW_DISABLE_RUNTIME_BUNDLE_LAUNCHER === \"1\" || this.env.NEXTCLAW_RUNTIME_BUNDLE_CHILD === \"1\") {\n return this.resolvePackagedAppEntrypoint();\n }\n const stateStore = new NpmRuntimeUpdateStateStore(this.layout.getStatePath(), {\n defaultChannel: inferDefaultNpmRuntimeReleaseChannel(launcherVersion)\n });\n const bundleService = new NpmRuntimeBundleService({\n layout: this.layout,\n stateStore,\n launcherVersion\n });\n let currentBundle: ResolvedNpmRuntimeBundle | null = null;\n try {\n currentBundle = bundleService.resolveCurrentBundle();\n } catch (error) {\n console.error(`Cannot start current runtime bundle: ${error instanceof Error ? error.message : String(error)}`);\n }\n const packagedRuntimeComplete = isPackagedNpmRuntimeComplete({\n runnerPath: this.options.packagedPortableRunnerPath\n });\n const currentBundleComplete = Boolean(currentBundle && isNpmRuntimeBundleComplete({\n bundleDirectory: currentBundle.bundleDirectory\n }));\n const currentRuntimeVersion = currentBundle?.manifest.runtimeVersion ?? currentBundle?.manifest.bundleVersion;\n const launcherHasNewerRuntime = Boolean(\n currentBundleComplete\n && currentRuntimeVersion\n && compareNpmRuntimeVersions(launcherVersion, currentRuntimeVersion) > 0,\n );\n if (\n packagedRuntimeComplete &&\n (!currentBundleComplete || (currentBundle && shouldPreferPackagedNpmRuntime({\n launcherVersion,\n currentBundleVersion: currentBundle.manifest.runtimeVersion ?? currentBundle.manifest.bundleVersion,\n packagedRuntimeComplete\n })))\n ) {\n return this.resolvePackagedAppEntrypoint();\n }\n if (\n currentBundleComplete &&\n currentBundle &&\n (currentBundle.manifest.runtimeVersion ?? currentBundle.manifest.bundleVersion) === launcherVersion\n ) {\n return currentBundle.runtimeScriptPath;\n }\n if (!packagedRuntimeComplete || !currentBundleComplete || launcherHasNewerRuntime) {\n try {\n await this.bootstrapRuntimeBundle();\n const bootstrappedBundle = bundleService.resolveCurrentBundle();\n if (bootstrappedBundle && isNpmRuntimeBundleComplete({ bundleDirectory: bootstrappedBundle.bundleDirectory })) {\n return bootstrappedBundle.runtimeScriptPath;\n }\n return currentBundle?.runtimeScriptPath ?? this.resolveIncompletePackagedRuntime();\n } catch (error) {\n console.error(`Cannot bootstrap the complete runtime bundle: ${error instanceof Error ? error.message : String(error)}`);\n if (currentBundle) {\n console.error(`Continuing with the previously installed runtime bundle ${currentBundle.manifest.runtimeVersion}.`);\n return currentBundle.runtimeScriptPath;\n }\n return this.resolveIncompletePackagedRuntime();\n }\n }\n return currentBundle?.runtimeScriptPath ?? this.resolvePackagedAppEntrypoint();\n };\n\n private bootstrapRuntimeBundle = async (): Promise<void> => {\n if (this.options.bootstrapRuntimeBundle) {\n await this.options.bootstrapRuntimeBundle();\n return;\n }\n const snapshot = await new NpmRuntimeUpdateCommandService(this.env).runManaged({});\n if (snapshot.status === \"blocked\" || snapshot.status === \"failed\") {\n throw new Error(snapshot.errorMessage ?? snapshot.blockReason ?? \"runtime bundle bootstrap failed\");\n }\n };\n\n private resolveIncompletePackagedRuntime = (): string => {\n console.error(\"The packaged npm runtime is missing the current platform runner; Portable Service Apps remain unavailable until runtime bootstrap succeeds.\");\n return this.resolvePackagedAppEntrypoint();\n };\n\n private resolveLauncherVersion = (): string => this.options.launcherVersion ?? getPackageVersion();\n\n private resolvePackagedAppEntrypoint = (): string => {\n if (this.options.packagedAppEntrypoint) {\n return this.options.packagedAppEntrypoint;\n }\n return resolve(dirname(fileURLToPath(import.meta.url)), \"../app/index.js\");\n };\n}\n"],"mappings":";;;;;;;;;;;;AA4BA,IAAa,qBAAb,MAAgC;CAC9B;CACA;CAEA,YAAY,SAAqD;AAApC,OAAA,UAAA;AAC3B,OAAK,MAAM,QAAQ,OAAO,QAAQ;AAClC,OAAK,SAAS,QAAQ,UAAU,IAAI,6BAA6B;;CAGnE,MAAM,YAA4B;EAChC,MAAM,oBAAoB,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|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/service",
|
|
3
|
-
"version": "0.6.0-beta.
|
|
3
|
+
"version": "0.6.0-beta.1",
|
|
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-
|
|
46
|
-
"@nextclaw/channel-extension-email": "0.2.42-beta.0",
|
|
47
|
-
"@nextclaw/channel-extension-discord": "0.2.42-beta.0",
|
|
45
|
+
"@nextclaw/channel-extension-wecom": "0.2.42-beta.0",
|
|
48
46
|
"@nextclaw/channel-extension-feishu": "0.2.31",
|
|
47
|
+
"@nextclaw/channel-extension-dingtalk": "0.2.42-beta.0",
|
|
49
48
|
"@nextclaw/channel-extension-telegram": "0.2.42-beta.0",
|
|
50
|
-
"@nextclaw/channel-extension-
|
|
51
|
-
"@nextclaw/channel-extension-weixin": "0.2.31",
|
|
49
|
+
"@nextclaw/channel-extension-discord": "0.2.42-beta.0",
|
|
52
50
|
"@nextclaw/channel-extension-slack": "0.2.42-beta.0",
|
|
51
|
+
"@nextclaw/channel-extension-qq": "0.2.30",
|
|
52
|
+
"@nextclaw/channel-extension-email": "0.2.42-beta.0",
|
|
53
|
+
"@nextclaw/channel-extension-weixin": "0.2.31",
|
|
53
54
|
"@nextclaw/client-sdk": "0.11.0-beta.0",
|
|
54
|
-
"@nextclaw/channel-extension-whatsapp": "0.2.42-beta.0",
|
|
55
|
-
"@nextclaw/core": "0.17.16-beta.0",
|
|
56
55
|
"@nextclaw/kernel": "0.15.0-beta.0",
|
|
57
|
-
"@nextclaw/
|
|
56
|
+
"@nextclaw/core": "0.17.16-beta.0",
|
|
58
57
|
"@nextclaw/ncp-toolkit": "0.6.23",
|
|
58
|
+
"@nextclaw/ncp": "0.10.0",
|
|
59
|
+
"@nextclaw/mcp": "0.3.43-beta.0",
|
|
59
60
|
"@nextclaw/ncp-mcp": "0.2.43-beta.0",
|
|
60
61
|
"@nextclaw/ncp-agent-runtime": "0.4.22-beta.0",
|
|
61
62
|
"@nextclaw/nextclaw-ncp-runtime-http-client": "0.3.22",
|
|
63
|
+
"@nextclaw/server": "0.22.0-beta.0",
|
|
64
|
+
"@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.3.43-beta.0",
|
|
65
|
+
"@nextclaw/channel-extension-whatsapp": "0.2.42-beta.0",
|
|
66
|
+
"@nextclaw/nextclaw-hermes-acp-bridge": "0.3.21",
|
|
62
67
|
"@nextclaw/remote": "0.3.54-beta.0",
|
|
63
68
|
"@nextclaw/runtime": "0.4.42-beta.0",
|
|
64
|
-
"@nextclaw/
|
|
65
|
-
"@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.3.43-beta.0",
|
|
66
|
-
"@nextclaw/shared": "0.4.30",
|
|
67
|
-
"@nextclaw/server": "0.22.0-beta.0",
|
|
68
|
-
"@nextclaw/ncp": "0.10.0",
|
|
69
|
-
"@nextclaw/channel-extension-qq": "0.2.30"
|
|
69
|
+
"@nextclaw/shared": "0.4.30"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/node": "^20.17.6",
|