planning

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package planning は Plan Mode 用のツールを提供する

Index

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) Name

func (t *AskUserQuestionTool) Name() string

Name はツール名を返す

func (*AskUserQuestionTool) Parameters

func (t *AskUserQuestionTool) Parameters() map[string]interface{}

Parameters はツールのパラメータ定義を返す

func (*AskUserQuestionTool) Run

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) Name

func (t *CreatePlanTool) Name() string

Name はツール名を返す

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) Name

func (t *DeletePlanTool) Name() string

Name はツール名を返す

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) Description

func (t *GetPlanTool) Description() string

Description はツールの説明を返す

func (*GetPlanTool) Name

func (t *GetPlanTool) Name() string

Name はツール名を返す

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) Name

func (t *ListPlansTool) Name() string

Name はツール名を返す

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) Name

func (t *UpdatePlanTool) Name() string

Name はツール名を返す

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 はツールを実行

Jump to

Keyboard shortcuts

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