cli

module
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT

README

vibexp

Cross-platform command-line interface for the VibeXP platform.

Status: early development. This is the repository skeleton (issue #3 of epic #2); commands are landing issue by issue.

Install

Method Command Upgrades via
Homebrew (macOS) brew install vibexp/tap/vibexp brew upgrade vibexp
Binary download (Linux · macOS · Windows) archive from Releases vibexp update
go install go install github.com/vibexp/cli/cmd/vibexp@latest re-run with @latest
Homebrew (macOS)
brew install vibexp/tap/vibexp
vibexp version            # source: brew
Binary download (Linux · macOS · Windows)

Download the archive for your OS/arch from the latest release (vibexp_<version>_<os>_<arch>.tar.gz, or .zip on Windows), verify it against checksums.txt, extract, and put vibexp on your PATH:

VERSION=X.Y.Z; OS=linux; ARCH=amd64          # e.g. VERSION=0.1.0
base=https://github.com/vibexp/cli/releases/download/v${VERSION}
curl -sSLO "${base}/vibexp_${VERSION}_${OS}_${ARCH}.tar.gz"
curl -sSLO "${base}/checksums.txt"
sha256sum --check --ignore-missing checksums.txt
tar -xzf "vibexp_${VERSION}_${OS}_${ARCH}.tar.gz"
sudo install vibexp /usr/local/bin/vibexp
vibexp version            # source: binary — self-updates via `vibexp update`

Binaries installed this way self-update in place with vibexp update.

go install
go install github.com/vibexp/cli/cmd/vibexp@latest    # or @vX.Y.Z

Requires no cgo and no build-time codegen; the version is reported from the module build info (debug.ReadBuildInfo). Upgrade by re-running with @latest.

Or build from source:

make build                # -> bin/vibexp

Every release archive also bundles shell completions and man pages — see Shell completions & man pages.

Usage

The CLI follows a vibexp <noun> <verb> grammar (gh/kubectl-style):

vibexp --help
vibexp version

# Contexts (kubectl-style; stored in ~/.vibexp/config.yaml)
vibexp config set-context dev --base-url https://your-deployment.example --team my-team
vibexp config use-context dev
vibexp config get-contexts
vibexp config current-context
Authentication

Two methods are supported. Browser login (default) is best for interactive use; API keys are best for CI/scripts and work on every deployment.

# Interactive OAuth 2.1 browser login (opens your browser):
vibexp auth login

# API key — read from a hidden prompt or piped, never a CLI argument:
vibexp auth login --with-api-key
printf '%s' "$MY_KEY" | vibexp auth login --with-api-key

vibexp auth status     # method + identity + credential fingerprint (never the secret)
vibexp auth logout     # remove the active context's stored credential

vibexp auth login performs the OAuth 2.1 authorization-code + PKCE flow (RFC 8414 discovery → RFC 7591 dynamic client registration → loopback callback → RFC 8707 resource-indicated token exchange) and stores rotating tokens. Access tokens are refreshed transparently on expiry; concurrent invocations are serialized by a file lock so exactly one refresh happens.

The scope requested on the authorization request is negotiated against the server's advertised scopes_supported (from RFC 8414 discovery) — the CLI only requests scopes the server actually offers, so login works across deployments rather than only the default embedded authorization server. For a deployment whose authorization server uses non-standard scope names, override negotiation with the repeatable --scope flag or VIBEXP_OAUTH_SCOPE (space/comma separated; flag > env):

vibexp auth login --scope openid --scope profile
VIBEXP_OAUTH_SCOPE="openid profile" vibexp auth login

Browser login also works against the REST API (/api/v1) — by default on platform v0.8.0+ deployments running the embedded authorization server, which auto-wire REST to accept these tokens. On a headless/SSH host (no browser), a deployment without an OAuth server, or the exception of one whose REST layer isn't wired to accept browser-login tokens (an external IdP, or api_oauth disabled), login fails fast (exit 4) and points you at --with-api-key.

Credentials are stored per context in ~/.vibexp/credentials.json (0600), separate from config. For CI/scripts, set VIBEXP_API_KEY and skip login entirely — it takes precedence over stored credentials:

export VIBEXP_API_KEY="…"   # env > stored
vibexp auth status

An invalid or expired key exits 4 with the server's error detail (and request id). The full secret never appears in auth status, logs, or error messages.

Global flags
Flag Env Purpose
--context VIBEXP_CONTEXT Select the active context
--team VIBEXP_TEAM Team id or slug
--project VIBEXP_PROJECT Project id or slug
--format VIBEXP_FORMAT Output format (wired in a later issue)
--debug — Mirror debug logs to stderr
--timeout — Per-request timeout

Base URL can also be overridden with VIBEXP_BASE_URL. Resolution precedence everywhere is flag > env > active context.

A team or project slug (as shown by vibexp team list / vibexp project list) works anywhere an id does: the CLI looks up its UUID with one extra request per command. Pass the UUID to skip that lookup.

Output & scripting

Output is TTY-aware: a terminal gets an aligned, colored table; a pipe gets tab-separated values (no color, no header) — so vibexp … | cut -f1 just works.

--format On a terminal Piped
(default) aligned color table TSV
table aligned color table aligned table (no color)
text TSV TSV
json raw API response body, byte-for-byte same
yaml faithful YAML of the JSON body same

--format (or VIBEXP_FORMAT) always overrides TTY detection. NO_COLOR=1 (or TERM=dumb) strips all color.

--jq <expr> filters output with a built-in gojq engine (no external jq needed):

vibexp … --jq '.items[].id'          # newline-delimited JSON values
vibexp … --jq '.items | length'
vibexp … --format=yaml --jq '.items[0]'   # jq result as YAML

--jq forces JSON output (or YAML with --format=yaml); a bad expression exits 2. stdout carries only data — all status/progress/errors go to stderr, so vibexp … > out.json is always clean, parseable output.

Quickstart

vibexp config set-context dev --base-url https://your-deployment.example
vibexp auth login                      # or: vibexp auth login --with-api-key
vibexp whoami                          # who am I?
vibexp team list                       # teams I belong to
vibexp project list --team acme        # projects in a team (or set a default team on the context)
vibexp team audit --team acme          # cross-team settings copies recorded for a team (platform v0.12.0+)

All of them honor --format=json|yaml|table|text, --jq, piped TSV, and the pagination flags --limit / --page / --offset (team list has no --offset: its endpoint takes only a page and a page size). Adding a new resource command is mechanical — see docs/adding-commands.md.

Pagination

A list returns one page. The server caps --limit at 100 per page (and rejects a larger value, surfaced as a usage error, exit 2). When the result spans more pages, a one-line hint goes to stderr — stdout stays the raw page, so pipes are unaffected:

vibexp artifact list                 # stderr: showing page 1 of 6 (10 of 59); use --page, --limit (max 100) or --all
vibexp artifact list --all           # every page, merged into one JSON array of items
vibexp artifact list --all --limit 100 --format=json --jq '.[].slug'

--all cannot be combined with --page or --offset. vibexp search shows the same hint (it has no --all; use --page).

Filtering lists

list filters are applied server-side and compose with each other and with pagination:

vibexp memory list --stale                          # flagged stale by the team's freshness rules
vibexp prompt list --stale --format=json --jq '.prompts[].slug'
vibexp artifact list --stale --project my-proj      # composes with project scope

vibexp memory list --tags go --tags cli             # tag filter (values OR)
vibexp memory list --metadata env=prod --tags go    # keys AND, values within a key OR
vibexp blueprint list --metadata spec.type=api --stale --limit 10
vibexp artifact list --labels onboarding --labels api   # label filter (any of them)
vibexp prompt list --locked                         # only locked resources

# What's gone stale this sprint, as TSV for a script?
vibexp memory list --stale --limit 100 | cut -f1,2

--stale and --labels are available on memory, prompt, blueprint and artifact list. --metadata is available on the other three but not prompt list (that endpoint has no metadata filter, so the flag is deliberately not offered rather than silently ignored); --tags is memories-only; --locked is on prompt, blueprint and artifact (memories cannot be locked). Discover what you can filter on with vibexp metadata keys / vibexp metadata values.

Setting metadata

memory, artifact and blueprint create/update write metadata, so what you set is what list --metadata and vibexp metadata keys read back:

vibexp memory create --body-file note.md --metadata source=cli --metadata area=auth
vibexp artifact create report --title Report --body-file r.md \
  --metadata-json '{"priority":2,"reviewed":true}'   # typed values; also @file or -

vibexp memory update <id> --metadata area=billing      # merges: other keys are kept
vibexp memory update <id> --unset-metadata area        # removes one key
vibexp blueprint update api --replace-metadata --metadata spec.type=api   # replaces all

--metadata values are strings; use --metadata-json for numbers, bools and nested values (--metadata wins on a key conflict). update reads the resource first to merge, so a concurrent write in between is lost; --replace-metadata skips the read. Prompts have no metadata. On memories, a tags key holding a JSON string array (--metadata-json '{"tags":["x"]}') is turned by the server into labels and replaces the memory's existing labels; a plain --metadata tags=x is stored as an ordinary string key.

Setting labels

memory, artifact and blueprint create/update take a repeatable --label (at most 10, 50 characters each, checked before the request), which list --labels reads back:

vibexp memory create --body-file note.md --label onboarding --label api
vibexp blueprint update api --label reviewed        # replaces all existing labels
vibexp artifact update report --label ""             # clears them

An update without --label leaves the labels as they are. prompt create/update have their own --label, which sends the values as given, with no client-side check (so --label "" does not clear them).

Freshness in output

The same four list commands carry a STALE column, so you can see which rows the team's freshness rules have flagged without filtering:

ID       PROJECT   STATUS   STALE   UPDATED                TEXT
m-1      my-proj   active   stale   2026-02-01T00:00:00Z   an aging note
m-2      my-proj   active           2026-08-14T00:00:00Z   a current note

The single-object views add the full state — STALE_SINCE (when it was first flagged, which is the age worth reading), STALE_REASON (rule_run · accessed · edited) and STALE_RULES (how many rules matched; the raw ids stay in --format=json). That is get and the create/update/delete confirmations, which share one detail layout — so a script doing vibexp memory create … | cut -f4 sees the wider row too.

A resource carries freshness data only while it is stale, so every one of these cells is empty on a fresh resource — an empty STALE cell means fresh, not missing.

Write channel in output

The single-object views of memories, prompts, blueprints and artifacts end with two more columns, recorded by the server on every write (platform v0.16.0): WRITTEN_VIA, the channel of the last write (web · cli · mcp · api), and ASSISTANT, the name the MCP client reported, set only for mcp writes. As with freshness, that is get and the write confirmations, and the columns come last, so existing cut -f positions hold. An empty cell means the channel was not recorded — an older write, or a server before v0.16.0. list leaves them out; --format=json carries last_write_source and last_write_assistant_name as the server sent them.

Locking

Prompts, blueprints and artifacts can be locked to mark them as in use — say, by an agent's workflow. A locked resource cannot be deleted, and an update may not change its frozen fields (slug, status, project, labels, plus mcp_expose on prompts, type/metadata on blueprints and artifacts, subtype/path on blueprints); content, title/name and description stay editable.

vibexp prompt lock greet --comment "used by the release agent"   # --comment is required
vibexp blueprint lock api-rules --comment "CI depends on it" --project my-proj
vibexp prompt unlock greet          # the lock holder, or an owner/admin
vibexp artifact list --locked --project my-proj

list shows a LOCKED column (last, so existing cut -f positions hold), empty for unlocked rows; get and the write confirmations add LOCKED_BY, LOCKED_AT and LOCK_COMMENT. --format=json passes the lock object through (null when unlocked). A write refused by a lock exits 1 and says who holds it, why, which field was frozen and how to unlock. Lock history is reachable with vibexp api GET /api/v1/{team}/prompts/<slug>/lock/history.

Memories

Full CRUD over memories (team-scoped; content via --body-file):

vibexp memory list --project my-proj              # filter by project; +pagination flags
echo "a useful note" | vibexp memory create --project my-proj --body-file -
vibexp memory get <id>
vibexp memory update <id> --status archived       # or --body-file to replace content
vibexp memory update <id> --title "Deploy checklist"  # --title "" clears it; create takes --title too
vibexp memory delete <id>                         # prompts on a TTY; --yes for scripts

delete refuses to run non-interactively without --yes (exit 2). Every verb honors --format/--jq.

Blueprints

Full CRUD over blueprints — the standing-rules primitive. Blueprints are addressed by (project, slug), so every single-item verb resolves a project (--project, VIBEXP_PROJECT, or the active context):

vibexp blueprint list --project my-proj                      # +pagination flags
vibexp blueprint create rules --project my-proj \
  --title "House rules" --body-file rules.md                 # --body-file <path|->
vibexp blueprint get rules --project my-proj                 # detail view: +PATH, source repo/commit
vibexp blueprint update rules --project my-proj --body-file rules.md
vibexp blueprint delete rules --project my-proj              # --yes for scripts

The single-blueprint detail view (get/create/update) surfaces the v0.8.0 file-fidelity fields — the canonical path and, for imported blueprints, the import provenance (source.repo / short source.commit_sha); list stays compact.

Any resource get (memory · blueprint · prompt · artifact) accepts --show-relations, which prints a compact summary of the v0.8.0 read-time neighborhood to stderr — the typed related edges and embedding-similar resources — leaving stdout (and --format=json, which always carries the full arrays) untouched:

vibexp memory get <id> --show-relations
# stdout: the memory row
# stderr: related (2): outgoing governed-by blueprint "House rules"; …
#         similar (1): memory "Why pgvector" (0.82)
Prompts

Full CRUD over the reusable-prompt library (team-scoped, addressed by slug), plus render:

vibexp prompt list --project my-proj                         # filter by project
vibexp prompt create greet --project my-proj \
  --name "Greeting" --body-file greet.tmpl
vibexp prompt get greet
vibexp prompt update greet --name "Greeting v2"
vibexp prompt delete greet --yes

prompt get --body prints only the stored body, raw and byte-for-byte (@references and {{vars}} unexpanded), so an edit-in-place round trip is lossless:

vibexp prompt get greet --body > greet.tmpl
$EDITOR greet.tmpl
vibexp prompt update greet --body-file greet.tmpl

--body cannot be combined with --format or --jq (exit 2).

prompt render substitutes repeatable --var key=value pairs and prints the rendered text raw to stdout — pipe-safe, no decoration — so it drops straight into a shell pipeline or an AI-tool hook:

vibexp prompt render greet --var env=prod --var region=eu | your-tool
vibexp prompt render greet --var env=prod --format json      # full API envelope
vibexp prompt render greet --strict --var env=prod           # fail on unresolved @prompt:slug

A missing required variable surfaces the API's validation error with field detail (exit 1); on a duplicate --var key the last value wins. --strict (platform v0.15.0+) resolves only explicit @prompt:slug references, leaves a bare @word literal, and fails with exit 1 — the error names the unresolved slugs — instead of passing an unresolved reference through as text.

Artifacts

Full CRUD over artifacts — the polished-output store. Artifacts are project-scoped (addressed by (project, slug)), so every single-item verb resolves a project (--project, VIBEXP_PROJECT, or the active context; missing → exit 2):

vibexp artifact list --project my-proj                       # +pagination flags
vibexp artifact create report --project my-proj \
  --title "Build report" --body-file report.md               # --body-file <path|->
vibexp artifact get report --project my-proj
vibexp artifact update report --project my-proj --body-file report.md
vibexp artifact delete report --project my-proj              # --yes for scripts
Feeds

Read and post to team feeds — the CLI equivalent of the MCP post_to_feed / reply_to_feed_item tools, so CI pipelines and agents can post status:

vibexp feed list                                             # feeds in the team
vibexp feed items --feed <feed-id>                           # +pagination flags
vibexp feed get-item <item-id>                               # item + its replies
vibexp feed post "deploy #1234 succeeded" --feed <feed-id> --title "Deploy"
echo "see logs" | vibexp feed post --feed <feed-id> --title "Deploy" --body-file -
vibexp feed reply <item-id> "thanks!"                        # or --body-file <path|->

Message content comes from a positional argument or --body-file (a path, or - for stdin) — supply one, not both. --author (default vibexp-cli) sets the AI-assistant name recorded on the item/reply. get-item lists replies in table/text output; --format=json prints the raw item.

Semantic search across the team's prompts, artifacts, blueprints, and memories:

vibexp search "retry backoff"                                # all types
vibexp search "retry backoff" --type prompts --type memories # narrow by type
vibexp search "auth" --project my-proj --format json         # scope + raw envelope

--summary answers the question from the team's top results instead of listing them (AI Summary, platform v0.14.0+). It prints the markdown answer raw, then a numbered source list matching its [n] citations; --format json keeps the full response. It takes --type and --project but not --limit/--page, and it needs AI summaries enabled and a model provider configured for the team (team settings) — otherwise it says which one is missing:

vibexp search "how do we configure retries" --summary
vibexp search "how do we configure retries" --summary --type memories --project my-proj
vibexp search "release process" --summary --format json --jq '.sources[].title'

The summary waits up to 90s for the model unless --timeout is given.

Attachments

Upload files as attachments, streamed as multipart/form-data so memory stays bounded regardless of file size. Attachments are owned by a resource, so upload/list take --owner-id (required) and --owner-type (default artifact):

vibexp attachment upload ./build.log --owner-id <artifact-id>   # content type detected
vibexp attachment upload ./data --owner-id <id> --content-type application/json
vibexp attachment list --owner-id <artifact-id>                 # every attachment, one response
vibexp attachment delete <attachment-id>                        # --yes for scripts

The content type is detected from the file (extension, then a content sniff) and can be overridden with --content-type. A progress indicator is shown only on a terminal, so piped output stays clean.

Relations

Typed, directed edges between resources (artifact · memory · prompt · blueprint) — the knowledge-graph primitive (platform v0.8.0). list shows the relations touching a resource, in both directions:

vibexp relations list blueprint <blueprint-id>          # both directions; +pagination flags
vibexp relations create \
  --from-type artifact --from-id <id> \
  --to-type blueprint  --to-id <id> \
  --relation-type governed-by --origin human            # idempotent; 200 if the edge exists
vibexp relations confirm <relation-id>                  # promote suggested → confirmed
vibexp relations delete <relation-id>                   # --yes for scripts
vibexp relations seed                                   # AI-propose edges from similarity (background)

Relation types are governed-by · built-from · explained-by · supersedes; origin is human or ai; status is suggested or confirmed.

Statuses

The values --status accepts on create/update come from the team's status catalog (platform v0.15.0+): the built-in system statuses plus the team's own custom ones, per resource type. --type is singular here — prompt, artifact, blueprint or memory.

vibexp status list --type artifact                    # system first, then custom; USAGE = resources using it
vibexp status create --type artifact --slug in-review --name "In review"   # owner/admin
vibexp status rename in-review --type artifact --name "Under review"       # or pass the status id
vibexp status delete in-review --type artifact --yes  # its resources move to the default status

A slug is immutable, and system statuses cannot be renamed or deleted. Deleting a custom status moves every resource carrying it to draft (prompts) or active (everything else) and says how many moved; a locked resource carrying it blocks the delete.

Escape hatch: vibexp api

Reach any of the API's endpoints directly (like gh api), with the active context's base URL, auth, retries, and the output engine applied:

vibexp api GET /api/v1/{team}/memories            # {team} resolves like curated commands
vibexp api GET '/api/v1/{team}/memories?limit=20' --jq '.items[].id'
vibexp api POST /api/v1/{team}/memories --input body.json
echo '{"text":"hi"}' | vibexp api POST /api/v1/{team}/memories --input -
vibexp api DELETE /api/v1/{team}/memories/123
vibexp api GET /api/v1/{team}/memories --paginate  # merge every page into one JSON array
  • --input <file> or --input - (stdin) sends a body (Content-Type: application/json by default). --header 'Key: Value' (repeatable) overrides.
  • Paths are server-relative; {team} substitutes the resolved team (flag > env > context). --paginate (GET only) walks page/limit — the same walk as list --all — until a short page (sized by the server's per_page), the response's total_pages, or a response with no page metadata (an endpoint that does not paginate returns its one page), and emits the union of items.
  • Exit codes and RFC 7807 errors (with request_id) match curated commands, except that a 400 exits 1 here, where a curated list/search reports it as a usage error (2).

Exit codes

Code Meaning
0 Success
1 API / runtime error
2 Usage error (bad flags/args)
4 Authentication error

Updating

vibexp checks for a newer release in the background — at most once every 24h, cached in ~/.vibexp/state.json, never blocking or failing your command. When a newer version exists it prints a single notice to stderr (stdout is never touched, so pipelines are unaffected).

vibexp update           # download, checksum-verify, and atomically self-replace
vibexp update --check   # report whether an update is available, without installing

vibexp update only self-replaces binaries installed from GitHub Releases; Homebrew and go install builds refuse to self-update and print the correct command instead (brew upgrade vibexp / go install …@latest). The download is verified against the release checksums.txt before the swap — a mismatch aborts and leaves the current binary untouched.

Privacy & opt-out: the check contacts only api.github.com and sends no identifying data beyond the HTTP request. It is automatically disabled in CI (CI is set) and can be turned off anywhere with VIBEXP_NO_UPDATE_CHECK=1.

Logging

Every invocation appends structured JSON-lines logs to ~/.vibexp/logs/cli.log (5 MB × 3 rotation). Credentials are redacted at the logger and can never be written. --debug mirrors logs to stderr.

Shell completions & man pages

vibexp generates its own completion scripts for bash, zsh, fish, and powershell:

vibexp completion bash > /etc/bash_completion.d/vibexp         # bash
vibexp completion zsh  > "${fpath[1]}/_vibexp"                 # zsh
vibexp completion fish > ~/.config/fish/completions/vibexp.fish

Run vibexp completion --help for the exact per-shell instructions. The Homebrew cask installs completions and a man page automatically. The binary-download archives bundle completions/ (all four shells) and manpages/ (man vibexp, plus one page per subcommand) for manual installation.

Development

make lint     # golangci-lint (v2)
make test     # go test -race ./...
make build    # ldflags-stamped binary

Releases are automated with goreleaser; see docs/releasing.md for the release process, and docs/architecture.md for the canonical package layout every command follows.

License

MIT.

Directories

Path Synopsis
cmd
docgen command
Command docgen generates the shell completions and man pages that are bundled into release archives (and installed by the Homebrew formula).
Command docgen generates the shell completions and man pages that are bundled into release archives (and installed by the Homebrew formula).
vibexp command
Command vibexp is the VibeXP platform command-line interface.
Command vibexp is the VibeXP platform command-line interface.
internal
api
Package api is the shared authenticated-client layer over github.com/vibexp/api-client-go: a retry/timeout transport, an auth request editor sourced from the credential store, a uniform RFC 7807 error mapper, and team/project resolution.
Package api is the shared authenticated-client layer over github.com/vibexp/api-client-go: a retry/timeout transport, an auth request editor sourced from the credential store, a uniform RFC 7807 error mapper, and team/project resolution.
cli
Package cli assembles the cobra command tree for the vibexp CLI: the root command, its global flags, and the persistent pre-run that initializes logging and resolves the active context into the command context.
Package cli assembles the cobra command tree for the vibexp CLI: the root command, its global flags, and the persistent pre-run that initializes logging and resolves the active context into the command context.
cli/apicmd
Package apicmd implements `vibexp api` — an authenticated raw passthrough to any API endpoint (the gh-api-style escape hatch).
Package apicmd implements `vibexp api` — an authenticated raw passthrough to any API endpoint (the gh-api-style escape hatch).
cli/artifactcmd
Package artifactcmd implements `vibexp artifact` CRUD — the polished-output store, built on the shared resource scaffold (docs/adding-commands.md).
Package artifactcmd implements `vibexp artifact` CRUD — the polished-output store, built on the shared resource scaffold (docs/adding-commands.md).
cli/attachmentcmd
Package attachmentcmd implements `vibexp attachment` — streamed multipart file upload plus list and delete.
Package attachmentcmd implements `vibexp attachment` — streamed multipart file upload plus list and delete.
cli/authcmd
Package authcmd implements `vibexp auth` — the API-key authentication path: login (--with-api-key), status, and logout.
Package authcmd implements `vibexp auth` — the API-key authentication path: login (--with-api-key), status, and logout.
cli/blueprintcmd
Package blueprintcmd implements `vibexp blueprint` CRUD — the standing-rules primitive, built on the shared resource scaffold (docs/adding-commands.md).
Package blueprintcmd implements `vibexp blueprint` CRUD — the standing-rules primitive, built on the shared resource scaffold (docs/adding-commands.md).
cli/configcmd
Package configcmd implements `vibexp config` context-management subcommands: set-context, use-context, get-contexts, current-context.
Package configcmd implements `vibexp config` context-management subcommands: set-context, use-context, get-contexts, current-context.
cli/feedcmd
Package feedcmd implements `vibexp feed` — the team-collaboration read/write loop (list feeds, read items + replies, post items, reply).
Package feedcmd implements `vibexp feed` — the team-collaboration read/write loop (list feeds, read items + replies, post items, reply).
cli/memorycmd
Package memorycmd implements `vibexp memory` CRUD — the first full create/get/update/delete resource, built on the #9 scaffold (docs/adding-commands.md).
Package memorycmd implements `vibexp memory` CRUD — the first full create/get/update/delete resource, built on the #9 scaffold (docs/adding-commands.md).
cli/metadatacmd
Package metadatacmd implements `vibexp metadata keys|values` — discovery of the metadata keys/values a team actually uses, backing the --metadata filter on the artifact/blueprint/memory list commands (platform v0.9.0, epic #519).
Package metadatacmd implements `vibexp metadata keys|values` — discovery of the metadata keys/values a team actually uses, backing the --metadata filter on the artifact/blueprint/memory list commands (platform v0.9.0, epic #519).
cli/projectcmd
Package projectcmd implements `vibexp project` (currently `project list`).
Package projectcmd implements `vibexp project` (currently `project list`).
cli/promptcmd
Package promptcmd implements `vibexp prompt` CRUD plus `prompt render` — the reusable-prompt library, built on the shared resource scaffold (docs/adding-commands.md).
Package promptcmd implements `vibexp prompt` CRUD plus `prompt render` — the reusable-prompt library, built on the shared resource scaffold (docs/adding-commands.md).
cli/relationcmd
Package relationcmd implements `vibexp relations` — curated commands for the typed resource-relations surface added in VibeXP platform v0.8.0.
Package relationcmd implements `vibexp relations` — curated commands for the typed resource-relations surface added in VibeXP platform v0.8.0.
cli/resource
Package resource holds the shared scaffolding every read/list command is built from: obtaining an authenticated client, fetching + error-mapping a raw JSON response, and rendering it through the output engine.
Package resource holds the shared scaffolding every read/list command is built from: obtaining an authenticated client, fetching + error-mapping a raw JSON response, and rendering it through the output engine.
cli/searchcmd
Package searchcmd implements `vibexp search <query>` — team-scoped, semantic cross-resource search (prompts, artifacts, blueprints, memories).
Package searchcmd implements `vibexp search <query>` — team-scoped, semantic cross-resource search (prompts, artifacts, blueprints, memories).
cli/statuscmd
Package statuscmd implements `vibexp status list|create|rename|delete` — the team's status catalog per resource type (platform v0.15.0, epic #1263).
Package statuscmd implements `vibexp status list|create|rename|delete` — the team's status catalog per resource type (platform v0.15.0, epic #1263).
cli/teamcmd
Package teamcmd implements `vibexp team` (`team list`, `team audit`).
Package teamcmd implements `vibexp team` (`team list`, `team audit`).
cli/updatecmd
Package updatecmd implements `vibexp update` — the explicit, checksum-verified self-update.
Package updatecmd implements `vibexp update` — the explicit, checksum-verified self-update.
cli/usercmd
Package usercmd implements `vibexp whoami`.
Package usercmd implements `vibexp whoami`.
cli/versioncmd
Package versioncmd implements `vibexp version`.
Package versioncmd implements `vibexp version`.
clictx
Package clictx carries the resolved runtime and logger on a context.Context so command packages can read them without importing the root cli package (which would create an import cycle).
Package clictx carries the resolved runtime and logger on a context.Context so command packages can read them without importing the root cli package (which would create an import cycle).
config
Package config manages named contexts (kubectl-style) persisted to ~/.vibexp/config.yaml.
Package config manages named contexts (kubectl-style) persisted to ~/.vibexp/config.yaml.
cred
Package cred manages the per-context credential store (~/.vibexp/credentials.json, 0600).
Package cred manages the per-context credential store (~/.vibexp/credentials.json, 0600).
exitcode
Package exitcode defines the CLI's stable process exit codes and a typed error that carries the intended code, so the mapping lives in exactly one place (unwrapped once in cmd/vibexp/main.go).
Package exitcode defines the CLI's stable process exit codes and a typed error that carries the intended code, so the mapping lives in exactly one place (unwrapped once in cmd/vibexp/main.go).
logging
Package logging provides the always-on, structured JSON-lines file logger for the CLI, with size-based rotation and a redaction layer so credentials can never reach the log.
Package logging provides the always-on, structured JSON-lines file logger for the CLI, with size-based rotation and a redaction layer so credentials can never reach the log.
oauth
Package oauth implements the interactive OAuth 2.1 browser login flow against VibeXP's embedded authorization server: RFC 8414 discovery, RFC 7591 dynamic client registration, authorization-code + PKCE (S256) over a loopback callback, RFC 8707 resource-indicated token exchange, and transparent rotating refresh serialized across processes with a file lock.
Package oauth implements the interactive OAuth 2.1 browser login flow against VibeXP's embedded authorization server: RFC 8414 discovery, RFC 7591 dynamic client registration, authorization-code + PKCE (S256) over a loopback callback, RFC 8707 resource-indicated token exchange, and transparent rotating refresh serialized across processes with a file lock.
output
Package output is the shared rendering engine every command uses.
Package output is the shared rendering engine every command uses.
update
Package update implements the gh-style update system: a cached, non-blocking GitHub Releases version check that prints a single stderr notice when a newer release exists, and an explicit, provenance-aware `vibexp update` that checksum-verifies and atomically self-replaces the binary.
Package update implements the gh-style update system: a cached, non-blocking GitHub Releases version check that prints a single stderr notice when a newer release exists, and an explicit, provenance-aware `vibexp update` that checksum-verifies and atomically self-replaces the binary.
version
Package version exposes build metadata injected at link time via -ldflags -X.
Package version exposes build metadata injected at link time via -ldflags -X.

Jump to

Keyboard shortcuts

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