@kosuke-ai/kosuke 1.0.138 → 1.0.139
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 +4 -0
- package/dist/generated/commands/crons/create--personal.js +1 -1
- package/dist/generated/commands/crons/get--personal.js +1 -1
- package/dist/generated/commands/crons/list--personal.js +1 -1
- package/dist/generated/commands/index.js +22 -20
- package/dist/generated/commands/user/plan-get.js +19 -0
- package/openapi.json +44 -3
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.139
|
|
4
|
+
|
|
5
|
+
- New `kosuke user plan get` shows your plan: who covers you when you belong to a paid workspace (its workspace, every paid workspace you belong to, and why it covers you), and how many Personal Crons you hold. A member of a paid workspace has no Personal Free limits, and their Personal Crons and Personal work run on and are billed to the workspace that covers them.
|
|
6
|
+
|
|
3
7
|
## 1.0.138
|
|
4
8
|
|
|
5
9
|
- `kosuke sensei threads list --type` takes a comma list, such as `inbox,tickets`, and lists the threads of any of those types.
|
|
@@ -8,7 +8,7 @@ export const operation = {
|
|
|
8
8
|
"variant": {
|
|
9
9
|
"scope": "personal"
|
|
10
10
|
},
|
|
11
|
-
"summary": "Create a Personal Cron, enabled, with you as its owner. You hold at most 10 on Personal Free and 50 on a paid Personal plan: past that a create is refused with 400, and you delete or reuse one instead. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Sensei free when
|
|
11
|
+
"summary": "Create a Personal Cron, enabled, with you as its owner. You hold at most 10 on Personal Free and 50 on a paid Personal plan, and no limit while a paid workspace covers you: past that a create is refused with 400, and you delete or reuse one instead. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions, then the paid workspace that covers you, or Sensei free when neither runs them. The crontab is read in the cron's own timezone, and may not fire more often than every 15 minutes. The model is an encoded id such as anthropic:opus__xhigh; repositories require an explicit Model from any released Provider on one of your Subscriptions, or kosuke-free when you hold none. Changing to Free while you hold a Subscription, or to a personal Model without one, is refused. Without repositories, null or left out runs on the thread’s model. From your Sensei it is refused with 409 CRON_ALREADY_EXISTS when you have a Personal Cron by that name: update that one instead. From Sensei, create or change one only when the member asks. To move a workspace Cron here, read it and recreate it with its timezone (its model only when the member's own Subscription runs it); the member deletes the workspace one in the app.",
|
|
12
12
|
"pathParams": [],
|
|
13
13
|
"query": [],
|
|
14
14
|
"body": {
|
|
@@ -8,7 +8,7 @@ export const operation = {
|
|
|
8
8
|
"variant": {
|
|
9
9
|
"scope": "personal"
|
|
10
10
|
},
|
|
11
|
-
"summary": "Read one of your Personal Crons: its prompt, schedule, timezone, model, when it runs next, its thread, its last run status, and how many runs in a row failed: five disable it. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Sensei free when
|
|
11
|
+
"summary": "Read one of your Personal Crons: its prompt, schedule, timezone, model, when it runs next, its thread, its last run status, and how many runs in a row failed: five disable it. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions, then the paid workspace that covers you, or Sensei free when neither runs them.",
|
|
12
12
|
"pathParams": [
|
|
13
13
|
"cronId"
|
|
14
14
|
],
|
|
@@ -8,7 +8,7 @@ export const operation = {
|
|
|
8
8
|
"variant": {
|
|
9
9
|
"scope": "personal"
|
|
10
10
|
},
|
|
11
|
-
"summary": "List your Personal Crons, newest first, with each one's thread and last run status. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Sensei free when
|
|
11
|
+
"summary": "List your Personal Crons, newest first, with each one's thread and last run status. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions, then the paid workspace that covers you, or Sensei free when neither runs them. Among agents, only your Sensei reaches them.",
|
|
12
12
|
"pathParams": [],
|
|
13
13
|
"query": [
|
|
14
14
|
{
|
|
@@ -333,26 +333,27 @@ import { operation as o331 } from './tasks/update.js';
|
|
|
333
333
|
import { operation as o332 } from './tasks/update--personal.js';
|
|
334
334
|
import { operation as o333 } from './user/api-keys-delete.js';
|
|
335
335
|
import { operation as o334 } from './user/personal-space-get.js';
|
|
336
|
-
import { operation as o335 } from './user/
|
|
337
|
-
import { operation as o336 } from './user/
|
|
338
|
-
import { operation as o337 } from './user/push-devices-
|
|
339
|
-
import { operation as o338 } from './user/
|
|
340
|
-
import { operation as o339 } from './user/settings-
|
|
341
|
-
import { operation as o340 } from './user/
|
|
342
|
-
import { operation as o341 } from './
|
|
343
|
-
import { operation as o342 } from './workspaces/get.js';
|
|
344
|
-
import { operation as o343 } from './workspaces/
|
|
345
|
-
import { operation as o344 } from './workspaces/
|
|
346
|
-
import { operation as o345 } from './workspaces/members-list
|
|
347
|
-
import { operation as o346 } from './workspaces/
|
|
348
|
-
import { operation as o347 } from './workspaces/memory-
|
|
349
|
-
import { operation as o348 } from './workspaces/
|
|
350
|
-
import { operation as o349 } from './workspaces/
|
|
351
|
-
import { operation as o350 } from './workspaces/sandbox-
|
|
352
|
-
import { operation as o351 } from './workspaces/
|
|
353
|
-
import { operation as o352 } from './workspaces/
|
|
354
|
-
import { operation as o353 } from './workspaces/
|
|
355
|
-
import { operation as o354 } from './workspaces/usage-get.js';
|
|
336
|
+
import { operation as o335 } from './user/plan-get.js';
|
|
337
|
+
import { operation as o336 } from './user/profile-get.js';
|
|
338
|
+
import { operation as o337 } from './user/push-devices-create.js';
|
|
339
|
+
import { operation as o338 } from './user/push-devices-delete.js';
|
|
340
|
+
import { operation as o339 } from './user/settings-get.js';
|
|
341
|
+
import { operation as o340 } from './user/settings-update.js';
|
|
342
|
+
import { operation as o341 } from './user/usage-get.js';
|
|
343
|
+
import { operation as o342 } from './workspaces/credits-get.js';
|
|
344
|
+
import { operation as o343 } from './workspaces/get.js';
|
|
345
|
+
import { operation as o344 } from './workspaces/list.js';
|
|
346
|
+
import { operation as o345 } from './workspaces/members-list.js';
|
|
347
|
+
import { operation as o346 } from './workspaces/members-list--all.js';
|
|
348
|
+
import { operation as o347 } from './workspaces/memory-get.js';
|
|
349
|
+
import { operation as o348 } from './workspaces/memory-set.js';
|
|
350
|
+
import { operation as o349 } from './workspaces/personal-runtime-get.js';
|
|
351
|
+
import { operation as o350 } from './workspaces/sandbox-hours-get.js';
|
|
352
|
+
import { operation as o351 } from './workspaces/sandbox-limit-get.js';
|
|
353
|
+
import { operation as o352 } from './workspaces/sandboxes-stop.js';
|
|
354
|
+
import { operation as o353 } from './workspaces/timezone-set.js';
|
|
355
|
+
import { operation as o354 } from './workspaces/usage-breakdown-get.js';
|
|
356
|
+
import { operation as o355 } from './workspaces/usage-get.js';
|
|
356
357
|
export const operations = [
|
|
357
358
|
o0,
|
|
358
359
|
o1,
|
|
@@ -709,4 +710,5 @@ export const operations = [
|
|
|
709
710
|
o352,
|
|
710
711
|
o353,
|
|
711
712
|
o354,
|
|
713
|
+
o355,
|
|
712
714
|
];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/user/plan",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"plan",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Your plan: the paid workspace that covers your Personal work, if any, and how many Personal Crons you have.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": null,
|
|
13
|
+
"multipart": null,
|
|
14
|
+
"attachments": false,
|
|
15
|
+
"anonymous": false,
|
|
16
|
+
"agents": [
|
|
17
|
+
"senseiToken"
|
|
18
|
+
]
|
|
19
|
+
};
|
package/openapi.json
CHANGED
|
@@ -27780,7 +27780,7 @@
|
|
|
27780
27780
|
"/api/user/crons": {
|
|
27781
27781
|
"get": {
|
|
27782
27782
|
"operationId": "cronsListPersonal",
|
|
27783
|
-
"summary": "List your Personal Crons, newest first, with each one's thread and last run status. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Sensei free when
|
|
27783
|
+
"summary": "List your Personal Crons, newest first, with each one's thread and last run status. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions, then the paid workspace that covers you, or Sensei free when neither runs them. Among agents, only your Sensei reaches them.",
|
|
27784
27784
|
"tags": ["crons"],
|
|
27785
27785
|
"x-kosuke-command": ["crons", "list"],
|
|
27786
27786
|
"x-kosuke-variant": {
|
|
@@ -27860,7 +27860,7 @@
|
|
|
27860
27860
|
},
|
|
27861
27861
|
"post": {
|
|
27862
27862
|
"operationId": "cronsCreatePersonal",
|
|
27863
|
-
"summary": "Create a Personal Cron, enabled, with you as its owner. You hold at most 10 on Personal Free and 50 on a paid Personal plan: past that a create is refused with 400, and you delete or reuse one instead. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Sensei free when
|
|
27863
|
+
"summary": "Create a Personal Cron, enabled, with you as its owner. You hold at most 10 on Personal Free and 50 on a paid Personal plan, and no limit while a paid workspace covers you: past that a create is refused with 400, and you delete or reuse one instead. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions, then the paid workspace that covers you, or Sensei free when neither runs them. The crontab is read in the cron's own timezone, and may not fire more often than every 15 minutes. The model is an encoded id such as anthropic:opus__xhigh; repositories require an explicit Model from any released Provider on one of your Subscriptions, or kosuke-free when you hold none. Changing to Free while you hold a Subscription, or to a personal Model without one, is refused. Without repositories, null or left out runs on the thread’s model. From your Sensei it is refused with 409 CRON_ALREADY_EXISTS when you have a Personal Cron by that name: update that one instead. From Sensei, create or change one only when the member asks. To move a workspace Cron here, read it and recreate it with its timezone (its model only when the member's own Subscription runs it); the member deletes the workspace one in the app.",
|
|
27864
27864
|
"tags": ["crons"],
|
|
27865
27865
|
"x-kosuke-command": ["crons", "create"],
|
|
27866
27866
|
"x-kosuke-variant": {
|
|
@@ -27970,7 +27970,7 @@
|
|
|
27970
27970
|
"/api/user/crons/{cronId}": {
|
|
27971
27971
|
"get": {
|
|
27972
27972
|
"operationId": "cronsGetPersonal",
|
|
27973
|
-
"summary": "Read one of your Personal Crons: its prompt, schedule, timezone, model, when it runs next, its thread, its last run status, and how many runs in a row failed: five disable it. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Sensei free when
|
|
27973
|
+
"summary": "Read one of your Personal Crons: its prompt, schedule, timezone, model, when it runs next, its thread, its last run status, and how many runs in a row failed: five disable it. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions, then the paid workspace that covers you, or Sensei free when neither runs them.",
|
|
27974
27974
|
"tags": ["crons"],
|
|
27975
27975
|
"x-kosuke-command": ["crons", "get"],
|
|
27976
27976
|
"x-kosuke-variant": {
|
|
@@ -29785,6 +29785,47 @@
|
|
|
29785
29785
|
}
|
|
29786
29786
|
}
|
|
29787
29787
|
},
|
|
29788
|
+
"/api/user/plan": {
|
|
29789
|
+
"get": {
|
|
29790
|
+
"operationId": "userPlanGet",
|
|
29791
|
+
"summary": "Your plan: the paid workspace that covers your Personal work, if any, and how many Personal Crons you have.",
|
|
29792
|
+
"tags": ["user"],
|
|
29793
|
+
"x-kosuke-command": ["user", "plan", "get"],
|
|
29794
|
+
"x-kosuke-sensei-token": true,
|
|
29795
|
+
"responses": {
|
|
29796
|
+
"2XX": {
|
|
29797
|
+
"description": "Success envelope",
|
|
29798
|
+
"content": {
|
|
29799
|
+
"application/json": {
|
|
29800
|
+
"schema": {
|
|
29801
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
29802
|
+
}
|
|
29803
|
+
}
|
|
29804
|
+
}
|
|
29805
|
+
},
|
|
29806
|
+
"4XX": {
|
|
29807
|
+
"description": "Error envelope",
|
|
29808
|
+
"content": {
|
|
29809
|
+
"application/json": {
|
|
29810
|
+
"schema": {
|
|
29811
|
+
"$ref": "#/components/schemas/ApiError"
|
|
29812
|
+
}
|
|
29813
|
+
}
|
|
29814
|
+
}
|
|
29815
|
+
},
|
|
29816
|
+
"5XX": {
|
|
29817
|
+
"description": "Error envelope",
|
|
29818
|
+
"content": {
|
|
29819
|
+
"application/json": {
|
|
29820
|
+
"schema": {
|
|
29821
|
+
"$ref": "#/components/schemas/ApiError"
|
|
29822
|
+
}
|
|
29823
|
+
}
|
|
29824
|
+
}
|
|
29825
|
+
}
|
|
29826
|
+
}
|
|
29827
|
+
}
|
|
29828
|
+
},
|
|
29788
29829
|
"/api/user/plugins": {
|
|
29789
29830
|
"get": {
|
|
29790
29831
|
"operationId": "pluginsListPersonal",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.139",
|
|
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": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "05cdddf7be2f55fdb0c516fb8407b7703580d484",
|
|
47
|
+
"sourceIdentity": "a7a3e4dc55657e44e0fb3fe332d7611e1ccd69008354e96e22b59677227eefc6",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
50
|
-
"google-quota-recheck-0zha27.json"
|
|
49
|
+
"personal-plan-3srk2n.json"
|
|
51
50
|
]
|
|
52
51
|
}
|
|
53
52
|
}
|