Skip to content

merge: upstream d8a32b6 (TUI background=N, limites BYOK, catalogue partagé) - #98

Merged
tournierjc merged 1 commit into
mainfrom
merge/upstream-d8a32b6
Sep 30, 2026
Merged

tournierjc merged 1 commit into
mainfrom
merge/upstream-d8a32b6

Conversation

@tournierjc

@tournierjc tournierjc commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Change

Sync amont sélectif de d8a32b6 (feat: sync MiniMax Code 0.5.9 runtime and TUI changes, MiniMax-AI#398) sur origin/main (72066ec, Kinetick Code 0.6.9). Parent amont = 5f3240bd96, déjà absorbé par #96. Un seul conflit de contenu.

Identité fork conservée : kinetick-code / @mavis/code 0.6.9, binaire kcode, copilotOAuth, pas de télémétrie, pas de bump de version.

Pris

  • TUI : background=N sur la ligne [V] (bash encore au premier plan exclu ; le compte reste à 1 après la fin du tour tant qu'une liste fraîche n'est pas arrivée). Largeur documentée : 102 colonnes.
  • Runtime : limites d'octets média / historique BYOK ; toggle thinking M3 envoyé comme réglage thinking ; edit/rewind après interrupt qui ne laisse qu'un rappel background ; listing de sessions et navigation d'historique plus légers ; débit de tokens mesuré à l'observation des events ; worktreeRefreshBeforeCreate (défaut on) et exclusion des racines imbriquées du fingerprint fork-worktree ; Ghostty dans le catalogue d'éditeurs ; entrée Codex OAuth des réglages modèle activée par défaut (copilotOAuth du fork conservé).
  • Catalogue : packages/config/src/minimax-model-catalog.ts partagé entre la route clé API et la route managée. Définitions de modèles inchangées. Les providers custom / OpenRouter / locaux restent sur leurs listes. MINIMAX_API_MODEL_CATALOG est remplacé par minimaxApiModels.
  • Prompts : le template cron legacy est vide (le guidage reste dans les defs d'outils) ; édition mémoire via l'op edit de l'outil memory ; rappel multimodal élargi, avec le nom de skill fork kcode-tools-master (le CLI reste mcode-tools).

Ignoré

Commit / contenu Raison
c8a39a5 chore: release MiniMax Code 0.5.9 (MiniMax-AI#399) Bump package.json uniquement. La version fork reste 0.6.9.
Télémétrie / analytics Rien de nouveau dans MiniMax-AI#398. docs/telemetry.md, trackers et requireTelemetry non réintroduits.
Branding MiniMax Code / binaire mcode / noms de package Non repris. Le rappel outils dit kcode-tools-master, pas mcode-tools-master.
sourceRevision dans release/extraction.json Inchangé (9b9885e). Sync sélectif, pas une revue complète du baseline.
Copie v1 packages/local-runtime/src/model-provider/thinking.ts MiniMax-AI#398 ne la modifie pas. Le front door TUI/CLI passe par le resolver v2 (model-ref.ts), qui a le patch thinking.

Conflits

  • packages/agent-modules/system-reminder/src/mcode-tools-master-reminder.ts : texte amont (découverte multimodale) + skill fork kcode-tools-master. Le CLI cité reste mcode-tools, comme le skill kcode-tools-master.
  • Auto-merge propre ailleurs. copilotOAuth, BRAND / .kinetick et l'absence de config télémétrie sont restés ceux de main.
  • release/public-source.json : +1 chemin (minimax-model-catalog.ts), régénéré (4342 chemins). Pas de nouveau fichier Vitest ; les tests sont dans des fichiers déjà déclarés.

Validation

  • Checks run and results: pnpm verify PASS on e03d7a7, Linux, Node v22.22.2 (engines >=22.19 <23). 15 gates : check:source, check:tsconfig, export source preview, test:release-tools, lint:tui, typecheck, build, check:standalone, check:egress, test:artifact, test:capabilities (114s), test:status-contract, test:smoke, test:byok, test:policy. Focused Vitest avant verify : 14 fichiers / 489 tests PASS.
  • GitHub CI on e03d7a7 : verify ubuntu-latest Node 24 PASS (5m32s, profile full), verify macos-latest Node 24 PASS (7m29s, profile platform, inclut test:sandbox), verification PASS, performance (basic) PASS, changes PASS, source-history-artifact PASS. docs skipped (not a docs-only diff).
  • Performance: suite basic verte. perf:full non demandé.
  • NOT RUN: test:windows (validation Windows en pause dans le workflow), test:release-package (pas d'archive npm). Pas d'appel fournisseur live. TUI interactif non exercé à la main ; le contrat [V] est couvert par les tests de status line.

Publication and contribution checks

  • I have permission to contribute these changes under the existing licenses applicable to the changed files/packages; imported material and its provenance are identified and existing notices are preserved.
  • No credentials, account data, real user content, internal source history or private review material is included.
  • Added/removed source files were reviewed before regenerating release/public-source.json; new tests are declared in test/vitest-suites.json where applicable.
  • Shared English/Chinese documentation and capability/verification records are updated where applicable. Mock/offline results are not described as live-service acceptance.

Maintainer handoff

Publication scope or license changes (if any): none. New reviewed file: packages/config/src/minimax-model-catalog.ts (définitions de modèles MiniMax déjà présentes, extraites de config.ts).

Shared-source port: selective cherry-pick of public d8a32b6 (MiniMax-AI#398). c8a39a5 (MiniMax-AI#399) skipped. Do not merge from this PR.

Open in Web Open in Cursor 

TUI
- Report active root-session background tasks as `background=N` in the
  `[V]` build-mode status line. Bash still owned by its foreground tool
  call is excluded, and the count holds at 1 after a turn settles until a
  fresh task list arrives. The documented minimum width is now 102 columns.

Runtime
- The MiniMax API-key route now shares the official model catalog with the
  managed route; the first-run catalog moves to `minimax-model-catalog.ts`
  with unchanged model definitions.
- Apply byte limits to large media and accumulated history for BYOK requests.
- Send the M3 thinking toggle as a thinking setting rather than a generic
  reasoning effort.
- Allow edit and rewind after an interrupt that left only a background
  reminder in canonical history.
- Read less data when listing session files and navigating long histories.
- Measure token output rate from the time events are observed.
- Add `worktreeRefreshBeforeCreate` (default on) to fetch the selected
  upstream before creating a worktree, and exclude nested roots from fork
  worktree fingerprints.
- Add Ghostty to the external editor catalog.
- Enable the Codex OAuth model settings entry by default.

Prompts
- Cron guidance now lives only in tool definitions; the legacy feature
  template is empty. Memory edits use the `memory` tool's `edit` operation.
- Clarify multimodal tool discovery in the mcode-tools reminder.

(cherry picked from commit d8a32b6)

Co-authored-by: tournierjc <tournierjc@users.noreply.github.com>
@tournierjc
tournierjc merged commit 6ab462f into main Sep 30, 2026
7 checks passed
@tournierjc
tournierjc deleted the merge/upstream-d8a32b6 branch September 30, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants