@kosuke-ai/kosuke 1.0.29 → 1.0.31

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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.31
4
+
5
+ - `kosuke sensei tickets merge` and `kosuke sensei messages move` are no longer offered to session sandbox or Cron agents: only you and your Sensei run them.
6
+
7
+ ## 1.0.30
8
+
9
+ - `sensei device-requests update` is refused with 403 to a Chat Session's agent and a Cron: only you, an admin of the device's workspace, or your Sensei after your own yes answer a device request.
10
+
3
11
  ## 1.0.29
4
12
 
5
13
  - Allow Personal Crons with repositories to use Kosuke free when no Subscription is connected.
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "device-requests",
7
7
  "update"
8
8
  ],
9
- "summary": "Approve or decline one Device Request of a Chat Session as you, the Mac’s owner or an admin of the device’s workspace. Answers the stored status. Refused with 403 when you may not answer it, 404 for a request not of this session, and 409 GRANT_ALREADY_DECIDED with its current status when it is no longer pending: already answered, expired, withdrawn, or closed because the session can no longer use the device.",
9
+ "summary": "Approve or decline one Device Request of a Chat Session as you, the Mac’s owner or an admin of the device’s workspace, or as your Sensei after your own yes. Answers the stored status. Refused with 403 to a Chat Session’s agent or a Cron, and when you may not answer it, 404 for a request not of this session, and 409 GRANT_ALREADY_DECIDED with its current status when it is no longer pending: already answered, expired, withdrawn, or closed because the session can no longer use the device.",
10
10
  "pathParams": [],
11
11
  "query": [],
12
12
  "body": {
@@ -42,5 +42,7 @@ export const operation = {
42
42
  "multipart": null,
43
43
  "attachments": false,
44
44
  "anonymous": false,
45
- "agents": "all"
45
+ "agents": [
46
+ "senseiToken"
47
+ ]
46
48
  };
@@ -31,5 +31,7 @@ export const operation = {
31
31
  "multipart": null,
32
32
  "attachments": false,
33
33
  "anonymous": false,
34
- "agents": "all"
34
+ "agents": [
35
+ "senseiToken"
36
+ ]
35
37
  };
@@ -45,5 +45,7 @@ export const operation = {
45
45
  "multipart": null,
46
46
  "attachments": false,
47
47
  "anonymous": false,
48
- "agents": "all"
48
+ "agents": [
49
+ "senseiToken"
50
+ ]
49
51
  };
package/openapi.json CHANGED
@@ -22717,11 +22717,9 @@
22717
22717
  "/api/sensei/device-requests/decide": {
22718
22718
  "post": {
22719
22719
  "operationId": "senseiDeviceRequestsUpdate",
22720
- "summary": "Approve or decline one Device Request of a Chat Session as you, the Mac’s owner or an admin of the device’s workspace. Answers the stored status. Refused with 403 when you may not answer it, 404 for a request not of this session, and 409 GRANT_ALREADY_DECIDED with its current status when it is no longer pending: already answered, expired, withdrawn, or closed because the session can no longer use the device.",
22720
+ "summary": "Approve or decline one Device Request of a Chat Session as you, the Mac’s owner or an admin of the device’s workspace, or as your Sensei after your own yes. Answers the stored status. Refused with 403 to a Chat Session’s agent or a Cron, and when you may not answer it, 404 for a request not of this session, and 409 GRANT_ALREADY_DECIDED with its current status when it is no longer pending: already answered, expired, withdrawn, or closed because the session can no longer use the device.",
22721
22721
  "tags": ["sensei"],
22722
22722
  "x-kosuke-command": ["sensei", "device-requests", "update"],
22723
- "x-kosuke-sandbox-token": true,
22724
- "x-kosuke-cron-token": true,
22725
22723
  "x-kosuke-sensei-token": true,
22726
22724
  "requestBody": {
22727
22725
  "required": true,
@@ -23047,8 +23045,6 @@
23047
23045
  "summary": "Send a message that reached you on to another member: the one the required memberId names. It opens in their Sensei, and the sender's later updates of it go to them. Your own card on it stays yours to close. Refused with 404 when the message is not with you now, with 409 MESSAGE_CHANGED when it changed since you read it, and with 400 when nobody else is named for it.",
23048
23046
  "tags": ["sensei"],
23049
23047
  "x-kosuke-command": ["sensei", "messages", "move"],
23050
- "x-kosuke-sandbox-token": true,
23051
- "x-kosuke-cron-token": true,
23052
23048
  "x-kosuke-sensei-token": true,
23053
23049
  "requestBody": {
23054
23050
  "required": true,
@@ -24103,8 +24099,6 @@
24103
24099
  "summary": "Fold Backlog tickets of one project into one, in one step: the kept ticket takes content as its prompt and the folded tickets are deleted, or nothing changes. revisions holds the promptRevision `sessions get` gave for every ticket content was written from, the kept one included. Refused with 409 TICKET_EDITED when any of them changed since, with 409 NOT_IN_BACKLOG when any of them started, and with 400 when a revision is missing or a ticket is of another project. Pass the body whole with --body or --body-file.",
24104
24100
  "tags": ["sensei"],
24105
24101
  "x-kosuke-command": ["sensei", "tickets", "merge"],
24106
- "x-kosuke-sandbox-token": true,
24107
- "x-kosuke-cron-token": true,
24108
24102
  "x-kosuke-sensei-token": true,
24109
24103
  "requestBody": {
24110
24104
  "required": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/kosuke",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "description": "Kosuke platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -40,10 +40,10 @@
40
40
  "vitest": "^4.1.12"
41
41
  },
42
42
  "kosukeRelease": {
43
- "sourceCommit": "cff2f85d983b541cb81b67979b53d4ed474ea881",
44
- "sourceIdentity": "25e62c06a436497cbad3671ed8194755050595cc913fc4dc4c8bdb5b1f793d4c",
43
+ "sourceCommit": "bd9029c68466df2c6c91c2a72e081cbb42d58ad8",
44
+ "sourceIdentity": "d07d5e2696d17ece82fe762e770cbde753caf3454e506d1b53cf82c37571ab16",
45
45
  "fragments": [
46
- "free-repository-crons.json"
46
+ "sensei-card-commands-sensei-only.json"
47
47
  ]
48
48
  }
49
49
  }