Directories
¶
| Path | Synopsis |
|---|---|
|
cli/acceptance/doc.go
|
cli/acceptance/doc.go |
|
Package cmd holds the cobra command tree.
|
Package cmd holds the cobra command tree. |
|
agent
Package agentcmd holds the `weknora agent` command tree: list / view / create / update / delete / status / check.
|
Package agentcmd holds the `weknora agent` command tree: list / view / create / update / delete / status / check. |
|
api
Package api implements the `weknora api` raw HTTP passthrough command.
|
Package api implements the `weknora api` raw HTTP passthrough command. |
|
auth
Package auth holds the cobra commands for authentication (login / logout / list / refresh / status / token).
|
Package auth holds the cobra commands for authentication (login / logout / list / refresh / status / token). |
|
chat
Package chat implements `weknora chat <text>` - the streaming RAG answer entry point.
|
Package chat implements `weknora chat <text>` - the streaming RAG answer entry point. |
|
chunk
Package chunkcmd implements the `chunk` command subtree for managing document chunks in a knowledge base.
|
Package chunkcmd implements the `chunk` command subtree for managing document chunks in a knowledge base. |
|
config
Package configcmd holds the `weknora config` command tree.
|
Package configcmd holds the `weknora config` command tree. |
|
doc
Package doc — create.go implements `weknora doc create --text "..."`.
|
Package doc — create.go implements `weknora doc create --text "..."`. |
|
doctor
Package doctor implements `weknora doctor` - 4-item self-check.
|
Package doctor implements `weknora doctor` - 4-item self-check. |
|
kb
Package kb holds the `weknora kb` command tree: list / view / create / update / delete / pin / unpin.
|
Package kb holds the `weknora kb` command tree: list / view / create / update / delete / pin / unpin. |
|
link
Package linkcmd implements `weknora link` - binds the current working directory to a knowledge base by writing .weknora/project.yaml.
|
Package linkcmd implements `weknora link` - binds the current working directory to a knowledge base by writing .weknora/project.yaml. |
|
mcp
Package mcpcmd holds the `weknora mcp` command tree.
|
Package mcpcmd holds the `weknora mcp` command tree. |
|
message
Package messagecmd implements `weknora message` — inspect and manage the messages inside chat sessions (the multi-turn substrate behind session ask).
|
Package messagecmd implements `weknora message` — inspect and manage the messages inside chat sessions (the multi-turn substrate behind session ask). |
|
model
Package modelcmd holds the `weknora model` command tree: list / view.
|
Package modelcmd holds the `weknora model` command tree: list / view. |
|
profile
Package profilecmd holds the `weknora profile` command tree (list / add / remove / use).
|
Package profilecmd holds the `weknora profile` command tree (list / add / remove / use). |
|
search
Package search implements the `weknora search` command tree: chunks / kb / docs / sessions.
|
Package search implements the `weknora search` command tree: chunks / kb / docs / sessions. |
|
session
resume.go implements `weknora session resume` — re-attach to an SSE event buffer for an in-progress or already-completed assistant message under a known session_id.
|
resume.go implements `weknora session resume` — re-attach to an SSE event buffer for an in-progress or already-completed assistant message under a known session_id. |
|
skills
Package skillscmd holds the `weknora skills` command tree: list the bundled Agent Skills and install (write) them to an agent's skills directory.
|
Package skillscmd holds the `weknora skills` command tree: list the bundled Agent Skills and install (write) them to an agent's skills directory. |
|
internal
|
|
|
build
Package build holds compile-time-injected build metadata.
|
Package build holds compile-time-injected build metadata. |
|
cmdutil
Package-level note:
|
Package-level note: |
|
compat
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. |
|
config
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. |
|
iostreams
Package iostreams wraps stdout/stderr/stdin with TTY detection and color awareness.
|
Package iostreams wraps stdout/stderr/stdin with TTY detection and color awareness. |
|
mcp
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. |
|
output
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. |
|
projectlink
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. |
|
prompt
Package prompt defines the interactive-input abstraction.
|
Package prompt defines the interactive-input abstraction. |
|
secrets
Package secrets stores and retrieves credentials.
|
Package secrets stores and retrieves credentials. |
|
sse
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). |
|
testutil
Package testutil holds small test-only helpers shared across cli/internal packages.
|
Package testutil holds small test-only helpers shared across cli/internal packages. |
|
text
Package text holds string helpers for human-readable CLI output.
|
Package text holds string helpers for human-readable CLI output. |
|
xdg
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. |
|
Package skills embeds the bundled Agent Skills into the CLI binary so `weknora skills install` can write them out without a source checkout (replacing the manual symlink-from-checkout MVP).
|
Package skills embeds the bundled Agent Skills into the CLI binary so `weknora skills install` can write them out without a source checkout (replacing the manual symlink-from-checkout MVP). |
Click to show internal directories.
Click to hide internal directories.