@kosuke-ai/kosuke 1.0.24 → 1.0.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/kosuke",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
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,14 @@
40
40
  "vitest": "^4.1.12"
41
41
  },
42
42
  "kosukeRelease": {
43
- "sourceCommit": "0dcf5d86232829892f1ad4d75c72f1bb35a8bb9d",
44
- "sourceIdentity": "605c6812882b4a73800f7c826123a0d0bdbe15891a5d7336e24394da9c8f9565",
43
+ "sourceCommit": "f9c44706104593c0f112f3fcfbba433b2af48c8c",
44
+ "sourceIdentity": "8abb8932eb934bf71f9551aae0b8379b2f175489787680e4f67ceeeeccaa9387",
45
45
  "fragments": [
46
- "sessions-get-task-id.json"
46
+ "reels-newest-first-p4k7rq.json",
47
+ "sensei-card-actions-p3c4rd.json",
48
+ "github-writes-through-gh-m8t2qa.json",
49
+ "merge-agent-merge-sync-q8v2tn.json",
50
+ "merge-agent-status-trim-w3k9fd.json"
47
51
  ]
48
52
  }
49
53
  }
@@ -1,34 +0,0 @@
1
- export const operation = {
2
- "method": "post",
3
- "path": "/api/sensei/merge",
4
- "command": [
5
- "sensei",
6
- "merge"
7
- ],
8
- "summary": "Merge the pull request of any Chat Session in a workspace you belong to, as you on GitHub, whenever GitHub allows it: added to GitHub's merge queue where the base has one, updated first where GitHub requires an up-to-date branch, merged otherwise, pinned to the head read. GitHub alone decides: Kosuke adds no hold of its own on approvals, reviews, checks or a working session. Asking is your go-ahead, recorded on the session for its member on the head read with Kosuke merging it, so it merges later when GitHub refuses now. A push to another head takes it away. Answers the outcome, the head it decided on and why. Refused with the reason unless you have GitHub connected and the head is still `headSha` when given, and with GitHub's own reason when GitHub refuses the merge.",
9
- "pathParams": [],
10
- "query": [],
11
- "body": {
12
- "fields": [
13
- {
14
- "name": "sessionId",
15
- "flag": "session-id",
16
- "kind": "string",
17
- "required": true,
18
- "description": "The Chat Session whose pull request to merge, in any workspace you belong to."
19
- },
20
- {
21
- "name": "headSha",
22
- "flag": "head-sha",
23
- "kind": "string",
24
- "required": false,
25
- "description": "The head commit you decided on. Nothing is written when the pull request has moved past it."
26
- }
27
- ],
28
- "required": true
29
- },
30
- "multipart": null,
31
- "attachments": false,
32
- "anonymous": false,
33
- "agents": "all"
34
- };
@@ -1,18 +0,0 @@
1
- export const operation = {
2
- "method": "get",
3
- "path": "/api/sensei/reels/ranks",
4
- "command": [
5
- "sensei",
6
- "reels",
7
- "ranks",
8
- "list"
9
- ],
10
- "summary": "Read Jev ranks for your open Sensei Cards, valid only at each card revision.",
11
- "pathParams": [],
12
- "query": [],
13
- "body": null,
14
- "multipart": null,
15
- "attachments": false,
16
- "anonymous": false,
17
- "agents": "all"
18
- };
@@ -1,36 +0,0 @@
1
- export const operation = {
2
- "method": "post",
3
- "path": "/api/sensei/review/approve",
4
- "command": [
5
- "sensei",
6
- "review",
7
- "approvals",
8
- "create"
9
- ],
10
- "summary": "Approve the pull request of a Chat Session as you on GitHub, pinned to headSha: the approval is of that commit. Refused with 409 HEAD_MOVED, naming the new head, when the pull request moved past headSha, with NO_PULL_REQUEST when the session has no open pull request, and with GITHUB_REFUSED and GitHub’s own words when GitHub says no, such as for your own pull request or without GitHub connected in Kosuke.",
11
- "pathParams": [],
12
- "query": [],
13
- "body": {
14
- "fields": [
15
- {
16
- "name": "sessionId",
17
- "flag": "session-id",
18
- "kind": "string",
19
- "required": true,
20
- "description": "The Chat Session whose pull request to approve, in any workspace you belong to."
21
- },
22
- {
23
- "name": "headSha",
24
- "flag": "head-sha",
25
- "kind": "string",
26
- "required": true,
27
- "description": "The head commit you read and approve. Nothing is approved when the pull request moved past it."
28
- }
29
- ],
30
- "required": true
31
- },
32
- "multipart": null,
33
- "attachments": false,
34
- "anonymous": false,
35
- "agents": "all"
36
- };
@@ -1,43 +0,0 @@
1
- export const operation = {
2
- "method": "post",
3
- "path": "/api/sensei/review/ask",
4
- "command": [
5
- "sensei",
6
- "review",
7
- "requests",
8
- "create"
9
- ],
10
- "summary": "Ask members to review the pull request of a Chat Session you are the Assignee of, as you on GitHub, and record who was asked for the merge to count. With again, ask again everyone asked before and whoever requested changes since. A member who never connected GitHub, or whom GitHub refuses, is left out and named; it is refused when nobody could be asked, with 400 when you name yourself, nobody, or there is nobody to ask again, with 403 when you are not the Assignee, and with 409 NO_PULL_REQUEST or GITHUB_REFUSED.",
11
- "pathParams": [],
12
- "query": [],
13
- "body": {
14
- "fields": [
15
- {
16
- "name": "sessionId",
17
- "flag": "session-id",
18
- "kind": "string",
19
- "required": true,
20
- "description": "The Chat Session whose pull request to ask a review of. You are its Assignee."
21
- },
22
- {
23
- "name": "reviewers",
24
- "flag": "reviewers",
25
- "kind": "json",
26
- "required": false,
27
- "description": "The members to ask, by the id `kosuke workspaces members list` prints. Left out with again."
28
- },
29
- {
30
- "name": "again",
31
- "flag": "again",
32
- "kind": "boolean",
33
- "required": false,
34
- "description": "Ask again everyone asked before, and whoever requested changes since: after the session answered their review."
35
- }
36
- ],
37
- "required": true
38
- },
39
- "multipart": null,
40
- "attachments": false,
41
- "anonymous": false,
42
- "agents": "all"
43
- };
@@ -1,40 +0,0 @@
1
- export const operation = {
2
- "method": "post",
3
- "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/pull-request/ready",
4
- "command": [
5
- "sessions",
6
- "pull-request",
7
- "mark-ready"
8
- ],
9
- "summary": "Mark the session's draft pull request ready for review, only when its head is the sandbox's clean HEAD, its CI is green (or, with withoutChecks, no check reported) and QA passed on it. Answers `ready:` or `not ready:` in `line`. Only the session's own sandbox.",
10
- "pathParams": [
11
- "projectId",
12
- "sessionId"
13
- ],
14
- "query": [],
15
- "body": {
16
- "fields": [
17
- {
18
- "name": "sha",
19
- "flag": "sha",
20
- "kind": "string",
21
- "required": false,
22
- "description": "This checkout's HEAD, which must be the pull request's head: `git rev-parse HEAD`."
23
- },
24
- {
25
- "name": "withoutChecks",
26
- "flag": "without-checks",
27
- "kind": "boolean",
28
- "required": false,
29
- "description": "Mark it ready although no check has reported on the head of a repository with workflow files."
30
- }
31
- ],
32
- "required": true
33
- },
34
- "multipart": null,
35
- "attachments": false,
36
- "anonymous": false,
37
- "agents": [
38
- "sandboxToken"
39
- ]
40
- };
@@ -1,37 +0,0 @@
1
- export const operation = {
2
- "method": "post",
3
- "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/sync",
4
- "command": [
5
- "sessions",
6
- "sync"
7
- ],
8
- "summary": "Merge the Target Branch, or the open pull request's base, into the session's branch on GitHub, like GitHub's Update branch, and refresh its sandbox. Without an open pull request, uses the project Target Branch, then its default branch. Starts no turn: outcome agent needs /kosuke:sync-branch; pending means GitHub accepted the merge and completion is queued. Poll statusJobId for refreshed or refresh_failed. Failed status includes recovery: retry for a transient refresh failure, observe while GitHub is unconfirmed, repair for an explicit agent repair after a confirmed merge, or stale when the branch or pull request changed. Retrying completion never requests another merge.",
9
- "pathParams": [
10
- "projectId",
11
- "sessionId"
12
- ],
13
- "query": [],
14
- "body": {
15
- "fields": [
16
- {
17
- "name": "completion",
18
- "flag": "completion",
19
- "kind": "json",
20
- "required": false,
21
- "description": "Retry only the observation and sandbox refresh returned by a previous Sync. Never requests another merge."
22
- },
23
- {
24
- "name": "statusJobId",
25
- "flag": "status-job-id",
26
- "kind": "string",
27
- "required": false,
28
- "description": "Read the completion job status without requesting a merge or refresh."
29
- }
30
- ],
31
- "required": false
32
- },
33
- "multipart": null,
34
- "attachments": false,
35
- "anonymous": false,
36
- "agents": "all"
37
- };