@kosuke-ai/kosuke 1.2.3583 → 1.2.3601
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.2.3601
|
|
4
|
+
|
|
5
|
+
- Files keeps everything Kosuke and Sensei make under one `system` folder: sessions, Crons, prototypes, research, reports and task scratch. A prototype saved to Files now lands in `system/prototypes/`, and a file listing can name the new kept folders.
|
|
6
|
+
|
|
7
|
+
## 1.2.3589
|
|
8
|
+
|
|
9
|
+
- Session reads now include `prBehindBlockedSince`: when the pull request's branch began to be behind its base while GitHub could not merge it.
|
|
10
|
+
|
|
3
11
|
## 1.2.3583
|
|
4
12
|
|
|
5
13
|
- The Mac app now reports whether Kosuke has Microphone, system audio and Speech Recognition access, beside its other permissions. The iOS app reports where Notifications, Location, Photos, Camera and Microphone stand on each iPhone, at launch and whenever it comes back to the front, without asking for any of them. A super admin sees both in the user sheet. `user phone set` sends the iPhone report.
|
|
@@ -15,14 +15,14 @@ export const operation = {
|
|
|
15
15
|
"flag": "name",
|
|
16
16
|
"kind": "string",
|
|
17
17
|
"required": true,
|
|
18
|
-
"description": "The page name: prototype- and two to five lowercase hyphenated words for a session (its file name), two to five words for Files (prototypes/<name>.html)."
|
|
18
|
+
"description": "The page name: prototype- and two to five lowercase hyphenated words for a session (its file name), two to five words for Files (system/prototypes/<name>.html)."
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
"name": "variants",
|
|
22
22
|
"flag": "variants",
|
|
23
23
|
"kind": "string",
|
|
24
24
|
"required": false,
|
|
25
|
-
"description": "one (default): one page, with a Variant control when there are several. per-variant: one page per Variant, <name>-<letter>-<words> in a session, prototypes/<name>/<letter>-<words>.html in Files.",
|
|
25
|
+
"description": "one (default): one page, with a Variant control when there are several. per-variant: one page per Variant, <name>-<letter>-<words> in a session, system/prototypes/<name>/<letter>-<words>.html in Files.",
|
|
26
26
|
"choices": [
|
|
27
27
|
"one",
|
|
28
28
|
"per-variant"
|
|
@@ -44,7 +44,7 @@ class CheckError extends Error {
|
|
|
44
44
|
* then dark), screenshots the baseline state's canvas and the real screen.
|
|
45
45
|
* 6. Compares them in the browser and draws the side-by-side picture of the worst theme.
|
|
46
46
|
* 7. Saves the picture as the session's `<name>-visual-check` artifact, or the File
|
|
47
|
-
* `prototypes/<name>-visual-check.png`; a failed save keeps the result with no image.
|
|
47
|
+
* `system/prototypes/<name>-visual-check.png`; a failed save keeps the result with no image.
|
|
48
48
|
* Any other failure is not compared, with a notice: the save itself goes on.
|
|
49
49
|
*/
|
|
50
50
|
export async function runVisualCheck(input) {
|
|
@@ -352,7 +352,7 @@ async function saveImage(input) {
|
|
|
352
352
|
const { fields } = input;
|
|
353
353
|
const name = typeof fields.name === 'string' ? fields.name : 'prototype';
|
|
354
354
|
if (typeof fields.workspaceId === 'string' && fields.workspaceId) {
|
|
355
|
-
const path = `prototypes/${name}${SUFFIX}.png`;
|
|
355
|
+
const path = `system/prototypes/${name}${SUFFIX}.png`;
|
|
356
356
|
const upload = join(input.image, '..', `${name}${SUFFIX}.png`);
|
|
357
357
|
copyFileSync(input.image, upload);
|
|
358
358
|
// The workspace form of `kosuke files set`, read from the registry like every command.
|
package/openapi.json
CHANGED
|
@@ -13852,6 +13852,7 @@
|
|
|
13852
13852
|
"prConflictSince",
|
|
13853
13853
|
"prBehindSince",
|
|
13854
13854
|
"prChecksFailedSince",
|
|
13855
|
+
"prBehindBlockedSince",
|
|
13855
13856
|
"model",
|
|
13856
13857
|
"kosukeFree",
|
|
13857
13858
|
"nextModel",
|
|
@@ -23158,10 +23159,10 @@
|
|
|
23158
23159
|
"properties": {
|
|
23159
23160
|
"name": {
|
|
23160
23161
|
"type": "string",
|
|
23161
|
-
"description": "The page name: prototype- and two to five lowercase hyphenated words for a session (its file name), two to five words for Files (prototypes/<name>.html)."
|
|
23162
|
+
"description": "The page name: prototype- and two to five lowercase hyphenated words for a session (its file name), two to five words for Files (system/prototypes/<name>.html)."
|
|
23162
23163
|
},
|
|
23163
23164
|
"variants": {
|
|
23164
|
-
"description": "one (default): one page, with a Variant control when there are several. per-variant: one page per Variant, <name>-<letter>-<words> in a session, prototypes/<name>/<letter>-<words>.html in Files.",
|
|
23165
|
+
"description": "one (default): one page, with a Variant control when there are several. per-variant: one page per Variant, <name>-<letter>-<words> in a session, system/prototypes/<name>/<letter>-<words>.html in Files.",
|
|
23165
23166
|
"type": "string",
|
|
23166
23167
|
"enum": ["one", "per-variant"]
|
|
23167
23168
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3601",
|
|
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": "9a655f1891bab0c7f694f3acc9a0861f32470b43",
|
|
47
|
+
"sourceIdentity": "f852f4e5b4e2bda1550bc85847f7db82997feca351c3d7281909135ccce54962",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
49
|
+
"files-system-folder-mnobqz.json"
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
}
|