Repository navigation
Decompose/ai agents flat modules - #18
Open
letnull19A wants to merge 315 commits into
Open
letnull19A wants to merge 315 commits into
letnull19A wants to merge 315 commits into
Conversation
Add GET /api/v1/health alongside neutral /health so backend-backed CLI clients can probe liveness through the versioned API surface.
Replace direct cloud/serve chat composition with backend session/message requests keyed by RUSH_CODE_BACKEND_URL; refresh env example, README and AGENTS docs.
Add online/offline indicator beside the team signature with periodic health probe; fix signature to web2bizz.team.
Migrate sidebar groups to Collapsible primitives; render no-membership hint inside the org dropdown with i18n strings.
Remove OPENCODE_TOKEN password handling from serve fallback and docs; header omitted, 401 hint gone.
…d effective-config
Add SessionsResponse (Session[]) to the session contract pair and mirror it in contracts/openapi.yaml so the v1 session list endpoint has a wire-level schema.
…points Require ?projectId on every opencode proxy route and resolve the project directory through the org access gate, then expose the v1 session list and message endpoints.
State the React Query data-hook contract in the root AGENTS.md and add backend/frontend agent guides with the hook, query-key and error-format rules.
Document OPENCODE_PASSWORD for opencode serve Basic auth and switch the legacy mock identity fallback to a strict unset→false default.
…ons by project Migrate the frontend data hooks to React Query: useQuery/useMutation/useQueryClient through createQueryClient in src/providers.tsx, with query keys centralized in src/hooks/query-keys.ts. Scope sessions by project: sessionsQueryKey(projectId) replaces the unscoped session key, and useOpencodeSessions/useOpencodeChat/useOpencodeEvents plus the streaming useChat hook are rebuilt on top of React Query (AbortController, 1s to 15s backoff for SSE reconnects). Extract session-expiry handling into src/lib/session-expired.ts and reuse it across the API client and the affected pages. Also drop the dead brand-glow styling: .logo-glow, .shadow-brand-glow, the global shadow reset and the --shadow-brand-glow/--filter-logo-glow tokens are removed from app/globals.css, the logo-glow class is dropped from SidebarBrand, and apps/frontend/DESIGN.md is synced accordingly.
Pre-existing decompose-branch work committed whole-file per scope decision: ai/agents registry, guards, storage-unavailable, db exceptions/utils, modes/subagent/workflows/agents-registry scaffold. Unrelated to PLN-2.
Pre-existing branch specs committed whole-file per scope decision: sessions messaging/stream/history, runner loop, sse-relay, retry, guards, organizations, users. No new specs written.
Pre-existing branch specs committed whole-file per scope decision: useChat branches/chain, chat-thread branches/chain, chat-chain, tool-timeline types. No new specs written.
SSE replay of old max-steps-exceeded no longer toasts without an active turn; kit Toaster deduped via sessionStorage.
Providers are pure JSX composition; kit ThemeProvider+ThemeScript own the theme, Toaster lives in ToasterHost. Layout icons part of this file moves to /assets paths (assets step follows).
Single static source public/assets; layout icons point at /assets/*, Sidebar and route-guard updated.
Providers live in src/lib/providers with a barrel export; layout imports from @/lib/providers. Order is now ThemeProvider > I18nProvider > QueryClientProvider > children.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.