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.
Files changed (253) hide show
  1. package/LICENSE +8 -0
  2. package/README.md +538 -0
  3. package/dist/argv-CfSowvEA.js +63 -0
  4. package/dist/config-B-mboG4v.js +4 -0
  5. package/dist/eliza-CPJjgw-e.js +1491 -0
  6. package/dist/eliza.js +2192 -0
  7. package/dist/entry.js +232 -0
  8. package/dist/index.js +209 -0
  9. package/dist/links-BFKlWqSe.js +15 -0
  10. package/dist/paths-D_yh1DEJ.js +69 -0
  11. package/dist/plugins-cli-B7kSre2c.js +134 -0
  12. package/dist/program-6KwWwKKh.js +510 -0
  13. package/dist/register.agents-CPVmSjMG.js +17 -0
  14. package/dist/register.browser-B2ooXxNx.js +15 -0
  15. package/dist/register.channels-CMYQ6K6Y.js +42 -0
  16. package/dist/register.cron-D91lY1_Y.js +9 -0
  17. package/dist/register.devices-rU5I5L_y.js +13 -0
  18. package/dist/register.gateway-82SLAvw3.js +22 -0
  19. package/dist/register.hooks-B_XTBEkt.js +9 -0
  20. package/dist/register.logs-BgEGcPd8.js +10 -0
  21. package/dist/register.models-BJt9eVgZ.js +26 -0
  22. package/dist/register.nodes-B5xY1s8a.js +9 -0
  23. package/dist/register.skills-SFQqYIhg.js +10 -0
  24. package/dist/register.subclis-uF_AsbWR.js +187 -0
  25. package/dist/run-main-XODklzS-.js +56 -0
  26. package/dist/theme-DBvtuGeq.js +36 -0
  27. package/dist/utils-C1AUpp_V.js +42 -0
  28. package/dist/version-Cpn3yr5D.js +26 -0
  29. package/dist/workspace-Co3Wul2D.js +206 -0
  30. package/dist/workspace-DCA6MNVK.js +350 -0
  31. package/docs/.i18n/README.md +31 -0
  32. package/docs/.i18n/glossary.zh-CN.json +210 -0
  33. package/docs/.i18n/zh-CN.tm.jsonl +1329 -0
  34. package/docs/CNAME +1 -0
  35. package/docs/automation/cron-jobs.md +468 -0
  36. package/docs/automation/cron-vs-heartbeat.md +254 -0
  37. package/docs/automation/gmail-pubsub.md +256 -0
  38. package/docs/automation/poll.md +69 -0
  39. package/docs/automation/webhook.md +163 -0
  40. package/docs/bedrock.md +176 -0
  41. package/docs/brave-search.md +41 -0
  42. package/docs/broadcast-groups.md +442 -0
  43. package/docs/cli/acp.md +170 -0
  44. package/docs/cli/agent.md +24 -0
  45. package/docs/cli/agents.md +75 -0
  46. package/docs/cli/approvals.md +50 -0
  47. package/docs/cli/browser.md +107 -0
  48. package/docs/cli/channels.md +79 -0
  49. package/docs/cli/config.md +50 -0
  50. package/docs/cli/configure.md +33 -0
  51. package/docs/cli/cron.md +42 -0
  52. package/docs/cli/dashboard.md +16 -0
  53. package/docs/cli/devices.md +67 -0
  54. package/docs/cli/directory.md +63 -0
  55. package/docs/cli/dns.md +23 -0
  56. package/docs/cli/docs.md +15 -0
  57. package/docs/cli/doctor.md +41 -0
  58. package/docs/cli/gateway.md +199 -0
  59. package/docs/cli/health.md +21 -0
  60. package/docs/cli/hooks.md +291 -0
  61. package/docs/cli/index.md +1029 -0
  62. package/docs/cli/logs.md +24 -0
  63. package/docs/cli/memory.md +45 -0
  64. package/docs/cli/message.md +239 -0
  65. package/docs/cli/models.md +79 -0
  66. package/docs/cli/node.md +112 -0
  67. package/docs/cli/nodes.md +73 -0
  68. package/docs/cli/onboard.md +29 -0
  69. package/docs/cli/pairing.md +21 -0
  70. package/docs/cli/plugins.md +62 -0
  71. package/docs/cli/reset.md +17 -0
  72. package/docs/cli/sandbox.md +152 -0
  73. package/docs/cli/security.md +26 -0
  74. package/docs/cli/sessions.md +16 -0
  75. package/docs/cli/setup.md +29 -0
  76. package/docs/cli/skills.md +26 -0
  77. package/docs/cli/status.md +26 -0
  78. package/docs/cli/system.md +60 -0
  79. package/docs/cli/tui.md +23 -0
  80. package/docs/cli/uninstall.md +17 -0
  81. package/docs/cli/update.md +98 -0
  82. package/docs/cli/voicecall.md +34 -0
  83. package/docs/cli/webhooks.md +25 -0
  84. package/docs/concepts/agent-loop.md +146 -0
  85. package/docs/concepts/agent-workspace.md +229 -0
  86. package/docs/concepts/agent.md +122 -0
  87. package/docs/concepts/architecture.md +129 -0
  88. package/docs/concepts/channel-routing.md +114 -0
  89. package/docs/concepts/compaction.md +61 -0
  90. package/docs/concepts/context.md +159 -0
  91. package/docs/concepts/features.md +53 -0
  92. package/docs/concepts/group-messages.md +84 -0
  93. package/docs/concepts/groups.md +373 -0
  94. package/docs/concepts/markdown-formatting.md +130 -0
  95. package/docs/concepts/memory.md +546 -0
  96. package/docs/concepts/messages.md +154 -0
  97. package/docs/concepts/model-failover.md +149 -0
  98. package/docs/concepts/model-providers.md +315 -0
  99. package/docs/concepts/models.md +208 -0
  100. package/docs/concepts/multi-agent.md +376 -0
  101. package/docs/concepts/oauth.md +145 -0
  102. package/docs/concepts/plugins.md +454 -0
  103. package/docs/concepts/presence.md +102 -0
  104. package/docs/concepts/queue.md +89 -0
  105. package/docs/concepts/retry.md +69 -0
  106. package/docs/concepts/secrets.md +300 -0
  107. package/docs/concepts/session-pruning.md +122 -0
  108. package/docs/concepts/session-tool.md +193 -0
  109. package/docs/concepts/session.md +188 -0
  110. package/docs/concepts/sessions.md +10 -0
  111. package/docs/concepts/skills.md +392 -0
  112. package/docs/concepts/streaming.md +135 -0
  113. package/docs/concepts/system-prompt.md +114 -0
  114. package/docs/concepts/timezone.md +91 -0
  115. package/docs/concepts/typebox.md +289 -0
  116. package/docs/concepts/typing-indicators.md +68 -0
  117. package/docs/concepts/usage-tracking.md +35 -0
  118. package/docs/custom.css +4 -0
  119. package/docs/date-time.md +128 -0
  120. package/docs/debugging.md +162 -0
  121. package/docs/docs.json +1599 -0
  122. package/docs/environment.md +81 -0
  123. package/docs/hooks.md +876 -0
  124. package/docs/index.md +179 -0
  125. package/docs/install/ansible.md +208 -0
  126. package/docs/install/bun.md +59 -0
  127. package/docs/install/development-channels.md +75 -0
  128. package/docs/install/docker.md +567 -0
  129. package/docs/install/index.md +185 -0
  130. package/docs/install/installer.md +123 -0
  131. package/docs/install/migrating.md +192 -0
  132. package/docs/install/nix.md +96 -0
  133. package/docs/install/node.md +78 -0
  134. package/docs/install/uninstall.md +128 -0
  135. package/docs/install/updating.md +228 -0
  136. package/docs/logging.md +350 -0
  137. package/docs/multi-agent-sandbox-tools.md +395 -0
  138. package/docs/network.md +54 -0
  139. package/docs/nodes/audio.md +114 -0
  140. package/docs/nodes/camera.md +156 -0
  141. package/docs/nodes/images.md +72 -0
  142. package/docs/nodes/index.md +341 -0
  143. package/docs/nodes/location-command.md +113 -0
  144. package/docs/nodes/media-understanding.md +379 -0
  145. package/docs/nodes/talk.md +90 -0
  146. package/docs/nodes/voicewake.md +65 -0
  147. package/docs/northflank.mdx +53 -0
  148. package/docs/perplexity.md +80 -0
  149. package/docs/platforms/android.md +129 -0
  150. package/docs/platforms/digitalocean.md +262 -0
  151. package/docs/platforms/exe-dev.md +125 -0
  152. package/docs/platforms/fly.md +486 -0
  153. package/docs/platforms/gcp.md +503 -0
  154. package/docs/platforms/hetzner.md +330 -0
  155. package/docs/platforms/index.md +53 -0
  156. package/docs/platforms/ios.md +106 -0
  157. package/docs/platforms/linux.md +94 -0
  158. package/docs/platforms/mac/bundled-gateway.md +73 -0
  159. package/docs/platforms/mac/canvas.md +125 -0
  160. package/docs/platforms/mac/child-process.md +69 -0
  161. package/docs/platforms/mac/dev-setup.md +102 -0
  162. package/docs/platforms/mac/health.md +34 -0
  163. package/docs/platforms/mac/icon.md +31 -0
  164. package/docs/platforms/mac/logging.md +57 -0
  165. package/docs/platforms/mac/menu-bar.md +81 -0
  166. package/docs/platforms/mac/peekaboo.md +65 -0
  167. package/docs/platforms/mac/permissions.md +44 -0
  168. package/docs/platforms/mac/release.md +85 -0
  169. package/docs/platforms/mac/remote.md +83 -0
  170. package/docs/platforms/mac/signing.md +47 -0
  171. package/docs/platforms/mac/skills.md +33 -0
  172. package/docs/platforms/mac/voice-overlay.md +60 -0
  173. package/docs/platforms/mac/voicewake.md +67 -0
  174. package/docs/platforms/mac/webchat.md +41 -0
  175. package/docs/platforms/mac/xpc.md +61 -0
  176. package/docs/platforms/macos-vm.md +281 -0
  177. package/docs/platforms/macos.md +203 -0
  178. package/docs/platforms/oracle.md +303 -0
  179. package/docs/platforms/raspberry-pi.md +358 -0
  180. package/docs/platforms/windows.md +159 -0
  181. package/docs/plugin.md +651 -0
  182. package/docs/plugins/agent-tools.md +99 -0
  183. package/docs/plugins/manifest.md +71 -0
  184. package/docs/plugins/voice-call.md +273 -0
  185. package/docs/plugins/zalouser.md +70 -0
  186. package/docs/providers/anthropic.md +152 -0
  187. package/docs/providers/claude-max-api-proxy.md +148 -0
  188. package/docs/providers/cloudflare-ai-gateway.md +71 -0
  189. package/docs/providers/deepgram.md +93 -0
  190. package/docs/providers/glm.md +33 -0
  191. package/docs/providers/index.md +63 -0
  192. package/docs/providers/minimax.md +208 -0
  193. package/docs/providers/models.md +51 -0
  194. package/docs/providers/moonshot.md +142 -0
  195. package/docs/providers/ollama.md +223 -0
  196. package/docs/providers/openai.md +62 -0
  197. package/docs/providers/opencode.md +36 -0
  198. package/docs/providers/openrouter.md +37 -0
  199. package/docs/providers/qwen.md +53 -0
  200. package/docs/providers/synthetic.md +99 -0
  201. package/docs/providers/venice.md +267 -0
  202. package/docs/providers/vercel-ai-gateway.md +50 -0
  203. package/docs/providers/xiaomi.md +64 -0
  204. package/docs/providers/zai.md +36 -0
  205. package/docs/railway.mdx +99 -0
  206. package/docs/reference/templates/AGENTS.md +9 -0
  207. package/docs/reference/templates/BOOTSTRAP.md +3 -0
  208. package/docs/reference/templates/HEARTBEAT.md +3 -0
  209. package/docs/reference/templates/IDENTITY.md +3 -0
  210. package/docs/reference/templates/TOOLS.md +3 -0
  211. package/docs/reference/templates/USER.md +3 -0
  212. package/docs/render.mdx +165 -0
  213. package/docs/start/docs-directory.md +63 -0
  214. package/docs/start/getting-started.md +212 -0
  215. package/docs/start/milaidy.md +247 -0
  216. package/docs/start/onboarding.md +258 -0
  217. package/docs/start/pairing.md +86 -0
  218. package/docs/start/quickstart.md +81 -0
  219. package/docs/start/setup.md +149 -0
  220. package/docs/start/showcase.md +416 -0
  221. package/docs/start/wizard.md +418 -0
  222. package/docs/testing.md +368 -0
  223. package/docs/token-use.md +112 -0
  224. package/docs/tools/agent-send.md +53 -0
  225. package/docs/tools/apply-patch.md +50 -0
  226. package/docs/tools/browser-linux-troubleshooting.md +139 -0
  227. package/docs/tools/browser-login.md +68 -0
  228. package/docs/tools/browser.md +576 -0
  229. package/docs/tools/chrome-extension.md +178 -0
  230. package/docs/tools/clawhub.md +257 -0
  231. package/docs/tools/creating-skills.md +54 -0
  232. package/docs/tools/elevated.md +57 -0
  233. package/docs/tools/exec-approvals.md +246 -0
  234. package/docs/tools/exec.md +179 -0
  235. package/docs/tools/firecrawl.md +61 -0
  236. package/docs/tools/index.md +508 -0
  237. package/docs/tools/llm-task.md +115 -0
  238. package/docs/tools/reactions.md +22 -0
  239. package/docs/tools/skills-config.md +76 -0
  240. package/docs/tools/skills.md +300 -0
  241. package/docs/tools/slash-commands.md +196 -0
  242. package/docs/tools/subagents.md +151 -0
  243. package/docs/tools/thinking.md +73 -0
  244. package/docs/tools/web.md +261 -0
  245. package/docs/tui.md +159 -0
  246. package/docs/vps.md +43 -0
  247. package/docs/web/control-ui.md +221 -0
  248. package/docs/web/dashboard.md +46 -0
  249. package/docs/web/index.md +116 -0
  250. package/docs/web/webchat.md +49 -0
  251. package/milaidy.mjs +14 -0
  252. package/package.json +271 -0
  253. package/skills/.cache/catalog.json +88519 -0
