wishforge-ide/apps/ide/package.json
eust-w a9411f586b feat: run the whole loop locally with a local provisioner
Local development had no provisioner, so every wish stopped at "sandbox not
ready", and dev:all started neither the coordinator nor the deployer.

- The provisioner moves from apps/ide to apps/provisioner and gains a backend
  switch: `local` starts an executor and a verifier process per run generation
  on this host (WF_SANDBOX_MODE=host, own directories and run-scoped tokens,
  development mode only) and points workspaces at the local Theia; `kubernetes`
  keeps the Kata Jobs, now started with the image entrypoint instead of the npm dev
  script and allowed to reach the platform Git service.
- In development the resource grant needs no runtime image digest.
- setup:local is one idempotent script that creates or completes .env.local,
  including the deployment mode, provisioner and grant settings.
- dev:all starts Git, API, provisioner, coordinator, deployer and web; dev:ide
  starts Theia and the IDE gateway; ide:install and ide:build wrap the separate
  Theia package. npm test also runs the provisioner tests.
- Project settings accept the target branch and dependency install commands.
- Web development conveniences require WF_DEPLOYMENT_MODE=development.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 15:36:12 +08:00

70 lines
2.2 KiB
JSON

{
"name": "@wishforge/ide",
"version": "0.1.0",
"private": true,
"engines": {
"node": ">=22.14.0 <27"
},
"scripts": {
"build": "theia build --mode development",
"build:production": "theia build --mode production",
"start": "node scripts/start.mjs",
"test": "node --test gateway/test/*.test.mjs policy/test/*.test.cjs collaboration/test/client-factory.test.cjs",
"plugins:download": "theia download:plugins && node scripts/download-python-debugger.mjs && node scripts/verify-managed-plugins.mjs",
"plugins:download:python": "node scripts/download-python-debugger.mjs",
"plugins:verify": "node scripts/verify-managed-plugins.mjs"
},
"dependencies": {
"@theia/core": "1.76.0",
"@theia/editor": "1.76.0",
"@theia/filesystem": "1.76.0",
"@theia/workspace": "1.76.0",
"@theia/navigator": "1.76.0",
"@theia/preferences": "1.76.0",
"@theia/messages": "1.76.0",
"@theia/terminal": "1.76.0",
"@theia/process": "1.76.0",
"@theia/monaco": "1.76.0",
"@theia/scm": "1.76.0",
"@theia/debug": "1.76.0",
"@theia/markers": "1.76.0",
"@theia/search-in-workspace": "1.76.0",
"@theia/outline-view": "1.76.0",
"@theia/callhierarchy": "1.76.0",
"@theia/typehierarchy": "1.76.0",
"@theia/file-search": "1.76.0",
"@theia/mini-browser": "1.76.0",
"@theia/plugin-ext": "1.76.0",
"@theia/plugin-ext-vscode": "1.76.0",
"@theia/vsx-registry": "1.76.0",
"@theia/collaboration": "1.76.0",
"@theia/editor-preview": "1.76.0",
"@wishforge/ide-policy": "file:./policy"
},
"devDependencies": {
"@theia/cli": "1.76.0"
},
"theia": {
"target": "browser",
"frontend": {
"config": {
"applicationName": "WishForge IDE",
"defaultTheme": "dark",
"defaultIconTheme": "theia-file-icons",
"applicationVersion": "0.1.0",
"preferences": {
"telemetry.telemetryLevel": "off"
}
}
},
"backend": {
"config": {
"frontendConnectionTimeout": 0
}
}
},
"theiaPlugins": {
"vscode-builtin-extensions": "https://github.com/eclipse-theia/vscode-builtin-extensions/releases/download/1.108.2/vscode-builtin-extensions-1.108.2.tar.gz"
}
}