Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶ added in v0.7.0
Execute runs ctx with args, writing to stdout and stderr, and returns the process exit code. cmd/ctx/main.go is just os.Exit(Execute(...)).
In envelope mode (ui.EnvelopeMode: the executed command's --json is true, it is `ctx show`, or the raw args carry --json) a failure is exactly one ctx.error.v1 line on stderr and the exit code comes from the contract table. Otherwise the failure is rendered for a human and the exit code is 1, as before.
Types ¶
type BrowserLoginResult ¶
BrowserLoginResult is what the loopback callback hands back when the dashboard finishes minting a PAT. Name and Email are populated from the dashboard's authenticated session (Google identity) and may be empty if that information wasn't available.
type MCPRequest ¶
type MCPRequest struct {
JSONRPC string `json:"jsonrpc"`
ID interface{} `json:"id"`
Method string `json:"method"`
Params json.RawMessage `json:"params,omitempty"`
}
MCPRequest is a JSON-RPC 2.0 request.
type MCPResponse ¶
type MCPResponse struct {
JSONRPC string `json:"jsonrpc"`
ID interface{} `json:"id"`
Result interface{} `json:"result,omitempty"`
Error *MCPError `json:"error,omitempty"`
}
MCPResponse is a JSON-RPC 2.0 response.
Source Files
¶
- activity.go
- auth.go
- browserlogin.go
- capabilities.go
- capture.go
- detach.go
- diff.go
- evolution.go
- generate.go
- history.go
- hooks.go
- init.go
- integrations.go
- interactive.go
- invite.go
- join.go
- log.go
- mcp.go
- mcp_dormant.go
- mcp_install.go
- members.go
- migrate.go
- pull.go
- push.go
- push_preview.go
- remote.go
- repair.go
- repoclient.go
- resolve.go
- root.go
- show.go
- slug.go
- status.go
- update.go
- updatecheck.go
- version.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package agentwire wires the Contexo MCP server (`ctx mcp`) into the configuration of the AI coding agents that support MCP — Claude Code, Cursor, and Codex.
|
Package agentwire wires the Contexo MCP server (`ctx mcp`) into the configuration of the AI coding agents that support MCP — Claude Code, Cursor, and Codex. |