Skip to content

Add core tool that adds all context from the core package.#15238

Merged
jacob314 merged 1 commit into
mainfrom
core_command
Dec 18, 2025
Merged

Add core tool that adds all context from the core package.#15238
jacob314 merged 1 commit into
mainfrom
core_command

Conversation

@jacob314

@jacob314 jacob314 commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

Summary

packages/core is now too large to fit in the context window but sometimes it is handy to get all the context anyway
Added a /core tool that only adds the source files from core without tests or other data files. This keeps it at less than 50% of the Gemini CLI context window rather than at 100%. I've had good results with this creating detailed plans for large refactors that have taken 2 hours to run with no manual intervention (#15234).

@jacob314 jacob314 requested a review from a team as a code owner December 18, 2025 05:25
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@github-actions

Copy link
Copy Markdown

Size Change: -2 B (0%)

Total Size: 22 MB

ℹ️ View Unchanged
Filename Size Change
./bundle/gemini.js 22 MB -2 B (0%)
./bundle/sandbox-macos-permissive-closed.sb 1.03 kB 0 B
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-closed.sb 3.29 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B

compressed-size-action

@jacob314 jacob314 enabled auto-merge December 18, 2025 15:40
@jacob314 jacob314 added this pull request to the merge queue Dec 18, 2025
Merged via the queue into main with commit 088f48d Dec 18, 2025
20 checks passed
@jacob314 jacob314 deleted the core_command branch December 18, 2025 15:52
thacio added a commit to thacio/auditaria that referenced this pull request Jan 23, 2026
@sripasg sripasg added the size/s A small PR label Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s A small PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants