Documentation
¶
Index ¶
- Constants
- type ExternalSkillsInstallOptions
- type ExternalSkillsInvocation
- type ExternalSkillsListOptions
- type ExternalSkillsRemoveOptions
- type ExternalSkillsRunner
- type ExternalSkillsUpdateOptions
- type InitOptions
- type InitRunner
- type InstallRunner
- type IntegrationController
- type IntegrationsRunner
- type PluginBootstrapOptions
- type PluginBootstrapResult
- type PluginBundleFetchOptions
- type PluginBundleFetchResult
- type PluginBundleInstallOptions
- type PluginBundleInstallResult
- type PluginBundlePublishOptions
- type PluginBundlePublishResult
- type PluginCompatOptions
- type PluginDevOptions
- type PluginDevSummary
- type PluginDevUpdate
- type PluginDoctorOptions
- type PluginDoctorResult
- type PluginExportOptions
- type PluginExportResult
- type PluginGenerateOptions
- type PluginImportOptions
- type PluginInspectOptions
- type PluginInstaller
- type PluginNormalizeOptions
- type PluginPublicationMaterializeOptions
- type PluginPublicationMaterializeResult
- type PluginPublicationRemoveOptions
- type PluginPublicationRemoveResult
- type PluginPublicationRootIssue
- type PluginPublicationVerifyRootOptions
- type PluginPublicationVerifyRootResult
- type PluginPublishIssue
- type PluginPublishOptions
- type PluginPublishResult
- type PluginService
- func (PluginService) Bootstrap(ctx context.Context, opts PluginBootstrapOptions) (PluginBootstrapResult, error)
- func (PluginService) BundleFetch(ctx context.Context, opts PluginBundleFetchOptions) (PluginBundleFetchResult, error)
- func (PluginService) BundleInstall(opts PluginBundleInstallOptions) (PluginBundleInstallResult, error)
- func (PluginService) BundlePublish(ctx context.Context, opts PluginBundlePublishOptions) (PluginBundlePublishResult, error)
- func (PluginService) Compat(opts PluginCompatOptions) (pluginmanifest.SourceInspection, []pluginmanifest.Warning, error)
- func (svc PluginService) Dev(ctx context.Context, opts PluginDevOptions, emit func(PluginDevUpdate)) (PluginDevSummary, error)
- func (PluginService) Doctor(opts PluginDoctorOptions) (PluginDoctorResult, error)
- func (PluginService) Export(opts PluginExportOptions) (PluginExportResult, error)
- func (PluginService) Generate(opts PluginGenerateOptions) ([]string, error)
- func (PluginService) Import(opts PluginImportOptions) ([]pluginmanifest.Warning, error)
- func (PluginService) Inspect(opts PluginInspectOptions) (pluginmanifest.Inspection, []pluginmanifest.Warning, error)
- func (PluginService) Normalize(opts PluginNormalizeOptions) ([]pluginmanifest.Warning, error)
- func (service PluginService) PublicationMaterialize(opts PluginPublicationMaterializeOptions) (PluginPublicationMaterializeResult, error)
- func (service PluginService) PublicationRemove(opts PluginPublicationRemoveOptions) (PluginPublicationRemoveResult, error)
- func (service PluginService) PublicationVerifyRoot(opts PluginPublicationVerifyRootOptions) (PluginPublicationVerifyRootResult, error)
- func (service PluginService) Publish(opts PluginPublishOptions) (PluginPublishResult, error)
- func (PluginService) Test(ctx context.Context, opts PluginTestOptions) (PluginTestResult, error)
- type PluginTestCase
- type PluginTestMismatch
- type PluginTestOptions
- type PluginTestResult
- type PluginTestSummary
- type SkillsGenerateOptions
- type SkillsInitOptions
- type SkillsService
- func (s SkillsService) Generate(opts SkillsGenerateOptions) ([]string, error)
- func (s SkillsService) Init(opts SkillsInitOptions) (string, error)
- func (s SkillsService) InstallExternal(ctx context.Context, opts ExternalSkillsInstallOptions) error
- func (s SkillsService) ListExternal(ctx context.Context, opts ExternalSkillsListOptions) error
- func (s SkillsService) RemoveExternal(ctx context.Context, opts ExternalSkillsRemoveOptions) error
- func (s SkillsService) UpdateExternal(ctx context.Context, opts ExternalSkillsUpdateOptions) error
- func (s SkillsService) Validate(opts SkillsValidateOptions) (skillsapp.ValidationReport, error)
- type SkillsValidateOptions
Constants ¶
View Source
const DefaultExternalSkillsCLIVersion = "1.5.5"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalSkillsRunner ¶
type ExternalSkillsRunner interface {
Run(ctx context.Context, invocation ExternalSkillsInvocation) error
}
type InitOptions ¶
type InitOptions struct {
ProjectName string
Template string
Platform string
PlatformExplicit bool
Runtime string
RuntimeExplicit bool
TypeScript bool
RuntimePackage bool
RuntimePackageVersion string
OutputDir string // empty → ./<project-name> under cwd
Force bool
Extras bool
ClaudeExtendedHooks bool
}
InitOptions is parsed CLI state for plugin-kit-ai init.
type InitRunner ¶
type InitRunner struct{}
InitRunner runs plugin-kit-ai init.
func (InitRunner) Run ¶
func (InitRunner) Run(opts InitOptions) (outDir string, err error)
Run validates options, writes scaffold files, and returns the absolute output directory.
type InstallRunner ¶
type InstallRunner struct {
Installer PluginInstaller
}
InstallRunner runs plugin-kit-ai install behind the CLI.
func NewInstallRunner ¶
func NewInstallRunner(inst PluginInstaller) *InstallRunner
NewInstallRunner returns a runner. If inst is nil, plugininstall.Install is used.
func (*InstallRunner) Install ¶
func (r *InstallRunner) Install(ctx context.Context, p plugininstall.Params) (plugininstall.Result, error)
Install executes installation with the given params.
type IntegrationController ¶
type IntegrationController interface {
Add(context.Context, integrationctl.AddParams) (integrationctl.Result, error)
Update(context.Context, integrationctl.UpdateParams) (integrationctl.Result, error)
Remove(context.Context, integrationctl.RemoveParams) (integrationctl.Result, error)
Repair(context.Context, integrationctl.RepairParams) (integrationctl.Result, error)
Enable(context.Context, integrationctl.ToggleParams) (integrationctl.Result, error)
Disable(context.Context, integrationctl.ToggleParams) (integrationctl.Result, error)
Sync(context.Context, integrationctl.SyncParams) (integrationctl.Result, error)
List(context.Context) (integrationctl.Report, error)
Doctor(context.Context) (integrationctl.Report, error)
}
type IntegrationsRunner ¶
type IntegrationsRunner struct {
Controller IntegrationController
}
func NewIntegrationsRunner ¶
func NewIntegrationsRunner(controller IntegrationController) *IntegrationsRunner
type PluginBootstrapOptions ¶
type PluginBootstrapOptions struct {
Root string
}
type PluginBootstrapResult ¶
type PluginBootstrapResult struct {
Lines []string
}
type PluginBundleFetchResult ¶
type PluginBundleFetchResult struct {
Lines []string
}
type PluginBundleInstallResult ¶
type PluginBundleInstallResult struct {
Lines []string
}
type PluginBundlePublishResult ¶
type PluginBundlePublishResult struct {
Lines []string
}
type PluginCompatOptions ¶
type PluginDevOptions ¶
type PluginDevSummary ¶
type PluginDevUpdate ¶
type PluginDoctorOptions ¶
type PluginDoctorOptions struct {
Root string
}
type PluginDoctorResult ¶
type PluginExportOptions ¶
type PluginExportResult ¶
type PluginExportResult struct {
Lines []string
}
type PluginGenerateOptions ¶
type PluginImportOptions ¶
type PluginInspectOptions ¶
type PluginInstaller ¶
type PluginInstaller interface {
Install(ctx context.Context, p plugininstall.Params) (plugininstall.Result, error)
}
PluginInstaller is the install use case boundary for tests (production uses plugininstall.Install).
type PluginNormalizeOptions ¶
type PluginPublicationMaterializeResult ¶
type PluginPublicationMaterializeResult struct {
Target string `json:"target"`
Mode string `json:"mode"`
MarketplaceFamily string `json:"marketplace_family"`
Dest string `json:"dest"`
PackageRoot string `json:"package_root"`
Details map[string]string `json:"details"`
NextSteps []string `json:"next_steps"`
Lines []string `json:"-"`
}
type PluginPublicationRemoveResult ¶
type PluginPublicationRemoveResult struct {
Lines []string
}
type PluginPublicationVerifyRootResult ¶
type PluginPublicationVerifyRootResult struct {
Ready bool `json:"ready"`
Status string `json:"status"`
Dest string `json:"dest"`
PackageRoot string `json:"package_root"`
CatalogPath string `json:"catalog_path"`
IssueCount int `json:"issue_count"`
Issues []PluginPublicationRootIssue `json:"issues"`
NextSteps []string `json:"next_steps"`
Lines []string `json:"-"`
}
type PluginPublishIssue ¶
type PluginPublishOptions ¶
type PluginPublishResult ¶
type PluginPublishResult struct {
Channel string `json:"channel,omitempty"`
Target string `json:"target,omitempty"`
Ready bool `json:"ready"`
Status string `json:"status"`
Mode string `json:"mode"`
WorkflowClass string `json:"workflow_class"`
Dest string `json:"dest,omitempty"`
PackageRoot string `json:"package_root,omitempty"`
Details map[string]string `json:"details"`
IssueCount int `json:"issue_count"`
Issues []PluginPublishIssue `json:"issues"`
WarningCount int `json:"warning_count,omitempty"`
Warnings []string `json:"warnings,omitempty"`
NextSteps []string `json:"next_steps"`
ChannelCount int `json:"channel_count,omitempty"`
Channels []PluginPublishResult `json:"channels,omitempty"`
Lines []string `json:"-"`
}
type PluginService ¶
type PluginService struct{}
func (PluginService) Bootstrap ¶
func (PluginService) Bootstrap(ctx context.Context, opts PluginBootstrapOptions) (PluginBootstrapResult, error)
func (PluginService) BundleFetch ¶
func (PluginService) BundleFetch(ctx context.Context, opts PluginBundleFetchOptions) (PluginBundleFetchResult, error)
func (PluginService) BundleInstall ¶
func (PluginService) BundleInstall(opts PluginBundleInstallOptions) (PluginBundleInstallResult, error)
func (PluginService) BundlePublish ¶
func (PluginService) BundlePublish(ctx context.Context, opts PluginBundlePublishOptions) (PluginBundlePublishResult, error)
func (PluginService) Compat ¶
func (PluginService) Compat(opts PluginCompatOptions) (pluginmanifest.SourceInspection, []pluginmanifest.Warning, error)
func (PluginService) Dev ¶
func (svc PluginService) Dev(ctx context.Context, opts PluginDevOptions, emit func(PluginDevUpdate)) (PluginDevSummary, error)
func (PluginService) Doctor ¶
func (PluginService) Doctor(opts PluginDoctorOptions) (PluginDoctorResult, error)
func (PluginService) Export ¶
func (PluginService) Export(opts PluginExportOptions) (PluginExportResult, error)
func (PluginService) Generate ¶
func (PluginService) Generate(opts PluginGenerateOptions) ([]string, error)
func (PluginService) Import ¶
func (PluginService) Import(opts PluginImportOptions) ([]pluginmanifest.Warning, error)
func (PluginService) Inspect ¶
func (PluginService) Inspect(opts PluginInspectOptions) (pluginmanifest.Inspection, []pluginmanifest.Warning, error)
func (PluginService) Normalize ¶
func (PluginService) Normalize(opts PluginNormalizeOptions) ([]pluginmanifest.Warning, error)
func (PluginService) PublicationMaterialize ¶
func (service PluginService) PublicationMaterialize(opts PluginPublicationMaterializeOptions) (PluginPublicationMaterializeResult, error)
func (PluginService) PublicationRemove ¶
func (service PluginService) PublicationRemove(opts PluginPublicationRemoveOptions) (PluginPublicationRemoveResult, error)
func (PluginService) PublicationVerifyRoot ¶
func (service PluginService) PublicationVerifyRoot(opts PluginPublicationVerifyRootOptions) (PluginPublicationVerifyRootResult, error)
func (PluginService) Publish ¶
func (service PluginService) Publish(opts PluginPublishOptions) (PluginPublishResult, error)
func (PluginService) Test ¶
func (PluginService) Test(ctx context.Context, opts PluginTestOptions) (PluginTestResult, error)
type PluginTestCase ¶
type PluginTestCase struct {
Platform string `json:"platform"`
Event string `json:"event"`
FixturePath string `json:"fixture_path"`
Carrier string `json:"carrier"`
Command []string `json:"command,omitempty"`
Stdout string `json:"stdout"`
Stderr string `json:"stderr"`
ExitCode int `json:"exit_code"`
GoldenDir string `json:"golden_dir,omitempty"`
GoldenStatus string `json:"golden_status,omitempty"`
GoldenFiles []string `json:"golden_files,omitempty"`
Mismatches []string `json:"mismatches,omitempty"`
MismatchInfo []PluginTestMismatch `json:"mismatch_info,omitempty"`
Failure string `json:"failure,omitempty"`
Passed bool `json:"passed"`
}
type PluginTestMismatch ¶
type PluginTestOptions ¶
type PluginTestResult ¶
type PluginTestResult struct {
Passed bool `json:"passed"`
Summary PluginTestSummary `json:"summary"`
Lines []string `json:"lines"`
Cases []PluginTestCase `json:"cases"`
}
type PluginTestSummary ¶
type SkillsGenerateOptions ¶
type SkillsInitOptions ¶
type SkillsService ¶
type SkillsService struct {
ExternalRunner ExternalSkillsRunner
// contains filtered or unexported fields
}
func (SkillsService) Generate ¶
func (s SkillsService) Generate(opts SkillsGenerateOptions) ([]string, error)
func (SkillsService) Init ¶
func (s SkillsService) Init(opts SkillsInitOptions) (string, error)
func (SkillsService) InstallExternal ¶
func (s SkillsService) InstallExternal(ctx context.Context, opts ExternalSkillsInstallOptions) error
func (SkillsService) ListExternal ¶
func (s SkillsService) ListExternal(ctx context.Context, opts ExternalSkillsListOptions) error
func (SkillsService) RemoveExternal ¶
func (s SkillsService) RemoveExternal(ctx context.Context, opts ExternalSkillsRemoveOptions) error
func (SkillsService) UpdateExternal ¶
func (s SkillsService) UpdateExternal(ctx context.Context, opts ExternalSkillsUpdateOptions) error
func (SkillsService) Validate ¶
func (s SkillsService) Validate(opts SkillsValidateOptions) (skillsapp.ValidationReport, error)
type SkillsValidateOptions ¶
type SkillsValidateOptions struct {
Root string
}
Source Files
¶
- bootstrap.go
- bootstrap_exec.go
- bootstrap_node.go
- bootstrap_python.go
- bundle_fetch.go
- bundle_fetch_checksum.go
- bundle_fetch_checksum_github.go
- bundle_fetch_checksum_url.go
- bundle_fetch_http.go
- bundle_fetch_http_download.go
- bundle_fetch_http_roots.go
- bundle_fetch_http_transport.go
- bundle_fetch_source.go
- bundle_fetch_source_assets.go
- bundle_fetch_source_github.go
- bundle_fetch_source_github_release.go
- bundle_fetch_source_github_render.go
- bundle_fetch_source_url.go
- bundle_fetch_workflow.go
- bundle_fetch_workflow_deps.go
- bundle_fetch_workflow_deps_client.go
- bundle_fetch_workflow_install.go
- bundle_fetch_workflow_install_archive.go
- bundle_fetch_workflow_install_metadata.go
- bundle_fetch_workflow_mode.go
- bundle_fetch_workflow_mode_github.go
- bundle_fetch_workflow_mode_url.go
- bundle_fetch_workflow_render.go
- bundle_fetch_workflow_run.go
- bundle_fetch_workflow_temp.go
- bundle_install.go
- bundle_install_apply.go
- bundle_install_apply_extract.go
- bundle_install_apply_extract_loop.go
- bundle_install_apply_metadata.go
- bundle_install_apply_replace.go
- bundle_install_apply_workspace.go
- bundle_install_archive.go
- bundle_install_archive_header.go
- bundle_install_archive_metadata.go
- bundle_install_archive_open.go
- bundle_install_input.go
- bundle_install_metadata.go
- bundle_install_paths.go
- bundle_install_render.go
- bundle_install_run.go
- bundle_publish.go
- bundle_publish_artifact.go
- bundle_publish_artifact_export.go
- bundle_publish_artifact_render.go
- bundle_publish_input.go
- bundle_publish_release.go
- bundle_publish_release_assets.go
- bundle_publish_release_state.go
- bundle_publish_render.go
- bundle_publish_run.go
- dev.go
- dev_build.go
- dev_cycle.go
- dev_cycle_steps.go
- dev_loop.go
- dev_platform.go
- dev_watch.go
- doctor.go
- doctor_environment.go
- doctor_environment_flow.go
- doctor_environment_render.go
- doctor_environment_render_lines.go
- doctor_environment_specs.go
- doctor_environment_specs_runtime.go
- doctor_load.go
- doctor_result.go
- doctor_tools.go
- doctor_tools_commands.go
- doctor_tools_path.go
- doctor_tools_version.go
- export.go
- export_archive.go
- export_archive_files.go
- export_archive_metadata.go
- export_archive_writer.go
- export_paths.go
- export_paths_base.go
- export_paths_collect.go
- export_paths_fs.go
- export_paths_launcher.go
- export_paths_output.go
- export_runtime.go
- export_service.go
- export_service_archive.go
- export_service_archive_metadata.go
- export_service_archive_plan.go
- export_service_archive_plan_files.go
- export_service_archive_plan_output.go
- export_service_archive_render.go
- export_service_context.go
- export_service_context_build.go
- export_service_context_graph.go
- export_service_context_input.go
- export_service_context_runtime.go
- export_service_run.go
- external_skills.go
- init.go
- init_resolve.go
- init_resolve_launcher.go
- init_resolve_package.go
- init_run.go
- init_run_generate.go
- init_run_output.go
- init_run_scaffold.go
- init_shared.go
- install.go
- integrations.go
- plugin.go
- publication.go
- publication_context.go
- publication_context_base_discovery.go
- publication_context_base_input.go
- publication_context_catalog.go
- publication_context_catalog_paths.go
- publication_context_catalog_render.go
- publication_context_load_assign.go
- publication_context_load_channel_target.go
- publication_context_load_helpers.go
- publication_context_load_materialize.go
- publication_context_load_materialize_build.go
- publication_context_load_materialize_input.go
- publication_context_load_materialize_policy.go
- publication_context_load_remove.go
- publication_context_load_remove_input.go
- publication_context_load_resolution.go
- publication_context_load_target_model.go
- publication_context_load_verify.go
- publication_context_load_verify_input.go
- publication_context_package.go
- publication_context_package_paths.go
- publication_context_package_render.go
- publication_context_shared.go
- publication_gemini.go
- publication_gemini_diagnose.go
- publication_gemini_render.go
- publication_gemini_source.go
- publication_materialize.go
- publication_materialize_apply.go
- publication_materialize_load.go
- publication_materialize_prepare.go
- publication_materialize_prepare_actions.go
- publication_materialize_prepare_inputs.go
- publication_materialize_render.go
- publication_materialize_render_details.go
- publication_materialize_render_envelope.go
- publication_materialize_render_lines.go
- publication_materialize_run.go
- publication_publish.go
- publication_publish_all.go
- publication_publish_all_input.go
- publication_publish_all_plan.go
- publication_publish_all_render.go
- publication_publish_all_result.go
- publication_publish_all_run.go
- publication_publish_channel.go
- publication_publish_channel_input.go
- publication_publish_channel_render.go
- publication_remove.go
- publication_remove_apply.go
- publication_remove_prepare.go
- publication_remove_render.go
- publication_shared.go
- publication_shared_artifacts.go
- publication_shared_catalog.go
- publication_shared_channels.go
- publication_shared_clone.go
- publication_shared_inspection.go
- publication_shared_paths.go
- publication_split_test_helpers.go
- publication_split_test_state_helpers.go
- publication_verify.go
- publication_verify_catalog.go
- publication_verify_package.go
- publication_verify_prepare.go
- publication_verify_prepare_inputs.go
- publication_verify_render.go
- publication_verify_render_lines.go
- publication_verify_render_lines_base.go
- publication_verify_render_lines_status.go
- publication_verify_render_status.go
- runtime_guidance.go
- skills.go
- test.go
- test_execution.go
- test_execution_command.go
- test_execution_invocation.go
- test_execution_paths.go
- test_golden.go
- test_golden_compare.go
- test_golden_format.go
- test_golden_paths.go
- test_golden_update.go
- test_selection.go
- test_selection_platform.go
- test_selection_support.go
- test_workflow.go
- test_workflow_execute.go
- test_workflow_prepare.go
Click to show internal directories.
Click to hide internal directories.