{ "name": "@elizaos/plugin-blocker", "version": "2.0.3-beta.7", "type": "module", "description": "Focus / distraction control: website blocking via SelfControl hosts file + macOS app blocking. Schedules, allow-lists, override approval. Exposes the BLOCK action, websiteBlockerProvider + appBlockerProvider, a WebsiteBlockerService, drizzle pgSchema('app_blocker'), and a Focus overlay view.", "main": "./dist/index.js", "scripts": { "typecheck": "tsgo --noEmit -p tsconfig.json", "lint": "bunx @biomejs/biome check --write --unsafe .", "test": "bunx vitest run --config ./vitest.config.ts", "build": "bun run build:js && bun run build:views && bun run build:types", "clean": "node ../../packages/scripts/rm-path-recursive.mjs dist", "build:js": "tsup --config ../tsup.plugin-packages.shared.ts", "build:views": "bunx --bun vite build --config vite.config.views.ts", "build:types": "bunx tsc --noCheck -p tsconfig.build.json && node ../../packages/scripts/rewrite-dist-relative-imports-node-esm.mjs", "lint:check": "bunx @biomejs/biome check .", "format": "bunx @biomejs/biome format --write .", "format:check": "bunx @biomejs/biome format ." }, "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "eliza-source": { "types": "./src/index.ts", "import": "./src/index.ts", "default": "./src/index.ts" }, "import": "./dist/index.js", "default": "./dist/index.js" }, "./plugin": { "types": "./dist/plugin.d.ts", "eliza-source": { "types": "./src/plugin.ts", "import": "./src/plugin.ts", "default": "./src/plugin.ts" }, "import": "./dist/plugin.js", "default": "./dist/plugin.js" }, "./*.css": "./dist/*.css", "./*": { "types": "./dist/*.d.ts", "eliza-source": { "types": "./src/*.ts", "import": "./src/*.ts", "default": "./src/*.ts" }, "import": "./dist/*.js", "default": "./dist/*.js" } }, "dependencies": { "@capacitor/core": "8.4.0", "@elizaos/agent": "workspace:*", "@elizaos/app-core": "workspace:*", "@elizaos/core": "workspace:*", "@elizaos/shared": "workspace:*", "@elizaos/ui": "workspace:*", "drizzle-orm": "^0.45.1", "lucide-react": "^1.0.0" }, "peerDependencies": { "@elizaos/plugin-sql": "workspace:*", "react": "^19.0.0", "react-dom": "^19.0.0" }, "elizaos": { "app": { "displayName": "Focus", "category": "system", "heroImage": "assets/hero.png" } }, "publishConfig": { "access": "public" }, "types": "./dist/index.d.ts", "files": [ "assets", "dist" ], "devDependencies": { "@biomejs/biome": "2.5.3", "@types/node": "^25.0.6", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "esbuild": "^0.28.0", "react": "^19.0.0", "react-dom": "^19.0.0", "tsup": "^8.5.1", "typescript": "^6.0.3", "vitest": "^4.0.17", "vite": "^8.0.0" } }