Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/mobile/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ git diff --check

- Install with `npx expo install <package>` (or `--dev`), never `pnpm add`.
- After dependency changes, run `pnpx expo-doctor` and fix every issue.
- `jotai` stays on 2.x for now, and the four pins move together: `apps/mobile`,
`apps/web`, `apps/extension` and `packages/cloud-agent-sdk`. The SDK creates
the session atoms and each app reads them through its own jotai hooks, so a
partial bump fails `typecheck`: a 2.x `Atom` is not assignable to the 3.x
type because its `read` options still require `setSelf`, which 3.x removed
(mobile alone reports 153 such errors). `apps/web` cannot move first while
`jotai-minidb@0.0.8` (the latest release) imports `atomFamily` from
`jotai/vanilla/utils` and calls `setSelf`; both are gone in 3.x. Revisit as
soon as `jotai-minidb` ships a release that supports `jotai` 3; 3.0.1 already
clears `minimumReleaseAge`.
- `@kilocode/kilo-chat-hooks` is copied, not symlinked. After editing it:

```bash
Expand Down
Loading