Skip to content
Draft
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- uses: dtolnay/rust-toolchain@stable

- name: Verify generated protocol against current Rust sources
run: pnpm protocol:check

- name: Prepare extension types
run: pnpm --filter @browser-skill/extension exec wxt prepare

Expand Down
86 changes: 59 additions & 27 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ futures-util = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
semver = { version = "1", features = ["serde"] }
schemars = { version = "0.8", features = ["derive"] }
schemars = { version = "1.2.2", features = ["derive"] }
thiserror = "2"
anyhow = "1"
tracing = "0.1"
Expand Down
28 changes: 4 additions & 24 deletions apps/extension/src/debug/capabilities.ts
Original file line number Diff line number Diff line change
@@ -1,32 +1,12 @@
import { debugActions } from "@/transport/generated/methods";
import { HISTORY_AGE_MS, HISTORY_BYTES, HISTORY_LIMIT } from "./archive";
import { JOURNAL_BYTES, JOURNAL_PINS, JOURNAL_REQUESTS } from "./journal";

declare const __BSK_EXT_BUILD__: string;
declare const __BSK_EXT_VERSION__: string;
export const DEBUG_ACTIONS = [
"performance",
"aggregate",
"duplicates",
"start",
"stop",
"status",
"requests",
"request",
"operations",
"operation",
"console",
"pages",
"export",
"rules",
"rule_add",
"rule_enable",
"rule_disable",
"rule_remove",
"replay",
"capabilities",
"pin",
"unpin",
] as const;
export const DEBUG_ACTIONS = debugActions
.filter((action) => action.owner === "extension")
.map((action) => action.action);
export const DEBUG_FIELDS = [
"resource_type",
"frame_id",
Expand Down
Loading
Loading