mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
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:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user