@kosuke-ai/cli 6.7.0 → 6.8.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/sessions/create.js +14 -0
- package/dist/generated/commands/sessions/edit-prompt.js +11 -0
- package/dist/generated/commands/sessions/send.js +18 -0
- package/dist/generated/commands/sessions/update.js +8 -1
- package/dist/generated/commands/user/subscriptions-get.js +1 -1
- package/dist/generated/commands/user/subscriptions-set-default-model.js +9 -2
- package/openapi.json +34 -5
- package/package.json +1 -1
|
@@ -30,6 +30,13 @@ export const operation = {
|
|
|
30
30
|
"kind": "string",
|
|
31
31
|
"required": false
|
|
32
32
|
},
|
|
33
|
+
{
|
|
34
|
+
"name": "auto",
|
|
35
|
+
"flag": "auto",
|
|
36
|
+
"kind": "boolean",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "True starts the session on Auto: Kosuke picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model."
|
|
39
|
+
},
|
|
33
40
|
{
|
|
34
41
|
"name": "status",
|
|
35
42
|
"flag": "status",
|
|
@@ -93,6 +100,13 @@ export const operation = {
|
|
|
93
100
|
"kind": "string",
|
|
94
101
|
"required": false
|
|
95
102
|
},
|
|
103
|
+
{
|
|
104
|
+
"name": "auto",
|
|
105
|
+
"flag": "auto",
|
|
106
|
+
"kind": "boolean",
|
|
107
|
+
"required": false,
|
|
108
|
+
"description": "True starts the session on Auto: Kosuke picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model."
|
|
109
|
+
},
|
|
96
110
|
{
|
|
97
111
|
"name": "status",
|
|
98
112
|
"flag": "status",
|
|
@@ -26,6 +26,17 @@ export const operation = {
|
|
|
26
26
|
"kind": "string",
|
|
27
27
|
"required": false
|
|
28
28
|
},
|
|
29
|
+
{
|
|
30
|
+
"name": "auto",
|
|
31
|
+
"flag": "auto",
|
|
32
|
+
"kind": "string",
|
|
33
|
+
"required": false,
|
|
34
|
+
"description": "true puts the ticket on Auto: Kosuke picks the Model and Provider of each Turn. false takes it off; send it with model when choosing a Model. Absent leaves it as it is.",
|
|
35
|
+
"choices": [
|
|
36
|
+
"true",
|
|
37
|
+
"false"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
29
40
|
{
|
|
30
41
|
"name": "ownerId",
|
|
31
42
|
"flag": "owner-id",
|
|
@@ -25,6 +25,13 @@ export const operation = {
|
|
|
25
25
|
"kind": "string",
|
|
26
26
|
"required": false
|
|
27
27
|
},
|
|
28
|
+
{
|
|
29
|
+
"name": "auto",
|
|
30
|
+
"flag": "auto",
|
|
31
|
+
"kind": "boolean",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "True puts the session on Auto from this Turn: Kosuke picks its Model and Provider. False takes it off, with model or the session's own. Absent keeps the session as it is."
|
|
34
|
+
},
|
|
28
35
|
{
|
|
29
36
|
"name": "previewContext",
|
|
30
37
|
"flag": "preview-context",
|
|
@@ -67,6 +74,17 @@ export const operation = {
|
|
|
67
74
|
"kind": "string",
|
|
68
75
|
"required": false
|
|
69
76
|
},
|
|
77
|
+
{
|
|
78
|
+
"name": "auto",
|
|
79
|
+
"flag": "auto",
|
|
80
|
+
"kind": "string",
|
|
81
|
+
"required": false,
|
|
82
|
+
"description": "As the JSON body's auto.",
|
|
83
|
+
"choices": [
|
|
84
|
+
"true",
|
|
85
|
+
"false"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
70
88
|
{
|
|
71
89
|
"name": "previewContext",
|
|
72
90
|
"flag": "preview-context",
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"sessions",
|
|
6
6
|
"update"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Change title, status, model, Assignee or priority. Which changes are legal depends on the current status; the handler decides.",
|
|
8
|
+
"summary": "Change title, status, model, Auto, Assignee or priority. Which changes are legal depends on the current status; the handler decides.",
|
|
9
9
|
"pathParams": [
|
|
10
10
|
"projectId",
|
|
11
11
|
"sessionId"
|
|
@@ -44,6 +44,13 @@ export const operation = {
|
|
|
44
44
|
"kind": "string",
|
|
45
45
|
"required": false
|
|
46
46
|
},
|
|
47
|
+
{
|
|
48
|
+
"name": "auto",
|
|
49
|
+
"flag": "auto",
|
|
50
|
+
"kind": "boolean",
|
|
51
|
+
"required": false,
|
|
52
|
+
"description": "True puts the session on Auto, from its next Turn. False takes it off; send it with model when choosing a Model. Absent leaves it as it is."
|
|
53
|
+
},
|
|
47
54
|
{
|
|
48
55
|
"name": "ownerId",
|
|
49
56
|
"flag": "owner-id",
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"subscriptions",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read your Claude, Codex, GLM Coding Plan, Kimi Code and DeepSeek API subscriptions and your default model. Per provider: the login in use (connected, needsReauth, accountEmail, and maskedApiKey for a pasted key) and every login in the order it is used (logins).",
|
|
9
|
+
"summary": "Read your Claude, Codex, GLM Coding Plan, Kimi Code and DeepSeek API subscriptions and your default model, with defaultAuto when it is Auto. Per provider: the login in use (connected, needsReauth, accountEmail, and maskedApiKey for a pasted key) and every login in the order it is used (logins).",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": null,
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"subscriptions",
|
|
7
7
|
"set-default-model"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Save the model new chat sessions start on, as an encoded id such as anthropic:sonnet__medium, or null to let Kosuke choose. Answers 204.",
|
|
9
|
+
"summary": "Save the model new chat sessions start on, as an encoded id such as anthropic:sonnet__medium, or null to let Kosuke choose, or defaultAuto: true to start them on Auto. Answers 204.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -15,7 +15,14 @@ export const operation = {
|
|
|
15
15
|
"name": "defaultModel",
|
|
16
16
|
"flag": "default-model",
|
|
17
17
|
"kind": "string",
|
|
18
|
-
"required":
|
|
18
|
+
"required": false
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "defaultAuto",
|
|
22
|
+
"flag": "default-auto",
|
|
23
|
+
"kind": "boolean",
|
|
24
|
+
"required": false,
|
|
25
|
+
"description": "True makes Auto your Default Model; defaultModel stays as it is unless sent."
|
|
19
26
|
}
|
|
20
27
|
],
|
|
21
28
|
"required": true
|
package/openapi.json
CHANGED
|
@@ -6049,6 +6049,10 @@
|
|
|
6049
6049
|
"type": "string",
|
|
6050
6050
|
"minLength": 1
|
|
6051
6051
|
},
|
|
6052
|
+
"auto": {
|
|
6053
|
+
"description": "True starts the session on Auto: Kosuke picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
|
|
6054
|
+
"type": "boolean"
|
|
6055
|
+
},
|
|
6052
6056
|
"status": {
|
|
6053
6057
|
"type": "string",
|
|
6054
6058
|
"const": "backlog"
|
|
@@ -6092,6 +6096,10 @@
|
|
|
6092
6096
|
"type": "string",
|
|
6093
6097
|
"minLength": 1
|
|
6094
6098
|
},
|
|
6099
|
+
"auto": {
|
|
6100
|
+
"description": "True starts the session on Auto: Kosuke picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
|
|
6101
|
+
"type": "boolean"
|
|
6102
|
+
},
|
|
6095
6103
|
"status": {
|
|
6096
6104
|
"type": "string",
|
|
6097
6105
|
"const": "backlog"
|
|
@@ -6221,7 +6229,7 @@
|
|
|
6221
6229
|
},
|
|
6222
6230
|
"put": {
|
|
6223
6231
|
"operationId": "sessionsUpdate",
|
|
6224
|
-
"summary": "Change title, status, model, Assignee or priority. Which changes are legal depends on the current status; the handler decides.",
|
|
6232
|
+
"summary": "Change title, status, model, Auto, Assignee or priority. Which changes are legal depends on the current status; the handler decides.",
|
|
6225
6233
|
"tags": ["sessions"],
|
|
6226
6234
|
"x-kosuke-command": ["sessions", "update"],
|
|
6227
6235
|
"x-kosuke-sandbox-token": true,
|
|
@@ -6282,6 +6290,10 @@
|
|
|
6282
6290
|
"type": "string",
|
|
6283
6291
|
"minLength": 1
|
|
6284
6292
|
},
|
|
6293
|
+
"auto": {
|
|
6294
|
+
"description": "True puts the session on Auto, from its next Turn. False takes it off; send it with model when choosing a Model. Absent leaves it as it is.",
|
|
6295
|
+
"type": "boolean"
|
|
6296
|
+
},
|
|
6285
6297
|
"ownerId": {
|
|
6286
6298
|
"anyOf": [
|
|
6287
6299
|
{
|
|
@@ -7170,6 +7182,10 @@
|
|
|
7170
7182
|
"type": "string",
|
|
7171
7183
|
"minLength": 1
|
|
7172
7184
|
},
|
|
7185
|
+
"auto": {
|
|
7186
|
+
"description": "True puts the session on Auto from this Turn: Kosuke picks its Model and Provider. False takes it off, with model or the session's own. Absent keeps the session as it is.",
|
|
7187
|
+
"type": "boolean"
|
|
7188
|
+
},
|
|
7173
7189
|
"previewContext": {
|
|
7174
7190
|
"type": "object",
|
|
7175
7191
|
"properties": {
|
|
@@ -7273,6 +7289,11 @@
|
|
|
7273
7289
|
"type": "string",
|
|
7274
7290
|
"minLength": 1
|
|
7275
7291
|
},
|
|
7292
|
+
"auto": {
|
|
7293
|
+
"description": "As the JSON body's auto.",
|
|
7294
|
+
"type": "string",
|
|
7295
|
+
"enum": ["true", "false"]
|
|
7296
|
+
},
|
|
7276
7297
|
"previewContext": {
|
|
7277
7298
|
"description": "JSON-encoded { frontendName, path }.",
|
|
7278
7299
|
"type": "string"
|
|
@@ -9001,6 +9022,11 @@
|
|
|
9001
9022
|
"type": "string",
|
|
9002
9023
|
"minLength": 1
|
|
9003
9024
|
},
|
|
9025
|
+
"auto": {
|
|
9026
|
+
"description": "true puts the ticket on Auto: Kosuke picks the Model and Provider of each Turn. false takes it off; send it with model when choosing a Model. Absent leaves it as it is.",
|
|
9027
|
+
"type": "string",
|
|
9028
|
+
"enum": ["true", "false"]
|
|
9029
|
+
},
|
|
9004
9030
|
"ownerId": {
|
|
9005
9031
|
"description": "A member id to assign, or an empty string to unassign.",
|
|
9006
9032
|
"type": "string"
|
|
@@ -13799,7 +13825,7 @@
|
|
|
13799
13825
|
"/api/user/subscriptions": {
|
|
13800
13826
|
"get": {
|
|
13801
13827
|
"operationId": "userSubscriptionsGet",
|
|
13802
|
-
"summary": "Read your Claude, Codex, GLM Coding Plan, Kimi Code and DeepSeek API subscriptions and your default model. Per provider: the login in use (connected, needsReauth, accountEmail, and maskedApiKey for a pasted key) and every login in the order it is used (logins).",
|
|
13828
|
+
"summary": "Read your Claude, Codex, GLM Coding Plan, Kimi Code and DeepSeek API subscriptions and your default model, with defaultAuto when it is Auto. Per provider: the login in use (connected, needsReauth, accountEmail, and maskedApiKey for a pasted key) and every login in the order it is used (logins).",
|
|
13803
13829
|
"tags": ["user"],
|
|
13804
13830
|
"x-kosuke-command": ["user", "subscriptions", "get"],
|
|
13805
13831
|
"x-kosuke-sandbox-token": true,
|
|
@@ -13841,7 +13867,7 @@
|
|
|
13841
13867
|
},
|
|
13842
13868
|
"patch": {
|
|
13843
13869
|
"operationId": "userSubscriptionsSetDefaultModel",
|
|
13844
|
-
"summary": "Save the model new chat sessions start on, as an encoded id such as anthropic:sonnet__medium, or null to let Kosuke choose. Answers 204.",
|
|
13870
|
+
"summary": "Save the model new chat sessions start on, as an encoded id such as anthropic:sonnet__medium, or null to let Kosuke choose, or defaultAuto: true to start them on Auto. Answers 204.",
|
|
13845
13871
|
"tags": ["user"],
|
|
13846
13872
|
"x-kosuke-command": ["user", "subscriptions", "set-default-model"],
|
|
13847
13873
|
"requestBody": {
|
|
@@ -13853,9 +13879,12 @@
|
|
|
13853
13879
|
"properties": {
|
|
13854
13880
|
"defaultModel": {
|
|
13855
13881
|
"type": ["string", "null"]
|
|
13882
|
+
},
|
|
13883
|
+
"defaultAuto": {
|
|
13884
|
+
"description": "True makes Auto your Default Model; defaultModel stays as it is unless sent.",
|
|
13885
|
+
"type": "boolean"
|
|
13856
13886
|
}
|
|
13857
|
-
}
|
|
13858
|
-
"required": ["defaultModel"]
|
|
13887
|
+
}
|
|
13859
13888
|
}
|
|
13860
13889
|
}
|
|
13861
13890
|
}
|