@mjasnikovs/pi-task 0.10.0 → 0.10.1

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.
@@ -22,7 +22,6 @@ export interface ClarifyQuestion {
22
22
  }
23
23
  export declare const GRILL_LINE_RE: RegExp;
24
24
  export declare const SUGGESTED_LINE_RE: RegExp;
25
- export declare const TITLE_MAX_CHARS = 120;
26
25
  export declare function parseVerifyBlock(spec: string): VerifyCommand[] | null;
27
26
  export declare function parseGrillQuestions(raw: string): string[];
28
27
  export declare function parseClarifyList(raw: string): ClarifyQuestion[];
@@ -7,7 +7,6 @@ import { MAX_GRILL_QUESTIONS } from './phases.js';
7
7
  // ─── Constants ───────────────────────────────────────────────────────────────
8
8
  export const GRILL_LINE_RE = /^\s*\d+[.)]\s+(.+)$/;
9
9
  export const SUGGESTED_LINE_RE = /^\s*SUGGESTED:\s*(.*)$/i;
10
- export const TITLE_MAX_CHARS = 120;
11
10
  // ─── Verify block parser ─────────────────────────────────────────────────────
12
11
  export function parseVerifyBlock(spec) {
13
12
  const lines = spec.split('\n');
@@ -222,9 +221,7 @@ export function deriveTitle(refined) {
222
221
  const headerCheck = line.replace(/^#+\s+/, '');
223
222
  if (/^(CONSTRAINTS|KNOWN-UNKNOWNS)\s*:?\s*$/i.test(headerCheck))
224
223
  break;
225
- return line.length > TITLE_MAX_CHARS ?
226
- line.slice(0, TITLE_MAX_CHARS - 1) + '…'
227
- : line;
224
+ return line;
228
225
  }
229
226
  break;
230
227
  }
@@ -236,7 +233,7 @@ export function deriveTitle(refined) {
236
233
  line = line.replace(/^#+\s+/, '').replace(/^GOAL\s*:?\s*/i, '');
237
234
  if (line.length === 0)
238
235
  continue;
239
- return line.length > TITLE_MAX_CHARS ? line.slice(0, TITLE_MAX_CHARS - 1) + '…' : line;
236
+ return line;
240
237
  }
241
238
  return '(untitled)';
242
239
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjasnikovs/pi-task",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Deterministic spec-orchestration for local models, with a bundled real-time remote web view and web/docs/fetch/worker subagent tools.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",