kritya 0.8.28-beta → 0.8.29-beta
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/README.md +3 -2
- package/dist/ui/Banner.js +4 -2
- package/dist/ui/TranscriptItem.js +1 -1
- package/dist/ui/useAgent.js +2 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -13,8 +13,9 @@ are triaged.
|
|
|
13
13
|
|
|
14
14
|
Open source, [MIT licensed](LICENSE).
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
Superintelligence at your command line
|
|
17
|
+
|
|
18
|
+
It works with any OpenAI-compatible endpoint: [build.nvidia.com](https://build.nvidia.com)
|
|
18
19
|
(Qwen3 Coder, Kimi K3, DeepSeek, GLM, Nemotron, ...) by default, plus OpenAI,
|
|
19
20
|
OpenRouter, Groq, DeepSeek, Mistral, Together, and local models via Ollama.
|
|
20
21
|
|
package/dist/ui/Banner.js
CHANGED
|
@@ -50,7 +50,9 @@ function rowColor(row) {
|
|
|
50
50
|
return `#${[r, g, b].map((c) => c.toString(16).padStart(2, "0")).join("")}`;
|
|
51
51
|
}
|
|
52
52
|
const BETA_LABEL = "beta";
|
|
53
|
-
|
|
53
|
+
/** Product tagline shown under the banner on launch. */
|
|
54
|
+
export const TAGLINE = "Superintelligence at your command line";
|
|
55
|
+
export function Banner({ tagline, subtitle, compact, }) {
|
|
54
56
|
if (compact) {
|
|
55
57
|
return (_jsx(Box, { marginBottom: 1, children: _jsx(Text, { dimColor: true, children: subtitle }) }));
|
|
56
58
|
}
|
|
@@ -70,5 +72,5 @@ export function Banner({ subtitle, compact }) {
|
|
|
70
72
|
const indent = leftPad + aStart + Math.max(0, aWidth - BETA_LABEL.length);
|
|
71
73
|
return " ".repeat(indent) + BETA_LABEL;
|
|
72
74
|
})();
|
|
73
|
-
return (_jsxs(Box, { flexDirection: "column", marginTop: 2, marginBottom: 1, children: [lines ? (lines.map((line, i) => (_jsx(Text, { color: rowColor(i), children: center(line) }, i)))) : (_jsx(Text, { bold: true, color: "cyan", children: center("KRITYA") })), betaLine ? _jsx(Text, { dimColor: true, children: betaLine }) : null, _jsx(Box, { marginTop: 2, children: subtitle ? _jsx(Text, { dimColor: true, children: center(subtitle) }) : null }), _jsx(Text, { dimColor: true, children: center("AI can make mistakes. Verify important output.") })] }));
|
|
75
|
+
return (_jsxs(Box, { flexDirection: "column", marginTop: 2, marginBottom: 1, children: [lines ? (lines.map((line, i) => (_jsx(Text, { color: rowColor(i), children: center(line) }, i)))) : (_jsx(Text, { bold: true, color: "cyan", children: center("KRITYA") })), betaLine ? _jsx(Text, { dimColor: true, children: betaLine }) : null, tagline ? _jsx(Text, { children: center(tagline) }) : null, _jsx(Box, { marginTop: 2, children: subtitle ? _jsx(Text, { dimColor: true, children: center(subtitle) }) : null }), _jsx(Text, { dimColor: true, children: center("AI can make mistakes. Verify important output.") })] }));
|
|
74
76
|
}
|
|
@@ -10,5 +10,5 @@ export function TranscriptItem({ item, verbose, contentWidth }) {
|
|
|
10
10
|
return (_jsxs(Box, { marginBottom: item.kind === "tool" ? 0 : 1, flexDirection: "column", children: [item.kind === "user" && (_jsxs(Text, { children: [_jsxs(Text, { bold: true, color: "green", children: ["\u276F", " "] }), item.text] })), item.kind === "assistant" && _jsx(Markdown, { text: item.text, width: contentWidth }), item.kind === "tool" && (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Text, { dimColor: true, children: [item.error ? _jsx(Text, { color: "red", children: "\u2717" }) : _jsx(Text, { color: "green", children: "\u2713" }), " ", item.summary, item.resultSummary && !verbose ? ` — ${item.resultSummary}` : ""] }), item.output && item.output.trim() && (item.resultSummary === undefined || verbose) && (_jsx(Text, { dimColor: true, children: toolOutputPreview(item.output, verbose, Math.max(20, contentWidth - TOOL_INDENT), item.error)
|
|
11
11
|
.split("\n")
|
|
12
12
|
.map((l) => ` ${l}`)
|
|
13
|
-
.join("\n") }))] })), item.kind === "info" && _jsx(Text, { dimColor: true, children: item.text }), item.kind === "banner" && _jsx(Banner, { subtitle: item.subtitle, compact: item.compact }), item.kind === "summary" && (_jsxs(Box, { flexDirection: "column", borderStyle: "round", borderColor: "green", paddingX: 1, children: [_jsx(Text, { bold: true, color: "green", children: "\u2713 Completed" }), item.files.length > 0 ? (_jsxs(Box, { flexDirection: "column", children: [_jsx(Text, { dimColor: true, children: "Changed:" }), item.files.map((f) => (_jsxs(Text, { children: [" ", f] }, f)))] })) : (_jsx(Text, { dimColor: true, children: "No files changed." })), _jsxs(Text, { dimColor: true, children: ["Next: ", item.nextStep] })] }))] }));
|
|
13
|
+
.join("\n") }))] })), item.kind === "info" && _jsx(Text, { dimColor: true, children: item.text }), item.kind === "banner" && (_jsx(Banner, { tagline: item.tagline, subtitle: item.subtitle, compact: item.compact })), item.kind === "summary" && (_jsxs(Box, { flexDirection: "column", borderStyle: "round", borderColor: "green", paddingX: 1, children: [_jsx(Text, { bold: true, color: "green", children: "\u2713 Completed" }), item.files.length > 0 ? (_jsxs(Box, { flexDirection: "column", children: [_jsx(Text, { dimColor: true, children: "Changed:" }), item.files.map((f) => (_jsxs(Text, { children: [" ", f] }, f)))] })) : (_jsx(Text, { dimColor: true, children: "No files changed." })), _jsxs(Text, { dimColor: true, children: ["Next: ", item.nextStep] })] }))] }));
|
|
14
14
|
}
|
package/dist/ui/useAgent.js
CHANGED
|
@@ -7,6 +7,7 @@ import { ProviderClient, RetryExhaustedError, friendlyProviderErrorHint, } from
|
|
|
7
7
|
import { createSwitchyardClient } from "../provider/switchyardClient.js";
|
|
8
8
|
import { SWITCHYARD_ROUTE_ID, resolveEffectiveModel } from "../provider/switchyardSidecar.js";
|
|
9
9
|
import { KillSwitchError } from "../agent/killSwitch.js";
|
|
10
|
+
import { TAGLINE } from "./Banner.js";
|
|
10
11
|
import { defaultSandboxMode, sandboxAvailable } from "../shell/sandbox.js";
|
|
11
12
|
import { loadProjectState, nextPhase, PHASE_COMMAND, } from "../agent/workflow.js";
|
|
12
13
|
import { tavilySearch } from "../tools/webSearch.js";
|
|
@@ -51,6 +52,7 @@ export function useAgent({ agent, workspace, modelRef, providerRef, config, uiBr
|
|
|
51
52
|
{
|
|
52
53
|
id: nextId.current++,
|
|
53
54
|
kind: "banner",
|
|
55
|
+
tagline: TAGLINE,
|
|
54
56
|
subtitle: `${path.basename(workspace)} · ${modelRef.current} · type a request, or /help for commands`,
|
|
55
57
|
compact: !firstLaunch,
|
|
56
58
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kritya",
|
|
3
|
-
"version": "0.8.
|
|
4
|
-
"description": "Kritya —
|
|
3
|
+
"version": "0.8.29-beta",
|
|
4
|
+
"description": "Kritya — Superintelligence at your command line",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"provenance": true
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"ink": "^8.0.0",
|
|
65
65
|
"jszip": "^3.10.1",
|
|
66
66
|
"mammoth": "^1.12.2",
|
|
67
|
-
"openai": "^7.
|
|
67
|
+
"openai": "^7.28.0",
|
|
68
68
|
"pdf-lib": "^1.17.1",
|
|
69
69
|
"pdfjs-dist": "^6.3.289",
|
|
70
70
|
"pptxgenjs": "^4.0.1",
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
"@eslint/js": "^10.0.1",
|
|
79
79
|
"@types/node": "^26.4.1",
|
|
80
80
|
"@types/react": "^19.2.18",
|
|
81
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
81
82
|
"c8": "^12.0.0",
|
|
82
83
|
"electron": "^44.2.0",
|
|
83
84
|
"electron-builder": "^26.15.3",
|
|
@@ -89,8 +90,7 @@
|
|
|
89
90
|
"prettier": "^3.9.0",
|
|
90
91
|
"tsx": "^4.23.13",
|
|
91
92
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
92
|
-
"
|
|
93
|
-
"typescript-eslint": "^8.69.0"
|
|
93
|
+
"typescript-eslint": "^8.71.1"
|
|
94
94
|
},
|
|
95
95
|
"overrides": {
|
|
96
96
|
"brace-expansion": "^5.0.12",
|