@vincemakes/kiso-code 0.1.24 → 0.1.26

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/dispatch.js CHANGED
@@ -18,7 +18,7 @@ export function dispatch(line, ctx) {
18
18
  // Prints the available commands with one-line descriptions.
19
19
  // v2a: the command names are the blue identity accent.
20
20
  const p = palette();
21
- const cmd = (name, desc) => `${p.blue}${name}${p.reset} ${desc}`;
21
+ const cmd = (name, desc) => `${p.bold}${name}${p.reset} ${desc}`;
22
22
  ctx.chainRef.current = ctx.chainRef.current.then(async () => {
23
23
  bodyLog(cmd("/help", "print this list of commands"));
24
24
  bodyLog(cmd("/think", "show the last full thinking block"));
package/dist/index.js CHANGED
@@ -164,7 +164,7 @@ function makeLineInput() {
164
164
  const editor = new Editor(() => (dock.active ? dock.redraw() : editor.selfRender()));
165
165
  editor.enter();
166
166
  const p = palette();
167
- dock.bindInput(() => editor.dockState(), `${p.blue}${EDITOR_PROMPT}${p.reset}`);
167
+ dock.bindInput(() => editor.dockState(), `${p.bold}${EDITOR_PROMPT}${p.reset}`);
168
168
  dock.bindMenu(() => editor.menuState()); // v3 §04: the slash-command menu
169
169
  return editorInput(editor);
170
170
  }
@@ -178,10 +178,13 @@ function bannerExtensionText() {
178
178
  if (total === 0)
179
179
  return "";
180
180
  const parts = [];
181
+ // 0.1.26 (MCP 懒连接): an extension with a live `connecting` flag shows
182
+ // its in-flight state in the banner — "mcp (connecting…)".
183
+ const label = (e) => e.connecting === true ? `${e.name} (connecting…)` : e.name;
181
184
  if (userExtensions.length > 0)
182
- parts.push(userExtensions.map((e) => e.name).join(", "));
185
+ parts.push(userExtensions.map(label).join(", "));
183
186
  if (projectExtensions.length > 0)
184
- parts.push(`project: ${projectExtensions.map((e) => e.name).join(", ")}`);
187
+ parts.push(`project: ${projectExtensions.map(label).join(", ")}`);
185
188
  return ` · [${total} extension${total === 1 ? "" : "s"}: ${parts.join(" · ")}]`;
186
189
  }
187
190
  /** E1: the startup banner line(s) — TTY: logo + merged extensions; off-TTY:
@@ -374,7 +377,7 @@ async function main() {
374
377
  // v2d: the body renderer — active only where the dock is (a color
375
378
  // TTY with a real size); pipes run it in passthrough, byte-for-byte.
376
379
  setBody(new Body({
377
- active: () => process.stdin.isTTY && palette().blue !== "" && (process.stdout.rows ?? 0) >= 4,
380
+ active: () => process.stdin.isTTY && palette().bold !== "" && (process.stdout.rows ?? 0) >= 4,
378
381
  height: () => process.stdout.rows ?? 24,
379
382
  width: () => process.stdout.columns ?? 80,
380
383
  editCol: () => dock.editCol(),
package/dist/trust-ui.js CHANGED
@@ -17,7 +17,7 @@ import { loadUserConfig, resolveProjectTrustPolicy } from "./config.js";
17
17
  * pipe bytes must not change.) */
18
18
  export function interactivePrompt() {
19
19
  const p = palette();
20
- return `${p.blue}you> ${p.reset}`;
20
+ return `${p.bold}you> ${p.reset}`;
21
21
  }
22
22
  /**
23
23
  * Ask the human a question. Non-interactive stdin (piped, CI) cannot wait
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-code",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "kiso CLI \u2014 the coding-agent reference product: kiso chat / kiso resume / kiso sessions.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -18,13 +18,13 @@
18
18
  "test": "vitest run"
19
19
  },
20
20
  "dependencies": {
21
- "@vincemakes/kiso-core": "0.1.24",
22
- "@vincemakes/kiso-evals": "0.1.24",
23
- "@vincemakes/kiso-provider-anthropic": "0.1.24",
24
- "@vincemakes/kiso-provider-openai": "0.1.24",
25
- "@vincemakes/kiso-runtime": "0.1.24",
26
- "@vincemakes/kiso-tools-node": "0.1.24",
27
- "@vincemakes/kiso-tui": "0.1.24"
21
+ "@vincemakes/kiso-core": "0.1.26",
22
+ "@vincemakes/kiso-evals": "0.1.26",
23
+ "@vincemakes/kiso-provider-anthropic": "0.1.26",
24
+ "@vincemakes/kiso-provider-openai": "0.1.26",
25
+ "@vincemakes/kiso-runtime": "0.1.26",
26
+ "@vincemakes/kiso-tools-node": "0.1.26",
27
+ "@vincemakes/kiso-tui": "0.1.26"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^26.1.2",