Add Droid host support for setup and skill generation#283
Add Droid host support for setup and skill generation#283Edmund-a7 wants to merge 1 commit intogarrytan:mainfrom
Conversation
|
Hi @Edmund-a7, I’m currently trying to think through how gstack should support more hosts without ending up with each runtime being handled as a separate special case ( #289 ), so this PR is very relevant to a problem I’ve been looking at. What stood out to me here is that it surfaces several host-specific concerns very concretely: skill roots, generated output layout, top-level skill linking, and runtime asset setup all seem to vary in meaningful ways for Droid. My current guess is that these differences may eventually want a more explicit abstraction layer, rather than being rediscovered host by host inside So I’m mostly commenting because this seems like a very useful real example for RFC #289, not because I think I already have the right answer. My hope is that work like this can help us identify the right shared shape for future host support, instead of each new runtime having to carve its own path independently. If this resonates with how you’re thinking about Droid support, I’d really value your feedback. And if there are constraints here that make a more general adapter shape less practical than it sounds, that would also be very helpful to understand. |
Summary
This adds first-class Droid host support to gstack.
What changed
--host droidtogen-skill-docs.ts.factory/skills/*setupso./setup --host droid:~/.factory/skills/gstack~/.factory/skills/<skill-name>/find ... -print -quitcheck to avoid zshno matches foundfailuresWhy
Before this change, Droid could not reliably discover gstack slash-command skills such as
/office-hoursbecause:setup --host droidlinked~/.factory/skills/gstackto the repo root, but did not link top-level skills likeoffice-hours,review, orplan-ceo-review.pending-*files existThis change makes Droid installation behave more like the existing Claude/Codex flows while preserving host-specific path rewrites.
Validation
Ran locally:
bun run gen:skill-docsbun run gen:skill-docs --host codexbun run gen:skill-docs --host droidbun test test/gen-skill-docs.test.ts