Files
zopu-code/packages/backend/convex
-Puter ce16813fbc feat(github): live repo search with /user/repos pagination and connection gear UI
- searchGithubRepositories action fetches up to 300 repos via paginated
  /user/repos, filters by name, upserts results into gitRepositories so
  createProjectFromRepository works unchanged; token never leaves backend
- connectGithub now persists grantedScopesJson from getAccessToken().scopes
- listProviderAccounts and list queries return grantedScopesJson
- Gear/settings popover on connected GitHub chip shows scopes and triggers
  linkSocial with expanded scope set [repo, read:org, read:user, user:email]
- RepositorySelector merges debounced live search results with synced snapshot
- Restored CONVEX_SITE_URL env var (removed in prior commit but still used)
2026-08-01 20:33:55 +05:30
..
2026-07-19 02:46:47 +05:30
2026-07-31 19:29:00 +05:30
2026-07-31 23:43:49 +05:30
2026-07-31 23:43:49 +05:30
2026-07-31 23:43:49 +05:30
2026-07-31 23:43:49 +05:30
2026-07-19 02:46:47 +05:30
2026-07-31 23:43:49 +05:30

Convex Backend

Convex is the only application API used by web, desktop, and mobile clients. The active backend covers the durable control plane: tenancy, projects, conversation turns, Signals, Work planning (Definition/Design without approval gates), real Runs and Attempts through AgentOS, artifacts/delivery metadata, and Flue persistence.

Domain relations

  • organizations and organizationMembers own tenancy.
  • projects owns the single v0 Git source; projectContextDocuments stores repository context.
  • conversations, conversationTurns, conversationMessages, and conversationAttachments own chat admission and reactive history.
  • signals, signalConstraints, and signalSources preserve structured intent and exact evidence.
  • works, signalWorkAttachments, and workEvents own proposed Work and provenance.
  • workDefinitions and workQuestions own versioned outcome contracts and structured questions.
  • designPackets and workSlices preserve versioned implementation intent and executable slice order.
  • workRuns, workAttempts, workAttemptEvents, and resolverDecisions own bounded real execution and recovery.
  • workArtifacts and workDeliveries preserve evidence and delivery metadata without performing Git or sandbox work.

The flue* tables are infrastructure tables required by Flue's persistence contract. They are deliberately separate from the product relations.