feat(agents): add droid adapter#121
Conversation
Greptile SummaryThis PR introduces the
Confidence Score: 5/5The droid adapter is a self-contained addition that follows established patterns; no existing behavior is modified and the change is safe to merge. Both issues flagged in the previous review round have been addressed: settings files are now written atomically via No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[AO: Launch/Restore Request] --> B{Has agentSessionID?}
B -- No --> C[GetLaunchCommand]
B -- Yes --> D[GetRestoreCommand]
C --> E{PermissionMode != default?}
D --> E
E -- Yes --> F[droidAutonomyLevel]
F --> G[AtomicWriteFile settings]
G --> H[argv: droid --settings path]
E -- No --> J[argv: droid]
T[Droid fires hook] --> U[ao hooks droid event]
U --> V[DeriveActivityState]
V --> W{event?}
W -- user-prompt-submit --> X[ActivityActive]
W -- stop --> Y[ActivityIdle]
W -- notification --> Z[ActivityWaitingInput]
W -- session-end --> AA{reason?}
AA -- clear --> AB[no signal]
AA -- other/absent --> AC[ActivityExited]
Reviews (2): Last reviewed commit: "feat(agents): add droid adapter" | Re-trigger Greptile |
Registers the droid harness, stacked on the agent platform. Includes its own activity deriver. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds the droid harness, stacked on #119 (agent platform). Adapter package +
Constructors()registration + resolver test. Includes its own activity deriver.🤖 Generated with Claude Code
Stack