internal/

directory
v0.0.0-...-a330768 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2026 License: Apache-2.0, MIT

Directories

Path Synopsis
Package build holds compile-time-injected build metadata.
Package build holds compile-time-injected build metadata.
Package-level note:
Package-level note:
Package compat probes server `/system/info` and decides client-server version skew level.
Package compat probes server `/system/info` and decides client-server version skew level.
Package config reads and writes the user-level config at $XDG_CONFIG_HOME/weknora/config.yaml.
Package config reads and writes the user-level config at $XDG_CONFIG_HOME/weknora/config.yaml.
Package iostreams wraps stdout/stderr/stdin with TTY detection and color awareness.
Package iostreams wraps stdout/stderr/stdin with TTY detection and color awareness.
Package mcp wires the curated weknora tool set to an modelcontextprotocol/go-sdk server.
Package mcp wires the curated weknora tool set to an modelcontextprotocol/go-sdk server.
Package output defines the symmetric envelope wire contract: success envelopes on stdout (Envelope) and error envelopes on stderr (ErrorEnvelope), plus NDJSON stream helpers.
Package output defines the symmetric envelope wire contract: success envelopes on stdout (Envelope) and error envelopes on stderr (ErrorEnvelope), plus NDJSON stream helpers.
Package projectlink reads and writes the per-project link file .weknora/project.yaml that anchors a working directory to a profile+KB.
Package projectlink reads and writes the per-project link file .weknora/project.yaml that anchors a working directory to a profile+KB.
Package prompt defines the interactive-input abstraction.
Package prompt defines the interactive-input abstraction.
Package secrets stores and retrieves credentials.
Package secrets stores and retrieves credentials.
Package sse provides helpers for consuming server-sent event streams from the WeKnora SDK (KnowledgeQAStream, ContinueStream).
Package sse provides helpers for consuming server-sent event streams from the WeKnora SDK (KnowledgeQAStream, ContinueStream).
Package testutil holds small test-only helpers shared across cli/internal packages.
Package testutil holds small test-only helpers shared across cli/internal packages.
Package text holds string helpers for human-readable CLI output.
Package text holds string helpers for human-readable CLI output.
Package xdg consolidates the XDG-rooted file path lookup and atomic-write idioms used by config / compat / secrets / projectlink.
Package xdg consolidates the XDG-rooted file path lookup and atomic-write idioms used by config / compat / secrets / projectlink.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL