kritya 0.8.71-beta → 0.8.73-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 CHANGED
@@ -1,3 +1,7 @@
1
+ <p align="center">
2
+ <img src="assets/kritya-bear.png" alt="The Kritya bear, working on a laptop" width="200">
3
+ </p>
4
+
1
5
  # kritya
2
6
 
3
7
  [![CI](https://github.com/GenAICloudDevOps/Kritya/actions/workflows/ci.yml/badge.svg)](https://github.com/GenAICloudDevOps/Kritya/actions/workflows/ci.yml)
@@ -7,7 +11,8 @@
7
11
 
8
12
  Dependency risk is scanned on [Socket](https://socket.dev/npm/package/kritya);
9
13
  see [SECURITY.md](SECURITY.md#dependency-scanning) for how flagged findings
10
- are triaged.
14
+ are triaged. Dependencies and source code are also scanned by
15
+ [Snyk](https://snyk.io/).
11
16
 
12
17
  > ⚠️ **Beta** — APIs, flags, and behavior may still change between releases.
13
18
 
package/dist/ui/App.js CHANGED
@@ -13,6 +13,7 @@ import { SessionStore } from "../session/store.js";
13
13
  import { defaultSandboxMode, sandboxAvailable } from "../shell/sandbox.js";
14
14
  import { resolveSafe } from "../tools/common.js";
15
15
  import { loadIgnorePatterns } from "../tools/ignore.js";
16
+ import { sweepColor } from "./Banner.js";
16
17
  import { Markdown } from "./Markdown.js";
17
18
  import { ModelPicker } from "./ModelPicker.js";
18
19
  import { ElicitationPrompt } from "./ElicitationPrompt.js";
@@ -745,7 +746,7 @@ export function App({ agent, workspace, modelRef, providerRef, config, resumedCo
745
746
  label: s.name || s.title,
746
747
  value: s.file,
747
748
  hint: `${s.shortId} · ${s.date} · ${s.count} msgs`,
748
- })), onSelect: onResumeSelect, onCancel: () => onResumeSelect("") })] })), phase === "palette" && (_jsxs(Box, { flexDirection: "column", borderStyle: "round", borderColor: "cyan", paddingX: 1, children: [_jsxs(Text, { bold: true, color: "cyan", children: ["Command palette", " ", _jsx(Text, { dimColor: true, children: "(type to filter \u00B7 \u2191\u2193 navigate \u00B7 Enter selects \u00B7 Esc closes \u00B7 Ctrl+P toggles)" })] }), paletteFilter ? (_jsxs(Text, { children: [_jsx(Text, { dimColor: true, children: "filter: " }), paletteFilter] })) : null, _jsx(SelectList, { items: paletteItems, onSelect: onPaletteSelect, onCancel: () => setPhase("input") })] })), phase === "history" && (_jsxs(Box, { flexDirection: "column", borderStyle: "round", borderColor: "yellow", paddingX: 1, children: [_jsxs(Text, { bold: true, color: "yellow", children: ["History", " ", _jsx(Text, { dimColor: true, children: "(type to search \u00B7 \u2191\u2193 navigate \u00B7 Enter selects \u00B7 Esc closes \u00B7 Ctrl+R toggles)" })] }), _jsxs(Text, { children: [_jsx(Text, { dimColor: true, children: "query: " }), historyFilter || _jsx(Text, { dimColor: true, children: "(all recent prompts)" })] }), historyMatches.length === 0 ? (_jsx(Text, { dimColor: true, children: " no matches" })) : (historyMatches.slice(0, 10).map((m, i) => (_jsxs(Text, { color: i === historySelected ? "green" : undefined, children: [i === historySelected ? "❯ " : " ", m.text] }, `${m.index}:${m.text}`))))] })), phase === "input" && (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Box, { borderStyle: "round", borderColor: "gray", paddingX: 1, children: [_jsx(Text, { color: "green", children: "\u276F " }), _jsx(TextInput, { value: input, onChange: (v) => {
749
+ })), onSelect: onResumeSelect, onCancel: () => onResumeSelect("") })] })), phase === "palette" && (_jsxs(Box, { flexDirection: "column", borderStyle: "round", borderColor: "cyan", paddingX: 1, children: [_jsxs(Text, { bold: true, color: "cyan", children: ["Command palette", " ", _jsx(Text, { dimColor: true, children: "(type to filter \u00B7 \u2191\u2193 navigate \u00B7 Enter selects \u00B7 Esc closes \u00B7 Ctrl+P toggles)" })] }), paletteFilter ? (_jsxs(Text, { children: [_jsx(Text, { dimColor: true, children: "filter: " }), paletteFilter] })) : null, _jsx(SelectList, { items: paletteItems, onSelect: onPaletteSelect, onCancel: () => setPhase("input") })] })), phase === "history" && (_jsxs(Box, { flexDirection: "column", borderStyle: "round", borderColor: "yellow", paddingX: 1, children: [_jsxs(Text, { bold: true, color: "yellow", children: ["History", " ", _jsx(Text, { dimColor: true, children: "(type to search \u00B7 \u2191\u2193 navigate \u00B7 Enter selects \u00B7 Esc closes \u00B7 Ctrl+R toggles)" })] }), _jsxs(Text, { children: [_jsx(Text, { dimColor: true, children: "query: " }), historyFilter || _jsx(Text, { dimColor: true, children: "(all recent prompts)" })] }), historyMatches.length === 0 ? (_jsx(Text, { dimColor: true, children: " no matches" })) : (historyMatches.slice(0, 10).map((m, i) => (_jsxs(Text, { color: i === historySelected ? "green" : undefined, children: [i === historySelected ? "❯ " : " ", m.text] }, `${m.index}:${m.text}`))))] })), phase === "input" && (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Box, { borderStyle: "round", borderColor: "gray", paddingX: 1, children: [_jsxs(Text, { children: ["K>_".split("").map((ch, i) => (_jsx(Text, { color: sweepColor(i, 3), children: ch }, i))), " "] }), _jsx(TextInput, { value: input, onChange: (v) => {
749
750
  setInput(v.replace(/\t/g, ""));
750
751
  setCmdIndex(0);
751
752
  setFileIndex(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kritya",
3
- "version": "0.8.71-beta",
3
+ "version": "0.8.73-beta",
4
4
  "description": "Kritya — Superintelligence at your command line",
5
5
  "type": "module",
6
6
  "publishConfig": {