Files
hyperframes/scripts/package-size-budgets.json
T
James RussoandClaude Opus 5.5 7bf65995b3 feat(cli): add agent markers other detectors use, verified upstream (#7425)
* feat(cli): add agent markers other detectors use, verified upstream

Compared std-env, @vercel/detect-agent, am-i-vibing and agent-cli-detector
against our rules and kept only markers the agent itself sets on the
shells it spawns: Auggie AUGMENT_AGENT, Amp AMP_CURRENT_THREAD_ID, Cursor
CURSOR_CONVERSATION_ID and CURSOR_SANDBOX, Cline CLI CLINE_WRAPPER_PATH,
Muse MUSE_RELEASE_INFO, and Warp Oz OZ_RUN_ID (after the harnesses it
wraps).

Claude Code now keys on CLAUDE_CODE_CHILD_SESSION or
CLAUDE_CODE_ENTRYPOINT. Its IDE extensions also set CLAUDECODE in the
integrated terminal a person types into, so CLAUDECODE alone counted that
person as an agent: no prompts, agent-mode login.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* docs(cli): trim comments and fix citations the comment gates flag

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* chore: raise the cli packed size budget to its measured size

main already sat at the edge of the 1% tolerance; the new agent rules
put the packed CLI 842 bytes past it (8062664 vs 7982002 + 1%).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-09 03:28:52 +00:00

63 lines
1.2 KiB
JSON

{
"@hyperframes/aws-lambda": {
"packed": 78851,
"unpacked": 290508
},
"@hyperframes/cli": {
"packed": 8062664,
"unpacked": 25159107
},
"@hyperframes/core": {
"packed": 1762752,
"unpacked": 4268445
},
"@hyperframes/engine": {
"packed": 490452,
"unpacked": 1620913
},
"@hyperframes/gcp-cloud-run": {
"packed": 49412,
"unpacked": 170124
},
"@hyperframes/inspector": {
"packed": 858046,
"unpacked": 3684092
},
"@hyperframes/lint": {
"packed": 191022,
"unpacked": 737342
},
"@hyperframes/parsers": {
"packed": 203731,
"unpacked": 885314
},
"@hyperframes/player": {
"packed": 157145,
"unpacked": 541601
},
"@hyperframes/producer": {
"packed": 870000,
"unpacked": 3130000
},
"@hyperframes/sdk": {
"packed": 90662,
"unpacked": 325069
},
"@hyperframes/shader-transitions": {
"packed": 212864,
"unpacked": 825937
},
"@hyperframes/share": {
"packed": 60820,
"unpacked": 240537
},
"@hyperframes/studio": {
"packed": 5998328,
"unpacked": 24360208
},
"@hyperframes/studio-server": {
"packed": 164800,
"unpacked": 646000
}
}