klui-code 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +122 -2
- package/bin/klui.js +2 -0
- package/dist/catalog.js +99 -0
- package/dist/checks.js +146 -0
- package/dist/cli.js +126 -0
- package/dist/extension/agents.js +251 -0
- package/dist/extension/checks.js +110 -0
- package/dist/extension/commands.js +183 -0
- package/dist/extension/footer.js +58 -0
- package/dist/extension/header.js +161 -0
- package/dist/extension/index.js +310 -0
- package/dist/extension/permissions.js +784 -0
- package/dist/extension/state.js +31 -0
- package/dist/extension/todos.js +124 -0
- package/dist/extension/tools.js +251 -0
- package/dist/extension/voice.js +61 -0
- package/dist/extension/web.js +119 -0
- package/dist/extension/working.js +92 -0
- package/dist/fallback.js +198 -0
- package/dist/images.js +67 -0
- package/dist/mascot.js +73 -0
- package/dist/pass.js +122 -0
- package/dist/paths.js +23 -0
- package/dist/pi-patches.js +295 -0
- package/dist/pixels.js +107 -0
- package/dist/scroll.js +77 -0
- package/dist/update.js +132 -0
- package/dist/usage.js +111 -0
- package/npm-shrinkwrap.json +1992 -0
- package/package.json +60 -4
- package/themes/klui-arcade.json +81 -0
- package/themes/klui-dark.json +81 -0
- package/themes/klui-light.json +81 -0
package/package.json
CHANGED
|
@@ -1,6 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "klui-code",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Klui Code: a pixel-cute coding agent for your terminal, built on Pi and running on AntSeed.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"klui",
|
|
7
|
+
"coding-agent",
|
|
8
|
+
"ai",
|
|
9
|
+
"cli",
|
|
10
|
+
"terminal",
|
|
11
|
+
"antseed",
|
|
12
|
+
"pi"
|
|
13
|
+
],
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"author": "Arya Sankhe",
|
|
16
|
+
"homepage": "https://github.com/Arya-Sankhe/Klui-Code#readme",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/Arya-Sankhe/Klui-Code.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/Arya-Sankhe/Klui-Code/issues"
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"bin": {
|
|
26
|
+
"klui": "bin/klui.js"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"bin",
|
|
30
|
+
"dist",
|
|
31
|
+
"themes",
|
|
32
|
+
"npm-shrinkwrap.json",
|
|
33
|
+
"README.md",
|
|
34
|
+
"LICENSE"
|
|
35
|
+
],
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=22.19.0"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p .",
|
|
41
|
+
"dev": "tsc -p . --watch",
|
|
42
|
+
"prepare": "npm run build",
|
|
43
|
+
"prepublishOnly": "npm run build && npm test",
|
|
44
|
+
"check": "tsc -p . --noEmit",
|
|
45
|
+
"test": "node --test test/*.test.mjs"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@earendil-works/chord": "1.1.0",
|
|
49
|
+
"@earendil-works/pi-agent-core": "1.1.0",
|
|
50
|
+
"@earendil-works/pi-ai": "1.1.0",
|
|
51
|
+
"@earendil-works/pi-codemode": "1.1.0",
|
|
52
|
+
"@earendil-works/pi-coding-agent": "1.1.0",
|
|
53
|
+
"@earendil-works/pi-mcp": "1.1.0",
|
|
54
|
+
"@earendil-works/pi-telemetry": "1.1.0",
|
|
55
|
+
"@earendil-works/pi-tui": "1.1.0",
|
|
56
|
+
"typebox": "1.3.27"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@types/node": "22.20.5",
|
|
60
|
+
"typescript": "5.9.3"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/earendil-works/pi/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
|
|
3
|
+
"name": "klui-arcade",
|
|
4
|
+
"appearance": "dark",
|
|
5
|
+
"vars": {
|
|
6
|
+
"text": "#f2ecff",
|
|
7
|
+
"muted": "#b0a3d4",
|
|
8
|
+
"dim": "#7d6fa6",
|
|
9
|
+
"line": "#43356b",
|
|
10
|
+
"sky": "#5fe3ff",
|
|
11
|
+
"blue": "#8f7bff",
|
|
12
|
+
"soft": "#c3b6ff",
|
|
13
|
+
"pink": "#ff5fd2",
|
|
14
|
+
"mint": "#a6ff4d",
|
|
15
|
+
"coral": "#ff5f6d",
|
|
16
|
+
"sun": "#ffe14d"
|
|
17
|
+
},
|
|
18
|
+
"colors": {
|
|
19
|
+
"accent": "sky",
|
|
20
|
+
"border": "blue",
|
|
21
|
+
"borderAccent": "sky",
|
|
22
|
+
"borderMuted": "line",
|
|
23
|
+
"success": "mint",
|
|
24
|
+
"error": "coral",
|
|
25
|
+
"warning": "sun",
|
|
26
|
+
"muted": "muted",
|
|
27
|
+
"dim": "dim",
|
|
28
|
+
"text": "text",
|
|
29
|
+
"thinkingText": "muted",
|
|
30
|
+
"selectedBg": "#35206b",
|
|
31
|
+
"scrollbarTrack": "line",
|
|
32
|
+
"scrollbarThumb": "muted",
|
|
33
|
+
"searchMatchBg": "#5a4a00",
|
|
34
|
+
"searchMatchText": "text",
|
|
35
|
+
"userMessageBg": "#24164a",
|
|
36
|
+
"userMessageText": "text",
|
|
37
|
+
"customMessageBg": "#2e1240",
|
|
38
|
+
"customMessageText": "muted",
|
|
39
|
+
"customMessageLabel": "pink",
|
|
40
|
+
"toolPendingBg": "#1c1433",
|
|
41
|
+
"toolSuccessBg": "#18301a",
|
|
42
|
+
"toolErrorBg": "#3a1424",
|
|
43
|
+
"toolTitle": "text",
|
|
44
|
+
"toolOutput": "muted",
|
|
45
|
+
"mdHeading": "sky",
|
|
46
|
+
"mdLink": "blue",
|
|
47
|
+
"mdLinkUrl": "dim",
|
|
48
|
+
"mdCode": "pink",
|
|
49
|
+
"mdCodeBlock": "text",
|
|
50
|
+
"mdCodeBlockBorder": "line",
|
|
51
|
+
"mdQuote": "muted",
|
|
52
|
+
"mdQuoteBorder": "blue",
|
|
53
|
+
"mdHr": "line",
|
|
54
|
+
"mdListBullet": "sky",
|
|
55
|
+
"toolDiffAdded": "mint",
|
|
56
|
+
"toolDiffRemoved": "coral",
|
|
57
|
+
"toolDiffContext": "dim",
|
|
58
|
+
"syntaxComment": "dim",
|
|
59
|
+
"syntaxKeyword": "blue",
|
|
60
|
+
"syntaxFunction": "sky",
|
|
61
|
+
"syntaxVariable": "text",
|
|
62
|
+
"syntaxString": "mint",
|
|
63
|
+
"syntaxNumber": "sun",
|
|
64
|
+
"syntaxType": "pink",
|
|
65
|
+
"syntaxOperator": "muted",
|
|
66
|
+
"syntaxPunctuation": "muted",
|
|
67
|
+
"thinkingOff": "line",
|
|
68
|
+
"thinkingMinimal": "dim",
|
|
69
|
+
"thinkingLow": "soft",
|
|
70
|
+
"thinkingMedium": "sky",
|
|
71
|
+
"thinkingHigh": "blue",
|
|
72
|
+
"thinkingXhigh": "pink",
|
|
73
|
+
"thinkingMax": "coral",
|
|
74
|
+
"bashMode": "mint"
|
|
75
|
+
},
|
|
76
|
+
"export": {
|
|
77
|
+
"pageBg": "#120b24",
|
|
78
|
+
"cardBg": "#1a1132",
|
|
79
|
+
"infoBg": "#24164a"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/earendil-works/pi/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
|
|
3
|
+
"name": "klui-dark",
|
|
4
|
+
"appearance": "dark",
|
|
5
|
+
"vars": {
|
|
6
|
+
"text": "#e6ebf5",
|
|
7
|
+
"muted": "#9aa6bd",
|
|
8
|
+
"dim": "#6b7690",
|
|
9
|
+
"line": "#3a4359",
|
|
10
|
+
"sky": "#8fd3fb",
|
|
11
|
+
"blue": "#6f9bff",
|
|
12
|
+
"soft": "#a8c4ef",
|
|
13
|
+
"pink": "#ff9ecb",
|
|
14
|
+
"mint": "#7ee0b5",
|
|
15
|
+
"coral": "#ff7a85",
|
|
16
|
+
"sun": "#ffd479"
|
|
17
|
+
},
|
|
18
|
+
"colors": {
|
|
19
|
+
"accent": "sky",
|
|
20
|
+
"border": "blue",
|
|
21
|
+
"borderAccent": "sky",
|
|
22
|
+
"borderMuted": "line",
|
|
23
|
+
"success": "mint",
|
|
24
|
+
"error": "coral",
|
|
25
|
+
"warning": "sun",
|
|
26
|
+
"muted": "muted",
|
|
27
|
+
"dim": "dim",
|
|
28
|
+
"text": "text",
|
|
29
|
+
"thinkingText": "muted",
|
|
30
|
+
"selectedBg": "#1f3358",
|
|
31
|
+
"scrollbarTrack": "line",
|
|
32
|
+
"scrollbarThumb": "muted",
|
|
33
|
+
"searchMatchBg": "#4a3d14",
|
|
34
|
+
"searchMatchText": "text",
|
|
35
|
+
"userMessageBg": "#16233d",
|
|
36
|
+
"userMessageText": "text",
|
|
37
|
+
"customMessageBg": "#221c38",
|
|
38
|
+
"customMessageText": "muted",
|
|
39
|
+
"customMessageLabel": "pink",
|
|
40
|
+
"toolPendingBg": "#1a1f2c",
|
|
41
|
+
"toolSuccessBg": "#11291f",
|
|
42
|
+
"toolErrorBg": "#2e161b",
|
|
43
|
+
"toolTitle": "text",
|
|
44
|
+
"toolOutput": "muted",
|
|
45
|
+
"mdHeading": "sky",
|
|
46
|
+
"mdLink": "blue",
|
|
47
|
+
"mdLinkUrl": "dim",
|
|
48
|
+
"mdCode": "pink",
|
|
49
|
+
"mdCodeBlock": "text",
|
|
50
|
+
"mdCodeBlockBorder": "line",
|
|
51
|
+
"mdQuote": "muted",
|
|
52
|
+
"mdQuoteBorder": "blue",
|
|
53
|
+
"mdHr": "line",
|
|
54
|
+
"mdListBullet": "sky",
|
|
55
|
+
"toolDiffAdded": "mint",
|
|
56
|
+
"toolDiffRemoved": "coral",
|
|
57
|
+
"toolDiffContext": "dim",
|
|
58
|
+
"syntaxComment": "dim",
|
|
59
|
+
"syntaxKeyword": "blue",
|
|
60
|
+
"syntaxFunction": "sky",
|
|
61
|
+
"syntaxVariable": "text",
|
|
62
|
+
"syntaxString": "mint",
|
|
63
|
+
"syntaxNumber": "sun",
|
|
64
|
+
"syntaxType": "pink",
|
|
65
|
+
"syntaxOperator": "muted",
|
|
66
|
+
"syntaxPunctuation": "muted",
|
|
67
|
+
"thinkingOff": "line",
|
|
68
|
+
"thinkingMinimal": "dim",
|
|
69
|
+
"thinkingLow": "soft",
|
|
70
|
+
"thinkingMedium": "sky",
|
|
71
|
+
"thinkingHigh": "blue",
|
|
72
|
+
"thinkingXhigh": "pink",
|
|
73
|
+
"thinkingMax": "coral",
|
|
74
|
+
"bashMode": "mint"
|
|
75
|
+
},
|
|
76
|
+
"export": {
|
|
77
|
+
"pageBg": "#11141c",
|
|
78
|
+
"cardBg": "#171c27",
|
|
79
|
+
"infoBg": "#16233d"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/earendil-works/pi/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
|
|
3
|
+
"name": "klui-light",
|
|
4
|
+
"appearance": "light",
|
|
5
|
+
"vars": {
|
|
6
|
+
"text": "#1b2233",
|
|
7
|
+
"muted": "#5d6880",
|
|
8
|
+
"dim": "#8a93a8",
|
|
9
|
+
"line": "#c9d1df",
|
|
10
|
+
"sky": "#1585c9",
|
|
11
|
+
"blue": "#2f6bff",
|
|
12
|
+
"soft": "#6f8fc9",
|
|
13
|
+
"pink": "#d6407f",
|
|
14
|
+
"mint": "#16885a",
|
|
15
|
+
"coral": "#d43c4c",
|
|
16
|
+
"sun": "#a86f00"
|
|
17
|
+
},
|
|
18
|
+
"colors": {
|
|
19
|
+
"accent": "sky",
|
|
20
|
+
"border": "blue",
|
|
21
|
+
"borderAccent": "sky",
|
|
22
|
+
"borderMuted": "line",
|
|
23
|
+
"success": "mint",
|
|
24
|
+
"error": "coral",
|
|
25
|
+
"warning": "sun",
|
|
26
|
+
"muted": "muted",
|
|
27
|
+
"dim": "dim",
|
|
28
|
+
"text": "text",
|
|
29
|
+
"thinkingText": "muted",
|
|
30
|
+
"selectedBg": "#dbe7fb",
|
|
31
|
+
"scrollbarTrack": "line",
|
|
32
|
+
"scrollbarThumb": "muted",
|
|
33
|
+
"searchMatchBg": "#fbefc4",
|
|
34
|
+
"searchMatchText": "text",
|
|
35
|
+
"userMessageBg": "#e8f1fc",
|
|
36
|
+
"userMessageText": "text",
|
|
37
|
+
"customMessageBg": "#f3ecfb",
|
|
38
|
+
"customMessageText": "muted",
|
|
39
|
+
"customMessageLabel": "pink",
|
|
40
|
+
"toolPendingBg": "#f1f4f9",
|
|
41
|
+
"toolSuccessBg": "#e3f6ec",
|
|
42
|
+
"toolErrorBg": "#fde8ea",
|
|
43
|
+
"toolTitle": "text",
|
|
44
|
+
"toolOutput": "muted",
|
|
45
|
+
"mdHeading": "sky",
|
|
46
|
+
"mdLink": "blue",
|
|
47
|
+
"mdLinkUrl": "dim",
|
|
48
|
+
"mdCode": "pink",
|
|
49
|
+
"mdCodeBlock": "text",
|
|
50
|
+
"mdCodeBlockBorder": "line",
|
|
51
|
+
"mdQuote": "muted",
|
|
52
|
+
"mdQuoteBorder": "blue",
|
|
53
|
+
"mdHr": "line",
|
|
54
|
+
"mdListBullet": "sky",
|
|
55
|
+
"toolDiffAdded": "mint",
|
|
56
|
+
"toolDiffRemoved": "coral",
|
|
57
|
+
"toolDiffContext": "dim",
|
|
58
|
+
"syntaxComment": "dim",
|
|
59
|
+
"syntaxKeyword": "blue",
|
|
60
|
+
"syntaxFunction": "sky",
|
|
61
|
+
"syntaxVariable": "text",
|
|
62
|
+
"syntaxString": "mint",
|
|
63
|
+
"syntaxNumber": "sun",
|
|
64
|
+
"syntaxType": "pink",
|
|
65
|
+
"syntaxOperator": "muted",
|
|
66
|
+
"syntaxPunctuation": "muted",
|
|
67
|
+
"thinkingOff": "line",
|
|
68
|
+
"thinkingMinimal": "dim",
|
|
69
|
+
"thinkingLow": "soft",
|
|
70
|
+
"thinkingMedium": "sky",
|
|
71
|
+
"thinkingHigh": "blue",
|
|
72
|
+
"thinkingXhigh": "pink",
|
|
73
|
+
"thinkingMax": "coral",
|
|
74
|
+
"bashMode": "mint"
|
|
75
|
+
},
|
|
76
|
+
"export": {
|
|
77
|
+
"pageBg": "#ffffff",
|
|
78
|
+
"cardBg": "#f6f8fc",
|
|
79
|
+
"infoBg": "#e8f1fc"
|
|
80
|
+
}
|
|
81
|
+
}
|