milaidy 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +8 -0
- package/README.md +538 -0
- package/dist/argv-CfSowvEA.js +63 -0
- package/dist/config-B-mboG4v.js +4 -0
- package/dist/eliza-CPJjgw-e.js +1491 -0
- package/dist/eliza.js +2192 -0
- package/dist/entry.js +232 -0
- package/dist/index.js +209 -0
- package/dist/links-BFKlWqSe.js +15 -0
- package/dist/paths-D_yh1DEJ.js +69 -0
- package/dist/plugins-cli-B7kSre2c.js +134 -0
- package/dist/program-6KwWwKKh.js +510 -0
- package/dist/register.agents-CPVmSjMG.js +17 -0
- package/dist/register.browser-B2ooXxNx.js +15 -0
- package/dist/register.channels-CMYQ6K6Y.js +42 -0
- package/dist/register.cron-D91lY1_Y.js +9 -0
- package/dist/register.devices-rU5I5L_y.js +13 -0
- package/dist/register.gateway-82SLAvw3.js +22 -0
- package/dist/register.hooks-B_XTBEkt.js +9 -0
- package/dist/register.logs-BgEGcPd8.js +10 -0
- package/dist/register.models-BJt9eVgZ.js +26 -0
- package/dist/register.nodes-B5xY1s8a.js +9 -0
- package/dist/register.skills-SFQqYIhg.js +10 -0
- package/dist/register.subclis-uF_AsbWR.js +187 -0
- package/dist/run-main-XODklzS-.js +56 -0
- package/dist/theme-DBvtuGeq.js +36 -0
- package/dist/utils-C1AUpp_V.js +42 -0
- package/dist/version-Cpn3yr5D.js +26 -0
- package/dist/workspace-Co3Wul2D.js +206 -0
- package/dist/workspace-DCA6MNVK.js +350 -0
- package/docs/.i18n/README.md +31 -0
- package/docs/.i18n/glossary.zh-CN.json +210 -0
- package/docs/.i18n/zh-CN.tm.jsonl +1329 -0
- package/docs/CNAME +1 -0
- package/docs/automation/cron-jobs.md +468 -0
- package/docs/automation/cron-vs-heartbeat.md +254 -0
- package/docs/automation/gmail-pubsub.md +256 -0
- package/docs/automation/poll.md +69 -0
- package/docs/automation/webhook.md +163 -0
- package/docs/bedrock.md +176 -0
- package/docs/brave-search.md +41 -0
- package/docs/broadcast-groups.md +442 -0
- package/docs/cli/acp.md +170 -0
- package/docs/cli/agent.md +24 -0
- package/docs/cli/agents.md +75 -0
- package/docs/cli/approvals.md +50 -0
- package/docs/cli/browser.md +107 -0
- package/docs/cli/channels.md +79 -0
- package/docs/cli/config.md +50 -0
- package/docs/cli/configure.md +33 -0
- package/docs/cli/cron.md +42 -0
- package/docs/cli/dashboard.md +16 -0
- package/docs/cli/devices.md +67 -0
- package/docs/cli/directory.md +63 -0
- package/docs/cli/dns.md +23 -0
- package/docs/cli/docs.md +15 -0
- package/docs/cli/doctor.md +41 -0
- package/docs/cli/gateway.md +199 -0
- package/docs/cli/health.md +21 -0
- package/docs/cli/hooks.md +291 -0
- package/docs/cli/index.md +1029 -0
- package/docs/cli/logs.md +24 -0
- package/docs/cli/memory.md +45 -0
- package/docs/cli/message.md +239 -0
- package/docs/cli/models.md +79 -0
- package/docs/cli/node.md +112 -0
- package/docs/cli/nodes.md +73 -0
- package/docs/cli/onboard.md +29 -0
- package/docs/cli/pairing.md +21 -0
- package/docs/cli/plugins.md +62 -0
- package/docs/cli/reset.md +17 -0
- package/docs/cli/sandbox.md +152 -0
- package/docs/cli/security.md +26 -0
- package/docs/cli/sessions.md +16 -0
- package/docs/cli/setup.md +29 -0
- package/docs/cli/skills.md +26 -0
- package/docs/cli/status.md +26 -0
- package/docs/cli/system.md +60 -0
- package/docs/cli/tui.md +23 -0
- package/docs/cli/uninstall.md +17 -0
- package/docs/cli/update.md +98 -0
- package/docs/cli/voicecall.md +34 -0
- package/docs/cli/webhooks.md +25 -0
- package/docs/concepts/agent-loop.md +146 -0
- package/docs/concepts/agent-workspace.md +229 -0
- package/docs/concepts/agent.md +122 -0
- package/docs/concepts/architecture.md +129 -0
- package/docs/concepts/channel-routing.md +114 -0
- package/docs/concepts/compaction.md +61 -0
- package/docs/concepts/context.md +159 -0
- package/docs/concepts/features.md +53 -0
- package/docs/concepts/group-messages.md +84 -0
- package/docs/concepts/groups.md +373 -0
- package/docs/concepts/markdown-formatting.md +130 -0
- package/docs/concepts/memory.md +546 -0
- package/docs/concepts/messages.md +154 -0
- package/docs/concepts/model-failover.md +149 -0
- package/docs/concepts/model-providers.md +315 -0
- package/docs/concepts/models.md +208 -0
- package/docs/concepts/multi-agent.md +376 -0
- package/docs/concepts/oauth.md +145 -0
- package/docs/concepts/plugins.md +454 -0
- package/docs/concepts/presence.md +102 -0
- package/docs/concepts/queue.md +89 -0
- package/docs/concepts/retry.md +69 -0
- package/docs/concepts/secrets.md +300 -0
- package/docs/concepts/session-pruning.md +122 -0
- package/docs/concepts/session-tool.md +193 -0
- package/docs/concepts/session.md +188 -0
- package/docs/concepts/sessions.md +10 -0
- package/docs/concepts/skills.md +392 -0
- package/docs/concepts/streaming.md +135 -0
- package/docs/concepts/system-prompt.md +114 -0
- package/docs/concepts/timezone.md +91 -0
- package/docs/concepts/typebox.md +289 -0
- package/docs/concepts/typing-indicators.md +68 -0
- package/docs/concepts/usage-tracking.md +35 -0
- package/docs/custom.css +4 -0
- package/docs/date-time.md +128 -0
- package/docs/debugging.md +162 -0
- package/docs/docs.json +1599 -0
- package/docs/environment.md +81 -0
- package/docs/hooks.md +876 -0
- package/docs/index.md +179 -0
- package/docs/install/ansible.md +208 -0
- package/docs/install/bun.md +59 -0
- package/docs/install/development-channels.md +75 -0
- package/docs/install/docker.md +567 -0
- package/docs/install/index.md +185 -0
- package/docs/install/installer.md +123 -0
- package/docs/install/migrating.md +192 -0
- package/docs/install/nix.md +96 -0
- package/docs/install/node.md +78 -0
- package/docs/install/uninstall.md +128 -0
- package/docs/install/updating.md +228 -0
- package/docs/logging.md +350 -0
- package/docs/multi-agent-sandbox-tools.md +395 -0
- package/docs/network.md +54 -0
- package/docs/nodes/audio.md +114 -0
- package/docs/nodes/camera.md +156 -0
- package/docs/nodes/images.md +72 -0
- package/docs/nodes/index.md +341 -0
- package/docs/nodes/location-command.md +113 -0
- package/docs/nodes/media-understanding.md +379 -0
- package/docs/nodes/talk.md +90 -0
- package/docs/nodes/voicewake.md +65 -0
- package/docs/northflank.mdx +53 -0
- package/docs/perplexity.md +80 -0
- package/docs/platforms/android.md +129 -0
- package/docs/platforms/digitalocean.md +262 -0
- package/docs/platforms/exe-dev.md +125 -0
- package/docs/platforms/fly.md +486 -0
- package/docs/platforms/gcp.md +503 -0
- package/docs/platforms/hetzner.md +330 -0
- package/docs/platforms/index.md +53 -0
- package/docs/platforms/ios.md +106 -0
- package/docs/platforms/linux.md +94 -0
- package/docs/platforms/mac/bundled-gateway.md +73 -0
- package/docs/platforms/mac/canvas.md +125 -0
- package/docs/platforms/mac/child-process.md +69 -0
- package/docs/platforms/mac/dev-setup.md +102 -0
- package/docs/platforms/mac/health.md +34 -0
- package/docs/platforms/mac/icon.md +31 -0
- package/docs/platforms/mac/logging.md +57 -0
- package/docs/platforms/mac/menu-bar.md +81 -0
- package/docs/platforms/mac/peekaboo.md +65 -0
- package/docs/platforms/mac/permissions.md +44 -0
- package/docs/platforms/mac/release.md +85 -0
- package/docs/platforms/mac/remote.md +83 -0
- package/docs/platforms/mac/signing.md +47 -0
- package/docs/platforms/mac/skills.md +33 -0
- package/docs/platforms/mac/voice-overlay.md +60 -0
- package/docs/platforms/mac/voicewake.md +67 -0
- package/docs/platforms/mac/webchat.md +41 -0
- package/docs/platforms/mac/xpc.md +61 -0
- package/docs/platforms/macos-vm.md +281 -0
- package/docs/platforms/macos.md +203 -0
- package/docs/platforms/oracle.md +303 -0
- package/docs/platforms/raspberry-pi.md +358 -0
- package/docs/platforms/windows.md +159 -0
- package/docs/plugin.md +651 -0
- package/docs/plugins/agent-tools.md +99 -0
- package/docs/plugins/manifest.md +71 -0
- package/docs/plugins/voice-call.md +273 -0
- package/docs/plugins/zalouser.md +70 -0
- package/docs/providers/anthropic.md +152 -0
- package/docs/providers/claude-max-api-proxy.md +148 -0
- package/docs/providers/cloudflare-ai-gateway.md +71 -0
- package/docs/providers/deepgram.md +93 -0
- package/docs/providers/glm.md +33 -0
- package/docs/providers/index.md +63 -0
- package/docs/providers/minimax.md +208 -0
- package/docs/providers/models.md +51 -0
- package/docs/providers/moonshot.md +142 -0
- package/docs/providers/ollama.md +223 -0
- package/docs/providers/openai.md +62 -0
- package/docs/providers/opencode.md +36 -0
- package/docs/providers/openrouter.md +37 -0
- package/docs/providers/qwen.md +53 -0
- package/docs/providers/synthetic.md +99 -0
- package/docs/providers/venice.md +267 -0
- package/docs/providers/vercel-ai-gateway.md +50 -0
- package/docs/providers/xiaomi.md +64 -0
- package/docs/providers/zai.md +36 -0
- package/docs/railway.mdx +99 -0
- package/docs/reference/templates/AGENTS.md +9 -0
- package/docs/reference/templates/BOOTSTRAP.md +3 -0
- package/docs/reference/templates/HEARTBEAT.md +3 -0
- package/docs/reference/templates/IDENTITY.md +3 -0
- package/docs/reference/templates/TOOLS.md +3 -0
- package/docs/reference/templates/USER.md +3 -0
- package/docs/render.mdx +165 -0
- package/docs/start/docs-directory.md +63 -0
- package/docs/start/getting-started.md +212 -0
- package/docs/start/milaidy.md +247 -0
- package/docs/start/onboarding.md +258 -0
- package/docs/start/pairing.md +86 -0
- package/docs/start/quickstart.md +81 -0
- package/docs/start/setup.md +149 -0
- package/docs/start/showcase.md +416 -0
- package/docs/start/wizard.md +418 -0
- package/docs/testing.md +368 -0
- package/docs/token-use.md +112 -0
- package/docs/tools/agent-send.md +53 -0
- package/docs/tools/apply-patch.md +50 -0
- package/docs/tools/browser-linux-troubleshooting.md +139 -0
- package/docs/tools/browser-login.md +68 -0
- package/docs/tools/browser.md +576 -0
- package/docs/tools/chrome-extension.md +178 -0
- package/docs/tools/clawhub.md +257 -0
- package/docs/tools/creating-skills.md +54 -0
- package/docs/tools/elevated.md +57 -0
- package/docs/tools/exec-approvals.md +246 -0
- package/docs/tools/exec.md +179 -0
- package/docs/tools/firecrawl.md +61 -0
- package/docs/tools/index.md +508 -0
- package/docs/tools/llm-task.md +115 -0
- package/docs/tools/reactions.md +22 -0
- package/docs/tools/skills-config.md +76 -0
- package/docs/tools/skills.md +300 -0
- package/docs/tools/slash-commands.md +196 -0
- package/docs/tools/subagents.md +151 -0
- package/docs/tools/thinking.md +73 -0
- package/docs/tools/web.md +261 -0
- package/docs/tui.md +159 -0
- package/docs/vps.md +43 -0
- package/docs/web/control-ui.md +221 -0
- package/docs/web/dashboard.md +46 -0
- package/docs/web/index.md +116 -0
- package/docs/web/webchat.md +49 -0
- package/milaidy.mjs +14 -0
- package/package.json +271 -0
- package/skills/.cache/catalog.json +88519 -0
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "CLI onboarding wizard: guided setup for gateway, workspace, channels, and skills"
|
|
3
|
+
read_when:
|
|
4
|
+
- Running or configuring the onboarding wizard
|
|
5
|
+
- Setting up a new machine
|
|
6
|
+
- Scripting non-interactive onboarding
|
|
7
|
+
title: "Onboarding Wizard"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Onboarding Wizard (CLI)
|
|
11
|
+
|
|
12
|
+
The onboarding wizard is the **recommended** way to set up Milaidy on macOS,
|
|
13
|
+
Linux, or Windows (via WSL2). It configures your Gateway, workspace, channels,
|
|
14
|
+
skills, and ElizaOS plugins in one guided flow.
|
|
15
|
+
|
|
16
|
+
## Quick Start
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# Primary entrypoint
|
|
20
|
+
milaidy onboard
|
|
21
|
+
|
|
22
|
+
# Fastest first chat (no channel setup needed)
|
|
23
|
+
milaidy dashboard
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## CLI Flags Reference
|
|
27
|
+
|
|
28
|
+
### Mode Selection
|
|
29
|
+
|
|
30
|
+
| Flag | Description | Default |
|
|
31
|
+
|------|-------------|---------|
|
|
32
|
+
| `--mode <local\|remote>` | Gateway mode | `local` |
|
|
33
|
+
| `--quickstart` | Use defaults (minimal prompts) | `false` |
|
|
34
|
+
| `--advanced` | Full control over every step | `false` |
|
|
35
|
+
|
|
36
|
+
### Non-Interactive Mode
|
|
37
|
+
|
|
38
|
+
| Flag | Description |
|
|
39
|
+
|------|-------------|
|
|
40
|
+
| `--non-interactive` | Skip all prompts, use flags/defaults |
|
|
41
|
+
| `--json` | Output machine-readable JSON summary |
|
|
42
|
+
| `--reset` | Reset config before onboarding |
|
|
43
|
+
|
|
44
|
+
### Authentication Flags
|
|
45
|
+
|
|
46
|
+
| Flag | Description |
|
|
47
|
+
|------|-------------|
|
|
48
|
+
| `--auth-choice <choice>` | Auth method (see below) |
|
|
49
|
+
| `--anthropic-api-key <key>` | Anthropic API key |
|
|
50
|
+
| `--openai-api-key <key>` | OpenAI API key |
|
|
51
|
+
| `--gemini-api-key <key>` | Google Gemini API key |
|
|
52
|
+
| `--groq-api-key <key>` | Groq API key |
|
|
53
|
+
| `--xai-api-key <key>` | XAI (Grok) API key |
|
|
54
|
+
| `--openrouter-api-key <key>` | OpenRouter API key |
|
|
55
|
+
| `--mistral-api-key <key>` | Mistral API key |
|
|
56
|
+
| `--cohere-api-key <key>` | Cohere API key |
|
|
57
|
+
| `--together-api-key <key>` | Together API key |
|
|
58
|
+
| `--fireworks-api-key <key>` | Fireworks API key |
|
|
59
|
+
| `--perplexity-api-key <key>` | Perplexity API key |
|
|
60
|
+
| `--deepseek-api-key <key>` | DeepSeek API key |
|
|
61
|
+
| `--zai-api-key <key>` | Z.AI API key |
|
|
62
|
+
| `--ai-gateway-api-key <key>` | Vercel AI Gateway API key |
|
|
63
|
+
| `--opencode-zen-api-key <key>` | OpenCode Zen API key |
|
|
64
|
+
| `--moonshot-api-key <key>` | Moonshot API key |
|
|
65
|
+
| `--synthetic-api-key <key>` | Synthetic API key |
|
|
66
|
+
|
|
67
|
+
### Cloudflare AI Gateway Flags
|
|
68
|
+
|
|
69
|
+
| Flag | Description |
|
|
70
|
+
|------|-------------|
|
|
71
|
+
| `--cloudflare-ai-gateway-account-id <id>` | Cloudflare account ID |
|
|
72
|
+
| `--cloudflare-ai-gateway-gateway-id <id>` | Gateway ID |
|
|
73
|
+
| `--cloudflare-ai-gateway-api-key <key>` | API key |
|
|
74
|
+
|
|
75
|
+
### Auth Choice Values
|
|
76
|
+
|
|
77
|
+
| Value | Description |
|
|
78
|
+
|-------|-------------|
|
|
79
|
+
| `apiKey` | Anthropic API key |
|
|
80
|
+
| `oauth` | Anthropic OAuth (Claude Code CLI) |
|
|
81
|
+
| `setup-token` | Paste Anthropic setup token |
|
|
82
|
+
| `openai-api-key` | OpenAI API key |
|
|
83
|
+
| `openai-codex-oauth` | OpenAI Codex OAuth |
|
|
84
|
+
| `gemini-api-key` | Google Gemini API key |
|
|
85
|
+
| `groq-api-key` | Groq API key |
|
|
86
|
+
| `xai-api-key` | XAI API key |
|
|
87
|
+
| `openrouter-api-key` | OpenRouter API key |
|
|
88
|
+
| `zai-api-key` | Z.AI API key |
|
|
89
|
+
| `ai-gateway-api-key` | Vercel AI Gateway |
|
|
90
|
+
| `cloudflare-ai-gateway-api-key` | Cloudflare AI Gateway |
|
|
91
|
+
| `moonshot-api-key` | Moonshot (Kimi) |
|
|
92
|
+
| `synthetic-api-key` | Synthetic provider |
|
|
93
|
+
| `opencode-zen` | OpenCode Zen |
|
|
94
|
+
| `minimax` | MiniMax M2.1 |
|
|
95
|
+
| `skip` | No auth configured |
|
|
96
|
+
|
|
97
|
+
### Gateway Flags
|
|
98
|
+
|
|
99
|
+
| Flag | Description | Default |
|
|
100
|
+
|------|-------------|---------|
|
|
101
|
+
| `--gateway-port <port>` | Gateway port | `18789` |
|
|
102
|
+
| `--gateway-bind <bind>` | Bind address | `loopback` |
|
|
103
|
+
| `--gateway-auth <mode>` | Auth mode (token, none) | `token` |
|
|
104
|
+
| `--gateway-tailscale` | Enable Tailscale exposure | `false` |
|
|
105
|
+
|
|
106
|
+
### Workspace Flags
|
|
107
|
+
|
|
108
|
+
| Flag | Description |
|
|
109
|
+
|------|-------------|
|
|
110
|
+
| `--workspace <path>` | Workspace directory |
|
|
111
|
+
| `--agent-dir <path>` | Agent directory |
|
|
112
|
+
|
|
113
|
+
### Channel Flags
|
|
114
|
+
|
|
115
|
+
| Flag | Description |
|
|
116
|
+
|------|-------------|
|
|
117
|
+
| `--telegram-bot-token <token>` | Telegram bot token |
|
|
118
|
+
| `--discord-bot-token <token>` | Discord bot token |
|
|
119
|
+
| `--slack-bot-token <token>` | Slack bot token |
|
|
120
|
+
| `--slack-app-token <token>` | Slack app token |
|
|
121
|
+
| `--whatsapp-token <token>` | WhatsApp token |
|
|
122
|
+
| `--signal-cli-path <path>` | Signal CLI path |
|
|
123
|
+
| `--skip-channels` | Skip channel setup |
|
|
124
|
+
|
|
125
|
+
### Daemon Flags
|
|
126
|
+
|
|
127
|
+
| Flag | Description |
|
|
128
|
+
|------|-------------|
|
|
129
|
+
| `--install-daemon` | Install daemon (LaunchAgent/systemd) |
|
|
130
|
+
| `--skip-daemon` | Skip daemon installation |
|
|
131
|
+
| `--daemon-runtime <node\|bun>` | Runtime for daemon | `node` |
|
|
132
|
+
|
|
133
|
+
### Skills Flags
|
|
134
|
+
|
|
135
|
+
| Flag | Description |
|
|
136
|
+
|------|-------------|
|
|
137
|
+
| `--skip-skills` | Skip skills installation |
|
|
138
|
+
| `--skills-node-manager <npm\|pnpm\|yarn>` | Node package manager |
|
|
139
|
+
|
|
140
|
+
### Model Flags
|
|
141
|
+
|
|
142
|
+
| Flag | Description |
|
|
143
|
+
|------|-------------|
|
|
144
|
+
| `--model <provider/model>` | Default model |
|
|
145
|
+
|
|
146
|
+
## QuickStart vs Advanced
|
|
147
|
+
|
|
148
|
+
The wizard starts with **QuickStart** (defaults) vs **Advanced** (full control):
|
|
149
|
+
|
|
150
|
+
**QuickStart** keeps defaults:
|
|
151
|
+
- Local gateway (loopback)
|
|
152
|
+
- Existing or default workspace
|
|
153
|
+
- Gateway port **18789**
|
|
154
|
+
- Gateway auth **Token** (auto-generated)
|
|
155
|
+
- Tailscale exposure **Off**
|
|
156
|
+
- DMs default to **allowlist**
|
|
157
|
+
|
|
158
|
+
**Advanced** exposes every step (mode, workspace, gateway, channels, daemon, skills).
|
|
159
|
+
|
|
160
|
+
## Wizard Flow (Local Mode)
|
|
161
|
+
|
|
162
|
+
### 1. Existing Config Detection
|
|
163
|
+
|
|
164
|
+
If `~/.milaidy/milaidy.json` exists, choose:
|
|
165
|
+
- **Keep** - Preserve existing config
|
|
166
|
+
- **Modify** - Edit specific sections
|
|
167
|
+
- **Reset** - Start fresh
|
|
168
|
+
|
|
169
|
+
Reset uses `trash` (never `rm`) with scopes:
|
|
170
|
+
- Config only
|
|
171
|
+
- Config + credentials + sessions
|
|
172
|
+
- Full reset (includes workspace)
|
|
173
|
+
|
|
174
|
+
### 2. Model/Auth
|
|
175
|
+
|
|
176
|
+
Provider options:
|
|
177
|
+
- **Anthropic API key** (recommended) - Uses `ANTHROPIC_API_KEY`
|
|
178
|
+
- **Anthropic OAuth** - Reuses `~/.claude/.credentials.json` or Keychain
|
|
179
|
+
- **Anthropic setup-token** - Paste from `claude setup-token`
|
|
180
|
+
- **OpenAI Codex OAuth** - Browser flow with `code#state`
|
|
181
|
+
- **OpenAI API key** - Uses `OPENAI_API_KEY`
|
|
182
|
+
- **OpenCode Zen** - Multi-model proxy
|
|
183
|
+
- **Vercel AI Gateway** - Multi-model proxy
|
|
184
|
+
- **Cloudflare AI Gateway** - Account + Gateway IDs
|
|
185
|
+
- **MiniMax M2.1** - Auto-configured
|
|
186
|
+
- **Moonshot (Kimi K2)** - Auto-configured
|
|
187
|
+
- **Synthetic** - Anthropic-compatible
|
|
188
|
+
- **Skip** - Configure later
|
|
189
|
+
|
|
190
|
+
Credentials stored in:
|
|
191
|
+
- `~/.milaidy/credentials/oauth.json`
|
|
192
|
+
- `~/.milaidy/agents/<agentId>/agent/auth-profiles.json`
|
|
193
|
+
|
|
194
|
+
### 3. Workspace
|
|
195
|
+
|
|
196
|
+
- Default: `~/.milaidy/workspace`
|
|
197
|
+
- Seeds bootstrap files for agent ritual
|
|
198
|
+
- See [Agent Workspace](/concepts/agent-workspace)
|
|
199
|
+
|
|
200
|
+
### 4. Gateway
|
|
201
|
+
|
|
202
|
+
- Port, bind, auth mode, Tailscale exposure
|
|
203
|
+
- **Token** recommended even for loopback
|
|
204
|
+
- Non-loopback binds always require auth
|
|
205
|
+
|
|
206
|
+
### 5. Channels
|
|
207
|
+
|
|
208
|
+
Configure messaging channels:
|
|
209
|
+
- [WhatsApp](/channels/whatsapp) - QR login
|
|
210
|
+
- [Telegram](/channels/telegram) - Bot token
|
|
211
|
+
- [Discord](/channels/discord) - Bot token
|
|
212
|
+
- [Google Chat](/channels/googlechat) - Service account
|
|
213
|
+
- [Mattermost](/channels/mattermost) - Plugin, bot token
|
|
214
|
+
- [Signal](/channels/signal) - signal-cli install
|
|
215
|
+
- [BlueBubbles](/channels/bluebubbles) - iMessage (recommended)
|
|
216
|
+
- [iMessage](/channels/imessage) - Legacy imsg CLI
|
|
217
|
+
|
|
218
|
+
DM security: default is pairing. First DM sends a code; approve via
|
|
219
|
+
`milaidy pairing approve <channel> <code>`.
|
|
220
|
+
|
|
221
|
+
### 6. Daemon Install
|
|
222
|
+
|
|
223
|
+
- **macOS:** LaunchAgent (requires logged-in session)
|
|
224
|
+
- **Linux/WSL2:** systemd user unit with lingering enabled
|
|
225
|
+
|
|
226
|
+
**Runtime:** Node (recommended, required for WhatsApp/Telegram)
|
|
227
|
+
|
|
228
|
+
### 7. Health Check
|
|
229
|
+
|
|
230
|
+
Starts Gateway and runs `milaidy health`.
|
|
231
|
+
|
|
232
|
+
Tip: `milaidy status --deep` adds gateway probes.
|
|
233
|
+
|
|
234
|
+
### 8. Skills (Recommended)
|
|
235
|
+
|
|
236
|
+
- Reads available skills and requirements
|
|
237
|
+
- Chooses node manager (npm/pnpm)
|
|
238
|
+
- Installs optional dependencies
|
|
239
|
+
|
|
240
|
+
### 9. Finish
|
|
241
|
+
|
|
242
|
+
Summary + next steps, including mobile app options.
|
|
243
|
+
|
|
244
|
+
## Non-Interactive Examples
|
|
245
|
+
|
|
246
|
+
### Anthropic API Key
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
milaidy onboard --non-interactive \
|
|
250
|
+
--mode local \
|
|
251
|
+
--auth-choice apiKey \
|
|
252
|
+
--anthropic-api-key "$ANTHROPIC_API_KEY" \
|
|
253
|
+
--gateway-port 18789 \
|
|
254
|
+
--gateway-bind loopback \
|
|
255
|
+
--install-daemon \
|
|
256
|
+
--daemon-runtime node \
|
|
257
|
+
--skip-skills
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### Google Gemini
|
|
261
|
+
|
|
262
|
+
```bash
|
|
263
|
+
milaidy onboard --non-interactive \
|
|
264
|
+
--mode local \
|
|
265
|
+
--auth-choice gemini-api-key \
|
|
266
|
+
--gemini-api-key "$GEMINI_API_KEY" \
|
|
267
|
+
--gateway-port 18789 \
|
|
268
|
+
--gateway-bind loopback
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
### OpenAI Codex
|
|
272
|
+
|
|
273
|
+
```bash
|
|
274
|
+
milaidy onboard --non-interactive \
|
|
275
|
+
--mode local \
|
|
276
|
+
--auth-choice openai-api-key \
|
|
277
|
+
--openai-api-key "$OPENAI_API_KEY" \
|
|
278
|
+
--gateway-port 18789 \
|
|
279
|
+
--gateway-bind loopback
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
### Vercel AI Gateway
|
|
283
|
+
|
|
284
|
+
```bash
|
|
285
|
+
milaidy onboard --non-interactive \
|
|
286
|
+
--mode local \
|
|
287
|
+
--auth-choice ai-gateway-api-key \
|
|
288
|
+
--ai-gateway-api-key "$AI_GATEWAY_API_KEY" \
|
|
289
|
+
--gateway-port 18789 \
|
|
290
|
+
--gateway-bind loopback
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
### Cloudflare AI Gateway
|
|
294
|
+
|
|
295
|
+
```bash
|
|
296
|
+
milaidy onboard --non-interactive \
|
|
297
|
+
--mode local \
|
|
298
|
+
--auth-choice cloudflare-ai-gateway-api-key \
|
|
299
|
+
--cloudflare-ai-gateway-account-id "your-account-id" \
|
|
300
|
+
--cloudflare-ai-gateway-gateway-id "your-gateway-id" \
|
|
301
|
+
--cloudflare-ai-gateway-api-key "$CLOUDFLARE_AI_GATEWAY_API_KEY" \
|
|
302
|
+
--gateway-port 18789 \
|
|
303
|
+
--gateway-bind loopback
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
### OpenCode Zen
|
|
307
|
+
|
|
308
|
+
```bash
|
|
309
|
+
milaidy onboard --non-interactive \
|
|
310
|
+
--mode local \
|
|
311
|
+
--auth-choice opencode-zen \
|
|
312
|
+
--opencode-zen-api-key "$OPENCODE_API_KEY" \
|
|
313
|
+
--gateway-port 18789 \
|
|
314
|
+
--gateway-bind loopback
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
## Remote Mode
|
|
318
|
+
|
|
319
|
+
Remote mode configures a local client to connect to a Gateway elsewhere.
|
|
320
|
+
|
|
321
|
+
What you set:
|
|
322
|
+
- Remote Gateway URL (`ws://...`)
|
|
323
|
+
- Token if auth is required
|
|
324
|
+
|
|
325
|
+
Notes:
|
|
326
|
+
- No remote installs or daemon changes
|
|
327
|
+
- Use SSH tunneling for loopback-only Gateways
|
|
328
|
+
- Discovery: Bonjour (macOS), Avahi (Linux)
|
|
329
|
+
|
|
330
|
+
## Multi-Agent Setup
|
|
331
|
+
|
|
332
|
+
Add isolated agents with separate workspaces:
|
|
333
|
+
|
|
334
|
+
```bash
|
|
335
|
+
milaidy agents add <name>
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
Non-interactive:
|
|
339
|
+
|
|
340
|
+
```bash
|
|
341
|
+
milaidy agents add work \
|
|
342
|
+
--workspace ~/.milaidy/workspace-work \
|
|
343
|
+
--model openai/gpt-5.2 \
|
|
344
|
+
--bind whatsapp:biz \
|
|
345
|
+
--non-interactive \
|
|
346
|
+
--json
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
Config entries:
|
|
350
|
+
- `agents.list[].name`
|
|
351
|
+
- `agents.list[].workspace`
|
|
352
|
+
- `agents.list[].agentDir`
|
|
353
|
+
|
|
354
|
+
## Gateway RPC
|
|
355
|
+
|
|
356
|
+
The wizard is exposed over RPC:
|
|
357
|
+
- `wizard.start`
|
|
358
|
+
- `wizard.next`
|
|
359
|
+
- `wizard.cancel`
|
|
360
|
+
- `wizard.status`
|
|
361
|
+
|
|
362
|
+
Clients (macOS app, Control UI) can render steps without re-implementing logic.
|
|
363
|
+
|
|
364
|
+
## Signal Setup
|
|
365
|
+
|
|
366
|
+
The wizard can install `signal-cli`:
|
|
367
|
+
- Downloads from GitHub releases
|
|
368
|
+
- Stores in `~/.milaidy/tools/signal-cli/<version>/`
|
|
369
|
+
- Writes `channels.signal.cliPath`
|
|
370
|
+
|
|
371
|
+
Requirements:
|
|
372
|
+
- JVM builds need **Java 21**
|
|
373
|
+
- Native builds preferred when available
|
|
374
|
+
|
|
375
|
+
## Config Output
|
|
376
|
+
|
|
377
|
+
Typical fields in `~/.milaidy/milaidy.json`:
|
|
378
|
+
|
|
379
|
+
```json
|
|
380
|
+
{
|
|
381
|
+
"agents": {
|
|
382
|
+
"defaults": {
|
|
383
|
+
"workspace": "~/.milaidy/workspace",
|
|
384
|
+
"model": { "primary": "anthropic/claude-opus-4-5" }
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"gateway": {
|
|
388
|
+
"mode": "local",
|
|
389
|
+
"bind": "loopback",
|
|
390
|
+
"port": 18789,
|
|
391
|
+
"auth": { "mode": "token" }
|
|
392
|
+
},
|
|
393
|
+
"channels": {
|
|
394
|
+
"telegram": { "botToken": "..." },
|
|
395
|
+
"discord": { "token": "..." }
|
|
396
|
+
},
|
|
397
|
+
"skills": {
|
|
398
|
+
"install": { "nodeManager": "npm" }
|
|
399
|
+
},
|
|
400
|
+
"wizard": {
|
|
401
|
+
"lastRunAt": "2026-01-15T10:30:00Z",
|
|
402
|
+
"lastRunVersion": "2026.1.15",
|
|
403
|
+
"lastRunMode": "local"
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
Channel credentials:
|
|
409
|
+
- WhatsApp: `~/.milaidy/credentials/whatsapp/<accountId>/`
|
|
410
|
+
- Sessions: `~/.milaidy/agents/<agentId>/sessions/`
|
|
411
|
+
|
|
412
|
+
## Related Docs
|
|
413
|
+
|
|
414
|
+
- [Onboarding](/start/onboarding) - Overview of onboarding flow
|
|
415
|
+
- [Secrets](/concepts/secrets) - Secret key names and validation
|
|
416
|
+
- [Plugins](/concepts/plugins) - ElizaOS plugin system
|
|
417
|
+
- [Gateway Configuration](/gateway/configuration) - Config reference
|
|
418
|
+
- [Skills](/tools/skills) - Skills configuration
|