Skip to content

Open-source, local-first AI agent for real work.

9.6 KB
Raw Blame
{
	"name": "open-vetta",
	"private": true,
	"type": "module",
	"packageManager": "[email protected]",
	"workspaces": [
		"packages/capability-sdk",
		"packages/capability-runtime",
		"packages/ai",
		"packages/agent",
		"packages/ecosystem-adapter",
		"packages/coding-agent",
		"packages/plugins/plugin-sdk",
		"packages/plugins/plugin-vite",
		"packages/plugins/plugin-cli",
		"packages/plugins/presets/*",
		"packages/plugins/externals/*",
		"packages/theme-sdk",
		"packages/theme-ui",
		"packages/themes/builtin/*",
		"packages/ui",
		"packages/markdown",
		"packages/runtime-core",
		"packages/action-rpc",
		"packages/remote-control",
		"packages/remote-desktop",
		"packages/runtime-subagents",
		"packages/agent-team",
		"packages/runtime-knowledge",
		"packages/runtime-tools",
		"packages/runtime-mcp",
		"packages/runtime-storage",
		"packages/runtime-node",
		"packages/runtime-telemetry",
		"packages/runtime-desktop",
		"packages/toolkit",
		"packages/ssh-transport",
		"packages/runtime-ssh",
		"packages/skill-presets",
		"apps/cli-host",
		"apps/desktop",
		"apps/remote-relay",
		"apps/docs-site",
		"packages/coding-agent/examples/extensions/with-deps",
		"packages/coding-agent/examples/extensions/custom-provider-anthropic",
		"packages/coding-agent/examples/extensions/custom-provider-gitlab-duo",
		"packages/coding-agent/examples/extensions/custom-provider-qwen-cli"
	],
	"scripts": {
		"clean": "bun run --workspaces clean",
		"build": "turbo run build --filter='./packages/*' --filter=@vetta-org/plugin-cli --filter=@vetta-org/plugin-vite --summarize && bun run build:preset:prebuilt",
		"build:all": "turbo run build --filter=@vetta/desktop --filter=@vetta-org/plugin-cli --summarize",
		"build:desktop": "turbo run build --filter=@vetta/desktop --filter=@vetta-org/plugin-cli --summarize",
		"build:cli": "turbo run build --filter=@vetta/cli-host --filter=@vetta-org/plugin-cli --filter=@vetta-org/plugin-vite --summarize && bun run build:preset:prebuilt",
		"build:docs": "turbo run build --filter=@vetta/docs-site --summarize",
		"build:preset": "bun run --cwd apps/desktop build:presets",
		"build:preset:prebuilt": "bun run --cwd apps/desktop build:presets:prebuilt",
		"dev": "turbo run dev --filter=@vetta/ai --filter=@vetta/agent-core --filter=@vetta/coding-agent",
		"dev:tsc": "concurrently --names \"ai\" --prefix-colors \"cyan\" \"cd packages/ai && bun run dev:tsc\"",
		"verify:ui:start": "bun run --cwd apps/desktop verify:ui:start",
		"verify:ui:start:fresh": "bun run --cwd apps/desktop verify:ui:start:fresh",
		"verify:ui:start:debug": "bun run --cwd apps/desktop verify:ui:start:debug",
		"verify:ui:sync:debug": "bun run --cwd apps/desktop verify:ui:sync:debug",
		"verify:ui:status": "bun run --cwd apps/desktop verify:ui:status",
		"verify:ui:status:debug": "bun run --cwd apps/desktop verify:ui:status:debug",
		"verify:ui:status:dev": "bun run --cwd apps/desktop verify:ui:status:dev",
		"verify:ui:stop": "bun run --cwd apps/desktop verify:ui:stop",
		"verify:ui:stop:debug": "bun run --cwd apps/desktop verify:ui:stop:debug",
		"verify:ui:attach": "bun run --cwd apps/desktop verify:ui:attach",
		"verify:ui:attach:debug": "bun run --cwd apps/desktop verify:ui:attach:debug",
		"verify:ui:attach:dev": "bun run --cwd apps/desktop verify:ui:attach:dev",
		"verify:ui:pw": "bun run --cwd apps/desktop verify:ui:pw",
		"verify:ui:pw:debug": "bun run --cwd apps/desktop verify:ui:pw:debug",
		"verify:ui:pw:dev": "bun run --cwd apps/desktop verify:ui:pw:dev",
		"verify:ui:detach": "bun run --cwd apps/desktop verify:ui:detach",
		"verify:ui:debug": "bun run --cwd apps/desktop verify:ui:debug",
		"verify:ui:debug:debug": "bun run --cwd apps/desktop verify:ui:debug:debug",
		"verify:ui:debug:dev": "bun run --cwd apps/desktop verify:ui:debug:dev",
		"verify:ui:runtime-canary": "bun run --cwd apps/desktop verify:ui:runtime-canary",
		"verify:artifact:installed": "bun run --cwd apps/cli-host verify:artifact:installed",
		"verify:runtime-contract": "bun run --cwd apps/cli-host verify:runtime-contract",
		"verify:desktop:contracts": "bun run --cwd apps/desktop verify:packaging:contract",
		"verify:desktop:scope": "node scripts/quality/desktop-packaging-scope.mjs",
		"test:desktop:packaging": "bun run --cwd apps/desktop test:packaging",
		"verify:agent-hosts": "bun scripts/verify-coding-agent-hosts.mjs",
		"check:lint": "bun run scripts/quality/check-lint.mjs",
		"check:lint:full": "bun run scripts/quality/check-lint.mjs --full",
		"check:lint:fix": "bun run scripts/quality/check-lint.mjs --write",
		"check:types": "concurrently --names \"root,desktop,docs\" --prefix-colors \"blue,green,magenta\" \"tsgo --noEmit\" \"bunx tsc --noEmit -p apps/desktop/tsconfig.json --incremental --tsBuildInfoFile node_modules/.desktop-check.tsbuildinfo\" \"bun run --cwd apps/docs-site check\"",
		"check:types:build-surfaces": "bunx tsgo --noEmit -p apps/cli-host/tsconfig.build.json",
		"check:guards": "bun run scripts/quality/check-guards.mjs",
		"check:staged": "bunx @biomejs/biome check --write --error-on-warnings --staged --no-errors-on-unmatched",
		"check:precommit": "bun run scripts/quality/precommit.mjs",
		"check:quick": "bun run scripts/quality/check-quick.mjs",
		"check": "concurrently --names \"lint,types,guards\" --prefix-colors \"cyan,yellow,magenta\" \"bun run check:lint\" \"bun run check:types\" \"bun run check:guards\"",
		"check:full": "concurrently --names \"lint,types,guards\" --prefix-colors \"cyan,yellow,magenta\" \"bun run check:lint:full\" \"bun run check:types\" \"bun run check:guards\"",
		"fix": "bun run check:lint:fix",
		"test": "bun run test:impact",
		"test:full": "bun run scripts/quality/test-pkg.mjs --all",
		"vitest": "bun scripts/quality/run-vitest.mjs",
		"test:quality": "bun x turbo run build --filter=@vetta-org/capability-sdk && bun scripts/quality/run-vitest.mjs --run .claude/hooks/check-file-lines.test.mjs scripts/quality/quality-gates.test.mjs scripts/quality/plugin-manifests.test.mjs scripts/quality/coding-agent-architecture.test.mjs scripts/quality/coding-agent-tool-public-surface.test.mjs scripts/quality/runtime-coding-agent-independence.test.mjs scripts/quality/runtime-subagents-boundary.test.mjs scripts/quality/conversation-message-architecture.test.mjs scripts/quality/runtime-failure-contract.test.mjs scripts/quality/runtime-platform-boundary.test.mjs scripts/quality/runtime-storage-protocol-boundary.test.mjs scripts/quality/runtime-tools-protocol-boundary.test.mjs scripts/quality/runtime-mcp-protocol-boundary.test.mjs scripts/quality/runtime-product-semantic-boundary.test.mjs scripts/quality/agent-ai-maintainability.test.mjs scripts/release/resolve-desktop-release-config.test.mjs scripts/release/release-notes.test.mjs scripts/release/release-notes-format.test.mjs scripts/release/collect-release-commits.test.mjs scripts/release/release-version.test.mjs scripts/release/release-preflight.test.mjs scripts/release-desktop.test.mjs scripts/quality/desktop-packaging-scope.test.mjs scripts/quality/desktop-release-workflow.test.mjs apps/desktop/scripts/fetch-vendor-runtimes.test.mjs scripts/quality/ci-dependency-install.test.mjs apps/desktop/scripts/verify-packaging-contract.test.mjs scripts/quality/ssh-helper-cross-targets.test.mjs scripts/quality/check-test-hygiene.test.mjs scripts/quality/check-test-assertion-depth.test.mjs apps/desktop/src/main/plugins/plugin-protocol-contract.test.ts",
		"test:unit": "bun run test:impact",
		"test:pkg": "bun run scripts/quality/test-pkg.mjs",
		"test:impact": "bun run scripts/quality/test-impact.mjs",
		"test:changed": "bun run scripts/quality/test-changed.mjs",
		"deadcode": "knip --config knip.config.ts",
		"deadcode:report": "knip --config knip.config.ts --no-exit-code",
		"version:patch": "npm version patch -ws --no-git-tag-version && node scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules apps/*/node_modules package-lock.json && bun install",
		"version:minor": "npm version minor -ws --no-git-tag-version && node scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules apps/*/node_modules package-lock.json && bun install",
		"version:major": "npm version major -ws --no-git-tag-version && node scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules apps/*/node_modules package-lock.json && bun install",
		"version:set": "npm version -ws",
		"prepublishOnly": "bun run clean && bun run build && bun run check:full",
		"publish": "bun run prepublishOnly && npm publish -ws",
		"publish:dry": "bun run prepublishOnly && npm publish -ws --dry-run",
		"publish:private": "bun run prepublishOnly && npm publish -ws",
		"release:patch": "node scripts/release.mjs patch",
		"release:minor": "node scripts/release.mjs minor",
		"release:major": "node scripts/release.mjs major",
		"release:desktop:patch": "node scripts/release-desktop.mjs patch",
		"release:desktop:minor": "node scripts/release-desktop.mjs minor",
		"prepare": "husky"
	},
	"devDependencies": {
		"@biomejs/biome": "2.3.5",
		"@playwright/cli": "^0.1.17",
		"@types/node": "^22.10.5",
		"@typescript/native-preview": "7.0.0-dev.20260120.1",
		"@vitest/coverage-v8": "3.2.6",
		"concurrently": "^9.2.1",
		"husky": "^9.1.7",
		"knip": "5.88.1",
		"turbo": "2.10.11",
		"tsx": "^4.20.3",
		"typescript": "^5.9.2",
		"vitest": "^3.2.4"
	},
	"engines": {
		"node": ">=20.0.0"
	},
	"version": "0.55.3",
	"dependencies": {
		"@mariozechner/jiti": "^2.6.5",
		"@radix-ui/react-popover": "^1.1.15",
		"@radix-ui/react-select": "^2.2.6",
		"@radix-ui/react-slot": "^1.2.4",
		"@vetta/cli-host": "workspace:*",
		"@vetta/coding-agent": "workspace:*",
		"date-fns": "^4.1.0",
		"get-east-asian-width": "^1.4.0",
		"koffi": "^2.15.1"
	},
	"overrides": {
		"@types/react": "19.2.17",
		"rimraf": "6.1.2",
		"@wdio/native-utils": "2.6.0"
	}
}