krims-code-cli 1.5.5__tar.gz → 1.5.6__tar.gz
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.
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/PKG-INFO +1 -1
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_code_cli.egg-info/PKG-INFO +1 -1
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/package.json +1 -1
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ui/banner.js +34 -47
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/LICENSE +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/README.md +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_code_cli.egg-info/SOURCES.txt +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_code_cli.egg-info/dependency_links.txt +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_code_cli.egg-info/entry_points.txt +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_code_cli.egg-info/top_level.txt +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/__init__.py +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/cli.py +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/bin/krims-code.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/package-lock.json +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/agent.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ai/fallback.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ai/google.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ai/providers.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ai/router.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ai/search.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ai/telemetry.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ai/tokens.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ai/universal.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ai/xai.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/chat.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/cli.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/commands/commit.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/commands/dashboard.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/commands/github.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/commands/index.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/commands/status.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/commands/teamwork-preview.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/commands/theme.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/commands/themes.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/config.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/dashboard.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/file-parser.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/git.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/mic.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/modes.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/telemetry-server.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ui/dashboard.html +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ui/spinner.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/ui/theme.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/updater.js +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/setup.cfg +0 -0
- {krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krishivpb60/krims-code-cli",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.6",
|
|
4
4
|
"description": "Krims Code AI — A cyberpunk command-line AI assistant with multi-mode reasoning, 12-node failover mesh, file context injection, and offline fallbacks.",
|
|
5
5
|
"main": "src/cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -37,27 +37,16 @@ function loadConfigSync() {
|
|
|
37
37
|
* @param {string} [currentMode='titan'] - The currently active mode name
|
|
38
38
|
*/
|
|
39
39
|
export function showBanner(currentMode = "titan") {
|
|
40
|
-
const c1 =
|
|
41
|
-
const c2 =
|
|
42
|
-
const c3 =
|
|
40
|
+
const c1 = chalk.hex('#FF3E3E'); // Red-Orange
|
|
41
|
+
const c2 = chalk.hex('#FF8500'); // Orange
|
|
42
|
+
const c3 = chalk.hex('#FFD000'); // Yellow
|
|
43
|
+
const c4 = chalk.hex('#00F2FF'); // Cyan
|
|
44
|
+
const c5 = chalk.hex('#0085FF'); // Blue
|
|
45
|
+
const c6 = chalk.hex('#7000FF'); // Violet
|
|
46
|
+
const c7 = chalk.hex('#B000FF'); // Purple
|
|
43
47
|
const dim = colors.dim;
|
|
44
48
|
|
|
45
|
-
// 1.
|
|
46
|
-
const logo = [
|
|
47
|
-
"",
|
|
48
|
-
c1(" ╔═══════════════════════════════════════════════════════════╗"),
|
|
49
|
-
c1(" ║") + c2(" ██╗ ██╗██████╗ ██╗███╗ ███╗███████╗ ") + c1("║"),
|
|
50
|
-
c1(" ║") + c2(" ██║ ██╔╝██╔══██╗██║████╗ ████║██╔════╝ ") + c1("║"),
|
|
51
|
-
c1(" ║") + c1(" █████╔╝ ██████╔╝██║██╔████╔██║███████╗ ") + c1("║"),
|
|
52
|
-
c1(" ║") + c3(" ██╔═██╗ ██╔══██╗██║██║╚██╔╝██║╚════██║ ") + c1("║"),
|
|
53
|
-
c1(" ║") + c3(" ██║ ██╗██║ ██║██║██║ ╚═╝ ██║███████║ ") + c1("║"),
|
|
54
|
-
c1(" ║") + dim(" ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚══════╝ ") + c1("║"),
|
|
55
|
-
c1(" ╚═══════════════════════════════════════════════════════════╝"),
|
|
56
|
-
].join("\n");
|
|
57
|
-
|
|
58
|
-
console.log(logo);
|
|
59
|
-
|
|
60
|
-
// 2. Fetch User & System Context
|
|
49
|
+
// 1. Fetch User & System Context
|
|
61
50
|
let username = "Explorer";
|
|
62
51
|
try {
|
|
63
52
|
username = os.userInfo().username;
|
|
@@ -103,12 +92,12 @@ export function showBanner(currentMode = "titan") {
|
|
|
103
92
|
// Fallback
|
|
104
93
|
}
|
|
105
94
|
|
|
106
|
-
//
|
|
95
|
+
// 2. Render side-by-side logo and system info
|
|
107
96
|
const columns = process.stdout.columns || 80;
|
|
108
97
|
const boxWidth = Math.max(76, Math.min(90, columns - 4));
|
|
109
|
-
const maxValueWidth = boxWidth -
|
|
98
|
+
const maxValueWidth = boxWidth - 30;
|
|
110
99
|
|
|
111
|
-
// Truncate values to fit the
|
|
100
|
+
// Truncate values to fit the screen cleanly
|
|
112
101
|
let workspaceValue = displayCwd;
|
|
113
102
|
if (workspaceValue.length > maxValueWidth) {
|
|
114
103
|
workspaceValue = "..." + workspaceValue.slice(-(maxValueWidth - 3));
|
|
@@ -119,45 +108,43 @@ export function showBanner(currentMode = "titan") {
|
|
|
119
108
|
engineValue = engineValue.slice(0, maxValueWidth - 3) + "...";
|
|
120
109
|
}
|
|
121
110
|
|
|
122
|
-
// Truncate description to ensure total mode value (badge + sep + desc) fits within maxValueWidth
|
|
123
111
|
const modeBadgeText = getVisibleLength(modeText);
|
|
124
|
-
const maxDescWidth = maxValueWidth - modeBadgeText - 3;
|
|
112
|
+
const maxDescWidth = maxValueWidth - modeBadgeText - 3;
|
|
125
113
|
let descValue = desc;
|
|
126
114
|
if (descValue.length > maxDescWidth) {
|
|
127
115
|
descValue = descValue.slice(0, Math.max(10, maxDescWidth - 3)) + "...";
|
|
128
116
|
}
|
|
129
117
|
const modeRowValue = `${modeText} ${colors.dim(`— ${descValue}`)}`;
|
|
130
118
|
|
|
131
|
-
function formatRow(label, value) {
|
|
132
|
-
const spaces = " ".repeat(Math.max(0, 14 - getVisibleLength(label)));
|
|
133
|
-
return `${label}${spaces}${value}`;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
119
|
const packagerText = process.env.KRIMS_PACKAGER === "pip"
|
|
137
120
|
? "pip (krims-code-cli)"
|
|
138
121
|
: "npm (@krishivpb60/krims-code-cli)";
|
|
139
122
|
|
|
140
|
-
const
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
123
|
+
const logo = [
|
|
124
|
+
c1(" █▄ ▄█"),
|
|
125
|
+
c2(" ██ ██ "),
|
|
126
|
+
c3(" ██ ▄█ "),
|
|
127
|
+
c4(" ███▀ "),
|
|
128
|
+
c5(" ██ ▀█ "),
|
|
129
|
+
c6(" ██ ██ "),
|
|
130
|
+
c7(" █▀ ▀█")
|
|
131
|
+
];
|
|
132
|
+
|
|
133
|
+
const info = [
|
|
134
|
+
` ⚡ ${colors.brand("KRIMS CODE COMMAND STATION v" + version)} • Welcome back, ${colors.accent(username)}`,
|
|
135
|
+
dim(` ${"─".repeat(Math.max(40, boxWidth - 18))}`),
|
|
136
|
+
` ${colors.muted(getIcon("workspace", config) + "Workspace")} : ${colors.text(workspaceValue)}`,
|
|
137
|
+
` ${colors.muted(getIcon("mode", config) + "Mode")} : ${modeRowValue}`,
|
|
138
|
+
` ${colors.muted(getIcon("network", config) + "Network")} : ${meshStatusText}`,
|
|
139
|
+
` ${colors.muted(getIcon("engine", config) + "Engine")} : ${colors.text(engineValue)}`,
|
|
140
|
+
` ${colors.muted(getIcon("package", config) + "Packager")} : ${colors.text(packagerText)}`
|
|
146
141
|
];
|
|
147
142
|
|
|
148
|
-
console.log(
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
const leftLine = "═".repeat(2);
|
|
152
|
-
const rightLine = "═".repeat(boxWidth - 21);
|
|
153
|
-
const top = dim(` ╔${leftLine} `) + colors.brand("SYSTEM STATE") + dim(` ${rightLine}╗`);
|
|
154
|
-
console.log(top);
|
|
155
|
-
for (const row of rows) {
|
|
156
|
-
const visibleLen = getVisibleLength(row);
|
|
157
|
-
const padding = " ".repeat(Math.max(0, boxWidth - visibleLen - 2));
|
|
158
|
-
console.log(dim(" ║ ") + row + padding + dim(" ║"));
|
|
143
|
+
console.log("");
|
|
144
|
+
for (let i = 0; i < 7; i++) {
|
|
145
|
+
console.log(logo[i] + info[i]);
|
|
159
146
|
}
|
|
160
|
-
console.log(
|
|
147
|
+
console.log("");
|
|
161
148
|
|
|
162
149
|
// 4. Quick Starter Cards (two columns)
|
|
163
150
|
const starters = [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/commands/dashboard.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{krims_code_cli-1.5.5 → krims_code_cli-1.5.6}/krims_pip/node_project/src/telemetry-server.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|