Skip to content

release: v6.7.0 - #40

Merged
code-crusher merged 2 commits into
mainfrom
release/v6.7.0
Jul 29, 2026
Merged

release: v6.7.0#40
code-crusher merged 2 commits into
mainfrom
release/v6.7.0

Conversation

@code-crusher

Copy link
Copy Markdown
Member

v6.7.0

Added

  • Axon Lumen 4 Code model support. Added support for axon-lumen-4-code in 200K and 400K context variants (axon-lumen-4-code-200k and axon-lumen-4-code-400k). Lumen models are available on Pro Plus and Ultra plans.

Changelog

Full diff: v6.6.8...v6.7.0

matterai-app Bot added 2 commits July 29, 2026 10:05
Add the Axon Lumen 4 Code model in 200K and 400K context variants
(axon-lumen-4-code-200k, axon-lumen-4-code-400k) with plan-gated
access restricted to Pro Plus and Ultra subscriptions.

- Define Lumen model entries in BUILTIN_AXON_MODELS with pricing and
  context window metadata
- Add canUseLumenModels() and isLumenAxonModel() helpers alongside
  a shared normalizePlan() utility
- Update UI model picker to lock Lumen models with a plan badge when
  the account tier doesn't include them
- Apply automatic fallback to the default Eido model when a stored
  Lumen selection is loaded on an ineligible plan
- Gate Lumen model usage in headless/CLI mode with a descriptive
  error message and exit
- Extend is400kAxonModel() to cover Lumen 400k variants, and wire
  get200kAxonFallback() accordingly
- Add tests for Lumen model definitions, plan restrictions, and
  identification helpers

Also includes error message sanitization in agent.ts — introducing
streamErrorLabel() and sanitizeErrorMessage() to prevent raw HTML
or oversized upstream error bodies from leaking into the transcript
UI. Applies the new sanitizer in the stream retry loop, the
interrupt handler, and the compaction error path.
@matterai-app

matterai-app Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary By MatterAI MatterAI logo

🔄 What Changed

This PR bumps the project version to v6.7.0, introduces the new Axon Lumen 4 model variants (supporting 200k and 400k context windows), and implements plan-based access validation restricting these models to Pro Plus and Ultra tiers. It also updates the TUI model picker, headless execution guards, and agent error handling.

🔍 Impact of the Change

Expands the LLM offering with high-performance Axon Lumen models while enforcing strict subscription tier gating. Enhances CLI stability and error sanitization by stripping raw upstream HTML error bodies.

📁 Total Files Changed

Click to Expand
File ChangeLog
Version Bump
package.json
Updated project version to 6.7.0.
Model Definitions
src/api/models.ts
Added Axon Lumen 4 (200k/400k) models and plan validation helpers.
Agent Resilience
src/core/agent.ts
Implemented error sanitization to strip HTML payloads from upstream failures.
Headless Validation
src/headless.ts
Added startup checks enforcing Pro Plus/Ultra tier access for Lumen models.
TUI App Logic
src/ui/App.tsx
Integrated Lumen access checks, fallback routing, and auto-switching.
Model Picker UI
src/ui/components/ModelPicker.tsx
Updated UI component to display locking status and badges for Lumen models.
Unit Tests
test/models.test.ts
Added comprehensive tests for Lumen model metadata, fallbacks, and plan gating.

🧪 Test Added/Recommended

Added

  • Verified Axon Lumen 4 model registration for 200k and 400k context options.
  • Validated plan-based access control (canUseLumenModels) across various subscription strings.
  • Tested fallback mapping and variant identification (isLumenAxonModel).

🔒 Security Vulnerabilities

  • None detected.

@matterai-app

matterai-app Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

✅ Reviewed the changes: Clean release PR adding Axon Lumen 4 models with plan-based access control, error sanitization for upstream HTML responses, and comprehensive test coverage. No issues found in the new code.

@code-crusher
code-crusher merged commit 935b060 into main Jul 29, 2026
1 check passed
@code-crusher
code-crusher deleted the release/v6.7.0 branch July 29, 2026 04:45
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