Releases: variableway/innate-aiswitcher
Releases · variableway/innate-aiswitcher
Release list
v0.2.0 — Web UI, .aiswrc, Codex bearer-token auth
Added
- Embedded Web UI at
GET /ofaisw serve(Provider/Profile CRUD, preset import, connectivity tests).- New files:
internal/webui/{webui.go, static/{index.html,app.js,style.css}}. scripts/sync-data-db.{sh,ps1}for syncingpb_data/data.dbinto~/.innate-aiswitcher/.
- New files:
aisw initcommand writes a.aiswrcTOML in the current directory soaisw start AGENTauto-resolves a default profile / provider / agent per project.aisw startnow consults.aiswrc(walks up from$PWD) unless--ignore-projectis set; mismatchedagentis rejected with an error.--init-config PATHglobal flag: when PocketBase bootstraps against an empty database, import the given TOML first (defaults to~/.innate-aiswitcher/init-config.toml).aisw config dumpwrites a full config (with secrets) to the init-config path;aisw config import/exportnow accept--format toml|jsonand auto-detect on import.- Codex adapter gains
experimental_bearer_tokenauth mode andmodel_context_windowcapability (preset examples forminimax-codex,xiaomi-codex). agents.skip_permissions_arg+agents.skip_permissions_default(claude →--dangerously-skip-permissions, kimi →--yolo, both on by default) plus per-profileskip_permissionsoverride; refactored intoapplySkipPermissions/resolveSkipPermissions.- Claude adapter always sets
skipDangerousModePermissionPrompt: trueso the UI confirmation is bypassed; the real permission gate is the resolved CLI flag. adapter.PersistDefaultwrites a default-profile Claude settings file (~/.claude/settings.json) soclaudeworks without going throughaisw startafter--defaultis marked.- TUI preset cards (lipgloss-styled), provider value prefill when editing, and key-status indicator on
aisw configure. aisw profile add --skip-permissions true|falsefor per-profile override.task installbuilds and copiesbin/aiswto~/.local/bin; cross-compile helperstask build:windowsandtask build:linux.- Hermes and OpenClaw agents seeded (
migrations/1780567400_seed_hermes_openclaw_agents.go). - Provider preset catalog refresh: MiniMax (OpenAI / Claude / Codex), Xiaomi MiMo (OpenAI / Claude / Codex), Anthropic, Volcengine Ark (OpenAI / Claude) with
claude_extra_envandcodex_auth_modecapabilities. - Documentation site (
task docs:dev,task docs:build) published to GitHub Pages via.github/workflows/docs.yml. docs/site content: SPEC, USAGE, API, AGENT_TESTING, DEVELOPMENT, GOAL, plus tutorials (INSTALL_GUIDE,HERMES_DEEPSEEK_PROXY).
Changed
- Default provider templates refreshed to current models:
MiniMax-M3,kimi-latest,deepseek-v4-flash,gpt-4o,mimo-v2.5-pro,claude-sonnet-4-6-20250715,glm-5.2. - MiniMax preset URLs updated from
https://api.minimax.chat/...tohttps://api.minimaxi.com/...; same correction applied acrossREADME.md,docs/USAGE.md,docs/AGENT_TESTING.md,docs/SPEC.md,docs/GOAL.md,docs/DEVELOPMENT.md,docs/tutorial/INSTALL_GUIDE.md,docs/tutorial/HERMES_DEEPSEEK_PROXY.md,tutorials/tutorial/INSTALL_AGENTS.md,internal/templates/files/config.example.toml,internal/templates/files/providers.toml. aisw servedefaults to127.0.0.1:8090; PocketBase admin UI remains off unless--admin-uiis passed (along with--show-admin-banner);--quietnow disables HTTP access logs.aisw config importalways writes an atomic, secret-bearing backup by default; use--no-backupto skip;--backup-pathcustomises the destination.aisw provider add --api-key-env ENV_NAMEcontinues to read from env at write time and is now reflected in provider/preset import flows (POST /api/aisw/providers/from-preset).- CLI surface now exposes
aisw init,aisw config dump,aisw config import/export --format toml|json,aisw start --ignore-project --cwd --terminal current|ghostty|terminal --dry-run. - REST surface:
GET /api/aisw/catalog,GET /api/aisw/agents,GET /api/aisw/presets, plus full Provider/Profile CRUD and/providers/{slug}/models,/providers/{slug}/test.api_keyis masked on all custom endpoints and a hidden field onproviderscollection reads. - Agent adapter registry now includes
hermesandopenclawmapped to the genericopenai_envbuilder. aisw serveaccess logs are routed throughinternal/app/serve_log.goand can be silenced with--quietor the inverse flag.
Fixed
- Claude Code confirmation dialog ("enable dangerous mode?") no longer blocks startup — settings JSON now unconditionally sets
skipDangerousModePermissionPrompt: true. - Provider update via
PUT /api/aisw/providers/{slug}preserves the stored API key when the request body leavesapi_keyempty. aisw config importrolls back provider/profile writes on failure (SQLite transaction wraps the upsert).- TUI no longer overwrites an existing API key when the field is left empty during
Configure provider. aisw provider add minimaxexamples corrected to use current MiniMax endpoints (api.minimaxi.com) instead of the legacyapi.minimax.chathost.
Documentation
README.md,docs/USAGE.md,docs/AGENT_TESTING.md,docs/SPEC.md,docs/GOAL.md,docs/DEVELOPMENT.md,docs/tutorial/INSTALL_GUIDE.md,docs/tutorial/HERMES_DEEPSEEK_PROXY.mdaligned with the current code (provider catalog, command flags,--ignore-project,.aiswrc, Codex bearer-token mode,--init-config, JSON config format).- Embedded
config.example.tomltemplate updated to useapi.minimaxi.comandMiniMax-M3. - This
CHANGELOG.mdintroduced.
v0.1.0
Full Changelog: https://github.com/variableway/innate-aiswitcher/commits/v0.1.0