19 Commits
Author SHA1 Message Date
f93ff155dd fix(extensions): generate provider catalogs from Go registry (#1212)
* fix(frontend): generate provider presets from Go registry

* fix(frontend): regenerate provider presets after main sync

* fix(ci): compare provider presets with Go registry

* fix(gen): generate Kotlin names and reject duplicate models

* docs: tighten provider generation guidance

* docs: keep provider generation instructions in AGENTS.md

* docs: Apply batched suggestions from code review

Co-authored-by: Kite <254839944+lizhengfeng101@users.noreply.github.com>

* fix(gen): validate generated import and package declarations

---------

Co-authored-by: Kite <254839944+lizhengfeng101@users.noreply.github.com>
Co-authored-by: Qiyuanqiii <267806965+Qiyuanqiii@users.noreply.github.com>
2026-09-29 11:46:45 +08:00
祈愿Qiiiandkite 5eeebb856b fix(opencode): handle long background context (#1010)
* fix(opencode): handle long background context

* fix(opencode): address review feedback

* fix(opencode): ignore whitespace-only background

* test(opencode): cover trimmed background input

---------

Co-authored-by: kite <lizhengfeng.lzf@alibaba-inc.com>
2026-09-24 15:06:33 +08:00
祈愿QiiiandQiyuanqiii 5f8e5ab328 fix(action): allow checkpoints after out-of-diff findings (#1524)
* fix(action): allow checkpoints after out-of-diff findings

* fix(action): keep malformed locations checkpoint-blocking

---------

Co-authored-by: Qiyuanqiii <267806965+Qiyuanqiii@users.noreply.github.com>
2026-09-23 11:50:04 +08:00
祈愿Qiii 7003e0138f test: stabilize token boundary fixtures (#1015) 2026-09-22 09:52:40 +08:00
祈愿Qiii 71df0cdcea chore(idea): translate tests and narrow language exemptions (#1429)
* chore(idea): translate tests and remove broad language exemption

* fix(ci): retain scoped IDEA translation exemptions

* docs(idea): refine test wording and technical explanations

* docs(idea): simplify test rationale comments
2026-09-19 11:04:59 +08:00
祈愿QiiiandKite bedfeb1085 chore(vscode): translate comments and test names to English (#1427)
* chore(vscode): translate comments and test names to English

* test(vscode): isolate cancellation tests from host platform

* docs(vscode): clarify comments and Git terminology

* docs(vscode): address review wording suggestions

* feat: Apply suggestion from @lizhengfeng101

* docs: correct English-check exemption guidance

---------

Co-authored-by: Kite <254839944+lizhengfeng101@users.noreply.github.com>
2026-09-19 10:40:44 +08:00
祈愿Qiii 2b3ebb4e2d chore(idea): translate provider and host string comments (#1428)
* chore(idea): translate provider and host string comments

* docs(idea): clarify anchors and placeholder replacement

* docs(idea): clarify anchor and path comments
2026-09-19 09:51:38 +08:00
祈愿Qiii 04284b5dc1 docs(pages): correct FAQ JSON output shape and plan-threshold cost lever (#1190)
* docs(pages): correct FAQ JSON output shape and plan-threshold cost lever

The FAQ told integrators that a review with zero findings emits a bare
empty array. `review --format json` always writes exactly one JSON
object; `[]` is the value of its `comments` field. The two states the
entry claimed were distinguishable by shape are in fact the same shape
and differ only in `summary.files_reviewed` and `manifest.terminal_state`.
The leaner no-`summary` object the entry described is what `ocr scan`
emits, because `outputJSONNoFiles` is reachable only when the run
manifest is nil, which the review path never produces.

The cost lever was inverted as well: `PlanRequired` triggers when the
changed-line count reaches a threshold, so raising the thresholds is
what skips planning and saves the call. The two thresholds are also not
symmetric at zero -- `PLAN_MODE_LINE_THRESHOLD <= 0` means always plan,
while `PLAN_MODE_GROUP_LINE_THRESHOLD == 0` disables the group gate --
so the blanket sentence is split rather than merely reversed.

Applied to all five maintained locales. Headings are left verbatim so
heading ids and existing fragment links keep working; the plan-phase
entry is cross-referenced by name instead of by anchor to avoid
non-ASCII slug differences between locales.

No code change: `outputJSONNoFiles`, `outputJSONWithWarnings`,
`manifestMessage`, and `PlanRequired` are all correct and already
covered by tests.

Closes #1189

* docs(pages): clarify FAQ output and threshold wording

Avoid implying that skipped and zero-finding review JSON have identical serialized key sets: both are JSON objects with comments: [], but optional top-level fields may differ.

Also qualify the group-threshold-zero cost note: disabling that gate saves a plan call only when it would otherwise be the sole trigger.

* docs(pages): clarify scan no-files JSON wording

Avoid presenting a partial `ocr scan` no-files object as the complete JSON output. Document the missing `summary`, always-present `tool_calls`, and optional identity/trace metadata across all maintained locales.

* docs(pages): address manifest-less output feedback

Describe the lean no-files JSON as a manifest-less path rather than scan-specific, make `tool_calls` presence explicit across locales, and restore the Russian FAQ trailing newline.
2026-09-07 14:53:37 +08:00
0ca5668f24 docs(pages): correct the developer guide to match the actual project (#1182)
* docs(pages): correct the developer guide to match the actual project

pages/README.md has drifted from the pages/ project it documents.

Config files are named .js throughout, but package.json sets
"type": "module", so the Webpack, Tailwind and PostCSS configs are .cjs;
only eslint.config.js is genuinely .js.

"Build for production" leads with `npx webpack`, which leaves NODE_ENV
unset, so webpack.config.cjs selects mode: development and bundles the
development build of React -- a 1.3 MB react chunk instead of 150 kB.
`npx webpack --mode production` is not equivalent to `npm run build`
either: Webpack's mode selects production React on its own, but Babel
still runs its development JSX transform and injects 319 __self/__source
props, which costs 21 kB in the main chunk.

`npm run build` fails outright on Windows. The script uses a POSIX inline
assignment, but npm runs scripts through cmd.exe even when npm itself is
invoked from Git Bash, so the build exits 1 and writes nothing to dist/.

The Node prerequisite is `>=18`, below what the dev toolchain declares:
jsdom@30 needs ^22.22.2 || ^24.15.0 || >=26 and eslint@10 needs
^20.19.0 || ^22.13.0 || >=24. Every Pages workflow builds on Node 24.

Only `npm run typecheck` is listed as a pre-PR check, while Pages CI
gates on lint, test, typecheck, build and size.

The project structure tree omits src/content/ (where the whole docs site
lives), hooks/, utils/, assets/, public/, eslint.config.js,
vitest.config.ts, vitest.setup.ts and go.mod.

Documentation only: no build or runtime behaviour changes.

* docs(pages): correct CI and platform guidance

* docs(pages): address review wording nits

* chore: format README with prettier (#14)

Ran `npx prettier -w ./README.md`

* docs(pages): address maintainer accuracy feedback

* docs(pages): simplify portable build guidance

* docs(pages): correct size-budget scope

Co-authored-by: Kite <254839944+lizhengfeng101@users.noreply.github.com>

---------

Co-authored-by: Tao Xin <wu2196674@icloud.com>
Co-authored-by: Kite <254839944+lizhengfeng101@users.noreply.github.com>
2026-09-07 11:27:34 +08:00
祈愿Qiiiandwu21-web e967f3f4cf fix(rules): route Kotlin script files to Kotlin review rules (#1091)
* fix(rules): route Kotlin script files to Kotlin review rules

* fix(allowlist): exclude Kotlin script tests by default

Extend the default Kotlin test-path exclusion to `.kts` and add focused extension and exclusion regression coverage.

Validated on the #1091 branch with `make check`, `make test`, `make coverage`, and the required OCR self-review.

Co-authored-by: wu21-web <wu2196674@icloud.com>

---------

Co-authored-by: Tao Xin <wu2196674@icloud.com>
2026-09-05 21:47:39 +08:00
祈愿Qiii da7e0e83ea feat(config): validate provider existence before auxiliary fields (#1093)
* feat(config): validate provider before auxiliary fields

* fix(config): handle custom provider setup edge cases
2026-08-28 10:08:11 +08:00
祈愿Qiii 96bc588bae fix(filter): omit forced tool choice (#1065)
* fix(llm): handle thinking tool-choice conflicts

* fix(llm): bound thinking fallback retries

* fix(filter): omit forced tool choice
2026-08-27 19:38:39 +08:00
祈愿Qiii 420bae824a fix(llm): bound session task key length (#1009)
* fix(llm): bound session task key length

* fix(llm): keep session task keys readable
2026-08-26 16:29:31 +08:00
祈愿QiiiandKite 52a5f5365e feat(rules): add Objective-C-specific review rules (#1061)
* docs(rules): add Objective-C-specific review guidance

* docs(rules): clarify review scope and buffer lifetime

* docs(rules): refine Objective-C review guidance

* fix(rules): align Objective-C terminology with platform contracts

* Update internal/config/rules/rule_docs/objc.md

Co-authored-by: Kite <254839944+lizhengfeng101@users.noreply.github.com>

* Update internal/config/rules/rule_docs/objc.md

Co-authored-by: Kite <254839944+lizhengfeng101@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Kite <254839944+lizhengfeng101@users.noreply.github.com>

---------

Co-authored-by: Kite <254839944+lizhengfeng101@users.noreply.github.com>
2026-08-26 15:15:51 +08:00
祈愿Qiii e188e69c8e docs: add retry_codes configuration documentation (#827)
* docs: document retry_codes configuration

* docs: align retry_codes provider terminology

* docs: improve retry_codes CLI wording

* docs: refine Russian retry wording
2026-08-11 14:56:37 +08:00
祈愿Qiii ef731a1e23 docs(ru): add Russian translation for contributing, FAQ, telemetry, and viewer pages (#701)
* docs(ru): add Russian supplementary pages

* docs(ru): fix FAQ anchor and wrapping
2026-08-04 16:49:33 +08:00
祈愿Qiii 0f3c920fc8 docs(ru): add Russian translation for integration guides (#698)
* docs(ru): add Russian integration guides

* fix(docs): support explicit heading anchors

* test(docs): use core assertions for heading IDs
2026-08-03 21:53:31 +08:00
祈愿Qiii 02fd55b46a docs(ru): add Russian translation for core documentation pages (#696)
* docs(ru): add Russian core documentation pages

* docs(ru): address architecture review feedback
2026-08-03 21:06:21 +08:00
祈愿Qiii 25c3661c62 docs(readme): reorganize coding agent integrations (#512) 2026-07-26 20:30:36 +08:00