.ubiquibot-config.yml
and push the commit. Refactoring via LLM seems pretty straightforward in my experience.Pass the manifest in the ?manifest=
query parameter for the UI to parse it.
?manifest={%22name%22:%22Start%20|%20Stop%22,%22description%22:%22Assign%20or%20un-assign%20yourself%20from%20an%20issue.%22,%22ubiquity:listeners%22:[%22issue_comment.created%22,%22issues.assigned%22,%22pull_request.opened%22%20],%22commands%22:{%22start%22:{%22ubiquity:example%22:%22/start%22,%22description%22:%22Assign%20yourself%20to%20the%20issue.%22},%22stop%22:{%22ubiquity:example%22:%22/stop%22,%22description%22:%22Unassign%20yourself%20from%20the%20issue.%22}}}
The browser automatically URI encodes it:
{
"name": "Start | Stop",
"description": "Assign or un-assign yourself from an issue.",
"ubiquity:listeners": ["issue_comment.created", "issues.assigned", "pull_request.opened"],
"commands": {
"start": {
"ubiquity:example": "/start",
"description": "Assign yourself to the issue."
},
"stop": {
"ubiquity:example": "/stop",
"description": "Unassign yourself from the issue."
}
}
}
command-start-stop/manifest.json
yarn
to install dependenciesSUPABASE_URL
and SUPABASE_KEY
in build/esbuild-build.ts
with your Supabase URL and key (Optionally use .env
and use process.env
instead.)yarn start
and visit localhost:8080
in your browser.TODO: Update readme with a better overview of the project.