Documentation
¶
Index ¶
- Constants
- func New() *mcp.Server
- func Serve(ctx context.Context) error
- type BoardInput
- type ChangeInput
- type DoctorResult
- type Empty
- type ExtractInput
- type FrameInput
- type IndexInput
- type NewInput
- type ProjectInput
- type RenderInput
- type SaveInput
- type ScenesInput
- type SearchInput
- type SearchOutput
- type SourceInput
Constants ¶
View Source
const Version = "0.1.0"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BoardInput ¶
type ChangeInput ¶
type DoctorResult ¶
type DoctorResult struct {
Ready bool `json:"ready"`
Platform string `json:"platform"`
Version string `json:"version"`
Dependencies map[string]string `json:"dependencies"`
}
func Doctor ¶
func Doctor() DoctorResult
type ExtractInput ¶
type FrameInput ¶
type IndexInput ¶
type ProjectInput ¶
type ProjectInput struct {
Project string `json:"project" jsonschema:"Path to an edit project JSON file, not an iMovie library"`
}
type RenderInput ¶
type ScenesInput ¶
type SearchInput ¶
type SearchInput struct {
Query string `json:"query"`
Catalog string `json:"catalog,omitempty" jsonschema:"Local catalogue path for filename/description/tag/transcript text search"`
Namespace string `json:"namespace,omitempty" jsonschema:"Populated Layer namespace for semantic search; requires gateway environment variables"`
Field string `json:"field,omitempty" jsonschema:"Layer embedding source field, defaults to image_url"`
Limit int `json:"limit,omitempty"`
}
type SearchOutput ¶
type SearchOutput struct {
Local *catalog.Matches `json:"local,omitempty"`
Semantic *layer.Results `json:"semantic,omitempty"`
}
func Search ¶
func Search(ctx context.Context, in SearchInput) (SearchOutput, error)
type SourceInput ¶
type SourceInput struct {
Source string `json:"source" jsonschema:"Local video path; URLs are not accepted"`
}
Click to show internal directories.
Click to hide internal directories.