Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

release: v0.2.2#6

Merged
code-crusher merged 1 commit into
mainMatterAIOrg/OrbCode:mainfrom
release/v0.2.2MatterAIOrg/OrbCode:release/v0.2.2Copy head branch name to clipboard
Jun 18, 2026
Merged

release: v0.2.2#6
code-crusher merged 1 commit into
mainMatterAIOrg/OrbCode:mainfrom
release/v0.2.2MatterAIOrg/OrbCode:release/v0.2.2Copy head branch name to clipboard

Conversation

@code-crusher

Copy link
Copy Markdown
Member

v0.2.2

Highlights

  • README polish: added npm/license/node/stars/docs badges, a quick-start section, and a link to the full docs site (https://docs.matterai.so/orbcode-cli/overview).
  • Default model → Axon Eido 3 Mini: fresh installs and users who haven't picked a model via /model now land on axon-eido-3-code-mini. Existing users keep their persisted choice.
  • TUI /model picker is Axon-only: third-party models (Anthropic, OpenAI-compatible) no longer appear in the interactive picker. They're still available headlessly via orbcode -p "..." --model <id> (or MATTERAI_MODEL); the TUI prints a hint pointing there when a 3P id is requested via /model <id>.

Files changed

  • package.json — bump version to 0.2.2
  • README.md — badges, quick start, docs link, model table updated
  • src/api/models.tsDEFAULT_MODEL_IDaxon-eido-3-code-mini; split BUILTIN_AXON_MODELS from AXON_MODELS
  • src/ui/App.tsx/model command rejects 3P ids with a hint to use headless
  • src/ui/components/ModelPicker.tsx — picker reads BUILTIN_AXON_MODELS

Release flow

Per RELEASE.md: after this PR is merged, the maintainer will tag the merge commit v0.2.2 on main and push the tag — that's what triggers the npm publish via .github/workflows/release.yml.

- README: add badges, quick start, docs link, and full model table
- default model: switch to axon-eido-3-code-mini
- TUI /model picker: hide third-party models (Anthropic, etc.); still
  available headlessly via -p --model <id>
@matterai-app

matterai-app Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Code Quality new feature

Summary By MatterAI MatterAI logo

🔄 What Changed

This PR bumps the version to v0.2.2 and refactors the model registry system. It introduces a distinction between BUILTIN_AXON_MODELS (visible in the TUI) and AXON_MODELS (full registry including third-party providers). Additionally, it adds descriptive metadata and pricing information to specific models and updates the /model command logic to handle interactive vs. headless model selection.

🔍 Impact of the Change

Users now experience a cleaner TUI model picker restricted to supported Axon models, while retaining the ability to use third-party models (like Claude) via CLI flags. The addition of pricing and descriptions improves transparency and helps users make informed decisions about model selection.

📁 Total Files Changed

Click to Expand
File ChangeLog
Version Bump package.json Incremented version from 0.2.1 to 0.2.2.
Registry Refactor src/api/models.ts Split models into Built-in and Full registries; added pricing and descriptions.
Command Logic src/ui/App.tsx Updated /model command to filter interactive selection and provide headless usage info.
UI Update src/ui/components/ModelPicker.tsx Switched the interactive picker to use the BUILTIN_AXON_MODELS list.

🧪 Test Added/Recommended

Recommended

  • Unit Tests: Validate that isValidAxonModel correctly identifies both built-in and third-party models.
  • Integration Tests: Ensure the /model command in App.tsx correctly differentiates between a selectable model and a headless-only model.

🔒 Security Vulnerabilities

No critical security vulnerabilities detected. Input validation for model IDs is implemented to prevent unknown model execution. 🛡️

⏳ Estimated code review effort

LOW (~10 minutes)

Tip

Quality Recommendations

  1. Centralize the 'isBuiltin' check logic within models.ts to keep the UI components decoupled from registry implementation details.

  2. Add JSDoc comments to the new 'inputPrice' and 'outputPrice' fields to specify the currency and unit (e.g., USD per 1M tokens).

♫ Tanka Poem

Version two point two,
Registry split for the TUI,
Clear pricing appears,
Agentic flows now refined,
Logic shines in silicon. 🔬

Sequence Diagram

sequenceDiagram
    participant U as User
    participant A as App TUI
    participant R as Model Registry
    
    U->>A: Enter command: /model [arg]
    
    alt Argument Provided
        A->>R: Check BUILTIN_AXON_MODELS
        alt Is Built-in
            R-->>A: Match Found
            A->>A: switchModel(arg)
        else Is Third-Party (isValidAxonModel)
            R-->>A: Valid but Hidden
            A-->>U: Show "Headless only" info message
        else Unknown ID
            A-->>U: Show Error: "Unknown model"
        end
    else No Argument
        A->>A: setModelPickerOpen(true)
        A->>R: Fetch BUILTIN_AXON_MODELS
        R-->>A: List of models
        A-->>U: Display ModelPicker UI
    end
Loading

@code-crusher code-crusher merged commit 30cc74c into main Jun 18, 2026
1 check was pending

@matterai-app matterai-app Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧪 PR Review is completed: Release v0.2.2 splits the model registry and restricts the TUI picker to Axon models. Reviewed src/ui/App.tsx: no issues found.

Skipped files
  • README.md: Skipped file pattern
⬇️ Low Priority Suggestions (1)
src/api/models.ts (1 suggestion)

Location: src/api/models.ts (Lines 203-203)

🟡 Business Logic Impact

Issue: DEFAULT_MODEL_ID changed from "axon-code-2-5-pro" to "axon-eido-3-code-mini". This affects every new session and every fallback in getModel, including users who have not explicitly set a model.

Fix: Confirm this is the intended default for v0.2.2. If not, revert to the previous default.

Impact: Prevents an unexpected default model switch for users upgrading to v0.2.2

-  export const DEFAULT_MODEL_ID = "axon-eido-3-code-mini";
+  export const DEFAULT_MODEL_ID = "axon-code-2-5-pro";

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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.