Skip to content

Merge dev into main — v0.1.6 + Cortex 0.3.7#17

Merged
ApiliumDevTeam merged 17 commits intomainfrom
dev
Mar 7, 2026
Merged

Merge dev into main — v0.1.6 + Cortex 0.3.7#17
ApiliumDevTeam merged 17 commits intomainfrom
dev

Conversation

@ApiliumDevTeam
Copy link
Collaborator

Summary

  • Bump to v0.1.6 with extension sync and analytics fixes
  • Enable semantic ecosystem plugins by default (zero-config start)
  • Add Cortex CLI, TUI view, gateway methods, and resilience auto-restart
  • Adapt sidecar for Cortex 0.3.7 (auto-generate JWT/admin secrets)
  • Auto-start gateway and Cortex before TUI session
  • Fix SSRF mock coverage and 5 pre-existing test failures
  • Miscellaneous: pixel avatar banner, /mouse toggle, /kg improvements

Test plan

  • pnpm test passes (11 576 tests, 0 failures)
  • mayros code auto-starts gateway + Cortex on clean install
  • Cortex sidecar persists secrets in ~/.mayros/cortex-secrets.json
  • TUI Cortex view renders health and stats correctly

- analytics: add mayros.plugin.json with configSchema matching AnalyticsConfig
- browser-automation: add mayros.plugin.json with configSchema for CDP settings
- Remove clawbot CLI subcommand and clawbot-cli.ts
- Clear legacy state dir names, config filenames, and project names
- Remove legacy redirect routes from docs.json
- Update tests to reflect removal of legacy compatibility
Use the brand mascot (gold helmet, dark face, smile) as ASCII art
in both the startup banner and onboarding wizard header.
…nd fix 5 failing tests

- package.json: version 0.1.5 → 0.1.6
- analytics/package.json: rename to @apilium/mayros-analytics to match id hint derivation
- code-tools/mayros.plugin.json: add configSchema and uiHints (was empty in 0.1.5)
- code-shell-interactive: add 5s buffer between soft and hard timeout
- ci-plugin/github.test: mock polling responses with json() method
- unhandled-rejections.test: spy on stderr.write instead of console.error
- sdk/index.test: start sendMessage before abort to set activeRunId
- tui.ts: import VERSION from version.ts instead of hardcoded "0.1.4"
- welcome-screen.ts: fix comment to use dynamic placeholder
- pnpm plugins:sync: 49 extensions updated to 0.1.6
- /mouse disables terminal mouse reporting to enable text selection
- /kg without args now requests a knowledge graph summary instead of
  showing bare usage text
Mouse reporting is now off at TUI startup, matching Claude Code behavior.
Users can toggle it on with /mouse if they want scroll-with-mouse.
The prompt now lists multiple tool alternatives instead of hardcoding
semantic_memory_query, which may not be loaded depending on the provider.
When semantic memory tools are unavailable, the model now tells the
user that the memory-semantic plugin is not loaded instead of silently
failing or using wrong tools.
- memory-semantic is now the default memory slot (was memory-core)
- BUNDLED_ENABLED_BY_DEFAULT includes: code-tools, interactive-permissions,
  bash-sandbox, memory-semantic, semantic-observability, semantic-skills,
  code-indexer, agent-mesh, token-economy, analytics
- All Cortex-dependent plugins load automatically on fresh installs
Config parsers for agent-mesh, code-indexer, memory-semantic,
semantic-observability, and semantic-skills now accept null/undefined
and fall through to defaults instead of throwing.
autoStart now defaults to true (was false). The sidecar will
automatically spawn aingle-cortex when semantic plugins load,
using the binary found in ~/.mayros/bin/ or system PATH.
Both postinstall.mjs and cortex-update-check.ts pointed to
apilium/aingle instead of ApiliumCode/aingle where the releases
are published.
Port 8080 conflicts with common dev servers. All config defaults,
plugin manifests, and tests updated to use 19090.
- Add `mayros cortex` subcli with status, health, stats, triples, and query subcommands
- Add cortex gateway methods (cortex.status, cortex.health, cortex.query, etc.)
- Add /cortex TUI command with handler and i18n strings
- Add Cortex view and controller in Control UI with overview integration
- Wrap Cortex operations in withCortex() for automatic failure recovery
- Auto-restart sidecar on health monitor unhealthy callback
- Register cortex_query and cortex_status as optional tools
Mock resolvePinnedHostnameWithPolicy alongside resolvePinnedHostname
in web-fetch, CDP, Playwright navigation guard, and media tests to
prevent ENOTFOUND failures in CI/offline environments.
- Add ensure-services module that probes and restarts gateway/Cortex
  before launching the TUI session
- Auto-generate and persist AINGLE_JWT_SECRET and AINGLE_ADMIN_PASSWORD
  in ~/.mayros/cortex-secrets.json (mode 0600) for Cortex 0.3.7
- Bump REQUIRED_CORTEX_VERSION from 0.2.6 to 0.3.7
- Clear screen after onboarding for clean TUI start
- Increase sidecar auto-restart limit to 3 with exponential backoff
@ApiliumDevTeam ApiliumDevTeam merged commit 44fc6b4 into main Mar 7, 2026
4 of 5 checks passed
ApiliumDevTeam added a commit that referenced this pull request Mar 9, 2026
## Summary
- Bump to v0.1.6 with extension sync and analytics fixes
- Enable semantic ecosystem plugins by default (zero-config start)
- Add Cortex CLI, TUI view, gateway methods, and resilience auto-restart
- Adapt sidecar for Cortex 0.3.7 (auto-generate JWT/admin secrets)
- Auto-start gateway and Cortex before TUI session
- Fix SSRF mock coverage and 5 pre-existing test failures
- Miscellaneous: pixel avatar banner, /mouse toggle, /kg improvements

## Test plan
- [ ] `pnpm test` passes (11 576 tests, 0 failures)
- [ ] `mayros code` auto-starts gateway + Cortex on clean install
- [ ] Cortex sidecar persists secrets in `~/.mayros/cortex-secrets.json`
- [ ] TUI Cortex view renders health and stats correctly
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