build: migrate typescript to ^7 (native tsc)#209
Closed
valkyriweb wants to merge 4 commits into
Closed
Conversation
…it (#2) The Claude Code / Desktop PreToolUse hook wrapped Bash without --store, so compacted output was discarded and the footer's "not retrievable" was true, forcing re-runs or /tmp dumps to recover full output. Now the claude-code wrap passes --store, persisting the full uncompacted output to a tokenjuice artifact, and the compaction footer cites that file's path so the agent reads it directly instead of re-running the command. - buildWrappedCommand: opt-in store/storeDir (other hosts unchanged) - buildWrapAuthoritativeFooter: path-aware footer when a raw artifact exists - decorateWrapInlineText: emit the stored raw path Tests for the store flags, host emission, and the path-aware footer.
Typecheck drops to sub-second locally. TS7 did not auto-discover @types/node under the pnpm layout (520 TS2591 'Cannot find name process' errors), so the tsconfig now declares types:[node] explicitly. 763/763 tests + esbuild build pass on the new toolchain.
Author
|
Opened against upstream by mistake — internal CI change for our fork. Apologies for the noise. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
CI-speedup track (2026-07-16 compute audit): typecheck was the last slow step in the ~51s
qualityjob. TypeScript 7 (native Go tsc) typechecks this repo in <1s locally.What
typescript^5.9.3→^7.0.2tsconfig.json: explicit"types": ["node"]— TS7 did not auto-discover@types/nodein the pnpm layout (everyprocess/node-global usage produced TS2591 without it).Verification (local, worktree)
pnpm typecheck— pass, 0.78s wallpnpm build— pass (esbuild, 16ms)pnpm test— 763/763 passpnpm lint— 0 warnings / 0 errorsNo compiler-API consumers in this repo (only string fixtures mention typescript-eslint).