585 Commits

Author SHA1 Message Date
zeyu.fz eaa6b07c7d build(kscli): 构建并发布 knowledge-studio-cli 包
- 将 knowledge-studio-cli 版本更新至 1.4.0
- 在发布脚本中新增 knowledge-studio-cli 构建步骤
- 更新包依赖顺序,加入 knowledge-studio-cli 包
- 确保知识库检索相关 CLI 正确构建发布
2026-06-26 16:24:17 +08:00
zeyu.fz ca69316446 feat(cli): 新增 knowledge search 和 knowledge chat 命令支持
- 在 CLI 命令中添加 knowledgeSearch 和 knowledgeChat 两个新命令
- 新增 knowledge 搜索命令,支持多模态图像检索及对话历史上下文传递
- 新增 knowledge 问答命令,支持多轮消息流式回答及多模态输入
- 在核心客户端库(core)中添加对应的 API 端点和类型定义
- 知识库检索接口 retrieve 标注为弃用,推荐使用 search 命令替代
- 更新 kscli 主程序入口,接入新命令并兼容旧命令
- 补充 e2e 测试覆盖 knowledge search 和 knowledge chat 的各类边界与流程
- 更新文档及命令示例,实现使用说明同步最新功能
- 增加测试配置,改善 E2E 测试环境与超时设置
2026-06-26 15:52:44 +08:00
若麒 9c8fe96a1f build(release): publish runtime + commands alongside core/cli; minify library builds 2026-06-26 14:17:27 +08:00
故璃 18d5c420df feat: add cpt dataset type 2026-06-25 19:59:17 +08:00
故璃 9ad85b6278 fix: test issue 2026-06-25 19:26:55 +08:00
故璃 82bdf9ed78 fix: resolve cr issue 2026-06-25 17:48:52 +08:00
故璃 4383eeb416 fix: fix variable name 2026-06-25 16:16:55 +08:00
zeyu.fz 46d8474ec1 feat(kscli): 新增 Knowledge Studio CLI 轻量级 RAG 命令行工具
- 用于阿里云 Model Studio 的知识库检索,支持 RAG(检索增强生成)场景
- 提供配置查看与设置、知识库检索、自更新功能
- 替换原 rag 子包,移除 rag 相关代码及配置
- 新增独立 package,包含完整的构建、启动和发布配置
- 添加详细的中英文 README 文档说明安装、使用与认证方式
- 配置 TypeScript 和 Vite 构建支持,确保开发体验和构建质量
- 更新根 package.json 脚本,将 rag dev 命令替换为 kscli dev
- 新增 Git 忽略文件,排除日志、构建输出等无关文件
2026-06-25 15:08:35 +08:00
故璃 1851ec85f0 feat: sync readme 2026-06-25 14:22:26 +08:00
故璃 0797b0767f Merge branch 'main' into feat/model-train 2026-06-25 14:02:23 +08:00
故璃 17f4454df4 feat: refact validator to support dpo dataset 2026-06-25 13:56:15 +08:00
故璃 e67615eabd feat: auto update 2026-06-24 20:50:30 +08:00
ls 39513200bc Merge pull request #79 from modelstudioai/token-plan-openapi
Token plan openapi
2026-06-24 17:39:00 +08:00
ls 7b5bb1c341 Merge pull request #76 from budiga/token-plan-openapi
Token plan openapi
2026-06-24 17:38:25 +08:00
故璃 e0a7c86f05 feat: update doc 2026-06-24 17:29:12 +08:00
ls 908439e3f9 Merge pull request #75 from modelstudioai/token-plan-openapi
feat(token-plan): add Token Plan organization & seats commands
2026-06-24 17:28:22 +08:00
若麒 7a0a083b2e refactor(core): replace skipDefaultApiKeySetup with required auth field
Commands now declare their credential requirement explicitly via a
required `auth: "apiKey" | "console" | "none"` field instead of the
boolean `skipDefaultApiKeySetup`. The runtime prepares credentials
based on this declaration and skips API-key setup under --dry-run.

