@kosuke-ai/kosuke 1.0.81 → 1.0.83

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/generated/commands/crons/create--personal.js +1 -1
  3. package/dist/generated/commands/crons/update--personal.js +1 -1
  4. package/dist/generated/commands/index.js +124 -118
  5. package/dist/generated/commands/projects/batch-merging-members-delete.js +7 -0
  6. package/dist/generated/commands/prototypes/create.js +32 -0
  7. package/dist/generated/commands/providers/default-model-set--personal.js +2 -9
  8. package/dist/generated/commands/providers/get--personal.js +1 -1
  9. package/dist/generated/commands/sensei/reels-activity-list.js +1 -1
  10. package/dist/generated/commands/sensei/reels-later-holds-create.js +43 -0
  11. package/dist/generated/commands/sensei/reels-later-holds-delete.js +29 -0
  12. package/dist/generated/commands/sensei/reels-later-holds-list.js +17 -0
  13. package/dist/generated/commands/sensei/widgets-get.js +1 -1
  14. package/dist/generated/commands/sessions/create.js +0 -14
  15. package/dist/generated/commands/sessions/prompt-update.js +0 -11
  16. package/dist/generated/commands/sessions/send.js +0 -18
  17. package/dist/generated/commands/sessions/update.js +3 -10
  18. package/dist/generated/commands/tasks/create--personal.js +0 -14
  19. package/dist/generated/commands/tasks/create.js +0 -14
  20. package/dist/generated/commands/tasks/update--personal.js +2 -9
  21. package/dist/generated/commands/tasks/update.js +2 -9
  22. package/dist/runtime/arguments.js +2 -0
  23. package/dist/runtime/attach.js +6 -12
  24. package/dist/runtime/option-parsers.js +14 -0
  25. package/dist/runtime/prototype-create.js +47 -0
  26. package/dist/runtime/prototype-styles-scope.js +342 -0
  27. package/dist/runtime/prototype-styles.js +166 -0
  28. package/dist/runtime/prototype-visual-browser.js +87 -0
  29. package/dist/runtime/prototype-visual-check.js +388 -0
  30. package/dist/runtime/prototype-visual-preview.js +159 -0
  31. package/dist/runtime/prototype-visual-scripts.js +174 -0
  32. package/openapi.json +237 -88
  33. package/package.json +5 -6
package/openapi.json CHANGED
@@ -3268,16 +3268,6 @@
3268
3268
  },
3269
3269
  "required": ["operation", "model"]
3270
3270
  },
