Repository navigation
[chore]: bump archiver dep in browse - #3379
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 5d8ea53 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 170 files
Architecture diagram
sequenceDiagram
participant CLI as browse CLI
participant Oclif as Oclif Runtime
participant Daemon as Driver Daemon
participant Archiver as Archiver v8
participant FS as File System
Note over CLI,FS: Runtime Architecture - Dependency & Formatting Changes
CLI->>Oclif: Execute command
Oclif->>Oclif: Load command modules
alt Driver commands (e.g., open, click, type)
Oclif->>Daemon: Send driver request via socket
Daemon->>Daemon: Execute browser operation
alt Download/session files command
Daemon->>Archiver: NEW: Use archiver v8 API
Archiver->>FS: Create ZIP archive
FS-->>Archiver: File stream
Archiver-->>Daemon: Archive complete
end
Daemon-->>Oclif: Driver response
Oclif-->>CLI: Output result
end
Note over CLI,FS: Formatting Pipeline
CLI->>CLI: Run format:check
CLI->>CLI: Use oxfmt with .oxfmtrc config
alt File in packages/cli/src/**
CLI->>CLI: Apply formatting rules
else File in .browserbase directory
CLI->>CLI: Skip formatting (ignored)
end
Note over CLI,FS: Dependency Management
CLI->>CLI: Resolve dependencies
alt archiver dependency
CLI->>CLI: CHANGED: Use v8.x.x
else deepmerge dependency
CLI->>CLI: Removed (unused)
end
Note over CLI,FS: Error Handling
Oclif->>Oclif: Command execution error
alt CommandFailure
Oclif->>CLI: Format error message
CLI->>CLI: Exit with error code
end
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
Contributor
There was a problem hiding this comment.
No issues found across 4 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Architecture diagram
sequenceDiagram
participant CLI as CLI Entry
participant Publish as publish.ts
participant Tar as TarArchive
participant FS as File System
participant Ignore as ignore()
Note over CLI,Tar: New archiver 8.x integration in browse package publish flow
CLI->>Publish: publish command invoked
Publish->>Publish: createArchive(root)
Publish->>FS: createWriteStream(archivePath)
Publish->>Tar: new TarArchive({ gzip: true, gzipOptions: { level: 9 } })
Tar-->>Publish: archive instance
Publish->>Ignore: load .gitignore rules
Ignore-->>Publish: ignore matcher
Publish->>Publish: enumerate files to include
loop each file
Publish->>Tar: append(file, { name })
end
Publish->>Tar: finalize()
Tar->>FS: stream tar+gzip output to archivePath
FS-->>Tar: write complete
Tar-->>Publish: archive finalized
Publish-->>CLI: archive generated
shrey150
approved these changes
Nov 3, 2026
This was referenced Nov 3, 2026
shrey150
pushed a commit
that referenced
this pull request
Nov 13, 2026
Release Browse independently of the Stagehand SDKs. Merging this PR publishes the CLI from the merged commit. ## 0.11.4 ### Patch Changes - [#3426](#3426) [`f93e6d1`](f93e6d1) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Report an error when an active browser session disconnects during command startup instead of automatically starting a replacement. - [#3379](#3379) [`73fdba0`](73fdba0) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - remove unused deepmerge dependency - [#3330](#3330) [`dc8eb40`](dc8eb40) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - bump zod to 4.6.6 - [#3289](#3289) [`aa67fee`](aa67fee) Thanks [@shrey150](https://github.com/shrey150)! - Add `--stagehand` flag to `browse cloud extensions upload`. - [#3439](#3439) [`2fe947c`](2fe947c) Thanks [@github-actions](https://github.com/apps/github-actions)! - Make `browse doctor` fail and show the cause when the session's last browser start failed - [#3400](#3400) [`ce298c6`](ce298c6) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Add token validation to internal local Functions runtime requests - [#3408](#3408) [`6a56cbb`](6a56cbb) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Fix Windows package-manager command launching for Functions and templates, and terminate child processes when skill installation times out. - [#3391](#3391) [`3fbda6b`](3fbda6b) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Validate daemon directory locations before connecting to a session. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
what changed
archiverdependency to 8.x.xdeepmergedependencySummary by cubic
Bumps
archiverto 8.x in thebrowsepackage and removes the unuseddeepmergedependency.archiver8 no longer exports a default function, sopublish.tsnow uses theTarArchiveclass, and@types/archiveris bumped to match.Written for commit 5d8ea53. Summary will update on new commits.