mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
build(kscli): 构建并发布 knowledge-studio-cli 包
- 将 knowledge-studio-cli 版本更新至 1.4.0 - 在发布脚本中新增 knowledge-studio-cli 构建步骤 - 更新包依赖顺序,加入 knowledge-studio-cli 包 - 确保知识库检索相关 CLI 正确构建发布
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "knowledge-studio-cli",
|
||||
"version": "0.0.1",
|
||||
"version": "1.4.0",
|
||||
"description": "Lightweight RAG CLI for Aliyun Model Studio — focused on knowledge-base retrieval.",
|
||||
"keywords": [
|
||||
"alibaba-cloud",
|
||||
|
||||
@@ -65,6 +65,9 @@ export async function runCheck(options = {}) {
|
||||
step("build bailian-cli");
|
||||
run("pnpm", ["--filter", "bailian-cli", "run", "build"]);
|
||||
|
||||
step("build knowledge-studio-cli");
|
||||
run("pnpm", ["--filter", "knowledge-studio-cli", "run", "build"]);
|
||||
|
||||
step("pack + scan (publint, gitleaks)");
|
||||
packAndScan({ log });
|
||||
|
||||
|
||||
@@ -4,13 +4,14 @@ import { fileURLToPath } from "url";
|
||||
|
||||
export const ROOT = resolve(dirname(fileURLToPath(import.meta.url)), "../../..");
|
||||
|
||||
// Dependency order: core ← runtime ← commands ← cli.
|
||||
// Dependency order: core ← runtime ← commands ← cli / kscli.
|
||||
// Consumers rely on this ordering for build/publish (dependencies first).
|
||||
export const PACKAGES = [
|
||||
{ key: "core", dir: "packages/core", name: "bailian-cli-core" },
|
||||
{ key: "runtime", dir: "packages/runtime", name: "bailian-cli-runtime" },
|
||||
{ key: "commands", dir: "packages/commands", name: "bailian-cli-commands" },
|
||||
{ key: "cli", dir: "packages/cli", name: "bailian-cli" },
|
||||
{ key: "kscli", dir: "packages/kscli", name: "knowledge-studio-cli" },
|
||||
];
|
||||
|
||||
export function readJson(path) {
|
||||
|
||||
Reference in New Issue
Block a user