Documentation
¶
Index ¶
- func AddTeamMember(c *fiber.Ctx) error
- func ArchivePrompt(c *fiber.Ctx) error
- func ArchiveSkillVersion(c *fiber.Ctx) error
- func ArchiveToolVersion(c *fiber.Ctx) error
- func ArchiveVersion(c *fiber.Ctx) error
- func BatchRun(c *fiber.Ctx) error
- func ChangePassword(c *fiber.Ctx) error
- func CreateAPIKey(c *fiber.Ctx) error
- func CreateJoinRequest(c *fiber.Ctx) error
- func CreateOrg(c *fiber.Ctx) error
- func CreateProject(c *fiber.Ctx) error
- func CreatePrompt(c *fiber.Ctx) error
- func CreatePromptPayload(c *fiber.Ctx) error
- func CreateSkill(c *fiber.Ctx) error
- func CreateSkillVersion(c *fiber.Ctx) error
- func CreateTeam(c *fiber.Ctx) error
- func CreateTool(c *fiber.Ctx) error
- func CreateToolVersion(c *fiber.Ctx) error
- func CreateVersion(c *fiber.Ctx) error
- func DeleteAPIKey(c *fiber.Ctx) error
- func DeleteMe(c *fiber.Ctx) error
- func DeleteOrg(c *fiber.Ctx) error
- func DeleteProject(c *fiber.Ctx) error
- func DeletePromptPayload(c *fiber.Ctx) error
- func DeleteSessionByID(c *fiber.Ctx) error
- func DeleteSkill(c *fiber.Ctx) error
- func DeleteSkillFile(c *fiber.Ctx) error
- func DeleteSkillVersion(c *fiber.Ctx) error
- func DeleteTeam(c *fiber.Ctx) error
- func DeleteTool(c *fiber.Ctx) error
- func DeleteToolVersion(c *fiber.Ctx) error
- func DeleteVersion(c *fiber.Ctx) error
- func DemoteSkillVersion(c *fiber.Ctx) error
- func DemoteToolVersion(c *fiber.Ctx) error
- func DemoteVersion(c *fiber.Ctx) error
- func DiffSkillVersions(c *fiber.Ctx) error
- func DiffToolVersions(c *fiber.Ctx) error
- func DiffVersions(c *fiber.Ctx) error
- func DownloadSkillZip(c *fiber.Ctx) error
- func DuplicateSkillVersion(c *fiber.Ctx) error
- func DuplicateToolVersion(c *fiber.Ctx) error
- func DuplicateVersion(c *fiber.Ctx) error
- func GenerateVerificationCode() (string, error)
- func GetAdminInbox(c *fiber.Ctx) error
- func GetProject(c *fiber.Ctx) error
- func GetPrompt(c *fiber.Ctx) error
- func GetPromptPayload(c *fiber.Ctx) error
- func GetSkill(c *fiber.Ctx) error
- func GetSkillFileContent(c *fiber.Ctx) error
- func GetSkillVersion(c *fiber.Ctx) error
- func GetSubjectProjectIDs(ctx context.Context, subj *model.Subject, minRole string) ([]uuid.UUID, error)
- func GetTool(c *fiber.Ctx) error
- func GetToolVersion(c *fiber.Ctx) error
- func GetVersion(c *fiber.Ctx) error
- func GetVersionVariables(c *fiber.Ctx) error
- func GrantProjectAccess(c *fiber.Ctx) error
- func Health(c *fiber.Ctx) error
- func InvokeLive(c *fiber.Ctx) error
- func InvokeVersion(c *fiber.Ctx) error
- func IsOrgAdmin(c *fiber.Ctx, orgID uuid.UUID) (bool, error)
- func IsTeamAdmin(c *fiber.Ctx, teamID uuid.UUID) (bool, error)
- func IsTeamEditor(c *fiber.Ctx, teamID uuid.UUID) (bool, error)
- func IsTeamViewer(c *fiber.Ctx, teamID uuid.UUID) (bool, error)
- func LeaveTeam(c *fiber.Ctx) error
- func ListAPIKeys(c *fiber.Ctx) error
- func ListAllPrompts(c *fiber.Ctx) error
- func ListAllTools(c *fiber.Ctx) error
- func ListOrgAuditLogs(c *fiber.Ctx) error
- func ListOrgPeople(c *fiber.Ctx) error
- func ListOrgTeams(c *fiber.Ctx) error
- func ListPromptPayloads(c *fiber.Ctx) error
- func ListPrompts(c *fiber.Ctx) error
- func ListSessions(c *fiber.Ctx) error
- func ListSkillFiles(c *fiber.Ctx) error
- func ListSkillVersions(c *fiber.Ctx) error
- func ListSkills(c *fiber.Ctx) error
- func ListTags(c *fiber.Ctx) error
- func ListTeamMembers(c *fiber.Ctx) error
- func ListTeamProjects(c *fiber.Ctx) error
- func ListToolInvocations(c *fiber.Ctx) error
- func ListToolVersions(c *fiber.Ctx) error
- func ListTools(c *fiber.Ctx) error
- func ListUserOrgs(c *fiber.Ctx) error
- func ListUserTeams(c *fiber.Ctx) error
- func ListVersions(c *fiber.Ctx) error
- func Login(c *fiber.Ctx) error
- func Logout(c *fiber.Ctx) error
- func Me(c *fiber.Ctx) error
- func MovePrompt(c *fiber.Ctx) error
- func NormalizeSlug(s string) string
- func PromoteSkillVersion(c *fiber.Ctx) error
- func PromoteToolVersion(c *fiber.Ctx) error
- func PromoteVersion(c *fiber.Ctx) error
- func PurgeGlobalCache(c *fiber.Ctx) error
- func PurgePromptCache(c *fiber.Ctx) error
- func PurgeSkillCache(c *fiber.Ctx) error
- func PurgeToolCache(c *fiber.Ctx) error
- func RegenerateAPIKey(c *fiber.Ctx) error
- func Register(c *fiber.Ctx) error
- func RemoveOrgMember(c *fiber.Ctx) error
- func RemoveTag(c *fiber.Ctx) error
- func RemoveTeamMember(c *fiber.Ctx) error
- func RenderLive(c *fiber.Ctx) error
- func RenderVersion(c *fiber.Ctx) error
- func ResetPassword(c *fiber.Ctx) error
- func ResolveJoinRequest(c *fiber.Ctx) error
- func RestorePrompt(c *fiber.Ctx) error
- func RevokeProjectAccess(c *fiber.Ctx) error
- func RollbackPrompt(c *fiber.Ctx) error
- func RunLive(c *fiber.Ctx) error
- func RunVersion(c *fiber.Ctx) error
- func Search(searcher search.Searcher) fiber.Handler
- func SendPasswordResetEmail(email, code string) error
- func SendVerificationEmail(email, code string) error
- func SetTag(c *fiber.Ctx) error
- func TriggerPasswordReset(c *fiber.Ctx) error
- func TriggerVerification(c *fiber.Ctx) error
- func UpdateAPIKey(c *fiber.Ctx) error
- func UpdateMe(c *fiber.Ctx) error
- func UpdateOrg(c *fiber.Ctx) error
- func UpdateOrgMemberRole(c *fiber.Ctx) error
- func UpdateProject(c *fiber.Ctx) error
- func UpdatePrompt(c *fiber.Ctx) error
- func UpdatePromptPayload(c *fiber.Ctx) error
- func UpdatePromptSchema(c *fiber.Ctx) error
- func UpdateSkill(c *fiber.Ctx) error
- func UpdateTeam(c *fiber.Ctx) error
- func UpdateTeamMemberRole(c *fiber.Ctx) error
- func UpdateTool(c *fiber.Ctx) error
- func UpdateToolVersion(c *fiber.Ctx) error
- func UpdateVersion(c *fiber.Ctx) error
- func UploadSkillZip(c *fiber.Ctx) error
- func UpsertSkillFile(c *fiber.Ctx) error
- func ValidateJSONSchema(schemaBytes []byte, dataBytes []byte) error
- func Verify(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTeamMember ¶
func ArchivePrompt ¶
func ArchiveSkillVersion ¶
ArchiveSkillVersion archives a version.
func ArchiveToolVersion ¶
ArchiveToolVersion archives a specific version of a tool (requires editor role).
func ArchiveVersion ¶
func ChangePassword ¶
func CreateAPIKey ¶
func CreateJoinRequest ¶
CreateJoinRequest creates a pending request for the authenticated user to join a specific team.
func CreateProject ¶
func CreatePrompt ¶
func CreatePromptPayload ¶
func CreateSkill ¶
CreateSkill creates a skill under a project (requires editor role).
func CreateSkillVersion ¶
func CreateTeam ¶
func CreateTool ¶
CreateTool creates a tool under a project (requires editor role).
func CreateToolVersion ¶
func CreateVersion ¶
func DeleteAPIKey ¶
func DeleteProject ¶
func DeletePromptPayload ¶
func DeleteSessionByID ¶
func DeleteSkill ¶
DeleteSkill deletes a skill (requires editor role).
func DeleteSkillFile ¶
DeleteSkillFile deletes an individual file.
func DeleteSkillVersion ¶
DeleteSkillVersion deletes a draft version.
func DeleteTool ¶
DeleteTool deletes a tool (requires editor role).
func DeleteToolVersion ¶
DeleteToolVersion deletes/archives a specific version of a tool (requires editor role).
func DeleteVersion ¶
func DemoteSkillVersion ¶
DemoteSkillVersion demotes a live version to stable.
func DemoteToolVersion ¶
DemoteToolVersion demotes version: live -> stable (requires editor role).
func DemoteVersion ¶
func DiffSkillVersions ¶
func DiffToolVersions ¶
func DiffVersions ¶
func DownloadSkillZip ¶
DownloadSkillZip packs all files in a version into a zip and sends it.
func DuplicateSkillVersion ¶
DuplicateSkillVersion duplicates an existing version.
func DuplicateToolVersion ¶
DuplicateToolVersion duplicates an existing tool version into a new draft version (requires editor role).
func DuplicateVersion ¶
func GetAdminInbox ¶
GetAdminInbox returns all pending join requests that the caller is authorized to approve or reject.
func GetProject ¶
func GetPromptPayload ¶
func GetSkillFileContent ¶
GetSkillFileContent returns content of an individual file.
func GetSkillVersion ¶
GetSkillVersion returns details of a version.
func GetSubjectProjectIDs ¶
func GetSubjectProjectIDs(ctx context.Context, subj *model.Subject, minRole string) ([]uuid.UUID, error)
GetSubjectProjectIDs returns the project IDs the subject can access with at least minRole.
func GetToolVersion ¶
GetToolVersion gets details of a specific version of a tool.
func GetVersion ¶
func GetVersionVariables ¶
func GrantProjectAccess ¶
func InvokeLive ¶
InvokeLive executes the active 'live' version of the tool.
func InvokeVersion ¶
InvokeVersion executes a specific version of the tool.
func ListAPIKeys ¶
func ListAllPrompts ¶
func ListAllTools ¶
ListAllTools lists tools globally, filtered by an explicit project ID query parameter.
func ListOrgAuditLogs ¶
func ListOrgPeople ¶
func ListOrgTeams ¶
ListOrgTeams lists all teams within a specific organization. Anyone belonging to that organization can see the teams.
func ListPromptPayloads ¶
func ListPrompts ¶
func ListSessions ¶
func ListSkillFiles ¶
ListSkillFiles lists meta info about files in a version (omits raw content in JSON).
func ListSkillVersions ¶
ListSkillVersions lists all versions.
func ListSkills ¶
ListSkills lists all skills in a project (requires viewer role).
func ListTeamMembers ¶
func ListTeamProjects ¶
func ListToolInvocations ¶
ListToolInvocations returns a paginated history of tool executions/invocations using cursor-based pagination.
func ListToolVersions ¶
ListToolVersions lists all versions of a tool.
func ListUserOrgs ¶
func ListUserTeams ¶
func ListVersions ¶
func MovePrompt ¶
func NormalizeSlug ¶
func PromoteSkillVersion ¶
PromoteSkillVersion promotes a version status (draft -> stable -> live).
func PromoteToolVersion ¶
PromoteToolVersion promotes version: draft -> stable -> live (requires editor role).
func PromoteVersion ¶
func PurgeGlobalCache ¶
func PurgePromptCache ¶
func PurgeSkillCache ¶
func PurgeToolCache ¶
func RegenerateAPIKey ¶
func RemoveOrgMember ¶
func RemoveTeamMember ¶
func RenderLive ¶
func RenderVersion ¶
func ResetPassword ¶
func ResolveJoinRequest ¶
ResolveJoinRequest allows an authorized admin to approve or reject a pending request.
func RestorePrompt ¶
func RevokeProjectAccess ¶
func RollbackPrompt ¶
func RunVersion ¶
func SendPasswordResetEmail ¶
func SendVerificationEmail ¶
func TriggerPasswordReset ¶
func TriggerVerification ¶
func UpdateAPIKey ¶
func UpdateOrgMemberRole ¶
func UpdateProject ¶
func UpdatePrompt ¶
func UpdatePromptPayload ¶
func UpdatePromptSchema ¶
func UpdateSkill ¶
UpdateSkill updates skill details (requires editor role).
func UpdateTeam ¶
func UpdateTeamMemberRole ¶
func UpdateTool ¶
UpdateTool updates tool details (requires editor role).
func UpdateToolVersion ¶
UpdateToolVersion updates a draft version of a tool (requires editor role).
func UpdateVersion ¶
func UploadSkillZip ¶
UploadSkillZip handles uploading a zip to create a new draft version.
func UpsertSkillFile ¶
UpsertSkillFile creates or updates an individual file.
func ValidateJSONSchema ¶
Types ¶
This section is empty.