Documentation
¶
Index ¶
- Constants
- func ImplementationPrompt(specBody string, specFilePath string, draftSessionID string, ...) string
- func LoadSpecFile(workspaceRoot string, specFilePath string) (string, string, error)
- func RegisterDraftTools(registry *tools.Registry, workspaceRoot string, now func() time.Time)
- func ResolveSpecFilePath(workspaceRoot string, specFilePath string) (string, error)
- type SaveOptions
- type SavedSpec
- type SubmitTool
Constants ¶
View Source
const ( SubmitToolName = "submit_spec" ControlSpecReviewRequired = "spec_review_required" )
View Source
const DraftSystemPrompt = `` /* 1081-byte string literal not displayed */
View Source
const (
SpecDirName = ".zero/specs"
)
Variables ¶
This section is empty.
Functions ¶
func ImplementationPrompt ¶
func LoadSpecFile ¶
func RegisterDraftTools ¶
Types ¶
type SaveOptions ¶
type SubmitTool ¶
type SubmitTool struct {
// contains filtered or unexported fields
}
func NewSubmitTool ¶
func NewSubmitTool(workspaceRoot string, now func() time.Time) SubmitTool
func (SubmitTool) Description ¶
func (tool SubmitTool) Description() string
func (SubmitTool) Name ¶
func (tool SubmitTool) Name() string
func (SubmitTool) Parameters ¶
func (tool SubmitTool) Parameters() tools.Schema
func (SubmitTool) Safety ¶
func (tool SubmitTool) Safety() tools.Safety
Click to show internal directories.
Click to hide internal directories.