@vincemakes/kiso-code 0.1.25 → 0.1.27

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -4
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -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:
@@ -213,8 +216,11 @@ Tool discipline:
213
216
  - shell is for commands: builds, tests, git, grep. Be careful — shell has
214
217
  side effects and may take time. Run one command at a time and inspect
215
218
  the output before continuing.
216
- - search_text and list_dir are cheap use them to orient before reading
217
- whole files.
219
+ - Batch independent tool calls into one reply they run in parallel.
220
+ - search_text and list_dir are cheap — locate first, then read ranges
221
+ with read_file offset/limit; never read a whole large file in one call.
222
+ - Do not re-read a file you already read unchanged — rely on the earlier
223
+ result.
218
224
  - When a tool fails, read the error and adjust; do not repeat the same
219
225
  call blindly.
220
226
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-code",
3
- "version": "0.1.25",
4
- "description": "kiso CLI \u2014 the coding-agent reference product: kiso chat / kiso resume / kiso sessions.",
3
+ "version": "0.1.27",
4
+ "description": "kiso CLI the coding-agent reference product: kiso chat / kiso resume / kiso sessions.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -18,13 +18,13 @@
18
18
  "test": "vitest run"
19
19
  },
20
20
  "dependencies": {
21
- "@vincemakes/kiso-core": "0.1.25",
22
- "@vincemakes/kiso-evals": "0.1.25",
23
- "@vincemakes/kiso-provider-anthropic": "0.1.25",
24
- "@vincemakes/kiso-provider-openai": "0.1.25",
25
- "@vincemakes/kiso-runtime": "0.1.25",
26
- "@vincemakes/kiso-tools-node": "0.1.25",
27
- "@vincemakes/kiso-tui": "0.1.25"
21
+ "@vincemakes/kiso-core": "0.1.27",
22
+ "@vincemakes/kiso-evals": "0.1.27",
23
+ "@vincemakes/kiso-provider-anthropic": "0.1.27",
24
+ "@vincemakes/kiso-provider-openai": "0.1.27",
25
+ "@vincemakes/kiso-runtime": "0.1.27",
26
+ "@vincemakes/kiso-tools-node": "0.1.27",
27
+ "@vincemakes/kiso-tui": "0.1.27"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^26.1.2",