@kosuke-ai/cli 5.15.0 → 5.16.0
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 +26 -24
- package/dist/generated/commands/workspaces/integrations-get.js +23 -0
- package/dist/generated/commands/workspaces/{integrations-sentry-get.js → integrations-list.js} +3 -4
- package/dist/generated/commands/workspaces/integrations-remove.js +23 -0
- package/openapi.json +80 -7
- package/package.json +1 -1
- package/dist/generated/commands/workspaces/integrations-sentry-remove.js +0 -23
|
@@ -141,30 +141,31 @@ import { operation as o139 } from './workspaces/credits.js';
|
|
|
141
141
|
import { operation as o140 } from './workspaces/get.js';
|
|
142
142
|
import { operation as o141 } from './workspaces/getting-started-get.js';
|
|
143
143
|
import { operation as o142 } from './workspaces/getting-started-update.js';
|
|
144
|
-
import { operation as o143 } from './workspaces/integrations-
|
|
145
|
-
import { operation as o144 } from './workspaces/integrations-
|
|
146
|
-
import { operation as o145 } from './workspaces/integrations-
|
|
147
|
-
import { operation as o146 } from './workspaces/
|
|
148
|
-
import { operation as o147 } from './workspaces/lead-
|
|
149
|
-
import { operation as o148 } from './workspaces/lead-
|
|
150
|
-
import { operation as o149 } from './workspaces/lead-
|
|
151
|
-
import { operation as o150 } from './workspaces/lead-
|
|
152
|
-
import { operation as o151 } from './workspaces/
|
|
153
|
-
import { operation as o152 } from './workspaces/
|
|
154
|
-
import { operation as o153 } from './workspaces/
|
|
155
|
-
import { operation as o154 } from './workspaces/plugins-
|
|
156
|
-
import { operation as o155 } from './workspaces/
|
|
157
|
-
import { operation as o156 } from './workspaces/provider-login-claude-
|
|
158
|
-
import { operation as o157 } from './workspaces/provider-login-
|
|
159
|
-
import { operation as o158 } from './workspaces/provider-login-codex-
|
|
160
|
-
import { operation as o159 } from './workspaces/
|
|
161
|
-
import { operation as o160 } from './workspaces/
|
|
162
|
-
import { operation as o161 } from './workspaces/skills-
|
|
163
|
-
import { operation as o162 } from './workspaces/skills-
|
|
164
|
-
import { operation as o163 } from './workspaces/skills-
|
|
165
|
-
import { operation as o164 } from './workspaces/skills-
|
|
166
|
-
import { operation as o165 } from './workspaces/
|
|
167
|
-
import { operation as o166 } from './workspaces/
|
|
144
|
+
import { operation as o143 } from './workspaces/integrations-get.js';
|
|
145
|
+
import { operation as o144 } from './workspaces/integrations-list.js';
|
|
146
|
+
import { operation as o145 } from './workspaces/integrations-remove.js';
|
|
147
|
+
import { operation as o146 } from './workspaces/integrations-slack-get.js';
|
|
148
|
+
import { operation as o147 } from './workspaces/lead-cards.js';
|
|
149
|
+
import { operation as o148 } from './workspaces/lead-merge.js';
|
|
150
|
+
import { operation as o149 } from './workspaces/lead-notifications-open.js';
|
|
151
|
+
import { operation as o150 } from './workspaces/lead-proposals-create.js';
|
|
152
|
+
import { operation as o151 } from './workspaces/lead-triage.js';
|
|
153
|
+
import { operation as o152 } from './workspaces/list.js';
|
|
154
|
+
import { operation as o153 } from './workspaces/members.js';
|
|
155
|
+
import { operation as o154 } from './workspaces/plugins-list.js';
|
|
156
|
+
import { operation as o155 } from './workspaces/plugins-update.js';
|
|
157
|
+
import { operation as o156 } from './workspaces/provider-login-claude-complete.js';
|
|
158
|
+
import { operation as o157 } from './workspaces/provider-login-claude-start.js';
|
|
159
|
+
import { operation as o158 } from './workspaces/provider-login-codex-complete.js';
|
|
160
|
+
import { operation as o159 } from './workspaces/provider-login-codex-start.js';
|
|
161
|
+
import { operation as o160 } from './workspaces/sandbox-limit.js';
|
|
162
|
+
import { operation as o161 } from './workspaces/skills-create.js';
|
|
163
|
+
import { operation as o162 } from './workspaces/skills-delete.js';
|
|
164
|
+
import { operation as o163 } from './workspaces/skills-get.js';
|
|
165
|
+
import { operation as o164 } from './workspaces/skills-list.js';
|
|
166
|
+
import { operation as o165 } from './workspaces/skills-update.js';
|
|
167
|
+
import { operation as o166 } from './workspaces/stop-sandboxes.js';
|
|
168
|
+
import { operation as o167 } from './workspaces/usage.js';
|
|
168
169
|
export const operations = [
|
|
169
170
|
o0,
|
|
170
171
|
o1,
|
|
@@ -333,4 +334,5 @@ export const operations = [
|
|
|
333
334
|
o164,
|
|
334
335
|
o165,
|
|
335
336
|
o166,
|
|
337
|
+
o167,
|
|
336
338
|
];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/integrations/{toolkit}",
|
|
4
|
+
"command": [
|
|
5
|
+
"workspaces",
|
|
6
|
+
"integrations",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read one workspace integration by toolkit slug, such as sentry: status, the tenant it is confined to, whether agents may make changes, requested scopes, who authorized it and whether remote cleanup is pending. Never a credential or a connected-account identifier. A toolkit the workspace never connected and this deployment does not offer is a 404.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"workspaceId",
|
|
12
|
+
"toolkit"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": null,
|
|
16
|
+
"multipart": null,
|
|
17
|
+
"attachments": false,
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"sandboxToken": true,
|
|
20
|
+
"orchestratorToken": true,
|
|
21
|
+
"cronToken": true,
|
|
22
|
+
"leadToken": true
|
|
23
|
+
};
|
package/dist/generated/commands/workspaces/{integrations-sentry-get.js → integrations-list.js}
RENAMED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/organizations/{workspaceId}/integrations
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/integrations",
|
|
4
4
|
"command": [
|
|
5
5
|
"workspaces",
|
|
6
6
|
"integrations",
|
|
7
|
-
"
|
|
8
|
-
"get"
|
|
7
|
+
"list"
|
|
9
8
|
],
|
|
10
|
-
"summary": "
|
|
9
|
+
"summary": "List the workspace's integrations with their status: every toolkit this deployment offers and every one the workspace still holds. Never a credential or a connected-account identifier.",
|
|
11
10
|
"pathParams": [
|
|
12
11
|
"workspaceId"
|
|
13
12
|
],
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "delete",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/integrations/{toolkit}",
|
|
4
|
+
"command": [
|
|
5
|
+
"workspaces",
|
|
6
|
+
"integrations",
|
|
7
|
+
"remove"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Disconnect an integration by toolkit slug: agents lose the workspace's access 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. Admins only.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"workspaceId",
|
|
12
|
+
"toolkit"
|
|
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
|
+
};
|
package/openapi.json
CHANGED
|
@@ -2803,12 +2803,12 @@
|
|
|
2803
2803
|
}
|
|
2804
2804
|
}
|
|
2805
2805
|
},
|
|
2806
|
-
"/api/organizations/{workspaceId}/integrations
|
|
2806
|
+
"/api/organizations/{workspaceId}/integrations": {
|
|
2807
2807
|
"get": {
|
|
2808
|
-
"operationId": "
|
|
2809
|
-
"summary": "
|
|
2808
|
+
"operationId": "workspacesIntegrationsList",
|
|
2809
|
+
"summary": "List the workspace's integrations with their status: every toolkit this deployment offers and every one the workspace still holds. Never a credential or a connected-account identifier.",
|
|
2810
2810
|
"tags": ["workspaces"],
|
|
2811
|
-
"x-kosuke-command": ["workspaces", "integrations", "
|
|
2811
|
+
"x-kosuke-command": ["workspaces", "integrations", "list"],
|
|
2812
2812
|
"x-kosuke-sandbox-token": true,
|
|
2813
2813
|
"x-kosuke-orchestrator-token": true,
|
|
2814
2814
|
"x-kosuke-cron-token": true,
|
|
@@ -2856,12 +2856,76 @@
|
|
|
2856
2856
|
}
|
|
2857
2857
|
}
|
|
2858
2858
|
}
|
|
2859
|
+
}
|
|
2860
|
+
},
|
|
2861
|
+
"/api/organizations/{workspaceId}/integrations/{toolkit}": {
|
|
2862
|
+
"get": {
|
|
2863
|
+
"operationId": "workspacesIntegrationsGet",
|
|
2864
|
+
"summary": "Read one workspace integration by toolkit slug, such as sentry: status, the tenant it is confined to, whether agents may make changes, requested scopes, who authorized it and whether remote cleanup is pending. Never a credential or a connected-account identifier. A toolkit the workspace never connected and this deployment does not offer is a 404.",
|
|
2865
|
+
"tags": ["workspaces"],
|
|
2866
|
+
"x-kosuke-command": ["workspaces", "integrations", "get"],
|
|
2867
|
+
"x-kosuke-sandbox-token": true,
|
|
2868
|
+
"x-kosuke-orchestrator-token": true,
|
|
2869
|
+
"x-kosuke-cron-token": true,
|
|
2870
|
+
"x-kosuke-lead-token": true,
|
|
2871
|
+
"parameters": [
|
|
2872
|
+
{
|
|
2873
|
+
"name": "workspaceId",
|
|
2874
|
+
"in": "path",
|
|
2875
|
+
"required": true,
|
|
2876
|
+
"schema": {
|
|
2877
|
+
"type": "string",
|
|
2878
|
+
"minLength": 1
|
|
2879
|
+
}
|
|
2880
|
+
},
|
|
2881
|
+
{
|
|
2882
|
+
"name": "toolkit",
|
|
2883
|
+
"in": "path",
|
|
2884
|
+
"required": true,
|
|
2885
|
+
"schema": {
|
|
2886
|
+
"type": "string",
|
|
2887
|
+
"minLength": 1
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2890
|
+
],
|
|
2891
|
+
"responses": {
|
|
2892
|
+
"2XX": {
|
|
2893
|
+
"description": "Success envelope",
|
|
2894
|
+
"content": {
|
|
2895
|
+
"application/json": {
|
|
2896
|
+
"schema": {
|
|
2897
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
2898
|
+
}
|
|
2899
|
+
}
|
|
2900
|
+
}
|
|
2901
|
+
},
|
|
2902
|
+
"4XX": {
|
|
2903
|
+
"description": "Error envelope",
|
|
2904
|
+
"content": {
|
|
2905
|
+
"application/json": {
|
|
2906
|
+
"schema": {
|
|
2907
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2908
|
+
}
|
|
2909
|
+
}
|
|
2910
|
+
}
|
|
2911
|
+
},
|
|
2912
|
+
"5XX": {
|
|
2913
|
+
"description": "Error envelope",
|
|
2914
|
+
"content": {
|
|
2915
|
+
"application/json": {
|
|
2916
|
+
"schema": {
|
|
2917
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
}
|
|
2859
2923
|
},
|
|
2860
2924
|
"delete": {
|
|
2861
|
-
"operationId": "
|
|
2862
|
-
"summary": "Disconnect
|
|
2925
|
+
"operationId": "workspacesIntegrationsRemove",
|
|
2926
|
+
"summary": "Disconnect an integration by toolkit slug: agents lose the workspace's access 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. Admins only.",
|
|
2863
2927
|
"tags": ["workspaces"],
|
|
2864
|
-
"x-kosuke-command": ["workspaces", "integrations", "
|
|
2928
|
+
"x-kosuke-command": ["workspaces", "integrations", "remove"],
|
|
2865
2929
|
"parameters": [
|
|
2866
2930
|
{
|
|
2867
2931
|
"name": "workspaceId",
|
|
@@ -2871,6 +2935,15 @@
|
|
|
2871
2935
|
"type": "string",
|
|
2872
2936
|
"minLength": 1
|
|
2873
2937
|
}
|
|
2938
|
+
},
|
|
2939
|
+
{
|
|
2940
|
+
"name": "toolkit",
|
|
2941
|
+
"in": "path",
|
|
2942
|
+
"required": true,
|
|
2943
|
+
"schema": {
|
|
2944
|
+
"type": "string",
|
|
2945
|
+
"minLength": 1
|
|
2946
|
+
}
|
|
2874
2947
|
}
|
|
2875
2948
|
],
|
|
2876
2949
|
"responses": {
|
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "delete",
|
|
3
|
-
"path": "/api/organizations/{workspaceId}/integrations/sentry",
|
|
4
|
-
"command": [
|
|
5
|
-
"workspaces",
|
|
6
|
-
"integrations",
|
|
7
|
-
"sentry",
|
|
8
|
-
"remove"
|
|
9
|
-
],
|
|
10
|
-
"summary": "Disconnect Sentry: agents lose the workspace's access at once, then Kosuke deletes the stored authorization, retrying in the background if needed. Revoking the authorization inside Sentry is not part of this. Admins only.",
|
|
11
|
-
"pathParams": [
|
|
12
|
-
"workspaceId"
|
|
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
|
-
};
|