Skip to content

feat: add cloud browser support#14

Open
hewliyang wants to merge 11 commits intomainfrom
split/browser-package
Open

feat: add cloud browser support#14
hewliyang wants to merge 11 commits intomainfrom
split/browser-package

Conversation

@hewliyang
Copy link
Copy Markdown
Owner

@hewliyang hewliyang commented Mar 22, 2026

Summary

  • add new @office-agents/browser package for browser-native cloud browser automation
  • add browse custom bash command backed by Browserbase / Browser Use
  • add settings UI for browser provider credentials and live browser viewer in chat
  • update tool rendering and bash tool output handling to support the new flow

Included

  • packages/browser
  • SDK exports/config for browser sessions
  • chat UI: settings, browser viewer, tool result rendering tweak
  • system prompt mentions for browse

Validation

  • pnpm typecheck
  • pnpm --filter @office-agents/browser typecheck
  • pnpm exec vitest run --environment happy-dom packages/sdk/tests/tools-bash.test.ts
  • office-bridge smoke test in live Word runtime:
    • browse registered in bash
    • browse --help works
    • Word system prompt mentions browse

@hewliyang hewliyang force-pushed the split/browser-package branch from ef16e97 to 0dbdad7 Compare March 22, 2026 05:43
@hewliyang hewliyang force-pushed the split/browser-package branch from f4410f5 to 9aa5234 Compare March 23, 2026 11:25
pdfjs-dist v5 uses Uint8Array.prototype.toHex() (a TC39 proposal) in its
modern build. This exists in modern browsers but not in Node.js. Rather
than switching to the legacy build (which would bloat the browser bundle
with unnecessary polyfills), add the polyfill only in the vitest setup.
@hewliyang hewliyang force-pushed the split/browser-package branch from 9aa5234 to fc41aac Compare March 23, 2026 11:27
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.

1 participant