INNER CODE UNIT · Python

cmd_replan_output

kangarooking/cangjie-skill · scripts/cangjie.py:199

def cmd_replan_output(args) -> int:
    from select_output_strategy import decide, render_report

    bundle_dir = Path(args.pack) / ".cangjie" / "capabilities"
    decision = decide(bundle_dir, "auto", args.purpose)
    print(render_report(decision, bundle_dir))
    print("(dry-run 预览:未做任何迁移;确认变更请显式运行 compile 并选择新的 --output)")
    return 0


# ---------- update / repair / rollback / eval / benchmark ----------

def cmd_update(args) -> int:
    from update_flow import run_update  # Phase 2B

    return run_update(Path(args.pack), Path(args.add))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…