@kosuke-ai/kosuke 1.0.101 → 1.0.102

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.102
4
+
5
+ - Sensei can change a project's setup commands, services and environment variables for a workspace admin once the admin approves a Sensei card about the project: `projects settings update`, `projects services create|update|delete` and `projects env-vars create|delete` take `--card <id>`, and `projects settings get --card <id>` answers canEdit for that change. Without an approved card from that Turn Sensei gets 403; API keys, connected apps, sessions and Crons are still refused.
6
+
3
7
  ## 1.0.101
4
8
 
5
9
  - Report Personal Free actual sandbox hours and shared capacity, and direct new workspace and capacity purchases to a demo. Existing billing maintenance remains available.
@@ -6,16 +6,27 @@ export const operation = {
6
6
  "env-vars",
7
7
  "create"
8
8
  ],
9
- "summary": "Add environment variables. The body is a JSON array of { key, value, isSecret? }. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. Each one is recorded in Change history, its value masked. A loader or shell name (NODE_OPTIONS, LD_PRELOAD, PATH, GIT_*, and the like) reaches the app only, never Kosuke's agents.",
9
+ "summary": "Add environment variables. The body is a JSON array of { key, value, isSecret? }. Only a workspace admin, in the browser: an API key, a connected app and every other agent token get 403. Sensei does it for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Sensei may write a secret, and never reads one back. Each one is recorded in Change history, its value masked. A loader or shell name (NODE_OPTIONS, LD_PRELOAD, PATH, GIT_*, and the like) reaches the app only, never Kosuke's agents.",
10
10
  "pathParams": [
11
11
  "projectId"
12
12
  ],
13
- "query": [],
13
+ "query": [
14
+ {
15
+ "name": "card",
16
+ "flag": "card",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else."
20
+ }
21
+ ],
14
22
  "body": {
15
23
  "fields": null,
16
24
  "required": true
17
25
  },
18
26
  "multipart": null,
19
27
  "attachments": false,
20
- "anonymous": false
28
+ "anonymous": false,
29
+ "agents": [
30
+ "senseiToken"
31
+ ]
21
32
  };
@@ -6,16 +6,27 @@ export const operation = {
6
6
  "env-vars",
7
7
  "delete"
8
8
  ],
9
- "summary": "Remove environment variables. The body is a JSON array of variable ids. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. Each removal is recorded in Change history.",
9
+ "summary": "Remove environment variables. The body is a JSON array of variable ids. Only a workspace admin, in the browser: an API key, a connected app and every other agent token get 403. Sensei does it for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Each removal is recorded in Change history.",
10
10
  "pathParams": [
11
11
  "projectId"
12
12
  ],
13
- "query": [],
13
+ "query": [
14
+ {
15
+ "name": "card",
16
+ "flag": "card",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else."
20
+ }
21
+ ],
14
22
  "body": {
15
23
  "fields": null,
16
24
  "required": true
17
25
  },
18
26
  "multipart": null,
19
27
  "attachments": false,
20
- "anonymous": false
28
+ "anonymous": false,
29
+ "agents": [
30
+ "senseiToken"
31
+ ]
21
32
  };
@@ -6,11 +6,19 @@ export const operation = {
6
6
  "services",
7
7
  "create"
8
8
  ],
9
- "summary": "Add a service. A port already used by another service is rejected by the handler. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. Recorded in Change history.",
9
+ "summary": "Add a service. A port already used by another service is rejected by the handler. Only a workspace admin, in the browser: an API key, a connected app and every other agent token get 403. Sensei does it for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Recorded in Change history.",
10
10
  "pathParams": [
11
11
  "projectId"
12
12
  ],
13
- "query": [],
13
+ "query": [
14
+ {
15
+ "name": "card",
16
+ "flag": "card",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else."
20
+ }
21
+ ],
14
22
  "body": {
15
23
  "fields": [
16
24
  {
@@ -86,5 +94,8 @@ export const operation = {
86
94
  },
87
95
  "multipart": null,
88
96
  "attachments": false,
89
- "anonymous": false
97
+ "anonymous": false,
98
+ "agents": [
99
+ "senseiToken"
100
+ ]
90
101
  };
@@ -6,14 +6,25 @@ export const operation = {
6
6
  "services",
7
7
  "delete"
8
8
  ],
9
- "summary": "Remove one service. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. Recorded in Change history.",
9
+ "summary": "Remove one service. Only a workspace admin, in the browser: an API key, a connected app and every other agent token get 403. Sensei does it for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Recorded in Change history.",
10
10
  "pathParams": [
11
11
  "projectId",
12
12
  "serviceId"
13
13
  ],
14
- "query": [],
14
+ "query": [
15
+ {
16
+ "name": "card",
17
+ "flag": "card",
18
+ "kind": "string",
19
+ "required": false,
20
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else."
21
+ }
22
+ ],
15
23
  "body": null,
16
24
  "multipart": null,
17
25
  "attachments": false,
18
- "anonymous": false
26
+ "anonymous": false,
27
+ "agents": [
28
+ "senseiToken"
29
+ ]
19
30
  };
@@ -6,12 +6,20 @@ export const operation = {
6
6
  "services",
7
7
  "update"
8
8
  ],
9
- "summary": "Change one service. Every field is optional; only the ones sent change. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. Recorded in Change history.",
9
+ "summary": "Change one service. Every field is optional; only the ones sent change. Only a workspace admin, in the browser: an API key, a connected app and every other agent token get 403. Sensei does it for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Recorded in Change history.",
10
10
  "pathParams": [
11
11
  "projectId",
12
12
  "serviceId"
13
13
  ],
14
- "query": [],
14
+ "query": [
15
+ {
16
+ "name": "card",
17
+ "flag": "card",
18
+ "kind": "string",
19
+ "required": false,
20
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else."
21
+ }
22
+ ],
15
23
  "body": {
16
24
  "fields": [
17
25
  {
@@ -80,5 +88,8 @@ export const operation = {
80
88
  },
81
89
  "multipart": null,
82
90
  "attachments": false,
83
- "anonymous": false
91
+ "anonymous": false,
92
+ "agents": [
93
+ "senseiToken"
94
+ ]
84
95
  };
@@ -6,11 +6,18 @@ export const operation = {
6
6
  "settings",
7
7
  "get"
8
8
  ],
9
- "summary": "Read the project settings: setup commands, services, environment and sandbox size. Every project member reads them. --values false leaves every environment variable value empty: their names only. canEdit says whether the caller may change them.",
9
+ "summary": "Read the project settings: setup commands, services, environment and sandbox size. Every project member reads them. --values false leaves every environment variable value empty: their names only. A secret's value reaches only a member's own browser session or API key, never Sensei or another agent. canEdit says whether the caller may change them; Sensei passes --card with the card its member approved.",
10
10
  "pathParams": [
11
11
  "projectId"
12
12
  ],
13
13
  "query": [
14
+ {
15
+ "name": "card",
16
+ "flag": "card",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else."
20
+ },
14
21
  {
15
22
  "name": "values",
16
23
  "flag": "values",
@@ -6,11 +6,19 @@ export const operation = {
6
6
  "settings",
7
7
  "update"
8
8
  ],
9
- "summary": "Change setup commands, branches, working directory, sandbox tier, the Project QA Guide or deviceWritePaths, the device folders a Chat Session may write. Only a workspace admin, in the browser, changes setup commands, branches, working directory or sandbox tier: an API key or a connected app gets 403 until keys carry a project settings scope, and so does every agent token. Any member changes the QA Guide, and only a member's own API key or browser session changes deviceWritePaths. Each change is recorded in Change history.",
9
+ "summary": "Change setup commands, branches, working directory, sandbox tier, the Project QA Guide or deviceWritePaths, the device folders a Chat Session may write. Only a workspace admin, in the browser, changes setup commands, branches, working directory or sandbox tier: an API key or a connected app gets 403 until keys carry a project settings scope, and so does every other agent token. Sensei changes the setup commands (host setup, setup, warmup, rerun on checkout move) for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Any member changes the QA Guide, and only a member's own API key or browser session changes deviceWritePaths. Each change is recorded in Change history, Sensei's as Sensei for its member.",
10
10
  "pathParams": [
11
11
  "projectId"
12
12
  ],
13
- "query": [],
13
+ "query": [
14
+ {
15
+ "name": "card",
16
+ "flag": "card",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else."
20
+ }
21
+ ],
14
22
  "body": {
15
23
  "fields": [
16
24
  {
@@ -95,5 +103,8 @@ export const operation = {
95
103
  },
96
104
  "multipart": null,
97
105
  "attachments": false,
98
- "anonymous": false
106
+ "anonymous": false,
107
+ "agents": [
108
+ "senseiToken"
109
+ ]
99
110
  };
package/openapi.json CHANGED
@@ -19152,7 +19152,7 @@
19152
19152
  "/api/projects/{projectId}/settings": {
19153
19153
  "get": {
19154
19154
  "operationId": "projectsSettingsGet",
19155
- "summary": "Read the project settings: setup commands, services, environment and sandbox size. Every project member reads them. --values false leaves every environment variable value empty: their names only. canEdit says whether the caller may change them.",
19155
+ "summary": "Read the project settings: setup commands, services, environment and sandbox size. Every project member reads them. --values false leaves every environment variable value empty: their names only. A secret's value reaches only a member's own browser session or API key, never Sensei or another agent. canEdit says whether the caller may change them; Sensei passes --card with the card its member approved.",
19156
19156
  "tags": ["projects"],
19157
19157
  "x-kosuke-command": ["projects", "settings", "get"],
19158
19158
  "x-kosuke-sandbox-token": true,
@@ -19169,6 +19169,18 @@
19169
19169
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
19170
19170
  }
19171
19171
  },
19172
+ {
19173
+ "name": "card",
19174
+ "in": "query",
19175
+ "required": false,
19176
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
19177
+ "schema": {
19178
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
19179
+ "type": "string",
19180
+ "format": "uuid",
19181
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
19182
+ }
19183
+ },
19172
19184
  {
19173
19185
  "name": "values",
19174
19186
  "in": "query",
@@ -19214,9 +19226,10 @@
19214
19226
  },
19215
19227
  "patch": {
19216
19228
  "operationId": "projectsSettingsUpdate",
19217
- "summary": "Change setup commands, branches, working directory, sandbox tier, the Project QA Guide or deviceWritePaths, the device folders a Chat Session may write. Only a workspace admin, in the browser, changes setup commands, branches, working directory or sandbox tier: an API key or a connected app gets 403 until keys carry a project settings scope, and so does every agent token. Any member changes the QA Guide, and only a member's own API key or browser session changes deviceWritePaths. Each change is recorded in Change history.",
19229
+ "summary": "Change setup commands, branches, working directory, sandbox tier, the Project QA Guide or deviceWritePaths, the device folders a Chat Session may write. Only a workspace admin, in the browser, changes setup commands, branches, working directory or sandbox tier: an API key or a connected app gets 403 until keys carry a project settings scope, and so does every other agent token. Sensei changes the setup commands (host setup, setup, warmup, rerun on checkout move) for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Any member changes the QA Guide, and only a member's own API key or browser session changes deviceWritePaths. Each change is recorded in Change history, Sensei's as Sensei for its member.",
19218
19230
  "tags": ["projects"],
19219
19231
  "x-kosuke-command": ["projects", "settings", "update"],
19232
+ "x-kosuke-sensei-token": true,
19220
19233
  "parameters": [
19221
19234
  {
19222
19235
  "name": "projectId",
@@ -19227,6 +19240,18 @@
19227
19240
  "format": "uuid",
19228
19241
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
19229
19242
  }
19243
+ },
19244
+ {
19245
+ "name": "card",
19246
+ "in": "query",
19247
+ "required": false,
19248
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
19249
+ "schema": {
19250
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
19251
+ "type": "string",
19252
+ "format": "uuid",
19253
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
19254
+ }
19230
19255
  }
19231
19256
  ],
19232
19257
  "requestBody": {
@@ -20094,9 +20119,10 @@
20094
20119
  "/api/projects/{projectId}/settings/env-vars": {
20095
20120
  "post": {
20096
20121
  "operationId": "projectsEnvVarsCreate",
20097
- "summary": "Add environment variables. The body is a JSON array of { key, value, isSecret? }. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. Each one is recorded in Change history, its value masked. A loader or shell name (NODE_OPTIONS, LD_PRELOAD, PATH, GIT_*, and the like) reaches the app only, never Kosuke's agents.",
20122
+ "summary": "Add environment variables. The body is a JSON array of { key, value, isSecret? }. Only a workspace admin, in the browser: an API key, a connected app and every other agent token get 403. Sensei does it for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Sensei may write a secret, and never reads one back. Each one is recorded in Change history, its value masked. A loader or shell name (NODE_OPTIONS, LD_PRELOAD, PATH, GIT_*, and the like) reaches the app only, never Kosuke's agents.",
20098
20123
  "tags": ["projects"],
20099
20124
  "x-kosuke-command": ["projects", "env-vars", "create"],
20125
+ "x-kosuke-sensei-token": true,
20100
20126
  "parameters": [
20101
20127
  {
20102
20128
  "name": "projectId",
@@ -20107,6 +20133,18 @@
20107
20133
  "format": "uuid",
20108
20134
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
20109
20135
  }
20136
+ },
20137
+ {
20138
+ "name": "card",
20139
+ "in": "query",
20140
+ "required": false,
20141
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
20142
+ "schema": {
20143
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
20144
+ "type": "string",
20145
+ "format": "uuid",
20146
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
20147
+ }
20110
20148
  }
20111
20149
  ],
20112
20150
  "requestBody": {
@@ -20176,9 +20214,10 @@
20176
20214
  },
20177
20215
  "delete": {
20178
20216
  "operationId": "projectsEnvVarsDelete",
20179
- "summary": "Remove environment variables. The body is a JSON array of variable ids. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. Each removal is recorded in Change history.",
20217
+ "summary": "Remove environment variables. The body is a JSON array of variable ids. Only a workspace admin, in the browser: an API key, a connected app and every other agent token get 403. Sensei does it for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Each removal is recorded in Change history.",
20180
20218
  "tags": ["projects"],
20181
20219
  "x-kosuke-command": ["projects", "env-vars", "delete"],
20220
+ "x-kosuke-sensei-token": true,
20182
20221
  "parameters": [
20183
20222
  {
20184
20223
  "name": "projectId",
@@ -20189,6 +20228,18 @@
20189
20228
  "format": "uuid",
20190
20229
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
20191
20230
  }
20231
+ },
20232
+ {
20233
+ "name": "card",
20234
+ "in": "query",
20235
+ "required": false,
20236
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
20237
+ "schema": {
20238
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
20239
+ "type": "string",
20240
+ "format": "uuid",
20241
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
20242
+ }
20192
20243
  }
20193
20244
  ],
20194
20245
  "requestBody": {
@@ -20772,9 +20823,10 @@
20772
20823
  },
20773
20824
  "post": {
20774
20825
  "operationId": "projectsServicesCreate",
20775
- "summary": "Add a service. A port already used by another service is rejected by the handler. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. Recorded in Change history.",
20826
+ "summary": "Add a service. A port already used by another service is rejected by the handler. Only a workspace admin, in the browser: an API key, a connected app and every other agent token get 403. Sensei does it for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Recorded in Change history.",
20776
20827
  "tags": ["projects"],
20777
20828
  "x-kosuke-command": ["projects", "services", "create"],
20829
+ "x-kosuke-sensei-token": true,
20778
20830
  "parameters": [
20779
20831
  {
20780
20832
  "name": "projectId",
@@ -20785,6 +20837,18 @@
20785
20837
  "format": "uuid",
20786
20838
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
20787
20839
  }
20840
+ },
20841
+ {
20842
+ "name": "card",
20843
+ "in": "query",
20844
+ "required": false,
20845
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
20846
+ "schema": {
20847
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
20848
+ "type": "string",
20849
+ "format": "uuid",
20850
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
20851
+ }
20788
20852
  }
20789
20853
  ],
20790
20854
  "requestBody": {
@@ -20929,9 +20993,10 @@
20929
20993
  "/api/projects/{projectId}/settings/services/{serviceId}": {
20930
20994
  "patch": {
20931
20995
  "operationId": "projectsServicesUpdate",
20932
- "summary": "Change one service. Every field is optional; only the ones sent change. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. Recorded in Change history.",
20996
+ "summary": "Change one service. Every field is optional; only the ones sent change. Only a workspace admin, in the browser: an API key, a connected app and every other agent token get 403. Sensei does it for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Recorded in Change history.",
20933
20997
  "tags": ["projects"],
20934
20998
  "x-kosuke-command": ["projects", "services", "update"],
20999
+ "x-kosuke-sensei-token": true,
20935
21000
  "parameters": [
20936
21001
  {
20937
21002
  "name": "projectId",
@@ -20952,6 +21017,18 @@
20952
21017
  "format": "uuid",
20953
21018
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
20954
21019
  }
21020
+ },
21021
+ {
21022
+ "name": "card",
21023
+ "in": "query",
21024
+ "required": false,
21025
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
21026
+ "schema": {
21027
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
21028
+ "type": "string",
21029
+ "format": "uuid",
21030
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
21031
+ }
20955
21032
  }
20956
21033
  ],
20957
21034
  "requestBody": {
@@ -21080,9 +21157,10 @@
21080
21157
  },
21081
21158
  "delete": {
21082
21159
  "operationId": "projectsServicesDelete",
21083
- "summary": "Remove one service. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. Recorded in Change history.",
21160
+ "summary": "Remove one service. Only a workspace admin, in the browser: an API key, a connected app and every other agent token get 403. Sensei does it for a workspace admin, with --card naming the card about this project they approved, from the Turn that approval started; without it, 403. Recorded in Change history.",
21084
21161
  "tags": ["projects"],
21085
21162
  "x-kosuke-command": ["projects", "services", "delete"],
21163
+ "x-kosuke-sensei-token": true,
21086
21164
  "parameters": [
21087
21165
  {
21088
21166
  "name": "projectId",
@@ -21103,6 +21181,18 @@
21103
21181
  "format": "uuid",
21104
21182
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
21105
21183
  }
21184
+ },
21185
+ {
21186
+ "name": "card",
21187
+ "in": "query",
21188
+ "required": false,
21189
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
21190
+ "schema": {
21191
+ "description": "Sensei only: the id of the card about this project that a workspace admin approved, from the Turn that approval started. Ignored for anyone else.",
21192
+ "type": "string",
21193
+ "format": "uuid",
21194
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
21195
+ }
21106
21196
  }
21107
21197
  ],
21108
21198
  "responses": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/kosuke",
3
- "version": "1.0.101",
3
+ "version": "1.0.102",
4
4
  "description": "Sensei platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -43,11 +43,10 @@
43
43
  "minimatch": "^11.0.1"
44
44
  },
45
45
  "kosukeRelease": {
46
- "sourceCommit": "86f027d0c3b07f8e747ae3933812a828b698149f",
47
- "sourceIdentity": "1ef17a9a59ff32b57aff011cd868f3fd1c52b3073ee3dc499a2a2f1954d4eb83",
46
+ "sourceCommit": "aa1d3279f732656f45ea93138073c3b018d271cf",
47
+ "sourceIdentity": "57cae902c54a4c547866e5d954c673c44ec509e8ab267df2cc12269eafde3ce0",
48
48
  "fragments": [
49
- "personal-free-runtime-capacity.json",
50
- "organization-sandbox-hours-status.json"
49
+ "sensei-approved-settings-xi2w2g.json"
51
50
  ]
52
51
  }
53
52
  }