Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / sdk / openassistant / AGENTS.md

AGENTS.md1.3 KiBRenderedCodeRaw
1# AGENTS.md — sdk/openassistant/ (':sdk:openassistant')
2
3> Scoped supplement. Global rules in root `AGENTS.md` apply. Stay inside `sdk/openassistant/` + allowed shared modules. Do not root-scan.
4
5- Gradle: :sdk:openassistant / dir: sdk/openassistant/
6- Package roots present: (public assistant SDK — one package)
7- Entry files: OpenAssistant.kt (no MainActivity/Route — SDK)
8- Deps: (none — SecureResultReceiver is owned by this module)
9- Metadata: metadata_data/sdk-openassistant.md (absent — SDKs have none by design)
10- Rust: no / screenshotTest: no
11
12## Overview
13**Purpose:** Public SDK apps expose tool-calling surfaces to `openassistant/` through — the counterpart to per-app `intents/` (notes/email/calendar/taxi/weather/fooddelivery expose `*Intent`s; this SDK is the assistant-facing client).
14**Consumers:** `openassistant/` (tool calls out); any app exposing assistant tools (calls in).
15**Entry points:** `OpenAssistant.kt` → `Exceptions.kt`.
16**Gotchas:** Tool schemas are a compatibility surface on both ends — changes need assistant + provider updated together.
17
18## Key files
19- com/vayunmathur/sdk/openassistant/OpenAssistant.kt
20- com/vayunmathur/sdk/openassistant/Exceptions.kt
21
22## Verify (this module only)
23```
24./gradlew :sdk:openassistant:compileDevKotlin
25./gradlew :sdk:openassistant:lint
26```