@actiondock/cli 2.4.0 → 2.4.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,4 +1,5 @@
1
1
  import { createActionDockTarget, findProjectRoot, resolvePackageRoot, resolveTarget, } from "@actiondock/core";
2
+ import { createNodePlatform } from "@actiondock/runtime-node";
2
3
  /**
3
4
  * 高阶目标执行辅助:统一封装「目标解析 → Target 创建 → 业务回调 → try/finally close」样板。
4
5
  *
@@ -33,6 +34,11 @@ export async function withTarget(options, context, fn, localOptions) {
33
34
  projectRoot: localRoot,
34
35
  customHome: context?.customHome,
35
36
  dataDir: options.dataDir || context?.dataDir,
37
+ platform: createNodePlatform({
38
+ customHome: context?.customHome,
39
+ dataDir: options.dataDir || context?.dataDir,
40
+ rootDir: localRoot,
41
+ }),
36
42
  ...(localOptions?.scanLinkedPackages !== undefined
37
43
  ? { scanLinkedPackages: localOptions.scanLinkedPackages }
38
44
  : undefined),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actiondock/cli",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "ActionDock CLI facade for developing, testing, building, and exporting standalone Agent Actions and Skills",
5
5
  "type": "module",
6
6
  "bin": {
@@ -34,11 +34,11 @@
34
34
  "test": "node ../../scripts/run-tests.ts"
35
35
  },
36
36
  "dependencies": {
37
- "@actiondock/builder": "^2.4.0",
38
- "@actiondock/core": "^2.4.0",
39
- "@actiondock/mcp": "^2.4.0",
40
- "@actiondock/runtime-node": "^2.4.0",
41
- "@actiondock/sdk": "^2.4.0",
37
+ "@actiondock/builder": "^2.4.1",
38
+ "@actiondock/core": "^2.4.1",
39
+ "@actiondock/mcp": "^2.4.1",
40
+ "@actiondock/runtime-node": "^2.4.1",
41
+ "@actiondock/sdk": "^2.4.1",
42
42
  "commander": "^13.1.0"
43
43
  },
44
44
  "devDependencies": {