-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 7.9 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 7.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "openmaple",
"version": "0.1.0",
"license": "Apache-2.0",
"private": true,
"type": "module",
"packageManager": "bun@1.3.14",
"workspaces": [
"apps/*",
"agents/*",
"packages/*"
],
"bin": {
"maple": "packages/cli/maple.mjs"
},
"scripts": {
"dev": "concurrently -k -n api,web -c cyan,magenta \"bun run dev:api\" \"bun run dev:web\"",
"dev:api": "bun --watch apps/control-plane-api/src/index.ts",
"dev:web": "bunx vite --config apps/admin-web/vite.config.ts --host 127.0.0.1 --port 8080",
"start": "bun apps/control-plane-api/src/index.ts",
"maple": "bun packages/cli/maple.mjs",
"setup:local": "bash scripts/setup-local-docker.sh",
"smoke:local": "node scripts/local-trial-smoke.mjs",
"build": "bunx tsc --noEmit && bunx vite build --config apps/admin-web/vite.config.ts",
"preview": "bunx vite preview --config apps/admin-web/vite.config.ts --host 127.0.0.1 --port 5173",
"assets:social-card": "bun scripts/render-social-card.mjs",
"typecheck": "bunx tsc --noEmit",
"lint": "eslint apps/admin-web && eslint apps/control-plane-api agents packages",
"test:media-quality": "bun scripts/check-media-quality.mjs",
"test:public-hygiene": "bun scripts/check-public-hygiene.mjs",
"test:bun-runtime": "bun tests/contracts/bun_runtime_contract.ts",
"test:project-env": "bun tests/contracts/project_env_contract.ts",
"test:real-agent-loop-driver": "bun tests/contracts/real_agent_loop_driver_contract.ts",
"test:cwc-ship": "python3 tests/smoke/cwc_ship_smoke.py",
"test:vefaas-provisioner": "python3 tests/contracts/vefaas_provisioner_contract.py",
"test:vefaas-contract": "bun tests/contracts/vefaas_runtime_contract.ts",
"test:vefaas-runner-pool": "python3 tests/contracts/vefaas_runner_pool_contract.py",
"test:vefaas-sandbox": "bun tests/contracts/vefaas_sandbox_contract.ts",
"test:onboarding-sandbox-pool": "bun tests/contracts/workspace_onboarding_sandbox_pool_contract.ts",
"test:aliyun-fc-deploy": "bun tests/contracts/aliyun_fc_deploy_contract.ts",
"test:aliyun-provider-orchestration": "bun tests/contracts/aliyun_provider_orchestration_contract.ts",
"test:local-docker-provider": "bun tests/contracts/local_docker_provider_contract.ts",
"test:local-docker-compose": "bun tests/contracts/local_docker_compose_contract.ts",
"test:vefaas-sandbox-perf": "bun tests/e2e/vefaas_sandbox_perf_e2e.ts",
"test:vefaas-real": "bun tests/e2e/vefaas_real_e2e.ts",
"test:workspace-runtime-pool": "bun tests/contracts/workspace_runtime_pool_contract.ts",
"test:agent-builder": "bun tests/contracts/agent_builder_contract.ts",
"test:platform-sdk-cli": "bun tests/contracts/platform_sdk_cli_contract.ts",
"test:api-storage": "bun tests/contracts/api_storage_contract.ts",
"test:prototype-console": "bun tests/contracts/prototype_console_contract.ts",
"test:auth-tenant-flow": "bun tests/contracts/auth_tenant_flow_contract.ts",
"test:maple-ui-interaction": "bun tests/contracts/maple_ui_interaction_contract.ts",
"test:session-tool-calls": "bun tests/contracts/session_tool_calls_contract.ts",
"test:environment-lifecycle": "bun tests/contracts/environment_lifecycle_contract.ts",
"test:environment-packages": "bun tests/contracts/environment_packages_contract.ts",
"test:vault-mcp": "bun tests/contracts/vault_mcp_credentials_contract.ts",
"test:codebase-hygiene": "bun tests/contracts/codebase_hygiene_contract.ts",
"test:session-file-upload": "bun tests/contracts/session_file_upload_contract.ts",
"test:deployment": "bun tests/contracts/deployment_contract.ts",
"test:mysql-adapter": "bun tests/contracts/mysql_adapter_contract.ts",
"test:maple-docs": "bun tests/contracts/maple_docs_contract.ts",
"test:npm-sdk": "bun tests/contracts/npm_sdk_package_contract.ts",
"test:maple-branding": "bun tests/contracts/maple_branding_contract.ts",
"test:ui-overlay": "bun tests/contracts/ui_overlay_contract.ts",
"test:admin-web-i18n": "bun tests/contracts/admin_web_i18n_contract.ts",
"test:tenant-cloud-provider": "bun tests/contracts/tenant_cloud_provider_contract.ts",
"test:volcengine-credentials": "bun tests/contracts/volcengine_credential_validation_contract.ts",
"test:ci-wrapper": "bun tests/contracts/ci_wrapper_contract.ts",
"test:cloud-min-story": "bun tests/e2e/cloud_min_user_story.mjs",
"ci:contracts": "bun scripts/ci/run-contract-tests.mjs test:bun-runtime test:project-env test:real-agent-loop-driver test:vefaas-provisioner test:vefaas-contract test:vefaas-runner-pool test:vefaas-sandbox test:onboarding-sandbox-pool test:aliyun-fc-deploy test:aliyun-provider-orchestration test:local-docker-provider test:local-docker-compose test:workspace-runtime-pool test:deployment test:mysql-adapter test:agent-builder test:platform-sdk-cli test:api-storage test:prototype-console test:auth-tenant-flow test:maple-ui-interaction test:session-tool-calls test:environment-lifecycle test:environment-packages test:vault-mcp test:codebase-hygiene test:public-hygiene test:session-file-upload test:maple-docs test:npm-sdk test:maple-branding test:ui-overlay test:admin-web-i18n test:tenant-cloud-provider test:volcengine-credentials test:ci-wrapper",
"deploy:vefaas:stable": "python3 infra/vefaas/deploy_vefaas_stable.py deploy",
"status:vefaas:stable": "python3 infra/vefaas/deploy_vefaas_stable.py status",
"test:e2e": "E2E_ISOLATED=1 E2E_SANDBOX_PROVIDER=e2b MAPLE_SANDBOX_PROVIDER=e2b MAPLE_RUNTIME_TOOL_BRIDGE_HOST_FALLBACK=true MAPLE_AGENT_RUNTIME_PROVIDER=local MAPLE_AGENT_LOOP_EXECUTION=provider bun tests/e2e/e2e.mjs",
"test:e2e:local-docker": "E2E_ISOLATED=1 E2E_SANDBOX_PROVIDER=local_docker MAPLE_LOCAL_DOCKER_MODE=true MAPLE_SANDBOX_PROVIDER=local_docker MAPLE_AGENT_RUNTIME_PROVIDER=local_docker MAPLE_AGENT_LOOP_EXECUTION=provider MAPLE_ASK_PROVIDER_TIMEOUT_MS=180000 E2E_ASK_TIMEOUT_MS=180000 bun tests/e2e/e2e.mjs",
"test:all": "bun run test:bun-runtime && bun run test:project-env && bun run test:real-agent-loop-driver && bun run test:vefaas-provisioner && bun run test:vefaas-contract && bun run test:vefaas-runner-pool && bun run test:vefaas-sandbox && bun run test:onboarding-sandbox-pool && bun run test:aliyun-fc-deploy && bun run test:aliyun-provider-orchestration && bun run test:local-docker-provider && bun run test:local-docker-compose && bun run test:workspace-runtime-pool && bun run test:deployment && bun run test:mysql-adapter && bun run test:agent-builder && bun run test:platform-sdk-cli && bun run test:api-storage && bun run test:prototype-console && bun run test:auth-tenant-flow && bun run test:maple-ui-interaction && bun run test:session-tool-calls && bun run test:environment-lifecycle && bun run test:environment-packages && bun run test:vault-mcp && bun run test:codebase-hygiene && bun run test:session-file-upload && bun run test:ui-overlay && bun run test:admin-web-i18n && bun run test:tenant-cloud-provider && bun run test:volcengine-credentials && bun run typecheck && bun run build && bun run test:e2e"
},
"dependencies": {
"@alicloud/fc20230330": "4.7.6",
"@alicloud/openapi-core": "1.0.6",
"@e2b/desktop": "^2.2.3",
"@volcengine/tos-sdk": "^2.9.1",
"ali-oss": "^6.23.0",
"concurrently": "^9.2.1",
"cors": "^2.8.5",
"e2b": "^2.27.0",
"express": "^5.2.1",
"lucide-react": "^0.562.0",
"maple-agent-sdk": "^0.1.3",
"mysql2": "^3.22.5",
"nanoid": "^5.1.6",
"proxy-agent": "^5.0.0",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"yaml": "^2.9.0",
"zod": "^4.2.1"
},
"devDependencies": {
"@types/bun": "^1.3.14",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.2",
"eslint": "^10.4.1",
"eslint-plugin-react-hooks": "^7.1.1",
"playwright": "^1.60.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.61.0",
"vite": "^7.3.0"
}
}