klui-code 0.1.1 → 0.1.2

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/cli.js CHANGED
@@ -37,6 +37,8 @@ function seedSettings(config, piVersion) {
37
37
  // Reasoning shows as one line until asked for, and the model can batch tool calls in one
38
38
  // codemode script: fewer round trips, so runs are faster and use fewer requests.
39
39
  settings.hideThinkingBlock ??= true;
40
+ // Reason hard by default; a level the user picks (alt+t) is saved here and kept.
41
+ settings.defaultThinkingLevel ??= "high";
40
42
  settings.defaultTools ??= ["+codemode"];
41
43
  // Fullscreen, so selecting text copies it (the terminal can't tell Klui about its own
42
44
  // selection). Klui makes its scrolling as smooth as the terminal's (see scroll.ts). Earlier
@@ -9,7 +9,7 @@ export function createFooter(pi, ctx, tui, theme, footerData) {
9
9
  return {
10
10
  render(width) {
11
11
  const level = pi.getThinkingLevel();
12
- const think = ctx.model?.reasoning && level && level !== "off" ? ` · think ${level}` : "";
12
+ const think = ctx.model?.reasoning && level && level !== "off" ? ` · ${level}` : "";
13
13
  const usage = ctx.getContextUsage();
14
14
  const statuses = [...footerData.getExtensionStatuses().values()].filter(Boolean);
15
15
  // Event credits only pay for the event's models.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "klui-code",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "klui-code",
9
- "version": "0.1.1",
9
+ "version": "0.1.2",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@earendil-works/chord": "1.1.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "klui-code",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Klui Code: a pixel-cute coding agent for your terminal, built on Pi and running on AntSeed.",
5
5
  "keywords": [
6
6
  "klui",