@iceinvein/agent-skills 0.1.14 → 0.1.15

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/index.js CHANGED
@@ -650,10 +650,13 @@ var TOOL_NAMES2 = ["claude", "cursor", "codex", "gemini"];
650
650
 
651
651
  // src/cli/prompt.ts
652
652
  import { createInterface } from "node:readline";
653
- var rl = createInterface({ input: process.stdin, output: process.stdout });
654
653
  function ask(question) {
654
+ const rl = createInterface({ input: process.stdin, output: process.stdout });
655
655
  return new Promise((resolve) => {
656
- rl.question(question, (answer) => resolve(answer.trim()));
656
+ rl.question(question, (answer) => {
657
+ rl.close();
658
+ resolve(answer.trim());
659
+ });
657
660
  });
658
661
  }
659
662
  async function promptSelect(message, options) {
@@ -666,7 +669,6 @@ ${message}
666
669
  console.log(` ${options.length + 1}) All of the above`);
667
670
  const answer = await ask(`
668
671
  Select (comma-separated numbers, e.g. 1,3): `);
669
- rl.close();
670
672
  const nums = answer.split(",").map((s) => parseInt(s.trim(), 10));
671
673
  if (nums.includes(options.length + 1)) {
672
674
  return options.map((o) => o.value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iceinvein/agent-skills",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Install agent skills into AI coding tools",
5
5
  "author": "iceinvein",
6
6
  "license": "MIT",
@@ -5,6 +5,7 @@ description: >
5
5
  and readable prose. Three intensity levels: clean, tight (default), sharp.
6
6
  Always-on from session start. Switch with /terse clean|tight|sharp.
7
7
  Off with "stop terse" or "normal mode".
8
+ argument-hint: "[clean|tight|sharp]"
8
9
  ---
9
10
 
10
11
  Respond direct and concise. All technical substance stays. Grammar stays. Only waste dies.
@@ -13,7 +14,7 @@ Respond direct and concise. All technical substance stays. Grammar stays. Only w
13
14
 
14
15
  ACTIVE EVERY RESPONSE. No filler drift after many turns. Still active if unsure. Off only: "stop terse" / "normal mode".
15
16
 
16
- Default: **tight**. Switch: `/terse clean|tight|sharp`.
17
+ Active level: **$ARGUMENTS[0]** (default to **tight** if no argument provided). Switch anytime: `/terse clean|tight|sharp`.
17
18
 
18
19
  ## What to Eliminate
19
20