@nextclaw/service 0.5.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.
@@ -14,7 +14,9 @@ declare class ProjectCommands {
14
14
  list: (options?: ProjectCommandOptions) => Promise<void>;
15
15
  templates: (options?: ProjectCommandOptions) => Promise<void>;
16
16
  create: (name: string, options?: ProjectCreateCommandOptions) => Promise<void>;
17
+ observe: (rootPath: string, options?: ProjectCommandOptions) => Promise<void>;
17
18
  private printCreatedProject;
19
+ private printObservationSummary;
18
20
  private withKernel;
19
21
  }
20
22
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"project-command.controller.d.ts","names":[],"sources":["../../../../src/controllers/commands/project/project-command.controller.ts"],"mappings":";;;KAMY,qBAAA;EACV,IAAA;AAAA;AAAA,KAGU,2BAAA,GAA8B,qBAAA;EACxC,IAAA;EACA,QAAA;AAAA;AAAA,cAGW,eAAA;EAAA,iBACkB,YAAA;cAAA,YAAA,QAAoB,cAAA;EAEjD,IAAA,GAAc,OAAA,GAAS,qBAAA,KAA6B,OAAA;EAiBpD,SAAA,GAAmB,OAAA,GAAS,qBAAA,KAA6B,OAAA;EAazD,MAAA,GACE,IAAA,UACA,OAAA,GAAS,2BAAA,KACR,OAAA;EAAA,QAYK,mBAAA;EAAA,QAQA,UAAA;AAAA"}
1
+ {"version":3,"file":"project-command.controller.d.ts","names":[],"sources":["../../../../src/controllers/commands/project/project-command.controller.ts"],"mappings":";;;KAOY,qBAAA;EACV,IAAA;AAAA;AAAA,KAGU,2BAAA,GAA8B,qBAAA;EACxC,IAAA;EACA,QAAA;AAAA;AAAA,cAGW,eAAA;EAAA,iBACkB,YAAA;cAAA,YAAA,QAAoB,cAAA;EAEjD,IAAA,GAAc,OAAA,GAAS,qBAAA,KAA6B,OAAA;EAiBpD,SAAA,GAAmB,OAAA,GAAS,qBAAA,KAA6B,OAAA;EAazD,MAAA,GACE,IAAA,UACA,OAAA,GAAS,2BAAA,KACR,OAAA;EAYH,OAAA,GAAiB,QAAA,UAAkB,OAAA,GAAS,qBAAA,KAA6B,OAAA;EAAA,QAWjE,mBAAA;EAAA,QAQA,uBAAA;EAAA,QAKA,UAAA;AAAA"}
@@ -41,6 +41,16 @@ var ProjectCommands = class {
41
41
  this.printCreatedProject(project, Boolean(options.json));
42
42
  });
43
43
  };
