@kosuke-ai/kosuke 1.3.3631 → 1.3.3665
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 +8 -0
- package/dist/generated/commands/projects/create.js +3 -3
- package/dist/generated/commands/projects/list.js +1 -0
- package/dist/generated/commands/projects/shipping-get.js +1 -1
- package/dist/generated/commands/projects/shipping-set.js +12 -1
- package/dist/generated/commands/sensei/cards-set.js +1 -1
- package/openapi.json +12 -6
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.3.3665
|
|
4
|
+
|
|
5
|
+
- Tell Sensei, in the help for saving a card, to put a session's question into simple words.
|
|
6
|
+
|
|
7
|
+
## 1.3.3638
|
|
8
|
+
|
|
9
|
+
- `kosuke projects shipping set --branches on|off` turns a repository's task branches on or off, and `kosuke projects create` with a description starts the repository simple: Branches off, the Merge agent Off, and the description sent to its Chat once the first Deploy lands.
|
|
10
|
+
|
|
3
11
|
## 1.3.3631
|
|
4
12
|
|
|
5
13
|
- Add Sensei's Single chat mode: every event lands in one chat with Sensei's line under it, Home ranks the cards, and Sensei reads new events every 1, 2 or 5 minutes.
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"projects",
|
|
6
6
|
"create"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Connect a GitHub repository as a project in a workspace (its Merge agent starts Off), or describe what to build to start a repository from kosuke-starter on a new Kosuke-Org repository (its Merge agent
|
|
8
|
+
"summary": "Connect a GitHub repository as a project in a workspace (its Merge agent starts Off), or describe what to build to start a repository from kosuke-starter on a new Kosuke-Org repository (it starts simple: Branches and its Merge agent off on a MEDIUM sandbox, and the description is sent to its Chat once the first Deploy lands; mergeAgentMode train keeps Branches on and files the description as a first task instead; 403 KOSUKE_STARTER_OFF when staff have it off on this deployment). With a repository, an optional prompt files its first task. Pass personal instead of orgId to create it in your Personal: your own credential, or your Sensei. Its first Deploy starts by itself, as the caller's; a first task starts on /kosuke:ship once it lands. Imports only a repository your own GitHub Connection can write to: 403 GITHUB_REPOSITORY_ACCESS_REQUIRED otherwise, 401 GITHUB_RECONNECT_REQUIRED when GitHub no longer accepts your connection. A repository the workspace or Personal already has is refused with 409 REPOSITORY_ALREADY_IMPORTED: details.projects names each of its projects there ({ id, name }, oldest first), so open one instead of importing again; another workspace's import never refuses it. Pass personal only when the member asked for it. Report a chatError.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": {
|
|
@@ -29,14 +29,14 @@ export const operation = {
|
|
|
29
29
|
"flag": "description",
|
|
30
30
|
"kind": "string",
|
|
31
31
|
"required": false,
|
|
32
|
-
"description": "What to build, in a sentence. Starts a repository from kosuke-starter on a new private Kosuke-Org repository, with its
|
|
32
|
+
"description": "What to build, in a sentence. Starts a repository from kosuke-starter on a new private Kosuke-Org repository, with Branches off and the sentence sent to its Chat once the first Deploy lands."
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"name": "mergeAgentMode",
|
|
36
36
|
"flag": "merge-agent-mode",
|
|
37
37
|
"kind": "string",
|
|
38
38
|
"required": false,
|
|
39
|
-
"description": "With description: the Merge agent mode the new repository starts in. Defaults to train.",
|
|
39
|
+
"description": "With description: the Merge agent mode the new repository starts in. Defaults to off; train also turns Branches on and files the sentence as a first task for /kosuke:ship.",
|
|
40
40
|
"choices": [
|
|
41
41
|
"train",
|
|
42
42
|
"off"
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"shipping",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read the project's Shipping: shipQa and shipReview, whether /kosuke:ship runs its QA step and its review step for a task that does not set its own
|
|
9
|
+
"summary": "Read the project's Shipping: shipQa and shipReview, whether /kosuke:ship runs its QA step and its review step for a task that does not set its own (both start on), and branchesEnabled, whether tasks get branches of their own (off for a repository made from kosuke-starter).",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId"
|
|
12
12
|
],
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"shipping",
|
|
7
7
|
"set"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Turn the project's Shipping QA or review on or off, for every task that does not set its own: ship skips a step that is off. A task with QA off needs no QA to merge; turning QA on takes back the checks' go-aheads it no longer allows. Members and their Sensei only.",
|
|
9
|
+
"summary": "Turn the project's Shipping QA or review on or off, for every task that does not set its own: ship skips a step that is off. A task with QA off needs no QA to merge; turning QA on takes back the checks' go-aheads it no longer allows. branches turns task branches on or off. Members and their Sensei only.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId"
|
|
12
12
|
],
|
|
@@ -34,6 +34,17 @@ export const operation = {
|
|
|
34
34
|
"on",
|
|
35
35
|
"off"
|
|
36
36
|
]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "branches",
|
|
40
|
+
"flag": "branches",
|
|
41
|
+
"kind": "string",
|
|
42
|
+
"required": false,
|
|
43
|
+
"description": "on: tasks get branches of their own, with the Deploy agent and New task. off: the repository's Chat on the default branch is the one way to work, and new tasks are refused (409 BRANCHES_OFF). Turning it off is refused while a task is still open (409 BRANCH_TASKS_OPEN).",
|
|
44
|
+
"choices": [
|
|
45
|
+
"on",
|
|
46
|
+
"off"
|
|
47
|
+
]
|
|
37
48
|
}
|
|
38
49
|
],
|
|
39
50
|
"required": true
|
|
@@ -28,7 +28,7 @@ export const operation = {
|
|
|
28
28
|
"flag": "blocks",
|
|
29
29
|
"kind": "json",
|
|
30
30
|
"required": true,
|
|
31
|
-
"description": "The body, in order. The first text block, unless it has a role, opens on a lead of 160 characters at most before its first blank line, the part a phone shows before more. A card with a clarification question takes a headline of its own that names its subject, never a question's words: the phone shows the headline above the question. A clarification question offers 2 to 3 options (a session's question relayed as question-<n> keeps its own, and the daily report's archive-sessions-<date> card asks its own, 4 at most). Each option's shown title, label else title, is 4 words at most and clear on its own; its description is 85 characters at most, two lines on a phone, with no line break. A question over these is refused with the field to rewrite.",
|
|
31
|
+
"description": "The body, in order. The first text block, unless it has a role, opens on a lead of 160 characters at most before its first blank line, the part a phone shows before more. A card with a clarification question takes a headline of its own that names its subject, never a question's words: the phone shows the headline above the question. A clarification question offers 2 to 3 options (a session's question relayed as question-<n> keeps its own id, topic, options and titles, and the daily report's archive-sessions-<date> card asks its own, 4 at most). Write a session's question, option labels and descriptions in simple words, never its technical wording: translate each term (a path or folder like src/ becomes what it holds, such as the site's code; code; a size like 2.8 KB becomes what it means, such as pages that load a little faster), or keep one beside its plain meaning. The first text says what the work is and who it helps. Each option's shown title, label else title, is 4 words at most and clear on its own; its description is 85 characters at most, two lines on a phone, with no line break. A question over these is refused with the field to rewrite.",
|
|
32
32
|
"shape": [
|
|
33
33
|
"T[] (max 12), each T one of:",
|
|
34
34
|
"{type: \"text\", role?: \"message\"|\"draft\", text: string, media?: {eventId: string, parts: integer[] (max 10)}, network?: \"gmail\"|\"slack\"|\"telegram\"|\"whatsapp\"|\"linkedin\"|\"x\", connection?: string, email?: \"new\"|\"reply\"|\"forward\", from?: string}",
|
package/openapi.json
CHANGED
|
@@ -13129,6 +13129,7 @@
|
|
|
13129
13129
|
"sentryProjectSlug",
|
|
13130
13130
|
"sentryDsn",
|
|
13131
13131
|
"repoCreatedByKosuke",
|
|
13132
|
+
"branchesEnabled",
|
|
13132
13133
|
"publishScriptName",
|
|
13133
13134
|
"liveReleaseId",
|
|
13134
13135
|
"mergeAgentMode",
|
|
@@ -13193,7 +13194,7 @@
|
|
|
13193
13194
|
},
|
|
13194
13195
|
"post": {
|
|
13195
13196
|
"operationId": "projectsCreate",
|
|
13196
|
-
"summary": "Connect a GitHub repository as a project in a workspace (its Merge agent starts Off), or describe what to build to start a repository from kosuke-starter on a new Kosuke-Org repository (its Merge agent
|
|
13197
|
+
"summary": "Connect a GitHub repository as a project in a workspace (its Merge agent starts Off), or describe what to build to start a repository from kosuke-starter on a new Kosuke-Org repository (it starts simple: Branches and its Merge agent off on a MEDIUM sandbox, and the description is sent to its Chat once the first Deploy lands; mergeAgentMode train keeps Branches on and files the description as a first task instead; 403 KOSUKE_STARTER_OFF when staff have it off on this deployment). With a repository, an optional prompt files its first task. Pass personal instead of orgId to create it in your Personal: your own credential, or your Sensei. Its first Deploy starts by itself, as the caller's; a first task starts on /kosuke:ship once it lands. Imports only a repository your own GitHub Connection can write to: 403 GITHUB_REPOSITORY_ACCESS_REQUIRED otherwise, 401 GITHUB_RECONNECT_REQUIRED when GitHub no longer accepts your connection. A repository the workspace or Personal already has is refused with 409 REPOSITORY_ALREADY_IMPORTED: details.projects names each of its projects there ({ id, name }, oldest first), so open one instead of importing again; another workspace's import never refuses it. Pass personal only when the member asked for it. Report a chatError.",
|
|
13197
13198
|
"tags": ["projects"],
|
|
13198
13199
|
"x-kosuke-command": ["projects", "create"],
|
|
13199
13200
|
"x-kosuke-sandbox-token": true,
|
|
@@ -13218,13 +13219,13 @@
|
|
|
13218
13219
|
"minLength": 1
|
|
13219
13220
|
},
|
|
13220
13221
|
"description": {
|
|
13221
|
-
"description": "What to build, in a sentence. Starts a repository from kosuke-starter on a new private Kosuke-Org repository, with its
|
|
13222
|
+
"description": "What to build, in a sentence. Starts a repository from kosuke-starter on a new private Kosuke-Org repository, with Branches off and the sentence sent to its Chat once the first Deploy lands.",
|
|
13222
13223
|
"type": "string",
|
|
13223
13224
|
"minLength": 1,
|
|
13224
13225
|
"maxLength": 2000
|
|
13225
13226
|
},
|
|
13226
13227
|
"mergeAgentMode": {
|
|
13227
|
-
"description": "With description: the Merge agent mode the new repository starts in. Defaults to train.",
|
|
13228
|
+
"description": "With description: the Merge agent mode the new repository starts in. Defaults to off; train also turns Branches on and files the sentence as a first task for /kosuke:ship.",
|
|
13228
13229
|
"type": "string",
|
|
13229
13230
|
"enum": ["train", "off"]
|
|
13230
13231
|
},
|
|
@@ -22860,7 +22861,7 @@
|
|
|
22860
22861
|
"/api/projects/{projectId}/settings/shipping": {
|
|
22861
22862
|
"get": {
|
|
22862
22863
|
"operationId": "projectsShippingGet",
|
|
22863
|
-
"summary": "Read the project's Shipping: shipQa and shipReview, whether /kosuke:ship runs its QA step and its review step for a task that does not set its own
|
|
22864
|
+
"summary": "Read the project's Shipping: shipQa and shipReview, whether /kosuke:ship runs its QA step and its review step for a task that does not set its own (both start on), and branchesEnabled, whether tasks get branches of their own (off for a repository made from kosuke-starter).",
|
|
22864
22865
|
"tags": ["projects"],
|
|
22865
22866
|
"x-kosuke-command": ["projects", "shipping", "get"],
|
|
22866
22867
|
"x-kosuke-sandbox-token": true,
|
|
@@ -22913,7 +22914,7 @@
|
|
|
22913
22914
|
},
|
|
22914
22915
|
"put": {
|
|
22915
22916
|
"operationId": "projectsShippingSet",
|
|
22916
|
-
"summary": "Turn the project's Shipping QA or review on or off, for every task that does not set its own: ship skips a step that is off. A task with QA off needs no QA to merge; turning QA on takes back the checks' go-aheads it no longer allows. Members and their Sensei only.",
|
|
22917
|
+
"summary": "Turn the project's Shipping QA or review on or off, for every task that does not set its own: ship skips a step that is off. A task with QA off needs no QA to merge; turning QA on takes back the checks' go-aheads it no longer allows. branches turns task branches on or off. Members and their Sensei only.",
|
|
22917
22918
|
"tags": ["projects"],
|
|
22918
22919
|
"x-kosuke-command": ["projects", "shipping", "set"],
|
|
22919
22920
|
"x-kosuke-sensei-token": true,
|
|
@@ -22945,6 +22946,11 @@
|
|
|
22945
22946
|
"description": "off: /kosuke:ship skips its review step. on: it reviews before QA. A task's own (`sessions update --review`) overrides it.",
|
|
22946
22947
|
"type": "string",
|
|
22947
22948
|
"enum": ["on", "off"]
|
|
22949
|
+
},
|
|
22950
|
+
"branches": {
|
|
22951
|
+
"description": "on: tasks get branches of their own, with the Deploy agent and New task. off: the repository's Chat on the default branch is the one way to work, and new tasks are refused (409 BRANCHES_OFF). Turning it off is refused while a task is still open (409 BRANCH_TASKS_OPEN).",
|
|
22952
|
+
"type": "string",
|
|
22953
|
+
"enum": ["on", "off"]
|
|
22948
22954
|
}
|
|
22949
22955
|
}
|
|
22950
22956
|
}
|
|
@@ -24982,7 +24988,7 @@
|
|
|
24982
24988
|
}
|
|
24983
24989
|
]
|
|
24984
24990
|
},
|
|
24985
|
-
"description": "The body, in order. The first text block, unless it has a role, opens on a lead of 160 characters at most before its first blank line, the part a phone shows before more. A card with a clarification question takes a headline of its own that names its subject, never a question's words: the phone shows the headline above the question. A clarification question offers 2 to 3 options (a session's question relayed as question-<n> keeps its own, and the daily report's archive-sessions-<date> card asks its own, 4 at most). Each option's shown title, label else title, is 4 words at most and clear on its own; its description is 85 characters at most, two lines on a phone, with no line break. A question over these is refused with the field to rewrite."
|
|
24991
|
+
"description": "The body, in order. The first text block, unless it has a role, opens on a lead of 160 characters at most before its first blank line, the part a phone shows before more. A card with a clarification question takes a headline of its own that names its subject, never a question's words: the phone shows the headline above the question. A clarification question offers 2 to 3 options (a session's question relayed as question-<n> keeps its own id, topic, options and titles, and the daily report's archive-sessions-<date> card asks its own, 4 at most). Write a session's question, option labels and descriptions in simple words, never its technical wording: translate each term (a path or folder like src/ becomes what it holds, such as the site's code; code; a size like 2.8 KB becomes what it means, such as pages that load a little faster), or keep one beside its plain meaning. The first text says what the work is and who it helps. Each option's shown title, label else title, is 4 words at most and clear on its own; its description is 85 characters at most, two lines on a phone, with no line break. A question over these is refused with the field to rewrite."
|
|
24986
24992
|
},
|
|
24987
24993
|
"instruction": {
|
|
24988
24994
|
"type": "string",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3665",
|
|
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,10 +43,10 @@
|
|
|
43
43
|
"minimatch": "^11.0.1"
|
|
44
44
|
},
|
|
45
45
|
"kosukeRelease": {
|
|
46
|
-
"sourceCommit": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "c3c8681089c26f55bacb65b2768ba2ede9a4da38",
|
|
47
|
+
"sourceIdentity": "c16d6e58e8311a691b798c0f3c1b40840dfc77e32da4c87b93bd0870ab601876",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"sensei-
|
|
49
|
+
"sensei-plain-question-cards-e7idg2.json"
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
}
|