gm-skill 2.0.1586 → 2.0.1587
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,7 @@ session close <id>
|
|
|
22
22
|
timeout=<ms>\n<expression>
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
A bare expression with no live session opens one against `about:blank`; with a live session it reuses it. `session new` returns the id you carry; with more than one open, target it via `session=<id>\n<expr>`. (`session close` and `session kill` are aliases.) Default per-eval timeout
|
|
25
|
+
A bare expression with no live session opens one against `about:blank`; with a live session it reuses it. `session new` returns the id you carry; with more than one open, target it via `session=<id>\n<expr>`. (`session close` and `session kill` are aliases.) Default per-eval timeout 120000ms; operations that legitimately exceed it prefix `timeout=<ms>\n` (wrapper clamps to 120000ms). The response carries `timeout_ms_used`; `browser.runner-timeout` fires at the cap -- read `stderr`, narrow or raise, never retry blind at the same budget.
|
|
26
26
|
|
|
27
27
|
## Envelope
|
|
28
28
|
|
package/gm-plugkit/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-plugkit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1587",
|
|
4
4
|
"description": "Bootstrap and daemon-spawn tool for gm plugkit binary. Downloads the correct platform binary, verifies SHA256, and starts the spool watcher daemon. Includes plugkit-wasm-wrapper for WASM-based spool watching.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -1959,16 +1959,16 @@ function makeHostFunctions(instanceRef) {
|
|
|
1959
1959
|
const pwSessionId = getOrCreateBrowserSession(cwd, sessionId, pw);
|
|
1960
1960
|
stampBrowserLastUse(cwd, sessionId);
|
|
1961
1961
|
let evalBody = body;
|
|
1962
|
-
let timeoutMs =
|
|
1962
|
+
let timeoutMs = 120000;
|
|
1963
1963
|
const timeoutMatch = body.match(/^timeout=(\d+)\s*\n([\s\S]*)$/);
|
|
1964
1964
|
if (timeoutMatch) {
|
|
1965
1965
|
const requested = parseInt(timeoutMatch[1], 10);
|
|
1966
1966
|
if (Number.isFinite(requested) && requested > 0) {
|
|
1967
|
-
timeoutMs = Math.min(requested,
|
|
1967
|
+
timeoutMs = Math.min(requested, 120000);
|
|
1968
1968
|
evalBody = timeoutMatch[2];
|
|
1969
1969
|
}
|
|
1970
1970
|
}
|
|
1971
|
-
const outerTimeoutMs = Math.min(timeoutMs + 6000,
|
|
1971
|
+
const outerTimeoutMs = Math.min(timeoutMs + 6000, 126000);
|
|
1972
1972
|
const r = runBrowserRunner(pw, ['-s', pwSessionId, '--timeout', String(timeoutMs), '-e', evalBody], outerTimeoutMs, cwd, sessionId);
|
|
1973
1973
|
const ok = r.status === 0;
|
|
1974
1974
|
if (!ok && r.status === null) {
|
package/gm.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-skill",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1587",
|
|
4
4
|
"description": "Canonical universal harness — AI-native software engineering via skill-driven orchestration; bootstraps plugkit for task execution and session isolation. Install in any AI coding agent host.",
|
|
5
5
|
"author": "AnEntrypoint",
|
|
6
6
|
"license": "MIT",
|