rockycode 0.2.0__tar.gz → 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rockycode-1.0.0/CHANGELOG.md +969 -0
- rockycode-1.0.0/PKG-INFO +982 -0
- rockycode-1.0.0/README.md +831 -0
- rockycode-1.0.0/pyproject.toml +255 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/banner.py +1 -1
- rockycode-1.0.0/rockycode/catchup.py +152 -0
- rockycode-1.0.0/rockycode/cli/__init__.py +87 -0
- rockycode-1.0.0/rockycode/cli/__main__.py +4 -0
- rockycode-1.0.0/rockycode/cli/_common.py +168 -0
- rockycode-1.0.0/rockycode/cli/bench.py +186 -0
- rockycode-1.0.0/rockycode/cli/chat.py +273 -0
- rockycode-1.0.0/rockycode/cli/config.py +84 -0
- rockycode-1.0.0/rockycode/cli/dream.py +96 -0
- rockycode-1.0.0/rockycode/cli/exec_cmd.py +206 -0
- rockycode-1.0.0/rockycode/cli/firstrun.py +222 -0
- rockycode-1.0.0/rockycode/cli/goal.py +286 -0
- rockycode-1.0.0/rockycode/cli/mcp.py +41 -0
- rockycode-1.0.0/rockycode/cli/memory.py +118 -0
- rockycode-1.0.0/rockycode/cli/serve.py +76 -0
- rockycode-1.0.0/rockycode/config.py +335 -0
- rockycode-1.0.0/rockycode/decision_eval.py +276 -0
- rockycode-1.0.0/rockycode/dream/__init__.py +9 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/dream/core.py +182 -175
- rockycode-1.0.0/rockycode/dream/patterns.py +131 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/dream/proposals.py +273 -51
- rockycode-1.0.0/rockycode/dream/reflect.py +454 -0
- rockycode-1.0.0/rockycode/engine/approval.py +558 -0
- rockycode-1.0.0/rockycode/engine/artifact.py +623 -0
- rockycode-1.0.0/rockycode/engine/artifact_page.py +111 -0
- rockycode-1.0.0/rockycode/engine/artifact_store.py +192 -0
- rockycode-1.0.0/rockycode/engine/auxiliary.py +41 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/checks.py +3 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/compaction.py +23 -9
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/container.py +23 -5
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/cron.py +1 -1
- rockycode-1.0.0/rockycode/engine/delivery.py +155 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/effort.py +24 -7
- rockycode-1.0.0/rockycode/engine/errors.py +67 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/events.py +36 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/explore.py +45 -7
- rockycode-1.0.0/rockycode/engine/file_access.py +72 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/images.py +2 -2
- rockycode-1.0.0/rockycode/engine/lean_verify.py +584 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/loop.py +630 -182
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/lsp.py +98 -124
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/mcp.py +141 -39
- rockycode-1.0.0/rockycode/engine/model_protocol.py +135 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/permission.py +78 -29
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/planmode.py +31 -25
- rockycode-1.0.0/rockycode/engine/planning.py +187 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/providers.py +199 -49
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/redact.py +15 -4
- rockycode-1.0.0/rockycode/engine/route.py +167 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/safety.py +80 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/sandbox.py +5 -4
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/selfconfig.py +68 -18
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/skills.py +52 -1
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/titler.py +17 -7
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/tools.py +158 -92
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/trajectory.py +23 -21
- rockycode-1.0.0/rockycode/engine/verifier.py +781 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/vision.py +74 -34
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/web.py +142 -30
- rockycode-1.0.0/rockycode/flash_probe.py +145 -0
- rockycode-1.0.0/rockycode/goal/__init__.py +9 -0
- rockycode-0.2.0/rockycode/engine/goal_review.py → rockycode-1.0.0/rockycode/goal/review.py +2 -0
- rockycode-0.2.0/rockycode/engine/goal.py → rockycode-1.0.0/rockycode/goal/runner.py +65 -41
- rockycode-0.2.0/rockycode/engine/goal_session.py → rockycode-1.0.0/rockycode/goal/session.py +96 -26
- {rockycode-0.2.0/rockycode/engine → rockycode-1.0.0/rockycode/goal}/worktree.py +4 -1
- {rockycode-0.2.0/rockycode/engine → rockycode-1.0.0/rockycode}/headless.py +97 -87
- rockycode-1.0.0/rockycode/i18n/__init__.py +70 -0
- rockycode-1.0.0/rockycode/i18n/locales/en.toml +1341 -0
- rockycode-1.0.0/rockycode/i18n/locales/zh.toml +1320 -0
- rockycode-1.0.0/rockycode/mcp_features.py +636 -0
- rockycode-1.0.0/rockycode/mcp_server.py +421 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/memory/index.py +12 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/memory/store.py +4 -3
- rockycode-1.0.0/rockycode/model_probe.py +222 -0
- rockycode-1.0.0/rockycode/model_selection.py +123 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/models.toml +149 -10
- rockycode-1.0.0/rockycode/modes/research/prove.md +71 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/modes/research/whiteboard.md +2 -1
- rockycode-1.0.0/rockycode/onboarding.py +536 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/pricing.py +24 -4
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/prompts/rocky.py +42 -23
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/routines.py +65 -4
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/runners/agent.py +66 -41
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/runners/raw.py +43 -17
- rockycode-1.0.0/rockycode/runtime.py +476 -0
- {rockycode-0.2.0/rockycode/engine → rockycode-1.0.0/rockycode}/server.py +146 -34
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/session.py +68 -4
- rockycode-1.0.0/rockycode/skills/artifact-design/SKILL.md +124 -0
- rockycode-1.0.0/rockycode/skills/lean-prover/SKILL.md +259 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/skills/lean-prover/torchlean-api.md +3 -1
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/skills/rocky-setup/SKILL.md +28 -8
- rockycode-1.0.0/rockycode/task_links.py +234 -0
- rockycode-1.0.0/rockycode/tui/app.py +1303 -0
- rockycode-1.0.0/rockycode/tui/approval.py +387 -0
- rockycode-1.0.0/rockycode/tui/artifact_panel.py +190 -0
- rockycode-1.0.0/rockycode/tui/artifacts.py +258 -0
- rockycode-1.0.0/rockycode/tui/cardkeys.py +338 -0
- rockycode-1.0.0/rockycode/tui/chatinput.py +256 -0
- rockycode-1.0.0/rockycode/tui/commands.py +337 -0
- rockycode-1.0.0/rockycode/tui/docs.py +107 -0
- rockycode-1.0.0/rockycode/tui/evolve.py +304 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/tui/goal_screen.py +43 -44
- rockycode-1.0.0/rockycode/tui/goalflow.py +153 -0
- rockycode-1.0.0/rockycode/tui/images.py +310 -0
- rockycode-1.0.0/rockycode/tui/keyprompt.py +204 -0
- rockycode-1.0.0/rockycode/tui/loopcard.py +139 -0
- rockycode-1.0.0/rockycode/tui/loops.py +346 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/tui/mdview.py +8 -8
- rockycode-1.0.0/rockycode/tui/modeflow.py +118 -0
- rockycode-1.0.0/rockycode/tui/modelflow.py +257 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/tui/modelpicker.py +103 -48
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/tui/modepicker.py +20 -12
- rockycode-1.0.0/rockycode/tui/notestrip.py +129 -0
- rockycode-1.0.0/rockycode/tui/permission.py +338 -0
- rockycode-1.0.0/rockycode/tui/planflow.py +156 -0
- rockycode-1.0.0/rockycode/tui/plangate.py +133 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/tui/prompt_history.py +27 -13
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/tui/proposalcard.py +48 -30
- rockycode-1.0.0/rockycode/tui/removal.py +17 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/tui/resume.py +26 -20
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/tui/routinecard.py +34 -38
- rockycode-1.0.0/rockycode/tui/sandboxflow.py +95 -0
- rockycode-1.0.0/rockycode/tui/tasks.py +208 -0
- rockycode-1.0.0/rockycode/tui/widgets.py +79 -0
- rockycode-0.2.0/.dockerignore +0 -22
- rockycode-0.2.0/.github/workflows/ci.yml +0 -30
- rockycode-0.2.0/.github/workflows/release.yml +0 -27
- rockycode-0.2.0/.gitignore +0 -46
- rockycode-0.2.0/CHANGELOG.md +0 -209
- rockycode-0.2.0/CONTRIBUTING.md +0 -63
- rockycode-0.2.0/Dockerfile +0 -23
- rockycode-0.2.0/Dockerfile.sandbox +0 -13
- rockycode-0.2.0/PKG-INFO +0 -613
- rockycode-0.2.0/README.md +0 -580
- rockycode-0.2.0/README.zh-CN.md +0 -495
- rockycode-0.2.0/SECURITY.md +0 -72
- rockycode-0.2.0/bench/tasks/dev10.json +0 -12
- rockycode-0.2.0/bench/tasks/test20.json +0 -22
- rockycode-0.2.0/brand/rockycode-note.svg +0 -28
- rockycode-0.2.0/brand/rockycode-wordmark.svg +0 -11
- rockycode-0.2.0/docker-compose.yml +0 -39
- rockycode-0.2.0/prompts/README.md +0 -35
- rockycode-0.2.0/prompts/rocky-v1.txt +0 -16
- rockycode-0.2.0/prompts/rocky-v2-search-first.txt +0 -18
- rockycode-0.2.0/prompts/rocky-v3-decisive.txt +0 -21
- rockycode-0.2.0/prompts/rocky-zh-closer.txt +0 -31
- rockycode-0.2.0/prompts/rocky-zh-full-closer.txt +0 -29
- rockycode-0.2.0/prompts/rocky-zh-full.txt +0 -20
- rockycode-0.2.0/pyproject.toml +0 -101
- rockycode-0.2.0/rockycode/cli.py +0 -1531
- rockycode-0.2.0/rockycode/config.py +0 -223
- rockycode-0.2.0/rockycode/dream/__init__.py +0 -9
- rockycode-0.2.0/rockycode/dream/judge.py +0 -134
- rockycode-0.2.0/rockycode/dream/mining.py +0 -152
- rockycode-0.2.0/rockycode/engine/artifact.py +0 -551
- rockycode-0.2.0/rockycode/modes/research/prove.md +0 -60
- rockycode-0.2.0/rockycode/onboarding.py +0 -337
- rockycode-0.2.0/rockycode/skills/lean-prover/SKILL.md +0 -155
- rockycode-0.2.0/rockycode/tui/app.py +0 -3542
- rockycode-0.2.0/rockycode/tui/exitsheet.py +0 -181
- rockycode-0.2.0/rockycode/tui/loopcard.py +0 -135
- rockycode-0.2.0/rockycode/tui/permission.py +0 -262
- rockycode-0.2.0/rockycode/tui/plangate.py +0 -110
- rockycode-0.2.0/rockycode/tui/rocky_pet.py +0 -96
- rockycode-0.2.0/rockycode-vscode/.gitignore +0 -4
- rockycode-0.2.0/rockycode-vscode/.vscode/launch.json +0 -16
- rockycode-0.2.0/rockycode-vscode/.vscode/tasks.json +0 -13
- rockycode-0.2.0/rockycode-vscode/.vscodeignore +0 -8
- rockycode-0.2.0/rockycode-vscode/CHANGELOG.md +0 -15
- rockycode-0.2.0/rockycode-vscode/LICENSE +0 -21
- rockycode-0.2.0/rockycode-vscode/README.md +0 -58
- rockycode-0.2.0/rockycode-vscode/esbuild.config.mjs +0 -51
- rockycode-0.2.0/rockycode-vscode/media/chat.html +0 -996
- rockycode-0.2.0/rockycode-vscode/media/icon-marketplace.svg +0 -4
- rockycode-0.2.0/rockycode-vscode/media/icon.png +0 -0
- rockycode-0.2.0/rockycode-vscode/media/marked.js +0 -79
- rockycode-0.2.0/rockycode-vscode/media/rocky-icon.svg +0 -28
- rockycode-0.2.0/rockycode-vscode/package-lock.json +0 -551
- rockycode-0.2.0/rockycode-vscode/package.json +0 -242
- rockycode-0.2.0/rockycode-vscode/src/artifactTree.ts +0 -168
- rockycode-0.2.0/rockycode-vscode/src/diffManager.ts +0 -97
- rockycode-0.2.0/rockycode-vscode/src/editorContext.ts +0 -187
- rockycode-0.2.0/rockycode-vscode/src/extension.ts +0 -218
- rockycode-0.2.0/rockycode-vscode/src/permissionManager.ts +0 -112
- rockycode-0.2.0/rockycode-vscode/src/protocol.ts +0 -142
- rockycode-0.2.0/rockycode-vscode/src/rockyConnection.ts +0 -289
- rockycode-0.2.0/rockycode-vscode/src/rockyProvider.ts +0 -409
- rockycode-0.2.0/rockycode-vscode/src/statusBar.ts +0 -58
- rockycode-0.2.0/rockycode-vscode/src/webview-highlight.ts +0 -45
- rockycode-0.2.0/rockycode-vscode/tsconfig.json +0 -18
- rockycode-0.2.0/tests/fake_lsp_server.py +0 -101
- rockycode-0.2.0/tests/fake_mcp_server.py +0 -20
- rockycode-0.2.0/tests/invariants.py +0 -44
- rockycode-0.2.0/tests/real_planmode.py +0 -96
- rockycode-0.2.0/tests/real_reasoning_roundtrip.py +0 -125
- rockycode-0.2.0/tests/real_tool_contract.py +0 -76
- rockycode-0.2.0/tests/run_all.py +0 -66
- rockycode-0.2.0/tests/run_real.py +0 -37
- rockycode-0.2.0/tests/smoke_approver.py +0 -112
- rockycode-0.2.0/tests/smoke_artifact.py +0 -373
- rockycode-0.2.0/tests/smoke_bash.py +0 -34
- rockycode-0.2.0/tests/smoke_bash_grant.py +0 -98
- rockycode-0.2.0/tests/smoke_bilang_prompt.py +0 -44
- rockycode-0.2.0/tests/smoke_budget.py +0 -68
- rockycode-0.2.0/tests/smoke_checks.py +0 -107
- rockycode-0.2.0/tests/smoke_compaction.py +0 -268
- rockycode-0.2.0/tests/smoke_container.py +0 -114
- rockycode-0.2.0/tests/smoke_credentials.py +0 -149
- rockycode-0.2.0/tests/smoke_cron.py +0 -388
- rockycode-0.2.0/tests/smoke_docker_sandbox_cancel.py +0 -63
- rockycode-0.2.0/tests/smoke_dream.py +0 -139
- rockycode-0.2.0/tests/smoke_dream_trigger.py +0 -92
- rockycode-0.2.0/tests/smoke_effort.py +0 -61
- rockycode-0.2.0/tests/smoke_engine.py +0 -156
- rockycode-0.2.0/tests/smoke_exec.py +0 -370
- rockycode-0.2.0/tests/smoke_explore.py +0 -401
- rockycode-0.2.0/tests/smoke_goal.py +0 -95
- rockycode-0.2.0/tests/smoke_goal_driver.py +0 -133
- rockycode-0.2.0/tests/smoke_goal_review.py +0 -101
- rockycode-0.2.0/tests/smoke_goal_runner.py +0 -146
- rockycode-0.2.0/tests/smoke_hardkill_resume.py +0 -134
- rockycode-0.2.0/tests/smoke_images.py +0 -293
- rockycode-0.2.0/tests/smoke_interrupt.py +0 -108
- rockycode-0.2.0/tests/smoke_judge.py +0 -161
- rockycode-0.2.0/tests/smoke_local_models.py +0 -260
- rockycode-0.2.0/tests/smoke_lsp.py +0 -50
- rockycode-0.2.0/tests/smoke_mcp.py +0 -84
- rockycode-0.2.0/tests/smoke_mdterm.py +0 -164
- rockycode-0.2.0/tests/smoke_mdview.py +0 -104
- rockycode-0.2.0/tests/smoke_memory.py +0 -84
- rockycode-0.2.0/tests/smoke_memory_index.py +0 -96
- rockycode-0.2.0/tests/smoke_mining.py +0 -156
- rockycode-0.2.0/tests/smoke_models_registry.py +0 -152
- rockycode-0.2.0/tests/smoke_modes.py +0 -160
- rockycode-0.2.0/tests/smoke_onboarding.py +0 -47
- rockycode-0.2.0/tests/smoke_outcome.py +0 -147
- rockycode-0.2.0/tests/smoke_parallel.py +0 -111
- rockycode-0.2.0/tests/smoke_permission.py +0 -113
- rockycode-0.2.0/tests/smoke_planmode.py +0 -146
- rockycode-0.2.0/tests/smoke_pricing.py +0 -117
- rockycode-0.2.0/tests/smoke_prompt_history.py +0 -65
- rockycode-0.2.0/tests/smoke_proposals.py +0 -194
- rockycode-0.2.0/tests/smoke_providers.py +0 -237
- rockycode-0.2.0/tests/smoke_redact.py +0 -64
- rockycode-0.2.0/tests/smoke_resume_handoff.py +0 -142
- rockycode-0.2.0/tests/smoke_routine_run.py +0 -119
- rockycode-0.2.0/tests/smoke_routines.py +0 -98
- rockycode-0.2.0/tests/smoke_safety.py +0 -61
- rockycode-0.2.0/tests/smoke_score.py +0 -31
- rockycode-0.2.0/tests/smoke_selfconfig.py +0 -85
- rockycode-0.2.0/tests/smoke_serve.py +0 -205
- rockycode-0.2.0/tests/smoke_session.py +0 -95
- rockycode-0.2.0/tests/smoke_skills.py +0 -104
- rockycode-0.2.0/tests/smoke_submit_race.py +0 -69
- rockycode-0.2.0/tests/smoke_today.py +0 -46
- rockycode-0.2.0/tests/smoke_tools.py +0 -47
- rockycode-0.2.0/tests/smoke_tools_jail.py +0 -116
- rockycode-0.2.0/tests/smoke_trajectory.py +0 -44
- rockycode-0.2.0/tests/smoke_tui_artifact_modal.py +0 -84
- rockycode-0.2.0/tests/smoke_tui_bash_gate.py +0 -150
- rockycode-0.2.0/tests/smoke_tui_copy.py +0 -57
- rockycode-0.2.0/tests/smoke_tui_envwarn.py +0 -48
- rockycode-0.2.0/tests/smoke_tui_exitsheet.py +0 -212
- rockycode-0.2.0/tests/smoke_tui_goal_screen.py +0 -237
- rockycode-0.2.0/tests/smoke_tui_input_nav.py +0 -102
- rockycode-0.2.0/tests/smoke_tui_loop.py +0 -588
- rockycode-0.2.0/tests/smoke_tui_model.py +0 -130
- rockycode-0.2.0/tests/smoke_tui_modeswitch.py +0 -173
- rockycode-0.2.0/tests/smoke_tui_permission.py +0 -246
- rockycode-0.2.0/tests/smoke_tui_plan.py +0 -186
- rockycode-0.2.0/tests/smoke_tui_proposals.py +0 -124
- rockycode-0.2.0/tests/smoke_tui_read_grant.py +0 -131
- rockycode-0.2.0/tests/smoke_tui_routines.py +0 -138
- rockycode-0.2.0/tests/smoke_tui_scroll.py +0 -118
- rockycode-0.2.0/tests/smoke_tui_shell.py +0 -52
- rockycode-0.2.0/tests/smoke_tui_toggle.py +0 -132
- rockycode-0.2.0/tests/smoke_web.py +0 -149
- rockycode-0.2.0/uv.lock +0 -3122
- {rockycode-0.2.0 → rockycode-1.0.0}/LICENSE +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/__init__.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/__init__.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/localcheck.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/modes.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/engine/outcome.py +0 -0
- {rockycode-0.2.0/rockycode/engine → rockycode-1.0.0/rockycode/goal}/budget.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/memory/__init__.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/modes/learn/learn.md +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/modes/research/deep-research.md +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/modes/research/paper-reading.md +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/palette.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/prompts/__init__.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/runners/__init__.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/runners/data.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/score.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/skills/architecture-viz/SKILL.md +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/skills/architecture-viz/template.html +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/tui/__init__.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/tui/clipboard.py +0 -0
- {rockycode-0.2.0 → rockycode-1.0.0}/rockycode/tui/mdterm.py +0 -0
|
@@ -0,0 +1,969 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to rockycode are recorded here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/), and the project follows
|
|
5
|
+
[Semantic Versioning](https://semver.org/): from 1.0.0 on, a breaking change to the
|
|
6
|
+
CLI, `serve` or `exec` contracts bumps the major version.
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [1.0.0] — one engine, one approval pipeline, more models, a desktop preview
|
|
11
|
+
|
|
12
|
+
The core is now a layered engine behind one approval pipeline shared by the TUI,
|
|
13
|
+
`serve` and `exec`; UI text is one TOML file per language for the terminal and
|
|
14
|
+
the desktop; DeepSeek Flash 1017, MiniMax M3.1 Flash and OpenRouter's free router
|
|
15
|
+
are first-class; the Electron desktop ships in `apps/desktop` as a developer
|
|
16
|
+
preview; and self-improvement (evolve) is opt-in from this release on.
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
- **Desktop Model Race: a finish board.** Starting a race now brings the lanes into view, with
|
|
20
|
+
a board above them where five flags wait at the start. When the race is over, it runs again
|
|
21
|
+
on that board in about two seconds: each lane's flag reaches the finish line in the order
|
|
22
|
+
the lanes really finished, with its place and its time. A lane that failed or was cancelled stops
|
|
23
|
+
short and gets no place, however fast it failed. The order is by time only, and the board
|
|
24
|
+
says so; the lanes stay anonymous (A–E) until you save your review or reveal the names,
|
|
25
|
+
and then the names come in on the board too. "Replay" runs it again. No motion when the
|
|
26
|
+
system asks for reduced motion. The offline fixture's lanes now finish at different times,
|
|
27
|
+
so an offline race has an order to show.
|
|
28
|
+
- **Keys in the OS keychain — any key, not only the home key.** Where the machine has a
|
|
29
|
+
keychain (macOS Keychain, Windows Credential Manager, a Linux Secret Service), a key saved
|
|
30
|
+
from the first run, the TUI's key field or the desktop's key form goes there first. Each key
|
|
31
|
+
is its own entry (service `rockycode`, the variable's name), and the key file then lists only
|
|
32
|
+
its name (`ROCKYCODE_KEYCHAIN=…`), never its value. The 0600 key file stays as the other
|
|
33
|
+
choice in each of those places, and as the only one where there is no keychain. A start
|
|
34
|
+
reads back exactly the listed names; a shell export still wins; a store with nothing listed
|
|
35
|
+
never opens the keychain. `/model` → "add or change a key" says where each key lives and has
|
|
36
|
+
a row that moves the keys still in the key file, each read back from the keychain before its
|
|
37
|
+
line leaves the file. A keychain that gives nothing (locked, an ssh or scheduled session) is
|
|
38
|
+
said so instead of reading as a key never added, and one that will not take a key saves
|
|
39
|
+
nothing: rocky says so and asks again, and the key file is used only when you pick it. A
|
|
40
|
+
relocated store (`$ROCKYCODE_HOME`) keeps its keys in its own file. The keychain trusts the program that saved the key, which
|
|
41
|
+
here is the Python that runs rocky: it keeps a key out of files, backups and other tools'
|
|
42
|
+
reach, not away from code run by that same Python.
|
|
43
|
+
- **Add a key inside the desktop app.** The first-launch card now has a form: pick where your
|
|
44
|
+
model comes from, paste the key (a hidden field), and the app is ready without a relaunch.
|
|
45
|
+
The same form sits in the runtime dialog ("Add or replace a provider key") for later keys.
|
|
46
|
+
The host tests the key with one free request and saves it with the core's saver (the system
|
|
47
|
+
keychain where there is one and the box stays ticked, else the 0600 key file with every
|
|
48
|
+
other line kept); a rejected key is said in place and never written. The key is
|
|
49
|
+
not kept in the page, the app's data folder or any task. The terminal command stays on the
|
|
50
|
+
card as the other way in.
|
|
51
|
+
- **Add a key inside the TUI.** Picking a model whose provider has no key — in the `/model`
|
|
52
|
+
picker or by name — opens a hidden field instead of printing an env-file recipe that meant
|
|
53
|
+
quit, edit, restart. rocky tests the key with one free call, saves it (the OS keychain where
|
|
54
|
+
there is one, or the 0600 key file with every other line kept — the field's rows say which),
|
|
55
|
+
applies it to the running session and makes the switch. To replace a key, or add one ahead of time, the
|
|
56
|
+
`/model` picker has an "add or change a key" row: pick the endpoint and the same field opens.
|
|
57
|
+
No command takes a key, so there is nothing to type one next to. The key never enters the
|
|
58
|
+
chat input, its history, the transcript, the session record or a model request.
|
|
59
|
+
- **Artifacts you can come back to.** An HTML artifact now has a stable ID and numbered
|
|
60
|
+
versions, kept in the project's `.rockycode/artifacts/` across restarts. A new version never
|
|
61
|
+
overwrites an old one, and an edit made from a stale version is refused instead of silently
|
|
62
|
+
replacing newer work. In the TUI a saved artifact is a card in the chat with **Open**,
|
|
63
|
+
**Edit**, **History** and **Copy path**; `/artifact` opens a searchable picker for the whole
|
|
64
|
+
project (one click narrows it to this session). **Edit** ties your next message to that
|
|
65
|
+
artifact (your draft stays; a ✕ chip in the status bar, or `/artifact cancel`, lets go of
|
|
66
|
+
it), and **History** opens any older version or restores it as a new one. The model reads
|
|
67
|
+
an artifact with the new `inspect_artifact` tool before it revises one. A loose HTML file
|
|
68
|
+
from before is never claimed on its own: `/artifact import <file>` takes it in as a new
|
|
69
|
+
artifact and leaves the original alone.
|
|
70
|
+
- **A page for artifacts.** When rocky writes an artifact as plain HTML (a heading,
|
|
71
|
+
paragraphs, a table, a drawing), rocky's own page now gives it the type, the spacing and the
|
|
72
|
+
colours, in light and in dark (dark follows your system). The model chooses no colours and
|
|
73
|
+
no fonts, so an artifact no longer depends on a model's taste that day: the first paragraph
|
|
74
|
+
is set as the answer, a `<blockquote>` is a note, and a drawing takes the page's colours
|
|
75
|
+
through four classes instead of hard-coded ones that vanish in the dark. Three looks:
|
|
76
|
+
**ink** (the default), **amber**, and **lilac** (rocky's purple). Pick yours with `/config
|
|
77
|
+
artifact_theme lilac`; `none` keeps the type and drops the colours. A saved artifact keeps
|
|
78
|
+
its look when you change the default. System fonts only, nothing loaded from the network,
|
|
79
|
+
and every text colour is at least 4.5:1 on its background. A new built-in skill,
|
|
80
|
+
`artifact-design`, tells the model how to write for the page. A full HTML document is
|
|
81
|
+
still kept exactly as written, for when you want your own design.
|
|
82
|
+
- **Call identity, phase 1** (#99): every tool call now carries an envelope — session, turn,
|
|
83
|
+
model request, physical attempt, a host-minted logical call id beside the provider's call
|
|
84
|
+
id, the catalog generation the request was built against and the resolved route (never a
|
|
85
|
+
key). It rides on `ToolStarted` / `ToolFinished`, on `serve` notifications and `exec` JSONL
|
|
86
|
+
lines as `envelope` (turn events carry `turn`), and the trajectory gets one `request` line
|
|
87
|
+
per model request (SDK retries counted on the real transport) and one `call` receipt per
|
|
88
|
+
call: `ok`, `error`, `refused`, `unknown` (cancelled after dispatch) or `cancelled`.
|
|
89
|
+
`Runtime.publish_registry` is where MCP and LSP tools join the catalog and advances the
|
|
90
|
+
generation; an explore child records its parent turn, request and call. Nothing changes
|
|
91
|
+
behaviour; binding a request to a catalog snapshot is phase 2.
|
|
92
|
+
- **Kimi K3.1 Pro** (`kimi-k3.1-pro`) on the Kimi provider: vision, 1M context, thinking
|
|
93
|
+
always on (the effort dial maps onto its low | high | max). Requests send
|
|
94
|
+
`max_completion_tokens` and no sampling parameters, and the assistant's reasoning is
|
|
95
|
+
replayed on tool follow-ups and later turns, as the model's contract asks. Covered by the
|
|
96
|
+
offline protocol tests; not yet called against the live endpoint.
|
|
97
|
+
- **Qwen4 Max Preview** (`qwen-plan:qwen4-max-preview`) on the Bailian Token Plan, and only
|
|
98
|
+
there: the model is not sold pay-as-you-go, so the ordinary `qwen` row does not offer it
|
|
99
|
+
and it never falls back to another key. Vision, 1M context, a 393,216-token output budget
|
|
100
|
+
shared with thinking. The effort dial maps onto its low | medium | xhigh, off turns
|
|
101
|
+
thinking off, and the assistant's reasoning is replayed on tool follow-ups and later
|
|
102
|
+
turns. Called against the live endpoint on 2026-11-12. Alibaba runs this preview until
|
|
103
|
+
2026-11-25 24:00 (UTC+8) and takes it offline afterwards.
|
|
104
|
+
- **Desktop theme: Nebula.** The sidebar has a theme picker with two buttons. *System*
|
|
105
|
+
follows the OS light or dark setting, as before. *Nebula* is the terminal's own palette
|
|
106
|
+
on the desktop: night surfaces, lavender text, violet for what matters, amber for
|
|
107
|
+
warnings, red for errors, and no green. One click switches; the choice is saved, and the
|
|
108
|
+
app opens in it from the first frame. Nebula covers every view, the Model Race view
|
|
109
|
+
included, and a test fails when a colour is added without a Nebula value.
|
|
110
|
+
- **Note strip.** Once a project has two tasks, the terminal shows them under the title as
|
|
111
|
+
one row of notes: `♪ 01 fix login ♫ 02 write tests ✉1 ♩ 03 docs`. Click a note to
|
|
112
|
+
switch to that task, or type its number: `/task open 2` (the tooltip says so); the
|
|
113
|
+
current one is highlighted and `✉n` counts the messages waiting in a task's inbox. A
|
|
114
|
+
narrow terminal keeps the current task and folds the older ones into `+N`. An ordinary
|
|
115
|
+
chat never shows the strip, and a note never claims another task is running: one
|
|
116
|
+
terminal runs one session. An untitled task takes its session's name.
|
|
117
|
+
- **Desktop developer preview** (`apps/desktop`, README in English and 中文). The desktop is in
|
|
118
|
+
the public tree with its manual CI workflow and the model-race smoke; the internal planning
|
|
119
|
+
and audit notes stay private. An Electron + React host over the shared Runtime, run from a
|
|
120
|
+
clone (`uv sync`, then the npm steps). Each
|
|
121
|
+
task keeps its own model (never the CLI default); approvals are explained in plain words
|
|
122
|
+
with the tool, its arguments and what a grant covers; starting an MCP or LSP process asks
|
|
123
|
+
first, showing server, config source and command, and "remember" binds to this workspace
|
|
124
|
+
and exact config until exit; HTML artifacts preview in a sandboxed in-app pane with an
|
|
125
|
+
explicit open-in-browser action; the UI is en/zh from the shared locale files; a five-model
|
|
126
|
+
race (田忌赛马) scores the same task with human grades and an anonymous judge. Dependencies
|
|
127
|
+
are pinned and reviewed (Electron 44.9.1, Vite 8.3.5, npm install scripts off, explicit
|
|
128
|
+
checksum-verified Electron download). No installer, signing or auto-update yet.
|
|
129
|
+
- **Desktop update reminder.** The desktop can GET a small version file
|
|
130
|
+
(`https://rockycode.ai/desktop/latest.json`) and show a banner with a link when a newer
|
|
131
|
+
version exists; "Later" hides that version. The check at launch (at most once a day) is off
|
|
132
|
+
until you switch it on in the sidebar; "Check now" and the app menu's "Check for Updates…"
|
|
133
|
+
work either way. Nothing downloads or installs by itself and nothing about the user is sent.
|
|
134
|
+
- **Plan mode** (`/plan`): the session becomes read-only except for one plan the model
|
|
135
|
+
drafts and revises with you (revision-bound approval, `submit_plan`); approve to build here
|
|
136
|
+
or hand it to `goal`. `serve` exposes the same flow as `plan/*` RPCs.
|
|
137
|
+
- **Shared Runtime** (`rockycode.runtime.build_runtime`): one composition of the Engine with
|
|
138
|
+
MCP, LSP, memory, skills and model clients and their lifecycle, used by the CLI, `serve`
|
|
139
|
+
and the desktop host.
|
|
140
|
+
- **Finite chat budgets.** A turn runs on a step budget (100 steps, then a 10-step close-out
|
|
141
|
+
with neutral resource notices rather than pressure) and resumes at a clean request
|
|
142
|
+
boundary without resetting it.
|
|
143
|
+
- **`exec --resume <session> --allow <grant>`** carries a headless session's history into a
|
|
144
|
+
new one with an explicit follow-up task; grants apply to this invocation only, nothing is
|
|
145
|
+
replayed, and tool receipts are recorded before the finished event so an interrupted run
|
|
146
|
+
stays inspectable.
|
|
147
|
+
- **Queued and interruptible delivery.** A message sent while rocky is working interrupts
|
|
148
|
+
by default or queues after the turn (`/queue on|off`); `/queue` inspects,
|
|
149
|
+
resumes or clears pending messages. The desktop host shares the same delivery.
|
|
150
|
+
- **MCP: native model selection for Dream, Goal and routines.** `rocky_dream`, `rocky_goal`
|
|
151
|
+
and `rocky_routine_run` accept a registered model id (and `reviewer_model` for Goal);
|
|
152
|
+
the request binds to that endpoint's own key, wire id, effort shape and protocol, and a
|
|
153
|
+
receipt digest is part of every preview and re-checked before a queued job runs. Dream
|
|
154
|
+
over MCP previews without a model call by default and runs only with the digest plus an
|
|
155
|
+
explicit `share_project_context=true`.
|
|
156
|
+
- **Decision providers.** One task-independent `DecisionClient` behind the tool verifier
|
|
157
|
+
for TypeSafe Jev, OpenRouter and local Ollama. `rockycode/decision_eval.py` replays 73
|
|
158
|
+
labelled multi-tool cases (`examples/verifier-cases.jsonl`) through the real approval
|
|
159
|
+
gate and reports effective-approval metrics.
|
|
160
|
+
- **OpenRouter free models** so rocky can be tried without a paid DeepSeek (or
|
|
161
|
+
other) key. Provider `openrouter` speaks OpenAI chat completions at
|
|
162
|
+
`https://openrouter.ai/api/v1`. Key is `ROCKYCODE_OPENROUTER_API_KEY`
|
|
163
|
+
(create one at https://openrouter.ai/keys). The verifier's
|
|
164
|
+
`OPENROUTER_API_KEY` is a different variable and does not reveal these rows.
|
|
165
|
+
DeepSeek stays the default: neither model has a `default` role, and the
|
|
166
|
+
picker lists them only when this key is set. `/model openrouter` (or
|
|
167
|
+
`/model openrouter-free`) sends `openrouter/free`, the Free Models Router,
|
|
168
|
+
which picks a free model that supports the request, including tools.
|
|
169
|
+
`/model openrouter-laguna-s` pins Poolside Laguna S 2.1's free variant
|
|
170
|
+
(`poolside/laguna-s-2.1:free`), a coding-agent model, because the router
|
|
171
|
+
can land on a very small one. Reasoning fields are not sent
|
|
172
|
+
(`reasoning = none`); there is no audited `protocol`. Prices are omitted
|
|
173
|
+
($0; the footer stays "prices unset"). The router's rocky context/output
|
|
174
|
+
clamp is 65,536 / 8,192 — the smallest tool-capable `:free` window on
|
|
175
|
+
2026-10-23 — not OpenRouter's published 200,000 ceiling. Laguna S is
|
|
176
|
+
262,144 / 32,768. Free-tier limits (OpenRouter docs, same day): 20
|
|
177
|
+
requests/minute and 50/day until the account has bought at least $10 of
|
|
178
|
+
credits; 1,000/day after that. Some free providers log prompts.
|
|
179
|
+
Groq and Gemini's OpenAI-compatible free endpoints are not builtin rows;
|
|
180
|
+
point `~/.rockycode/providers.toml` or `endpoints.toml` at them.
|
|
181
|
+
- Design comparison of MaD-RSI (Cui et al., arXiv:2610.28201) with rocky's harness and self-improvement path, in `docs/design/mad-rsi-harness-comparison.md`.
|
|
182
|
+
- Lean proofs can be graded with `lake check` when the toolchain ships it
|
|
183
|
+
(Lean v4.35+), and with `lake check --paranoid` on request. A sorry-free
|
|
184
|
+
compile is **green · compiled**. A sandboxed kernel recheck of a file on a
|
|
185
|
+
default target is **green · kernel-checked**. Every bundled kernel accepting
|
|
186
|
+
it is **green · paranoid**. If the compiler accepts a file and a kernel
|
|
187
|
+
rejects it, the verdict is **disputed**: the file and the check log stay,
|
|
188
|
+
and the repair loop does not continue. Older toolchains and hosts without
|
|
189
|
+
the Linux bubblewrap sandbox stay at green · compiled and say the recheck
|
|
190
|
+
did not run. `--inadvisably-no-sandbox` is never the default.
|
|
191
|
+
- **MCP capability bridge** for Codex, Claude Code, DeepSeek Harness and URL-based
|
|
192
|
+
local clients: explicit exec continuation/context, background jobs, project
|
|
193
|
+
memory/skills, decisions/verifier advice, Dream/proposal review, reviewed Goal
|
|
194
|
+
plans and one-shot routines. Authenticated loopback Streamable HTTP is optional;
|
|
195
|
+
stdio remains the default. See `docs/mcp-server.md` for the capability matrix,
|
|
196
|
+
client setup, consent contracts and remaining gaps. No dependency changes.
|
|
197
|
+
- **MiniMax-M3.1-Flash** as `/model minimax-m3.1-flash` (the request sends
|
|
198
|
+
`MiniMax-M3.1-Flash`). Same MiniMax key as M3 (`ROCKYCODE_MINIMAX_API_KEY`;
|
|
199
|
+
the `_CN_` / `_EN_` aliases still work). China OpenAI base URL
|
|
200
|
+
`https://api.minimax.cn/v1`; international is `https://api.minimax.io/v1`
|
|
201
|
+
via `~/.rockycode/endpoints.toml`. 1,000,000 context, 131,072 output cap
|
|
202
|
+
(API maximum 524,288), image and video input, and published prices
|
|
203
|
+
(USD $0.15 / $0.60 per 1M input / output, cache read $0.015; CNY ¥1 / ¥4,
|
|
204
|
+
cache read ¥0.10). Thinking cannot be turned off — `/effort off` sends
|
|
205
|
+
`reasoning_effort=low` instead of `thinking.type=disabled`, which this model
|
|
206
|
+
rejects with HTTP 400. See `docs/minimax-m3.1-flash.md`.
|
|
207
|
+
- **MCP server for Codex** (`rockycode mcp`). A local stdio Model Context
|
|
208
|
+
Protocol server — distinct from `rockycode serve`, which stays rocky's own
|
|
209
|
+
JSON-RPC for editor clients. Exposes `rocky_exec`, which runs the same
|
|
210
|
+
headless path as `rockycode exec` and returns the summary, evidence (and a
|
|
211
|
+
temp output file when there is an answer), token usage and USD cost when
|
|
212
|
+
the model is priced, and the exec exit status. Default profile is `read`;
|
|
213
|
+
write and full run only when the caller passes them. API keys are scrubbed
|
|
214
|
+
from the tool result; protocol bytes stay on stdout and logs on stderr.
|
|
215
|
+
See `docs/mcp-server.md`. Optional Codex plugin skeleton:
|
|
216
|
+
`integrations/codex-plugin/` and `.agents/plugins/marketplace.json`.
|
|
217
|
+
- **Perplexity and local MLX decision providers** for the tool verifier (off
|
|
218
|
+
unless auto-mode is already on). `provider=perplexity` posts the same Choice
|
|
219
|
+
question to `https://api.perplexity.ai/v1/decisions` with model
|
|
220
|
+
`pplx-decider-v1.1-27b` (`PERPLEXITY_API_KEY`; `ROCKYCODE_VERIFIER_API_KEY`
|
|
221
|
+
or `ROCKYCODE_JEV_API_KEY` still win when set). `provider=systemone` calls a
|
|
222
|
+
local MLX `/v1/systemone` server (default `http://127.0.0.1:8092/v1/systemone`)
|
|
223
|
+
and does not require a cloud key. These are decision models, not chat models,
|
|
224
|
+
and they are not added to `models.toml`. See
|
|
225
|
+
`docs/design/pplx-decider-decision-provider.md`.
|
|
226
|
+
- **Jev auto-mode** (chat permission gate, off by default). After the static
|
|
227
|
+
block/allow decision, an opt-in harness client can ask TypeSafe Jev
|
|
228
|
+
(`jev-1.13.0`, or the same Choice call via OpenRouter) whether a would-ask
|
|
229
|
+
tool call should be allowed, asked, or denied. `shadow` only logs; `enforce`
|
|
230
|
+
can auto-allow a high-confidence `allow`. Timeouts, HTTP 429, malformed
|
|
231
|
+
answers, and a missing key fail closed (`ask` by default, or `deny`) — never
|
|
232
|
+
a silent allow. Yolo does not call Jev. Block-tier commands stay blocked.
|
|
233
|
+
Jev is not a chat model and not a tool. See `docs/jev-auto-mode.md`.
|
|
234
|
+
- **Catch-up run state for unattended briefs.** `rockycode/catchup.py` keeps
|
|
235
|
+
per-source bookmarks, a reported-items ledger and posting/posted/maybe-posted
|
|
236
|
+
run records; ledger and bookmarks move only after a confirmed post, and a
|
|
237
|
+
source that failed to read keeps its bookmark. Template routine in
|
|
238
|
+
`docs/templates/catchup-brief/`; comparison with Anthropic's agent-automation
|
|
239
|
+
guide in `docs/design/offline-agent-guide-comparison.md`.
|
|
240
|
+
|
|
241
|
+
- **Desktop prompt presets.** The desktop composer can save, rename, delete and apply named
|
|
242
|
+
prompt templates. Presets are global across tasks and stored in the desktop user-data
|
|
243
|
+
directory (`prompt-presets.json`, mode 0600), not in the project and not beside model
|
|
244
|
+
credentials. Applying a preset replaces the task input, and asks first when that draft is
|
|
245
|
+
not empty. A preset is only a name and prompt text.
|
|
246
|
+
- **MiniMax server-side web search, and a search budget.** `ROCKYCODE_SEARCH_MODEL` picks the
|
|
247
|
+
native search provider independently of the chat model (`minimax-custom:minimax-m3.1-flash`
|
|
248
|
+
reaches MiniMax's Anthropic-compatible `web_search_20250305`; DeepSeek stays the default).
|
|
249
|
+
The loop follows `pause_turn` for up to six requests per turn under a 240 s deadline, and
|
|
250
|
+
the per-request server-search cap is the new `search_max_uses` setting (default 12, 0 = no
|
|
251
|
+
cap; read from the global config only, because providers bill each search — MiniMax
|
|
252
|
+
$0.01). Until now DeepSeek search carried a fixed cap of five. Live-checked on the
|
|
253
|
+
international MiniMax host; the ledger still counts tokens only, not search fees.
|
|
254
|
+
- Linked tasks (#95): a session can create another task with an explicit handoff and leave
|
|
255
|
+
it messages. TUI: `/task new <handoff>` · `open <id>` · `list` · `send <id> <message>` ·
|
|
256
|
+
`inbox` · `use <message-id>` · `dismiss <message-id>`; the desktop gets a "Create task /
|
|
257
|
+
messages" panel on each conversation. Four model tools — `create_new_task` and
|
|
258
|
+
`send_task_message` go through the risky-tool approval, `read_task_messages` and
|
|
259
|
+
`list_tasks` are safe reads. Creation is draft creation: nothing is copied from the parent
|
|
260
|
+
and the user sends the draft; mail is stored reference data that never starts a turn or
|
|
261
|
+
grants anything. Tasks live in `task-links.sqlite3` (TUI: the rocky home; desktop: its
|
|
262
|
+
data directory), so the two surfaces do not see each other's tasks. Review fixes folded in
|
|
263
|
+
before merge: refusals are catalog-keyed on both surfaces, a TUI switch runs the ordinary
|
|
264
|
+
exit flow (outcome record, final reflect) and keeps the terminal's permission mode, a
|
|
265
|
+
session becomes a task only on first `/task` or tool use, listings stop at the 50 most
|
|
266
|
+
recent tasks, and rows whose session file is gone are pruned.
|
|
267
|
+
|
|
268
|
+
### Changed
|
|
269
|
+
- **The welcome line and the tagline say "we build together"**, not "we fix bug": rocky builds,
|
|
270
|
+
explains and researches too. The default prompt already said so.
|
|
271
|
+
- **An artifact keeps the look it was written with.** rocky used to strip a page's own
|
|
272
|
+
styles and wrap everything in its light-purple page. A full HTML document is now saved as
|
|
273
|
+
written (plus a charset line when it has none, so Chinese text survives being opened as a
|
|
274
|
+
file). A fragment gets rocky's own page in your look (see "A page for artifacts" above);
|
|
275
|
+
purple is one of the looks, not the default.
|
|
276
|
+
- **The TUI no longer opens your browser when an artifact is saved.** It shows the card and
|
|
277
|
+
you open it when you want; the model is told the page was saved, not that it was opened.
|
|
278
|
+
The old "live or once?" question is gone: live preview is `--live`, `/artifact live on`, or
|
|
279
|
+
the picker's **Live** button. Other hosts are unchanged: `exec` and the editor extension
|
|
280
|
+
still present each saved page, and the desktop shows it in its panel.
|
|
281
|
+
- **The artifact count in the TUI's status bar, `serve`'s artifact list and a desktop task's
|
|
282
|
+
list are this session's artifacts.** The project's full inventory is the `/artifact` picker.
|
|
283
|
+
- **Qwen4 Max replaces the preview** on the existing Bailian Token Plan route.
|
|
284
|
+
Select `qwen-plan:qwen4-max`; saved `qwen4-max-preview` IDs resolve to the stable
|
|
285
|
+
model with the same endpoint and key. The effort tiers are low | high | xhigh.
|
|
286
|
+
The shared output cap is now 131,072 tokens, valid with thinking on or off
|
|
287
|
+
(the API permits 262,144 for thinking plus the answer in thinking mode).
|
|
288
|
+
Offline request-contract regressions cover this migration; the November 12
|
|
289
|
+
live preview result above does not validate the new stable model.
|
|
290
|
+
- **`keyring` is installed by default on macOS and Windows**, where the system always has a
|
|
291
|
+
keychain (about 670 KB with its four pure-Python dependencies), so a new key can go there
|
|
292
|
+
without an extra to remember. Linux keeps the opt-in `rockycode[keyring]` extra: it needs a
|
|
293
|
+
desktop Secret Service and pulls `cryptography`.
|
|
294
|
+
- **A failed model request is one plain sentence with the next step.** The error line was the
|
|
295
|
+
SDK's text: `AuthenticationError: Error code: 401 - {'error': {…}}`. rocky now says what
|
|
296
|
+
happened and what to do — a rejected key (with the key's source, and where to paste a new
|
|
297
|
+
one), an account out of credit, a rate limit, a host that cannot be reached or did not
|
|
298
|
+
answer, a conversation too long for the model, a model the provider does not know, a
|
|
299
|
+
refused request, a provider-side problem — and keeps the SDK's own text as a dim second
|
|
300
|
+
line. The TUI words it in the session's language; the desktop shows its own translated
|
|
301
|
+
sentence instead of the raw text. `exec`'s JSONL error event and `serve`'s `session/error`
|
|
302
|
+
gain a `kind` field (`auth`, `credit`, `rate_limit`, `timeout`, `network`, `context`,
|
|
303
|
+
`model`, `request`, `server`); `message` is now the sentence, and `serve` also sends the raw
|
|
304
|
+
text as `detail`. The key's source is no longer appended to a context-length error.
|
|
305
|
+
- **The transcript says what rocky did.** A tool call is one line that names what it acts on
|
|
306
|
+
— the command, the file, the query (`✓ read_file app.py`, `✓ bash python -m pytest -q`) — and
|
|
307
|
+
the line a call starts with becomes its result line. It was two lines per call, and neither
|
|
308
|
+
said which file or command; in auto-approve mode nothing on screen did. The desktop's tool
|
|
309
|
+
rows show the same summary, and a failed call has its own icon instead of a check mark.
|
|
310
|
+
Secret-shaped text is masked and the content being written is never shown. A resumed
|
|
311
|
+
session replays its calls with their targets too.
|
|
312
|
+
- The hint bar under the input is short enough for an 80-column terminal: `drag text = copy ·
|
|
313
|
+
/help · /model · /plan · /goal · /exit · type / for more`. The long list was cut off before
|
|
314
|
+
`/clear` and `/exit` on most terminals and had no `/plan` or `/goal`.
|
|
315
|
+
- **A new model is one row.** A model's special request rules used to be a named contract
|
|
316
|
+
in rocky's code (`protocol = "…"` in the row pointed at it), so a model with a new mix of
|
|
317
|
+
rules needed a code change. The rules are now switches in the model's own row in
|
|
318
|
+
`models.toml`: `replay_reasoning` (`never`, `with_tools`, `always`), `reasoning_required`,
|
|
319
|
+
`strict_finish`, `tool_choice_none`, `output_limit` (`max_tokens` or
|
|
320
|
+
`max_completion_tokens`) and a `sampling` table. A row in `~/.rockycode/models.toml` can set
|
|
321
|
+
them for a model rocky has never heard of, or change one on a builtin row. The five builtin
|
|
322
|
+
models that had a contract send the same requests as before. `protocol` is no longer a row
|
|
323
|
+
field. A new thinking wire format, or a behaviour no model has had yet, still needs code.
|
|
324
|
+
- A model row rocky cannot read is refused out loud instead of skipped in silence: an
|
|
325
|
+
unknown field (with a "did you mean"), a switch with a value it does not take, a number
|
|
326
|
+
that is not a number. Asking for that model — at launch, in `exec`, with `/model`, from the
|
|
327
|
+
desktop or MCP — names the row, the reason and the file to fix, and the `/model` picker
|
|
328
|
+
keeps the row visible with its reason. A refused row never runs on default rules and is
|
|
329
|
+
never sent to the home endpoint as an unlisted id.
|
|
330
|
+
- Call records and model receipts name a model's contract by its switches
|
|
331
|
+
(`replay_reasoning=always strict_finish …`) where they carried the contract's name.
|
|
332
|
+
- MiniMax native search is allowed for a model whose row has the `search` role (M3.1 Flash
|
|
333
|
+
has it) instead of for one model named in code.
|
|
334
|
+
- **One `image` config key** replaces `image_route`, `image_provider` and `image_cli`: `auto`
|
|
335
|
+
(default: deepseek-flash on the home key, else the first keyed vision endpoint, describes
|
|
336
|
+
pasted images for a text-only model), `ask` (asked before a provider describes), `off`, an
|
|
337
|
+
endpoint spec that pins the describer (`kimi:kimi-k3`), or your own command (`mmx`, or a
|
|
338
|
+
template with `{path}`). A config written with the old keys is read as the one key. A
|
|
339
|
+
pinned endpoint that is not keyed sends the placeholder instead of silently using another;
|
|
340
|
+
`auto` no longer prefers a configured CLI — name the command to use it.
|
|
341
|
+
- `/queue on|off` sets how a message sent mid-turn is delivered (off = interrupt, the
|
|
342
|
+
default; on = it waits its turn); bare `/queue` shows the mode and the waiting messages.
|
|
343
|
+
The separate `/delivery` command (never in a release) is gone: one feature, one command.
|
|
344
|
+
- `/proposals` and `/routines` are listed in `/help` and completion only while `evolve = auto`
|
|
345
|
+
or that inbox has something waiting at launch; typed in full they still open. The hints
|
|
346
|
+
line no longer advertises `/proposals`.
|
|
347
|
+
- **Dream remembers what actually went wrong.** An episode note used to keep the reflect
|
|
348
|
+
grade and the approaches that failed. It now also keeps a `## failure signals` section
|
|
349
|
+
when there are any: the grader's reason for a low score, and what the harness itself
|
|
350
|
+
counted (tool errors, engine errors, interrupts mid-work, test runs that did not pass).
|
|
351
|
+
A clean session adds nothing. Only relevant while `evolve = auto`.
|
|
352
|
+
- **The language-server bridge stops pretending** (it stays experimental and opt-in).
|
|
353
|
+
A query that failed now says so: a stopped server, an operation the server does not
|
|
354
|
+
have, a server error and a timeout each come back as `[error]` or `[timeout]` and count
|
|
355
|
+
as failed tool calls, where they used to read as `[no results]` or as a success.
|
|
356
|
+
`[no results]` now only means a query that worked and matched nothing. Diagnostics no
|
|
357
|
+
longer ride on `read_file`: every read waited on the server, a refused read still asked
|
|
358
|
+
it about the path, and a dead server looked like clean code. `check_code` runs lint and
|
|
359
|
+
type checks after an edit with no server, and `lsp_diagnostics` stays as an explicit
|
|
360
|
+
query. `/lsp` tells an unconfigured user how to set it up instead of saying it is off,
|
|
361
|
+
and `ROCKYCODE_LSP_COMMAND` is parsed as a command line (quoted paths work; unbalanced
|
|
362
|
+
quotes are reported, nothing is launched).
|
|
363
|
+
- **One rule for which key and URL a model uses**, in one place (`engine/route.py`), for
|
|
364
|
+
every way rocky talks to a model: chat, `/model`, `exec`, `goal`, `dream`, `bench`, the
|
|
365
|
+
MCP server, the desktop, titles and image descriptions. A model goes to its own endpoint
|
|
366
|
+
with that endpoint's key. **A model whose key is missing is no longer sent to the home
|
|
367
|
+
URL with the home key** (where it failed with that provider's unrelated error): rocky
|
|
368
|
+
stops and names the variable to set. The one exception is the setup you build yourself:
|
|
369
|
+
with `ROCKYCODE_BASE_URL` on your own gateway, a model without its own key still rides
|
|
370
|
+
the gateway. A plan-only model never does. An id rocky does not know still goes to the
|
|
371
|
+
home endpoint, as before.
|
|
372
|
+
- **The first run asks where your models come from**: any provider in the catalog (plan
|
|
373
|
+
rows too), a local Ollama with no key at all, or your own URL. It used to ask for a
|
|
374
|
+
DeepSeek key whatever you were about to run. The key is tested against its own endpoint
|
|
375
|
+
and saved under its own name, and the default model is one of that provider's. When a
|
|
376
|
+
model you named only lacks its key, rocky asks for that one key and carries on. With no
|
|
377
|
+
terminal to ask in (a script, CI) it prints the one line and stops instead of waiting.
|
|
378
|
+
- **Structure.** `rockycode/engine/` is the model- and UI-agnostic core and never
|
|
379
|
+
imports upward — a smoke (`tests/smoke_layering.py`) enforces it. Goal mode is its own
|
|
380
|
+
package (`rockycode/goal/`); the `exec` and `serve` hosts are `rockycode/headless.py` and
|
|
381
|
+
`rockycode/server.py`; the verifier is one module (`engine/verifier.py`; the `engine.jev`
|
|
382
|
+
shim is gone). The dynamic-workflow spike left the package and the CLI
|
|
383
|
+
(`experiments/dynamic-workflows/`).
|
|
384
|
+
- **One approval pipeline** (`engine/approval.py`): static policy → session grants → loop-tick
|
|
385
|
+
rules → verifier → the host's ask. The TUI, `serve` and `exec` are hosts of the same
|
|
386
|
+
pipeline; `serve` clients now get the yolo/ask/careful policy, session grants and the
|
|
387
|
+
verifier, and safe reads no longer prompt. `session/request_permission` carries `detail`
|
|
388
|
+
and `warning`. The desktop host rides the same `ToolApprover` per task (it kept its own
|
|
389
|
+
copy of the policy before): verifier included, and a decision the pipeline takes on its
|
|
390
|
+
own is marked on the tool row.
|
|
391
|
+
- **Reflect is a boundary hook** (`dream/reflect.py`, attached from config); the engine keeps a
|
|
392
|
+
plain hook list and no longer knows evolve.
|
|
393
|
+
- **TUI shell split** per concern under `rockycode/tui/`; `tui/commands.py` is the one slash
|
|
394
|
+
command table that drives `/help`, completion and dispatch (`/queue` now
|
|
395
|
+
autocompletes). The CLI is a package with one module per command.
|
|
396
|
+
- **UI text is one TOML file per language** (`rockycode/i18n/locales/en.toml`, `zh.toml`), loaded by
|
|
397
|
+
`rockycode/i18n/`. Keys are meaning-named (`app.loop_paused_approval`, not the English sentence),
|
|
398
|
+
colours are palette placeholders (`{violet}`, `{muted}` …) instead of hex literals, and
|
|
399
|
+
`ui_language` accepts any locale file present. Adding a language is adding a file;
|
|
400
|
+
`tests/smoke_i18n_catalog.py` checks parity. Runtime capability details are reported with a
|
|
401
|
+
`detail_key` + `params` beside the English `detail`, so clients can localize by key.
|
|
402
|
+
- **The desktop reads the same locale files.** Its text is the `[desktop]` section of each TOML file,
|
|
403
|
+
exported to `apps/desktop/src/shared/catalog.ts` by `scripts/i18n_desktop.py` (checked by the
|
|
404
|
+
catalog smoke); capability details are localized by `detail_key`, and the language picker lists
|
|
405
|
+
every exported locale. One TOML file per language now covers both surfaces.
|
|
406
|
+
- **No sentence maps anywhere.** The desktop host's refusals, persisted task and race-lane
|
|
407
|
+
errors, runtime limitations and the model-race panel's copy are catalog keys
|
|
408
|
+
(`diagnostic.*`, `race.*`) in the same TOML files; the renderer localizes by key and shows
|
|
409
|
+
the English text only for a key it does not know. The Electron main process throws
|
|
410
|
+
already-translated messages. `TurnDelivery.submit` raises `DeliveryError` with a stable
|
|
411
|
+
`code`. The last hard-coded TUI hint line reads the catalog.
|
|
412
|
+
- **`serve` says what the approval pipeline decided on its own.** A static block or the
|
|
413
|
+
verifier's auto allow/deny is a `session/approval_note` notification (`kind`, `tool`,
|
|
414
|
+
`detail`), so editor clients can show it the way the TUI does; unknown notifications are
|
|
415
|
+
ignored by existing clients.
|
|
416
|
+
- **Evolve is opt-in.** `evolve` defaults to `off`. `/config evolve auto` turns on the
|
|
417
|
+
reflection checkpoints and the launch catch-up dream, with a one-time disclosure on the
|
|
418
|
+
next launch. Every evolve call bills the session model, which is why it no longer starts
|
|
419
|
+
on its own. Evolve itself is v2: checkpoints run on the session's own model at turn,
|
|
420
|
+
compaction and exit boundaries (capped per session), the dream pass works over those
|
|
421
|
+
reflect records, proposals are quality-gated and approved skills are watched; the
|
|
422
|
+
Ollama-only judge/mining pass and the exit sheet are retired.
|
|
423
|
+
- MiniMax's shipped base URL is `https://api.minimax.cn/v1`. Current China
|
|
424
|
+
docs (platform.minimax.cn and platform.minimaxi.com, checked 2026-10-20)
|
|
425
|
+
publish that host; the previous `https://api.minimaxi.com/v1` is no longer
|
|
426
|
+
the documented endpoint. `minimax-m3` uses the same host.
|
|
427
|
+
|
|
428
|
+
- **Goal mode forgets between milestones.** Each milestone (and each retry after a failed verify) now starts from the goal's seed context instead of the whole run's history; the work stays in the goal worktree/branch, and a retry is told why the last verify failed. Long runs no longer fixate on an earlier attempt (context inertia). Opt out with EngineDriver(flush_context=False).
|
|
429
|
+
|
|
430
|
+
### Fixed
|
|
431
|
+
- **Quitting while rocky works leaves nothing behind.** ctrl+q or `/exit` in the middle of a
|
|
432
|
+
turn used to close the screen under the turn, and the TUI ended with "Task exception was
|
|
433
|
+
never retrieved … MountError". Now the first ctrl+q stops what still runs, the way Esc
|
|
434
|
+
does, and then leaves: a reply half written, a tool running, an approval card waiting, a
|
|
435
|
+
`/loop` tick, a `/plan` turn. A command that waited for your yes does not run. What you
|
|
436
|
+
type while rocky is leaving is not sent, and rocky says so. rocky waits at most 3 seconds
|
|
437
|
+
for the stop, and a second ctrl+q or `/exit` still leaves at once.
|
|
438
|
+
With evolve on, the final reflect now sees a stopped turn, and a loop tick no longer goes
|
|
439
|
+
on working while rocky leaves. Found live by dy2012 (#144).
|
|
440
|
+
- On Python 3.14, stopping a turn (Esc, or leaving) no longer makes the event loop report
|
|
441
|
+
"WorkerCancelled exception in shielded future". Nothing showed on screen: the TUI hides
|
|
442
|
+
what is printed while it runs. It showed in headless runs, and it failed the tests.
|
|
443
|
+
- **A turn stopped at the wrong instant no longer ends rocky.** Two old bugs, each needing a
|
|
444
|
+
second key within a few thousandths of a second. Esc, or a new message, in the instant a
|
|
445
|
+
reply finished drawing ended the TUI with "MountError … because it has no parent". Enter
|
|
446
|
+
on an approval card with Esc right behind it closed rocky without a word. Both came from
|
|
447
|
+
stopping a turn while it waited for a widget to be removed; every such wait is now safe to
|
|
448
|
+
stop (`tui/removal.py`). With evolve on, a final reflect no longer starts after a second
|
|
449
|
+
ctrl+q has left.
|
|
450
|
+
- The exit card ("session saved", how to resume) now speaks the UI language: Chinese when
|
|
451
|
+
`ui_language` or `lang` is zh. It was English in every language. The commands on it stay
|
|
452
|
+
as you type them.
|
|
453
|
+
- **A card no longer takes your typing as its answer.** A card that opened while you were
|
|
454
|
+
typing took the keyboard: Enter or `y` ran a command you had not read, and the rest of
|
|
455
|
+
your sentence was dropped. Every card in the TUI's chat now follows one rule (an approval,
|
|
456
|
+
a parked step, the plan review, the image route, `/loop`, `/proposals`, `/routines`).
|
|
457
|
+
A card you did not open never takes the keyboard. It waits, dimmed, and its last line
|
|
458
|
+
says how to come to it: Enter in an empty message box, Tab, or a click. ↑ and ↓ in an
|
|
459
|
+
empty message box do nothing while a card waits; if you pressed them, the card has no
|
|
460
|
+
picked row when you come to it, and Enter picks nothing until you choose a row on the
|
|
461
|
+
card. With two cards on screen, Tab goes round them, and each waiting line names the key
|
|
462
|
+
that leads to its card. A card you opened
|
|
463
|
+
yourself (`/proposals`, `/routines`, `/loop`, `/loop allow`, `/plan`, a parked step) has
|
|
464
|
+
the keyboard at once. No letter answers a card: `y`/`a`/`n` and `g`/`e`/`p`/`s` are gone,
|
|
465
|
+
and you answer with ↑↓ and Enter or by clicking a row (the plan's and the image card's
|
|
466
|
+
rows are clickable now too). What you type or paste on a card goes into the message box.
|
|
467
|
+
Enter picks a row only after the card has had the keyboard, untouched, for half a second;
|
|
468
|
+
an Enter that comes sooner says so on the card and starts the wait again, so the Enter
|
|
469
|
+
that brought you to the card, or one held down, picks nothing. The arrows act at once.
|
|
470
|
+
A call that carries a warning starts on Deny, and ↑↓ stop at the first and last row
|
|
471
|
+
instead of wrapping around. Esc in the message box is the Esc of the card you were last
|
|
472
|
+
on. When a card closes, the keyboard goes back to the message box, never on to another
|
|
473
|
+
card. So an approval now takes two Enters, one to come to the card and one to pick the
|
|
474
|
+
row, or one click. A message sent while rocky works still takes over the turn by default, so the call
|
|
475
|
+
that was asking is dropped with it, never run; with `/queue on` the message waits and the
|
|
476
|
+
card stays. In the desktop app a call that carries a warning is allowed by its button
|
|
477
|
+
only: Enter and S do nothing on it. The goal screen keeps its `y`/`e`/`n` keys: it is a
|
|
478
|
+
screen of its own, with no message box behind it.
|
|
479
|
+
- **The line that opens the parked steps is always on screen.** After a turn that parked a
|
|
480
|
+
step, the transcript could stop one row short and hide that line under the border, about
|
|
481
|
+
once in a hundred turns.
|
|
482
|
+
- **Typing a slash command.** The suggestion row froze on its first content (`/p` kept showing
|
|
483
|
+
the same four commands whatever came next, and "no match" could never appear). Tab with
|
|
484
|
+
several matches moved the focus out of the input, and what was typed after it was lost. The
|
|
485
|
+
row now follows every keystroke, a bare `/` lists the commands, and Tab completes as far as
|
|
486
|
+
the matches agree and never leaves the input.
|
|
487
|
+
- Nothing moved between Enter and the model's first token: the status only changed when the
|
|
488
|
+
first delta arrived, so a slow network looked like a frozen app. "thinking…" now shows at once.
|
|
489
|
+
- `/clear` empties the screen and nothing else, while the half-context reminder told users to
|
|
490
|
+
"type /clear to start fresh". `/clear` now says the conversation is kept, the reminder names
|
|
491
|
+
what does start fresh (`/task new <note>`), and the context-full error no longer suggests a
|
|
492
|
+
compact or clear command that does not exist.
|
|
493
|
+
- `/help` lost `[objective]`, `[key] [value]` and `[id]` to the markup parser, and opened
|
|
494
|
+
scrolled to its last lines. The arguments are shown and the card opens at its top.
|
|
495
|
+
- `rockycode --help` and every subcommand's help came in ANSI cyan, yellow and green, first-run
|
|
496
|
+
and exit text was auto-highlighted in more of the same, and a few lines named `[cyan]`,
|
|
497
|
+
`[magenta]` or `[yellow]`. All CLI output now takes its colours from the palette.
|
|
498
|
+
- A skill whose description is a YAML block (`description: |` or `>-`) was listed as `|`, in
|
|
499
|
+
`/skills` and in the model's own skill list. The text under the indicator is the description.
|
|
500
|
+
- `/goal` opened its screen in English in a Chinese session.
|
|
501
|
+
- **Desktop: Enter on a focused "Deny" allowed the action.** The approval card's global Enter
|
|
502
|
+
("allow once") also fired when a button had the focus, so Tab to "Deny" and Enter granted what
|
|
503
|
+
the user meant to refuse. A focused control now keeps its own Enter, and the card's keys do
|
|
504
|
+
nothing while a dialog is open.
|
|
505
|
+
- Desktop: the hint under the composer said "⌘ / Ctrl + Enter to send · Enter for a new line"
|
|
506
|
+
while Enter sends. It now says "Enter to send · Shift + Enter for a new line".
|
|
507
|
+
- Desktop: a new task starts in "Approve each step" when the global config, or the project's,
|
|
508
|
+
says `permission = "careful"`. It always started in "Standard". A config never starts a
|
|
509
|
+
desktop task in auto-approve.
|
|
510
|
+
- Desktop: "ready" now means a model can run. It meant "a default model name is saved": a
|
|
511
|
+
user with a working key and no saved default was told to configure, and a default without a
|
|
512
|
+
key said ready and failed on the first message with terminal text. A new task now starts on
|
|
513
|
+
the saved default when it has a route, else on the first model that has a key or runs
|
|
514
|
+
locally. When nothing can run, the start page and the composer show one card: the step, the
|
|
515
|
+
exact terminal command for this install, and "Check again" (no relaunch). A task whose own
|
|
516
|
+
model has no key says so in one sentence and points at the model picker.
|
|
517
|
+
- Desktop: a user with no MCP server saw the raw key `capability.mcp_none`; a duplicate preset
|
|
518
|
+
name was reported in Chinese to English users and an empty preset as `diagnostic.presetBody`;
|
|
519
|
+
the mode help said rocky has no reviewer (the opt-in verifier exists); the limits list said
|
|
520
|
+
there are no embedded previews (there are); a missing `uv sync` was reported as a missing
|
|
521
|
+
checkout.
|
|
522
|
+
- The desktop host tests passed only on a machine with a real key file and failed on a clean
|
|
523
|
+
clone. They now run on one fixture key and never read the developer's key file or keychain.
|
|
524
|
+
- Small side calls — session titles, the goal reviewer, dream, bounded completions for
|
|
525
|
+
hosts, the `raw` bench runner — capped their output with `max_tokens` even on models whose
|
|
526
|
+
row says `max_completion_tokens` (Kimi K3.1 Pro, Qwen4 Max Preview, MiMo-V2.6-Pro). They now
|
|
527
|
+
use the same field as the main loop.
|
|
528
|
+
- A model row with a malformed `price` crashed the catalog load; the row is refused with a
|
|
529
|
+
reason like any other bad row.
|
|
530
|
+
- The cost line now includes DeepSeek's native-search fee (USD 0.75 or CNY 5 per 1,000
|
|
531
|
+
successful searches, charged since November 2026). Each search response's count of
|
|
532
|
+
successful searches goes into the ledger; attempts and source counts do not. When a count
|
|
533
|
+
is missing or a request is cut off, the total stays a lower bound and the TUI marks it
|
|
534
|
+
`(search fees incomplete)`. A custom gateway is not priced at the official rate, and
|
|
535
|
+
MiniMax search fees are still outside the ledger.
|
|
536
|
+
- **Desktop dark mode is whole.** On a dark OS the Model Race view stayed light (its button
|
|
537
|
+
was a white block with unreadable text), the delivery dropdowns were white, and several
|
|
538
|
+
lines and labels kept their light-page colours. Every colour that only works on a light
|
|
539
|
+
page now has a dark value, native controls follow the dark scheme, and a test fails when
|
|
540
|
+
a new one is added without one.
|
|
541
|
+
- `ROCKYCODE_HOME` moves everything rocky owns. The settings file (`config.toml`), the price
|
|
542
|
+
overrides (`pricing.toml`) and the goal logs stayed under `~/.rockycode` whatever the
|
|
543
|
+
variable said, so a relocated store was split in two. If you set `ROCKYCODE_HOME`, move
|
|
544
|
+
those two files and the `goal-logs` folder into it.
|
|
545
|
+
- **Goal mode runs on the model you chose.** `rockycode goal` and `/goal` built their own
|
|
546
|
+
client from the home key and URL and spoke DeepSeek's request shape, whatever the model:
|
|
547
|
+
on any other provider the plan, the work and the review were all sent to the home
|
|
548
|
+
endpoint. Each now uses its model's own endpoint, key and shape, a reviewer on another
|
|
549
|
+
provider gets its own connection, and `/goal` keeps the session's plan or custom
|
|
550
|
+
endpoint.
|
|
551
|
+
- **`explore` speaks its parent's model.** The read-only child rode the session's client
|
|
552
|
+
but sent the default model id and reasoning fields, so on a model whose API id or
|
|
553
|
+
thinking shape differs (MiniMax, Qwen, Kimi, a local server) its requests were wrong.
|
|
554
|
+
- `exec` no longer demands the home key for a task on another provider or a local server,
|
|
555
|
+
and neither does the first launch: `rockycode --model <a model you have a key for>`
|
|
556
|
+
starts without asking for a different provider's key.
|
|
557
|
+
- An authentication error names the key and URL that were really used. It used to name the
|
|
558
|
+
home pair on every provider. The session record's `base_url` is the real one too.
|
|
559
|
+
- `--model ollama:<model>` with the local server down says so at launch instead of sending
|
|
560
|
+
the id to the home endpoint.
|
|
561
|
+
- **Saving a key no longer rewrites the key file.** First-run setup replaced
|
|
562
|
+
`~/.rockycode/.env` with three lines of its own, deleting every other provider's key and
|
|
563
|
+
any line you had added. A key is now written as its own line and the rest of the file is
|
|
564
|
+
kept; the file is `0600` from its first byte and is swapped in whole, so an interrupted
|
|
565
|
+
save leaves the old file.
|
|
566
|
+
- `bench` with a model that has no key stops with one line before Docker and the dataset.
|
|
567
|
+
- MCP calls: cancelled queued calls are skipped at dispatch, and new calls fail fast
|
|
568
|
+
once shutdown starts. Graceful stop still serves previously accepted calls; forced
|
|
569
|
+
stop, actor failure and connection loss settle active and queued waiters instead of
|
|
570
|
+
leaving them pending. Repeated/concurrent stop is safe, including a cancelled stop
|
|
571
|
+
waiter. Cancelling a caller after dispatch still permits server-side effects; this
|
|
572
|
+
is admission control, not rollback (host-contract research #74).
|
|
573
|
+
|
|
574
|
+
- DeepSeek catalog notes now identify Flash 1017 and the still-available Pro
|
|
575
|
+
0813, with source dates. The bounded `python -m rockycode.model_probe` checks
|
|
576
|
+
alias equivalence; `--live` explicitly compares the two literal API ids using
|
|
577
|
+
the actual Engine. It retains Flash's protocol and 393216 output cap.
|
|
578
|
+
- Local TUI/desktop YOLO reads now share a live file scope across read_file,
|
|
579
|
+
grep, glob and image inputs; default headless registries remain bounded.
|
|
580
|
+
Search checks symlinks before traversal and preserves secret-file filters.
|
|
581
|
+
Image tools ignore project-controlled CLI routing, and container read-file
|
|
582
|
+
diagnostics treat filenames literally. File-tool write scopes are unchanged.
|
|
583
|
+
- Tool batches on every provider now require a matching terminal completion
|
|
584
|
+
marker before any tool runs. MiniMax M3.1 Flash retains interleaved reasoning
|
|
585
|
+
across tool turns, resume and compaction. Dream/title requests respect model
|
|
586
|
+
wire ids, thinking policy and output budgets; truncated auxiliary replies are
|
|
587
|
+
rejected. The dream CLI uses the selected keyed endpoint. The bounded canary
|
|
588
|
+
supports `--model minimax-m3.1-flash` (see `docs/minimax-m3.1-flash.md`).
|
|
589
|
+
- **DeepSeek Flash 1017 contract**: Flash assistant messages keep their
|
|
590
|
+
`reasoning_content` and replay it on tool turns, including after a restart or
|
|
591
|
+
compaction (opt-in per model via `protocol` in `models.toml`; other models are
|
|
592
|
+
unchanged). Incomplete or errored streams never execute a partial tool batch.
|
|
593
|
+
Flash output cap corrected to 393216. `rockycode bench` and the raw runner now
|
|
594
|
+
default to the registry's output cap and context window, like chat; pass
|
|
595
|
+
`--max-tokens 16384` to keep the previous bench budget. Live canary:
|
|
596
|
+
`python -m rockycode.flash_probe --live` (see `docs/deepseek-flash-1017.md`).
|
|
597
|
+
- Release builds pin upstream Actions and build dependencies, separate OIDC
|
|
598
|
+
publishing from validation, verify reproducible distributions and installed
|
|
599
|
+
model protocols, and keep private development files out of release artifacts.
|
|
600
|
+
- Jev auto-mode preserves human-only read-jail grants, redacts before clipping,
|
|
601
|
+
fails closed on truncated arguments and malformed probabilities/URLs, and
|
|
602
|
+
preserves loop refusal receipts. Ordinary config writes retain `[jev]` settings.
|
|
603
|
+
|
|
604
|
+
- Sidecar and race clients send the provider's case-sensitive API model id
|
|
605
|
+
(`provider.api_model()`); selection, the ledger and pricing keep the canonical registry id.
|
|
606
|
+
- The MCP metadata-store guard inspects only the path components below the trusted root,
|
|
607
|
+
so a symlinked `/var`, a dotfiles-managed `~/.rockycode` or a symlinked `$HOME` no longer
|
|
608
|
+
refuse the store.
|
|
609
|
+
- `bench`: a fix left in a stash no longer yields an empty patch, binaries and model-authored
|
|
610
|
+
test files are dropped from patches, retries happen only after crashes, and scratch files
|
|
611
|
+
go to `/tmp`.
|
|
612
|
+
- TUI: the loop tick stays active through fold and receipt rendering; `exec --help` renders
|
|
613
|
+
correctly on dumb and colour terminals.
|
|
614
|
+
- Desktop: `npm run setup:electron` survives the macOS bundle rebrand, keeps the installer's
|
|
615
|
+
native path on Linux and Windows, and exits with the installer's own status instead of
|
|
616
|
+
masking it. The race, delivery and live e2e launchers mark the unpackaged dev layout
|
|
617
|
+
(`ROCKYCODE_DESKTOP_DEV=1`) like the main e2e does, so they find the Python host after the
|
|
618
|
+
dev Electron binary is rebranded instead of reporting a disconnected runtime.
|
|
619
|
+
|
|
620
|
+
- MCP tool results flagged isError are capped like every other tool output (30k chars, head+tail) instead of entering history unbounded.
|
|
621
|
+
|
|
622
|
+
- `/model`: a custom base URL stays editable on later opens (the saved `<provider>-custom` row reopens the field pre-filled, and a keyed model's other endpoints stay in the short list).
|
|
623
|
+
- MiMo V2.6 Pro keeps its thinking across turns: `reasoning_content` is replayed with and
|
|
624
|
+
without tools, the output cap goes out as the documented `max_completion_tokens`, and the
|
|
625
|
+
context summary is requested without tool schemas (the server may ignore
|
|
626
|
+
`tool_choice="none"`). The shared summary step now refuses a result that did not finish
|
|
627
|
+
with `stop`, carries tool calls or is empty, and prunes old tool outputs instead of
|
|
628
|
+
replacing history with it. Live-checked on the MiMo Token Plan (Singapore cluster) and
|
|
629
|
+
against DeepSeek Flash; pay-as-you-go MiMo was not exercised.
|
|
630
|
+
|
|
631
|
+
### Removed
|
|
632
|
+
- The `openrouter-laguna-s` row: OpenRouter no longer lists that free model.
|
|
633
|
+
- The `reflect_every` config key (never in a release). The reflect checkpoint interval is
|
|
634
|
+
the constant `REFLECT_EVERY` (200 history messages); nobody tuned it.
|
|
635
|
+
- `rockycode.tui.rocky_pet`, the sprite widget nothing has mounted since 0.1, and the prompt
|
|
636
|
+
hint for a `viewport` tool that does not exist.
|
|
637
|
+
- The dynamic-workflow spike (`rockycode workflow`: phases with fan-out and per-phase
|
|
638
|
+
`on_error`) moved to `experiments/dynamic-workflows/` and is not part of the package.
|
|
639
|
+
- The `/cron`, `/artifacts` and `/quit` aliases. `/loop`, `/artifact` and `/exit` are the
|
|
640
|
+
commands; each alias cost a help line and a doc line and added no capability. An old alias
|
|
641
|
+
now gets the ordinary unknown-command reply.
|
|
642
|
+
|
|
643
|
+
### Security
|
|
644
|
+
- Python 3.15 works: seven pinned sub-packages moved to versions with ready-made wheels for it
|
|
645
|
+
(cffi, jiter, pydantic, pydantic-core, pywin32, typing-extensions, typing-inspection). pydantic
|
|
646
|
+
2.14.2 also fixes two validation bypasses (GHSA-qpmf-fgh3-ff25, GHSA-3r8g-cqwr-jr29).
|
|
647
|
+
- **Every sub-package is pinned.** Installing rocky used to take the newest version of each
|
|
648
|
+
indirect dependency that day. The package now pins the whole tree, for the default install
|
|
649
|
+
and for each extra, to the versions its own tests ran with. The VS Code extension's direct
|
|
650
|
+
packages and the CI actions are pinned too. A security fix in a sub-package now needs a
|
|
651
|
+
new rocky release. Installing rocky into a shared environment can conflict with other
|
|
652
|
+
versions there: `uv tool install rockycode` keeps it in its own.
|
|
653
|
+
- **A project folder can no longer choose a command that rocky runs.** The `image` setting
|
|
654
|
+
can name a program that describes images for a model without vision. rocky read that
|
|
655
|
+
setting from the project's `.rockycode/config.toml` as well as from your own, so a cloned
|
|
656
|
+
repository could name the program, and sending a pasted image from the terminal ran it
|
|
657
|
+
with no question asked. `image` is now read from your own `~/.rockycode/config.toml` only, like
|
|
658
|
+
`model`, `vision_models` and `search_max_uses`; a project file can still set its language
|
|
659
|
+
and make approvals stricter.
|
|
660
|
+
- **The image command starts without rocky's keys.** It inherited rocky's whole environment,
|
|
661
|
+
provider keys included. It now gets what the shell tool gets: your environment minus
|
|
662
|
+
rocky's keys. A tool with its own login (`mmx`) is unaffected. The `git` commands rocky runs
|
|
663
|
+
itself in a project (goal branches, the explore child) get the same environment.
|
|
664
|
+
- **A change to rocky's own settings always asks you.** The `rocky_config` tool can change
|
|
665
|
+
the default model, give a provider another address (the key saved for that provider goes
|
|
666
|
+
to it) and add a model server. Such a change used to run silently in yolo, and after one
|
|
667
|
+
"allow for this session" every later change ran silently too. Now every change is yours
|
|
668
|
+
to decide, in every approval mode, each time (in yolo it is kept for you instead of
|
|
669
|
+
asked: see "yolo does not stop to ask" below); there is no "allow for this session" for
|
|
670
|
+
it; the optional decision model never answers for you. The card says the change in plain words and in full
|
|
671
|
+
(the terminal's card showed raw JSON, cut at 400 characters), and warns when a saved key
|
|
672
|
+
would go to a new address. `exec` is unchanged: it still needs `--allow tool:rocky_config`.
|
|
673
|
+
- **Three settings rocky does not change for you, even when you approve.** A command as
|
|
674
|
+
the `image` describer, a looser approval mode (ask → yolo), and a model server added under
|
|
675
|
+
a built-in provider's name (that provider's key would go to the new address). The first
|
|
676
|
+
two you type yourself: `/config image <command>`, `/config permission yolo`. For a
|
|
677
|
+
built-in provider's own address there is `set_url`, which asks and carries the warning.
|
|
678
|
+
The built-in `rocky-setup` skill says so, and now points to the hidden key field instead
|
|
679
|
+
of the key file.
|
|
680
|
+
- **A shell command that names rocky's keys or settings asks every time.** That is the key
|
|
681
|
+
file, the four settings files (`config.toml`, `models.toml`, `endpoints.toml`,
|
|
682
|
+
`providers.toml`) and the folder as a whole (`~/.rockycode`, `$ROCKYCODE_HOME`, its real
|
|
683
|
+
path, a wildcard over it), plus commands that read a password from the OS keychain
|
|
684
|
+
(`security find-generic-password`, `secret-tool lookup`, `keyring get`). What else lives in
|
|
685
|
+
the folder is ordinary work: a global skill's script, an old session, a saved plan. The
|
|
686
|
+
rule holds in yolo, is never covered by a session grant, and in
|
|
687
|
+
`exec` needs its own grant (`--allow rocky-store`, `--allow keychain-read`). `write_file`
|
|
688
|
+
and `edit_file` refuse rocky's settings files, which a session started in your home
|
|
689
|
+
directory had in reach. This stops the plain attempt and the honest mistake. It reads the
|
|
690
|
+
command's text, so a command that builds the path another way is not caught: for a folder
|
|
691
|
+
you do not trust, the sandbox is the boundary, not yolo.
|
|
692
|
+
- **yolo does not stop to ask.** The steps above, and `lake … --inadvisably-no-sandbox`, are
|
|
693
|
+
yours to decide in yolo too. A card for one of them waited with no time limit, so a long
|
|
694
|
+
run stood still until you came back (in the desktop app the card answered "deny" by itself
|
|
695
|
+
after five minutes, and the step was gone). yolo now refuses such a step at once and keeps
|
|
696
|
+
it for you. rocky is told to go on without it and not to reach it another way. In the
|
|
697
|
+
terminal:
|
|
698
|
+
- The status bar counts what waits (`⏸ 1 waiting`), the turn leaves one line you can
|
|
699
|
+
click, and `/parked` is the typed way.
|
|
700
|
+
- The card opens only when you ask for it, so a key typed for your next message cannot
|
|
701
|
+
answer it. Its rows are **Run it now**, **Don't run it** and **Decide later**; Enter on
|
|
702
|
+
the default decides nothing.
|
|
703
|
+
- **Run it now** tells rocky to pick the step up: at once, or after the turn that is still
|
|
704
|
+
running. A pass for exactly that step exists only while that message's turn runs, so a
|
|
705
|
+
message you drop from the queue allows nothing, and its step waits again.
|
|
706
|
+
- The third such step in one turn stops the turn. The rest of that batch is not run.
|
|
707
|
+
- A card that needs an answer takes the keyboard: an open waiting-list card closes and the
|
|
708
|
+
step stays parked.
|
|
709
|
+
- A `/loop` tick in yolo used to drop such a step without a trace. It joins the same list.
|
|
710
|
+
|
|
711
|
+
In the desktop app the steps wait in the task, above the message box, each in plain words
|
|
712
|
+
with **Run it now** and **Don't run it**. They have no timer and no key answers them. The
|
|
713
|
+
list lasts for this run of the app.
|
|
714
|
+
|
|
715
|
+
ask and careful are unchanged: the card comes at once. `exec` is unchanged (the run ends
|
|
716
|
+
and names the grant it needs), and so is `serve`. On every approval card in the terminal
|
|
717
|
+
the choices can now be clicked.
|
|
718
|
+
- **A key is saved only where you said.** When you chose the OS keychain and it did not take
|
|
719
|
+
the key (locked, an ssh session), rocky wrote the key to the plain-text key file and told
|
|
720
|
+
you afterwards. Now nothing is saved: the terminal's key field stays open with the key in
|
|
721
|
+
it, the first run asks again, the desktop form says so, and the key file is a choice you
|
|
722
|
+
make. And "your OS keychain" now means the operating system's own store (macOS Keychain,
|
|
723
|
+
Windows Credential Manager, Secret Service, KWallet): with a plain-text or third-party
|
|
724
|
+
`keyring` backend installed, rocky uses its own 0600 key file and calls it that.
|
|
725
|
+
- **The desktop's HTML preview no longer runs scripts.** A page the model wrote used to run
|
|
726
|
+
its inline scripts inside the preview panel. The panel was already cut off from the
|
|
727
|
+
network, the app and every other page; what changes is that model-written code no longer
|
|
728
|
+
starts on its own inside the app. The panel now shows a static page: styles and embedded
|
|
729
|
+
images stay, scripts and inline event handlers do not run, and a page cannot switch them
|
|
730
|
+
back on from inside. The file on disk is untouched, and the arrow button opens it in your
|
|
731
|
+
browser, where its scripts run as in any page you open yourself.
|
|
732
|
+
- **A key pasted into the chat input is no longer kept.** The up-arrow history
|
|
733
|
+
(`~/.rockycode/prompt-history.jsonl`) stored every typed line as typed, in a file created
|
|
734
|
+
world-readable (0644). A line is now kept with key-shaped text masked (and the
|
|
735
|
+
value of any key-named variable rocky can see), in the up-arrow list and on disk; a file from
|
|
736
|
+
before is cleaned the next time rocky starts; the file is 0600. What is sent is unchanged:
|
|
737
|
+
only what is kept is masked.
|
|
738
|
+
- **Rocky's keys no longer ride in the shell tool's environment.** A local `bash` command
|
|
739
|
+
(and `! command`) used to inherit everything rocky loads from its store, so a command, a
|
|
740
|
+
test runner or a dependency that dumps the environment could read and send a provider
|
|
741
|
+
key. The shell tool, the code checks, and MCP and LSP servers now start with your
|
|
742
|
+
environment minus what rocky loaded from `~/.rockycode/.env` or the keychain, and minus
|
|
743
|
+
rocky's own key variables (`ROCKYCODE_…_API_KEY`) even when you exported one yourself.
|
|
744
|
+
Your own exports still reach the shell tool. A variable your commands need belongs in your
|
|
745
|
+
shell, not in rocky's file; a nested `rockycode` loads the store itself. The local shell
|
|
746
|
+
still runs as you and can open files you can — the sandbox is the boundary for that.
|
|
747
|
+
- A session grant for the `lake` binary does not cover `--inadvisably-no-sandbox`
|
|
748
|
+
on `lake check` or `lake comparator`. That flag asks every time, including in
|
|
749
|
+
yolo, and Jev cannot auto-allow it. Goal and headless treat it as ask-tier
|
|
750
|
+
(`lake-no-sandbox`) until that grant is given explicitly.
|
|
751
|
+
- aiohttp 3.13.5 → 3.14.5 (GHSA-5wr8-gcqf-gqf3): a connection that never sends its first
|
|
752
|
+
request, or stalls mid-header, is now closed at the keepalive deadline. The artifact
|
|
753
|
+
preview server (`engine/artifact.py`) runs on aiohttp; it listens on loopback and gates
|
|
754
|
+
every route behind the session token, but the token is checked after parsing, so idle
|
|
755
|
+
sockets were unbounded. `tests/smoke_artifact.py` keeps a bounded two-connection
|
|
756
|
+
regression. yarl follows to 1.25.1; nothing else in the lock moves.
|
|
757
|
+
- The optional PDF extra now requires `pypdf>=6.21.4` (lock 6.14.2 → 6.21.4): seven
|
|
758
|
+
moderate advisories in earlier versions. The 6.21.4 follow-up fixes incomplete-xref
|
|
759
|
+
trailer loops, shared-resource page-tree memory growth, and DictionaryObject clone loops
|
|
760
|
+
(GHSA-5849-834g-hvw5, GHSA-cggf-277g-3q54, GHSA-mfr5-77xh-9j7h), in addition to the
|
|
761
|
+
four issues fixed by 6.21.3 (GHSA-42gh-23hr-vphw, GHSA-4vqv-7265-gm2w,
|
|
762
|
+
GHSA-62m5-6wh8-28x7, GHSA-x3rh-gjgm-fmqc). Nothing else in the lock changes; the core
|
|
763
|
+
install does not include pypdf.
|
|
764
|
+
- Desktop lockfile: `undici` 7.30.0 → 7.30.1 (GHSA-xjj6-f33q-929c), an optional dev
|
|
765
|
+
dependency of `@electron/get`. The pinned install never loads it (`setup-electron.mjs`
|
|
766
|
+
does not enable the proxy downloader, and the repo's Node 24 bundles 7.30.1), so this is
|
|
767
|
+
preventive; `dependency-baseline.json` carries the new lock hash. Verified with a fresh
|
|
768
|
+
`npm ci --ignore-scripts`: dependency policy, audit and the unit tests pass.
|
|
769
|
+
|
|
770
|
+
## [0.2.0] — models are data, loops, approval switch
|
|
771
|
+
|
|
772
|
+
### Added
|
|
773
|
+
- **Loops** (`/loop`, alias `/cron`): re-fire one prompt into THIS chat on an
|
|
774
|
+
interval — `/loop 5m check whether results/run3 has a summary.json; if so
|
|
775
|
+
give me the headline numbers`. Each tick is an ordinary turn on the session
|
|
776
|
+
engine (it sees the whole conversation), runs only when the chat is idle,
|
|
777
|
+
ends with `LOOP QUIET / NOTE / DONE`, and never prompts: a call that needs
|
|
778
|
+
approval pauses the loop (`/loop allow` decides it, `/loop resume` retries,
|
|
779
|
+
`/permission yolo` or shift+tab resumes every approval-paused loop; a manual
|
|
780
|
+
`/loop pause` stays paused). Quiet ticks fold into one streak line and roll
|
|
781
|
+
out of live context (the trajectory keeps them). No cap unless you set one
|
|
782
|
+
(`for 3h`, `x12`, `max $2`); soft running-cost reminders otherwise. Rocky
|
|
783
|
+
can start one itself (`loop_start` / `loop_stop`, through the normal
|
|
784
|
+
approval). Session-only — a loop dies with the session; `/routines` stays
|
|
785
|
+
the cross-launch scheduler.
|
|
786
|
+
- **Models are data.** The whole model catalog now lives in
|
|
787
|
+
`rockycode/models.toml` — per provider a China base URL, a rocky-owned key
|
|
788
|
+
name, a reasoning wire shape (`thinking` · `effort` · `enable_thinking` ·
|
|
789
|
+
`minimax` · `openai` · `none`), its own effort tiers, whether thinking can
|
|
790
|
+
be switched off, and where usage reports cache hits; per model its context
|
|
791
|
+
window, output cap, vision flag, price tables (USD + CNY) and roles. The
|
|
792
|
+
engine consumes a `ModelSpec` and carries no model-specific numbers of its
|
|
793
|
+
own. `~/.rockycode/models.toml` (same shape) is deep-merged on top: add a
|
|
794
|
+
model, correct a limit, add a price, `hidden = true` to drop a row.
|
|
795
|
+
- The 2026-09 roster: `deepseek-flash` (V4.1 Flash — native vision, the
|
|
796
|
+
default and the sidecar/search model) + `deepseek-v4-pro`; `glm-5.3` +
|
|
797
|
+
`glm-5.3-flash`; `kimi-k3`; `minimax-m3`; `step-5-preview`; `qwen3.8-max`
|
|
798
|
+
+ `qwen3.8-flash`; `mimo-v2.6-pro`; `ollama` (live-discovered). Limits and
|
|
799
|
+
DeepSeek's V4.1 prices verified at each provider's docs on 2026-09-29.
|
|
800
|
+
- Subscription-plan endpoints as their own picker rows: `qwen-plan` (Bailian
|
|
801
|
+
Token Plan), `mimo-plan`, `stepfun-plan` — own URL, own key
|
|
802
|
+
(`ROCKYCODE_<PROVIDER>_PLAN_API_KEY`).
|
|
803
|
+
- Context window and output cap follow the active model: config
|
|
804
|
+
`context_window` / `max_tokens` default to `0` (= the registry value) and
|
|
805
|
+
re-pace on every `/model` switch; a positive number pins your own ceiling.
|
|
806
|
+
`/config context_window 0` un-pins.
|
|
807
|
+
- `/effort off|low|high|max` — the dial now reaches `low` (DeepSeek, GLM and
|
|
808
|
+
Kimi all take low|high|max), is clamped onto each provider's own tiers by
|
|
809
|
+
position at the wire (StepFun's `low|medium|high` gets `medium` for
|
|
810
|
+
rocky's `high`), and sends the lowest tier for `off` on a model that
|
|
811
|
+
can't disable thinking (GLM, Kimi). The status line says what is sent.
|
|
812
|
+
`xhigh` stays accepted as `max`.
|
|
813
|
+
- `image_route auto` (new default): a pasted image on a text-only model is
|
|
814
|
+
described silently by the registry's sidecar (`deepseek-flash` on the home
|
|
815
|
+
key) or your image CLI — no picker in the way; `ask` keeps the picker.
|
|
816
|
+
- **Rocky configures rocky.** A built-in `rocky-setup` skill plus the
|
|
817
|
+
ask-tier `rocky_config` tool (show · set · set_url · add_provider) let a
|
|
818
|
+
user ask rocky to use a proxy, add a vLLM box, change the default model or
|
|
819
|
+
a limit — writes go under `~/.rockycode` only, through the same validated
|
|
820
|
+
setters as the CLI. Key-shaped values are refused with the env var to use.
|
|
821
|
+
- `rockycode exec --profile read|write|full`: `read` (read_file/grep/glob/
|
|
822
|
+
view_image) and `write` (+ jailed write_file/edit_file) have no shell, so
|
|
823
|
+
they run on the host with no Docker and start instantly — the profiles a
|
|
824
|
+
calling agent (Claude Code, Codex) wants for "look and tell" and small
|
|
825
|
+
edits. `full` keeps bash in the Docker sandbox by default. The stream is
|
|
826
|
+
now meta → text → result by default; `--events` restores the tool.*/turn.*
|
|
827
|
+
receipt lines (`--include-thinking` implies it). `meta.profile` reports
|
|
828
|
+
name, mode and tool set.
|
|
829
|
+
- Peak-hour pricing honors DeepSeek's calendar: Monday–Friday only, with a
|
|
830
|
+
`holidays` list (ISO dates, Beijing) on the schedule for Chinese public
|
|
831
|
+
holidays — weekends and holidays bill off-peak.
|
|
832
|
+
- Approval mode is switchable without typing: `shift+tab` steps it one notch
|
|
833
|
+
looser (careful → ask → yolo, wrapping back to careful, so a run of presses
|
|
834
|
+
never parks you in yolo). The status-bar 🔒 chip now spells that key out and
|
|
835
|
+
opens a picker when clicked — three rows saying what each mode actually
|
|
836
|
+
allows — and bare `/permission` opens the same picker. The cycle stays inert
|
|
837
|
+
while an approval prompt is waiting, and landing in yolo still prints the
|
|
838
|
+
"runs on your machine" warning.
|
|
839
|
+
- Local models: a builtin `ollama` provider (`http://localhost:11434/v1`,
|
|
840
|
+
override with `ROCKYCODE_OLLAMA_URL`) — keyless, priced `$0 · local`, model
|
|
841
|
+
list discovered live from the running server's `GET /v1/models` so the
|
|
842
|
+
`/model` picker shows what's actually pulled. Server down → a dimmed
|
|
843
|
+
"not running · start it: ollama serve" row instead of silence.
|
|
844
|
+
- `/model` readiness preflight for local providers: before the engine is
|
|
845
|
+
switched, rocky checks server reachability, that the model is pulled, that
|
|
846
|
+
it supports tool calling, and the serving context length (Ollama truncates
|
|
847
|
+
silently — the #1 agent-loop killer). Not ready → the switch is refused and
|
|
848
|
+
every failed check carries its exact fix (`ollama pull …`,
|
|
849
|
+
`export OLLAMA_CONTEXT_LENGTH=65536`); ready → rocky's `context_window` is
|
|
850
|
+
paced to the server's verified value (restored on switching back to a cloud
|
|
851
|
+
provider), and a server-reported vision capability turns image input on.
|
|
852
|
+
- Keyless endpoints: `local = true` on a `~/.rockycode/providers.toml`
|
|
853
|
+
provider (LM Studio, llama.cpp, vLLM, a remote box's ollama) marks its
|
|
854
|
+
endpoints keyless — always configured, no placeholder-key hack needed.
|
|
855
|
+
- Compaction on a local provider sends no tool schemas in the summarize call
|
|
856
|
+
(local compat layers ignore `tool_choice="none"` and may answer with a tool
|
|
857
|
+
call instead of a summary), and the thinking-off field is now shaped per
|
|
858
|
+
the provider's reasoning policy instead of always DeepSeek's.
|
|
859
|
+
- Vision is now per-MODEL, not per-provider (`Provider.vision_models`,
|
|
860
|
+
choice-level `❖` badge). Config key `vision_models` marks additional ids as
|
|
861
|
+
image-capable from any shell (`rockycode config vision_models <id>`) — for
|
|
862
|
+
when a provider ships vision on an existing model before the registry
|
|
863
|
+
catches up.
|
|
864
|
+
- Config key `model`: a sticky launch default (`rockycode config model
|
|
865
|
+
<spec>`), resolved against the registry; precedence `--model` flag →
|
|
866
|
+
`ROCKYCODE_MODEL` env → config. Global config only — a cloned repo can
|
|
867
|
+
never redirect requests.
|
|
868
|
+
- The `/model` picker is now two-step, model first: one row per model, and a
|
|
869
|
+
model with several endpoints then asks which URL serves it — including a
|
|
870
|
+
"custom base URL" row that remembers your own gateway/proxy per provider
|
|
871
|
+
(`~/.rockycode/endpoints.toml`, addressable as `<provider>-custom`, riding
|
|
872
|
+
the provider's key).
|
|
873
|
+
- Images are best-effort downscaled to 2048px before hitting the wire (PIL if
|
|
874
|
+
installed, macOS `sips` otherwise, original on any failure) — vision
|
|
875
|
+
providers bill image tokens by dimensions, and a Retina screenshot was
|
|
876
|
+
paying severalfold for nothing.
|
|
877
|
+
|
|
878
|
+
### Changed
|
|
879
|
+
- One China endpoint per provider (no more `kimi-cn`/`kimi-en`, `zai`/`glm-cn`,
|
|
880
|
+
`minimax-cn`/`-en`): `/model kimi`, `/model glm`, `/model minimax`. Keys are
|
|
881
|
+
`ROCKYCODE_<PROVIDER>_API_KEY`; the older `_CN_`/`_EN_`/`ZAI_EN` names are
|
|
882
|
+
still read as aliases (the picker names the alias in use), so no setup
|
|
883
|
+
breaks. An international or proxy URL is the custom-URL row.
|
|
884
|
+
- `deepseek-v4-flash` and `deepseek-v4-flash-vision-exp` are retired from
|
|
885
|
+
the list (DeepSeek retired the models on 2026-09-10 and serves those names
|
|
886
|
+
with V4.1-Flash); rocky aliases both to `deepseek-flash`, so old configs,
|
|
887
|
+
trajectories and `/model` habits keep working. `deepseek-v4-pro` stays
|
|
888
|
+
listed, labelled: since 2026-09-14 DeepSeek routes it to V4.1-Flash at
|
|
889
|
+
Flash rates until V4.1-Pro ships.
|
|
890
|
+
- `glm-5.2` and `step-3.7-flash` drop off the roster in favor of GLM-5.3 /
|
|
891
|
+
Step 5 Preview.
|
|
892
|
+
- Session titles, image describe, and the native web search all use the
|
|
893
|
+
registry's `sidecar` / `search` role (deepseek-flash) — a session on Kimi
|
|
894
|
+
or GLM no longer sends a DeepSeek model id down its own client for the
|
|
895
|
+
title call.
|
|
896
|
+
- `--max-tokens` / `--context-window` default to `0` (= the model's registry
|
|
897
|
+
value) on `chat` and `serve`; `bench` keeps its pinned reproducible numbers.
|
|
898
|
+
- The CLI help, status line and context reminder no longer speak of
|
|
899
|
+
"DeepSeek V4" as the only model.
|
|
900
|
+
- `view_image` on a vision-capable active model now attaches the real image
|
|
901
|
+
to the conversation (as the next user message) instead of a sidecar text
|
|
902
|
+
description — the model reads the pixels and decides what matters itself.
|
|
903
|
+
Text-only models keep the describe routes unchanged.
|
|
904
|
+
- Launch honors the registry: starting with `--model minimax-m3` (or any
|
|
905
|
+
registry model) now gets the right reasoning params, tools flag, and vision
|
|
906
|
+
capability from step one instead of DeepSeek-shaped defaults until the
|
|
907
|
+
first `/model` switch. Unresolved specs and injected clients behave exactly
|
|
908
|
+
as before.
|
|
909
|
+
- `/model` spec resolution prefers exact ids, and a base model wins its own
|
|
910
|
+
substring — `glm:5.3` means `glm-5.3`, not ambiguity with `glm-5.3-flash`;
|
|
911
|
+
the variant stays reachable via `glm:flash`.
|
|
912
|
+
|
|
913
|
+
### Fixed
|
|
914
|
+
- The prompt-cache observer and the cost ledger read cache hits from
|
|
915
|
+
OpenAI-style `prompt_tokens_details.cached_tokens` too (Kimi, GLM, MiniMax,
|
|
916
|
+
Qwen, MiMo), not only DeepSeek's `prompt_cache_hit_tokens`.
|
|
917
|
+
- Launching on a `<provider>-custom` endpoint of the home provider now uses
|
|
918
|
+
that URL (it used to fall back to the env base URL).
|
|
919
|
+
|
|
920
|
+
## [0.1.2] — `--version` flag, GA price tables
|
|
921
|
+
|
|
922
|
+
### Added
|
|
923
|
+
- `rockycode --version` / `-V` prints the installed version. One version
|
|
924
|
+
source: package metadata (pyproject) — the serve handshake reports the same
|
|
925
|
+
value instead of a hardcoded string.
|
|
926
|
+
|
|
927
|
+
### Changed
|
|
928
|
+
- DeepSeek price tables refreshed to the GA snapshots (V4-Flash-0731 /
|
|
929
|
+
V4-Pro-0813), both USD and CNY, verified 2026-08-20 at the source;
|
|
930
|
+
peak-valley billing confirmed live (2× in the published UTC windows).
|
|
931
|
+
- README results updated: `deepseek-v4-flash` GA carries three clean full-500
|
|
932
|
+
SWE-bench Verified rounds (88.8% average, 95.4% pass@3); the
|
|
933
|
+
`deepseek-v4-pro` column is explicitly marked preview (pre-0813).
|
|
934
|
+
|
|
935
|
+
### CI
|
|
936
|
+
- Release workflow reduced to the single ubuntu PyPI Trusted-Publishing job;
|
|
937
|
+
the dead macos-13 matrix (retired runner, never ran) is gone.
|
|
938
|
+
|
|
939
|
+
## [0.1.1] — session artifacts, images in chat, real sandbox cancel
|
|
940
|
+
|
|
941
|
+
### Added
|
|
942
|
+
- Images in chat: paste (`ctrl+v` / `/paste`) or drag an image in. Vision models
|
|
943
|
+
see it raw; no-vision models route through a provider sidecar, your own image
|
|
944
|
+
CLI, or a `view_image` tool — picked once, remembered. Known CLIs set up with
|
|
945
|
+
one word (`/config image_cli mmx` — rocky knows the invocation).
|
|
946
|
+
- Session artifact inventory: `/artifact list · open <n> · stop · live on|off`,
|
|
947
|
+
a footer badge with open-tab counts, and an Artifacts tree in the VS Code
|
|
948
|
+
extension fed live by `rockycode serve`.
|
|
949
|
+
- Bare `/model` opens a live provider + model picker.
|
|
950
|
+
|
|
951
|
+
### Fixed
|
|
952
|
+
- Live artifacts no longer drop and reconnect every 30 s; the artifact server
|
|
953
|
+
stops/restarts cleanly and rebinds saved live pages to the new port.
|
|
954
|
+
- Sandbox cancel/timeout kills the in-container process group, not just the
|
|
955
|
+
host-side docker client; images without `python3` fall back to plain `bash -c`.
|
|
956
|
+
- Resume self-heals after a hard kill; closing the doc dock no longer wedges the TUI.
|
|
957
|
+
|
|
958
|
+
### Internal
|
|
959
|
+
- CI: conservative ruff correctness gate (pinned `0.16.1`) ahead of the smoke suite.
|
|
960
|
+
|
|
961
|
+
## [0.1.0] — first public release
|
|
962
|
+
|
|
963
|
+
Initial public release. One repo, one engine, three ways to use it — interactive
|
|
964
|
+
`chat`, autonomous `goal`, and the `bench` measurement rig — running on DeepSeek
|
|
965
|
+
or any OpenAI-compatible model.
|
|
966
|
+
|
|
967
|
+
Some capabilities ship as **experimental and default-off** (self-improvement,
|
|
968
|
+
`prove` / `lean-prover`, `explore`, and providers other than DeepSeek); see the
|
|
969
|
+
README's Experimental section for what they are and how to enable them.
|