@@ -0,0 +1,24 @@
1
+ ---
2
+ summary: "CLI reference for `milaidy logs` (tail gateway logs via RPC)"
3
+ read_when:
4
+ - You need to tail Gateway logs remotely (without SSH)
5
+ - You want JSON log lines for tooling
6
+ title: "logs"
7
+ ---
8
+
9
+ # `milaidy logs`
10
+
11
+ Tail Gateway file logs over RPC (works in remote mode).
12
+
13
+ Related:
14
+
15
+ - Logging overview: [Logging](/logging)
16
+
17
+ ## Examples
18
+
19
+ ```bash
20
+ milaidy logs
21
+ milaidy logs --follow
22
+ milaidy logs --json
23
+ milaidy logs --limit 500
24
+ ```
@@ -0,0 +1,45 @@
1
+ ---
2
+ summary: "CLI reference for `milaidy memory` (status/index/search)"
3
+ read_when:
4
+ - You want to index or search semantic memory
5
+ - You’re debugging memory availability or indexing
6
+ title: "memory"
7
+ ---
8
+
9
+ # `milaidy memory`
10
+
11
+ Manage semantic memory indexing and search.
12
+ Provided by the active memory plugin (default: `memory-core`; set `plugins.slots.memory = "none"` to disable).
13
+
14
+ Related:
15
+
16
+ - Memory concept: [Memory](/concepts/memory)
17
+ - Plugins: [Plugins](/plugins)
18
+
19
+ ## Examples
20
+
21
+ ```bash
22
+ milaidy memory status
23
+ milaidy memory status --deep
24
+ milaidy memory status --deep --index
25
+ milaidy memory status --deep --index --verbose
26
+ milaidy memory index
27
+ milaidy memory index --verbose
28
+ milaidy memory search "release checklist"
29
+ milaidy memory status --agent main
30
+ milaidy memory index --agent main --verbose
31
+ ```
32
+
33
+ ## Options
34
+
35
+ Common:
36
+
37
+ - `--agent <id>`: scope to a single agent (default: all configured agents).
38
+ - `--verbose`: emit detailed logs during probes and indexing.
39
+
40
+ Notes:
41
+
42
+ - `memory status --deep` probes vector + embedding availability.
43
+ - `memory status --deep --index` runs a reindex if the store is dirty.
44
+ - `memory index --verbose` prints per-phase details (provider, model, sources, batch activity).
45
+ - `memory status` includes any extra paths configured via `memorySearch.extraPaths`.
@@ -0,0 +1,239 @@
1
+ ---
2
+ summary: "CLI reference for `milaidy message` (send + channel actions)"
3
+ read_when:
4
+ - Adding or modifying message CLI actions
5
+ - Changing outbound channel behavior
6
+ title: "message"
7
+ ---
8
+
9
+ # `milaidy message`
10
+
11
+ Single outbound command for sending messages and channel actions
12
+ (Discord/Google Chat/Slack/Mattermost (plugin)/Telegram/WhatsApp/Signal/iMessage/MS Teams).
13
+
14
+ ## Usage
15
+
16
+ ```
17
+ milaidy message <subcommand> [flags]
18
+ ```
19
+
20
+ Channel selection:
21
+
22
+ - `--channel` required if more than one channel is configured.
23
+ - If exactly one channel is configured, it becomes the default.
24
+ - Values: `whatsapp|telegram|discord|googlechat|slack|mattermost|signal|imessage|msteams` (Mattermost requires plugin)
25
+
26
+ Target formats (`--target`):
27
+
28
+ - WhatsApp: E.164 or group JID
29
+ - Telegram: chat id or `@username`
30
+ - Discord: `channel:<id>` or `user:<id>` (or `<@id>` mention; raw numeric ids are treated as channels)
31
+ - Google Chat: `spaces/<spaceId>` or `users/<userId>`
32
+ - Slack: `channel:<id>` or `user:<id>` (raw channel id is accepted)
33
+ - Mattermost (plugin): `channel:<id>`, `user:<id>`, or `@username` (bare ids are treated as channels)
34
+ - Signal: `+E.164`, `group:<id>`, `signal:+E.164`, `signal:group:<id>`, or `username:<name>`/`u:<name>`
35
+ - iMessage: handle, `chat_id:<id>`, `chat_guid:<guid>`, or `chat_identifier:<id>`
36
+ - MS Teams: conversation id (`19:...@thread.tacv2`) or `conversation:<id>` or `user:<aad-object-id>`
37
+
38
+ Name lookup:
39
+
40
+ - For supported providers (Discord/Slack/etc), channel names like `Help` or `#help` are resolved via the directory cache.
41
+ - On cache miss, Milaidy will attempt a live directory lookup when the provider supports it.
42
+
43
+ ## Common flags
44
+
45
+ - `--channel <name>`
46
+ - `--account <id>`
47
+ - `--target <dest>` (target channel or user for send/poll/read/etc)
48
+ - `--targets <name>` (repeat; broadcast only)
49
+ - `--json`
50
+ - `--dry-run`
51
+ - `--verbose`
52
+
53
+ ## Actions
54
+
55
+ ### Core
56
+
57
+ - `send`
58
+ - Channels: WhatsApp/Telegram/Discord/Google Chat/Slack/Mattermost (plugin)/Signal/iMessage/MS Teams
59
+ - Required: `--target`, plus `--message` or `--media`
60
+ - Optional: `--media`, `--reply-to`, `--thread-id`, `--gif-playback`
61
+ - Telegram only: `--buttons` (requires `channels.telegram.capabilities.inlineButtons` to allow it)
62
+ - Telegram only: `--thread-id` (forum topic id)
63
+ - Slack only: `--thread-id` (thread timestamp; `--reply-to` uses the same field)
64
+ - WhatsApp only: `--gif-playback`
65
+
66
+ - `poll`
67
+ - Channels: WhatsApp/Discord/MS Teams
68
+ - Required: `--target`, `--poll-question`, `--poll-option` (repeat)
69
+ - Optional: `--poll-multi`
70
+ - Discord only: `--poll-duration-hours`, `--message`
71
+
72
+ - `react`
73
+ - Channels: Discord/Google Chat/Slack/Telegram/WhatsApp/Signal
74
+ - Required: `--message-id`, `--target`
75
+ - Optional: `--emoji`, `--remove`, `--participant`, `--from-me`, `--target-author`, `--target-author-uuid`
76
+ - Note: `--remove` requires `--emoji` (omit `--emoji` to clear own reactions where supported; see /tools/reactions)
77
+ - WhatsApp only: `--participant`, `--from-me`
78
+ - Signal group reactions: `--target-author` or `--target-author-uuid` required
79
+
80
+ - `reactions`
81
+ - Channels: Discord/Google Chat/Slack
82
+ - Required: `--message-id`, `--target`
83
+ - Optional: `--limit`
84
+
85
+ - `read`
86
+ - Channels: Discord/Slack
87
+ - Required: `--target`
88
+ - Optional: `--limit`, `--before`, `--after`
89
+ - Discord only: `--around`
90
+
91
+ - `edit`
92
+ - Channels: Discord/Slack
93
+ - Required: `--message-id`, `--message`, `--target`
94
+
95
+ - `delete`
96
+ - Channels: Discord/Slack/Telegram
97
+ - Required: `--message-id`, `--target`
98
+
99
+ - `pin` / `unpin`
100
+ - Channels: Discord/Slack
101
+ - Required: `--message-id`, `--target`
102
+
103
+ - `pins` (list)
104
+ - Channels: Discord/Slack
105
+ - Required: `--target`
106
+
107
+ - `permissions`
108
+ - Channels: Discord
109
+ - Required: `--target`
110
+
111
+ - `search`
112
+ - Channels: Discord
113
+ - Required: `--guild-id`, `--query`
114
+ - Optional: `--channel-id`, `--channel-ids` (repeat), `--author-id`, `--author-ids` (repeat), `--limit`
115
+
116
+ ### Threads
117
+
118
+ - `thread create`
119
+ - Channels: Discord
120
+ - Required: `--thread-name`, `--target` (channel id)
121
+ - Optional: `--message-id`, `--auto-archive-min`
122
+
123
+ - `thread list`
124
+ - Channels: Discord
125
+ - Required: `--guild-id`
126
+ - Optional: `--channel-id`, `--include-archived`, `--before`, `--limit`
127
+
128
+ - `thread reply`
129
+ - Channels: Discord
130
+ - Required: `--target` (thread id), `--message`
131
+ - Optional: `--media`, `--reply-to`
132
+
133
+ ### Emojis
134
+
135
+ - `emoji list`
136
+ - Discord: `--guild-id`
137
+ - Slack: no extra flags
138
+
139
+ - `emoji upload`
140
+ - Channels: Discord
141
+ - Required: `--guild-id`, `--emoji-name`, `--media`
142
+ - Optional: `--role-ids` (repeat)
143
+
144
+ ### Stickers
145
+
146
+ - `sticker send`
147
+ - Channels: Discord
148
+ - Required: `--target`, `--sticker-id` (repeat)
149
+ - Optional: `--message`
150
+
151
+ - `sticker upload`
152
+ - Channels: Discord
153
+ - Required: `--guild-id`, `--sticker-name`, `--sticker-desc`, `--sticker-tags`, `--media`
154
+
155
+ ### Roles / Channels / Members / Voice
156
+
157
+ - `role info` (Discord): `--guild-id`
158
+ - `role add` / `role remove` (Discord): `--guild-id`, `--user-id`, `--role-id`
159
+ - `channel info` (Discord): `--target`
160
+ - `channel list` (Discord): `--guild-id`
161
+ - `member info` (Discord/Slack): `--user-id` (+ `--guild-id` for Discord)
162
+ - `voice status` (Discord): `--guild-id`, `--user-id`
163
+
164
+ ### Events
165
+
166
+ - `event list` (Discord): `--guild-id`
167
+ - `event create` (Discord): `--guild-id`, `--event-name`, `--start-time`
168
+ - Optional: `--end-time`, `--desc`, `--channel-id`, `--location`, `--event-type`
169
+
170
+ ### Moderation (Discord)
171
+
172
+ - `timeout`: `--guild-id`, `--user-id` (optional `--duration-min` or `--until`; omit both to clear timeout)
173
+ - `kick`: `--guild-id`, `--user-id` (+ `--reason`)
174
+ - `ban`: `--guild-id`, `--user-id` (+ `--delete-days`, `--reason`)
175
+ - `timeout` also supports `--reason`
176
+
177
+ ### Broadcast
178
+
179
+ - `broadcast`
180
+ - Channels: any configured channel; use `--channel all` to target all providers
181
+ - Required: `--targets` (repeat)
182
+ - Optional: `--message`, `--media`, `--dry-run`
183
+
184
+ ## Examples
185
+
186
+ Send a Discord reply:
187
+
188
+ ```
189
+ milaidy message send --channel discord \
190
+ --target channel:123 --message "hi" --reply-to 456
191
+ ```
192
+
193
+ Create a Discord poll:
194
+
195
+ ```
196
+ milaidy message poll --channel discord \
197
+ --target channel:123 \
198
+ --poll-question "Snack?" \
199
+ --poll-option Pizza --poll-option Sushi \
200
+ --poll-multi --poll-duration-hours 48
201
+ ```
202
+
203
+ Send a Teams proactive message:
204
+
205
+ ```
206
+ milaidy message send --channel msteams \
207
+ --target conversation:19:abc@thread.tacv2 --message "hi"
208
+ ```
209
+
210
+ Create a Teams poll:
211
+
212
+ ```
213
+ milaidy message poll --channel msteams \
214
+ --target conversation:19:abc@thread.tacv2 \
215
+ --poll-question "Lunch?" \
216
+ --poll-option Pizza --poll-option Sushi
217
+ ```
218
+
219
+ React in Slack:
220
+
221
+ ```
222
+ milaidy message react --channel slack \
223
+ --target C123 --message-id 456 --emoji "✅"
224
+ ```
225
+
226
+ React in a Signal group:
227
+
228
+ ```
229
+ milaidy message react --channel signal \
230
+ --target signal:group:abc123 --message-id 1737630212345 \
231
+ --emoji "✅" --target-author-uuid 123e4567-e89b-12d3-a456-426614174000
232
+ ```
233
+
234
+ Send Telegram inline buttons:
235
+
236
+ ```
237
+ milaidy message send --channel telegram --target @mychat --message "Choose:" \
238
+ --buttons '[ [{"text":"Yes","callback_data":"cmd:yes"}], [{"text":"No","callback_data":"cmd:no"}] ]'
239
+ ```
@@ -0,0 +1,79 @@
1
+ ---
2
+ summary: "CLI reference for `milaidy models` (status/list/set/scan, aliases, fallbacks, auth)"
3
+ read_when:
4
+ - You want to change default models or view provider auth status
5
+ - You want to scan available models/providers and debug auth profiles
6
+ title: "models"
7
+ ---
8
+
9
+ # `milaidy models`
10
+
11
+ Model discovery, scanning, and configuration (default model, fallbacks, auth profiles).
12
+
13
+ Related:
14
+
15
+ - Providers + models: [Models](/providers/models)
16
+ - Provider auth setup: [Getting started](/start/getting-started)
17
+
18
+ ## Common commands
19
+
20
+ ```bash
21
+ milaidy models status
22
+ milaidy models list
23
+ milaidy models set <model-or-alias>
24
+ milaidy models scan
25
+ ```
26
+
27
+ `milaidy models status` shows the resolved default/fallbacks plus an auth overview.
28
+ When provider usage snapshots are available, the OAuth/token status section includes
29
+ provider usage headers.
30
+ Add `--probe` to run live auth probes against each configured provider profile.
31
+ Probes are real requests (may consume tokens and trigger rate limits).
32
+ Use `--agent <id>` to inspect a configured agent’s model/auth state. When omitted,
33
+ the command uses `MILAIDY_AGENT_DIR`/`PI_CODING_AGENT_DIR` if set, otherwise the
34
+ configured default agent.
35
+
36
+ Notes:
37
+
38
+ - `models set <model-or-alias>` accepts `provider/model` or an alias.
39
+ - Model refs are parsed by splitting on the **first** `/`. If the model ID includes `/` (OpenRouter-style), include the provider prefix (example: `openrouter/moonshotai/kimi-k2`).
40
+ - If you omit the provider, Milaidy treats the input as an alias or a model for the **default provider** (only works when there is no `/` in the model ID).
41
+
42
+ ### `models status`
43
+
44
+ Options:
45
+
46
+ - `--json`
47
+ - `--plain`
48
+ - `--check` (exit 1=expired/missing, 2=expiring)
49
+ - `--probe` (live probe of configured auth profiles)
50
+ - `--probe-provider <name>` (probe one provider)
51
+ - `--probe-profile <id>` (repeat or comma-separated profile ids)
52
+ - `--probe-timeout <ms>`
53
+ - `--probe-concurrency <n>`
54
+ - `--probe-max-tokens <n>`
55
+ - `--agent <id>` (configured agent id; overrides `MILAIDY_AGENT_DIR`/`PI_CODING_AGENT_DIR`)
56
+
57
+ ## Aliases + fallbacks
58
+
59
+ ```bash
60
+ milaidy models aliases list
61
+ milaidy models fallbacks list
62
+ ```
63
+
64
+ ## Auth profiles
65
+
66
+ ```bash
67
+ milaidy models auth add
68
+ milaidy models auth login --provider <id>
69
+ milaidy models auth setup-token
70
+ milaidy models auth paste-token
71
+ ```
72
+
73
+ `models auth login` runs a provider plugin’s auth flow (OAuth/API key). Use
74
+ `milaidy plugins list` to see which providers are installed.
75
+
76
+ Notes:
77
+
78
+ - `setup-token` prompts for a setup-token value (generate it with `claude setup-token` on any machine).
79
+ - `paste-token` accepts a token string generated elsewhere or from automation.
@@ -0,0 +1,112 @@
1
+ ---
2
+ summary: "CLI reference for `milaidy node` (headless node host)"
3
+ read_when:
4
+ - Running the headless node host
5
+ - Pairing a non-macOS node for system.run
6
+ title: "node"
7
+ ---
8
+
9
+ # `milaidy node`
10
+
11
+ Run a **headless node host** that connects to the Gateway WebSocket and exposes
12
+ `system.run` / `system.which` on this machine.
13
+
14
+ ## Why use a node host?
15
+
16
+ Use a node host when you want agents to **run commands on other machines** in your
17
+ network without installing a full macOS companion app there.
18
+
19
+ Common use cases:
20
+
21
+ - Run commands on remote Linux/Windows boxes (build servers, lab machines, NAS).
22
+ - Keep exec **sandboxed** on the gateway, but delegate approved runs to other hosts.
23
+ - Provide a lightweight, headless execution target for automation or CI nodes.
24
+
25
+ Execution is still guarded by **exec approvals** and per‑agent allowlists on the
26
+ node host, so you can keep command access scoped and explicit.
27
+
28
+ ## Browser proxy (zero-config)
29
+
30
+ Node hosts automatically advertise a browser proxy if `browser.enabled` is not
31
+ disabled on the node. This lets the agent use browser automation on that node
32
+ without extra configuration.
33
+
34
+ Disable it on the node if needed:
35
+
36
+ ```json5
37
+ {
38
+ nodeHost: {
39
+ browserProxy: {
40
+ enabled: false,
41
+ },
42
+ },
43
+ }
44
+ ```
45
+
46
+ ## Run (foreground)
47
+
48
+ ```bash
49
+ milaidy node run --host <gateway-host> --port 18789
50
+ ```
51
+
52
+ Options:
53
+
54
+ - `--host <host>`: Gateway WebSocket host (default: `127.0.0.1`)
55
+ - `--port <port>`: Gateway WebSocket port (default: `18789`)
56
+ - `--tls`: Use TLS for the gateway connection
57
+ - `--tls-fingerprint <sha256>`: Expected TLS certificate fingerprint (sha256)
58
+ - `--node-id <id>`: Override node id (clears pairing token)
59
+ - `--display-name <name>`: Override the node display name
60
+
61
+ ## Service (background)
62
+
63
+ Install a headless node host as a user service.
64
+
65
+ ```bash
66
+ milaidy node install --host <gateway-host> --port 18789
67
+ ```
68
+
69
+ Options:
70
+
71
+ - `--host <host>`: Gateway WebSocket host (default: `127.0.0.1`)
72
+ - `--port <port>`: Gateway WebSocket port (default: `18789`)
73
+ - `--tls`: Use TLS for the gateway connection
74
+ - `--tls-fingerprint <sha256>`: Expected TLS certificate fingerprint (sha256)
75
+ - `--node-id <id>`: Override node id (clears pairing token)
76
+ - `--display-name <name>`: Override the node display name
77
+ - `--runtime <runtime>`: Service runtime (`node` or `bun`)
78
+ - `--force`: Reinstall/overwrite if already installed
79
+
80
+ Manage the service:
81
+
82
+ ```bash
83
+ milaidy node status
84
+ milaidy node stop
85
+ milaidy node restart
86
+ milaidy node uninstall
87
+ ```
88
+
89
+ Use `milaidy node run` for a foreground node host (no service).
90
+
91
+ Service commands accept `--json` for machine-readable output.
92
+
93
+ ## Pairing
94
+
95
+ The first connection creates a pending node pair request on the Gateway.
96
+ Approve it via:
97
+
98
+ ```bash
99
+ milaidy nodes pending
100
+ milaidy nodes approve <requestId>
101
+ ```
102
+
103
+ The node host stores its node id, token, display name, and gateway connection info in
104
+ `~/.milaidy/node.json`.
105
+
106
+ ## Exec approvals
107
+
108
+ `system.run` is gated by local exec approvals:
109
+
110
+ - `~/.milaidy/exec-approvals.json`
111
+ - [Exec approvals](/tools/exec-approvals)
112
+ - `milaidy approvals --node <id|name|ip>` (edit from the Gateway)
@@ -0,0 +1,73 @@
1
+ ---
2
+ summary: "CLI reference for `milaidy nodes` (list/status/approve/invoke, camera/canvas/screen)"
3
+ read_when:
4
+ - You’re managing paired nodes (cameras, screen, canvas)
5
+ - You need to approve requests or invoke node commands
6
+ title: "nodes"
7
+ ---
8
+
9
+ # `milaidy nodes`
10
+
11
+ Manage paired nodes (devices) and invoke node capabilities.
12
+
13
+ Related:
14
+
15
+ - Nodes overview: [Nodes](/nodes)
16
+ - Camera: [Camera nodes](/nodes/camera)
17
+ - Images: [Image nodes](/nodes/images)
18
+
19
+ Common options:
20
+
21
+ - `--url`, `--token`, `--timeout`, `--json`
22
+
23
+ ## Common commands
24
+
25
+ ```bash
26
+ milaidy nodes list
27
+ milaidy nodes list --connected
28
+ milaidy nodes list --last-connected 24h
29
+ milaidy nodes pending
30
+ milaidy nodes approve <requestId>
31
+ milaidy nodes status
32
+ milaidy nodes status --connected
33
+ milaidy nodes status --last-connected 24h
34
+ ```
35
+
36
+ `nodes list` prints pending/paired tables. Paired rows include the most recent connect age (Last Connect).
37
+ Use `--connected` to only show currently-connected nodes. Use `--last-connected <duration>` to
38
+ filter to nodes that connected within a duration (e.g. `24h`, `7d`).
39
+
40
+ ## Invoke / run
41
+
42
+ ```bash
43
+ milaidy nodes invoke --node <id|name|ip> --command <command> --params <json>
44
+ milaidy nodes run --node <id|name|ip> <command...>
45
+ milaidy nodes run --raw "git status"
46
+ milaidy nodes run --agent main --node <id|name|ip> --raw "git status"
47
+ ```
48
+
49
+ Invoke flags:
50
+
51
+ - `--params <json>`: JSON object string (default `{}`).
52
+ - `--invoke-timeout <ms>`: node invoke timeout (default `15000`).
53
+ - `--idempotency-key <key>`: optional idempotency key.
54
+
55
+ ### Exec-style defaults
56
+
57
+ `nodes run` mirrors the model’s exec behavior (defaults + approvals):
58
+
59
+ - Reads `tools.exec.*` (plus `agents.list[].tools.exec.*` overrides).
60
+ - Uses exec approvals (`exec.approval.request`) before invoking `system.run`.
61
+ - `--node` can be omitted when `tools.exec.node` is set.
62
+ - Requires a node that advertises `system.run` (macOS companion app or headless node host).
63
+
64
+ Flags:
65
+
66
+ - `--cwd <path>`: working directory.
67
+ - `--env <key=val>`: env override (repeatable).
68
+ - `--command-timeout <ms>`: command timeout.
69
+ - `--invoke-timeout <ms>`: node invoke timeout (default `30000`).
70
+ - `--needs-screen-recording`: require screen recording permission.
71
+ - `--raw <command>`: run a shell string (`/bin/sh -lc` or `cmd.exe /c`).
72
+ - `--agent <id>`: agent-scoped approvals/allowlists (defaults to configured agent).
73
+ - `--ask <off|on-miss|always>`, `--security <deny|allowlist|full>`: overrides.
@@ -0,0 +1,29 @@
1
+ ---
2
+ summary: "CLI reference for `milaidy onboard` (interactive onboarding wizard)"
3
+ read_when:
4
+ - You want guided setup for gateway, workspace, auth, channels, and skills
5
+ title: "onboard"
6
+ ---
7
+
8
+ # `milaidy onboard`
9
+
10
+ Interactive onboarding wizard (local or remote Gateway setup).
11
+
12
+ Related:
13
+
14
+ - Wizard guide: [Onboarding](/start/onboarding)
15
+
16
+ ## Examples
17
+
18
+ ```bash
19
+ milaidy onboard
20
+ milaidy onboard --flow quickstart
21
+ milaidy onboard --flow manual
22
+ milaidy onboard --mode remote --remote-url ws://gateway-host:18789
23
+ ```
24
+
25
+ Flow notes:
26
+
27
+ - `quickstart`: minimal prompts, auto-generates a gateway token.
28
+ - `manual`: full prompts for port/bind/auth (alias of `advanced`).
29
+ - Fastest first chat: `milaidy dashboard` (Control UI, no channel setup).
@@ -0,0 +1,21 @@
1
+ ---
2
+ summary: "CLI reference for `milaidy pairing` (approve/list pairing requests)"
3
+ read_when:
4
+ - You’re using pairing-mode DMs and need to approve senders
5
+ title: "pairing"
6
+ ---
7
+
8
+ # `milaidy pairing`
9
+
10
+ Approve or inspect DM pairing requests (for channels that support pairing).
11
+
12
+ Related:
13
+
14
+ - Pairing flow: [Pairing](/start/pairing)
15
+
16
+ ## Commands
17
+
18
+ ```bash
19
+ milaidy pairing list whatsapp
20
+ milaidy pairing approve whatsapp <code> --notify
21
+ ```
@@ -0,0 +1,62 @@
1
+ ---
2
+ summary: "CLI reference for `milaidy plugins` (list, install, enable/disable, doctor)"
3
+ read_when:
4
+ - You want to install or manage in-process Gateway plugins
5
+ - You want to debug plugin load failures
6
+ title: "plugins"
7
+ ---
8
+
9
+ # `milaidy plugins`
10
+
11
+ Manage Gateway plugins/extensions (loaded in-process).
12
+
13
+ Related:
14
+
15
+ - Plugin system: [Plugins](/plugin)
16
+ - Plugin manifest + schema: [Plugin manifest](/plugins/manifest)
17
+ - Security hardening: [Security](/gateway/security)
18
+
19
+ ## Commands
20
+
21
+ ```bash
22
+ milaidy plugins list
23
+ milaidy plugins info <id>
24
+ milaidy plugins enable <id>
25
+ milaidy plugins disable <id>
26
+ milaidy plugins doctor
27
+ milaidy plugins update <id>
28
+ milaidy plugins update --all
29
+ ```
30
+
31
+ Bundled plugins ship with Milaidy but start disabled. Use `plugins enable` to
32
+ activate them.
33
+
34
+ All plugins must ship a `milaidy.plugin.json` file with an inline JSON Schema
35
+ (`configSchema`, even if empty). Missing/invalid manifests or schemas prevent
36
+ the plugin from loading and fail config validation.
37
+
38
+ ### Install
39
+
40
+ ```bash
41
+ milaidy plugins install <path-or-spec>
42
+ ```
43
+
44
+ Security note: treat plugin installs like running code. Prefer pinned versions.
45
+
46
+ Supported archives: `.zip`, `.tgz`, `.tar.gz`, `.tar`.
47
+
48
+ Use `--link` to avoid copying a local directory (adds to `plugins.load.paths`):
49
+
50
+ ```bash
51
+ milaidy plugins install -l ./my-plugin
52
+ ```
53
+
54
+ ### Update
55
+
56
+ ```bash
57
+ milaidy plugins update <id>
58
+ milaidy plugins update --all
59
+ milaidy plugins update <id> --dry-run
60
+ ```
61
+
62
+ Updates only apply to plugins installed from npm (tracked in `plugins.installs`).