Skip to content

v0.1.0

@agentfirstkit agentfirstkit tagged this 19 Feb 15:24
- Implement afhttp CLI mode for single-request agent invocations — one JSON line in, one JSON line out, exit code 0 for any HTTP response so agents distinguish transport errors (exit 1) from HTTP errors (status field) without exception handling
- Implement afhttp --pipe mode for persistent sessions with HTTP connection pooling, concurrent in-flight requests matched by id, and chunked streaming for SSE/NDJSON delivered as individual JSONL lines — eliminating per-request TLS handshake overhead for agents making multiple calls to the same API
- Implement afhttp --mcp mode as a Model Context Protocol server over stdio, exposing http_request and http_config tools so AI assistants like Claude Desktop can make HTTP requests without shell access
- Add curl compatibility mode via 'afhttp curl' subcommand or argv[0] symlink detection, translating curl-style flags into afhttp requests and returning structured JSON instead of raw bytes — enabling agents to reuse existing curl-based tool definitions
- Add WebSocket support in pipe mode for full-duplex connections, delivering server frames as JSONL chunk_data lines and accepting client frames as stdin messages
- Add .gitignore with .DS_Store and .cmn exclusions — .cmn is the hypha spawn working directory created when agents resolve this spore as a dependency
Assets 2
Loading