Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmd/auth/status.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
{{- with .MeshStackVersion}}
| meshStack | {{cell .}} |
{{- end}}
| AI agents | Read https://docs.meshcloud.io/agent-context/index.md before you act, starting with its guardrails |
1 change: 1 addition & 0 deletions cmd/auth/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func TestStatusOfAnApiTokenFromTheEnvironment(t *testing.T) {
assert.Contains(t, output, "| Credential | API token, from env MESHSTACK_API_TOKEN |\n")
assert.Contains(t, output, "| | User runner |\n")
assert.Contains(t, output, "| meshStack | 2026.40.0 |\n")
assert.Contains(t, output, "| AI agents | Read https://docs.meshcloud.io/agent-context/index.md")
assert.NotContains(t, output, "\x1b[", "no terminal styling")
})

Expand Down
8 changes: 5 additions & 3 deletions cmd/meshstack/meshstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,17 @@ func newRootCommand() *cobra.Command {

Start with meshstack login. It logs you in and keeps the login in a profile.

AI agents: read https://docs.meshcloud.io/agent-context/index.md before you act, starting with its
guardrails. The skill for this CLI is
https://github.com/meshcloud/meshstack-cli/blob/main/skills/meshstack-cli/SKILL.md.

The endpoint, the profile and the workspace come from a flag, else from the environment variable
that the flag's help names, else from the profile, which holds an endpoint and a default workspace.
Without a profile named, the one whose endpoint matches is used, else the current profile, which
meshstack login sets.

AI agents and scripts: add -o json to a list or show command to read JSON. meshstack api sends a
request to any path of the meshStack API, and meshstack api-docs describes that path. The skill for
agents is https://github.com/meshcloud/meshstack-cli/blob/main/skills/meshstack-cli/SKILL.md, and
https://docs.meshcloud.io/llms.txt leads to everything else about meshStack.
request to any path of the meshStack API, and meshstack api-docs describes that path.

Colors follow NO_COLOR and FORCE_COLOR, and stay off in a pipe.`,
Example: ` meshstack login
Expand Down
Loading