96 Commits

Author SHA1 Message Date
Gong Shiqi 006ea23a62 Merge pull request #33 from modelstudioai/chore/release-1.2.0
fix: sync README and README_CN to packages/cli
v1.2.0
2026-06-05 17:23:12 +08:00
若麒 5a0015dc4f fix: sync README and README_CN to packages/cli 2026-06-05 17:22:26 +08:00
Gong Shiqi 01ba81cd6a Merge pull request #32 from modelstudioai/chore/release-1.2.0
docs(changelog): add advisor recommend to 1.2.0 entry
2026-06-05 17:18:20 +08:00
若麒 234c2de23f docs(changelog): add advisor recommend to 1.2.0 entry 2026-06-05 17:15:17 +08:00
Gong Shiqi 55e591ef23 Merge pull request #28 from modelstudioai/feat/auto-generate-skills
feat: Optimize the monitoring of command changes to avoid invalid pul…
2026-06-05 17:12:35 +08:00
Gong Shiqi d08fa2bde5 Merge pull request #29 from modelstudioai/fix/e2e-test
fix(e2e): add DO_NOT_TRACK environment variable to CLI tests
2026-06-05 17:12:07 +08:00
Gong Shiqi d17fdd7e6f Merge pull request #30 from modelstudioai/feat/model-recommend
add model recommend cli commend
2026-06-05 17:09:08 +08:00
Gong Shiqi 6a6ba36439 Merge pull request #31 from modelstudioai/chore/release-1.2.0
chore(release): 1.2.0
2026-06-05 17:08:24 +08:00
若麒 c1969254fa chore(release): bump version to 1.2.0
- Add `bl mcp` command group, security hardening, watermark/flag fixes
- Update CHANGELOG/CHANGELOG_CN with 1.2.0 entry
- Add MCP integration to README features

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-05 17:05:04 +08:00
故璃 7eae8b8bc5 feat: update README 2026-06-05 16:53:33 +08:00
clh02467605 6423dbfc96 fix(e2e): add DO_NOT_TRACK environment variable to CLI tests 2026-06-05 16:19:15 +08:00
故璃 e22dff3b3b feat: add model preferrence 2026-06-05 16:05:50 +08:00
qcq01083097 f26e288c49 feat: Diff check optimization 2026-06-05 16:05:20 +08:00
Gong Shiqi 73acb39c2b Merge pull request #27 from modelstudioai/feat/mcp-command
Feat/mcp command
2026-06-05 16:01:53 +08:00
若麒 4ae68ef61e fix(mcp): let mcp commands handle auth after arg validation and dry-run check 2026-06-05 15:52:47 +08:00
Gong Shiqi 3708ec29fb Merge pull request #13 from modelstudioai/feat/watermark-and-paired-flags
fix: Fix the issue of the watermark being always on and address the i…
2026-06-05 15:25:36 +08:00
qcq01083097 8ee570a2bd feat: Optimize the monitoring of command changes to avoid invalid pull requests (PRs) 2026-06-05 15:16:41 +08:00
Gong Shiqi 8544f40e07 Merge pull request #23 from modelstudioai/feat/auto-generate-skills
Feat/auto generate skills
2026-06-05 14:07:47 +08:00
故璃 7914a6d203 Merge branch 'main' into feat/model-recommend 2026-06-05 14:01:09 +08:00
故璃 a767bee41e feat: model recommend beta version 2026-06-05 13:56:24 +08:00
Gong Shiqi 832d3f7e2b Merge pull request #26 from modelstudioai/chore/publish-workflow
docs: rewrite publish docs and rename release.md to publish.md
2026-06-05 13:52:40 +08:00
若麒 173c7a2f10 docs: improve formatting in changelog-write.md and publish.md for better readability 2026-06-05 13:51:43 +08:00
qcq01083097 6494e683cc feat: First add, then do diff 2026-06-05 13:47:03 +08:00
若麒 fddab1a1b2 docs: rewrite publish docs and rename release.md to publish.md 2026-06-05 11:55:17 +08:00
qcq01083097 99ef96d209 feat: Fix the null value verification of the flag 2026-06-05 11:14:17 +08:00
若麒 647d819c9d Merge branch 'main' into feat/mcp-command 2026-06-05 10:54:12 +08:00
Gong Shiqi 6a0ceabc70 Merge pull request #25 from modelstudioai/chore/publish-workflow
Chore/publish workflow
2026-06-05 10:51:53 +08:00
若麒 cdf211648c chore(ci): upgrade actions to v6 for Node 24 compatibility
GitHub will force Node.js 24 for all actions starting June 16, 2026.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-05 10:50:57 +08:00
若麒 7590d475e5 fix(ci): use Node 24 for npm OIDC trusted publishing 2026-06-05 10:41:51 +08:00
若麒 5d08bcb2a4 chore(release): drop attw from pack-scan 2026-06-05 10:41:51 +08:00
若麒 cdbe5c080d docs: sync packages/cli/README.md with root 2026-06-05 10:41:50 +08:00
若麒 ca77c77417 fix(ci): use Node 24 for npm OIDC trusted publishing 2026-06-05 10:30:31 +08:00
qcq01083097 b7349976fb feat: Change the workflow for synchronizing skills to be executed at 3 am tomorrow 2026-06-05 10:13:36 +08:00
若麒 30b881c36f chore(release): drop attw from pack-scan 2026-06-05 00:35:52 +08:00
若麒 7b440177ee docs: sync packages/cli/README.md with root 2026-06-05 00:03:31 +08:00
若麒 6683ff172c Merge branch 'main' into feat/mcp-command 2026-06-05 00:00:45 +08:00
Gong Shiqi 3b11a620a1 Merge pull request #22 from modelstudioai/chore/consolidate-release-workflows
refactor(release): consolidate stable + channel into single release.yml
2026-06-04 23:56:45 +08:00
若麒 9cd4adb26c refactor(release): merge stable + channel into single release.yml
npm Trusted Publishers only supports ONE (repo, workflow, environment)
tuple per package, so the two split workflows cannot both be granted
OIDC publish rights. Consolidate into release.yml with a mode input:

