Skip to content

feat: remove jq dependency, replace with awk (runtime) and node (buil…#17

Merged
glauberlima merged 1 commit intomainfrom
feat/remove-jq-dependency
Feb 23, 2026
Merged

feat: remove jq dependency, replace with awk (runtime) and node (buil…#17
glauberlima merged 1 commit intomainfrom
feat/remove-jq-dependency

Conversation

@glauberlima
Copy link
Copy Markdown
Owner

…d-time)

  • statusline.sh: replace parse_claude_input() jq call with a single awk program using obj_content/str_val/num_val helpers; removes ~7ms startup overhead per Claude Code UI refresh
  • patch-statusline.sh: replace 5x jq @sh calls with a single node invocation; replace jq empty validation with node JSON.parse
  • install.sh: replace jq empty and jq mutation in configure_settings() with node; update dependency check and install instructions from jq to node
  • tests/unit.sh: replace jq schema and length checks with node equivalents
  • CLAUDE.md: update architecture docs, dependencies, and performance targets

node is used for build/install-time tools because Claude Code already requires Node.js. awk is used for the runtime hot path (2-3ms vs node's 50-100ms startup).

…d-time)

- statusline.sh: replace parse_claude_input() jq call with a single awk
  program using obj_content/str_val/num_val helpers; removes ~7ms startup
  overhead per Claude Code UI refresh
- patch-statusline.sh: replace 5x jq @sh calls with a single node invocation;
  replace jq empty validation with node JSON.parse
- install.sh: replace jq empty and jq mutation in configure_settings() with
  node; update dependency check and install instructions from jq to node
- tests/unit.sh: replace jq schema and length checks with node equivalents
- CLAUDE.md: update architecture docs, dependencies, and performance targets

node is used for build/install-time tools because Claude Code already requires
Node.js. awk is used for the runtime hot path (2-3ms vs node's 50-100ms startup).
@glauberlima glauberlima merged commit 07de6c7 into main Feb 23, 2026
1 check passed
@glauberlima glauberlima deleted the feat/remove-jq-dependency branch March 6, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant