@kosuke-ai/cli 6.4.0 → 6.4.1
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/generated/commands/index.js +67 -63
- package/dist/generated/commands/user/integrations-list.js +20 -0
- package/dist/generated/commands/user/integrations-remove.js +23 -0
- package/dist/generated/commands/workspaces/integrations-get.js +1 -1
- package/dist/generated/commands/workspaces/integrations-slack-get.js +2 -2
- package/openapi.json +103 -3
- package/package.json +1 -1
|
@@ -109,69 +109,71 @@ import { operation as o107 } from './sessions/steer.js';
|
|
|
109
109
|
import { operation as o108 } from './sessions/title-generate.js';
|
|
110
110
|
import { operation as o109 } from './sessions/update.js';
|
|
111
111
|
import { operation as o110 } from './user/auth-token-revoke.js';
|
|
112
|
-
import { operation as o111 } from './user/
|
|
113
|
-
import { operation as o112 } from './user/
|
|
114
|
-
import { operation as o113 } from './user/
|
|
115
|
-
import { operation as o114 } from './user/
|
|
116
|
-
import { operation as o115 } from './user/
|
|
117
|
-
import { operation as o116 } from './user/
|
|
118
|
-
import { operation as o117 } from './user/
|
|
119
|
-
import { operation as o118 } from './user/skills-
|
|
120
|
-
import { operation as o119 } from './user/skills-
|
|
121
|
-
import { operation as o120 } from './user/skills-
|
|
122
|
-
import { operation as o121 } from './user/
|
|
123
|
-
import { operation as o122 } from './user/
|
|
124
|
-
import { operation as o123 } from './user/subscriptions-
|
|
125
|
-
import { operation as o124 } from './user/subscriptions-
|
|
126
|
-
import { operation as o125 } from './user/subscriptions-login-
|
|
127
|
-
import { operation as o126 } from './user/subscriptions-login-
|
|
128
|
-
import { operation as o127 } from './user/subscriptions-
|
|
129
|
-
import { operation as o128 } from './user/subscriptions-
|
|
130
|
-
import { operation as o129 } from './user/subscriptions-
|
|
131
|
-
import { operation as o130 } from './user/subscriptions-
|
|
132
|
-
import { operation as o131 } from './user/subscriptions-
|
|
133
|
-
import { operation as o132 } from './
|
|
134
|
-
import { operation as o133 } from './
|
|
135
|
-
import { operation as o134 } from './workspaces/
|
|
136
|
-
import { operation as o135 } from './workspaces/ai-provider-
|
|
137
|
-
import { operation as o136 } from './workspaces/ai-provider-
|
|
138
|
-
import { operation as o137 } from './workspaces/ai-provider-
|
|
139
|
-
import { operation as o138 } from './workspaces/ai-provider-
|
|
140
|
-
import { operation as o139 } from './workspaces/ai-provider-usage-
|
|
141
|
-
import { operation as o140 } from './workspaces/ai-provider-usage-
|
|
142
|
-
import { operation as o141 } from './workspaces/
|
|
143
|
-
import { operation as o142 } from './workspaces/
|
|
144
|
-
import { operation as o143 } from './workspaces/
|
|
145
|
-
import { operation as o144 } from './workspaces/
|
|
146
|
-
import { operation as o145 } from './workspaces/
|
|
147
|
-
import { operation as o146 } from './workspaces/
|
|
148
|
-
import { operation as o147 } from './workspaces/
|
|
149
|
-
import { operation as o148 } from './workspaces/integrations-
|
|
150
|
-
import { operation as o149 } from './workspaces/integrations-
|
|
151
|
-
import { operation as o150 } from './workspaces/
|
|
152
|
-
import { operation as o151 } from './workspaces/
|
|
153
|
-
import { operation as o152 } from './workspaces/lead-
|
|
154
|
-
import { operation as o153 } from './workspaces/lead-
|
|
155
|
-
import { operation as o154 } from './workspaces/lead-
|
|
156
|
-
import { operation as o155 } from './workspaces/lead-
|
|
157
|
-
import { operation as o156 } from './workspaces/lead-
|
|
158
|
-
import { operation as o157 } from './workspaces/
|
|
159
|
-
import { operation as o158 } from './workspaces/
|
|
160
|
-
import { operation as o159 } from './workspaces/
|
|
161
|
-
import { operation as o160 } from './workspaces/
|
|
162
|
-
import { operation as o161 } from './workspaces/
|
|
163
|
-
import { operation as o162 } from './workspaces/
|
|
164
|
-
import { operation as o163 } from './workspaces/provider-login-
|
|
165
|
-
import { operation as o164 } from './workspaces/provider-login-
|
|
166
|
-
import { operation as o165 } from './workspaces/
|
|
167
|
-
import { operation as o166 } from './workspaces/
|
|
168
|
-
import { operation as o167 } from './workspaces/
|
|
169
|
-
import { operation as o168 } from './workspaces/skills-
|
|
170
|
-
import { operation as o169 } from './workspaces/skills-
|
|
171
|
-
import { operation as o170 } from './workspaces/skills-
|
|
172
|
-
import { operation as o171 } from './workspaces/
|
|
173
|
-
import { operation as o172 } from './workspaces/
|
|
174
|
-
import { operation as o173 } from './workspaces/
|
|
112
|
+
import { operation as o111 } from './user/integrations-list.js';
|
|
113
|
+
import { operation as o112 } from './user/integrations-remove.js';
|
|
114
|
+
import { operation as o113 } from './user/plugins-list.js';
|
|
115
|
+
import { operation as o114 } from './user/plugins-update.js';
|
|
116
|
+
import { operation as o115 } from './user/profile.js';
|
|
117
|
+
import { operation as o116 } from './user/push-devices-register.js';
|
|
118
|
+
import { operation as o117 } from './user/push-devices-remove.js';
|
|
119
|
+
import { operation as o118 } from './user/skills-create.js';
|
|
120
|
+
import { operation as o119 } from './user/skills-delete.js';
|
|
121
|
+
import { operation as o120 } from './user/skills-get.js';
|
|
122
|
+
import { operation as o121 } from './user/skills-list.js';
|
|
123
|
+
import { operation as o122 } from './user/skills-update.js';
|
|
124
|
+
import { operation as o123 } from './user/subscriptions-delete.js';
|
|
125
|
+
import { operation as o124 } from './user/subscriptions-get.js';
|
|
126
|
+
import { operation as o125 } from './user/subscriptions-login-claude-complete.js';
|
|
127
|
+
import { operation as o126 } from './user/subscriptions-login-claude-start.js';
|
|
128
|
+
import { operation as o127 } from './user/subscriptions-login-codex-complete.js';
|
|
129
|
+
import { operation as o128 } from './user/subscriptions-login-codex-start.js';
|
|
130
|
+
import { operation as o129 } from './user/subscriptions-logins-delete.js';
|
|
131
|
+
import { operation as o130 } from './user/subscriptions-logins-reorder.js';
|
|
132
|
+
import { operation as o131 } from './user/subscriptions-set-default-model.js';
|
|
133
|
+
import { operation as o132 } from './user/subscriptions-set-key.js';
|
|
134
|
+
import { operation as o133 } from './user/subscriptions-usage.js';
|
|
135
|
+
import { operation as o134 } from './workspaces/access-status.js';
|
|
136
|
+
import { operation as o135 } from './workspaces/ai-provider-get.js';
|
|
137
|
+
import { operation as o136 } from './workspaces/ai-provider-logins-reorder.js';
|
|
138
|
+
import { operation as o137 } from './workspaces/ai-provider-remove.js';
|
|
139
|
+
import { operation as o138 } from './workspaces/ai-provider-set.js';
|
|
140
|
+
import { operation as o139 } from './workspaces/ai-provider-usage-claude.js';
|
|
141
|
+
import { operation as o140 } from './workspaces/ai-provider-usage-codex.js';
|
|
142
|
+
import { operation as o141 } from './workspaces/ai-provider-usage-coding-plan.js';
|
|
143
|
+
import { operation as o142 } from './workspaces/ai-provider-usage-kimi-code.js';
|
|
144
|
+
import { operation as o143 } from './workspaces/artifacts.js';
|
|
145
|
+
import { operation as o144 } from './workspaces/credits.js';
|
|
146
|
+
import { operation as o145 } from './workspaces/get.js';
|
|
147
|
+
import { operation as o146 } from './workspaces/getting-started-get.js';
|
|
148
|
+
import { operation as o147 } from './workspaces/getting-started-update.js';
|
|
149
|
+
import { operation as o148 } from './workspaces/integrations-get.js';
|
|
150
|
+
import { operation as o149 } from './workspaces/integrations-list.js';
|
|
151
|
+
import { operation as o150 } from './workspaces/integrations-remove.js';
|
|
152
|
+
import { operation as o151 } from './workspaces/integrations-slack-get.js';
|
|
153
|
+
import { operation as o152 } from './workspaces/lead-cards.js';
|
|
154
|
+
import { operation as o153 } from './workspaces/lead-merge.js';
|
|
155
|
+
import { operation as o154 } from './workspaces/lead-notifications-open.js';
|
|
156
|
+
import { operation as o155 } from './workspaces/lead-proposals-create.js';
|
|
157
|
+
import { operation as o156 } from './workspaces/lead-review-request.js';
|
|
158
|
+
import { operation as o157 } from './workspaces/lead-session-send.js';
|
|
159
|
+
import { operation as o158 } from './workspaces/lead-triage.js';
|
|
160
|
+
import { operation as o159 } from './workspaces/list.js';
|
|
161
|
+
import { operation as o160 } from './workspaces/members.js';
|
|
162
|
+
import { operation as o161 } from './workspaces/plugins-list.js';
|
|
163
|
+
import { operation as o162 } from './workspaces/plugins-update.js';
|
|
164
|
+
import { operation as o163 } from './workspaces/provider-login-claude-complete.js';
|
|
165
|
+
import { operation as o164 } from './workspaces/provider-login-claude-start.js';
|
|
166
|
+
import { operation as o165 } from './workspaces/provider-login-codex-complete.js';
|
|
167
|
+
import { operation as o166 } from './workspaces/provider-login-codex-start.js';
|
|
168
|
+
import { operation as o167 } from './workspaces/sandbox-limit.js';
|
|
169
|
+
import { operation as o168 } from './workspaces/skills-create.js';
|
|
170
|
+
import { operation as o169 } from './workspaces/skills-delete.js';
|
|
171
|
+
import { operation as o170 } from './workspaces/skills-get.js';
|
|
172
|
+
import { operation as o171 } from './workspaces/skills-list.js';
|
|
173
|
+
import { operation as o172 } from './workspaces/skills-update.js';
|
|
174
|
+
import { operation as o173 } from './workspaces/stop-sandboxes.js';
|
|
175
|
+
import { operation as o174 } from './workspaces/timezone-set.js';
|
|
176
|
+
import { operation as o175 } from './workspaces/usage.js';
|
|
175
177
|
export const operations = [
|
|
176
178
|
o0,
|
|
177
179
|
o1,
|
|
@@ -347,4 +349,6 @@ export const operations = [
|
|
|
347
349
|
o171,
|
|
348
350
|
o172,
|
|
349
351
|
o173,
|
|
352
|
+
o174,
|
|
353
|
+
o175,
|
|
350
354
|
];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/user/integrations",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"integrations",
|
|
7
|
+
"list"
|
|
8
|
+
],
|
|
9
|
+
"summary": "List the integrations you can connect for yourself, such as Gmail or Notion, with your own connections to each: label, status and whether a Reconnect is needed. They belong to you and follow you into every workspace you belong to. Never a credential or a connected-account identifier, and only a signed-in member or their own API key can read them: an agent token, a workspace admin and every other member cannot.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": null,
|
|
13
|
+
"multipart": null,
|
|
14
|
+
"attachments": false,
|
|
15
|
+
"anonymous": false,
|
|
16
|
+
"sandboxToken": false,
|
|
17
|
+
"orchestratorToken": false,
|
|
18
|
+
"cronToken": false,
|
|
19
|
+
"leadToken": false
|
|
20
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "delete",
|
|
3
|
+
"path": "/api/user/integrations/{toolkit}/connections/{connectionId}",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"integrations",
|
|
7
|
+
"remove"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Disconnect one of your own integration connections by toolkit slug and connection id, such as gmail and the id `user integrations list` returns: agents lose it at once, then Kosuke deletes the stored authorization, retrying in the background if needed. Revoking the authorization at the toolkit itself is not part of this. A connection that is not yours, or is already gone, answers 404.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"toolkit",
|
|
12
|
+
"connectionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": null,
|
|
16
|
+
"multipart": null,
|
|
17
|
+
"attachments": false,
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"sandboxToken": false,
|
|
20
|
+
"orchestratorToken": false,
|
|
21
|
+
"cronToken": false,
|
|
22
|
+
"leadToken": false
|
|
23
|
+
};
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"integrations",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read one workspace integration by toolkit slug, such as sentry: status, the tenant it is confined to,
|
|
9
|
+
"summary": "Read one workspace integration by toolkit slug, such as sentry: status, the tenant it is confined to, requested scopes, who authorized it, whether remote cleanup is pending and each of its connections. Never a credential or a connected-account identifier. A toolkit the workspace never connected and this deployment does not offer is a 404.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"workspaceId",
|
|
12
12
|
"toolkit"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/organizations/{workspaceId}/integrations/slack",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/integrations/bots/slack",
|
|
4
4
|
"command": [
|
|
5
5
|
"workspaces",
|
|
6
6
|
"integrations",
|
|
7
7
|
"slack",
|
|
8
8
|
"get"
|
|
9
9
|
],
|
|
10
|
-
"summary": "Read the workspace Slack
|
|
10
|
+
"summary": "Read the workspace Slack Bot: the connected Slack workspace, who installed it and when. Never the bot token.",
|
|
11
11
|
"pathParams": [
|
|
12
12
|
"workspaceId"
|
|
13
13
|
],
|
package/openapi.json
CHANGED
|
@@ -2979,7 +2979,7 @@
|
|
|
2979
2979
|
"/api/organizations/{workspaceId}/integrations/{toolkit}": {
|
|
2980
2980
|
"get": {
|
|
2981
2981
|
"operationId": "workspacesIntegrationsGet",
|
|
2982
|
-
"summary": "Read one workspace integration by toolkit slug, such as sentry: status, the tenant it is confined to,
|
|
2982
|
+
"summary": "Read one workspace integration by toolkit slug, such as sentry: status, the tenant it is confined to, requested scopes, who authorized it, whether remote cleanup is pending and each of its connections. Never a credential or a connected-account identifier. A toolkit the workspace never connected and this deployment does not offer is a 404.",
|
|
2983
2983
|
"tags": ["workspaces"],
|
|
2984
2984
|
"x-kosuke-command": ["workspaces", "integrations", "get"],
|
|
2985
2985
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3098,10 +3098,10 @@
|
|
|
3098
3098
|
}
|
|
3099
3099
|
}
|
|
3100
3100
|
},
|
|
3101
|
-
"/api/organizations/{workspaceId}/integrations/slack": {
|
|
3101
|
+
"/api/organizations/{workspaceId}/integrations/bots/slack": {
|
|
3102
3102
|
"get": {
|
|
3103
3103
|
"operationId": "workspacesIntegrationsSlackGet",
|
|
3104
|
-
"summary": "Read the workspace Slack
|
|
3104
|
+
"summary": "Read the workspace Slack Bot: the connected Slack workspace, who installed it and when. Never the bot token.",
|
|
3105
3105
|
"tags": ["workspaces"],
|
|
3106
3106
|
"x-kosuke-command": ["workspaces", "integrations", "slack", "get"],
|
|
3107
3107
|
"x-kosuke-sandbox-token": true,
|
|
@@ -13039,6 +13039,106 @@
|
|
|
13039
13039
|
}
|
|
13040
13040
|
}
|
|
13041
13041
|
},
|
|
13042
|
+
"/api/user/integrations": {
|
|
13043
|
+
"get": {
|
|
13044
|
+
"operationId": "userIntegrationsList",
|
|
13045
|
+
"summary": "List the integrations you can connect for yourself, such as Gmail or Notion, with your own connections to each: label, status and whether a Reconnect is needed. They belong to you and follow you into every workspace you belong to. Never a credential or a connected-account identifier, and only a signed-in member or their own API key can read them: an agent token, a workspace admin and every other member cannot.",
|
|
13046
|
+
"tags": ["user"],
|
|
13047
|
+
"x-kosuke-command": ["user", "integrations", "list"],
|
|
13048
|
+
"responses": {
|
|
13049
|
+
"2XX": {
|
|
13050
|
+
"description": "Success envelope",
|
|
13051
|
+
"content": {
|
|
13052
|
+
"application/json": {
|
|
13053
|
+
"schema": {
|
|
13054
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
13055
|
+
}
|
|
13056
|
+
}
|
|
13057
|
+
}
|
|
13058
|
+
},
|
|
13059
|
+
"4XX": {
|
|
13060
|
+
"description": "Error envelope",
|
|
13061
|
+
"content": {
|
|
13062
|
+
"application/json": {
|
|
13063
|
+
"schema": {
|
|
13064
|
+
"$ref": "#/components/schemas/ApiError"
|
|
13065
|
+
}
|
|
13066
|
+
}
|
|
13067
|
+
}
|
|
13068
|
+
},
|
|
13069
|
+
"5XX": {
|
|
13070
|
+
"description": "Error envelope",
|
|
13071
|
+
"content": {
|
|
13072
|
+
"application/json": {
|
|
13073
|
+
"schema": {
|
|
13074
|
+
"$ref": "#/components/schemas/ApiError"
|
|
13075
|
+
}
|
|
13076
|
+
}
|
|
13077
|
+
}
|
|
13078
|
+
}
|
|
13079
|
+
}
|
|
13080
|
+
}
|
|
13081
|
+
},
|
|
13082
|
+
"/api/user/integrations/{toolkit}/connections/{connectionId}": {
|
|
13083
|
+
"delete": {
|
|
13084
|
+
"operationId": "userIntegrationsRemove",
|
|
13085
|
+
"summary": "Disconnect one of your own integration connections by toolkit slug and connection id, such as gmail and the id `user integrations list` returns: agents lose it at once, then Kosuke deletes the stored authorization, retrying in the background if needed. Revoking the authorization at the toolkit itself is not part of this. A connection that is not yours, or is already gone, answers 404.",
|
|
13086
|
+
"tags": ["user"],
|
|
13087
|
+
"x-kosuke-command": ["user", "integrations", "remove"],
|
|
13088
|
+
"parameters": [
|
|
13089
|
+
{
|
|
13090
|
+
"name": "toolkit",
|
|
13091
|
+
"in": "path",
|
|
13092
|
+
"required": true,
|
|
13093
|
+
"schema": {
|
|
13094
|
+
"type": "string",
|
|
13095
|
+
"minLength": 1
|
|
13096
|
+
}
|
|
13097
|
+
},
|
|
13098
|
+
{
|
|
13099
|
+
"name": "connectionId",
|
|
13100
|
+
"in": "path",
|
|
13101
|
+
"required": true,
|
|
13102
|
+
"schema": {
|
|
13103
|
+
"type": "string",
|
|
13104
|
+
"minLength": 1
|
|
13105
|
+
}
|
|
13106
|
+
}
|
|
13107
|
+
],
|
|
13108
|
+
"responses": {
|
|
13109
|
+
"2XX": {
|
|
13110
|
+
"description": "Success envelope",
|
|
13111
|
+
"content": {
|
|
13112
|
+
"application/json": {
|
|
13113
|
+
"schema": {
|
|
13114
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
13115
|
+
}
|
|
13116
|
+
}
|
|
13117
|
+
}
|
|
13118
|
+
},
|
|
13119
|
+
"4XX": {
|
|
13120
|
+
"description": "Error envelope",
|
|
13121
|
+
"content": {
|
|
13122
|
+
"application/json": {
|
|
13123
|
+
"schema": {
|
|
13124
|
+
"$ref": "#/components/schemas/ApiError"
|
|
13125
|
+
}
|
|
13126
|
+
}
|
|
13127
|
+
}
|
|
13128
|
+
},
|
|
13129
|
+
"5XX": {
|
|
13130
|
+
"description": "Error envelope",
|
|
13131
|
+
"content": {
|
|
13132
|
+
"application/json": {
|
|
13133
|
+
"schema": {
|
|
13134
|
+
"$ref": "#/components/schemas/ApiError"
|
|
13135
|
+
}
|
|
13136
|
+
}
|
|
13137
|
+
}
|
|
13138
|
+
}
|
|
13139
|
+
}
|
|
13140
|
+
}
|
|
13141
|
+
},
|
|
13042
13142
|
"/api/user/plugins": {
|
|
13043
13143
|
"get": {
|
|
13044
13144
|
"operationId": "userPluginsList",
|