@tendrilapp/cli 0.1.23 → 0.1.24
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/SKILL.md +12 -7
- package/dist/tendril-mcp.js +3 -3
- package/dist/tendril.js +831 -670
- package/package.json +1 -1
package/dist/SKILL.md
CHANGED
|
@@ -43,13 +43,18 @@ Long generator/score waits: silence is not a health signal, and POLL
|
|
|
43
43
|
cadence is not RELAY cadence (run 13: rounds landed 6–11 minutes apart,
|
|
44
44
|
so a correct 30s poll still left the user in 9-minute silences they
|
|
45
45
|
flagged as unacceptable). Two duties: relay each round's result the
|
|
46
|
-
moment `<candidateDir>/score-history.jsonl` gains a
|
|
47
|
-
scored: 15/21 at floor 0.885"), AND when more than ~60
|
|
48
|
-
with no round, emit a liveness line from the candidate
|
|
49
|
-
mtimes, which move while the generator is WRITING (thinking
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
moment `<candidateDir>/score-history.jsonl` gains a `round-scored` line
|
|
47
|
+
("round 3 scored: 15/21 at floor 0.885"), AND when more than ~60
|
|
48
|
+
seconds pass with no round, emit a liveness line from the candidate
|
|
49
|
+
dir's file mtimes, which move while the generator is WRITING (thinking
|
|
50
|
+
pauses are quiet — that is normal, not frozen) ("still
|
|
51
|
+
working — styles.css touched 20s ago"). Every history line carries an
|
|
52
|
+
`event`: `round-start` lands the moment a score BEGINS and has no
|
|
53
|
+
numbers — relay it as "round 3 scoring started", never as a result —
|
|
54
|
+
and `round-scored` carries that round's pass/total/floor/mean. So the
|
|
55
|
+
file appears with the first score's START; before that, its absence
|
|
56
|
+
means scoring has not begun yet, which early on is normal, not frozen.
|
|
57
|
+
A healthy run can take 30+ minutes; never kill on elapsed time
|
|
53
58
|
alone — count staleness from the LAST CHANGE to any signal, and when
|
|
54
59
|
past ~20 minutes of true staleness, ask the user before killing.
|
|
55
60
|
|
package/dist/tendril-mcp.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
//
|
|
3
|
+
// packages/mcp/src/bin.ts
|
|
4
4
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
5
5
|
import path2 from "node:path";
|
|
6
6
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
@@ -8,7 +8,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
8
8
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
9
9
|
import { z as z2 } from "zod";
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// packages/mcp/src/server.ts
|
|
12
12
|
import { execFile } from "node:child_process";
|
|
13
13
|
import { createHash } from "node:crypto";
|
|
14
14
|
import { existsSync, mkdtempSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
|
|
@@ -423,7 +423,7 @@ var IMPLEMENT_PROMPT = {
|
|
|
423
423
|
].join("\n")
|
|
424
424
|
};
|
|
425
425
|
|
|
426
|
-
//
|
|
426
|
+
// packages/mcp/src/bin.ts
|
|
427
427
|
var version = "dev";
|
|
428
428
|
try {
|
|
429
429
|
version = JSON.parse(readFileSync2(path2.join(path2.dirname(fileURLToPath2(import.meta.url)), "..", "package.json"), "utf8")).version ?? "dev";
|