Conversation
This commit updates the Eldritch user guide to include short, 2-3 sentence summaries of each standard library module (Agent, File, HTTP, etc.). The web frontend's doc generation script (`generate-docs.js`) has been modified to parse these `## Library` headers in addition to the standard function signatures. On the frontend, this allows library names (e.g., `agent`, `sys`) to have dedicated documentation objects. The terminal syntax highlighting script in `shellUtils.ts` has been refactored to sort parsed docs keys by length descending, which correctly separates the syntax highlighting for `agent` and `agent.get_config`, allowing both tooltips to trigger flawlessly without masking each other. All tests passed. Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Summary
Previous Results
Insights
Slowest Tests
🎉 No failed tests in this run. | 🍂 No flaky tests in this run. Github Test Reporter by CTRF 💚 🔄 This comment has been updated |
| // Add the last function or library | ||
| if (inLibrarySection && currentLibrary) { | ||
| docs[currentLibrary] = { | ||
| signature: `import ${currentLibrary}`, |
There was a problem hiding this comment.
We don't support an import statement, so change this to just signature: ${currentLibrary}
There was a problem hiding this comment.
Done. Changed the signature to simply use the library name instead of import ....
…ment
Updates `generate-docs.js` to assign `signature: currentLibrary` rather than `import ${currentLibrary}`.
Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com>
Added documentation for standard libraries in the Eldritch documentation and wired them up to the Shell terminal's documentation tooltip logic by enhancing the internal documentation parser. Fixed a related bug where top-level object token highlighting inadvertently matched over method highlighting in the terminal UI.
PR created automatically by Jules for task 14705079632972166039 started by @KCarretto