{"modulePath":"github.com/memcode-ai/memcode","version":"v0.9.2","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/memcode-ai/memcode","name":"main","synopsis":"Command memcode is an agentic coding CLI that builds and maintains a persistent model of your codebase for better context and memory.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/catalog","name":"catalog","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/cmd","name":"cmd","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/gateway","name":"gateway","synopsis":"Package gateway is the embeddable serving core: the OpenAI-compat /v1 surface (chat completions, the models control plane, advisor and web tools) over the shared provider adapters, with a handful of small, generic extension points.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/gateway/cmd/memcode-gateway","name":"main","synopsis":"memcode-api is the hosted inference gateway: the DELIBERATELY SEPARATE service that owns what must never ship in the public CLI binary — backend routing, provider API keys, and metering.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/gateway/internal/advisor","name":"advisor","synopsis":"Package advisor is memcode's \"second opinion\" side-channel: it asks a frontier model from a DIFFERENT vendor (Claude Opus, adaptive thinking on) to advise the best path forward on a situation or a plan.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/gateway/internal/compat","name":"compat","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/gateway/internal/compat/conformance","name":"conformance","synopsis":"Package conformance is the Phase A0 compat-subset contract, executable: a test suite that exercises ANY OpenAI-compatible base URL and reports where it sits against the two-tier contract (plans/flickering-soaring-falcon).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/gateway/internal/identity","name":"identity","synopsis":"Package identity carries the authenticated caller identity on the request context.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/gateway/internal/llm","name":"llm","synopsis":"Package llm is the metered model-execution gateway: the ONE path every model call goes through.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/gateway/internal/provider","name":"provider","synopsis":"Package provider defines the model boundaries the gateway talks to, plus the model-selection doctrine (ResolveModel, ResolveAlias, EffectiveModel).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/gateway/internal/server","name":"server","synopsis":"Package server is the HTTP face of the memcode gateway: bearer-token auth in front of the metered LLM engine (router → Fireworks + the frontier vendor APIs).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/gateway/serve","name":"serve","synopsis":"Package serve composes the gateway core into an http.Handler.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent","name":"agent","synopsis":"Package agent holds the agent runtime and its supporting subsystems.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/acceptance","name":"acceptance","synopsis":"Package acceptance closes memcode's interaction loop by reading the room AFTER the work: did the agent's changes survive contact with the human? Git is the objective evidence most agents never look at — a commit is the strongest \"yes\", a revert the strongest \"no\", a manual edit a \"close, but\".","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/compaction","name":"compaction","synopsis":"Package compaction is the PURE, testable core of in-session context compaction: deciding WHERE to cut a running conversation and rendering the cut-off part into a plain transcript for an Anthropic summarizer.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/edit","name":"edit","synopsis":"Package edit implements the safe edit transaction used by the agent: read → verify the anchor is unique → patch → re-read → show the diff.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/focus","name":"focus","synopsis":"Package focus is memcode's COGNITIVE / attention axis — what the human is attending to — the complement of package room (the emotional / interaction axis).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/input","name":"input","synopsis":"Package input routes a raw interactive line — coalesce / steer / queue / interrupt — so the agent collaborates the way people actually type instead of treating every Enter as a new task.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/introspect","name":"introspect","synopsis":"Package introspect is memcode's read-only intelligence surface — the commands the agent reaches through the single `memcode` tool (overview, map, context, why, recall, next, recap, memories, sources, session, acceptance, doctor, jobs) and the TUI's \"orient me\" slash shortcuts, plus the two ambiguity classifiers (plan-intent, follow-up steer-vs-queue) and the personality greeting.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/jobs","name":"jobs","synopsis":"Package jobs is memcode's background-job layer — the async extension of the shell lanes.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/ledger","name":"ledger","synopsis":"Package ledger holds the cost-accounting readout types and pure aggregation logic carved off the agent Session god-object.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/mood","name":"mood","synopsis":"Package mood detects interaction *friction* — how a user is engaging with the agent — from their terminal input, using a deterministic, dependency-free lexical heuristic.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/permissions","name":"permissions","synopsis":"Package permissions classifies the risk of an action and decides — given the active mode — whether it may run, needs approval, or is blocked.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/plan","name":"plan","synopsis":"Package plan holds the plan-mode lifecycle as a real state machine.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/protocol","name":"protocol","synopsis":"Package protocol drives an interactive memcode session over the stream-json control protocol (newline-delimited JSON on stdio) — the machine-facing twin of the TUI.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/room","name":"room","synopsis":"Package room reads the *room* — the current state of the human↔agent interaction — and turns it into a runtime policy.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/runtime","name":"runtime","synopsis":"Package runtime: this file is the thin seam to the read-only intelligence Engine (internal/agent/introspect).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/secrets","name":"secrets","synopsis":"Package secrets keeps the agent from leaking credentials.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/agent/tools","name":"tools","synopsis":"Package tools declares the typed tool registry exposed to the model.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/artifacts","name":"artifacts","synopsis":"Package artifacts is the CLI's client for memcode.ai's artifact hosting: the agent publishes a self-contained HTML page and gets a stable, unguessable URL (memcode.ai/code/artifact/\u003cid\u003e) back.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/assemble","name":"assemble","synopsis":"Package assemble is the context compiler.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/atomicfile","name":"atomicfile","synopsis":"Package atomicfile writes a file so a crash mid-write never leaves it truncated: content goes to a temp file in the SAME directory, is fsync'd, then renamed over the target (an atomic operation on POSIX).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/authflow","name":"authflow","synopsis":"Package authflow is the browser login flow shared by `memcode login` (cobra) and the TUI's /login slash command.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/banner","name":"banner","synopsis":"Package banner renders memcode's startup wordmark banners.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/browser","name":"browser","synopsis":"Package browser drives a long-lived Chrome instance via the Chrome DevTools Protocol (chromedp) so the agent can fully interact with web pages as tools — the same dispatch as read_file/bash.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/browserrender","name":"browserrender","synopsis":"Package browserrender is memcode's OPTIONAL local browser-render capability: the last-resort fetch tier for JavaScript-rendered pages that raw GET and the server-side web_fetch (both no-JS) cannot read.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/buildinfo","name":"buildinfo","synopsis":"Package buildinfo reports build-time metadata.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/checkpoint","name":"checkpoint","synopsis":"Package checkpoint stores per-turn PRE-IMAGES of files the agent edits, so a bad run can be rewound without touching git: before edit_file mutates a file, its current bytes (or its absence) are snapshotted under .memcode/checkpoints/\u003csession\u003e/\u003cseq\u003e/.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/config","name":"config","synopsis":"Package config loads and persists per-project memcode configuration, stored under a .memcode directory at the project root.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/doctor","name":"doctor","synopsis":"Package doctor runs deterministic health checks over a memcode project — the built-in answer to \"is the runtime actually doing what we think?\".","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/doctrine","name":"doctrine","synopsis":"Package doctrine is the memcode prompt doctrine — client-owned since the one-wire architecture (the CLI is the agent; backends serve models, they never compose prompts).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/events","name":"events","synopsis":"Package events defines the canonical event kinds and a typed helper for appending them.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/explore","name":"explore","synopsis":"Package explore runs a fan-out of read-only \"reader\" sub-agents over a repository and synthesizes their findings into one answer.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks","name":"forks","synopsis":"Package forks holds vendored forks of third-party Go modules that memcode patches locally.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis","name":"vaxis","synopsis":"Package vaxis is a terminal user interface for modern terminals","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/ansi","name":"ansi","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/cmd/vtwidth","name":"main","synopsis":"vtwidth is a utility to measure the width of a string as it will be rendered in the terminal","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/log","name":"log","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/octreequant","name":"octreequant","synopsis":"Package octreequant implements an image quantizer, for transforming bitmap images to palette images, before encoding them to SIXEL.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/sixel","name":"sixel","synopsis":"Package sixel encodes and decodes DEC sixel images.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/ui","name":"ui","synopsis":"Package ui provides a Flutter-inspired widget, layout, and painting layer for terminal applications built with Vaxis.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/ui/uitest","name":"uitest","synopsis":"Package uitest provides small helpers for testing ui widgets without a terminal.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/vxfw","name":"vxfw","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/vxfw/button","name":"button","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/vxfw/center","name":"center","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/vxfw/image","name":"image","synopsis":"Package image provides a vxfw widget for rendering vaxis images.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/vxfw/list","name":"list","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/vxfw/richtext","name":"richtext","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/vxfw/text","name":"text","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/vxfw/textfield","name":"textfield","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/vxfw/vxlayout","name":"vxlayout","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/widgets/align","name":"align","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/widgets/border","name":"border","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/widgets/list","name":"list","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/widgets/pager","name":"pager","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/widgets/progress","name":"progress","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/widgets/scrollbar","name":"scrollbar","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/widgets/spinner","name":"spinner","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/widgets/term","name":"term","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/widgets/term/pty","name":"pty","synopsis":"Package pty provides pseudo-terminal support for the terminal widget.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/forks/vaxis/widgets/textinput","name":"textinput","synopsis":"","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/gateway/client","name":"client","synopsis":"Package client is the CLI's HTTP client for the memcode gateway's SIDE-CHANNEL surfaces: /v1/advisor, /v1/websearch, /v1/webfetch, and the /v1/byok key-management routes.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/gitlog","name":"gitlog","synopsis":"Package gitlog is a tiny, dependency-free reader over `git log`, shared by the context compiler, provenance, predict and producer attribution.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/hooks","name":"hooks","synopsis":"Package hooks runs user-defined shell commands at agent lifecycle points — the extensibility seam for policy and automation the prompt can't provide (deterministic guards, notifications, context injection).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/jobs","name":"jobs","synopsis":"Package jobs runs and tracks detached background agent sessions.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/knowledge","name":"knowledge","synopsis":"Package knowledge gives memcode the baseline a senior engineer just HAS — curated, authoritative facts and idioms for common stacks (Vercel, Next, React, Node, Supabase…), embedded in the binary so they travel into any repo.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/learn","name":"learn","synopsis":"Package learn is the reconciler: it turns source documents and deterministic evidence into adjudicated claims.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/lessons","name":"lessons","synopsis":"Package lessons is the distilled-failure memory: strategy-level lessons (\"when X breaks, do Y\") extracted from the agent's own failure-and-repair episodes, accumulated as lesson_signal events, and promoted to standing plaintext files once they recur — the preference_signal promotion rigor applied to failures (≥3 signals, ≥2 sessions, weighted score ≥ 2.0).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/llm","name":"llm","synopsis":"Package llm is the metered model-execution gateway: the ONE path every model call goes through.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/lsp","name":"lsp","synopsis":"Package lsp is memcode's resident Language Server Protocol client — the \"give the agent eyes\" layer.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/mcp","name":"mcp","synopsis":"Package mcp gives memcode an MCP (Model Context Protocol) client: it discovers the servers configured across scopes (local / project / user), connects to them (stdio, streamable HTTP, or SSE), lists their tools, and exposes a single Call entrypoint.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/membench","name":"membench","synopsis":"Package membench evaluates memcode's session-memory retrieval against public conversational-memory benchmarks (LongMemEval, LoCoMo) with ZERO model calls.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/objectives","name":"objectives","synopsis":"Package objectives manages the human-authored goals that give the engine its sense of direction (\"what we're trying to do\").","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/overview","name":"overview","synopsis":"Package overview synthesizes a CANONICAL current-state overview of a project — the answer to \"what is this now?\" — from fresh signals (recent commits, active objectives, current claims, recent-active subsystems) rather than rebuilding it from random old docs/memories each time.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/plans","name":"plans","synopsis":"Package plans is the user-level store of saved plans — one markdown file per plan under ~/.memcode/plans, mirroring Claude Code's ~/.claude/plans.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/predict","name":"predict","synopsis":"Package predict infers where a developer was working and what they were about to do next.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/prefs","name":"prefs","synopsis":"Package prefs is the preference-learning reducer.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/producer","name":"producer","synopsis":"Package producer attributes work to who/what produced it — a human or a specific AI tool — from commit metadata.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/provenance","name":"provenance","synopsis":"Package provenance answers \"why is this here?\" for a file, directory or subsystem — the question humans constantly ask and agents are bad at.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/provider","name":"provider","synopsis":"Package provider defines the (model, embedding, edit-apply) boundaries the engine talks to, plus the default Claude model tiers.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/providers/anthropic","name":"anthropic","synopsis":"Package anthropicwire is the Anthropic Messages API adapter — the ONE implementation of the Messages dialect (cache_control placement, adaptive thinking, streaming decode, tool calls, native web search, usage parsing), shared by the hosted gateway (its own or the user's BYOK key) and the CLI's direct endpoint mode (api.anthropic.com).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/providers/compat","name":"compat","synopsis":"Package compat is the CLI's ONLY turn transport: a stdlib-only HTTP client speaking OpenAI-compat chat/completions — streaming SSE, tools + forced tool_choice, image/file parts — against any base URL: the memcode gateway at {api}/v1 (Memcode=true: the optional extensions ride) or any arbitrary compat endpoint (Memcode=false: pure standard wire).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/providers/gemini","name":"gemini","synopsis":"Package geminiwire is the Gemini adapter (google.golang.org/genai) — the ONE implementation of the Gemini dialect for BOTH backends: the Developer API (API key) and Vertex AI (service-account JSON, passed in — credential RESOLUTION stays with the caller).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/providers/memcode","name":"memcode","synopsis":"Package memcode is the memcode PROTOCOL's provider: the OpenAI-compat chat/completions dialect PLUS the memcode extensions — the two-system stable/volatile convention, the memcode_opaque reasoning round-trip, the `memcode` response object, the enforced `memcode_billing` lane, session affinity via `user`, and the GET /v1/models routing CONTROL PLANE the CLI-side selection policy runs on.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/providers/openai","name":"openai","synopsis":"Package openaiwire is the OpenAI Responses API adapter — the ONE implementation of the Responses dialect (request encoding, streaming decode, reasoning-item round-trip, tool calls, usage parsing), shared by the hosted gateway (which injects its own or the user's BYOK key) and the CLI's direct endpoint mode (api.openai.com / api.x.ai).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/providers/provcore","name":"provcore","synopsis":"Package provcore is the shared kernel under the provider WIRE adapters: the bounded retry loop, the tuned turn HTTP client, the native web-search tool swap, and the context-overflow classification — protocol plumbing shared by every adapter (the gateway's and the extracted ones alike), with NO routing policy, keys, or metering in it.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/recall","name":"recall","synopsis":"Package recall answers natural-language questions about a repository's prose memory — \"where did we decide X?\", \"what's our policy on Y?\" — by ranking the corpus of source docs, adjudicated claims, and human decisions against the question with BM25 plus memcode-aware boosts (claim status, recency, scope, source kind, exact phrase).","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/repofiles","name":"repofiles","synopsis":"Package repofiles enumerates the files that are actually part of a project — honoring .gitignore — so the engine never mistakes vendored, generated, cached or ignored files (node_modules, docker volumes, build output) for real source.","isRedistributable":true},{"path":"github.com/memcode-ai/memcode/internal/sandbox","name":"sandbox","synopsis":"Package sandbox wraps agent shell commands in an OS-level containment layer — defense-in-depth UNDER the permission classifier, not a replacement for it.","isRedistributable":true}],"total":116,"nextPageToken":"1cece9fb464dd895957111fb527becfc"}}
