jinzd-ai-cli 0.1.75 → 0.1.76

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.
@@ -8,7 +8,7 @@ import { platform } from "os";
8
8
  import chalk from "chalk";
9
9
 
10
10
  // src/core/constants.ts
11
- var VERSION = "0.1.75";
11
+ var VERSION = "0.1.76";
12
12
  var APP_NAME = "ai-cli";
13
13
  var CONFIG_DIR_NAME = ".aicli";
14
14
  var CONFIG_FILE_NAME = "config.json";
@@ -16,7 +16,7 @@ import {
16
16
  SUBAGENT_MAX_ROUNDS_LIMIT,
17
17
  VERSION,
18
18
  runTestsTool
19
- } from "./chunk-KDXXHXYU.js";
19
+ } from "./chunk-6FYQR6TY.js";
20
20
 
21
21
  // src/config/config-manager.ts
22
22
  import { readFileSync, writeFileSync, existsSync, mkdirSync } from "fs";
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ import {
35
35
  theme,
36
36
  truncateOutput,
37
37
  undoStack
38
- } from "./chunk-MD2SRFU4.js";
38
+ } from "./chunk-RROTI54R.js";
39
39
  import {
40
40
  AGENTIC_BEHAVIOR_GUIDELINE,
41
41
  AUTHOR,
@@ -55,7 +55,7 @@ import {
55
55
  REPO_URL,
56
56
  SKILLS_DIR_NAME,
57
57
  VERSION
58
- } from "./chunk-KDXXHXYU.js";
58
+ } from "./chunk-6FYQR6TY.js";
59
59
 
60
60
  // src/index.ts
61
61
  import { program } from "commander";
@@ -1904,7 +1904,7 @@ ${hint}` : "")
1904
1904
  description: "Run project tests and show structured report",
1905
1905
  usage: "/test [command|filter]",
1906
1906
  async execute(args, _ctx) {
1907
- const { executeTests } = await import("./run-tests-D5RGQY6A.js");
1907
+ const { executeTests } = await import("./run-tests-W44VYI2J.js");
1908
1908
  const argStr = args.join(" ").trim();
1909
1909
  let testArgs = {};
1910
1910
  if (argStr) {
@@ -5291,7 +5291,7 @@ program.command("web").description("Start Web UI server with browser-based chat
5291
5291
  console.error("Error: Invalid port number. Must be between 1 and 65535.");
5292
5292
  process.exit(1);
5293
5293
  }
5294
- const { startWebServer } = await import("./server-4ZYMNPYO.js");
5294
+ const { startWebServer } = await import("./server-HINOHGE2.js");
5295
5295
  await startWebServer({ port, host: options.host });
5296
5296
  });
5297
5297
  program.command("sessions").description("List recent conversation sessions").action(async () => {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  executeTests,
4
4
  runTestsTool
5
- } from "./chunk-KDXXHXYU.js";
5
+ } from "./chunk-6FYQR6TY.js";
6
6
  export {
7
7
  executeTests,
8
8
  runTestsTool
@@ -22,7 +22,7 @@ import {
22
22
  setupProxy,
23
23
  spawnAgentContext,
24
24
  truncateOutput
25
- } from "./chunk-MD2SRFU4.js";
25
+ } from "./chunk-RROTI54R.js";
26
26
  import {
27
27
  AGENTIC_BEHAVIOR_GUIDELINE,
28
28
  CONTEXT_FILE_CANDIDATES,
@@ -34,7 +34,7 @@ import {
34
34
  PLAN_MODE_SYSTEM_ADDON,
35
35
  SKILLS_DIR_NAME,
36
36
  VERSION
37
- } from "./chunk-KDXXHXYU.js";
37
+ } from "./chunk-6FYQR6TY.js";
38
38
 
39
39
  // src/web/server.ts
40
40
  import express from "express";
@@ -424,10 +424,21 @@ function scrollToBottom() {
424
424
 
425
425
  function setProcessing(value) {
426
426
  processing = value;
427
- btnSend.classList.toggle('hidden', value);
427
+ // During processing: show BOTH send (as interjection) and stop buttons
428
+ // Send button changes style to indicate interjection mode
428
429
  btnStop.classList.toggle('hidden', !value);
429
- userInput.disabled = value;
430
- if (!value) userInput.focus();
430
+ if (value) {
431
+ btnSend.classList.remove('btn-primary');
432
+ btnSend.classList.add('btn-warning');
433
+ btnSend.title = 'Send interjection (correct/redirect AI)';
434
+ userInput.placeholder = 'Type to interject/correct the AI... (Enter to send)';
435
+ } else {
436
+ btnSend.classList.add('btn-primary');
437
+ btnSend.classList.remove('btn-warning');
438
+ btnSend.title = 'Send';
439
+ userInput.placeholder = 'Type a message... (Shift+Enter for newline)';
440
+ userInput.focus();
441
+ }
431
442
  }
432
443
 
433
444
  function updateProviderSelect(currentId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jinzd-ai-cli",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
4
4
  "description": "Cross-platform REPL-style AI CLI with multi-provider support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",