Some checks are pending
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / preflight (push) Waiting to run
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / vps-smoke (push) Waiting to run
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:frustration-matrix,kei-frustration-loop,kei-skill-importer,kei-projects-index,kei-projects-watcher,kei-gdrive-import,kei-leak-matrix,kei-skills,kei-gateway,kei-cron-scheduler,kei-export-trajectories,kei-backend-daytona,kei-d… (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-compute-baremetal,kei-compute-vultr,kei-compute-linode,kei-compute-digitalocean,kei-svc-systemd,kei-llm-bridge-mlx name:hosted-sleep-compute]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-diff,kei-scheduler,kei-watch,kei-prune,kei-discover,kei-brain-view,kei-hibernate,kei-ledger-sign,kei-fork name:wave13-15]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-git-gitea,kei-git-forgejo,kei-git-gitlab,kei-git-bitbucket,kei-memory-sled,kei-memory-redis,kei-memory-postgres,kei-memory-sqlite,kei-auth-google,kei-auth-apple,kei-auth-magiclink,kei-auth-webauthn,kei-notify-slack,kei-n… (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-ledger,kei-migrate,kei-changelog,kei-memory,kei-store,kei-conflict-scan,kei-refactor-engine,kei-graph-check,kei-shared,kei-dna-index,kei-pet name:core]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-machine-probe,kei-llm-ollama,kei-llm-llamacpp,kei-llm-mlx,kei-llm-router,kei-model name:llm-stack]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-router,kei-sage,kei-task,kei-chat-store,kei-crossdomain,kei-search-core,kei-content-store,kei-social-store,kei-curator,kei-auth,kei-artifact name:mcp-lbm]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:keisei,kei-forge,kei-runtime,kei-runtime-core,kei-atom-discovery,kei-agent-runtime,kei-capability,kei-provision,kei-entity-store,kei-pipe,kei-cache,kei-spawn,kei-replay name:atom-substrate]) (push) Blocked by required conditions
Three issues a real curl|bash user hit: 1. CRASH: typing a word (e.g. "claude") at any menu → $((ans-1)) treats it as a variable in bash arithmetic → "unbound variable" under set -u → install dies. Added _onb_read_choice (numeric+range validation, re-prompt) for all 4 menus. 2. No Claude under subscription: the kit installs into Claude Code yet the wizard offered only OpenAI Codex under subscription. Added claude-code provider (bumped kei-registries submodule c559065→b904993) + made subscription the default transport and claude-code the default provider — Enter,Enter,Enter lands on Claude Code (no API key). 3. install died at line 178 for any no-key provider (claude-code/codex/local): onboarding_run ended on a `&&` that is false when there are no auth keys → returned 1 → set -e aborted. Added explicit `return 0`. Plus per-step explanations (en+ru) and auto-select when a step has one option. Verified piped-under-pty: Enter-defaults → Claude Code, junk input → re-prompt (0 crashes), full install completes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
48 lines
2 KiB
Bash
48 lines
2 KiB
Bash
# shellcheck shell=bash
|
|
# i18n/en.sh — English strings. Default before user picks language.
|
|
|
|
# Welcome banner (always EN, shown before language picker).
|
|
STR_WELCOME_TITLE="KeiSeiKit · Exobrain installer"
|
|
STR_WELCOME_TAGLINE="Portable Rust agent substrate for AI coding tools"
|
|
|
|
# Onboarding wizard steps
|
|
STR_ONBOARDING_INTRO="Onboarding wizard (5 steps)"
|
|
STR_PICK_LANGUAGE="Choose interface language:"
|
|
STR_PICK_TRANSPORT="Choose connection transport:"
|
|
STR_PICK_PROVIDER="Choose provider within"
|
|
STR_PICK_MODEL="Default model:"
|
|
|
|
# Transport descriptions
|
|
STR_TR_DIRECT_API="Direct provider API (key)"
|
|
STR_TR_AWS_BEDROCK="AWS Bedrock (IAM/role)"
|
|
STR_TR_AZURE_OPENAI="Azure OpenAI (deployment+key)"
|
|
STR_TR_GOOGLE_VERTEX="Google Vertex AI (GCP)"
|
|
STR_TR_LOCAL="Local (Ollama/MLX/LMStudio)"
|
|
STR_TR_PROXY="Proxy (LiteLLM/OpenRouter)"
|
|
STR_TR_SUBSCRIPTION="Subscription login (Claude Code / ChatGPT — no API key)"
|
|
|
|
# Auth collection
|
|
STR_AUTH_INTRO="Auth for"
|
|
STR_AUTH_PROMPT="Enter values (Enter — leave empty, fill later)."
|
|
STR_AUTH_CURRENT_HINT="(current: <hidden>)"
|
|
|
|
# Completion
|
|
STR_DONE_TITLE="Onboarding complete"
|
|
STR_DONE_CONFIG="config:"
|
|
STR_DONE_SECRETS="secrets:"
|
|
|
|
# Profile menu (lib-menu.sh strings)
|
|
STR_MENU_TITLE="KeiSeiKit Installer"
|
|
STR_MENU_SUBSTRATE="Substrate baseline (always installed):"
|
|
STR_MENU_PROFILE_PROMPT="Choose install profile:"
|
|
STR_MENU_CONFIRM="Confirm selection?"
|
|
|
|
# Preflight warnings
|
|
STR_PREFLIGHT_FAILED="Preflight failed — provider may not work."
|
|
STR_PREFLIGHT_CONTINUE="Continue anyway? [y/N]"
|
|
|
|
# Wizard explanations + input validation
|
|
STR_PICK_INVALID="please type one of the numbers shown"
|
|
STR_EXPLAIN_TRANSPORT="How the agents reach the AI. subscription = log in with your plan, no API key (Claude Code is option 1); direct-api = your own API key. Press Enter for the default."
|
|
STR_EXPLAIN_PROVIDER="Which AI service. Option 1 is the recommended default — press Enter."
|
|
STR_EXPLAIN_MODEL="Default model the agents use. Option 1 is the recommended default — press Enter."
|