44
+ observe = async (rootPath, options = {}) => {
45
+ await this.withKernel(async (kernel) => {
46
+ const snapshot = await kernel.projectObservation.observe(rootPath);
47
+ if (options.json) {
48
+ console.log(JSON.stringify(snapshot, null, 2));
49
+ return;
50
+ }
51
+ this.printObservationSummary(snapshot);
52
+ });
53
+ };
44
54
  printCreatedProject = (project, json) => {
45
55
  if (json) {
46
56
  console.log(JSON.stringify(project, null, 2));
@@ -48,6 +58,10 @@ var ProjectCommands = class {
48
58
  }
49
59
  console.log(`Created project "${project.name}" at ${project.rootPath}`);
50
60
  };
61
+ printObservationSummary = (snapshot) => {
62
+ console.log(`${snapshot.project.name}\t${snapshot.dataQuality}\t${snapshot.project.rootPath}`);
63
+ console.log(`work-items: ${snapshot.workItems.length}, artifacts: ${snapshot.artifacts.length}, signals: ${snapshot.signals.length}, requests: ${snapshot.requests.length}`);
64
+ };
51
65
  withKernel = async (action) => {
52
66
  const kernel = this.createKernel();
53
67
  try {
@@ -1 +1 @@
1
- {"version":3,"file":"project-command.controller.js","names":[],"sources":["../../../../src/controllers/commands/project/project-command.controller.ts"],"sourcesContent":["import type {\n CreateProjectInput,\n NextclawKernel,\n ProjectRecord,\n} from \"@nextclaw/kernel\";\n\nexport type ProjectCommandOptions = {\n json?: boolean;\n};\n\nexport type ProjectCreateCommandOptions = ProjectCommandOptions & {\n path?: string;\n template?: \"empty\" | \"knowledge-base\";\n};\n\nexport class ProjectCommands {\n constructor(private readonly createKernel: () => NextclawKernel) {}\n\n list = async (options: ProjectCommandOptions = {}): Promise<void> => {\n await this.withKernel(async (kernel) => {\n const projects = await kernel.projectManager.listProjects();\n if (options.json) {\n console.log(JSON.stringify({ projects, total: projects.length }, null, 2));\n return;\n }\n if (projects.length === 0) {\n console.log(\"No projects registered.\");\n return;\n }\n for (const project of projects) {\n console.log(`${project.name}\\t${project.template ?? \"existing\"}\\t${project.rootPath}`);\n }\n });\n };\n\n templates = async (options: ProjectCommandOptions = {}): Promise<void> => {\n await this.withKernel(async (kernel) => {\n const templates = kernel.projectManager.listTemplates();\n if (options.json) {\n console.log(JSON.stringify({ templates }, null, 2));\n return;\n }\n for (const template of templates) {\n console.log(`${template.id}\\t${template.description}`);\n }\n });\n };\n\n create = async (\n name: string,\n options: ProjectCreateCommandOptions = {},\n ): Promise<void> => {\n await this.withKernel(async (kernel) => {\n const input: CreateProjectInput = {\n name,\n ...(options.path ? { rootPath: options.path } : {}),\n ...(options.template ? { template: options.template } : {}),\n };\n const project = await kernel.projectManager.createProject(input);\n this.printCreatedProject(project, Boolean(options.json));\n });\n };\n\n private printCreatedProject = (project: ProjectRecord, json: boolean): void => {\n if (json) {\n console.log(JSON.stringify(project, null, 2));\n return;\n }\n console.log(`Created project \"${project.name}\" at ${project.rootPath}`);\n };\n\n private withKernel = async <T>(action: (kernel: NextclawKernel) => Promise<T>): Promise<T> => {\n const kernel = this.createKernel();\n try {\n return await action(kernel);\n } finally {\n await kernel.dispose();\n }\n };\n}\n"],"mappings":";AAeA,IAAa,kBAAb,MAA6B;CAC3B,YAAY,cAAqD;AAApC,OAAA,eAAA;;CAE7B,OAAO,OAAO,UAAiC,EAAE,KAAoB;AACnE,QAAM,KAAK,WAAW,OAAO,WAAW;GACtC,MAAM,WAAW,MAAM,OAAO,eAAe,cAAc;AAC3D,OAAI,QAAQ,MAAM;AAChB,YAAQ,IAAI,KAAK,UAAU;KAAE;KAAU,OAAO,SAAS;KAAQ,EAAE,MAAM,EAAE,CAAC;AAC1E;;AAEF,OAAI,SAAS,WAAW,GAAG;AACzB,YAAQ,IAAI,0BAA0B;AACtC;;AAEF,QAAK,MAAM,WAAW,SACpB,SAAQ,IAAI,GAAG,QAAQ,KAAK,IAAI,QAAQ,YAAY,WAAW,IAAI,QAAQ,WAAW;IAExF;;CAGJ,YAAY,OAAO,UAAiC,EAAE,KAAoB;AACxE,QAAM,KAAK,WAAW,OAAO,WAAW;GACtC,MAAM,YAAY,OAAO,eAAe,eAAe;AACvD,OAAI,QAAQ,MAAM;AAChB,YAAQ,IAAI,KAAK,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC;AACnD;;AAEF,QAAK,MAAM,YAAY,UACrB,SAAQ,IAAI,GAAG,SAAS,GAAG,IAAI,SAAS,cAAc;IAExD;;CAGJ,SAAS,OACP,MACA,UAAuC,EAAE,KACvB;AAClB,QAAM,KAAK,WAAW,OAAO,WAAW;GACtC,MAAM,QAA4B;IAChC;IACA,GAAI,QAAQ,OAAO,EAAE,UAAU,QAAQ,MAAM,GAAG,EAAE;IAClD,GAAI,QAAQ,WAAW,EAAE,UAAU,QAAQ,UAAU,GAAG,EAAE;IAC3D;GACD,MAAM,UAAU,MAAM,OAAO,eAAe,cAAc,MAAM;AAChE,QAAK,oBAAoB,SAAS,QAAQ,QAAQ,KAAK,CAAC;IACxD;;CAGJ,uBAA+B,SAAwB,SAAwB;AAC7E,MAAI,MAAM;AACR,WAAQ,IAAI,KAAK,UAAU,SAAS,MAAM,EAAE,CAAC;AAC7C;;AAEF,UAAQ,IAAI,oBAAoB,QAAQ,KAAK,OAAO,QAAQ,WAAW;;CAGzE,aAAqB,OAAU,WAA+D;EAC5F,MAAM,SAAS,KAAK,cAAc;AAClC,MAAI;AACF,UAAO,MAAM,OAAO,OAAO;YACnB;AACR,SAAM,OAAO,SAAS"}
1
+ {"version":3,"file":"project-command.controller.js","names":[],"sources":["../../../../src/controllers/commands/project/project-command.controller.ts"],"sourcesContent":["import type {\n CreateProjectInput,\n NextclawKernel,\n ProjectRecord,\n ProjectObservationSnapshot,\n} from \"@nextclaw/kernel\";\n\nexport type ProjectCommandOptions = {\n json?: boolean;\n};\n\nexport type ProjectCreateCommandOptions = ProjectCommandOptions & {\n path?: string;\n template?: \"empty\" | \"knowledge-base\";\n};\n\nexport class ProjectCommands {\n constructor(private readonly createKernel: () => NextclawKernel) {}\n\n list = async (options: ProjectCommandOptions = {}): Promise<void> => {\n await this.withKernel(async (kernel) => {\n const projects = await kernel.projectManager.listProjects();\n if (options.json) {\n console.log(JSON.stringify({ projects, total: projects.length }, null, 2));\n return;\n }\n if (projects.length === 0) {\n console.log(\"No projects registered.\");\n return;\n }\n for (const project of projects) {\n console.log(`${project.name}\\t${project.template ?? \"existing\"}\\t${project.rootPath}`);\n }\n });\n };\n\n templates = async (options: ProjectCommandOptions = {}): Promise<void> => {\n await this.withKernel(async (kernel) => {\n const templates = kernel.projectManager.listTemplates();\n if (options.json) {\n console.log(JSON.stringify({ templates }, null, 2));\n return;\n }\n for (const template of templates) {\n console.log(`${template.id}\\t${template.description}`);\n }\n });\n };\n\n create = async (\n name: string,\n options: ProjectCreateCommandOptions = {},\n ): Promise<void> => {\n await this.withKernel(async (kernel) => {\n const input: CreateProjectInput = {\n name,\n ...(options.path ? { rootPath: options.path } : {}),\n ...(options.template ? { template: options.template } : {}),\n };\n const project = await kernel.projectManager.createProject(input);\n this.printCreatedProject(project, Boolean(options.json));\n });\n };\n\n observe = async (rootPath: string, options: ProjectCommandOptions = {}): Promise<void> => {\n await this.withKernel(async (kernel) => {\n const snapshot = await kernel.projectObservation.observe(rootPath);\n if (options.json) {\n console.log(JSON.stringify(snapshot, null, 2));\n return;\n }\n this.printObservationSummary(snapshot);\n });\n };\n\n private printCreatedProject = (project: ProjectRecord, json: boolean): void => {\n if (json) {\n console.log(JSON.stringify(project, null, 2));\n return;\n }\n console.log(`Created project \"${project.name}\" at ${project.rootPath}`);\n };\n\n private printObservationSummary = (snapshot: ProjectObservationSnapshot): void => {\n console.log(`${snapshot.project.name}\\t${snapshot.dataQuality}\\t${snapshot.project.rootPath}`);\n console.log(`work-items: ${snapshot.workItems.length}, artifacts: ${snapshot.artifacts.length}, signals: ${snapshot.signals.length}, requests: ${snapshot.requests.length}`);\n };\n\n private withKernel = async <T>(action: (kernel: NextclawKernel) => Promise<T>): Promise<T> => {\n const kernel = this.createKernel();\n try {\n return await action(kernel);\n } finally {\n await kernel.dispose();\n }\n };\n}\n"],"mappings":";AAgBA,IAAa,kBAAb,MAA6B;CAC3B,YAAY,cAAqD;AAApC,OAAA,eAAA;;CAE7B,OAAO,OAAO,UAAiC,EAAE,KAAoB;AACnE,QAAM,KAAK,WAAW,OAAO,WAAW;GACtC,MAAM,WAAW,MAAM,OAAO,eAAe,cAAc;AAC3D,OAAI,QAAQ,MAAM;AAChB,YAAQ,IAAI,KAAK,UAAU;KAAE;KAAU,OAAO,SAAS;KAAQ,EAAE,MAAM,EAAE,CAAC;AAC1E;;AAEF,OAAI,SAAS,WAAW,GAAG;AACzB,YAAQ,IAAI,0BAA0B;AACtC;;AAEF,QAAK,MAAM,WAAW,SACpB,SAAQ,IAAI,GAAG,QAAQ,KAAK,IAAI,QAAQ,YAAY,WAAW,IAAI,QAAQ,WAAW;IAExF;;CAGJ,YAAY,OAAO,UAAiC,EAAE,KAAoB;AACxE,QAAM,KAAK,WAAW,OAAO,WAAW;GACtC,MAAM,YAAY,OAAO,eAAe,eAAe;AACvD,OAAI,QAAQ,MAAM;AAChB,YAAQ,IAAI,KAAK,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC;AACnD;;AAEF,QAAK,MAAM,YAAY,UACrB,SAAQ,IAAI,GAAG,SAAS,GAAG,IAAI,SAAS,cAAc;IAExD;;CAGJ,SAAS,OACP,MACA,UAAuC,EAAE,KACvB;AAClB,QAAM,KAAK,WAAW,OAAO,WAAW;GACtC,MAAM,QAA4B;IAChC;IACA,GAAI,QAAQ,OAAO,EAAE,UAAU,QAAQ,MAAM,GAAG,EAAE;IAClD,GAAI,QAAQ,WAAW,EAAE,UAAU,QAAQ,UAAU,GAAG,EAAE;IAC3D;GACD,MAAM,UAAU,MAAM,O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EAKtC,GAAA,QAAgB,OAAA;EAAA,QAiBR,wBAAA;EAAA,QA8DA,sBAAA;EAAA,QAWA,gCAAA;EAAA,QAKA,sBAAA;EAAA,QAEA,4BAAA;AAAA"}
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":";;;;;;;;;;;;AA2BA,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,MAAM,KAAK,0BAA0B;EAC/D,MAAM,kBAAkB,KAAK,wBAAwB;EACrD,MAAM,qBAAqB,KAAK,QAAQ,KAAK,IAAI,MAAM;EACvD,MAAM,SAAS,UAAU,QAAQ,UAAU,CAAC,mBAAmB,GAAG,KAAK,QAAQ,KAAK,MAAM,EAAE,CAAC,EAAE;GAC7F,OAAO;GACP,KAAK;IACH,GAAG,yBAAyB,KAAK,IAAI;IACrC,+BAA+B;IAC/B,+BAA+B;IAC/B,GAAI,qBAAqB,E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AQ,MAAM,iDAAiD,iBAAiB,QAAQ,MAAM,UAAU,OAAO,MAAM,GAAG;AACxH,OAAI,eAAe;AACjB,YAAQ,MAAM,2DAA2D,cAAc,SAAS,eAAe,GAAG;AAClH,WAAO,cAAc;;AAEvB,UAAO,KAAK,kCAAkC;;AAGlD,SAAO,eAAe,qBAAqB,KAAK,8BAA8B;;CAGhF,yBAAiC,YAA2B;AAC1D,MAAI,KAAK,QAAQ,wBAAwB;AACvC,SAAM,KAAK,QAAQ,wBAAwB;AAC3C;;EAEF,MAAM,WAAW,MAAM,IAAI,+BAA+B,KAAK,IAAI,CAAC,WAAW,EAAE,CAAC;AAClF,MAAI,SAAS,WAAW,aAAa,SAAS,WAAW,SACvD,OAAM,IAAI,MAAM,SAAS,gBAAgB,SAAS,eAAe,kCAAkC;;CAIvG,yCAAyD;AACvD,UAAQ,MAAM,8IAA8I;AAC5J,SAAO,KAAK,8BAA8B;;CAG5C,+BAA+C,KAAK,QAAQ,mBAAmBA,qBAAmB;CAElG,qCAAqD;AACnD,MAAI,KAAK,QAAQ,sBACf,QAAO,KAAK,QAAQ;AAEtB,SAAO,QAAQ,QAAQ,cAAc,OAAO,KAAK,IAAI,CAAC,EAAE,kBAAkB"}
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,MAAM,KAAK,0BAA0B;EAC/D,MAAM,kBAAkB,KAAK,wBAAwB;EACrD,MAAM,qBAAqB,KAAK,QAAQ,KAAK,IAAI,MAAM;EACvD,MAAM,SAAS,UAAU,QAAQ,UAAU,CAAC,mBAAmB,GAAG,KAAK,QAAQ,KAAK,MAAM,EAAE,CAAC,EAAE;GAC7F,OAAO;GACP,KAAK;IACH,GAAG,yBAAyB,K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AAK,wBAAwB;GACnC,MAAM,qBAAqB,cAAc,sBAAsB;AAC/D,OAAI,sBAAsB,2BAA2B,EAAE,iBAAiB,mBAAmB,iBAAiB,CAAC,CAC3G,QAAO,mBAAmB;AAE5B,UAAO,eAAe,qBAAqB,KAAK,kCAAkC;WAC3E,OAAO;AACd,WAAQ,MAAM,iDAAiD,iBAAiB,QAAQ,MAAM,UAAU,OAAO,MAAM,GAAG;AACxH,OAAI,eAAe;AACjB,YAAQ,MAAM,2DAA2D,cAAc,SAAS,eAAe,GAAG;AAClH,WAAO,cAAc;;AAEvB,UAAO,KAAK,kCAAkC;;AAGlD,SAAO,eAAe,qBAAqB,KAAK,8BAA8B;;CAGhF,yBAAiC,YAA2B;AAC1D,MAAI,KAAK,QAAQ,wBAAwB;AACvC,SAAM,KAAK,QAAQ,wBAAwB;AAC3C;;EAEF,MAAM,WAAW,MAAM,IAAI,+BAA+B,KAAK,IAAI,CAAC,WAAW,EAAE,CAAC;AAClF,MAAI,SAAS,WAAW,aAAa,SAAS,WAAW,SACvD,OAAM,IAAI,MAAM,SAAS,gBAAgB,SAAS,eAAe,kCAAkC;;CAIvG,yCAAyD;AACvD,UAAQ,MAAM,8IAA8I;AAC5J,SAAO,KAAK,8BAA8B;;CAG5C,+BAA+C,KAAK,QAAQ,mBAAmBA,qBAAmB;CAElG,qCAAqD;AACnD,MAAI,KAAK,QAAQ,sBACf,QAAO,KAAK,QAAQ;AAEtB,SAAO,QAAQ,QAAQ,cAAc,OAAO,KAAK,IAAI,CAAC,EAAE,kBAAkB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/service",
3
- "version": "0.5.0",
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,30 +42,30 @@
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.41",
46
- "@nextclaw/channel-extension-email": "0.2.41",
45
+ "@nextclaw/channel-extension-wecom": "0.2.42-beta.0",
47
46
  "@nextclaw/channel-extension-feishu": "0.2.31",
47
+ "@nextclaw/channel-extension-dingtalk": "0.2.42-beta.0",
48
+ "@nextclaw/channel-extension-telegram": "0.2.42-beta.0",
49
+ "@nextclaw/channel-extension-discord": "0.2.42-beta.0",
50
+ "@nextclaw/channel-extension-slack": "0.2.42-beta.0",
48
51
  "@nextclaw/channel-extension-qq": "0.2.30",
49
- "@nextclaw/channel-extension-discord": "0.2.41",
50
- "@nextclaw/channel-extension-slack": "0.2.41",
51
- "@nextclaw/channel-extension-telegram": "0.2.41",
52
- "@nextclaw/channel-extension-wecom": "0.2.41",
52
+ "@nextclaw/channel-extension-email": "0.2.42-beta.0",
53
53
  "@nextclaw/channel-extension-weixin": "0.2.31",
54
- "@nextclaw/channel-extension-whatsapp": "0.2.41",
55
- "@nextclaw/client-sdk": "0.10.0",
56
- "@nextclaw/core": "0.17.15",
57
- "@nextclaw/ncp": "0.10.0",
58
- "@nextclaw/mcp": "0.3.42",
59
- "@nextclaw/ncp-agent-runtime": "0.4.21",
60
- "@nextclaw/ncp-mcp": "0.2.42",
54
+ "@nextclaw/client-sdk": "0.11.0-beta.0",
55
+ "@nextclaw/kernel": "0.15.0-beta.0",
56
+ "@nextclaw/core": "0.17.16-beta.0",
61
57
  "@nextclaw/ncp-toolkit": "0.6.23",
62
- "@nextclaw/kernel": "0.14.0",
63
- "@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.3.42",
64
- "@nextclaw/nextclaw-hermes-acp-bridge": "0.3.21",
65
- "@nextclaw/remote": "0.3.53",
58
+ "@nextclaw/ncp": "0.10.0",
59
+ "@nextclaw/mcp": "0.3.43-beta.0",
60
+ "@nextclaw/ncp-mcp": "0.2.43-beta.0",
61
+ "@nextclaw/ncp-agent-runtime": "0.4.22-beta.0",
66
62
  "@nextclaw/nextclaw-ncp-runtime-http-client": "0.3.22",
67
- "@nextclaw/server": "0.21.0",
68
- "@nextclaw/runtime": "0.4.41",
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",
67
+ "@nextclaw/remote": "0.3.54-beta.0",
68
+ "@nextclaw/runtime": "0.4.42-beta.0",
69
69
  "@nextclaw/shared": "0.4.30"
70
70
  },
71
71
  "devDependencies": {