@@ -336,6 +336,107 @@ type SkillBadgeOptions struct {
336336 Style string
337337}
338338
339+ type SkillPublisherQuickstartCommand struct {
340+ ID string `json:"id"`
341+ Label string `json:"label"`
342+ Description string `json:"description"`
343+ Command string `json:"command"`
344+ Href * string `json:"href"`
345+ }
346+
347+ type SkillPublisherTemplatePreset struct {
348+ PresetID string `json:"presetId"`
349+ Label string `json:"label"`
350+ Description string `json:"description"`
351+ RecommendedFor string `json:"recommendedFor"`
352+ Command string `json:"command"`
353+ }
354+
355+ type SkillPublisherMetadata struct {
356+ CLIPackageURL string `json:"cliPackageUrl"`
357+ CLICommand string `json:"cliCommand"`
358+ ActionMarketplaceURL string `json:"actionMarketplaceUrl"`
359+ RepositoryURL string `json:"repositoryUrl"`
360+ GuideURL * string `json:"guideUrl"`
361+ DocsURL * string `json:"docsUrl"`
362+ SubmitURL * string `json:"submitUrl"`
363+ SkillsIndexURL * string `json:"skillsIndexUrl"`
364+ QuickstartCommands []SkillPublisherQuickstartCommand `json:"quickstartCommands"`
365+ TemplatePresets []SkillPublisherTemplatePreset `json:"templatePresets"`
366+ }
367+
368+ type SkillRegistryConfigResponse struct {
369+ Enabled bool `json:"enabled"`
370+ DirectoryTopicID * string `json:"directoryTopicId"`
371+ MaxFiles * int `json:"maxFiles"`
372+ MaxTotalSizeBytes * int `json:"maxTotalSizeBytes"`
373+ AllowedMimeTypes []string `json:"allowedMimeTypes"`
374+ Network * string `json:"network"`
375+ Publisher * SkillPublisherMetadata `json:"publisher"`
376+ }
377+
378+ type SkillInstallArtifactDescriptor struct {
379+ URL string `json:"url"`
380+ Pointer * string `json:"pointer"`
381+ SHA256 * string `json:"sha256"`
382+ }
383+
384+ type SkillInstallResolverDescriptor struct {
385+ SkillRef string `json:"skillRef"`
386+ SkillMDURL string `json:"skillMdUrl"`
387+ ManifestURL string `json:"manifestUrl"`
388+ }
389+
390+ type SkillInstallBadgeDescriptor struct {
391+ APIURL string `json:"apiUrl"`
392+ ImageURL string `json:"imageUrl"`
393+ Markdown string `json:"markdown"`
394+ HTML string `json:"html"`
395+ }
396+
397+ type SkillInstallShareDescriptor struct {
398+ CanonicalURL * string `json:"canonicalUrl"`
399+ LatestURL * string `json:"latestUrl"`
400+ MarkdownLink * string `json:"markdownLink"`
401+ HTMLLink * string `json:"htmlLink"`
402+ Badge * SkillInstallBadgeDescriptor `json:"badge"`
403+ }
404+
405+ type SkillInstallSnippetSet struct {
406+ CLI string `json:"cli"`
407+ Claude string `json:"claude"`
408+ Cursor string `json:"cursor"`
409+ Codex string `json:"codex"`
410+ OpenClaw string `json:"openclaw"`
411+ }
412+
413+ type SkillInstallResponse struct {
414+ Name string `json:"name"`
415+ Version string `json:"version"`
416+ SkillRef string `json:"skillRef"`
417+ Network string `json:"network"`
418+ DetailURL * string `json:"detailUrl"`
419+ Artifacts struct {
420+ SkillMD SkillInstallArtifactDescriptor `json:"skillMd"`
421+ Manifest SkillInstallArtifactDescriptor `json:"manifest"`
422+ } `json:"artifacts"`
423+ Resolvers struct {
424+ Pinned SkillInstallResolverDescriptor `json:"pinned"`
425+ Latest SkillInstallResolverDescriptor `json:"latest"`
426+ } `json:"resolvers"`
427+ Share SkillInstallShareDescriptor `json:"share"`
428+ Snippets SkillInstallSnippetSet `json:"snippets"`
429+ }
430+
431+ type SkillInstallCopyTelemetryRequest struct {
432+ Source string `json:"source,omitempty"`
433+ InstallType string `json:"installType,omitempty"`
434+ }
435+
436+ type SkillInstallCopyTelemetryResponse struct {
437+ Accepted bool `json:"accepted"`
438+ }
439+
339440type PurchaseCreditsWithHbarParams struct {
340441 AccountID string
341442 PrivateKey string
0 commit comments