@kosuke-ai/kosuke 1.0.86 → 1.0.87

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
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.87
4
+
5
+ - `kosuke sensei threads list --type` lists one type of Sensei Thread: inbox, tickets, work or routines. Each listed thread now names its type.
6
+ - New API keys name their access (Tasks and sessions, Personal Crons, Memory and Skills, Project settings and QA Guide) and end after 30 days, 90 days or 1 year; a key is refused outside its access with 403 `API_KEY_SCOPE`. Keys made before this keep Full access for 30 days, then stop, and their row in Settings, API keys shows the date. After revoking a key you can see what it created or changed, pause all its Crons at once, and restore or remove the rest.
7
+
3
8
  ## 1.0.86
4
9
 
5
10
  - Add `kosuke projects chat get` and `kosuke projects chat create`: read whether a repository's Chat is on for you and its pushes, and open its Chat session on the default branch.
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "threads",
7
7
  "list"
8
8
  ],
9
- "summary": "List your Sensei Threads, those that need you first, with the id, title, state, last activity and sessions of each, and the pull request number of every session that has one. `states` and `search` filter; `limit` threads a page, and `cursor` the next page.",
9
+ "summary": "List your Sensei Threads, those that need you first, with the id, title, type, state, last activity and sessions of each, and the pull request number of every session that has one. `states`, `type` and `search` filter; `limit` threads a page, and `cursor` the next page.",
10
10
  "pathParams": [],
11
11
  "query": [
12
12
  {
@@ -23,6 +23,19 @@ export const operation = {
23
23
  "required": false,
24
24
  "description": "A comma list of states (needs_you, working, done) the threads are in. Every state when left out."
25
25
  },
26
+ {
27
+ "name": "type",
28
+ "flag": "type",
29
+ "kind": "string",
30
+ "required": false,
31
+ "description": "Keeps the threads of one type: inbox (what people sent you), tickets (proposed tickets), work (your work with Sensei and your sessions) or routines (Crons, Deploys and other scheduled runs). Every type when left out.",
32
+ "choices": [
33
+ "inbox",
34
+ "tickets",
35
+ "work",
36
+ "routines"
37
+ ]
38
+ },
26
39
  {
27
40
  "name": "sort",
28
41
  "flag": "sort",
package/openapi.json CHANGED
@@ -25338,7 +25338,7 @@
25338
25338
  "/api/sensei/threads": {
25339
25339
  "get": {
25340
25340
  "operationId": "senseiThreadsList",
25341
- "summary": "List your Sensei Threads, those that need you first, with the id, title, state, last activity and sessions of each, and the pull request number of every session that has one. `states` and `search` filter; `limit` threads a page, and `cursor` the next page.",
25341
+ "summary": "List your Sensei Threads, those that need you first, with the id, title, type, state, last activity and sessions of each, and the pull request number of every session that has one. `states`, `type` and `search` filter; `limit` threads a page, and `cursor` the next page.",
25342
25342
  "tags": ["sensei"],
25343
25343
  "x-kosuke-command": ["sensei", "threads", "list"],
25344
25344
  "x-kosuke-sandbox-token": true,
@@ -25366,6 +25366,17 @@
25366
25366
  "type": "string"
25367
25367
  }
25368
25368
  },
25369
+ {
25370
+ "name": "type",
25371
+ "in": "query",
25372
+ "required": false,
25373
+ "description": "Keeps the threads of one type: inbox (what people sent you), tickets (proposed tickets), work (your work with Sensei and your sessions) or routines (Crons, Deploys and other scheduled runs). Every type when left out.",
25374
+ "schema": {
25375
+ "description": "Keeps the threads of one type: inbox (what people sent you), tickets (proposed tickets), work (your work with Sensei and your sessions) or routines (Crons, Deploys and other scheduled runs). Every type when left out.",
25376
+ "type": "string",
25377
+ "enum": ["inbox", "tickets", "work", "routines"]
25378
+ }
25379
+ },
25369
25380
  {
25370
25381
  "name": "sort",
25371
25382
  "in": "query",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/kosuke",
3
- "version": "1.0.86",
3
+ "version": "1.0.87",
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,11 @@
43
43
  "minimatch": "^11.0.1"
44
44
  },
45
45
  "kosukeRelease": {
46
- "sourceCommit": "a496cb591eb59f3c69ad35669d861dc1de433f3c",
47
- "sourceIdentity": "1b1eac5dea5eb19332723f3c5ea92a969d3a8b50f4e746239aa946017fb02a95",
46
+ "sourceCommit": "66b1271d002463b200b2e8cf59c118ef81e86850",
47
+ "sourceIdentity": "b00e1f3dd336c42acb8fd45297db7b9417fac4fc87342d66d1a25d6e374685be",
48
48
  "fragments": [
49
- "projects-chat-oqzmcf.json",
50
- "personal-cron-delete-sf6r2v.json"
49
+ "sensei-thread-types-7pk0tn.json",
50
+ "api-key-scopes-27fy6g.json"
51
51
  ]
52
52
  }
53
53
  }