故璃
fd96fd664c
feat(quota): split --delete into a dedicated quota delete command
...
The destructive --delete flag sat on "quota update", but the --yes
high-risk confirmation guards command paths rather than individual flags.
Promote it to its own "quota delete" command with a --yes guardrail, and
reduce "quota update" to QPM/TPM updates only.
2026-09-01 17:35:46 +08:00
故璃
38926aeb22
feat: require --yes confirmation for destructive operations
...
- finetune/deploy/dataset delete: add --yes flag + confirmDangerousAction
- quota update --delete: confirm before clearing rate limits
- non-TTY runs without --yes fail with a USAGE error
- add e2e coverage and regenerate skill references
2026-08-31 19:26:31 +08:00
若麒
59250c4f44
perf(test): streamline command e2e execution
2026-08-28 19:14:06 +08:00
rendianmeng
bd8b08b617
feat: cancel validate API key
2026-08-28 13:10:56 +08:00
若麒
9600f06205
Merge remote-tracking branch 'origin/main' into feat/profile-capability-fallback
...
# Conflicts:
# skills/bailian-gen/reference/index.md
2026-08-26 19:27:01 +08:00
若麒
fc3ac36d00
Merge branch 'main' into feat/profile-capability-fallback
2026-08-26 18:54:01 +08:00
clh02467605
0d24f46f73
fix(e2e): unbind wan3.0/--file dry-run tests from token-plan
2026-08-26 17:09:27 +08:00
clh02467605
8360a9f584
feat(e2e): add tests for video generation with --file option and mutual exclusivity checks
2026-08-26 15:48:08 +08:00
若麒
670c15532b
feat(auth): expand Token Plan capabilities and speech defaults
2026-08-26 13:42:27 +08:00
clh02467605
18fd2ed8e5
fix: fixed format
2026-08-24 18:38:02 +08:00
clh02467605
4c51c95f31
feat(video): switch default video model to wan3.0-video and adapt All-in-One support
...
- Update default models for video generate/ref and config UI to wan3.0-video
- Add --file file-to-video support for wan3.0; route kf2v through media[] instead of image2video
- Emit reference voices as standalone reference_audio entries on wan3.0 ref
- Sync e2e/stress tests and bailian-gen reference docs
2026-08-24 18:00:52 +08:00
zeyu.fz
b830a14e11
docs(knowledge): 扩展知识库描述长度限制到 500 字符
...
- 修改命令行参数文档,将 --description 长度限制由 200 字符增加到 500 字符
- 更新代码校验逻辑,支持描述长度最大 500 字符
- 调整相关提示信息,反映新的长度限制
- 修改测试用例,支持 501 字符的描述参数触发用法错误
- 更新 CLI 参考文档中描述字段的长度说明
2026-08-22 11:52:39 +08:00
zeyu.fz
a6291e00e1
docs(knowledge): 强制添加知识库描述参数
...
- 升级知识库创建命令,`--description` 参数变为必填,描述知识库内容和用途
- 更新所有相关文档示例,统一加入 `--description` 参数和示例文本
- CLI 校验增强,缺失或超长的描述参数本地报错,避免服务端拒绝
- 优化服务创建命令,推荐填写描述以帮助 agent 选择合适服务
- 多个测试用例添加对描述参数的验证和断言
- 知识库和集合列表中描述信息作为区分同类项目的辅助信息显式展示
- 其他细节调整包括命令帮助及参数说明内容的更新
2026-08-22 11:21:22 +08:00
若麒
e31addf0d6
Merge branch 'main' into feat/bilingual-quick-start-examples
2026-08-18 14:33:34 +08:00
chenanran555
6811ec619d
Merge remote-tracking branch 'origin/main' into feat/cma-deployment
...
# Conflicts:
# packages/cli/package.json
# packages/commands/package.json
# packages/core/package.json
# packages/kscli/package.json
# packages/runtime/package.json
# skills/bailian-cli/SKILL.md
# skills/bailian-finetune/SKILL.md
# skills/bailian-gen/SKILL.md
# skills/bailian-managed-agent/SKILL.md
# skills/bailian-protocol/SKILL.md
2026-08-17 17:18:53 +08:00
clark-fc
ad5c44d746
Merge pull request #166 from modelstudioai/feat/iteration1-w1-foundation
...
Feat/iteration1 w1 foundation
2026-08-17 14:08:56 +08:00
zeyu.fz
9450895a06
test(commands): 添加dry-run参数测试支持文件检测
...
- 增加--dry-run参数的测试用例
- 验证在dry-run模式下无支持文件的退出码和错误信息
- 确保无支持文件时正确返回错误码2
2026-08-17 13:59:05 +08:00
zeyu.fz
70b50060cf
Merge remote-tracking branch 'origin/main' into feat/iteration1-w1-foundation
2026-08-17 12:55:57 +08:00
故璃
3909a17da1
Merge branch 'main' into feat/cli-skill-sync
2026-08-17 12:51:26 +08:00
故璃
79a0d2db9a
fix(permission): drop explicit undefined return and make revoke --all e2e credential-independent
2026-08-16 23:48:19 +08:00
故璃
8e6af6c669
feat: update model quota limit & add model permission command
2026-08-16 19:49:23 +08:00
故璃
7461189007
Merge branch 'main' into feat/cli-skill-sync
2026-08-15 10:22:09 +08:00
zeyu.fz
4086da572f
docs(knowledge): 修改多处参数描述为“精确匹配”并完善错误处理说明
...
- 将 category-list、file-list、service-list 等命令参数的描述更新为强调“精确匹配”
- file-list 命令中 --name 参数改为匹配不含扩展名的精确文件名,并在备注中补充说明
- kb-stats 命令严格校验时间格式,增强无效格式报错及提示
- 丰富知识相关测试用例,增加对不存在 ID 的服务端错误传递和非零退出的正向断言
- 优化知识文档上传测试,支持跳过 node_modules/.git 文件夹及显示被跳过文件详情
- 修正知识搜索及聊天流程中未发布版本号引发的服务器拒绝场景测试
- 更新知识模块命令文档,补充参数要求和用法提示,提升用户指引明确度
2026-08-14 23:59:05 +08:00
chenanran555
8b7956d547
Merge remote-tracking branch 'origin/main' into feat/cma-deployment
...
# Conflicts:
# CHANGELOG.md
# CHANGELOG.zh.md
# packages/cli/package.json
# packages/commands/package.json
# packages/core/package.json
# packages/kscli/package.json
# packages/runtime/package.json
# skills/bailian-cli/SKILL.md
# skills/bailian-finetune/SKILL.md
# skills/bailian-gen/SKILL.md
# skills/bailian-managed-agent/SKILL.md
# skills/bailian-protocol/SKILL.md
2026-08-14 19:15:13 +08:00
chenanran555
7e21573793
feat(managed-agent): add OpenAgentPack deployment support
2026-08-14 19:01:47 +08:00
若麒
f6cf2b999a
feat(config): add bilingual UI with in-place language switching
2026-08-14 18:55:09 +08:00
gujieye
a9b0a752a8
Merge pull request #155 from modelstudioai/feat/coding-plan-usage
...
feat: add coding plan usage
2026-08-14 17:36:47 +08:00
Gong Shiqi
2b7a0c742a
Merge pull request #156 from modelstudioai/feat/text-chat-responses-api
...
feat(text): support Responses API
2026-08-14 17:21:40 +08:00
Gong Shiqi
e5818e103c
Merge pull request #145 from modelstudioai/feat/change-skills-install
...
Switch official skill install to bl skill init
2026-08-14 17:21:24 +08:00
gujieye
5f1c97940d
Merge branch 'main' into feat/coding-plan-usage
2026-08-14 17:05:53 +08:00
若麒
94ccab0898
feat(text): support Responses API
2026-08-14 17:02:29 +08:00
故璃
9133b6bdd1
feat: add coding plan usage
2026-08-14 15:56:16 +08:00
clh02467605
3b7c4cfabc
Merge remote-tracking branch 'refs/remotes/origin/main' into feat/mcp-support-sse
2026-08-14 14:42:21 +08:00
clh02467605
3ea2931152
fix(mcp): harden SSE parsing, abort, and fallback matching
2026-08-14 11:11:47 +08:00
zeyu.fz
b7a4efe619
feat(speech): 支持同步Flash ASR模型和异步文件转录模型
...
- 新增同步Flash ASR模型请求流程,支持单音频文件识别
- 实现了对同步Flash模型不支持异步标志及参数的限制校验
- 异步文件转录模型支持单文件URL上传和语言参数细化
- 优化异步和同步鉴权域显示,丰富根帮助和分组帮助提示
- speech recognize增加dry-run测试覆盖多种识别场景
- free-tier自动停用功能优化,改用统一轮询函数处理批量请求
- 统一轮询逻辑,支持console和telemetry接口的异步任务完成判定
- 规范输出格式和错误提示,增强用户调试体验
- 版本升级到1.14.3,更新示例参数和模型ID引用
2026-08-14 11:07:21 +08:00
gujieye
bedd59df27
Merge branch 'main' into codex/usage-token-plan-reset-times
2026-08-13 19:54:06 +08:00
故璃
39a488181e
refactor(usage): align token-plan with --output convention and tolerant quota reading
2026-08-13 19:43:11 +08:00
若麒
4ec0f6828b
fix(update): sync skills after binary upgrades
2026-08-13 19:14:49 +08:00
若麒
6b685964f3
feat(runtime): support colocated localized CLI help text
2026-08-13 16:12:09 +08:00
clh02467605
ae0c2c1213
fix(speech): handle qwen3-filetrans singular result.transcription_url
...
Normalize async ASR transcription items so waiting mode downloads text and --out works without changing shared media task types.
2026-08-13 15:52:34 +08:00
clh02467605
e244771ee9
test(speech): harden flash ASR contract coverage and docs
...
Add SSE disable header, data-URI format inference, broader response text
parsing, HTTP contract e2e, pipeline routing tests, and ASR model selection
guidance in bailian-gen.
2026-08-13 14:25:47 +08:00
clh02467605
9379da7a4c
fix(speech): align flash vocabulary_id and qwen3-filetrans language params
2026-08-13 09:47:09 +08:00
clh02467605
ddcd564e61
test: dry-run realtime ASR usage-error e2e to skip auth in CI
2026-08-12 17:22:25 +08:00
clh02467605
241de61866
fix: support sync-flash and qwen3-filetrans ASR models in speech recognize
...
- Add asr-routes.ts with resolveAsrApi() to route models to the correct
DashScope endpoint instead of always hitting asr/transcription
- Async filetrans: fun-asr / paraformer / *-filetrans → file_urls (plural)
- Async filetrans (qwen3): qwen3-asr-flash-filetrans* → file_url (singular)
- Sync flash (input-audio): fun-asr-flash* / qwen-audio-*-asr-flash → multimodal-generation
- Sync flash (qwen3): qwen3-asr-flash* → multimodal-generation + asr_options
- Realtime/streaming models now give a clear USAGE error instead of a
confusing server-side "url error"
- Propagate same routing logic to pipeline speechRecognize step
- Add table-driven unit tests and dry-run e2e assertions
Fixes #146
2026-08-12 17:12:23 +08:00
clh02467605
313966d7a9
feat(mcp): add SSE support with fallback mechanism for MCP connections
...
- Add McpSseClient implementation for classic HTTP+SSE MCP protocol
- Implement connectBailianMcpWithFallback with Streamable HTTP to SSE fallback
- Add isStreamableHttpUnsupported helper to detect 405 streamableHttp errors
- Update activate-hint logic to handle WebSearch 405 streamableHttp cases
- Replace direct MCP client usage with connection manager in call/tools commands
- Add proper client cleanup with close() calls in finally blocks
- Export new MCP connection utilities and types from core client module
- Add comprehensive tests for SSE client and fallback behavior
2026-08-12 15:44:51 +08:00
zeyu.fz
9bd8b60c22
refactor(knowledge-search): 移除对 query-history 功能的支持及相关代码
...
- 从文档中删除了 query-history 参数及示例
- 删除命令行接口中 query-history 相关 flag 定义
- 移除解析和传递 query-history 的逻辑代码
- 调整测试用例,去除对 query-history 的相关断言和测试
- 更新帮助文档,删除 query-history 相关说明和示例
- 精简接口类型定义,去除 query_history 字段
2026-08-11 19:44:00 +08:00
zeyu.fz
92a978af3c
fix(knowledge): 验证并限制查询时间范围为过去时间
...
- 修改时间参数说明,明确要求起止时间必须为过去时间
- 添加起始时间未来时报错机制,避免无意义查询
- 截断结束时间未来时间至当前时间,保障监控接口正确响应
- 添加测试覆盖,验证时间范围边界行为及错误处理
- 补充对应端到端测试路由映射,完善测试用例组织结构
2026-08-11 17:39:40 +08:00
zeyu.fz
81959145d7
test(auth): 添加 openApiSource 头和相关测试字段
...
- 在请求和响应处理中新增 openApiSource 字段
- 更新 e2e 测试以包含 openApiSource 字段验证
- 确保请求头包含 x-dashscope-openapisource 信息
- 在测试数据中添加 openApiSource 的示例值 BailianCLI
2026-08-11 14:23:01 +08:00
zeyu.fz
1b568e8d37
test(knowledge): 补全知识库相关命令参数并增加E2E测试覆盖
...
- 添加知识库列表、创建、删除及文件删除等命令路由
- 新增知识块、分类、文件相关参数的端到端测试,覆盖文件列表、分类列表、块新增更新及分页等功能
- 增加对知识文档状态上传、等待、轮询参数的实时测试及自清理逻辑
- 新增知识文档列表分页、过滤参数的E2E测试覆盖
- 扩展知识文档上传命令的轮询间隔参数测试,验证无错误
- 补充知识库删除命令的轮询间隔参数传递测试
- 增强知识库列表的分页、名称过滤测试用例
- 丰富知识服务命令的参数全覆盖测试,包括创建、更新、部署、删除及多版本描述等功能
- 添加知识检索命令的重新排序指令与过时参数的实时测试覆盖
2026-08-11 13:17:34 +08:00
故璃
5d1b7aac3a
Merge branch 'main' into feat/cli-skill-sync
2026-08-11 10:47:45 +08:00