codemie-sdk 0.1.652 → 0.1.653
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +23 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +70 -1
- package/dist/index.d.ts +70 -1
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2083,6 +2083,8 @@ interface SkillDetail extends SkillListItem {
|
|
|
2083
2083
|
content: string;
|
|
2084
2084
|
toolkits: unknown[];
|
|
2085
2085
|
mcp_servers: unknown[];
|
|
2086
|
+
/** Companion files attached to the skill (metadata only; fetch content with `getCompanionFile()`). */
|
|
2087
|
+
companion_files?: SkillCompanionFileMetadata[];
|
|
2086
2088
|
}
|
|
2087
2089
|
interface SkillListPaginatedResponse {
|
|
2088
2090
|
skills: SkillListItem[];
|
|
@@ -2091,6 +2093,43 @@ interface SkillListPaginatedResponse {
|
|
|
2091
2093
|
pages: number;
|
|
2092
2094
|
total: number;
|
|
2093
2095
|
}
|
|
2096
|
+
/** Encoding of a companion file's `content`: plain `text` or `base64` (content must be valid base64). */
|
|
2097
|
+
type SkillCompanionFileEncoding = "text" | "base64";
|
|
2098
|
+
/**
|
|
2099
|
+
* Metadata of a companion file stored alongside a skill.
|
|
2100
|
+
*
|
|
2101
|
+
* `path` is a safe relative path: no leading `/`, no drive letter, no `..` segments;
|
|
2102
|
+
* backslashes are normalised to `/`. `SKILL.md` is reserved and cannot be used.
|
|
2103
|
+
*/
|
|
2104
|
+
interface SkillCompanionFileMetadata {
|
|
2105
|
+
/** Safe relative path of the file within the skill (e.g. "docs/guide.md"). */
|
|
2106
|
+
path: string;
|
|
2107
|
+
mime_type: string;
|
|
2108
|
+
encoding: SkillCompanionFileEncoding;
|
|
2109
|
+
size_bytes: number;
|
|
2110
|
+
}
|
|
2111
|
+
/** A companion file with its content, returned by `getCompanionFile()`. */
|
|
2112
|
+
interface SkillCompanionFile extends SkillCompanionFileMetadata {
|
|
2113
|
+
/** File content, encoded as described by `encoding`. */
|
|
2114
|
+
content: string;
|
|
2115
|
+
}
|
|
2116
|
+
/**
|
|
2117
|
+
* A companion file sent on skill create or update.
|
|
2118
|
+
*
|
|
2119
|
+
* Backend rules: `path` is a safe relative path (no leading `/`, no drive letter, no `..`;
|
|
2120
|
+
* backslashes are normalised), `SKILL.md` is reserved, and paths must be unique within one request.
|
|
2121
|
+
* `encoding` is `text` or `base64`; base64 content must be valid. The backend sets no limit on the
|
|
2122
|
+
* number or size of companion files.
|
|
2123
|
+
*/
|
|
2124
|
+
interface SkillCompanionFilePayload {
|
|
2125
|
+
/** Safe relative path, unique within the request. `SKILL.md` is reserved. */
|
|
2126
|
+
path: string;
|
|
2127
|
+
/** File content: plain text, or base64 when `encoding` is `base64`. */
|
|
2128
|
+
content: string;
|
|
2129
|
+
mime_type?: string;
|
|
2130
|
+
encoding: SkillCompanionFileEncoding;
|
|
2131
|
+
size_bytes?: number;
|
|
2132
|
+
}
|
|
2094
2133
|
/** Skill category API response item. */
|
|
2095
2134
|
interface SkillCategoryItem {
|
|
2096
2135
|
value: string;
|
|
@@ -2111,6 +2150,8 @@ interface SkillCreateParams {
|
|
|
2111
2150
|
categories?: string[];
|
|
2112
2151
|
toolkits?: unknown[];
|
|
2113
2152
|
mcp_servers?: unknown[];
|
|
2153
|
+
/** Companion files to store alongside the skill. See `SkillCompanionFilePayload` for the path rules. */
|
|
2154
|
+
companion_files?: SkillCompanionFilePayload[];
|
|
2114
2155
|
}
|
|
2115
2156
|
/** Parameters for updating a skill. */
|
|
2116
2157
|
interface SkillUpdateParams {
|
|
@@ -2126,6 +2167,12 @@ interface SkillUpdateParams {
|
|
|
2126
2167
|
categories?: string[];
|
|
2127
2168
|
toolkits?: unknown[];
|
|
2128
2169
|
mcp_servers?: unknown[];
|
|
2170
|
+
/**
|
|
2171
|
+
* Companion files that replace the skill's current set. By contract `null` removes all files and
|
|
2172
|
+
* omitting the field leaves them unchanged. Note: the current backend treats `null` as unchanged;
|
|
2173
|
+
* send `[]` to clear all companion files.
|
|
2174
|
+
*/
|
|
2175
|
+
companion_files?: SkillCompanionFilePayload[] | null;
|
|
2129
2176
|
}
|
|
2130
2177
|
/** Parameters for importing a skill from .md file. */
|
|
2131
2178
|
interface SkillImportParams {
|
|
@@ -2141,6 +2188,13 @@ interface SkillImportParams {
|
|
|
2141
2188
|
project: string;
|
|
2142
2189
|
visibility?: SkillVisibility;
|
|
2143
2190
|
}
|
|
2191
|
+
/** Platform limits for skills, returned by `GET /v1/skills/config`. */
|
|
2192
|
+
interface SkillConfigResponse {
|
|
2193
|
+
/** Maximum skill content length in characters. Defaults to 30000 and is configurable per platform. */
|
|
2194
|
+
max_content_length: number;
|
|
2195
|
+
/** Minimum skill content length in characters (100). */
|
|
2196
|
+
min_content_length: number;
|
|
2197
|
+
}
|
|
2144
2198
|
|
|
2145
2199
|
declare const SkillListParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
2146
2200
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2173,6 +2227,9 @@ declare class SkillService {
|
|
|
2173
2227
|
create(params: SkillCreateParams): Promise<SkillDetail>;
|
|
2174
2228
|
/**
|
|
2175
2229
|
* Update an existing skill.
|
|
2230
|
+
*
|
|
2231
|
+
* `companion_files`: by contract `null` removes all files and omitting the field leaves them
|
|
2232
|
+
* unchanged. The current backend treats `null` as unchanged; send `[]` to clear all companion files.
|
|
2176
2233
|
*/
|
|
2177
2234
|
update(skillId: string, params: SkillUpdateParams): Promise<SkillDetail>;
|
|
2178
2235
|
/**
|
|
@@ -2207,6 +2264,14 @@ declare class SkillService {
|
|
|
2207
2264
|
* Get all assistants using this skill.
|
|
2208
2265
|
*/
|
|
2209
2266
|
getSkillAssistants(skillId: string): Promise<AnyJson[]>;
|
|
2267
|
+
/**
|
|
2268
|
+
* List the companion files of a skill (metadata only, without content).
|
|
2269
|
+
*/
|
|
2270
|
+
listCompanionFiles(skillId: string): Promise<SkillCompanionFileMetadata[]>;
|
|
2271
|
+
/**
|
|
2272
|
+
* Get one companion file of a skill, including its content, by its relative path.
|
|
2273
|
+
*/
|
|
2274
|
+
getCompanionFile(skillId: string, path: string): Promise<SkillCompanionFile>;
|
|
2210
2275
|
/**
|
|
2211
2276
|
* Publish a skill to the marketplace.
|
|
2212
2277
|
*/
|
|
@@ -2219,6 +2284,10 @@ declare class SkillService {
|
|
|
2219
2284
|
* Get list of available skill categories.
|
|
2220
2285
|
*/
|
|
2221
2286
|
listCategories(): Promise<SkillCategoryItem[]>;
|
|
2287
|
+
/**
|
|
2288
|
+
* Get the platform skill limits (content length bounds).
|
|
2289
|
+
*/
|
|
2290
|
+
getConfig(): Promise<SkillConfigResponse>;
|
|
2222
2291
|
/**
|
|
2223
2292
|
* Get users with access to skills.
|
|
2224
2293
|
*/
|
|
@@ -2868,4 +2937,4 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
2868
2937
|
}, z.core.$strip>;
|
|
2869
2938
|
type Project = z.infer<typeof ProjectSchema>;
|
|
2870
2939
|
|
|
2871
|
-
export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnalyticsQueryParams, AnalyticsQueryParamsSchema, AnalyticsService, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantEvaluationParams, AssistantEvaluationParamsSchema, type AssistantListParams, AssistantListParamsSchema, AssistantService, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantUpdateResponse, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type AuthConfig, type AzureDevOpsWiki, type AzureDevOpsWikiDataSourceCreateDto, type AzureDevOpsWikiDataSourceCreateParams, type AzureDevOpsWikiDataSourceUpdateDto, type AzureDevOpsWikiDataSourceUpdateParams, type AzureDevOpsWorkItem, type AzureDevOpsWorkItemDataSourceCreateDto, type AzureDevOpsWorkItemDataSourceCreateParams, type AzureDevOpsWorkItemDataSourceUpdateDto, type AzureDevOpsWorkItemDataSourceUpdateParams, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceResponse, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGitFaqParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseSharePointParams, type BaseUser, type Category, type CategoryCreateParams, type CategoryListResponse, type CategoryResponse, CategoryService, type CategoryUpdateParams, ChatRole, type Code, type CodeAnalysisProviderCreateParams, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, type CodeDataSourceResponse, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, type CodeExplorationProviderCreateParams, CodeMieClient, type CodeMieClientConfig, CodeMieError, type ColumnDefinition, type Confluence, type ConfluenceDataSourceCreateDto, type ConfluenceDataSourceCreateParams, type ConfluenceDataSourceUpdateDto, type ConfluenceDataSourceUpdateParams, type Context, type ContextItem, ContextType, type Conversation, type ConversationCreateParams, ConversationCreateParamsSchema, type ConversationCreateRequest, type ConversationDetails, type ConversationDetailsData, ConversationService, type CostConfig, CredentialTypes, type CredentialTypesType, type CredentialValues, type DataSource, type DataSourceCreateDto, type DataSourceCreateParams, type DataSourceListParams, type DataSourceProcessingInfo, type DataSourceProcessingInfoResponse, type DataSourceResponse, DataSourceStatus, type DataSourceStatusType, DataSourceType, type DataSourceTypeType, type DataSourceUpdateDto, type DataSourceUpdateParams, DatasourceService, ERROR_MESSAGE_PATTERNS, type ElasticsearchStats, ErrorCategory, ErrorCode, ErrorDetailLevel, type ErrorResponse, ExecutionStatus, type ExecutionStatusType, type File, type FileBulkUploadResponse, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, FileService, type FileToUpload, type FileUploadResponse, type Files, type GitFaq, type GitFaqDataSourceCreateParams, type GitFaqDataSourceResponse, type GitFaqDataSourceUpdateParams, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, HTTP_STATUS_TO_ERROR_CODE, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationService, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type IntegrationValidationResult, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, LLMService, type MCPServerConfig, MCPServerConfigSchema, type MCPServerDetails, type Mark, type Metric, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedAnalyticsQueryParams, PaginatedAnalyticsQueryParamsSchema, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type Project, ProjectSchema, type PromptVariable, type ProviderDataSourceRequest, type ResponseMetadata, type SharePoint, type SharePointAuthType, type SharePointDataSourceCreateDto, type SharePointDataSourceCreateParams, type SharePointDataSourceUpdateDto, type SharePointDataSourceUpdateParams, SkillCategory, type SkillCategoryItem, type SkillCreateParams, type SkillCreatedBy, type SkillDetail, type SkillImportParams, type SkillListItem, type SkillListPaginatedResponse, type SkillListParams, SkillListParamsSchema, SkillScopeFilter, SkillService, SkillSortBy, type SkillUpdateParams, SkillVisibility, type SortOrder, type SummariesData, type SummariesResponse, type SystemPromptHistory, TIME_PERIOD_VALUES, type TabularData, type TabularResponse, TaskService, type TaskUser, type Thought, type TimePeriod, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, type UserListItem, UserService, type UsersListData, type UsersListResponse, type VersionsListResponse, type VirtualAssistantChatParams, VirtualAssistantChatParamsSchema, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowEvaluationParams, WorkflowEvaluationParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, WorkflowExecutionService, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, WorkflowExecutionStateService, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, WorkflowService, type WorkflowUpdateParams, WorkflowUpdateParamsSchema, type XrayDataSourceCreateDto, type XrayDataSourceCreateParams, type XrayDataSourceUpdateDto, type XrayDataSourceUpdateParams, classifyHttpError, formatCookies, formatToolErrorForLevel, formatToolErrorFull, formatToolErrorMinimal, formatToolErrorStandard, isRecoverableError };
|
|
2940
|
+
export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnalyticsQueryParams, AnalyticsQueryParamsSchema, AnalyticsService, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantEvaluationParams, AssistantEvaluationParamsSchema, type AssistantListParams, AssistantListParamsSchema, AssistantService, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantUpdateResponse, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type AuthConfig, type AzureDevOpsWiki, type AzureDevOpsWikiDataSourceCreateDto, type AzureDevOpsWikiDataSourceCreateParams, type AzureDevOpsWikiDataSourceUpdateDto, type AzureDevOpsWikiDataSourceUpdateParams, type AzureDevOpsWorkItem, type AzureDevOpsWorkItemDataSourceCreateDto, type AzureDevOpsWorkItemDataSourceCreateParams, type AzureDevOpsWorkItemDataSourceUpdateDto, type AzureDevOpsWorkItemDataSourceUpdateParams, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceResponse, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGitFaqParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseSharePointParams, type BaseUser, type Category, type CategoryCreateParams, type CategoryListResponse, type CategoryResponse, CategoryService, type CategoryUpdateParams, ChatRole, type Code, type CodeAnalysisProviderCreateParams, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, type CodeDataSourceResponse, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, type CodeExplorationProviderCreateParams, CodeMieClient, type CodeMieClientConfig, CodeMieError, type ColumnDefinition, type Confluence, type ConfluenceDataSourceCreateDto, type ConfluenceDataSourceCreateParams, type ConfluenceDataSourceUpdateDto, type ConfluenceDataSourceUpdateParams, type Context, type ContextItem, ContextType, type Conversation, type ConversationCreateParams, ConversationCreateParamsSchema, type ConversationCreateRequest, type ConversationDetails, type ConversationDetailsData, ConversationService, type CostConfig, CredentialTypes, type CredentialTypesType, type CredentialValues, type DataSource, type DataSourceCreateDto, type DataSourceCreateParams, type DataSourceListParams, type DataSourceProcessingInfo, type DataSourceProcessingInfoResponse, type DataSourceResponse, DataSourceStatus, type DataSourceStatusType, DataSourceType, type DataSourceTypeType, type DataSourceUpdateDto, type DataSourceUpdateParams, DatasourceService, ERROR_MESSAGE_PATTERNS, type ElasticsearchStats, ErrorCategory, ErrorCode, ErrorDetailLevel, type ErrorResponse, ExecutionStatus, type ExecutionStatusType, type File, type FileBulkUploadResponse, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, FileService, type FileToUpload, type FileUploadResponse, type Files, type GitFaq, type GitFaqDataSourceCreateParams, type GitFaqDataSourceResponse, type GitFaqDataSourceUpdateParams, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, HTTP_STATUS_TO_ERROR_CODE, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationService, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type IntegrationValidationResult, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, LLMService, type MCPServerConfig, MCPServerConfigSchema, type MCPServerDetails, type Mark, type Metric, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedAnalyticsQueryParams, PaginatedAnalyticsQueryParamsSchema, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type Project, ProjectSchema, type PromptVariable, type ProviderDataSourceRequest, type ResponseMetadata, type SharePoint, type SharePointAuthType, type SharePointDataSourceCreateDto, type SharePointDataSourceCreateParams, type SharePointDataSourceUpdateDto, type SharePointDataSourceUpdateParams, SkillCategory, type SkillCategoryItem, type SkillCompanionFile, type SkillCompanionFileEncoding, type SkillCompanionFileMetadata, type SkillCompanionFilePayload, type SkillConfigResponse, type SkillCreateParams, type SkillCreatedBy, type SkillDetail, type SkillImportParams, type SkillListItem, type SkillListPaginatedResponse, type SkillListParams, SkillListParamsSchema, SkillScopeFilter, SkillService, SkillSortBy, type SkillUpdateParams, SkillVisibility, type SortOrder, type SummariesData, type SummariesResponse, type SystemPromptHistory, TIME_PERIOD_VALUES, type TabularData, type TabularResponse, TaskService, type TaskUser, type Thought, type TimePeriod, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, type UserListItem, UserService, type UsersListData, type UsersListResponse, type VersionsListResponse, type VirtualAssistantChatParams, VirtualAssistantChatParamsSchema, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowEvaluationParams, WorkflowEvaluationParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, WorkflowExecutionService, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, WorkflowExecutionStateService, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, WorkflowService, type WorkflowUpdateParams, WorkflowUpdateParamsSchema, type XrayDataSourceCreateDto, type XrayDataSourceCreateParams, type XrayDataSourceUpdateDto, type XrayDataSourceUpdateParams, classifyHttpError, formatCookies, formatToolErrorForLevel, formatToolErrorFull, formatToolErrorMinimal, formatToolErrorStandard, isRecoverableError };
|
package/dist/index.d.ts
CHANGED
|
@@ -2083,6 +2083,8 @@ interface SkillDetail extends SkillListItem {
|
|
|
2083
2083
|
content: string;
|
|
2084
2084
|
toolkits: unknown[];
|
|
2085
2085
|
mcp_servers: unknown[];
|
|
2086
|
+
/** Companion files attached to the skill (metadata only; fetch content with `getCompanionFile()`). */
|
|
2087
|
+
companion_files?: SkillCompanionFileMetadata[];
|
|
2086
2088
|
}
|
|
2087
2089
|
interface SkillListPaginatedResponse {
|
|
2088
2090
|
skills: SkillListItem[];
|
|
@@ -2091,6 +2093,43 @@ interface SkillListPaginatedResponse {
|
|
|
2091
2093
|
pages: number;
|
|
2092
2094
|
total: number;
|
|
2093
2095
|
}
|
|
2096
|
+
/** Encoding of a companion file's `content`: plain `text` or `base64` (content must be valid base64). */
|
|
2097
|
+
type SkillCompanionFileEncoding = "text" | "base64";
|
|
2098
|
+
/**
|
|
2099
|
+
* Metadata of a companion file stored alongside a skill.
|
|
2100
|
+
*
|
|
2101
|
+
* `path` is a safe relative path: no leading `/`, no drive letter, no `..` segments;
|
|
2102
|
+
* backslashes are normalised to `/`. `SKILL.md` is reserved and cannot be used.
|
|
2103
|
+
*/
|
|
2104
|
+
interface SkillCompanionFileMetadata {
|
|
2105
|
+
/** Safe relative path of the file within the skill (e.g. "docs/guide.md"). */
|
|
2106
|
+
path: string;
|
|
2107
|
+
mime_type: string;
|
|
2108
|
+
encoding: SkillCompanionFileEncoding;
|
|
2109
|
+
size_bytes: number;
|
|
2110
|
+
}
|
|
2111
|
+
/** A companion file with its content, returned by `getCompanionFile()`. */
|
|
2112
|
+
interface SkillCompanionFile extends SkillCompanionFileMetadata {
|
|
2113
|
+
/** File content, encoded as described by `encoding`. */
|
|
2114
|
+
content: string;
|
|
2115
|
+
}
|
|
2116
|
+
/**
|
|
2117
|
+
* A companion file sent on skill create or update.
|
|
2118
|
+
*
|
|
2119
|
+
* Backend rules: `path` is a safe relative path (no leading `/`, no drive letter, no `..`;
|
|
2120
|
+
* backslashes are normalised), `SKILL.md` is reserved, and paths must be unique within one request.
|
|
2121
|
+
* `encoding` is `text` or `base64`; base64 content must be valid. The backend sets no limit on the
|
|
2122
|
+
* number or size of companion files.
|
|
2123
|
+
*/
|
|
2124
|
+
interface SkillCompanionFilePayload {
|
|
2125
|
+
/** Safe relative path, unique within the request. `SKILL.md` is reserved. */
|
|
2126
|
+
path: string;
|
|
2127
|
+
/** File content: plain text, or base64 when `encoding` is `base64`. */
|
|
2128
|
+
content: string;
|
|
2129
|
+
mime_type?: string;
|
|
2130
|
+
encoding: SkillCompanionFileEncoding;
|
|
2131
|
+
size_bytes?: number;
|
|
2132
|
+
}
|
|
2094
2133
|
/** Skill category API response item. */
|
|
2095
2134
|
interface SkillCategoryItem {
|
|
2096
2135
|
value: string;
|
|
@@ -2111,6 +2150,8 @@ interface SkillCreateParams {
|
|
|
2111
2150
|
categories?: string[];
|
|
2112
2151
|
toolkits?: unknown[];
|
|
2113
2152
|
mcp_servers?: unknown[];
|
|
2153
|
+
/** Companion files to store alongside the skill. See `SkillCompanionFilePayload` for the path rules. */
|
|
2154
|
+
companion_files?: SkillCompanionFilePayload[];
|
|
2114
2155
|
}
|
|
2115
2156
|
/** Parameters for updating a skill. */
|
|
2116
2157
|
interface SkillUpdateParams {
|
|
@@ -2126,6 +2167,12 @@ interface SkillUpdateParams {
|
|
|
2126
2167
|
categories?: string[];
|
|
2127
2168
|
toolkits?: unknown[];
|
|
2128
2169
|
mcp_servers?: unknown[];
|
|
2170
|
+
/**
|
|
2171
|
+
* Companion files that replace the skill's current set. By contract `null` removes all files and
|
|
2172
|
+
* omitting the field leaves them unchanged. Note: the current backend treats `null` as unchanged;
|
|
2173
|
+
* send `[]` to clear all companion files.
|
|
2174
|
+
*/
|
|
2175
|
+
companion_files?: SkillCompanionFilePayload[] | null;
|
|
2129
2176
|
}
|
|
2130
2177
|
/** Parameters for importing a skill from .md file. */
|
|
2131
2178
|
interface SkillImportParams {
|
|
@@ -2141,6 +2188,13 @@ interface SkillImportParams {
|
|
|
2141
2188
|
project: string;
|
|
2142
2189
|
visibility?: SkillVisibility;
|
|
2143
2190
|
}
|
|
2191
|
+
/** Platform limits for skills, returned by `GET /v1/skills/config`. */
|
|
2192
|
+
interface SkillConfigResponse {
|
|
2193
|
+
/** Maximum skill content length in characters. Defaults to 30000 and is configurable per platform. */
|
|
2194
|
+
max_content_length: number;
|
|
2195
|
+
/** Minimum skill content length in characters (100). */
|
|
2196
|
+
min_content_length: number;
|
|
2197
|
+
}
|
|
2144
2198
|
|
|
2145
2199
|
declare const SkillListParamsSchema: z.ZodReadonly<z.ZodObject<{
|
|
2146
2200
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2173,6 +2227,9 @@ declare class SkillService {
|
|
|
2173
2227
|
create(params: SkillCreateParams): Promise<SkillDetail>;
|
|
2174
2228
|
/**
|
|
2175
2229
|
* Update an existing skill.
|
|
2230
|
+
*
|
|
2231
|
+
* `companion_files`: by contract `null` removes all files and omitting the field leaves them
|
|
2232
|
+
* unchanged. The current backend treats `null` as unchanged; send `[]` to clear all companion files.
|
|
2176
2233
|
*/
|
|
2177
2234
|
update(skillId: string, params: SkillUpdateParams): Promise<SkillDetail>;
|
|
2178
2235
|
/**
|
|
@@ -2207,6 +2264,14 @@ declare class SkillService {
|
|
|
2207
2264
|
* Get all assistants using this skill.
|
|
2208
2265
|
*/
|
|
2209
2266
|
getSkillAssistants(skillId: string): Promise<AnyJson[]>;
|
|
2267
|
+
/**
|
|
2268
|
+
* List the companion files of a skill (metadata only, without content).
|
|
2269
|
+
*/
|
|
2270
|
+
listCompanionFiles(skillId: string): Promise<SkillCompanionFileMetadata[]>;
|
|
2271
|
+
/**
|
|
2272
|
+
* Get one companion file of a skill, including its content, by its relative path.
|
|
2273
|
+
*/
|
|
2274
|
+
getCompanionFile(skillId: string, path: string): Promise<SkillCompanionFile>;
|
|
2210
2275
|
/**
|
|
2211
2276
|
* Publish a skill to the marketplace.
|
|
2212
2277
|
*/
|
|
@@ -2219,6 +2284,10 @@ declare class SkillService {
|
|
|
2219
2284
|
* Get list of available skill categories.
|
|
2220
2285
|
*/
|
|
2221
2286
|
listCategories(): Promise<SkillCategoryItem[]>;
|
|
2287
|
+
/**
|
|
2288
|
+
* Get the platform skill limits (content length bounds).
|
|
2289
|
+
*/
|
|
2290
|
+
getConfig(): Promise<SkillConfigResponse>;
|
|
2222
2291
|
/**
|
|
2223
2292
|
* Get users with access to skills.
|
|
2224
2293
|
*/
|
|
@@ -2868,4 +2937,4 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
2868
2937
|
}, z.core.$strip>;
|
|
2869
2938
|
type Project = z.infer<typeof ProjectSchema>;
|
|
2870
2939
|
|
|
2871
|
-
export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnalyticsQueryParams, AnalyticsQueryParamsSchema, AnalyticsService, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantEvaluationParams, AssistantEvaluationParamsSchema, type AssistantListParams, AssistantListParamsSchema, AssistantService, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantUpdateResponse, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type AuthConfig, type AzureDevOpsWiki, type AzureDevOpsWikiDataSourceCreateDto, type AzureDevOpsWikiDataSourceCreateParams, type AzureDevOpsWikiDataSourceUpdateDto, type AzureDevOpsWikiDataSourceUpdateParams, type AzureDevOpsWorkItem, type AzureDevOpsWorkItemDataSourceCreateDto, type AzureDevOpsWorkItemDataSourceCreateParams, type AzureDevOpsWorkItemDataSourceUpdateDto, type AzureDevOpsWorkItemDataSourceUpdateParams, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceResponse, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGitFaqParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseSharePointParams, type BaseUser, type Category, type CategoryCreateParams, type CategoryListResponse, type CategoryResponse, CategoryService, type CategoryUpdateParams, ChatRole, type Code, type CodeAnalysisProviderCreateParams, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, type CodeDataSourceResponse, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, type CodeExplorationProviderCreateParams, CodeMieClient, type CodeMieClientConfig, CodeMieError, type ColumnDefinition, type Confluence, type ConfluenceDataSourceCreateDto, type ConfluenceDataSourceCreateParams, type ConfluenceDataSourceUpdateDto, type ConfluenceDataSourceUpdateParams, type Context, type ContextItem, ContextType, type Conversation, type ConversationCreateParams, ConversationCreateParamsSchema, type ConversationCreateRequest, type ConversationDetails, type ConversationDetailsData, ConversationService, type CostConfig, CredentialTypes, type CredentialTypesType, type CredentialValues, type DataSource, type DataSourceCreateDto, type DataSourceCreateParams, type DataSourceListParams, type DataSourceProcessingInfo, type DataSourceProcessingInfoResponse, type DataSourceResponse, DataSourceStatus, type DataSourceStatusType, DataSourceType, type DataSourceTypeType, type DataSourceUpdateDto, type DataSourceUpdateParams, DatasourceService, ERROR_MESSAGE_PATTERNS, type ElasticsearchStats, ErrorCategory, ErrorCode, ErrorDetailLevel, type ErrorResponse, ExecutionStatus, type ExecutionStatusType, type File, type FileBulkUploadResponse, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, FileService, type FileToUpload, type FileUploadResponse, type Files, type GitFaq, type GitFaqDataSourceCreateParams, type GitFaqDataSourceResponse, type GitFaqDataSourceUpdateParams, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, HTTP_STATUS_TO_ERROR_CODE, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationService, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type IntegrationValidationResult, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, LLMService, type MCPServerConfig, MCPServerConfigSchema, type MCPServerDetails, type Mark, type Metric, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedAnalyticsQueryParams, PaginatedAnalyticsQueryParamsSchema, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type Project, ProjectSchema, type PromptVariable, type ProviderDataSourceRequest, type ResponseMetadata, type SharePoint, type SharePointAuthType, type SharePointDataSourceCreateDto, type SharePointDataSourceCreateParams, type SharePointDataSourceUpdateDto, type SharePointDataSourceUpdateParams, SkillCategory, type SkillCategoryItem, type SkillCreateParams, type SkillCreatedBy, type SkillDetail, type SkillImportParams, type SkillListItem, type SkillListPaginatedResponse, type SkillListParams, SkillListParamsSchema, SkillScopeFilter, SkillService, SkillSortBy, type SkillUpdateParams, SkillVisibility, type SortOrder, type SummariesData, type SummariesResponse, type SystemPromptHistory, TIME_PERIOD_VALUES, type TabularData, type TabularResponse, TaskService, type TaskUser, type Thought, type TimePeriod, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, type UserListItem, UserService, type UsersListData, type UsersListResponse, type VersionsListResponse, type VirtualAssistantChatParams, VirtualAssistantChatParamsSchema, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowEvaluationParams, WorkflowEvaluationParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, WorkflowExecutionService, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, WorkflowExecutionStateService, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, WorkflowService, type WorkflowUpdateParams, WorkflowUpdateParamsSchema, type XrayDataSourceCreateDto, type XrayDataSourceCreateParams, type XrayDataSourceUpdateDto, type XrayDataSourceUpdateParams, classifyHttpError, formatCookies, formatToolErrorForLevel, formatToolErrorFull, formatToolErrorMinimal, formatToolErrorStandard, isRecoverableError };
|
|
2940
|
+
export { type AboutUser, type AboutUserResponse, type AgentErrorDetails, type AnalyticsQueryParams, AnalyticsQueryParamsSchema, AnalyticsService, type AnyJson, ApiError, type Assistant, type AssistantBase, type AssistantCategory, type AssistantChatParams, AssistantChatParamsSchema, type AssistantCreateParams, AssistantCreateParamsSchema, type AssistantCreateResponse, type AssistantDataItem, type AssistantDetailsData, type AssistantEvaluationParams, AssistantEvaluationParamsSchema, type AssistantListParams, AssistantListParamsSchema, AssistantService, type AssistantUpdateParams, AssistantUpdateParamsSchema, type AssistantUpdateResponse, type AssistantVersion, type AssistantVersionsListParams, AssistantVersionsListParamsSchema, type AuthConfig, type AzureDevOpsWiki, type AzureDevOpsWikiDataSourceCreateDto, type AzureDevOpsWikiDataSourceCreateParams, type AzureDevOpsWikiDataSourceUpdateDto, type AzureDevOpsWikiDataSourceUpdateParams, type AzureDevOpsWorkItem, type AzureDevOpsWorkItemDataSourceCreateDto, type AzureDevOpsWorkItemDataSourceCreateParams, type AzureDevOpsWorkItemDataSourceUpdateDto, type AzureDevOpsWorkItemDataSourceUpdateParams, type BackgroundTaskEntity, BackgroundTaskStatus, type BackgroundTaskStatusType, type BaseCodeParams, type BaseConfluenceParams, type BaseDataSourceCreateDto, type BaseDataSourceCreateParams, type BaseDataSourceResponse, type BaseDataSourceUpdateDto, type BaseDataSourceUpdateParams, type BaseFileParams, type BaseGitFaqParams, type BaseGoogleParams, type BaseJiraParams, type BaseModelApiResponse, type BaseModelResponse, type BaseSharePointParams, type BaseUser, type Category, type CategoryCreateParams, type CategoryListResponse, type CategoryResponse, CategoryService, type CategoryUpdateParams, ChatRole, type Code, type CodeAnalysisProviderCreateParams, type CodeDataSourceCreateDto, type CodeDataSourceCreateParams, type CodeDataSourceResponse, CodeDataSourceType, type CodeDataSourceTypeType, type CodeDataSourceUpdateDto, type CodeDataSourceUpdateParams, type CodeExplorationProviderCreateParams, CodeMieClient, type CodeMieClientConfig, CodeMieError, type ColumnDefinition, type Confluence, type ConfluenceDataSourceCreateDto, type ConfluenceDataSourceCreateParams, type ConfluenceDataSourceUpdateDto, type ConfluenceDataSourceUpdateParams, type Context, type ContextItem, ContextType, type Conversation, type ConversationCreateParams, ConversationCreateParamsSchema, type ConversationCreateRequest, type ConversationDetails, type ConversationDetailsData, ConversationService, type CostConfig, CredentialTypes, type CredentialTypesType, type CredentialValues, type DataSource, type DataSourceCreateDto, type DataSourceCreateParams, type DataSourceListParams, type DataSourceProcessingInfo, type DataSourceProcessingInfoResponse, type DataSourceResponse, DataSourceStatus, type DataSourceStatusType, DataSourceType, type DataSourceTypeType, type DataSourceUpdateDto, type DataSourceUpdateParams, DatasourceService, ERROR_MESSAGE_PATTERNS, type ElasticsearchStats, ErrorCategory, ErrorCode, ErrorDetailLevel, type ErrorResponse, ExecutionStatus, type ExecutionStatusType, type File, type FileBulkUploadResponse, type FileDataSourceCreateDto, type FileDataSourceCreateParams, type FileDataSourceUpdateDto, type FileDataSourceUpdateParams, FileService, type FileToUpload, type FileUploadResponse, type Files, type GitFaq, type GitFaqDataSourceCreateParams, type GitFaqDataSourceResponse, type GitFaqDataSourceUpdateParams, type Google, type GoogleDataSourceCreateDto, type GoogleDataSourceCreateParams, type GoogleDataSourceUpdateDto, type GoogleDataSourceUpdateParams, HTTP_STATUS_TO_ERROR_CODE, type HistoryItem, type HistoryMark, type Integration, type IntegrationCreateParams, IntegrationCreateParamsSchema, type IntegrationGetByAliasParams, IntegrationGetByAliasParamsSchema, type IntegrationGetParams, IntegrationGetParamsSchema, type IntegrationListParams, IntegrationListParamsSchema, IntegrationService, IntegrationType, type IntegrationTypeType, type IntegrationUpdateParams, IntegrationUpdateParamsSchema, type IntegrationValidationResult, type Jira, type JiraDataSourceCreateDto, type JiraDataSourceCreateParams, type JiraDataSourceUpdateDto, type JiraDataSourceUpdateParams, type LLMFeatures, type LLMModel, LLMProvider, type LLMProviderType, LLMService, type MCPServerConfig, MCPServerConfigSchema, type MCPServerDetails, type Mark, type Metric, type MissingIntegration, type MissingIntegrationsByCredentialType, NotFoundError, type Operator, type OtherDataSourceCreateParams, type OtherDataSourceUpdateParams, type PaginatedAnalyticsQueryParams, PaginatedAnalyticsQueryParamsSchema, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type Project, ProjectSchema, type PromptVariable, type ProviderDataSourceRequest, type ResponseMetadata, type SharePoint, type SharePointAuthType, type SharePointDataSourceCreateDto, type SharePointDataSourceCreateParams, type SharePointDataSourceUpdateDto, type SharePointDataSourceUpdateParams, SkillCategory, type SkillCategoryItem, type SkillCompanionFile, type SkillCompanionFileEncoding, type SkillCompanionFileMetadata, type SkillCompanionFilePayload, type SkillConfigResponse, type SkillCreateParams, type SkillCreatedBy, type SkillDetail, type SkillImportParams, type SkillListItem, type SkillListPaginatedResponse, type SkillListParams, SkillListParamsSchema, SkillScopeFilter, SkillService, SkillSortBy, type SkillUpdateParams, SkillVisibility, type SortOrder, type SummariesData, type SummariesResponse, type SystemPromptHistory, TIME_PERIOD_VALUES, type TabularData, type TabularResponse, TaskService, type TaskUser, type Thought, type TimePeriod, type TokensUsage, type ToolDetails, type ToolErrorDetails, type ToolItem, type ToolKitDetails, type UserData, type UserListItem, UserService, type UsersListData, type UsersListResponse, type VersionsListResponse, type VirtualAssistantChatParams, VirtualAssistantChatParamsSchema, type Workflow, type WorkflowCreateParams, WorkflowCreateParamsSchema, type WorkflowEvaluationParams, WorkflowEvaluationParamsSchema, type WorkflowExecution, type WorkflowExecutionCreateParams, WorkflowExecutionCreateParamsSchema, type WorkflowExecutionListParams, WorkflowExecutionListParamsSchema, type WorkflowExecutionResponse, WorkflowExecutionService, type WorkflowExecutionState, type WorkflowExecutionStateListParams, WorkflowExecutionStateListParamsSchema, type WorkflowExecutionStateOutput, WorkflowExecutionStateService, type WorkflowExecutionStateThought, type WorkflowListParams, WorkflowListParamsSchema, WorkflowMode, type WorkflowModeType, type WorkflowResponse, WorkflowService, type WorkflowUpdateParams, WorkflowUpdateParamsSchema, type XrayDataSourceCreateDto, type XrayDataSourceCreateParams, type XrayDataSourceUpdateDto, type XrayDataSourceUpdateParams, classifyHttpError, formatCookies, formatToolErrorForLevel, formatToolErrorFull, formatToolErrorMinimal, formatToolErrorStandard, isRecoverableError };
|
package/dist/index.js
CHANGED
|
@@ -1675,6 +1675,9 @@ var SkillService = class {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
/**
|
|
1677
1677
|
* Update an existing skill.
|
|
1678
|
+
*
|
|
1679
|
+
* `companion_files`: by contract `null` removes all files and omitting the field leaves them
|
|
1680
|
+
* unchanged. The current backend treats `null` as unchanged; send `[]` to clear all companion files.
|
|
1678
1681
|
*/
|
|
1679
1682
|
async update(skillId, params) {
|
|
1680
1683
|
return this.api.put(`/v1/skills/${skillId}`, params);
|
|
@@ -1729,6 +1732,20 @@ var SkillService = class {
|
|
|
1729
1732
|
async getSkillAssistants(skillId) {
|
|
1730
1733
|
return this.api.get(`/v1/skills/${skillId}/assistants`);
|
|
1731
1734
|
}
|
|
1735
|
+
/**
|
|
1736
|
+
* List the companion files of a skill (metadata only, without content).
|
|
1737
|
+
*/
|
|
1738
|
+
async listCompanionFiles(skillId) {
|
|
1739
|
+
return this.api.get(`/v1/skills/${skillId}/companion-files`);
|
|
1740
|
+
}
|
|
1741
|
+
/**
|
|
1742
|
+
* Get one companion file of a skill, including its content, by its relative path.
|
|
1743
|
+
*/
|
|
1744
|
+
async getCompanionFile(skillId, path) {
|
|
1745
|
+
return this.api.get(`/v1/skills/${skillId}/companion-files/content`, {
|
|
1746
|
+
path
|
|
1747
|
+
});
|
|
1748
|
+
}
|
|
1732
1749
|
/**
|
|
1733
1750
|
* Publish a skill to the marketplace.
|
|
1734
1751
|
*/
|
|
@@ -1748,6 +1765,12 @@ var SkillService = class {
|
|
|
1748
1765
|
async listCategories() {
|
|
1749
1766
|
return this.api.get("/v1/skills/categories");
|
|
1750
1767
|
}
|
|
1768
|
+
/**
|
|
1769
|
+
* Get the platform skill limits (content length bounds).
|
|
1770
|
+
*/
|
|
1771
|
+
async getConfig() {
|
|
1772
|
+
return this.api.get("/v1/skills/config");
|
|
1773
|
+
}
|
|
1751
1774
|
/**
|
|
1752
1775
|
* Get users with access to skills.
|
|
1753
1776
|
*/
|