Skip to content

chore(oss): cleanup — remove community desktop, strip hosted defaults, premium pre-push guard#28

Merged
1lystore merged 13 commits into
mainfrom
chore/oss-cleanup-and-cloud-connect
Jun 13, 2026
Merged

chore(oss): cleanup — remove community desktop, strip hosted defaults, premium pre-push guard#28
1lystore merged 13 commits into
mainfrom
chore/oss-cleanup-and-cloud-connect

Conversation

@1lystore

Copy link
Copy Markdown
Owner

Makes the OSS repo a clean, self-sufficient protocol stack before new feature work lands.

What changed

  • Community desktop removed — the desktop GUI is now a private product; OSS self-host = CLI + protocol packages.
  • No hosted defaults in OSSDEFAULT_RELAY_URL / RELAY_URLS / vault telegram-cloud URL / mobile-relay are now env-driven (DCP_RELAY_URL, DCP_TELEGRAM_CLOUD_URL) with empty (require-config) defaults, so self-hosters point at their own infra instead of ours. CLI proxy/connect gained require-config guards; vault telegram paths go inert (clean errors) until configured.
  • Pre-push premium guardscripts/publish-guard.mjs now scans git-tracked files for premium markers and fails; wired as a real pre-push hook (.githooks/pre-push + core.hooksPath, auto-installed by the prepare script). Negative-tested.
  • Infra configs removedfly.toml / fly.telegram.toml untracked + gitignored; sanitized *.example templates added with placeholder app names + BYO-token note.
  • @dcprotocol/telegram metadata: license MIT→Apache-2.0, added repository/homepage/bugs. Telegram stays generic (BYO bot token).

Verification

  • All protocol packages build/typecheck clean.
  • Unit tests pass (core 190, client 55, telegram 63, vault + agent green).
  • 12/12 security regression tests pass.
  • Publish guard passes (ran in pre-push hook).

No npm publish and no relay redeploy in this PR — those stay gated.

Arstudioz00 and others added 13 commits May 19, 2026 22:23
…ate product

Open-core cleanup: the desktop GUI ships as the private official product (free+premium). OSS self-host is via the CLI + protocol packages. Removes packages/dcp-desktop, its build-desktop workflow, and its cargo dependabot entry. No OSS package depends on it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…telegram metadata

- Default-URL refactor: OSS no longer defaults to our hosted relay/telegram infra.
  DEFAULT_RELAY_URL / RELAY_URLS / TELEGRAM_CLOUD_URL / mobile-relay are now
  env-driven (DCP_RELAY_URL / DCP_TELEGRAM_CLOUD_URL) with empty (require-config)
  defaults. CLI proxy/connect gain require-config guards; vault telegram paths are
  inert (clean errors) until an operator points at their own service. Self-host =
  bring-your-own-infra; managed product injects our endpoints explicitly.
- Pre-push premium guard: publish-guard.mjs scans git-tracked files for premium
  markers (dcp-premium-cloud, DCP_PREMIUM_*, ~/.dcp/premium, dcp_premium, mobile
  consent-bridge symbols) and fails. Wired via .githooks/pre-push + core.hooksPath
  (auto-installed by the prepare script).
- Removed our Fly infra configs (fly.toml, fly.telegram.toml) from tracking +
  gitignored them; added sanitized *.example templates with placeholder app names.
- dcp-telegram package.json: license MIT->Apache-2.0, added repository/homepage/bugs.

All protocol packages build clean; unit tests + 12/12 security regression tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@1lystore 1lystore merged commit cf94728 into main Jun 13, 2026
3 checks passed
@1lystore 1lystore deleted the chore/oss-cleanup-and-cloud-connect branch June 13, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants