Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ jobs:
node-version: '20'
- name: Install ai-agent dependencies
run: npm ci
working-directory: ai-agent/pardus-browser
working-directory: ai-agent/open-browser
- name: Typecheck ai-agent
run: npm run lint
working-directory: ai-agent/pardus-browser
working-directory: ai-agent/open-browser
- name: Test ai-agent
run: npm test
working-directory: ai-agent/pardus-browser
working-directory: ai-agent/open-browser

security-audit:
name: security audit
Expand Down
28 changes: 14 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@
**/.DS_Store

# Adapter build artifacts
adapters/python/pardus-playwright/*.egg-info/
adapters/python/pardus-playwright/__pycache__/
adapters/python/pardus-playwright/build/
adapters/python/pardus-playwright/dist/
adapters/node/pardus-puppeteer/node_modules/
adapters/node/pardus-puppeteer/dist/
adapters/node/pardus-playwright/node_modules/
adapters/node/pardus-playwright/dist/
adapters/python/open-playwright/*.egg-info/
adapters/python/open-playwright/__pycache__/
adapters/python/open-playwright/build/
adapters/python/open-playwright/dist/
adapters/node/open-puppeteer/node_modules/
adapters/node/open-puppeteer/dist/
adapters/node/open-playwright/node_modules/
adapters/node/open-playwright/dist/

# Tauri frontend
crates/pardus-tauri/node_modules/
crates/pardus-tauri/frontend/node_modules/
crates/pardus-tauri/dist/
crates/pardus-tauri/frontend/dist/
crates/open-tauri/node_modules/
crates/open-tauri/frontend/node_modules/
crates/open-tauri/dist/
crates/open-tauri/frontend/dist/

# Web dashboard
web/node_modules/
web/dist/

# AI agent
ai-agent/pardus-browser/node_modules/
ai-agent/pardus-browser/dist/
ai-agent/open-browser/node_modules/
ai-agent/open-browser/dist/

# Lockfiles (committed for reproducibility)
# If you need to regenerate: rm **/package-lock.json && npm install
Expand Down
142 changes: 0 additions & 142 deletions .opencode/plans/pardus-kg-optimization.md

This file was deleted.

10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
### v0.4.0 — WebSocket Full Implementation

**WebSocket Support:**
- Added `WebSocketConnection` module (`crates/pardus-core/src/websocket/connection.rs`)
- Added `WebSocketConnection` module (`crates/open-core/src/websocket/connection.rs`)
- Async connect with configurable timeout
- `send_text()`, `send_binary()` for outgoing messages
- `recv()` returns `(WebSocketFrame, Vec<u8>)` for incoming messages
- Automatic Ping/Pong handling
- Connection statistics tracking (frames sent/received, bytes)
- Unique connection ID generation via URL hashing

- Added `WebSocketManager` module (`crates/pardus-core/src/websocket/manager.rs`)
- Added `WebSocketManager` module (`crates/open-core/src/websocket/manager.rs`)
- Connection pooling with per-origin limits (`max_per_origin`)
- Configurable security policy (`block_private_ips`, `block_loopback`)
- CDP event bus integration for real-time notifications
Expand All @@ -32,7 +32,7 @@
- Blocks cloud metadata: metadata.google.internal, 169.254.169.254, 100.100.100.200
- Blocks localhost hostname

- Added `ResourceType::WebSocket` to `pardus-debug` crate
- Added `ResourceType::WebSocket` to `open-debug` crate

- Dependencies added:
- `tokio-tungstenite = "0.26"` — Async WebSocket client
Expand Down Expand Up @@ -149,7 +149,7 @@
**CDP Network (Cookies):**
- Implemented `Network.getCookies` / `Network.getAllCookies` — extracts cookies from network log Set-Cookie headers with full attribute parsing (domain, path, httpOnly, secure, sameSite, size)
- Implemented `Network.setCookie`, `Network.deleteCookies`, `Network.clearBrowserCookies`
- Added `url` crate dependency to pardus-cdp for URL parsing in cookie operations
- Added `url` crate dependency to open-cdp for URL parsing in cookie operations

**Cookie System (SessionStore):**
- Fixed cookie parsing bug: removed incorrect `split(';')` on Set-Cookie header values
Expand All @@ -159,7 +159,7 @@
- Added `session_dir()` public accessor to SessionStore

**Performance:**
- Removed unnecessary HTML re-parsing in Pardus domain click handler (reuse `page_data` result)
- Removed unnecessary HTML re-parsing in Open domain click handler (reuse `page_data` result)
- Removed dead HTML clone in `RuntimeDomain::evaluate_expression`
- Fixed tab loading to use browser's actual `BrowserConfig` instead of hardcoded default
- POST form submissions now recorded in NetworkLog
Expand Down
46 changes: 23 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading