@kosuke-ai/kosuke 1.0.3 → 1.0.4
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
package/dist/agent/summary.js
CHANGED
|
@@ -132,6 +132,7 @@ const SUBSCRIPTIONS = {
|
|
|
132
132
|
deepseek: { label: 'Your DeepSeek API key', usage: 'deepseek_api' },
|
|
133
133
|
meta: { label: 'Your Muse Code subscription', usage: 'muse_code' },
|
|
134
134
|
google: { label: 'Your Antigravity subscription', usage: 'antigravity' },
|
|
135
|
+
xai: { label: 'Your SuperGrok subscription', usage: 'grok' },
|
|
135
136
|
};
|
|
136
137
|
const AUTH_METHOD_NAMES = {
|
|
137
138
|
api_key: 'API key',
|
|
@@ -144,6 +145,8 @@ const AUTH_METHOD_NAMES = {
|
|
|
144
145
|
muse_code: 'Muse Code',
|
|
145
146
|
antigravity: 'Antigravity',
|
|
146
147
|
gemini_api: 'Gemini API',
|
|
148
|
+
grok: 'SuperGrok',
|
|
149
|
+
xai_api: 'xAI API key',
|
|
147
150
|
};
|
|
148
151
|
const WORKSPACE_USAGE = {
|
|
149
152
|
claude_code: '/api/organizations/{workspaceId}/ai-provider/claude-usage',
|
|
@@ -153,6 +156,7 @@ const WORKSPACE_USAGE = {
|
|
|
153
156
|
deepseek_api: '/api/organizations/{workspaceId}/ai-provider/deepseek-usage',
|
|
154
157
|
muse_code: '/api/organizations/{workspaceId}/ai-provider/muse-usage',
|
|
155
158
|
antigravity: '/api/organizations/{workspaceId}/ai-provider/google/usage',
|
|
159
|
+
grok: '/api/organizations/{workspaceId}/ai-provider/grok-usage',
|
|
156
160
|
};
|
|
157
161
|
function usagePlan(method) {
|
|
158
162
|
return Object.hasOwn(WORKSPACE_USAGE, method) ? method : null;
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"grok",
|
|
7
7
|
"change"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Connect, select, poll, cancel or remove workspace Grok access. Owners and admins only.
|
|
9
|
+
"summary": "Connect, select, poll, cancel or remove workspace Grok access. Owners and admins only.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"workspaceId"
|
|
12
12
|
],
|
package/openapi.json
CHANGED
|
@@ -6259,7 +6259,7 @@
|
|
|
6259
6259
|
},
|
|
6260
6260
|
"post": {
|
|
6261
6261
|
"operationId": "workspacesGrokChange",
|
|
6262
|
-
"summary": "Connect, select, poll, cancel or remove workspace Grok access. Owners and admins only.
|
|
6262
|
+
"summary": "Connect, select, poll, cancel or remove workspace Grok access. Owners and admins only.",
|
|
6263
6263
|
"tags": ["workspaces"],
|
|
6264
6264
|
"x-kosuke-command": ["workspaces", "grok", "change"],
|
|
6265
6265
|
"parameters": [
|
|
@@ -26235,7 +26235,7 @@
|
|
|
26235
26235
|
"/api/user/subscriptions/xai/access": {
|
|
26236
26236
|
"get": {
|
|
26237
26237
|
"operationId": "userSubscriptionsGrokGet",
|
|
26238
|
-
"summary": "Read your saved Grok connection labels.
|
|
26238
|
+
"summary": "Read your saved Grok connection labels.",
|
|
26239
26239
|
"tags": ["user"],
|
|
26240
26240
|
"x-kosuke-command": ["user", "subscriptions", "grok", "get"],
|
|
26241
26241
|
"x-kosuke-sandbox-token": true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Kosuke platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -40,11 +40,10 @@
|
|
|
40
40
|
"vitest": "^4.1.12"
|
|
41
41
|
},
|
|
42
42
|
"kosukeRelease": {
|
|
43
|
-
"sourceCommit": "
|
|
44
|
-
"sourceIdentity": "
|
|
43
|
+
"sourceCommit": "09cb90dec7a4d57a7d87051c969a29b773190355",
|
|
44
|
+
"sourceIdentity": "00e4bf5cdd141f8be79ff2bd5ad93b0c87433acdca484cdbe6842afa63abff3f",
|
|
45
45
|
"fragments": [
|
|
46
|
-
"
|
|
47
|
-
"cli-readme-skill-runs-p3m8vd.json"
|
|
46
|
+
"grok-release-picker-contract.json"
|
|
48
47
|
]
|
|
49
48
|
}
|
|
50
49
|
}
|