Skip to content

Commit 24cb9a2

Browse files
feat(skills): add organization-level skills support
1 parent 9230923 commit 24cb9a2

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 160
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-de9c92c5d163d0aaf84f2638cda7e3715a36bf85c5dbe89cea6657fe94201b07.yml
3-
openapi_spec_hash: d010871ad88365048994b21eed2c36d9
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-643adebfc36ae5f3c31dc2305867f8259c9ec13420989ec37b78cdf87283a279.yml
3+
openapi_spec_hash: 5d04ebe79f446da15639adddf9bffc9b
44
config_hash: 8e1b089e9f5af438fd56b523014af4f2

src/resources/agents.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,11 @@ export interface PromptSpec {
11321132
*/
11331133
isCommand?: boolean;
11341134

1135+
/**
1136+
* is_skill indicates if this prompt is a skill (workflow instructions for agents)
1137+
*/
1138+
isSkill?: boolean;
1139+
11351140
/**
11361141
* is_template indicates if this prompt is a template
11371142
*/
@@ -1203,6 +1208,8 @@ export interface AgentCreatePromptParams {
12031208

12041209
isCommand?: boolean;
12051210

1211+
isSkill?: boolean;
1212+
12061213
isTemplate?: boolean;
12071214

12081215
name?: string;
@@ -1284,6 +1291,8 @@ export namespace AgentListPromptsParams {
12841291

12851292
isCommand?: boolean;
12861293

1294+
isSkill?: boolean;
1295+
12871296
isTemplate?: boolean;
12881297
}
12891298

@@ -1387,6 +1396,11 @@ export namespace AgentUpdatePromptParams {
13871396
*/
13881397
isCommand?: boolean | null;
13891398

1399+
/**
1400+
* Whether this prompt is a skill
1401+
*/
1402+
isSkill?: boolean | null;
1403+
13901404
/**
13911405
* Whether this prompt is a template
13921406
*/

0 commit comments

Comments
 (0)