Skip to content

Upgrade the Octavus SDK to v7 - #59

Merged
BrianGenisio merged 2 commits into
mainfrom
chore/octavus-v7
Nov 17, 2026
Merged

BrianGenisio merged 2 commits into
mainfrom
chore/octavus-v7

Conversation

@salbert96

@salbert96 salbert96 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Octavus released agent-sdk v7 (7.0.0, since followed by 7.1.0 and 7.2.0), and we're upgrading to stay on the latest version. This PR moves @octavus/client-sdk, @octavus/server-sdk, and @octavus/cli to 7.2.0.

Changes

  • Sessions API. The server's assistant, quick-action, and character flows use sessions.create(), attach(), and clear(). create() now returns the session, so each call site reads its id.
  • Attachment uploads. POST /api/upload-urls creates the files through files.create(files, { sessionId }). 7.2.0 makes a file a project resource and deprecates files.getUploadUrls(sessionId, files) as an alias of this same call, so the session the files are created for and the response the browser receives are unchanged.
  • No browser changes. The UI only reads text and file parts and the propose-draft tool's arguments, and none of these change shape in v7.
  • Display rule documented. The cosmo-mail protocol now notes that propose-draft must stay display: stream: the UI reads its arguments off the message parts, and a title-mode tool arrives there with empty arguments.
  • Docs. The SDK notes in similar-project-details.md describe the v7 calls.

Notes

  • The cosmo-mail change is a comment only, so a sync is optional. Both agents validate on v7 with zero issues.

Related PRs

The same v7 upgrade in the other lower-traffic repos (Plan, Learn, Hire, Engine, cosmo-chat, and the mobile app are upgraded separately):

References

@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The project upgrades the Octavus client, server, and CLI dependency ranges to version 7. Server session creation, attachment, and cleanup now use octavus.sessions. Session IDs come from the id field of creation results. Upload URL requests use octavus.files.create. The SDK notes document the updated version and APIs. A protocol comment specifies stream display mode for propose-draft.

Suggested reviewers: aimemp

Merge Risk: Minimal · up to db2da

The change migrates the server to the new Octavus SDK session and file APIs. No concrete merge-blocking risk was identified in the supplied changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: upgrading the Octavus SDK to v7. The changeset moves the client, server, and CLI SDK dependencies to 7.2.0 and updates server.js and docs to the v7 session and file A…
Description check Passed The description is closely related to the changeset. It explains the move of the client, server, and CLI SDKs to 7.2.0, the sessions API change in server.js, the files.create upload change, the cosmo-…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: upgrading the Octavus SDK to v7. The changeset moves the client, server, and CLI SDK dependencies to 7.2.0 and updates server.js and docs to the v7 session and file APIs. The title is specific and matches the primary change. The commit message says 7.2.0 while the description says v7.0.0, but the title does not name a patch version, so it does not conflict.

Full details: Description check

Explanation

The description is closely related to the changeset. It explains the move of the client, server, and CLI SDKs to 7.2.0, the sessions API change in server.js, the files.create upload change, the cosmo-mail protocol comment, and the similar-project-details.md docs. It is detailed and matches the file summaries.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: aaba8077-867c-45b6-8859-b8a8f90a5490
Commits

Reviewing files that changed from the base of the PR and between 00ae4c1 and db2da40.

Files ignored due to path filters: 1

  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 3

  • package.json
  • server.js
  • similar-project-details.md

Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@BrianGenisio BrianGenisio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested both agents. Looks good.

@BrianGenisio
BrianGenisio merged commit 2a7340b into main Nov 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants