@kosuke-ai/kosuke 1.0.80 → 1.0.81
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 +6 -0
- package/dist/generated/commands/crons/create--personal.js +2 -2
- package/dist/generated/commands/crons/update--personal.js +1 -1
- package/dist/generated/commands/projects/settings-get.js +13 -2
- package/dist/generated/commands/workspaces/usage-get.js +10 -3
- package/openapi.json +30 -11
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.81
|
|
4
|
+
|
|
5
|
+
- Add --values false to `kosuke projects settings get`, which reads environment variable names without their values.
|
|
6
|
+
- `crons create personal` no longer requires `--timezone`: left out, the Cron runs in your own time zone.
|
|
7
|
+
- `kosuke workspaces usage get` takes `--tz` and counts days in your own timezone by default, the same days Token usage shows.
|
|
8
|
+
|
|
3
9
|
## 1.0.80
|
|
4
10
|
|
|
5
11
|
- `kosuke devices list` lists workspace devices before personal Macs and says a busy workspace device is waited for in its line, never replaced by a personal Mac.
|
|
@@ -45,8 +45,8 @@ export const operation = {
|
|
|
45
45
|
"name": "timezone",
|
|
46
46
|
"flag": "timezone",
|
|
47
47
|
"kind": "string",
|
|
48
|
-
"required":
|
|
49
|
-
"description": "The IANA zone the crontab is read in, such as Europe/Rome."
|
|
48
|
+
"required": false,
|
|
49
|
+
"description": "The IANA zone the crontab is read in, such as Europe/Rome. Left out on create, your own time zone."
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"name": "model",
|
|
@@ -48,7 +48,7 @@ export const operation = {
|
|
|
48
48
|
"flag": "timezone",
|
|
49
49
|
"kind": "string",
|
|
50
50
|
"required": false,
|
|
51
|
-
"description": "The IANA zone the crontab is read in, such as Europe/Rome."
|
|
51
|
+
"description": "The IANA zone the crontab is read in, such as Europe/Rome. Left out, it stays as it is."
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"name": "model",
|
|
@@ -6,11 +6,22 @@ export const operation = {
|
|
|
6
6
|
"settings",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read the project settings: setup commands, services, environment and sandbox size.",
|
|
9
|
+
"summary": "Read the project settings: setup commands, services, environment and sandbox size. --values false leaves every environment variable value empty: their names only.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId"
|
|
12
12
|
],
|
|
13
|
-
"query": [
|
|
13
|
+
"query": [
|
|
14
|
+
{
|
|
15
|
+
"name": "values",
|
|
16
|
+
"flag": "values",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": false,
|
|
19
|
+
"choices": [
|
|
20
|
+
"true",
|
|
21
|
+
"false"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
14
25
|
"body": null,
|
|
15
26
|
"multipart": null,
|
|
16
27
|
"attachments": false,
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"usage",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read sandbox usage by day and by project. start must precede end and the range is capped at 366 days.",
|
|
9
|
+
"summary": "Read sandbox usage by day and by project. The days are the UTC dates from start up to end, each read from midnight to midnight in tz (an IANA time zone, your own time zone by default). start must precede end and the range is capped at 366 days. 400 on an unknown time zone.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"workspaceId"
|
|
12
12
|
],
|
|
@@ -16,14 +16,21 @@ export const operation = {
|
|
|
16
16
|
"flag": "start",
|
|
17
17
|
"kind": "string",
|
|
18
18
|
"required": false,
|
|
19
|
-
"description": "Range start, any Date-parsable string. Default: end minus 30 days."
|
|
19
|
+
"description": "Range start, any Date-parsable string; its UTC date is the first day read. Default: end minus 30 days."
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"name": "end",
|
|
23
23
|
"flag": "end",
|
|
24
24
|
"kind": "string",
|
|
25
25
|
"required": false,
|
|
26
|
-
"description": "Range end, any Date-parsable string. Default: now."
|
|
26
|
+
"description": "Range end, exclusive, any Date-parsable string. Default: now."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "tz",
|
|
30
|
+
"flag": "tz",
|
|
31
|
+
"kind": "string",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "IANA time zone the days run in. Default: your own time zone."
|
|
27
34
|
}
|
|
28
35
|
],
|
|
29
36
|
"body": null,
|
package/openapi.json
CHANGED
|
@@ -9623,7 +9623,7 @@
|
|
|
9623
9623
|
"/api/organizations/{workspaceId}/usage": {
|
|
9624
9624
|
"get": {
|
|
9625
9625
|
"operationId": "workspacesUsageGet",
|
|
9626
|
-
"summary": "Read sandbox usage by day and by project. start must precede end and the range is capped at 366 days.",
|
|
9626
|
+
"summary": "Read sandbox usage by day and by project. The days are the UTC dates from start up to end, each read from midnight to midnight in tz (an IANA time zone, your own time zone by default). start must precede end and the range is capped at 366 days. 400 on an unknown time zone.",
|
|
9627
9627
|
"tags": ["workspaces"],
|
|
9628
9628
|
"x-kosuke-command": ["workspaces", "usage", "get"],
|
|
9629
9629
|
"x-kosuke-sandbox-token": true,
|
|
@@ -9643,9 +9643,9 @@
|
|
|
9643
9643
|
"name": "start",
|
|
9644
9644
|
"in": "query",
|
|
9645
9645
|
"required": false,
|
|
9646
|
-
"description": "Range start, any Date-parsable string. Default: end minus 30 days.",
|
|
9646
|
+
"description": "Range start, any Date-parsable string; its UTC date is the first day read. Default: end minus 30 days.",
|
|
9647
9647
|
"schema": {
|
|
9648
|
-
"description": "Range start, any Date-parsable string. Default: end minus 30 days.",
|
|
9648
|
+
"description": "Range start, any Date-parsable string; its UTC date is the first day read. Default: end minus 30 days.",
|
|
9649
9649
|
"type": "string"
|
|
9650
9650
|
}
|
|
9651
9651
|
},
|
|
@@ -9653,9 +9653,19 @@
|
|
|
9653
9653
|
"name": "end",
|
|
9654
9654
|
"in": "query",
|
|
9655
9655
|
"required": false,
|
|
9656
|
-
"description": "Range end, any Date-parsable string. Default: now.",
|
|
9656
|
+
"description": "Range end, exclusive, any Date-parsable string. Default: now.",
|
|
9657
9657
|
"schema": {
|
|
9658
|
-
"description": "Range end, any Date-parsable string. Default: now.",
|
|
9658
|
+
"description": "Range end, exclusive, any Date-parsable string. Default: now.",
|
|
9659
|
+
"type": "string"
|
|
9660
|
+
}
|
|
9661
|
+
},
|
|
9662
|
+
{
|
|
9663
|
+
"name": "tz",
|
|
9664
|
+
"in": "query",
|
|
9665
|
+
"required": false,
|
|
9666
|
+
"description": "IANA time zone the days run in. Default: your own time zone.",
|
|
9667
|
+
"schema": {
|
|
9668
|
+
"description": "IANA time zone the days run in. Default: your own time zone.",
|
|
9659
9669
|
"type": "string"
|
|
9660
9670
|
}
|
|
9661
9671
|
}
|
|
@@ -18412,7 +18422,7 @@
|
|
|
18412
18422
|
"/api/projects/{projectId}/settings": {
|
|
18413
18423
|
"get": {
|
|
18414
18424
|
"operationId": "projectsSettingsGet",
|
|
18415
|
-
"summary": "Read the project settings: setup commands, services, environment and sandbox size.",
|
|
18425
|
+
"summary": "Read the project settings: setup commands, services, environment and sandbox size. --values false leaves every environment variable value empty: their names only.",
|
|
18416
18426
|
"tags": ["projects"],
|
|
18417
18427
|
"x-kosuke-command": ["projects", "settings", "get"],
|
|
18418
18428
|
"x-kosuke-sandbox-token": true,
|
|
@@ -18428,6 +18438,15 @@
|
|
|
18428
18438
|
"format": "uuid",
|
|
18429
18439
|
"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)$"
|
|
18430
18440
|
}
|
|
18441
|
+
},
|
|
18442
|
+
{
|
|
18443
|
+
"name": "values",
|
|
18444
|
+
"in": "query",
|
|
18445
|
+
"required": false,
|
|
18446
|
+
"schema": {
|
|
18447
|
+
"type": "string",
|
|
18448
|
+
"enum": ["true", "false"]
|
|
18449
|
+
}
|
|
18431
18450
|
}
|
|
18432
18451
|
],
|
|
18433
18452
|
"responses": {
|
|
@@ -26158,10 +26177,10 @@
|
|
|
26158
26177
|
"description": "Five fields: minute, hour, day of month, month, day of week, read in the cron's time zone. At most one fire every 15 minutes. At a one-hour clock change, one fixed time in the skipped hour runs once, one hour later, and one fixed time in the repeated hour runs once, on the first pass. A later time in that skipped hour can be skipped when the next run is chosen after an earlier one. A time less than 15 minutes before the clock falls back can run again on the later pass. A wildcard hour keeps real spacing across that one-hour change. A shorter change can leave a longer gap."
|
|
26159
26178
|
},
|
|
26160
26179
|
"timezone": {
|
|
26180
|
+
"description": "The IANA zone the crontab is read in, such as Europe/Rome. Left out on create, your own time zone.",
|
|
26161
26181
|
"type": "string",
|
|
26162
26182
|
"minLength": 1,
|
|
26163
|
-
"maxLength": 64
|
|
26164
|
-
"description": "The IANA zone the crontab is read in, such as Europe/Rome."
|
|
26183
|
+
"maxLength": 64
|
|
26165
26184
|
},
|
|
26166
26185
|
"model": {
|
|
26167
26186
|
"description": "An encoded model id such as anthropic:opus__xhigh, one your Sensei runs on your own Subscription, or kosuke-free for Auto - Sensei free while you hold no Subscription. With repositories, an explicit Model of a released provider your Subscription runs, or kosuke-free, is required. Without repositories, null runs on the thread's model.",
|
|
@@ -26184,7 +26203,7 @@
|
|
|
26184
26203
|
]
|
|
26185
26204
|
}
|
|
26186
26205
|
},
|
|
26187
|
-
"required": ["name", "prompt", "cronExpression"
|
|
26206
|
+
"required": ["name", "prompt", "cronExpression"]
|
|
26188
26207
|
}
|
|
26189
26208
|
}
|
|
26190
26209
|
}
|
|
@@ -26336,10 +26355,10 @@
|
|
|
26336
26355
|
"description": "Five fields: minute, hour, day of month, month, day of week, read in the cron's time zone. At most one fire every 15 minutes. At a one-hour clock change, one fixed time in the skipped hour runs once, one hour later, and one fixed time in the repeated hour runs once, on the first pass. A later time in that skipped hour can be skipped when the next run is chosen after an earlier one. A time less than 15 minutes before the clock falls back can run again on the later pass. A wildcard hour keeps real spacing across that one-hour change. A shorter change can leave a longer gap."
|
|
26337
26356
|
},
|
|
26338
26357
|
"timezone": {
|
|
26358
|
+
"description": "The IANA zone the crontab is read in, such as Europe/Rome. Left out, it stays as it is.",
|
|
26339
26359
|
"type": "string",
|
|
26340
26360
|
"minLength": 1,
|
|
26341
|
-
"maxLength": 64
|
|
26342
|
-
"description": "The IANA zone the crontab is read in, such as Europe/Rome."
|
|
26361
|
+
"maxLength": 64
|
|
26343
26362
|
},
|
|
26344
26363
|
"model": {
|
|
26345
26364
|
"description": "An encoded model id such as anthropic:opus__xhigh, one your Sensei runs on your own Subscription, or kosuke-free for Auto - Sensei free while you hold no Subscription. With repositories, an explicit Model of a released provider your Subscription runs, or kosuke-free, is required. Without repositories, null runs on the thread's model.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.81",
|
|
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,10 +43,12 @@
|
|
|
43
43
|
"minimatch": "^11.0.1"
|
|
44
44
|
},
|
|
45
45
|
"kosukeRelease": {
|
|
46
|
-
"sourceCommit": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "d89a08ee129b493d26c78bae87ed25084695eb20",
|
|
47
|
+
"sourceIdentity": "ccd326dd2182be9670b1d14b0b3ea9afa7a1f75bfcac5facdd412ab92a943702",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
49
|
+
"settings-get-values-rw1sl4.json",
|
|
50
|
+
"personal-cron-default-time-zone.json",
|
|
51
|
+
"workspace-usage-tz.json"
|
|
50
52
|
]
|
|
51
53
|
}
|
|
52
54
|
}
|