3271
- {
3272
- "type": "object",
3273
- "properties": {
3274
- "operation": {
3275
- "type": "string",
3276
- "const": "default_auto"
3277
- }
3278
- },
3279
- "required": ["operation"]
3280
- },
3281
3271
  {
3282
3272
  "type": "object",
3283
3273
  "properties": {
@@ -8591,10 +8581,6 @@
8591
8581
  "description": "A model, or kosuke-free for personal work. Workspace tasks never use Sensei free.",
8592
8582
  "type": "string"
8593
8583
  },
8594
- "auto": {
8595
- "description": "True starts the session on Auto: the platform picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
8596
- "type": "boolean"
8597
- },
8598
8584
  "kosukeFree": {
8599
8585
  "description": "true starts the session on Sensei free, on the serving source's model. A member who can run no provider starts on it anyway; false never does.",
8600
8586
  "type": "boolean"
@@ -8710,10 +8696,6 @@
8710
8696
  "description": "A model, or kosuke-free for personal work. Workspace tasks never use Sensei free.",
8711
8697
  "type": "string"
8712
8698
  },
8713
- "auto": {
8714
- "description": "True starts the session on Auto: the platform picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
8715
- "type": "boolean"
8716
- },
8717
8699
  "kosukeFree": {
8718
8700
  "description": "true starts the session on Sensei free, on the serving source's model. A member who can run no provider starts on it anyway; false never does.",
8719
8701
  "type": "boolean"
@@ -8809,10 +8791,6 @@
8809
8791
  "description": "A model, or kosuke-free for personal work. Workspace tasks never use Sensei free.",
8810
8792
  "type": "string"
8811
8793
  },
8812
- "auto": {
8813
- "description": "True starts the session on Auto: the platform picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
8814
- "type": "boolean"
8815
- },
8816
8794
  "kosukeFree": {
8817
8795
  "description": "true starts the session on Sensei free, on the serving source's model. A member who can run no provider starts on it anyway; false never does.",
8818
8796
  "type": "boolean"
@@ -9053,16 +9031,12 @@
9053
9031
  "description": "A model, or kosuke-free for personal work. Workspace tasks never use Sensei free.",
9054
9032
  "type": "string"
9055
9033
  },
9056
- "auto": {
9057
- "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.",
9058
- "type": "boolean"
9059
- },
9060
9034
  "kosukeFree": {
9061
9035
  "description": "true runs the session on Sensei free, on the serving source's model; false, or picking any other model, takes it off. Refused for a session no member is assigned to and for one the workspace pays for.",
9062
9036
  "type": "boolean"
9063
9037
  },
9064
9038
  "nextTurn": {
9065
- "description": "Active or Under review only: the Model, Auto, or {kosukeFree:true} in personal scope, the session's next Turn runs on, whether or not a Turn is running now. The next Turn applies it once and clears it. null, or the Model and Auto state the session already has, clears it. Send it on its own.",
9039
+ "description": "Active or Under review only: the Model or {kosukeFree:true} in personal scope, the session's next Turn runs on, whether or not a Turn is running now. The next Turn applies it once and clears it. null, or the Model and source the session already has, clears it. Send it on its own.",
9066
9040
  "anyOf": [
9067
9041
  {
9068
9042
  "anyOf": [
@@ -9077,17 +9051,6 @@
9077
9051
  "required": ["model"],
9078
9052
  "additionalProperties": false
9079
9053
  },
9080
- {
9081
- "type": "object",
9082
- "properties": {
9083
- "auto": {
9084
- "type": "boolean",
9085
- "const": true
9086
- }
9087
- },
9088
- "required": ["auto"],
9089
- "additionalProperties": false
9090
- },
9091
9054
  {
9092
9055
  "type": "object",
9093
9056
  "properties": {
@@ -10954,6 +10917,12 @@
10954
10917
  "minLength": 1,
10955
10918
  "maxLength": 2000,
10956
10919
  "description": "What failed, with the evidence its task needs to fix it."
10920
+ },
10921
+ "summary": {
10922
+ "description": "What its member reads on the task card, in one or two plain sentences: why it was left out, who handles it, and whether the member must act.",
10923
+ "type": "string",
10924
+ "minLength": 1,
10925
+ "maxLength": 160
10957
10926
  }
10958
10927
  },
10959
10928
  "required": ["pullRequest", "reason"]
@@ -11547,10 +11516,6 @@
11547
11516
  "type": "string",
11548
11517
  "minLength": 1
11549
11518
  },
11550
- "auto": {
11551
- "description": "True starts the session on Auto: the platform picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
11552
- "type": "boolean"
11553
- },
11554
11519
  "kosukeFree": {
11555
11520
  "description": "true starts the session on Sensei free, on the serving source's model. A member who can run no provider starts on it anyway; false never does.",
11556
11521
  "type": "boolean"
@@ -11618,10 +11583,6 @@
11618
11583
  "type": "string",
11619
11584
  "minLength": 1
11620
11585
  },
11621
- "auto": {
11622
- "description": "True starts the session on Auto: the platform picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
11623
- "type": "boolean"
11624
- },
11625
11586
  "kosukeFree": {
11626
11587
  "description": "true starts the session on Sensei free, on the serving source's model. A member who can run no provider starts on it anyway; false never does.",
11627
11588
  "type": "boolean"
@@ -11774,7 +11735,7 @@
11774
11735
  },
11775
11736
  "put": {
11776
11737
  "operationId": "sessionsUpdate",
11777
- "summary": "Change title, status, model, Auto, Assignee, priority, Sandbox size (sandboxSize) or App stack (appStack). Which changes are legal depends on the current status; the handler decides. sandboxSize and appStack change only while the session is in the Backlog: once it started they are fixed, and 409 SANDBOX_SETTINGS_LOCKED refuses them.",
11738
+ "summary": "Change title, status, model, Assignee, priority, Sandbox size (sandboxSize) or App stack (appStack). Which changes are legal depends on the current status; the handler decides. sandboxSize and appStack change only while the session is in the Backlog: once it started they are fixed, and 409 SANDBOX_SETTINGS_LOCKED refuses them.",
11778
11739
  "tags": ["sessions"],
11779
11740
  "x-kosuke-command": ["sessions", "update"],
11780
11741
  "x-kosuke-sandbox-token": true,
@@ -11834,16 +11795,12 @@
11834
11795
  "type": "string",
11835
11796
  "minLength": 1
11836
11797
  },
11837
- "auto": {
11838
- "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.",
11839
- "type": "boolean"
11840
- },
11841
11798
  "kosukeFree": {
11842
11799
  "description": "true runs the session on Sensei free, on the serving source's model; false, or picking any other model, takes it off. Refused for a session no member is assigned to and for one the workspace pays for.",
11843
11800
  "type": "boolean"
11844
11801
  },
11845
11802
  "nextTurn": {
11846
- "description": "Active or Under review only: the Model, Auto, or {kosukeFree:true} in personal scope, the session's next Turn runs on, whether or not a Turn is running now. The next Turn applies it once and clears it. null, or the Model and Auto state the session already has, clears it. Send it on its own.",
11803
+ "description": "Active or Under review only: the Model or {kosukeFree:true} in personal scope, the session's next Turn runs on, whether or not a Turn is running now. The next Turn applies it once and clears it. null, or the Model and source the session already has, clears it. Send it on its own.",
11847
11804
  "anyOf": [
11848
11805
  {
11849
11806
  "anyOf": [
@@ -11858,17 +11815,6 @@
11858
11815
  "required": ["model"],
11859
11816
  "additionalProperties": false
11860
11817
  },
11861
- {
11862
- "type": "object",
11863
- "properties": {
11864
- "auto": {
11865
- "type": "boolean",
11866
- "const": true
11867
- }
11868
- },
11869
- "required": ["auto"],
11870
- "additionalProperties": false
11871
- },
11872
11818
  {
11873
11819
  "type": "object",
11874
11820
  "properties": {
@@ -12877,10 +12823,6 @@
12877
12823
  "type": "string",
12878
12824
  "minLength": 1
12879
12825
  },
12880
- "auto": {
12881
- "description": "True puts the session on Auto from this Turn: the platform picks its Model and Provider. False takes it off, with model or the session's own. Absent keeps the session as it is.",
12882
- "type": "boolean"
12883
- },
12884
12826
  "kosukeFree": {
12885
12827
  "description": "true runs this Turn and the session on Sensei free; false takes the session off it. Refused with kosuke_free_off, kosuke_free_paused, kosuke_free_spent or kosuke_free_unavailable before anything runs.",
12886
12828
  "type": "boolean"
@@ -12988,11 +12930,6 @@
12988
12930
  "type": "string",
12989
12931
  "minLength": 1
12990
12932
  },
12991
- "auto": {
12992
- "description": "As the JSON body's auto.",
12993
- "type": "string",
12994
- "enum": ["true", "false"]
12995
- },
12996
12933
  "kosukeFree": {
12997
12934
  "type": "string",
12998
12935
  "enum": ["true", "false"]
@@ -14671,11 +14608,6 @@
14671
14608
  "type": "string",
14672
14609
  "minLength": 1
14673
14610
  },
14674
- "auto": {
14675
- "description": "true puts the ticket on Auto: the platform 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.",
14676
- "type": "string",
14677
- "enum": ["true", "false"]
14678
- },
14679
14611
  "ownerId": {
14680
14612
  "description": "A member id to assign, or an empty string to unassign.",
14681
14613
  "type": "string"
@@ -20623,6 +20555,26 @@
20623
20555
  "description": "Files, one page only: refuse to replace a file that is no longer this version.",
20624
20556
  "type": "string",
20625
20557
  "pattern": "^[1-9][0-9]*$"
20558
+ },
20559
+ "generatedStyles": {
20560
+ "description": "Filled by the CLI: the CSS it built from the project's own Tailwind entry for the class names content.js uses, scoped to the canvas. Absent: the styles are hand written.",
20561
+ "type": "string",
20562
+ "maxLength": 1048576
20563
+ },
20564
+ "visualCheck": {
20565
+ "description": "Filled by the CLI: its comparison of the baseline state with the real screen, as JSON. Absent: not compared.",
20566
+ "type": "string",
20567
+ "maxLength": 4096
20568
+ },
20569
+ "visualCheckReason": {
20570
+ "description": "Why the baseline state may differ from the real screen by more than 3%; stored with the version and shown on its card.",
20571
+ "type": "string",
20572
+ "maxLength": 500
20573
+ },
20574
+ "dryRun": {
20575
+ "description": "Filled by the CLI: true renders and checks the page and answers its HTML, saving nothing.",
20576
+ "type": "string",
20577
+ "enum": ["true", "false"]
20626
20578
  }
20627
20579
  },
20628
20580
  "required": ["name"]
@@ -24156,7 +24108,7 @@
24156
24108
  "/api/sensei/reels/activity": {
24157
24109
  "get": {
24158
24110
  "operationId": "senseiReelsActivityList",
24159
- "summary": "Read stored activity versions for your Reels cards and Backlog tickets.",
24111
+ "summary": "Read stored activity versions for your Deck cards and Backlog tickets.",
24160
24112
  "tags": ["sensei"],
24161
24113
  "x-kosuke-command": ["sensei", "reels", "activity", "list"],
24162
24114
  "x-kosuke-sandbox-token": true,
@@ -24196,6 +24148,206 @@
24196
24148
  }
24197
24149
  }
24198
24150
  },
24151
+ "/api/sensei/reels/later/holds": {
24152
+ "get": {
24153
+ "operationId": "senseiReelsLaterHoldsList",
24154
+ "summary": "List the Deck cards you put off with Later that still wait: each comes back 30 minutes after it was put off, or sooner when its activity changes or it closes.",
24155
+ "tags": ["sensei"],
24156
+ "x-kosuke-command": ["sensei", "reels", "later-holds", "list"],
24157
+ "responses": {
24158
+ "2XX": {
24159
+ "description": "Success envelope",
24160
+ "content": {
24161
+ "application/json": {
24162
+ "schema": {
24163
+ "$ref": "#/components/schemas/ApiSuccess"
24164
+ }
24165
+ }
24166
+ }
24167
+ },
24168
+ "4XX": {
24169
+ "description": "Error envelope",
24170
+ "content": {
24171
+ "application/json": {
24172
+ "schema": {
24173
+ "$ref": "#/components/schemas/ApiError"
24174
+ }
24175
+ }
24176
+ }
24177
+ },
24178
+ "5XX": {
24179
+ "description": "Error envelope",
24180
+ "content": {
24181
+ "application/json": {
24182
+ "schema": {
24183
+ "$ref": "#/components/schemas/ApiError"
24184
+ }
24185
+ }
24186
+ }
24187
+ }
24188
+ }
24189
+ },
24190
+ "post": {
24191
+ "operationId": "senseiReelsLaterHoldsCreate",
24192
+ "summary": "Put an open Deck card off with Later for 30 minutes, on every device, at the revision you saw. A card already put off answers with its hold. Refused with CARD_CHANGED when the card moved past that revision.",
24193
+ "tags": ["sensei"],
24194
+ "x-kosuke-command": ["sensei", "reels", "later-holds", "create"],
24195
+ "requestBody": {
24196
+ "required": true,
24197
+ "content": {
24198
+ "application/json": {
24199
+ "schema": {
24200
+ "type": "object",
24201
+ "properties": {
24202
+ "cardId": {
24203
+ "type": "string",
24204
+ "format": "uuid",
24205
+ "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)$",
24206
+ "description": "The card to put off."
24207
+ },
24208
+ "revision": {
24209
+ "type": "integer",
24210
+ "minimum": 1,
24211
+ "maximum": 9007199254740991,
24212
+ "description": "The card revision you saw."
24213
+ },
24214
+ "carried": {
24215
+ "description": "A hold this browser kept before Later was stored on the server: it keeps its own end and activity version, and is dropped when either has passed.",
24216
+ "type": "object",
24217
+ "properties": {
24218
+ "heldAt": {
24219
+ "type": "string",
24220
+ "format": "date-time",
24221
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24222
+ },
24223
+ "until": {
24224
+ "type": "string",
24225
+ "format": "date-time",
24226
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
24227
+ },
24228
+ "activityVersion": {
24229
+ "type": "string",
24230
+ "minLength": 1,
24231
+ "maxLength": 128
24232
+ }
24233
+ },
24234
+ "required": ["heldAt", "until", "activityVersion"]
24235
+ }
24236
+ },
24237
+ "required": ["cardId", "revision"]
24238
+ }
24239
+ }
24240
+ }
24241
+ },
24242
+ "responses": {
24243
+ "2XX": {
24244
+ "description": "Success envelope",
24245
+ "content": {
24246
+ "application/json": {
24247
+ "schema": {
24248
+ "$ref": "#/components/schemas/ApiSuccess"
24249
+ }
24250
+ }
24251
+ }
24252
+ },
24253
+ "4XX": {
24254
+ "description": "Error envelope",
24255
+ "content": {
24256
+ "application/json": {
24257
+ "schema": {
24258
+ "$ref": "#/components/schemas/ApiError"
24259
+ }
24260
+ }
24261
+ }
24262
+ },
24263
+ "5XX": {
24264
+ "description": "Error envelope",
24265
+ "content": {
24266
+ "application/json": {
24267
+ "schema": {
24268
+ "$ref": "#/components/schemas/ApiError"
24269
+ }
24270
+ }
24271
+ }
24272
+ }
24273
+ }
24274
+ }
24275
+ },
24276
+ "/api/sensei/reels/later/holds/release": {
24277
+ "post": {
24278
+ "operationId": "senseiReelsLaterHoldsDelete",
24279
+ "summary": "Bring Deck cards back from Later now, on every device. Each names the claim you read, so a card put off again since stays put off.",
24280
+ "tags": ["sensei"],
24281
+ "x-kosuke-command": ["sensei", "reels", "later-holds", "delete"],
24282
+ "requestBody": {
24283
+ "required": true,
24284
+ "content": {
24285
+ "application/json": {
24286
+ "schema": {
24287
+ "type": "object",
24288
+ "properties": {
24289
+ "holds": {
24290
+ "minItems": 1,
24291
+ "maxItems": 200,
24292
+ "type": "array",
24293
+ "items": {
24294
+ "type": "object",
24295
+ "properties": {
24296
+ "id": {
24297
+ "type": "string",
24298
+ "format": "uuid",
24299
+ "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)$"
24300
+ },
24301
+ "claim": {
24302
+ "type": "string",
24303
+ "format": "uuid",
24304
+ "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)$"
24305
+ }
24306
+ },
24307
+ "required": ["id", "claim"]
24308
+ },
24309
+ "description": "The holds to end, each by card id and the claim you read."
24310
+ }
24311
+ },
24312
+ "required": ["holds"]
24313
+ }
24314
+ }
24315
+ }
24316
+ },
24317
+ "responses": {
24318
+ "2XX": {
24319
+ "description": "Success envelope",
24320
+ "content": {
24321
+ "application/json": {
24322
+ "schema": {
24323
+ "$ref": "#/components/schemas/ApiSuccess"
24324
+ }
24325
+ }
24326
+ }
24327
+ },
24328
+ "4XX": {
24329
+ "description": "Error envelope",
24330
+ "content": {
24331
+ "application/json": {
24332
+ "schema": {
24333
+ "$ref": "#/components/schemas/ApiError"
24334
+ }
24335
+ }
24336
+ }
24337
+ },
24338
+ "5XX": {
24339
+ "description": "Error envelope",
24340
+ "content": {
24341
+ "application/json": {
24342
+ "schema": {
24343
+ "$ref": "#/components/schemas/ApiError"
24344
+ }
24345
+ }
24346
+ }
24347
+ }
24348
+ }
24349
+ }
24350
+ },
24199
24351
  "/api/sensei/repository": {
24200
24352
  "post": {
24201
24353
  "operationId": "senseiRepositoryCardsCreate",
@@ -25460,7 +25612,7 @@
25460
25612
  "/api/sensei/widgets": {
25461
25613
  "get": {
25462
25614
  "operationId": "senseiWidgetsGet",
25463
- "summary": "Read your open Sensei Card count and the first four cards in Reels order for widgets.",
25615
+ "summary": "Read your open Sensei Card count and the first four cards in Deck order for widgets.",
25464
25616
  "tags": ["sensei"],
25465
25617
  "x-kosuke-command": ["sensei", "widgets", "get"],
25466
25618
  "x-kosuke-sandbox-token": true,
@@ -26183,7 +26335,7 @@
26183
26335
  "maxLength": 64
26184
26336
  },
26185
26337
  "model": {
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.",
26338
+ "description": "An encoded model id such as anthropic:opus__xhigh, one your Sensei runs on your own Subscription, or kosuke-free for 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.",
26187
26339
  "anyOf": [
26188
26340
  {
26189
26341
  "anyOf": [
@@ -26361,7 +26513,7 @@
26361
26513
  "maxLength": 64
26362
26514
  },
26363
26515
  "model": {
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.",
26516
+ "description": "An encoded model id such as anthropic:opus__xhigh, one your Sensei runs on your own Subscription, or kosuke-free for 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.",
26365
26517
  "anyOf": [
26366
26518
  {
26367
26519
  "anyOf": [
@@ -28349,7 +28501,7 @@
28349
28501
  "/api/user/subscriptions": {
28350
28502
  "get": {
28351
28503
  "operationId": "providersGetPersonal",
28352
- "summary": "Read holdsSubscription (any saved login on a pickable provider, including a limit or reconnect) and autoAvailable (Jev is configured and the Model Router qualifies at least one of your Subscriptions), plus your Claude, Codex, GLM Coding Plan, Kimi Code, DeepSeek API and Muse Code 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, oldest first (logins). Google is in googleAccess: your Antigravity sign-in, activated when saved.",
28504
+ "summary": "Read holdsSubscription (any saved login on a pickable provider, including a limit or reconnect), plus your Claude, Codex, GLM Coding Plan, Kimi Code, DeepSeek API and Muse Code subscriptions and your default model. Per provider: the login in use (connected, needsReauth, accountEmail, and maskedApiKey for a pasted key) and every login, oldest first (logins). Google is in googleAccess: your Antigravity sign-in, activated when saved.",
28353
28505
  "tags": ["providers"],
28354
28506
  "x-kosuke-command": ["providers", "get"],
28355
28507
  "x-kosuke-variant": {
@@ -28393,7 +28545,7 @@
28393
28545
  },
28394
28546
  "patch": {
28395
28547
  "operationId": "providersDefaultModelSetPersonal",
28396
- "summary": "Save the model new chat sessions start on, as an encoded id such as anthropic:sonnet__medium, or null to let the platform choose, kosuke-free to use Auto - Sensei free, or defaultAuto: true for personal Auto. Answers 204.",
28548
+ "summary": "Save the Default Model as an encoded id, null to follow the Default, or kosuke-free for Sensei free. Answers 204.",
28397
28549
  "tags": ["providers"],
28398
28550
  "x-kosuke-command": ["providers", "default-model", "set"],
28399
28551
  "x-kosuke-variant": {
@@ -28411,12 +28563,9 @@
28411
28563
  "properties": {
28412
28564
  "defaultModel": {
28413
28565
  "type": ["string", "null"]
28414
- },
28415
- "defaultAuto": {
28416
- "description": "True makes Auto your Default Model; defaultModel stays as it is unless sent.",
28417
- "type": "boolean"
28418
28566
  }
28419
- }
28567
+ },
28568
+ "required": ["defaultModel"]
28420
28569
  }
28421
28570
  }
28422
28571
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/kosuke",
3
- "version": "1.0.81",
3
+ "version": "1.0.83",
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,12 +43,11 @@
43
43
  "minimatch": "^11.0.1"
44
44
  },
45
45
  "kosukeRelease": {
46
- "sourceCommit": "d89a08ee129b493d26c78bae87ed25084695eb20",
47
- "sourceIdentity": "ccd326dd2182be9670b1d14b0b3ea9afa7a1f75bfcac5facdd412ab92a943702",
46
+ "sourceCommit": "185b72e730189a837bb4e26ebadb6bc047cdfe31",
47
+ "sourceIdentity": "de8f83d731a2d408b5cb47e0e7baf6d38bb0c81fcf3798a9b41919cadcae52e6",
48
48
  "fragments": [
49
- "settings-get-values-rw1sl4.json",
50
- "personal-cron-default-time-zone.json",
51
- "workspace-usage-tz.json"
49
+ "kosuke-free-fixed-model.json",
50
+ "remove-auto-model.json"
52
51
  ]
53
52
  }
54
53
  }