feat(create-coline-app): editor, integration, and external-backend templates
Radin committed
- Author
- Radin · radin@coline.appOct 1, 2026 at 03:50
- Committer
- Radin · radin@coline.appOct 1, 2026 at 03:50
- Parents
- 6d56596ab810
feat(create-coline-app): editor, integration, and external-backend templates `create-coline-app <dir> --template <name>` overlays a template on the backendless base, keeping its agent guidance, skills, and UI examples: - editor: an outline file type with a React block editor (markdown-style shortcuts, keyboard navigation, autosave with expectedVersion, a conflict banner with load-theirs/keep-mine), tree previews, a search index, and two Kairo tools. - integration: a GitHub issues inbox with an OAuth connection, a resumable sync job (continueWith per page, live progress), an hourly schedule, a signed webhook endpoint, aggregate-backed Kairo tool, and a dashboard (stats, charts, DataGrid, connect, live updates sheet). - external-backend: tools and the mobile screen run on the developer's Node server (createColineAppHandler); Coline hosts the React UI. Preview: a seed may export `options` (fake net.fetch, connections already made) and preview runs queued jobs, so the integration template syncs end to end locally. All four templates pass tsc, `coline-app check`, and build their previews against the workspace packages. Platform and SDK changes these needed: - External delivery falls back to a COLINE_DELIVERY_SECRET developer secret, so external store apps work without each admin copying it; the console lists it as required for external apps. - createColineAppHandler rejects replayed delivery ids (in-memory by default, pluggable `seenDelivery` for multi-instance servers). - The developer overview shows the OAuth callback URL to register. - @colineapp/sdk/v2 exports ColineNetFetchInput/Result; @colineapp/ui re-exports motion, AnimatePresence, LayoutGroup, useReducedMotion. - Base template AGENTS.md documents jobs, endpoints, connections, events, schedules, richer collections, files, public pages, and the kit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed+2−0