@iinm/plain-agent 1.7.10 → 1.7.12

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.
@@ -103,7 +103,7 @@ USER sandbox
103
103
 
104
104
  # Install mise and project runtimes
105
105
  ENV PATH="/home/sandbox/.local/share/mise/shims:/home/sandbox/.local/bin:$PATH"
106
- RUN curl https://mise.jdx.sh/install.sh | sh
106
+ RUN curl https://mise.run | sh
107
107
 
108
108
  <MISE_INSTALL_COMMANDS>
109
109
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iinm/plain-agent",
3
- "version": "1.7.10",
3
+ "version": "1.7.12",
4
4
  "description": "A lightweight CLI-based coding agent",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/agentLoop.mjs CHANGED
@@ -57,6 +57,7 @@ export function createAgentLoop({
57
57
  * @returns {Promise<void>}
58
58
  */
59
59
  async function handleUserInput(input) {
60
+ pauseSignal.reset();
60
61
  toolUseApprover.resetApprovalCount();
61
62
  await inputHandler.handle(input);
62
63
  await runTurnLoop();
@@ -333,7 +333,11 @@ export function printMessage(message) {
333
333
  }
334
334
  case "text": {
335
335
  console.log(styleText("bold", "\nUser:"));
336
- console.log(part.text);
336
+ const highlighted = part.text.replace(
337
+ /^(<context.+?>|<\/context>)/gm,
338
+ styleText("green", "$1"),
339
+ );
340
+ console.log(highlighted);
337
341
  break;
338
342
  }
339
343
  case "image": {