Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package app implements the phased bootstrap for the memQL service.
|
Package app implements the phased bootstrap for the memQL service. |
|
cmd
|
|
|
action-upgrade
command
Command action-upgrade is the Phase 5 verified upgrade-migration tool for the action library (#1740, epic #1734).
|
Command action-upgrade is the Phase 5 verified upgrade-migration tool for the action library (#1740, epic #1734). |
|
admin-preview
command
Command admin-preview renders every templ-backed admin page with representative mock data and writes the resulting HTML into /tmp/admin-preview/.
|
Command admin-preview renders every templ-backed admin page with representative mock data and writes the resulting HTML into /tmp/admin-preview/. |
|
deploy-gate-check
command
Command deploy-gate-check is the in-cluster deploy-gate client (deployment-v2 Phase 3, znasllc-io/memql#701/#712).
|
Command deploy-gate-check is the in-cluster deploy-gate client (deployment-v2 Phase 3, znasllc-io/memql#701/#712). |
|
docs-gen
command
docs-gen emits the machine-generated reference for the documentation bundle: a concept catalog derived from the live DSL.
|
docs-gen emits the machine-generated reference for the documentation bundle: a concept catalog derived from the live DSL. |
|
envscan
command
Command envscan is the shared env-var classifier for Epic 7 (memql#2103).
|
Command envscan is the shared env-var classifier for Epic 7 (memql#2103). |
|
envscan/scan
Package scan is the reusable core of the env-var classifier for Epic 7 (memql#2103).
|
Package scan is the reusable core of the env-var classifier for Epic 7 (memql#2103). |
|
genesis-seal
command
Command genesis-seal seals a plaintext .env into the encrypted ~/.memql/genesis.znas envelope that the local k3d cluster decrypts into k8s Secrets at `make up` (scripts/k3d/seed-secrets.sh).
|
Command genesis-seal seals a plaintext .env into the encrypted ~/.memql/genesis.znas envelope that the local k3d cluster decrypts into k8s Secrets at `make up` (scripts/k3d/seed-secrets.sh). |
|
harness-eval
command
harness-eval runs the MemQL-native agent harness eval scaffold (#589): a fixed set of task fixtures driven through the harness reconciler over an in-memory graph (no Postgres, no LLM), scored on task success, step count, tool-call count, token cost, and wall-clock, then checked against a regression threshold.
|
harness-eval runs the MemQL-native agent harness eval scaffold (#589): a fixed set of task fixtures driven through the harness reconciler over an in-memory graph (no Postgres, no LLM), scored on task success, step count, tool-call count, token cost, and wall-clock, then checked against a regression threshold. |
|
healthcheck
command
Package main provides a minimal health check binary for distroless containers.
|
Package main provides a minimal health check binary for distroless containers. |
|
memql-arch
command
memql-arch walks a Go workspace and emits a topology.model.json describing its architecture: cluster, services, packages, types, and the relationships between them.
|
memql-arch walks a Go workspace and emits a topology.model.json describing its architecture: cluster, services, packages, types, and the relationships between them. |
|
memql-lsp
command
Command memql-lsp is the MemQL offline Language Server: a standalone binary that speaks LSP over stdio and serves .memql files from disk, with no cluster and no auth (handoff Part I §4).
|
Command memql-lsp is the MemQL offline Language Server: a standalone binary that speaks LSP over stdio and serves .memql files from disk, with no cluster and no auth (handoff Part I §4). |
|
memql-lsp/internal/grammar
Package grammar generates the baseline TextMate grammar (memql.tmLanguage.json) for .memql files from the machine-readable DSL spec (component/language/dslspec) -- the same source of truth MemQL Sense projects from.
|
Package grammar generates the baseline TextMate grammar (memql.tmLanguage.json) for .memql files from the machine-readable DSL spec (component/language/dslspec) -- the same source of truth MemQL Sense projects from. |
|
memql-lsp/internal/position
Package position converts between LSP and MemQL Sense coordinate systems -- the single most likely source of bugs in the language server (handoff §4), so it is isolated here and gated by table-driven round-trip tests.
|
Package position converts between LSP and MemQL Sense coordinate systems -- the single most likely source of bugs in the language server (handoff §4), so it is isolated here and gated by table-driven round-trip tests. |
|
memqlfmt
command
memqlfmt is the canonical formatter for MemQL source files.
|
memqlfmt is the canonical formatter for MemQL source files. |
|
memqllint
command
memqllint runs the same DSL-load + diagnostic pipeline the engine runs at startup, on demand against a .memql file or a whole DSL root.
|
memqllint runs the same DSL-load + diagnostic pipeline the engine runs at startup, on demand against a .memql file or a whole DSL root. |
|
memqlmigrate
command
memqlmigrate applies named syntax rewrites to MemQL source files.
|
memqlmigrate applies named syntax rewrites to MemQL source files. |
|
component
|
|
|
actions
Package actions is the registry + runtime for AUTHORED actions (memql#2218, behavioral-constructs ADR §2.3).
|
Package actions is the registry + runtime for AUTHORED actions (memql#2218, behavioral-constructs ADR §2.3). |
|
actions/capability
Package capability is the authoritative registry of the action-construct capability vocabulary and its side-effect classification (memql#2219, behavioral-constructs ADR §2.3 + §3 + §7).
|
Package capability is the authoritative registry of the action-construct capability vocabulary and its side-effect classification (memql#2219, behavioral-constructs ADR §2.3 + §3 + §7). |
|
automations
budget.go
|
budget.go |
|
automations/steps
Package steps provides step executors for the automation engine.
|
Package steps provides step executors for the automation engine. |
|
database/dbtest
Package dbtest provides shared setup for the Postgres-gated ("*_db_test.go") suites that CI runs together in the db-tests lane (.github/workflows/ci.yml) against ONE shared database.
|
Package dbtest provides shared setup for the Postgres-gated ("*_db_test.go") suites that CI runs together in the db-tests lane (.github/workflows/ci.yml) against ONE shared database. |
|
database/memory-nodes
Package memoryNodes -- concept_parser.go
|
Package memoryNodes -- concept_parser.go |
|
deploycontrol
capability_result.go is the Go side of the capability-script contract (docs/internal/design/capability-script-contract.md, znasllc-io/memql#2221).
|
capability_result.go is the Go side of the capability-script contract (docs/internal/design/capability-script-contract.md, znasllc-io/memql#2221). |
|
genesis
Package genesis owns the .env -> genesis.znas orchestration: reads a developer's .env, validates it against memql's manifest, and seals the result into an encrypted envelope under MEMQL_MASTER_KEY.
|
Package genesis owns the .env -> genesis.znas orchestration: reads a developer's .env, validates it against memql's manifest, and seals the result into an encrypted envelope under MEMQL_MASTER_KEY. |
|
harness
Package harness holds the MemQL-native agent harness control plane (epic #590).
|
Package harness holds the MemQL-native agent harness control plane (epic #590). |
|
harness/actionpin
Package actionpin implements Phase 5 of the action library (#1740, epic #1734): version pinning of action references and the verified upgrade migration.
|
Package actionpin implements Phase 5 of the action library (#1740, epic #1734): version pinning of action references and the verified upgrade migration. |
|
harness/actionplan
Package actionplan implements Phase 3 retrieval-augmented composition for the action library (#1738, epic #1734): the planner's per-sub-goal decision against the action library, mirroring the agent route/upgrade/provision thresholds one level down (over actions instead of agents).
|
Package actionplan implements Phase 3 retrieval-augmented composition for the action library (#1738, epic #1734): the planner's per-sub-goal decision against the action library, mirroring the agent route/upgrade/provision thresholds one level down (over actions instead of agents). |
|
harness/actionreplay
Package actionreplay implements Phase 1 literal replay for the action library (#1736, epic #1734): re-executing the concrete capability calls a minted action recorded, with no LLM, keyed on an input fingerprint and gated by a result fingerprint.
|
Package actionreplay implements Phase 1 literal replay for the action library (#1736, epic #1734): re-executing the concrete capability calls a minted action recorded, with no LLM, keyed on an input fingerprint and gated by a result fingerprint. |
|
harness/actiontrace
Package actiontrace implements Phase 0 trace capture for the action library (#1735, epic #1734): deriving value + resource provenance from the ordered capability calls an LLM step performed.
|
Package actiontrace implements Phase 0 trace capture for the action library (#1735, epic #1734): deriving value + resource provenance from the ordered capability calls an LLM step performed. |
|
harness/actiontrust
Package actiontrust implements Phase 4 of the action library (#1739, epic #1734): the surface-aware trust gate and the reliability lifecycle that decides when a minted action is safe to offer for replay.
|
Package actiontrust implements Phase 4 of the action library (#1739, epic #1734): the surface-aware trust gate and the reliability lifecycle that decides when a minted action is safe to offer for replay. |
|
harness/parambind
Package parambind implements Phase 3 automatic parameterization for the action library (#1738, epic #1734): replaying a minted action on VARYING input by binding each captured arg from the current step input, rather than replaying the literal recorded args (Phase 1).
|
Package parambind implements Phase 3 automatic parameterization for the action library (#1738, epic #1734): replaying a minted action on VARYING input by binding each captured arg from the current step input, rather than replaying the literal recorded args (Phase 1). |
|
harness/surfaceresolver
Package surfaceresolver implements Phase 2 of the action library (#1737, epic #1734): binding an abstract capability to a concrete execution surface at replay time, and the resource-coupling correctness constraint (decision A) that keeps coupled actions in one world.
|
Package surfaceresolver implements Phase 2 of the action library (#1737, epic #1734): binding an abstract capability to a concrete execution surface at replay time, and the resource-coupling correctness constraint (decision A) that keeps coupled actions in one world. |
|
identity
Package identity implements the in-house identity service — the authentication provider for the cluster.
|
Package identity implements the in-house identity service — the authentication provider for the cluster. |
|
identity/abuse
Package abuse implements the anti-abuse middleware stack for the identity service.
|
Package abuse implements the anti-abuse middleware stack for the identity service. |
|
identity/admin
Package admin hosts the operator-facing admin web app for the identity service.
|
Package admin hosts the operator-facing admin web app for the identity service. |
|
identity/badge
Package badge implements registered operator badges for shared terminals (memql#2513).
|
Package badge implements registered operator badges for shared terminals (memql#2513). |
|
identity/emailsender
Package emailsender bridges the identity service's magic-link issuer to the engine-resident email integration plug-in.
|
Package emailsender bridges the identity service's magic-link issuer to the engine-resident email integration plug-in. |
|
identity/http
Package http hosts the HTTP handlers identity binaries serve.
|
Package http hosts the HTTP handlers identity binaries serve. |
|
identity/magiclink
Package magiclink owns the issuance and verification of magic-link tokens.
|
Package magiclink owns the issuance and verification of magic-link tokens. |
|
identity/pat
Package pat implements Personal Access Tokens for CLI clients.
|
Package pat implements Personal Access Tokens for CLI clients. |
|
identity/refresh
Package refresh implements the /auth/refresh endpoint.
|
Package refresh implements the /auth/refresh endpoint. |
|
identity/registration
Package registration owns the policy decisions that fire when a previously-unknown email shows up at /auth/magic-link.
|
Package registration owns the policy decisions that fire when a previously-unknown email shows up at /auth/magic-link. |
|
identity/verifier
Package verifier holds the per-node JWT verifier that bff, voice, cognition, agent, and planner binaries use to validate access tokens minted by the identity service.
|
Package verifier holds the per-node JWT verifier that bff, voice, cognition, agent, and planner binaries use to validate access tokens minted by the identity service. |
|
identity/web
Package web hosts the public-facing identity web app: login form, check-email page, magic-link landing page, error page, first-run wizard, legal markdown, and the per-user /me/* dashboard.
|
Package web hosts the public-facing identity web app: login form, check-email page, magic-link landing page, error page, first-run wizard, legal markdown, and the per-user /me/* dashboard. |
|
identity/web/templ
templ: version: v0.3.1020
|
templ: version: v0.3.1020 |
|
identity/workerpairing
Package workerpairing implements short-lived pairing codes for the computer-use enrollment flow.
|
Package workerpairing implements short-lived pairing codes for the computer-use enrollment flow. |
|
identity/workertoken
Package workertoken implements credentials for the workers (computer-use) feature.
|
Package workertoken implements credentials for the workers (computer-use) feature. |
|
inbound
Package inbound implements the engine's inbound-delivery receiver (memql#2957): a signature-verifying webhook endpoint that stages v1:platform:inboundRequest rows which product DSL then drains with an ordinary automation.
|
Package inbound implements the engine's inbound-delivery receiver (memql#2957): a signature-verifying webhook endpoint that stages v1:platform:inboundRequest rows which product DSL then drains with an ordinary automation. |
|
language/compiler
Package compiler transpiles MemQL AST to various output formats.
|
Package compiler transpiles MemQL AST to various output formats. |
|
language/dslspec
Package dslspec is the single machine-readable source of truth for the memQL DSL authoring surface: the top-level constructs an author may write, the keywords / operators / field-types the grammar accepts, the annotations each construct allows, and the "legal-next" rules that drive context-aware completion.
|
Package dslspec is the single machine-readable source of truth for the memQL DSL authoring surface: the top-level constructs an author may write, the keywords / operators / field-types the grammar accepts, the annotations each construct allows, and the "legal-next" rules that drive context-aware completion. |
|
language/pagination
Package pagination is the single source of truth for memQL's pagination authoring rule (epic 5, issue 5.1 / memql#1965).
|
Package pagination is the single source of truth for memQL's pagination authoring rule (epic 5, issue 5.1 / memql#1965). |
|
mcp
Package mcp implements the memQL MCP (Model Context Protocol) server -- the protocol head that lets external MCP hosts (Claude Desktop / Claude Code and others) talk to a memQL deployment's tool surface.
|
Package mcp implements the memQL MCP (Model Context Protocol) server -- the protocol head that lets external MCP hosts (Claude Desktop / Claude Code and others) talk to a memQL deployment's tool surface. |
|
memql
ai_guard.go
|
ai_guard.go |
|
memql/baseloader
Package baseloader holds the generic walk-and-register pipeline every unified loader uses: read all .memql files in the DSL tree, extract per-keyword slices, parse each slice via the per-construct parser, and register the result through a supplied callback.
|
Package baseloader holds the generic walk-and-register pipeline every unified loader uses: read all .memql files in the DSL tree, extract per-keyword slices, parse each slice via the per-construct parser, and register the result through a supplied callback. |
|
memql/callgraph
Package callgraph enforces the behavioral DSL call-graph contract from the ADR (docs/internal/design/dsl-behavioral-constructs-adr.md, §2):
|
Package callgraph enforces the behavioral DSL call-graph contract from the ADR (docs/internal/design/dsl-behavioral-constructs-adr.md, §2): |
|
memql/dslimports
Package dslimports is the integration layer that ties the parser, the path resolver, and the import-graph machinery together into one entry point the engine + validator CLI call.
|
Package dslimports is the integration layer that ties the parser, the path resolver, and the import-graph machinery together into one entry point the engine + validator CLI call. |
|
memql/sense
Package sense provides the MemQL Sense language service -- syntax highlighting, autocompletion, diagnostics, hover info, and signature help for .memql files.
|
Package sense provides the MemQL Sense language service -- syntax highlighting, autocompletion, diagnostics, hover info, and signature help for .memql files. |
|
memql/taskstamp
Package taskstamp owns the engine-side auto-stamping of v1:planner:task rows on every agent tool call (Q5 + Q6 in the planner-redesign brainstorm).
|
Package taskstamp owns the engine-side auto-stamping of v1:planner:task rows on every agent tool call (Q5 + Q6 in the planner-redesign brainstorm). |
|
node
Package node provides the distributed node identity, peer management, and NodeService gRPC server for inter-node communication in a memQL cluster.
|
Package node provides the distributed node identity, peer management, and NodeService gRPC server for inter-node communication in a memQL cluster. |
|
outbound
Package outbound implements the engine-drained outbound-delivery worker (memql#2521): products stage v1:platform:outboundRequest rows from pure DSL; this worker drains pending/retrying rows, performs the delivery through deploy-configured transports (email / webhook), and stamps status transitions back onto the rows.
|
Package outbound implements the engine-drained outbound-delivery worker (memql#2521): products stage v1:platform:outboundRequest rows from pure DSL; this worker drains pending/retrying rows, performs the delivery through deploy-configured transports (email / webhook), and stamps status transitions back onto the rows. |
|
router
Package router is the memQL AI Router: the single entry point every AI call flows through.
|
Package router is the memQL AI Router: the single entry point every AI call flows through. |
|
server
Package server implements memQL's HTTP surface: the documented exceptions to the gRPC-first endpoint policy (health probes, WebSocket upgrades, file uploads, inbound webhooks) plus the middleware they share.
|
Package server implements memQL's HTTP surface: the documented exceptions to the gRPC-first endpoint policy (health probes, WebSocket upgrades, file uploads, inbound webhooks) plus the middleware they share. |
|
server/audiows
Package audiows provides a WebSocket handler for real-time audio streaming and speech-to-text transcription in MemQL spaces.
|
Package audiows provides a WebSocket handler for real-time audio streaming and speech-to-text transcription in MemQL spaces. |
|
server/polyphonws
Package polyphonws provides HTTP handlers for the Polyphon multi-agent voice system.
|
Package polyphonws provides HTTP handlers for the Polyphon multi-agent voice system. |
|
worker
Package worker hosts the WorkerService gRPC surface and the in-memory registry of connected memql-cockpit workers.
|
Package worker hosts the WorkerService gRPC surface and the in-memory registry of connected memql-cockpit workers. |
|
architecture
module
|
|
|
auth
module
|
|
|
bus
module
|
|
|
bus/gen
module
|
|
|
compose
module
|
|
|
config
module
|
|
|
envregistry
module
|
|
|
events
module
|
|
|
fileprocessor
module
|
|
|
frontdoor
module
|
|
|
grpc/gen
module
|
|
|
healing
module
|
|
|
language/annotations
module
|
|
|
language/ast
module
|
|
|
language/dslclause
module
|
|
|
metadata
module
|
|
|
metrics
module
|
|
|
node/gen
module
|
|
|
observe
module
|
|
|
planner
module
|
|
|
polyphon
module
|
|
|
provenance
module
|
|
|
safety
module
|
|
|
secret
module
|
|
|
skills
module
|
|
|
work
module
|
|
|
workjournal
module
|
|
|
core
module
|
|
|
Package dsl is the unified embed surface for the new domain-first .memql tree.
|
Package dsl is the unified embed surface for the new domain-first .memql tree. |
|
examples
|
|
|
deploypack
Package deploypack is the memQL DEPLOY PACK (Epic 2 / #2095) -- the dogfood pack that packages memQL's own deployment workflow as a memQL pack.
|
Package deploypack is the memQL DEPLOY PACK (Epic 2 / #2095) -- the dogfood pack that packages memQL's own deployment workflow as a memQL pack. |
|
referencepack
Package referencepack is the minimal REFERENCE PACK for the memQL pack model (epic 2, issue 2.5).
|
Package referencepack is the minimal REFERENCE PACK for the memQL pack model (epic 2, issue 2.5). |
|
Package integrations provides external service integrations for MemQL.
|
Package integrations provides external service integrations for MemQL. |
|
actionsearch
Package actionsearch exposes the `searchActions` DSL builtin (#1758, epic #1734): a pgvector cosine search over the action library's `intent` embeddings, so the planner can find a reusable action for a sub-goal before reasoning it from scratch.
|
Package actionsearch exposes the `searchActions` DSL builtin (#1758, epic #1734): a pgvector cosine search over the action library's `intent` embeddings, so the planner can find a reusable action for a sub-goal before reasoning it from scratch. |
|
agent
Package agent hosts the agent-node reply pipeline: prompt rendering, the bounded tool-calling loop, and the non-streaming fallback.
|
Package agent hosts the agent-node reply pipeline: prompt rendering, the bounded tool-calling loop, and the non-streaming fallback. |
|
agentdef
Package agentdef is the single, modality-independent projection of an agent's generation definition.
|
Package agentdef is the single, modality-independent projection of an agent's generation definition. |
|
agents
Package agents implements the `agent(name, prompt, partitionId)` builtin's executor -- the runtime side of the agents-as-DSL-primitive feature.
|
Package agents implements the `agent(name, prompt, partitionId)` builtin's executor -- the runtime side of the agents-as-DSL-primitive feature. |
|
auth
Package auth provides an IntegrationProvider for user/group lookup operations.
|
Package auth provides an IntegrationProvider for user/group lookup operations. |
|
avatardirect
Package avatardirect exposes the direct/Guide avatar session to the MemQL DSL for the cloud-engine avatar vendors -- Anam (avatar bring-up, #291) and Simli (memql#782).
|
Package avatardirect exposes the direct/Guide avatar session to the MemQL DSL for the cloud-engine avatar vendors -- Anam (avatar bring-up, #291) and Simli (memql#782). |
|
azureblob
Package azureblob provides Azure Blob Storage upload functionality.
|
Package azureblob provides Azure Blob Storage upload functionality. |
|
chat
Package chat backs the `recentChat` tool: the assistant's read-only window into the space's single utterance stream plus space metadata.
|
Package chat backs the `recentChat` tool: the assistant's read-only window into the space's single utterance stream plus space metadata. |
|
cognition
Package cognition provides the cognition integration for MemQL.
|
Package cognition provides the cognition integration for MemQL. |
|
dailyspace
Package dailyspace owns the platform-driven lifecycle of per-user daily spaces: a one-per-user-per-day v1:cognition:space row that the user implicitly drops into when they open the app, the designated landing surface for ad-hoc conversation with their assistant.
|
Package dailyspace owns the platform-driven lifecycle of per-user daily spaces: a one-per-user-per-day v1:cognition:space row that the user implicitly drops into when they open the app, the designated landing surface for ad-hoc conversation with their assistant. |
|
database
Package database provides a database management IntegrationProvider.
|
Package database provides a database management IntegrationProvider. |
|
deployversion
Package deployversion exposes pure version-arithmetic as a DSL-callable, READ-ONLY integration capability.
|
Package deployversion exposes pure version-arithmetic as a DSL-callable, READ-ONLY integration capability. |
|
email
Package email is a minimal outbound-mail helper used by memQL for transactional messages (currently just guest invites).
|
Package email is a minimal outbound-mail helper used by memQL for transactional messages (currently just guest invites). |
|
embedding
Package embedding provides an IntegrationProvider that exposes vector embedding capabilities to the MemQL DSL.
|
Package embedding provides an IntegrationProvider that exposes vector embedding capabilities to the MemQL DSL. |
|
harnessrecall
Package harnessrecall exposes the `recall` DSL operator -- the MemQL-native hybrid recency x relevance memory query (#585, epic #590).
|
Package harnessrecall exposes the `recall` DSL operator -- the MemQL-native hybrid recency x relevance memory query (#585, epic #590). |
|
harnesstrace
Package harnesstrace exposes the `harnessTrace` DSL/SDK builtin -- the history-over-gRPC contract a remote client (the memql-cockpit CLI) calls to fetch a plan's full execution timeline (issue memql-cockpit#142, phase 1; epic #590).
|
Package harnesstrace exposes the `harnessTrace` DSL/SDK builtin -- the history-over-gRPC contract a remote client (the memql-cockpit CLI) calls to fetch a plan's full execution timeline (issue memql-cockpit#142, phase 1; epic #590). |
|
identity
Package identity provides an IntegrationProvider for delegation management.
|
Package identity provides an IntegrationProvider for delegation management. |
|
knowledge
Package knowledge provides retrieval-augmented generation primitives for agents: chunking + embedding text into v1:knowledge:documentChunk rows scoped to a v1:knowledge:knowledgeDomain, and cosine similarity retrieval filtered by a set of domain IDs.
|
Package knowledge provides retrieval-augmented generation primitives for agents: chunking + embedding text into v1:knowledge:documentChunk rows scoped to a v1:knowledge:knowledgeDomain, and cosine similarity retrieval filtered by a set of domain IDs. |
|
library
Package library owns the server-side edit path for Library documents: the append-only version history (v1:library:documentVersion) and the user / assistant / restore flows that append to it (memql#1228-1231).
|
Package library owns the server-side edit path for Library documents: the append-only version history (v1:library:documentVersion) and the user / assistant / restore flows that append to it (memql#1228-1231). |
|
liveknowledge
Package liveknowledge exposes Live Knowledge dispatch as a DSL-callable capability (Phase 5 of the planner-redesign work).
|
Package liveknowledge exposes Live Knowledge dispatch as a DSL-callable capability (Phase 5 of the planner-redesign work). |
|
openai
Package openai implements OpenAI ASR and TTS clients for the Polyphon multi-agent voice system.
|
Package openai implements OpenAI ASR and TTS clients for the Polyphon multi-agent voice system. |
|
openairealtime
Package openairealtime exposes OpenAI Realtime ephemeral client-secret minting to the MemQL DSL, so the browser can open a DIRECT browser<->OpenAI Realtime WebRTC session (the v2 voice path; see the frontend repo's docs/openai_agents_sdk/realtime-v2-direct-webrtc-handoff.md) WITHOUT ever seeing the standing OpenAI API key.
|
Package openairealtime exposes OpenAI Realtime ephemeral client-secret minting to the MemQL DSL, so the browser can open a DIRECT browser<->OpenAI Realtime WebRTC session (the v2 voice path; see the frontend repo's docs/openai_agents_sdk/realtime-v2-direct-webrtc-handoff.md) WITHOUT ever seeing the standing OpenAI API key. |
|
planner
agent_loop.go
|
agent_loop.go |
|
rbac
Package rbac exposes the relational governance decision (component/auth/rbac_governance.go) to the MemQL DSL as builtin capabilities.
|
Package rbac exposes the relational governance decision (component/auth/rbac_governance.go) to the MemQL DSL as builtin capabilities. |
|
router
Package router exposes BYOK credential + budget admin capabilities to the memQL DSL so the frontend's /router/settings page can add, rotate, and delete API keys and budgets without the plaintext ever being persisted.
|
Package router exposes BYOK credential + budget admin capabilities to the memQL DSL so the frontend's /router/settings page can add, rotate, and delete API keys and budgets without the plaintext ever being persisted. |
|
similarity
Package similarity exposes the `similarTo` DSL operator backed by pgvector.
|
Package similarity exposes the `similarTo` DSL operator backed by pgvector. |
|
stt
Package stt provides speech-to-text provider interfaces and implementations for real-time audio transcription in MemQL.
|
Package stt provides speech-to-text provider interfaces and implementations for real-time audio transcription in MemQL. |
|
telephony
Package telephony provides carrier-agnostic PSTN number + trunk management for memQL voice agents.
|
Package telephony provides carrier-agnostic PSTN number + trunk management for memQL voice agents. |
|
telephony/telnyx
Package telnyx implements the telephony.CarrierProvider over the Telnyx v2 REST API: DID search / purchase / release / inbound-routing.
|
Package telnyx implements the telephony.CarrierProvider over the Telnyx v2 REST API: DID search / purchase / release / inbound-routing. |
|
timeutil
Package timeutil exposes thin time + timezone helpers as DSL-callable integration capabilities.
|
Package timeutil exposes thin time + timezone helpers as DSL-callable integration capabilities. |
|
voice
Package voice owns the canonical voice catalog and the gender-bucketed auto-assignment + provider-resolution path used by Polyphon and the agent reply pipeline.
|
Package voice owns the canonical voice catalog and the gender-bucketed auto-assignment + provider-resolution path used by Polyphon and the agent reply pipeline. |
|
voice/agent
Package agent is the Go voice-agent: the media participant that joins a LiveKit room on behalf of a memQL space's General Assistant, opens a MemqlService.Stream gRPC session, and runs the turn-taking / STT / TTS orchestration that the retired Python voice-agent (LiveKit Agents 1.5) used to own.
|
Package agent is the Go voice-agent: the media participant that joins a LiveKit room on behalf of a memQL space's General Assistant, opens a MemqlService.Stream gRPC session, and runs the turn-taking / STT / TTS orchestration that the retired Python voice-agent (LiveKit Agents 1.5) used to own. |
|
workbench
Package workbench implements the agent-node-side handler for the workbenchHost tool.
|
Package workbench implements the agent-node-side handler for the workbenchHost tool. |
|
scripts
|
|
|
audit-pagination
command
audit-pagination enumerates every list-returning query in the DSL tree and reports how each is bounded -- the pagination authoring rule audit (epic 5, issue 5.1 / memql#1965).
|
audit-pagination enumerates every list-returning query in the DSL tree and reports how each is bounded -- the pagination authoring rule audit (epic 5, issue 5.1 / memql#1965). |
|
ci
Package ci hosts the static guards that verify this repository's CI configuration is what it claims to be.
|
Package ci hosts the static guards that verify this repository's CI configuration is what it claims to be. |
|
cidb
Package cidb holds the CI drift gate for the db-tests lane (memql#2886).
|
Package cidb holds the CI drift gate for the db-tests lane (memql#2886). |
|
citags
Package citags holds the CI drift gate for build-tagged test suites (memql#2903).
|
Package citags holds the CI drift gate for build-tagged test suites (memql#2903). |
|
cluster/rolling-drain
command
Command rolling-drain sends a single operator maintenance/drain trigger (memql#1270) to ONE target node and prints the typed result as JSON.
|
Command rolling-drain sends a single operator maintenance/drain trigger (memql#1270) to ONE target node and prints the typed result as JSON. |
|
dedupe-peruser-seeds
command
dedupe-peruser-seeds is a one-shot data migration that cleans up the duplicate per-user seed rows created by pre-PR-#274 cluster boots, where the seed materializer minted fresh random UUIDs for every concurrent startup-sweep racer instead of the documented deterministic `<seedName>-<userId>` id.
|
dedupe-peruser-seeds is a one-shot data migration that cleans up the duplicate per-user seed rows created by pre-PR-#274 cluster boots, where the seed materializer minted fresh random UUIDs for every concurrent startup-sweep racer instead of the documented deterministic `<seedName>-<userId>` id. |
|
migrate-concepts
command
migrate-concepts reads all JSON-based concept definitions and generates concept.memql files.
|
migrate-concepts reads all JSON-based concept definitions and generates concept.memql files. |
|
migrations/construct_invocation
command
Command construct_invocation migrates the authored .memql tree from the legacy call forms to the kind-prefixed construct-invocation forms introduced in Story 2 (#2324) of epic #2322.
|
Command construct_invocation migrates the authored .memql tree from the legacy call forms to the kind-prefixed construct-invocation forms introduced in Story 2 (#2324) of epic #2322. |
|
migrations/event_payload_args
command
Command event_payload_args is the G5 (memql#2367 / event-payload-binding ADR Decision 6) tree migrator: for every FULL-FORM event-triggered automation it
|
Command event_payload_args is the G5 (memql#2367 / event-payload-binding ADR Decision 6) tree migrator: for every FULL-FORM event-triggered automation it |
|
restructure-by-construct
command
scripts/restructure-by-construct/main.go reorganises dsl/<domain>/*.memql so that each construct kind lives in its own file:
|
scripts/restructure-by-construct/main.go reorganises dsl/<domain>/*.memql so that each construct kind lives in its own file: |
|
sdk-gen
command
sdk-gen is the thin CLI wrapper over the importable generator package (sdk/gen).
|
sdk-gen is the thin CLI wrapper over the importable generator package (sdk/gen). |
|
secrets
command
scripts/secrets is a slim operator tool invoked internally by memQL's dev-refresh flow.
|
scripts/secrets is a slim operator tool invoked internally by memQL's dev-refresh flow. |
|
sdk
|
|
|
gen
Package gen is the importable core of the typed-SDK generator.
|
Package gen is the importable core of the typed-SDK generator. |
|
go/authoring
Package authoring is the Go SDK surface for memQL's authoring operations -- the cockpit-facing way to VALIDATE and SESSION-DEFINE a user "bundle" (a set of .memql sources) over the engine's gRPC stream (issue memql#2128 / C1).
|
Package authoring is the Go SDK surface for memQL's authoring operations -- the cockpit-facing way to VALIDATE and SESSION-DEFINE a user "bundle" (a set of .memql sources) over the engine's gRPC stream (issue memql#2128 / C1). |
|
go/client
Package client is the canonical Go SDK for talking to a memQL cluster.
|
Package client is the canonical Go SDK for talking to a memQL cluster. |
|
go/dslspec
Package dslspec is the Go SDK surface for the memQL DSL spec export -- the portable, versioned JSON form of the DSL authoring surface (the top-level constructs, keywords, operators, field types, per-construct annotation legality, and "legal-next" completion rules).
|
Package dslspec is the Go SDK surface for the memQL DSL spec export -- the portable, versioned JSON form of the DSL authoring surface (the top-level constructs, keywords, operators, field types, per-construct annotation legality, and "legal-next" completion rules). |
|
go/pack
Package pack is the Go SDK surface for the memQL pack browser -- the read-only enumeration of a node's embedded + plugin-registered .memql tree.
|
Package pack is the Go SDK surface for the memQL pack browser -- the read-only enumeration of a node's embedded + plugin-registered .memql tree. |
|
go/sense
Package sense is the Go SDK surface for memQL Sense -- the language-intelligence service that powers editor affordances over .memql source: syntax tokens, diagnostics, autocompletion, hover docs, and signature help.
|
Package sense is the Go SDK surface for memQL Sense -- the language-intelligence service that powers editor affordances over .memql source: syntax tokens, diagnostics, autocompletion, hover docs, and signature help. |
|
go/voice
Package voice is the SDK's voice subpackage.
|
Package voice is the SDK's voice subpackage. |
|
go/worker
Package worker is the SDK's worker subpackage.
|
Package worker is the SDK's worker subpackage. |
|
test
|
|
|
conformance
Package conformance is the automated MCP conformance suite (memql#1715), the capstone regression gate for epic #1704.
|
Package conformance is the automated MCP conformance suite (memql#1715), the capstone regression gate for epic #1704. |
Click to show internal directories.
Click to hide internal directories.