@vincemakes/kiso-web 0.52.0 → 0.54.0
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/dist/main/agent.js +11 -6
- package/dist/main/approvals.js +15 -3
- package/dist/main/artifacts.js +69 -12
- package/dist/main/context.js +20 -0
- package/dist/main/desk-api.js +181 -7
- package/dist/main/env.js +2 -0
- package/dist/main/environment.js +102 -0
- package/dist/main/folder-info.js +18 -1
- package/dist/main/fork.js +25 -0
- package/dist/main/fs-routes.js +53 -4
- package/dist/main/git.js +117 -0
- package/dist/main/history.js +20 -6
- package/dist/main/host.js +20 -1
- package/dist/main/names.js +15 -0
- package/dist/main/pick-folder.js +41 -0
- package/dist/main/prs.js +37 -0
- package/dist/main/settings.js +82 -8
- package/dist/main/space.js +105 -20
- package/dist/main/tasks.js +4 -0
- package/dist/main/times.js +19 -0
- package/dist/main/usage.js +32 -2
- package/dist/main/work-folders.js +28 -0
- package/dist/main/works.js +21 -0
- package/dist/shared/git.js +2 -0
- package/out/renderer/assets/index-CSaqocLC.css +1 -0
- package/out/renderer/assets/index-Dt9YIp7q.js +46 -0
- package/out/renderer/favicon-32.png +0 -0
- package/out/renderer/favicon.svg +1 -0
- package/out/renderer/icon.png +0 -0
- package/out/renderer/index.html +5 -3
- package/package.json +10 -10
- package/dist/shared/thinking.js +0 -65
- package/out/renderer/assets/index-CmrQEQ98.js +0 -44
- package/out/renderer/assets/index-D9KtogVK.css +0 -1
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-2 -2 104 104"><style>path{fill:#1a1a1a}@media (prefers-color-scheme:dark){path{fill:#f0f6fc}}</style><path d="m89 54c-0.5-1.3-0.8-2.7-0.8-3.9 0.2-5.5 7-11.1 9.5-19.4 2.2-7.3 2.2-17.3-5.2-23.8-2.7-2.4-7-4.7-12.7-4.7-2.6 0-5.3 0.4-7.8 1.2-4.7 1.5-7.8 3.5-14.5 7.8-2.6 1.5-4.6 2.6-7.5 2.6s-5-1.1-7.5-2.6c-6.7-4.3-11.1-7.2-15.8-8.3-1.6-0.4-3.5-0.7-6.1-0.7-5.7 0-10 2-12.9 4.7-7.3 6.7-7.4 16-5.2 22.9 2.6 7.9 8.4 13.1 8.9 18.8 0.2 1.6 0 3.5-0.9 5.4-2.8 5.7-8.4 10.9-8.9 21.5-0.2 4.2 0.3 8.9 2.8 13.1 2.1 3.3 6.5 8.3 16 8.5 12.5 0.2 18.8-6.9 25.8-9.6 1.3-0.5 2.5-0.7 3.8-0.7 6.7 0 11.4 6.9 21.9 9.8 2.2 0.7 4.7 1.1 7.5 1.2 4.2 0 7.5-0.8 10.2-2.3 4-2.1 6.5-5.8 7.7-8.8 1.1-2.9 1.6-5.9 1.6-8.8-0.2-10.6-7.3-17.4-9.9-23.9zm-71.2-3.6c6.4-0.4 11.6-1 17.4-4.2 3.3-1.8 6.4-4.5 8.6-7.3 3.1-4.2 5.6-9.5 6.1-17.1l0.1-2.2 0.2 2.2c1.2 13.1 9.3 20.8 16.2 24.3 4.5 2.4 8.7 3.6 15.8 4.1v0.2c-5.3 0.2-9.3 1-13.2 2.6-4.8 1.9-9.4 5.1-12.6 9.2-3.5 4.7-5.8 10-6.3 17.5l-0.1 1.4-0.2-2c-0.4-5.7-2.3-11-5.4-15.3-2.3-3.3-5.3-6.1-8.9-8.2-3.4-2.1-8-4.2-15.9-5.1l-1.8-0.1z"/></svg>
|
package/out/renderer/icon.png
CHANGED
|
Binary file
|
package/out/renderer/index.html
CHANGED
|
@@ -5,10 +5,12 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<title>kiso</title>
|
|
7
7
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
8
|
-
|
|
8
|
+
<!-- the tab icon: the mark alone, filling its square (the app-icon tile below is for the Dock and the home screen) -->
|
|
9
|
+
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
10
|
+
<link rel="icon" href="/favicon-32.png" sizes="32x32" type="image/png" />
|
|
9
11
|
<link rel="apple-touch-icon" href="/icon.png" />
|
|
10
|
-
<script type="module" crossorigin src="/assets/index-
|
|
11
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
12
|
+
<script type="module" crossorigin src="/assets/index-Dt9YIp7q.js"></script>
|
|
13
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CSaqocLC.css">
|
|
12
14
|
</head>
|
|
13
15
|
<body>
|
|
14
16
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vincemakes/kiso-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "kiso web: a local web app on the hosted-session service, served on 127.0.0.1.",
|
|
6
6
|
"type": "module",
|
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
"start": "node dist/main/headless.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@vincemakes/kiso-client": "0.
|
|
30
|
-
"@vincemakes/kiso-code": "0.
|
|
31
|
-
"@vincemakes/kiso-core": "0.
|
|
32
|
-
"@vincemakes/kiso-protocol": "0.
|
|
33
|
-
"@vincemakes/kiso-provider-openai": "0.
|
|
34
|
-
"@vincemakes/kiso-runtime": "0.
|
|
35
|
-
"@vincemakes/kiso-server": "0.
|
|
36
|
-
"@vincemakes/kiso-tools-node": "0.
|
|
29
|
+
"@vincemakes/kiso-client": "0.54.0",
|
|
30
|
+
"@vincemakes/kiso-code": "0.54.0",
|
|
31
|
+
"@vincemakes/kiso-core": "0.54.0",
|
|
32
|
+
"@vincemakes/kiso-protocol": "0.54.0",
|
|
33
|
+
"@vincemakes/kiso-provider-openai": "0.54.0",
|
|
34
|
+
"@vincemakes/kiso-runtime": "0.54.0",
|
|
35
|
+
"@vincemakes/kiso-server": "0.54.0",
|
|
36
|
+
"@vincemakes/kiso-tools-node": "0.54.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^26.1.2",
|
|
40
40
|
"@types/react": "19.3.0",
|
|
41
41
|
"@types/react-dom": "19.3.0",
|
|
42
|
-
"@vincemakes/kiso-evals": "0.
|
|
42
|
+
"@vincemakes/kiso-evals": "0.54.0",
|
|
43
43
|
"@vitejs/plugin-react": "6.1.2",
|
|
44
44
|
"react": "19.3.1",
|
|
45
45
|
"react-dom": "19.3.1",
|
package/dist/shared/thinking.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Thinking on the wire arrives as many small `thinking` deltas. The stream
|
|
3
|
-
* the owner approved shows ONE line that pages to each paragraph's first
|
|
4
|
-
* sentence and opens to the full text. This is that pager, as a pure
|
|
5
|
-
* function over the deltas — nothing in the protocol needs to change.
|
|
6
|
-
*
|
|
7
|
-
* push(text) → what became known: a paragraph's `line` (its first
|
|
8
|
-
* sentence, once that sentence is complete), or a closed
|
|
9
|
-
* `paragraph` (its full text, once a blank line follows)
|
|
10
|
-
* flush() → the open paragraph at the end of the thinking
|
|
11
|
-
*
|
|
12
|
-
* A paragraph ends at a blank line. Its first sentence ends at the first
|
|
13
|
-
* `.`, `!` or `?` followed by whitespace, at a line break, or at the end of
|
|
14
|
-
* the paragraph when none comes.
|
|
15
|
-
*/
|
|
16
|
-
const SENTENCE_END = /^(.*?[.!?])\s/s;
|
|
17
|
-
export class ThinkingPager {
|
|
18
|
-
#buf = "";
|
|
19
|
-
#paragraph = 0;
|
|
20
|
-
#lineSent = false;
|
|
21
|
-
push(text) {
|
|
22
|
-
this.#buf += text;
|
|
23
|
-
const events = [];
|
|
24
|
-
for (;;) {
|
|
25
|
-
const gap = /\n[ \t]*\n/.exec(this.#buf);
|
|
26
|
-
if (gap === null)
|
|
27
|
-
break;
|
|
28
|
-
const body = this.#buf.slice(0, gap.index);
|
|
29
|
-
this.#buf = this.#buf.slice(gap.index + gap[0].length);
|
|
30
|
-
if (body.trim() !== "")
|
|
31
|
-
this.#close(body, events);
|
|
32
|
-
}
|
|
33
|
-
this.#firstLine(events);
|
|
34
|
-
return events;
|
|
35
|
-
}
|
|
36
|
-
flush() {
|
|
37
|
-
const events = [];
|
|
38
|
-
if (this.#buf.trim() !== "")
|
|
39
|
-
this.#close(this.#buf, events);
|
|
40
|
-
this.#buf = "";
|
|
41
|
-
return events;
|
|
42
|
-
}
|
|
43
|
-
#firstLine(events) {
|
|
44
|
-
if (this.#lineSent)
|
|
45
|
-
return;
|
|
46
|
-
const trimmed = this.#buf.replace(/^\s+/, "");
|
|
47
|
-
const nl = trimmed.indexOf("\n");
|
|
48
|
-
const m = SENTENCE_END.exec(trimmed);
|
|
49
|
-
const cut = m !== null ? m[1].length : -1;
|
|
50
|
-
const end = nl !== -1 && (cut === -1 || nl < cut) ? nl : cut;
|
|
51
|
-
if (end !== -1 && end > 0) {
|
|
52
|
-
this.#lineSent = true;
|
|
53
|
-
events.push({ kind: "line", paragraph: this.#paragraph, text: trimmed.slice(0, end).trim() });
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
#close(body, events) {
|
|
57
|
-
if (!this.#lineSent) {
|
|
58
|
-
// a short paragraph with no sentence end: its whole text is its line
|
|
59
|
-
events.push({ kind: "line", paragraph: this.#paragraph, text: body.trim().split("\n")[0].trim() });
|
|
60
|
-
}
|
|
61
|
-
events.push({ kind: "paragraph", paragraph: this.#paragraph, text: body.trim() });
|
|
62
|
-
this.#paragraph += 1;
|
|
63
|
-
this.#lineSent = false;
|
|
64
|
-
}
|
|
65
|
-
}
|