Files
gabrielvidalandClaude Opus 5.5 f5ac63a171 feat: ask-form for Orca — Forms panel, status bar count, notifications, agent links, phone QR, setup
A trusted-worker Orca plugin for ask-form. The worker polls the local
`ask-form serve` admin API (loopback only, the machine's admin token) and
reads agents' ask-form calls through the agent.tool.after hook: a form's link
only exists in `ask-form create`'s output, and the hook also says which
workspace and terminal asked. The HTML panel lists the waiting forms (the
focused workspace's first) with Open, a QR code for the phone, Go to agent and
Revoke, and the recently closed ones with their answers; it installs or
restarts ask-form in a terminal when it is missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:45:42 +01:00

125 lines
3.4 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/stablyai/orca/main/docs/schemas/plugins/orca-plugin.v2.schema.json",
"manifestVersion": 2,
"id": "ask-form",
"name": "ask-form",
"version": "1.0.0",
"description": "See the forms your agents open with ask-form: a Forms panel with what waits for you, a status bar count, a notification per new form, the agent that asked, and a QR code to answer on your phone.",
"author": {
"name": "Gabriel Vidal",
"url": "https://github.com/GabrielVidal1"
},
"repository": "https://github.com/GabrielVidal1/ask-form-orca",
"homepage": "https://ask-form.xyz",
"license": "MIT",
"icon": "assets/icon.png",
"cover": {
"path": "assets/screenshots/phone.png",
"alt": "The Forms panel in Orca: a form from Codex in this workspace with its QR code open, one from Claude, one opened outside Orca"
},
"screenshots": [
{
"path": "assets/screenshots/forms.png",
"alt": "The Forms panel in Orca's right sidebar listing three waiting forms, and \"3 forms waiting\" in the status bar",
"caption": "What your agents are waiting on, the workspace you are in first"
},
{
"path": "assets/screenshots/phone.png",
"alt": "A form's QR code open in the Forms panel",
"caption": "Answer on your phone: scan the QR code"
}
],
"engines": {
"orca": ">=1.4.248"
},
"execution": "trusted-worker",
"pluginApi": 1,
"main": "src/worker/main.ts",
"contributes": {
"panels": [
{
"id": "forms",
"title": "Forms",
"icon": "file-text",
"entry": "src/panel/panel.html"
}
],
"commands": [
{
"id": "goToWaiting",
"title": "ask-form: Go to the agent waiting on a form"
},
{
"id": "refresh",
"title": "ask-form: Refresh the forms"
}
],
"statusBarItems": [
{
"id": "waiting",
"text": "ask-form",
"icon": "file-text",
"tooltip": "Forms your agents are waiting on",
"command": "goToWaiting"
}
],
"hooks": [
{
"event": "agent.tool.after"
}
],
"settings": [
{
"key": "notify",
"title": "Notify me when an agent opens a form",
"type": "boolean",
"default": true
},
{
"key": "pollSeconds",
"title": "Check for new forms every (seconds)",
"type": "integer",
"default": 4,
"minimum": 2,
"maximum": 60
},
{
"key": "showOutside",
"title": "Also list forms opened outside Orca",
"description": "Forms from other terminals or apps on this computer. Orca never saw their link, so they can't be opened from here.",
"type": "boolean",
"default": true
},
{
"key": "adminUrl",
"title": "ask-form admin address",
"description": "Where `ask-form serve` listens for its own CLI. Loopback only; leave empty for the default.",
"type": "string",
"default": "",
"placeholder": "http://127.0.0.1:7461",
"maxLength": 100
}
]
},
"capabilities": [
{
"kind": "workspace:read"
},
{
"kind": "workspace:write"
},
{
"kind": "terminal:send"
},
{
"kind": "notifications:show"
},
{
"kind": "storage:own"
},
{
"kind": "settings:own"
}
]
}