Interface
How Koder components talk — APIs, IPC, command surfaces, protocols, versioning, error contracts.
Specs
- A11y theme modes (color-blind, low-vision)
themes/a11y-modes.kmdTwo additional theme modes alongside Verge light/dark — `color-blind`
- AI agent state hooks (useKoderAgent / useKoderChat)
patterns/ai-agent-state-hooks.kmdFramework-neutral state-machine contract for any AI chat / agent
- AI agent step trace
ai-ui/agent-step-trace.kmdVertical step list + per-step expand (tool call, args, result, duration)
- AI artifact panel
ai-ui/artifact-panel.kmdSide panel split-screen (desktop/web) or bottom sheet (mobile) for
- AI chat message bubble
ai-ui/chat-message-bubble.kmdBaseline message bubble for any AI chat surface in Koder Stack:
- AI chat surface primitives
patterns/ai-chat-surface.kmdSix composable primitives for assembling an AI chat surface in any
- AI citations / source attribution
ai-ui/citations.kmdFootnote-style inline citations + hover/long-press preview cards +
- AI code block
ai-ui/code-block.kmdAI-generated code rendering with language detection, syntax highlight,
- AI conversation history
ai-ui/conversation-history.kmdSidebar of past AI conversations: date-grouped (Today / Yesterday /
- AI cost display
ai-ui/cost-display.kmdPer-message badge + session header total + breakdown drawer for AI
- AI feature visual language
patterns/ai-feature-visual-language.kmdCanonical visual lexicon for distinguishing AI-driven surfaces from
- AI generated content disclaimer
ai-ui/ai-disclaimer.kmdRisk-tiered disclaimer mechanism for AI-generated content in Koder
- AI inline suggest / ghost text
ai-ui/inline-suggest.kmdCopilot-style ghost text autocomplete in any Koder editor surface
- AI memory drawer
ai-ui/memory-drawer.kmdDrawer to edit AI persistent memory: list/search/edit/delete items;
- AI model selector
ai-ui/model-selector.kmdDropdown/menu for choosing AI model mid-conversation. Capability chips
- AI multimodal input composer
ai-ui/multimodal-input.kmdUnified composer for text + image + file + voice input. Drag-and-drop
- AI prompt template gallery
ai-ui/prompt-gallery.kmdGrid filterable de prompt templates: categoria + tag + author + provider
- AI streaming text
ai-ui/streaming-text.kmdToken-by-token reveal of AI-generated text with cursor, Stop button,
- AI system prompt editor
ai-ui/system-prompt-editor.kmdAdvanced power-user editor for system prompts (Claude Projects style /
- AI thinking state
ai-ui/thinking-state.kmdCollapsible "Thinking..." block for reasoning models (Claude extended
- AI voice mode UI
ai-ui/voice-mode.kmdFullscreen voice conversation mode UI: waveform (input/output color-coded),
- AI welcome / first-run screen
patterns/ai-welcome-screen.kmdFirst-message hero an AI chat surface renders when the user hasn't
- AI/MCP UX/UI specs
ai-ui/README.kmdCatalog of UX/UI specs for AI and MCP (Model Context Protocol)
- Accessibility nutrition labels
accessibility/nutrition-labels.kmdPublic per-product manifest declaring which accessibility features
- Adaptive layouts (list-detail, supporting-pane, feed)
app-layout/adaptive-layouts.kmdThree canonical responsive layouts — list-detail, supporting-pane,
- Admin data table pattern
patterns/admin-data-table.kmdCanonical composition pattern for Koder admin tools that list typed
- Android Compose bindings catalog
develop/android-compose.kmdNative Android Jetpack Compose surface for Koder Design — the
- Audit Frontmatter
audit/frontmatter.kmdConvenção do bloco `audit:` em frontmatter YAML de specs e policies
- Binary, CLI and Desktop App Naming
binaries-and-cli/naming.kmdNomenclatura canônica para executáveis: binário k<slug>, dir
- Brand Score (naming)
naming/brand-score.kmdFórmula do Brand score (Type/Pron/Son/Mem), bandas de rating, checklist
- Browser and platform support matrix
develop/browser-support.kmdPublished support contract for kds.koder.dev and every koder_web_kit
- Callout card pattern
patterns/callout-card.kmdDismissible in-product nudge — illustration + heading + body +
- Charts (line / bar / area / pie / scatter / graph)
components/charts.kmdCanonical chart primitives — line / bar / stacked-bar / area /
- Chat Channel Capability Matrix
chat-channels/capability-matrix.kmdCanonical feature surface that every Koder bot chat channel
- Combobox (typeahead select)
components/combobox.kmdTypeahead input + dropdown of filtered options with optional async
- Command Structure
commands/structure.kmdEstrutura canônica de um comando `/k-*` em `meta/context/commands/`:
- Component Naming Forms
naming/forms.kmdForms of reference for every Koder Stack component: type, display name,
- Content-Security-Policy — canonical posture for Koder Flow + sibling apps
security/csp.kmdNormative CSP posture for Koder Flow and every sibling Koder web
- Data table (admin-grade)
components/data-table.kmdAdmin-grade tabular component — sortable columns, multi-select with
- Date picker (single, range, time)
components/date-picker.kmdAccessible date picker — typed ISO entry + calendar grid for single
- Develop — Wear OS
develop/wear-os.kmdWear OS 6 surface contract: EdgeButton (arc-shaped), Primary Layout
- ESIGN digital signature — Koder Signer US profile (stub)
signing/esign.kmdUS profile (`?jurisdiction=us`) of the Koder Signer service per
- Empty state pattern
patterns/empty-state.kmdPurpose-built UI for "no data yet" surfaces — illustration + heading
- Error Reporting (all modules)
errors/reporting.kmdRelatório de erros para todos os módulos Koder: toggle "Relatório
- Feature deprecation / end-of-life communication
patterns/deprecation.kmdCanonical pattern for communicating a feature's deprecation — in-app
- Feature paywall + access restriction
patterns/feature-paywall.kmdTwo sibling sub-patterns: (a) **paywall** — what surfaces when a
- Guide cue (one-shot onboarding tooltip)
components/guide-cue.kmdOne-shot tooltip-style component with arrow + title + body +
- ICP-Brasil digital signature — Koder Signer contract
signing/icp-brasil.kmdNormative contract for the Koder Signer service
- IDE integration (VSCode + Zed + JetBrains)
develop/ide-integration.kmdContract for in-IDE Koder Design support — spec preview on hover,
- Index filters with saved views
components/index-filters.kmdComposite search + filter chips + saved views companion of
- Info sprinkle (inline help dot)
components/info-sprinkle.kmdLightweight inline help — small "i" icon next to a label that, on
- Inline definition (contextual term explainer)
components/inline-definition.kmdUnderlined term that, on hover / focus / tap, surfaces its definition
- Internationalization (i18n) Cross-Surface Contract
i18n/contract.kmdContrato cross-surface de internacionalização da Koder Stack: idioma
- KDS docs mobile responsiveness
develop/docs-mobile-responsiveness.kmdAudit + ongoing contract that every page on `kds.koder.dev` is
- Koder ID OAuth Flow — TDD Test Template
auth/oauth-flow-test-template.kmdTest template normativo pra implementações da `specs/auth/oauth-flow.kmd`
- Koder ID OAuth Flow — consumer-side contract
auth/oauth-flow.kmdNormative contract for every Koder component that authenticates
- Koder Pair — peer-to-peer device pairing handshake
pair/handshake.kmdProtocolo de handshake para pareamento peer-to-peer entre dispositivos do
- KoderIPC Protocol
ipc/protocol.kmdProtocolo de comunicação entre apps Koder (cross-process, cross-app
- Login Identifier Resolution
identity/login-resolution.kmdHow Koder ID (and any SDK or library that performs client-side
- Login Identifier Resolution — TDD Test Templates
identity/login-resolution-test-template.kmdTDD test templates for the contract in
- MCP elicitation UI
ai-ui/mcp-elicitation.kmdUI for MCP server-initiated user input requests mid-tool-execution
- MCP integration (KDS for AI agents)
develop/mcp-integration.kmdHow AI coding agents (Claude Code, Cursor, Codex, Windsurf) connect to
- MCP permission prompt
ai-ui/mcp-permission-prompt.kmdConsent gate UI before invoking MCP tools with side effects. Implements
- MCP sampling approval
ai-ui/mcp-sampling-approval.kmdUI for MCP server-initiated LLM completion requests delegated to
- MCP server state
ai-ui/mcp-server-state.kmdConnection state visibility for every MCP server attached to a Koder
- MCP tool invocation card
ai-ui/mcp-tool-invocation.kmdVisual indicator + arguments preview + result rendering for every
- Model viewer
components/model-viewer.kmdInteractive 3D model viewer — embed a glTF/GLB mesh that the user can
- Multi-step wizard
patterns/wizard-multistep.kmdLinear or branching multi-step flow with per-step validation, step
- OUIA test hooks (data-ouia-* contract)
testing/ouia-test-hooks.kmdEvery KDS-spec'd component MUST emit Open UI Automation (OUIA)
- Per-platform code samples toggle
develop/code-samples-toggle.kmdEvery component page on `kds.koder.dev` ships code samples for
- Phone input (country selector + i18n format)
components/phone-input.kmdCountry-aware phone input — country selector + locale-aware mask +
- RFC frontmatter — `phases:` array
rfc-frontmatter/phases.kmdConvention for declaring multi-phase migration plans in RFC frontmatter
- Scoped Consent Tokens
identity/consent.kmdKoder ID issues, validates, and revokes signed, scoped consent
- Settings Patterns
settings/patterns.kmdConvenção mestre de tela Settings em apps Koder: hierarquia canônica de
- Skeleton (loading placeholder)
components/skeleton.kmdSkeleton placeholder primitives — block / line / circle / image —
- Snapshot manifest format (.kvg)
snapshots/manifest.kmdNormative format for the Koder Snapshot manifest (`.kvg` — Koder Value
- Standard CLI Flags for Koder Apps
binaries-and-cli/standard-flags.kmdToda app Koder com binário CLI/desktop/TUI (Flutter desktop,
- Variantes — Taxonomy
variants/taxonomy.kmdDefine o termo **variante** como instância executável de um componente
- Voice — Wake-word + Talk Mode (settings + privacy)
voice/wake-word.kmdToggles obrigatórios em Settings (`voice.enabled`, `voice.talkMode`,
- Wire/API compatibility — Koder Flow vs upstream Forgejo
wire-compat/flow-vs-forgejo.kmdNormative contract for the wire/API surfaces Koder Flow promises to
- Workflow Executor Protocol
workflow/executor-protocol.kmdContrato de como o engine do Koder Workflow (services/ai/workflow) invoca
- XR developer preview
develop/xr-preview.kmdForward-looking spec for Koder Design on XR surfaces (Vision Pro,
- XR — canonical composables
develop/xr-composables.kmdMaterial 3 XR canonical composables: Orbiter, SpatialPanel,
- contract
cache-purge/contract.kmd - eIDAS digital signature — Koder Signer EU profile (stub)
signing/eidas.kmdEU profile (`?jurisdiction=eu`) of the Koder Signer service per
- i18n TDD Test Template (Cross-Surface)
i18n/test-template.kmdTemplate normativo de testes TDD pra validar conformidade com
- i18n leak detection
i18n/leak-detection.kmdDetection contract for "i18n leaks" — user-facing string literals
- iOS SwiftUI bindings catalog
develop/ios-swiftui.kmdNative iOS SwiftUI surface for Koder Design — the set of SwiftUI
- kds-public-api
api/kds-public-api.kmd