@firefunc-agent/runner 0.9.4 → 0.9.5

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.
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "0.9.4",
3
- "builtAt": "2026-09-30T12:22:09.568Z"
2
+ "version": "0.9.5",
3
+ "builtAt": "2026-09-30T13:21:15.573Z"
4
4
  }
@@ -50,11 +50,12 @@ function isCodeLine(line) {
50
50
  const DIFF_HEAD = /^(?:diff --git |index [0-9a-f]{7,}\.\.[0-9a-f]{7,}|--- (?:a\/|\/dev\/null)|\+\+\+ (?:b\/|\/dev\/null)|@@ -\d+(?:,\d+)? \+\d+(?:,\d+)? @@)/;
51
51
  const DIFF_BODY = /^(?:[-+ \\]|@@ |diff --git |index |new file mode|deleted file mode|similarity index|rename (?:from|to) |old mode|new mode|Binary files )/;
52
52
  const INLINE_STATEMENT = /[;{}]|=>|(?<![=!<>])=(?![=>])|^\s*(?:return|throw|raise|const|let|var|def|import|from|export|function|class|if|for|while)\s/;
53
+ const QUERY_PAIR = /[?&][\w.[\]-]+=[^\s&#]*/g;
53
54
  function inlineSpan(whole, inner) {
54
55
  const named = /^[\w@./-]+(?::\d+)?$/.test(inner.trim());
55
56
  const code = inner.includes('\n') ||
56
57
  inner.length > 60 ||
57
- (/\s/.test(inner.trim()) && INLINE_STATEMENT.test(inner));
58
+ (/\s/.test(inner.trim()) && INLINE_STATEMENT.test(inner.replace(QUERY_PAIR, '')));
58
59
  return code && !named ? codeNote(null) : whole;
59
60
  }
60
61
  export function stripCode(text) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firefunc-agent/runner",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "FireFunc self-hosted runner — an always-on daemon that runs YOUR local coding agent (Claude Code, Codex, Gemini CLI, Cursor CLI) on work FireFunc routes to it, opens pull requests, and reports back. Your machine, your subscriptions.",