mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-13 15:46:22 +00:00
* fix(agent): declare @browseros/shared as workspace dependency The agent app imports @browseros/shared/constants/urls in lib/referral/submit-referral.ts but never declared the package in its dependencies, so vite failed to resolve the import during dev. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * feat(referral): cap daily referral earnings at 500 credits Block tweet submissions client-side once the user's balance reaches 500 to prevent unlimited credit farming via repeated shares. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * feat(referral): randomize tweet variations for Twitter share Replace the single hardcoded share text with 10 feature-specific variations (agent mode, chat, scheduled tasks, connect apps, cowork, workflows, memory, skills, local models, ad blocking) and pick one at random each time the share button is clicked. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix(referral): regenerate share URL on click Previously getShareOnTwitterUrl() was evaluated once at render time as a static href, so every click produced the same tweet variation. Move the call into onClick so a new random variation is picked each time. Addresses Greptile P1 review on PR #737. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
127 lines
4.3 KiB
JSON
127 lines
4.3 KiB
JSON
{
|
|
"name": "@browseros/agent",
|
|
"description": "manifest.json description",
|
|
"private": true,
|
|
"version": "0.0.99",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "test -d generated/graphql || bun run codegen; mkdir -p /tmp/browseros-dev; bun --env-file=.env.development wxt",
|
|
"build": "bun run codegen && wxt build",
|
|
"build:dev": "bun --env-file=.env.development wxt build --mode development",
|
|
"zip": "wxt zip",
|
|
"compile": "tsgo --noEmit",
|
|
"lint": "bunx biome check",
|
|
"typecheck": "tsgo --noEmit",
|
|
"lint:fix": "bunx biome check --write --unsafe",
|
|
"clean:cache": "rm -rf node_modules/.cache && rm -rf .output/ && rm -rf .wxt/",
|
|
"codegen": "bun --env-file=.env.development graphql-codegen --config codegen.ts",
|
|
"codegen:watch": "graphql-codegen --config codegen.ts --watch"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/react": "^3.0.96",
|
|
"@browseros/server": "workspace:*",
|
|
"@browseros/shared": "workspace:*",
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"@lobehub/icons": "^2.44.0",
|
|
"@mdxeditor/editor": "^3.52.4",
|
|
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
"@posthog/react": "^1.5.2",
|
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
"@radix-ui/react-collapsible": "^1.1.12",
|
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
"@radix-ui/react-hover-card": "^1.1.15",
|
|
"@radix-ui/react-label": "^2.1.8",
|
|
"@radix-ui/react-popover": "^1.1.15",
|
|
"@radix-ui/react-progress": "^1.1.8",
|
|
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
"@radix-ui/react-select": "^2.2.6",
|
|
"@radix-ui/react-separator": "^1.1.8",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@radix-ui/react-switch": "^1.2.6",
|
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
"@sentry/react": "^10.31.0",
|
|
"@sentry/vite-plugin": "^4.6.1",
|
|
"@tanstack/query-async-storage-persister": "^5.95.2",
|
|
"@tanstack/react-query": "^5.95.2",
|
|
"@tanstack/react-query-persist-client": "^5.95.2",
|
|
"@types/cytoscape": "^3.31.0",
|
|
"@types/dompurify": "^3.2.0",
|
|
"@webext-core/messaging": "^2.3.0",
|
|
"@wxt-dev/storage": "^1.2.8",
|
|
"@xyflow/react": "^12.9.3",
|
|
"ai": "^6.0.94",
|
|
"better-auth": "^1.4.17",
|
|
"canvas-confetti": "^1.9.4",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"cytoscape": "^3.33.1",
|
|
"cytoscape-dagre": "^2.5.0",
|
|
"cytoscape-node-html-label": "^1.2.2",
|
|
"dayjs": "^1.11.19",
|
|
"dompurify": "^3.3.1",
|
|
"downshift": "^9.0.10",
|
|
"embla-carousel-react": "^8.6.0",
|
|
"es-toolkit": "^1.42.0",
|
|
"eventsource-parser": "^3.0.6",
|
|
"fuse.js": "^7.1.0",
|
|
"graphql": "^16.12.0",
|
|
"hono": "^4.12.3",
|
|
"idb-keyval": "^6.2.2",
|
|
"klavis": "^2.15.0",
|
|
"lucide-react": "^0.562.0",
|
|
"motion": "^12.23.24",
|
|
"nanoid": "^5.1.6",
|
|
"next-themes": "^0.4.6",
|
|
"posthog-js": "^1.316.0",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"react-hook-form": "^7.66.1",
|
|
"react-markdown": "^10.1.0",
|
|
"react-resizable-panels": "^4.3.3",
|
|
"react-router": "^7.12.0",
|
|
"shiki": "^3.15.0",
|
|
"sonner": "^2.0.7",
|
|
"streamdown": "^1.5.1",
|
|
"swr": "^2.3.6",
|
|
"tailwind-merge": "^3.4.0",
|
|
"tailwind-scrollbar-hide": "^4.0.0",
|
|
"tokenlens": "^1.3.1",
|
|
"tw-animate-css": "^1.4.0",
|
|
"use-deep-compare-effect": "^1.8.1",
|
|
"use-stick-to-bottom": "^1.1.1",
|
|
"zod": "^4.1.13"
|
|
},
|
|
"devDependencies": {
|
|
"@0no-co/graphqlsp": "^1.15.2",
|
|
"@eslint/compat": "^2.0.1",
|
|
"@graphql-codegen/cli": "^6.1.1",
|
|
"@graphql-codegen/client-preset": "^5.2.2",
|
|
"@graphql-codegen/schema-ast": "^5.0.0",
|
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
"@parcel/watcher": "^2.5.4",
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"@tailwindcss/vite": "^4.1.17",
|
|
"@types/bun": "^1.3.5",
|
|
"@types/canvas-confetti": "^1.9.0",
|
|
"@types/chrome": "^0.1.28",
|
|
"@types/cytoscape-dagre": "^2.3.4",
|
|
"@types/dagre": "^0.7.53",
|
|
"@types/react": "^19.1.12",
|
|
"@types/react-dom": "^19.1.9",
|
|
"@wxt-dev/module-react": "^1.1.5",
|
|
"lefthook": "^2.0.3",
|
|
"tailwindcss": "^4.1.17",
|
|
"typescript": "^5.9.2",
|
|
"wxt": "^0.20.18"
|
|
},
|
|
"trustedDependencies": [
|
|
"esbuild",
|
|
"lefthook"
|
|
]
|
|
}
|