- core: add AuthRequirement type and required `auth` field to
  Command/CommandSpec; drop skipDefaultApiKeySetup
- runtime: gate API-key setup on `auth === "apiKey" && !dryRun`
- commands: annotate all 45 commands (apiKey 25 / console 11 / none 9)
2026-06-24 16:41:09 +08:00
若麒 61689ec0da build: jump to source across packages via @bailian-cli/source export condition 2026-06-24 16:14:20 +08:00
雷骏 ba78d13a52 feat: add auto update cli 2026-06-24 15:31:24 +08:00
若麒 24abdbf450 refactor(commands): decouple command paths from binary name; drop path presets
Commands no longer hardcode "bl" or their path — the runtime renders the
`<bin> <path>` prefix from each product's registry key, so shared commands
show `bl knowledge retrieve` / `rag retrieve` from one codebase. commands
package now exports only individual commands (no groups/catalog); bl and rag
each spell out their own path map. Also removes the unused export-schema command.
2026-06-24 14:40:08 +08:00
故璃 cbffe6c541 Merge branch 'main' into feat/model-train 2026-06-24 14:19:58 +08:00
故璃 d567d6af0c feat: setup model train/deploy cli commend 2026-06-24 14:01:28 +08:00
wb-liuxuehuan 33b1df01cc Merge remote-tracking branch 'upstream/token-plan-openapi' into token-plan-openapi 2026-06-24 13:02:35 +08:00
lisheng.lisheng 0ba705f194 refactor(token-plan): rename top-level command tokenplan -> token-plan
Rename the public command group from `bl tokenplan` to `bl token-plan`
for kebab-case consistency. Source directory and reference doc renamed
accordingly; remote API paths (/tokenplan/...) and internal TS
identifiers are unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-24 12:48:19 +08:00
wb-liuxuehuan 23d409f9ff Merge remote-tracking branch 'upstream/token-plan-openapi' into token-plan-openapi 2026-06-24 12:46:53 +08:00
wb-liuxuehuan 70ccc6a447 feat(tokenplan): 修改Token Plan 命令名称及相关优化
新增 `token-plan` 相关命令,包括 `add-member`、`assign-seats`、`create-key` 和 `list-seats`,支持管理 Token Plan 组织成员和 API 密钥。更新了命令的参数处理逻辑,确保对输入参数的验证更加严格,提升了代码的可读性和健壮性。同时,更新了相关文档,提供使用示例和参数说明。
2026-06-24 12:44:14 +08:00
lisheng.lisheng b7fba7679e chore: update Node.js version to 24 2026-06-24 12:34:43 +08:00
ls 88e5b903bc Merge pull request #74 from budiga/token-plan-openapi
Token plan openapi
2026-06-24 12:33:51 +08:00
wb-liuxuehuan ba1661356f feat(tokenplan): 重构 Token Plan 命令以支持新功能
对 `tokenplan` 相关命令进行了重构,新增了 `ak-sign` 模块以支持 ACS3-HMAC-SHA256 签名,优化了参数处理逻辑,简化了对凭证的处理。更新了 `add-member`、`assign-seats`、`create-key` 和 `seats` 命令,增强了对参数的验证和处理,确保代码的可读性和健壮性。同时,新增了类型定义和工具函数以支持更好的代码结构。
2026-06-24 11:14:57 +08:00
Gong Shiqi 60c49ec1ac Merge pull request #72 from modelstudioai/chore/list-voices
feat(omni,speech): add --list-voices and fix cosyvoice voice ID
v1.4.2
2026-06-24 10:40:10 +08:00
若麒 07c71412cf chore(release): 1.4.2 2026-06-24 10:35:26 +08:00
若麒 e2c4935e84 Merge remote-tracking branch 'origin/main' into chore/list-voices 2026-06-24 10:29:15 +08:00
Gong Shiqi 4f10b7f50c Merge pull request #71 from modelstudioai/feat/console-login-site
feat: Add default login site selection for agent
2026-06-24 10:16:20 +08:00
wb-liuxuehuan dc5a535bf3 Merge remote-tracking branch 'upstream/main' into token-plan-openapi 2026-06-24 10:12:18 +08:00
若麒 ad236e9b11 test(runtime): move unit tests from cli to runtime package 2026-06-23 19:32:21 +08:00
wb-liuxuehuan 14105547e8 fix(tokenplan): 优化参数处理逻辑
更新 `assign-seats` 和 `seats` 命令中的参数处理逻辑,简化对 AccountIds 和 StatusList 的检查,确保在缺少必要参数时抛出相应错误。同时,增强对 `--query-assigned` 参数的验证,确保其值为 'true' 或 'false'。此更改提高了代码的可读性和健壮性。
2026-06-23 18:27:12 +08:00
若麒 d971a04fb8 refactor(cli): split into runtime / commands packages for composable CLIs
Decompose the monolithic `cli` package into three layers so multiple
products can be assembled from a shared base:

