Skip to content

Releases: bbl21/cst-runtime-cli

CST Runtime CLI v1.0.0

Choose a tag to compare

@bbl21 bbl21 released this 23 May 14:11

New Features / 新功能

Agent-Driven Probe-Optimizer Hybrid Architecture / Agent 驱动的探针-优化器混合优化架构

  • Two-phase synergy: probe phase (DoE screening) -> optimization phase (Optuna Bayesian iteration)
  • Agent autonomously decides: adjust ranges on edge_hit, switch samplers on ask_study_failed, early-stop on convergence
  • 5 objective types, supports single/multi-objective/constrained optimization
  • 两阶段协同:探针筛选关键参数 -> 贝叶斯迭代优化,agent 在阶段间自主决策,收敛速度显著提升

DevKit -- Agent Self-Extension / DevKit 开发包 -- Agent 自扩展

  • Code generator: TOML -> gen_*.py -> CLI command, 10 reference definitions
  • Agents complete the full extend pipeline autonomously
  • 代码生成器:写 TOML 定义 -> 自动产出 CLI 命令,10 个参考实现
  • Agent 可独立完成"查文档 -> 写 TOML -> 生成 -> 验证 -> 注册"全流程

Gateway Guard Layer / 守卫层 Gateway -- Runtime safety against CST pitfalls

  • T2: Dirty-param simulation prevention / 脏参数仿真拦截
  • T3: Save-after-farfield protection / 远场导出后防 save 损坏
  • T4: Complex-to-dB conversion / 复数据自动转 dB
  • T8: Non-gain quantity rejection / 非增益量拒绝
  • All traps carry cst_raw + next_action for agent recovery

5 Pipeline Tools / 5 个管道工具 -- inspect-project, prepare-experiment, run-experiment, run-probe-phase, run-optimization-step

3D View Capture / 3D 模型截图 -- capture-3d-view + inspect-model-view

3D Farfield WebGL / 3D 远场 WebGL -- GPU 32400-face, zero-dep HTML

Refactoring / 重构

  • Unified session, farfield consolidation, directory layering / session 统一、远场合并、目录分层
  • 110 tools migrated to JSON Schema / 110 工具迁移至 JSON Schema
  • Streamlined deployment: bootstrap + auto-register / 部署流程精简
  • optimizer.py decoupled as pure-math / 解耦为纯数学模块

Testing / 测试

  • Three-layer: contract (<30s) -> pipeline (CST) -> invariants (12 rules)
  • 三层测试体系,pytest 迁移,20 gateway 纯逻辑测试

Fixes / 修复

  • run-experiment: file-seq vs run_id solver detection
  • capture-3d-view centering, farfield JS syntax, Convergence JS collision
  • Skip run_id 0 for CST alias compatibility

Documentation / 文档

  • README rewritten: capability map, architecture, extension guide
  • SKILL.md: workflow reference + optimization framework

v0.2.0 — 新增优化Skill、统一导出+展示、3D远场、参数描述

Choose a tag to compare

@bbl21 bbl21 released this 17 May 15:01

Highlights / 核心更新

Download / 下载cst-runtime-cli-v0.2.0.zip

Extract to your tool's \skills\ directory. | 解压到对应工具的 \skills\ 目录即可。


New Optimization Skill / 新增优化Skill

  • skills/cst-runtime-optimization/ — 全新参数优化工作流 skill
  • 支持多轮 S11 指标迭代、参数扫描对比
  • 依赖 cst-runtime-cli 基础设施,无缝集成现有 pipeline
  • 覆盖优化循环、结果对比、收敛判断全流程

Unified Export & Report / 统一导出+展示

  • \export-run-results\ — Export S11, 2D & farfield to \exports/\ after each simulation / 仿真后统一导出 S11、2D、远场
  • \generate-report\ — Render full report (S11 curves, 3D farfield, 2D heatmaps, audit trail) / 生成综合报告

3D Farfield Engine / 3D 远场引擎 (Canvas 2D + inline JS)

  • Arcball quaternion rotation (drag/zoom/touch) / 四元数旋转
  • Percentile-normalized color scale / 百分位色阶
  • Adaptive camera distance + orthographic projection / 自适应相机+正交投影
  • Reset / auto-rotate buttons / 重置/自动旋转

Parameter Descriptions / 参数描述

  • \list-parameters\ reads \Model/Parameters.json\ for Chinese descriptions / 中文描述字段

Unified Report / 统一报告

  • Auto-scan \stages/cli_*.json\ for operation timeline / 操作时间线
  • Step cards with param changes + rationale + collapsible JSON / 步骤卡片
  • S11 overlay + convergence mini-trend / S11 叠加+趋势
  • Full Chinese UI / 全中文界面

check_solid gate temporarily disabled / 暂时关闭

cst-runtime-cli v0.1.0

Choose a tag to compare

@bbl21 bbl21 released this 14 May 15:21

cst-runtime-cli v0.1.0

CST Studio Suite CLI infrastructure layer.

Download

  • cst-runtime-cli-v0.1.0.zip — Skill package, download and extract.
  • Source code (zip) — Full repository.

Quick start

Requires Python 3.13+, uv, and CST Studio Suite 2026.

powershell python <skill-root>\scripts\cst_runtime_cli.py health-check --auto-fix true python <skill-root>\scripts\cst_runtime_cli.py list-tools

License

MIT License. See LICENSE.