@zqagent/core 0.2.10 → 0.2.11

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.
@@ -11413,7 +11413,7 @@ function buildNodeInfo(store, opts) {
11413
11413
  nodeId: opts.nodeId ?? ensureNodeId(store),
11414
11414
  platform: process.platform,
11415
11415
  mode: process.env.NODE_MODE ?? "standalone",
11416
- version: "0.2.10",
11416
+ version: "0.2.11",
11417
11417
  admin: opts.admin,
11418
11418
  projects: opts.projects
11419
11419
  };
@@ -12406,7 +12406,7 @@ function buildNodeHost(store, manager, diskPath) {
12406
12406
  arch: process.arch,
12407
12407
  release: os6.release(),
12408
12408
  uptimeSec: Math.round(os6.uptime()),
12409
- version: "0.2.10",
12409
+ version: "0.2.11",
12410
12410
  mode: process.env.NODE_MODE ?? "standalone",
12411
12411
  cpu: {
12412
12412
  count: cpus2.length,
@@ -13968,7 +13968,7 @@ function createApp(store, manager, opts = {}) {
13968
13968
  json(res, 200, {
13969
13969
  status: "ok",
13970
13970
  // 版本让运维/探针能确认线上跑的是哪个构建(更新与回滚据此判断)
13971
- version: "0.2.10",
13971
+ version: "0.2.11",
13972
13972
  features: { mcp: hasServerMcpConfig() }
13973
13973
  });
13974
13974
  return;
@@ -15671,7 +15671,7 @@ var FleetNodeBridge = class {
15671
15671
  label: this.opts.deps.store.loadNodeLabel() ?? void 0,
15672
15672
  platform: process.platform,
15673
15673
  mode: process.env.NODE_MODE ?? "standalone",
15674
- version: "0.2.10",
15674
+ version: "0.2.11",
15675
15675
  ip: primaryIp()
15676
15676
  };
15677
15677
  }
@@ -15726,7 +15726,7 @@ var FleetNodeBridge = class {
15726
15726
  label: this.opts.deps.store.loadNodeLabel() ?? void 0,
15727
15727
  platform: process.platform,
15728
15728
  mode: process.env.NODE_MODE ?? "standalone",
15729
- version: "0.2.10",
15729
+ version: "0.2.11",
15730
15730
  ip: primaryIp(),
15731
15731
  projects,
15732
15732
  totals,
@@ -17450,7 +17450,7 @@ var path29 = __toESM(require("path"), 1);
17450
17450
  var import_node_child_process5 = require("child_process");
17451
17451
  var import_node_module3 = require("module");
17452
17452
  function currentVersion() {
17453
- const injected = "0.2.10"?.trim();
17453
+ const injected = "0.2.11"?.trim();
17454
17454
  if (injected) return injected;
17455
17455
  try {
17456
17456
  const req2 = (0, import_node_module3.createRequire)(importMetaUrl);
@@ -11396,7 +11396,7 @@ function buildNodeInfo(store, opts) {
11396
11396
  nodeId: opts.nodeId ?? ensureNodeId(store),
11397
11397
  platform: process.platform,
11398
11398
  mode: process.env.NODE_MODE ?? "standalone",
11399
- version: "0.2.10",
11399
+ version: "0.2.11",
11400
11400
  admin: opts.admin,
11401
11401
  projects: opts.projects
11402
11402
  };
@@ -12389,7 +12389,7 @@ function buildNodeHost(store, manager, diskPath) {
12389
12389
  arch: process.arch,
12390
12390
  release: os6.release(),
12391
12391
  uptimeSec: Math.round(os6.uptime()),
12392
- version: "0.2.10",
12392
+ version: "0.2.11",
12393
12393
  mode: process.env.NODE_MODE ?? "standalone",
12394
12394
  cpu: {
12395
12395
  count: cpus2.length,
@@ -13951,7 +13951,7 @@ function createApp(store, manager, opts = {}) {
13951
13951
  json(res, 200, {
13952
13952
  status: "ok",
13953
13953
  // 版本让运维/探针能确认线上跑的是哪个构建(更新与回滚据此判断)
13954
- version: "0.2.10",
13954
+ version: "0.2.11",
13955
13955
  features: { mcp: hasServerMcpConfig() }
13956
13956
  });
13957
13957
  return;
@@ -15654,7 +15654,7 @@ var FleetNodeBridge = class {
15654
15654
  label: this.opts.deps.store.loadNodeLabel() ?? void 0,
15655
15655
  platform: process.platform,
15656
15656
  mode: process.env.NODE_MODE ?? "standalone",
15657
- version: "0.2.10",
15657
+ version: "0.2.11",
15658
15658
  ip: primaryIp()
15659
15659
  };
15660
15660
  }
@@ -15709,7 +15709,7 @@ var FleetNodeBridge = class {
15709
15709
  label: this.opts.deps.store.loadNodeLabel() ?? void 0,
15710
15710
  platform: process.platform,
15711
15711
  mode: process.env.NODE_MODE ?? "standalone",
15712
- version: "0.2.10",
15712
+ version: "0.2.11",
15713
15713
  ip: primaryIp(),
15714
15714
  projects,
15715
15715
  totals,
@@ -17433,7 +17433,7 @@ import * as path30 from "path";
17433
17433
  import { spawnSync as spawnSync3 } from "child_process";
17434
17434
  import { createRequire as createRequire3 } from "module";
17435
17435
  function currentVersion() {
17436
- const injected = "0.2.10"?.trim();
17436
+ const injected = "0.2.11"?.trim();
17437
17437
  if (injected) return injected;
17438
17438
  try {
17439
17439
  const req2 = createRequire3(import.meta.url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zqagent/core",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "TypeScript agent engine core — TurnEngine, ToolRegistry, PermissionEngine, OpenAI provider with 18 built-in tools",
5
5
  "author": "成都志前科技有限公司",
6
6
  "type": "module",