refactor(managed-agent): use SDK project service subpaths

Replace standalone project packages with @openagentpack/sdk 0.7.0 and update project/version imports.

The pnpm lockfile remains pending until SDK 0.7.0 is published to npm; this integration has been validated against the local SDK build.
This commit is contained in:
chenanran555
2026-09-07 19:58:47 +08:00
parent c6b9931d6f
commit f44fb2e95f
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -40,8 +40,7 @@
"check": "vp check"
},
"dependencies": {
"@openagentpack/project-workspace": "0.4.0",
"@openagentpack/sdk": "0.5.0",
"@openagentpack/sdk": "0.7.0",
"bailian-cli-core": "workspace:*",
"bailian-cli-runtime": "workspace:*",
"boxen": "catalog:",
@@ -15,7 +15,7 @@ import {
previewProjectBuild,
type ProjectBuildResolver,
validateDirectoryProject,
} from "@openagentpack/project-workspace";
} from "@openagentpack/sdk/project-workspace";
import { CREDENTIALS_NOTE, resolveAgentProjectConfig } from "./_engine/config-loader.ts";
import { withStdoutProtected } from "./_engine/console-capture.ts";
import { withAgentErrors } from "./_engine/errors.ts";
@@ -10,7 +10,7 @@ import {
prepareProjectVersion,
previewProjectVersion,
restoreProjectVersion,
} from "@openagentpack/project-versions";
} from "@openagentpack/sdk/project-versions";
import { afterEach, describe, expect, test } from "vite-plus/test";
import { playgroundBrowserTargetFromSummary } from "../src/commands/managed-agent/_engine/playground-launcher.ts";