Bundle a pure C Node-API process ancestry addon, support Windows runner installation and executable discovery, and make runner lifecycle and logs cross-platform.\n\nAdd Windows CI and release packaging for the native addon.\n\nCloses #210
Unify the app into a single Worker deployment:
- Move functions/api/ → server/, add worker/index.ts entry point
- Merge relay-worker DO (TunnelRelay) into the main worker
- Replace Pages Functions with @cloudflare/vite-plugin build
- Integrate share SSR (OG meta injection) into Hono routes
- Remove dayjs dep from shared (native Date suffices)
- Simplify dev to single `vite dev`, deploy via CF Git integration
- Delete packages/relay-worker/ and Pages-specific _routes.json
- Auto-clone directory uses full URL path (github.com/owner/repo) to avoid
name collisions across hosts
- CI deploy uses --branch master to correctly target production environment
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add pages_build_output_dir so wrangler reads [vars] and d1_databases
- BETTER_AUTH_URL set to primary domain ak.tftt.cc
- TRUSTED_ORIGINS includes both ak.tftt.cc and pages.dev
- Preview env has separate config
- CI deploy drops --project-name, lets wrangler read config from wrangler.toml
- Remove root wrangler.jsonc that was hijacking config detection
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- push to master: lint, test, deploy to CF Pages (preview)
- push tag v*: lint, test, deploy to CF Pages (production), publish CLI to npm
- PR: lint and test only
- npm publish via OIDC Trusted Publishing (no token needed)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>