Empty on purpose. Created so assets/icon.png and assets/splash.png can land before the plugin does — presence is the declaration, so nothing needs registering once they are here.
27 lines
1019 B
Markdown
27 lines
1019 B
Markdown
# Gitea
|
|
|
|
Gitea inside Officer — repositories, issues and pull requests.
|
|
|
|
**Not built yet.** This repository exists so artwork can land before the code does.
|
|
|
|
## Assets
|
|
|
|
```
|
|
assets/icon.png the dock tile
|
|
assets/splash.png the launch scene, for the mobile app and the credits screen
|
|
```
|
|
|
|
Presence is the declaration — no manifest field. `discover.ts` reads those two exact paths, and
|
|
installing publishes the whole directory to `/plugins/gitea/`. A shipped `icon.png` wins over the
|
|
manifest's lucide glyph automatically.
|
|
|
|
## What this plugin will be
|
|
|
|
Unlike the other plugins, the UI is not a set of panels over a JSON API. Gitea already has a web
|
|
interface, so Officer proxies it and renders it in an iframe — same-origin, because a third-party iframe
|
|
cannot keep a session cookie.
|
|
|
|
It will also ship an affordance telling agents to use plain `git` for what git already does, and `tea`
|
|
for pull requests, issues and comments — `tea` being logged in as the current user, with that user's own
|
|
permissions.
|