AGENTS.md@apps/desktop/src/main/app-actionsA
AGENTS.md@apps/desktop/src/main/app-actions from maomaochong-ai/open-astravia is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add maomaochong-ai/open-astravia/apps/desktop/src/main/app-actions/AGENTS.md@git:20261001.635daaaPins git:20261001.635daaa in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- maomaochong-ai/open-astravia
- Path
apps/desktop/src/main/app-actions/AGENTS.md- Versions recorded
- 2
- Latest version
- git:20261001.635daaa, committed Oct 1, 2026
- First version recorded
- Aug 18, 2026
- Size
- 2,269 bytes
- Repository stars
- 39
- License
- Apache-2.0
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# App Actions 开发说明 ## Action 的作用 App Action 是 agent 调用 Astravia Desktop 能力的受控 RPC 边界。主进程只保留: - Catalog / Runtime / 本地 Action RPC - 审批 broker - 插件动态注册(`PluginActionService`) **业务 Action 实现由插件提供**(官方系统插件 `astravia-actions` 与第三方插件),不再在 `app-actions/*` 下维护静态领域实现。 ## 注册与冲突 - 插件通过 `ctx.appActions.register()` 提交声明;官方插件可用 `publicId` 占用稳定 id。 - Catalog **每个 action id 仅保留一份实现**。 - **冲突策略:先注册为准**;后到的同 id 注册会被忽略,并在主进程日志中记录 `register: action id conflict, keeping first registration`(含双方 providerId / title)。 - 插件 activation 使用 `begin → stage → commit/abort`:commit 会先完整校验 staging,再以 provider 快照原子替换旧 activation;失败时旧版本继续服务,不出现空目录窗口。 ## 运行时边界 - JSON Schema 校验、write/execute 审批、超时、取消、结果序列化由宿主强制执行。 - handler 在插件 renderer 运行;renderer 不可用时返回 `PLUGIN_ACTION_UNAVAILABLE`。 - 写操作对 `local-server` 来源走审批;`assertReady` 失败不得弹审批。 - 公共内置 Action 依赖 required 系统插件 `astravia-actions`;该 provider 未就绪时,Catalog 必须返回 `ACTION_RUNTIME_NOT_READY`,不能把空目录伪装成正常结果。 ## 新增 / 修改 Action 1. 改官方插件 `packages/plugins/presets/astravia-actions`(或独立官方 Action 插件)。 2. 需要宿主数据时扩展 `ctx.official`(`plugin-sdk` + `plugin-official-api.ts`),禁止插件任意 IPC。 3. 写操作复用已有审批 presentation id;不能注入新审批组件。 …
Read the whole file at its exact version.
How to install
mdr add maomaochong-ai/open-astravia/apps/desktop/src/main/app-actions/AGENTS.md@sha256:3f1a40702c1669d8The line at the top of this page pins the label git:20261001.635daaa, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_qurhnf6znfvsqop5)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 18, 2026 and Oct 1, 2026, about one every 44 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261001.635daaa latest | 2026-10-01 | 635daaa | 2,269 B | A | view · diff |
| git:20260818.4f19511 | 2026-08-18 | 4f19511 | 2,254 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2269 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
maomaochong-ai/open-astravia · 39 stars · license Apache-2.0 · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_qurhnf6znfvsqop5 GET https://markdownregistry.com/api/v1/resolve?ref=maomaochong-ai/open-astravia/apps/desktop/src/main/app-actions/AGENTS.md GET https://markdownregistry.com/api/v1/blob/3f1a40702c1669d803f9bae5ef636e0d0d7a59cfc3a4a1118868a35a69e6b8e6
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.