internal/

directory
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

Directories

Path Synopsis
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.
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).
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).
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.
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.
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).
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.
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).
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).
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).
projectcmd
Package projectcmd implements `vibexp project` (currently `project list`).
Package projectcmd implements `vibexp project` (currently `project list`).
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).
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.
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.
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).
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).
teamcmd
Package teamcmd implements `vibexp team` (`team list`, `team audit`).
Package teamcmd implements `vibexp team` (`team list`, `team audit`).
updatecmd
Package updatecmd implements `vibexp update` — the explicit, checksum-verified self-update.
Package updatecmd implements `vibexp update` — the explicit, checksum-verified self-update.
usercmd
Package usercmd implements `vibexp whoami`.
Package usercmd implements `vibexp whoami`.
versioncmd
Package versioncmd implements `vibexp version`.
Package versioncmd implements `vibexp version`.
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).
Package config manages named contexts (kubectl-style) persisted to ~/.vibexp/config.yaml.
Package config manages named contexts (kubectl-style) persisted to ~/.vibexp/config.yaml.
Package cred manages the per-context credential store (~/.vibexp/credentials.json, 0600).
Package cred manages the per-context credential store (~/.vibexp/credentials.json, 0600).
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).
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.
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.
Package output is the shared rendering engine every command uses.
Package output is the shared rendering engine every command uses.
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.
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