879 Commits

Author SHA1 Message Date
Claude 8b9986bb47 fix(security): harden pipeline planning, pointer traversal, and concurrency
- expressions: never execute $js during planning/dry-run. `pipeline run --dry-run`
  is the command a cautious user runs to preview an unfamiliar pipeline; it must
  not run embedded JavaScript. Planning now returns the expression placeholder
  instead of calling new Function.
- schema (getByJsonPointer): block __proto__/constructor/prototype and require
  own properties, so a crafted $from/$input path cannot pull object internals
  (e.g. constructor) out of step output and feed them downstream.
- scheduler: clamp --concurrency to a maximum (64) to bound fan-out so a single
  run cannot launch an unbounded number of concurrent API calls / downloads.

Note: the runtime new Function sinks in script/js and $js (arbitrary host code
execution) are intentionally left unchanged here — remediating them is a design
decision (sandbox vs. literal-only code) for the maintainers; see PR notes.

https://claude.ai/code/session_017ZGQCjwNQF5Pz96gLUnnG1
2026-05-29 12:34:24 +00:00
Claude d24f203d68 fix(security): encode URL path segments and bound SSE buffering
- endpoints: encodeURIComponent the id segments (task_id, app_id, node_id,
  schema_id) interpolated into request URLs. task_id in particular comes from
  the server's async-submit response and is fetched back with the bearer token
  attached, so an unencoded value could steer the authenticated follow-up
  request to a different path on the host.
- stream (SSE parser): cap the in-memory buffer (16 MiB). A stream that never
  emits a newline, or that builds one enormous event from many data: lines,
  could otherwise grow the buffer without bound and exhaust process memory.

https://claude.ai/code/session_017ZGQCjwNQF5Pz96gLUnnG1
2026-05-29 12:34:22 +00:00
Claude 3e4f1f0ebf fix(security): stop leaking credentials and tighten on-disk permissions
- config set: mask api_key/access_token/access_key_id/access_key_secret in the
  confirmation echo. It previously printed the stored secret verbatim to stdout
  (CI logs, pipes, screen shares), unlike `config show` / `auth status` which
  already maskToken().
- http / knowledge retrieve: use maskToken() in --verbose request logs instead
  of printing the first 8 chars of the bearer token / AccessKey id.
- telemetry: write telemetry.jsonl with mode 0600 (was created world-readable
  by default), matching the other credential-area writers.
- ensureConfigDir: chmod 0700 after mkdir, so a pre-existing ~/.bailian created
  by an older build/another tool (where mkdir's mode is ignored) holding
  cleartext credentials gets locked down too. Best-effort; never fatal.

https://claude.ai/code/session_017ZGQCjwNQF5Pz96gLUnnG1
2026-05-29 12:34:19 +00:00
若麒 58f2cce555 chore(release): 1.1.2 2026-05-29 18:03:44 +08:00
Gong Shiqi dc04f0430c Merge pull request #4 from modelstudioai/feat/switch-model
feat(cli): update the default vision model to qwen3-vl-plus
2026-05-29 17:58:51 +08:00
clh02467605 208b1ce459 feat(cli): update the default vision model to qwen3-vl-plus 2026-05-29 17:50:07 +08:00
clh02467605 03d1c48d41 feat(cli): update the default vision model to qwen3-vl-plus 2026-05-29 17:20:33 +08:00
clh02467605 ee8aed0edf feat(cli): update the default vision model to qwen3-vl-plus 2026-05-29 16:57:45 +08:00
Gong Shiqi 55f9fa21cf Merge pull request #2 from modelstudioai/fix/ts-lint
refactor(stress): simplify target definitions and enhance trace ID ha…
2026-05-29 15:03:26 +08:00
若麒 b0baa63a89 chore: stop tracking .codegraph and .vscode editor configs 2026-05-29 14:56:58 +08:00
clh02467605 27494cfd1b refactor(stress): simplify target definitions and enhance trace ID handling 2026-05-29 14:49:36 +08:00
若麒 88576a6c1c fix(release): build before check; reformat docs
Follow-up to 1.1.1.

- release.mjs: build packages before type checks so bailian-cli-core resolves on clean checkouts
- CHANGELOG: record the above under Fixed
- Reformat CONTRIBUTING / INSTALL / README / docs tables (prettier only, no content changes)
2026-05-29 13:52:06 +08:00
若麒 b896c3fbec chore(release): 1.1.1
Documentation-only patch release.

- Add INSTALL.md for AI-Agent-driven installation
- Sync root and packages/cli READMEs (EN + CN)
- Drop unpkg links in favor of canonical sources
- release.mjs: assert README sync before publishing
2026-05-29 13:41:36 +08:00
TreeLin aab9efaf20 Update README.md 2026-05-29 09:42:57 +08:00
TreeLin c65043a4f4 Update README.md 2026-05-29 09:40:55 +08:00
若麒 830e64117e docs: drop unpkg links, cross-link top-level docs, align CN README 2026-05-28 23:49:47 +08:00
若麒 81f954271f docs: add INSTALL.md for AI Agent-driven installation 2026-05-28 23:29:16 +08:00
inhai 4e0d01e925 Update README.md 2026-05-28 22:28:34 +08:00
inhai e564b6f26f Update README.md 2026-05-28 21:47:10 +08:00
TreeLin 9b03ff38b8 Update README.md 2026-05-28 21:11:58 +08:00
inhai 42e68ad11e Update README.md 2026-05-28 20:31:58 +08:00
inhai cd648a217f Update README.md 2026-05-28 20:30:51 +08:00
inhai 21bb97e8c0 Update README.md 2026-05-28 20:30:10 +08:00
TreeLin a89c323b5b Update Aliyun Model Studio CLI Site link 2026-05-28 20:26:10 +08:00
inhai 0b1700bd85 Update README.md 2026-05-28 20:17:12 +08:00
inhai bd067431da Update README.md 2026-05-28 20:14:58 +08:00
inhai ed99ff94f6 Update README.md 2026-05-28 20:13:50 +08:00
若麒 896eee64c5 chore(cli): drop scene from the package 2026-05-28 18:48:58 +08:00
若麒 1533e2013e Initial commit 2026-05-28 18:37:07 +08:00