- mode=stable  -> publish-stable job, environment=production (reviewer
  gate), contents:write (push lightweight tag).
- mode=channel -> publish-channel job, no environment, contents:read.

Concurrency group keys on mode + channel so stable serializes globally
and channels serialize per dist-tag. Trusted Publisher entry should
now point at release.yml with environment left blank (matches both
the production-gated stable job and the env-less channel job).
2026-06-04 23:53:18 +08:00
Gong Shiqi f1c78f01b7 Merge pull request #21 from modelstudioai/feat/release-pipeline
chore: drop dependabot version-updates config
2026-06-04 23:34:09 +08:00
若麒 7a8c55dd4a chore: drop dependabot version-updates config 2026-06-04 23:29:03 +08:00
若麒 d6cbe981a8 fix(ci): build core/cli before pnpm run check 2026-06-04 23:16:15 +08:00
若麒 3693f7dacb feat(release): CI-driven publish pipeline via GitHub Actions + npm OIDC
Replace tools/release.mjs with two workflow_dispatch flows:

- stable: production environment gate (Required Reviewers) + lightweight git tag. Trusted Publishing (OIDC) removes the need for an npm token.
- channel beta: disposable 0.0.0-beta-<sha>-<date> versions on the corresponding dist-tag, no tag, no commit. Any collaborator can dispatch without npm credentials.

Pack-time scans via publint, attw, gitleaks; weekly Dependabot for npm + actions.
2026-06-04 23:02:38 +08:00
qcq01083097 ce59e2bd08 feat: Deal with text redundancy of flag default values 2026-06-04 17:49:03 +08:00
qcq01083097 fa3d3a6905 feat: Unify the text format of flag default values 2026-06-04 17:40:22 +08:00
qcq01083097 ea37be0e30 feat: Add illegal flag verification 2026-06-04 17:36:47 +08:00
qcq01083097 f3c35c411b feat: Dealing with redundancy and semanticization of file names 2026-06-04 17:30:30 +08:00
qcq01083097 6436ca88eb fix: Fix the issue of the watermark being always on and address the issue of paired flags 2026-06-04 17:07:11 +08:00
qcq01083097 0781aa7db2 feat: add schedule 2026-06-04 15:46:28 +08:00
qcq01083097 3461e53404 feat: 增加自动同步skills的workflow 2026-06-04 15:22:58 +08:00
若麒 73d9d7ef07 feat(cli): add bl mcp command group (list/tools/call)
- `bl mcp list` — list MCP servers enabled under the current Bailian
  account via console gateway PageList (always activated=1).
- `bl mcp tools <server-code>` — list tools exposed by a server.
- `bl mcp call <server-code>.<tool>` — invoke a tool. Accepts `--json`,
  repeatable `--arg k=v` (JSON-parsed when possible) and `--query` sugar;
  `--url` overrides the endpoint for non-Bailian MCPs.
- core: export `bailianMcpUrl(baseUrl, code)` building
  `/api/v1/mcps/<code>/mcp`; `McpClient` now takes a full URL.
- `bl search web` switches to `mcpWebSearchEndpoint` directly.
- e2e: `mcp.e2e.test.ts` covering help, dry-run, arg-merge semantics,
  invalid-input paths, and one live `tools/list` against WebSearch.
2026-06-03 19:00:51 +08:00