providers

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package providers 提供 agent.Provider 的内置实现。

目前除 mock 外均为占位实现:真实调用后续按 Provider 逐个接入 (例如 copilot 可复用现有 copilot-sdk 的 bridge 逻辑)。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() []agent.Provider

All 返回框架内置的全部 Provider,供容器启动时统一注册。 新增 Provider 时在此追加。

func NewClaudeCode

func NewClaudeCode() agent.Provider

NewClaudeCode 创建 Claude Code Provider(占位,待接入 Anthropic Claude Code CLI 真实调用)。

func NewCodex

func NewCodex() agent.Provider

NewCodex 创建 Codex Provider(占位,待接入 OpenAI Codex CLI 真实调用)。

func NewCopilot

func NewCopilot() agent.Provider

NewCopilot 创建 Copilot Provider。

func NewCustom

func NewCustom() agent.Provider

NewCustom 创建自研 Agent Provider(占位,后续接入团队自研 Agent 实现)。

func NewMock

func NewMock() agent.Provider

NewMock 创建 mock Provider。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL