Files
ai-agent/cli/ask-form
Gabriel VidalandClaude Fable 5.1 d0d0d7575a feat(askform): the standalone ask-form tool is the form skill
The hub mirrors every machine's ask-form forms (backend askform/: store,
per-machine poll through the sidecar's new /ask-form proxy, the events
webhook, push once per fresh form, revoke/close) and draws them in the
thread (business/askform/: card with Answer link, strips, recap), in
Waiting for feedback, on the clarifier's Agent card and as the pending
badge. The clarifier drives `ask-form create / wait`; `notify form` is gone
(the hub's own forms keep frm_ ids for New project and plans). Workers:
sidecar /ask-form/events → outbox `askform` items.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-28 15:07:14 +01:00

16 lines
811 B
Bash
Executable File

#!/usr/bin/env bash
# ask-form — on a machine where the standalone ask-form tool isn't installed
# (this shim sits last on a run's PATH, after the real binary), say how to get
# it. `notify form` (the hub's own forms for agents) went on 2026-10-28: the
# form skill is github.com/GabrielVidal1/ask-form, which the hub mirrors.
set -euo pipefail
cat >&2 <<'EOF'
ask-form: the ask-form tool isn't installed on this machine.
Install it (Linux / macOS): curl -fsSL https://ask-form.xyz/install.sh | sh
then tell this machine's serve to feed the hub:
lab: ask-form setup --events-url http://127.0.0.1:8096/api/ask-form/events
worker: ask-form setup --events-url http://<this sidecar's bind address>:8790/ask-form/events
Reference: `ask-form skill print --body` (the ask-form skill).
EOF
exit 127