Skip to content

Commit f106339

Browse files
ralyodioclaude
andcommitted
docs(cli): help reflects app.moshcode.sh notify/ask/ai + MOSHCODE_API_KEY
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent c732385 commit f106339

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

bin/moshcode.mjs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,13 @@ ${local.map((c) => ` ${(`${c.name}()`).padEnd(14)} ${c.summary}`).join("\n")}
148148
CLI commands (each shells out to \`moshcode <name> ...args\`):
149149
${cli.map((c) => ` ${(`${c.name}()`).padEnd(14)} ${c.summary}`).join("\n")}
150150
151-
human-in-the-loop:
152-
notify(msg) fire-and-forget ping to moshcoding.com + webhook
153-
ask(prompt) blocking gate — waits for human reply at moshcode.sh
151+
human-in-the-loop + AI (via app.moshcode.sh):
152+
notify(msg) ping the operator across their channels + return the link
153+
ask(prompt) blocking gate — waits for the human's reply at app.moshcode.sh
154+
ai(prompt, {engine}) run a coding engine headlessly and return its output
154155
155-
env: MOSHCODE_API (default https://moshcoding.com), MOSHCODE_WEBHOOK_URL,
156-
MOSHCODE_WEBHOOK_SECRET, MOSHCODE_PLAYLIST
156+
env: MOSHCODE_API (default https://app.moshcode.sh), MOSHCODE_API_KEY (from the
157+
app's Settings → API keys), MOSHCODE_WEBHOOK_SECRET, MOSHCODE_PLAYLIST
157158
`);
158159
}
159160

0 commit comments

Comments
 (0)