Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPFetcher ¶
type HTTPFetcher struct {
// contains filtered or unexported fields
}
HTTPFetcher is the CLI's default bounded HTTP(S) web fetch backend.
func NewHTTPFetcher ¶
func NewHTTPFetcher(config HTTPFetcherConfig) *HTTPFetcher
NewHTTPFetcher returns a bounded HTTP(S) fetcher suitable for the default CLI web_fetch tool. The default policy blocks loopback, link-local, and private network addresses; command tools remain available for explicit local network checks when the user asks for them.
func (*HTTPFetcher) FetchURL ¶
func (f *HTTPFetcher) FetchURL(ctx context.Context, req web.FetchRequest) (web.FetchResult, error)
FetchURL fetches req.URL through the default CLI HTTP client.
Source Files
¶
- activity.go
- app_program.go
- app_render.go
- app_transcript_formatter.go
- cli.go
- config_command.go
- context_window.go
- doctor_command.go
- event_stream.go
- interactive.go
- interactive_composer.go
- interactive_history.go
- interactive_history_lock_unix.go
- interactive_input.go
- live_render.go
- mcp_command.go
- model_registry.go
- provider.go
- render.go
- runtime.go
- skills.go
- web_fetcher.go
Click to show internal directories.
Click to hide internal directories.