merge: integrate main (storage_session_id contract alignment) into feat/agent-skills-runtime#7
Merged
djuillard merged 9 commits intoMay 14, 2026
Conversation
docs: Add Star History section to README.md
Updated the API responses and models to replace all instances of session_id with storage_session_id for consistency. This change includes updates to the upload, list, and batch file operations, as well as adjustments in the corresponding tests and documentation to reflect the new naming convention.
…support Updated the upload_files_batch and list_files functions to include support for resource kind and version parameters. The upload logic now marks files as agent files based on the kind provided. Additionally, the RequestFile and FileRef models have been updated to accept resource_id, kind, and version fields, with corresponding tests added to validate these changes.
fix: Align API contract with LibreChat client (storage_session_id, kind, resource fields)
fix: Align API contract with LibreChat client (storage_session_id, kind, resource fields)
sync: merge usnavy13/main (4 commits, storage_session_id contract alignment)
…skills-2026-05-14
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.
Summary
Brings the freshly-synced
main(post PR #6) into our long-lived feature branchfeat/agent-skills-runtime. The merge direction ismain → feat-branch, not the other way around —feat/agent-skills-runtimeis the production branch (built intocode-interpreter:agent-skills) and continues to live independently.Closes the contract divergence with LibreChat dev (post-2026-05-12) reported in our 422 incident earlier today (see SECURITY-OPERATIONS.md §8.5 to be updated post-merge).
What's coming in (4 upstream commits via PR #6)
170194fMerge PR fix: Align API contract with LibreChat client (storage_session_id, kind, resource fields) usnavy13/LibreCodeInterpreter#109 —fix-contract-gaps(the bulk of the storage_session_id refactor)7567f3efeat: Enhance file upload and listing with resource kind and version support16bb6b6refactor: Renamesession_idtostorage_session_idacross API and modelsc34a123Merge PR fix: Align API contract with LibreChat client (storage_session_id, kind, resource fields) usnavy13/LibreCodeInterpreter#110 — promotes dev to main (505 unit + 239 integration + 86 functional tests passing per the upstream PR)Conflict resolution
None.
git merge origin/mainran clean.feat/agent-skills-runtimehadn't touchedsrc/api/files.py,src/models/exec.py, ortests/integration/test_librechat_compat.pysince the previous merge (PR #5 on 2026-05-08) — so the 22 files / +259 / -101 from PR #6 land here as a pure merge with no manual resolution.Stats
6877fdeContext — superseded local WIP
We had started writing our own compat patch on
fix/librechat-dev-2026-05-12-compat(4 commits, 13 integration tests) earlier today before realizing upstream PR usnavy13#110 had been merged 30 min before our commits were ready, covering the same ground with a wider scope (PTCFileInput,FileRef,GET /filesquery params on top of what we'd planned). That local branch is now abandoned in favour of this sync. The wider upstream patch is in this merge.Test plan
The merged code requires a rebuild of
code-interpreter:agent-skillsto take effect. After rebuild:code-interpreter-apistarts cleanly, logs showSandbox network access ENABLEDand/opt/skill-depscreatedfeat-branch/proc + bind syscall config)pytest tests/integration/test_librechat_compat.py(with-e API_KEY=test-api-key-for-testing-12345env override) passesFollow-up
Once merged, rebuild + restart
code-interpreter-apiand validate via the LibreChat UI. Then update SECURITY-OPERATIONS.md §8.5 with today's incident timeline + resolution.🤖 Generated with Claude Code
via Happy