- bailian-cli-runtime: framework infra (createCli, registry, args,
  output, pipeline, utils) — product-agnostic
- bailian-cli-commands: command library, grouped (base/knowledge/text/
  media/memory/misc) so each product picks the sets it needs
- packages/cli (bl): full command set; packages/rag (rag): base +
  knowledge only

Product identity (binName / clientName / npmPackage) is injected at the
createCli boundary and required there, with no per-consumer defaults.
2026-06-23 17:51:14 +08:00
wb-liuxuehuan 1590e69d67 feat(tokenplan): 更新 AccountIds 参数处理逻辑
修改 `assign-seats` 命令中的 AccountIds 参数处理,将字符串类型的 AccountIds 转换为数组。同时,更新相关的测试用例以验证新逻辑的正确性。
2026-06-23 17:42:10 +08:00
clh02467605 fd36db5cab fix: remove unsupport voice 2026-06-23 17:08:37 +08:00
wb-liuxuehuan d74686f09f feat(tokenplan): 添加 Token Plan 相关命令
新增 `tokenplan add-member`、`tokenplan assign-seats` 和 `tokenplan create-key` 命令,支持管理 Token Plan 组织成员和 API 密钥。相关文档已更新,提供使用示例和参数说明。
2026-06-23 16:51:54 +08:00
clh02467605 30a0bbbc87 fix: fixed omni e2e 2026-06-23 15:34:52 +08:00
clh02467605 9761932b4c feat(omni): add voice listing functionality and update voice options 2026-06-23 14:50:09 +08:00
wb-liuxuehuan c0d30fee3d feat(tokenplan): 添加 tokenplan seats 命令以列出订阅座位详情
新增 tokenplan seats 命令,支持分页和状态过滤,提供详细的座位信息查询功能。相关文档已更新。
2026-06-23 14:05:11 +08:00
qcq01083097 9cbd4aab85 feat: Add default login site selection for agent 2026-06-22 17:09:17 +08:00
Gong Shiqi 19c4f5f2ab Merge pull request #70 from modelstudioai/feat/switch-model
feat(video): upgrade happyhorse model from 1.0 to 1.1, video-edit has not been updated and is still 1.0.
v1.4.1
2026-06-22 17:08:13 +08:00
若麒 af524e5487 chore(release): 1.4.1 2026-06-22 17:03:14 +08:00
clh02467605 4e025dda8d feat(video): upgrade happyhorse model from 1.0 to 1.1, video-edit has not been updated and is still 1.0.
- Update default models in bl-api pipeline from happyhorse-1.0 to 1.1
- Replace happyhorse-1.0-t2v/i2v/r2v references with 1.1 versions in commands
2026-06-22 14:30:48 +08:00
Gong Shiqi 1ffcbdd80c Merge pull request #65 from modelstudioai/feat/optimize-skill
Feat/optimize skill
2026-06-18 18:05:07 +08:00
clh02467605 8aedeca4ac chore(skill): bump skill version to 1.3.4 2026-06-18 17:50:43 +08:00
clh02467605 f5a7dd494b docs(bailian-cli): Update SKILL.md to reference new pre-flight checklist procedure 2026-06-18 15:25:27 +08:00