Documentation
¶
Overview ¶
Package planning は Plan Mode 用のツールを提供する
Index ¶
- type AskUserQuestionTool
- type CreatePlanTool
- func (t *CreatePlanTool) ClearLastPlan()
- func (t *CreatePlanTool) Description() string
- func (t *CreatePlanTool) LastPlan() *plan.Plan
- func (t *CreatePlanTool) Name() string
- func (t *CreatePlanTool) Parameters() map[string]interface{}
- func (t *CreatePlanTool) Run(args map[string]string) (string, *tools.FileChange, error)
- type DeletePlanTool
- type GetPlanTool
- type ListPlansTool
- type UpdatePlanTool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AskUserQuestionTool ¶
type AskUserQuestionTool struct{}
AskUserQuestionTool はLLMがユーザーに質問するためのツール
func (*AskUserQuestionTool) Description ¶
func (t *AskUserQuestionTool) Description() string
Description はツールの説明を返す
func (*AskUserQuestionTool) Parameters ¶
func (t *AskUserQuestionTool) Parameters() map[string]interface{}
Parameters はツールのパラメータ定義を返す
func (*AskUserQuestionTool) Run ¶
func (t *AskUserQuestionTool) Run(args map[string]string) (string, *tools.FileChange, error)
Run はツールを実行
type CreatePlanTool ¶
type CreatePlanTool struct {
// contains filtered or unexported fields
}
CreatePlanTool は計画を作成・保存するツール
func NewCreatePlanTool ¶
func NewCreatePlanTool(storage *plan.PlanStorage) *CreatePlanTool
NewCreatePlanTool は CreatePlanTool を作成
func (*CreatePlanTool) ClearLastPlan ¶
func (t *CreatePlanTool) ClearLastPlan()
ClearLastPlan は lastPlan をクリアする
func (*CreatePlanTool) Description ¶
func (t *CreatePlanTool) Description() string
Description はツールの説明を返す
func (*CreatePlanTool) LastPlan ¶
func (t *CreatePlanTool) LastPlan() *plan.Plan
LastPlan は最後に作成した Plan を返す
func (*CreatePlanTool) Parameters ¶
func (t *CreatePlanTool) Parameters() map[string]interface{}
Parameters はツールのパラメータ定義を返す
func (*CreatePlanTool) Run ¶
func (t *CreatePlanTool) Run(args map[string]string) (string, *tools.FileChange, error)
Run はツールを実行
type DeletePlanTool ¶
type DeletePlanTool struct {
// contains filtered or unexported fields
}
DeletePlanTool は計画を削除するツール
func NewDeletePlanTool ¶
func NewDeletePlanTool(storage *plan.PlanStorage) *DeletePlanTool
NewDeletePlanTool は DeletePlanTool を作成
func (*DeletePlanTool) Description ¶
func (t *DeletePlanTool) Description() string
Description はツールの説明を返す
func (*DeletePlanTool) Parameters ¶
func (t *DeletePlanTool) Parameters() map[string]interface{}
Parameters はツールのパラメータ定義を返す
func (*DeletePlanTool) Run ¶
func (t *DeletePlanTool) Run(args map[string]string) (string, *tools.FileChange, error)
Run はツールを実行
type GetPlanTool ¶
type GetPlanTool struct {
// contains filtered or unexported fields
}
GetPlanTool は保存された計画を取得するツール
func NewGetPlanTool ¶
func NewGetPlanTool(storage *plan.PlanStorage) *GetPlanTool
NewGetPlanTool は GetPlanTool を作成
func (*GetPlanTool) Parameters ¶
func (t *GetPlanTool) Parameters() map[string]interface{}
Parameters はツールのパラメータ定義を返す
func (*GetPlanTool) Run ¶
func (t *GetPlanTool) Run(args map[string]string) (string, *tools.FileChange, error)
Run はツールを実行
type ListPlansTool ¶
type ListPlansTool struct {
// contains filtered or unexported fields
}
ListPlansTool は保存された計画の一覧を取得するツール
func NewListPlansTool ¶
func NewListPlansTool(storage *plan.PlanStorage) *ListPlansTool
NewListPlansTool は ListPlansTool を作成
func (*ListPlansTool) Description ¶
func (t *ListPlansTool) Description() string
Description はツールの説明を返す
func (*ListPlansTool) Parameters ¶
func (t *ListPlansTool) Parameters() map[string]interface{}
Parameters はツールのパラメータ定義を返す
func (*ListPlansTool) Run ¶
func (t *ListPlansTool) Run(args map[string]string) (string, *tools.FileChange, error)
Run はツールを実行
type UpdatePlanTool ¶
type UpdatePlanTool struct {
// contains filtered or unexported fields
}
UpdatePlanTool は計画を更新するツール
func NewUpdatePlanTool ¶
func NewUpdatePlanTool(storage *plan.PlanStorage) *UpdatePlanTool
NewUpdatePlanTool は UpdatePlanTool を作成
func (*UpdatePlanTool) Description ¶
func (t *UpdatePlanTool) Description() string
Description はツールの説明を返す
func (*UpdatePlanTool) Parameters ¶
func (t *UpdatePlanTool) Parameters() map[string]interface{}
Parameters はツールのパラメータ定義を返す
func (*UpdatePlanTool) Run ¶
func (t *UpdatePlanTool) Run(args map[string]string) (string, *tools.FileChange, error)
Run はツールを実行