Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

3.2 KB
Raw Blame
{
  "name": "@adelie/server",
  "version": "0.6.8",
  "type": "module",
  "description": "Adelie web server: multi-user authentication and authorization, Session execution with SSE streaming, and usage accounting, built on @adelie/core.",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lmliheng/Adelie.git",
    "directory": "packages/server"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./api": {
      "types": "./dist/api/types.d.ts",
      "import": "./dist/api/types.js"
    },
    "./machine-status": {
      "types": "./dist/machine-status.d.ts",
      "import": "./dist/machine-status.js"
    },
    "./lock": {
      "types": "./dist/lock.d.ts",
      "import": "./dist/lock.js"
    },
    "./initial-password": {
      "types": "./dist/initial-password.d.ts",
      "import": "./dist/initial-password.js"
    },
    "./reset-admin-password": {
      "types": "./dist/reset-admin-password.d.ts",
      "import": "./dist/reset-admin-password.js"
    },
    "./hmr/manifest": {
      "types": "./dist/hmr/manifest.d.ts",
      "import": "./dist/hmr/manifest.js"
    },
    "./version-report": {
      "types": "./dist/version-report.d.ts",
      "import": "./dist/version-report.js"
    },
    "./auth-token": {
      "types": "./dist/auth-token.d.ts",
      "import": "./dist/auth-token.js"
    },
    "./secret-file": {
      "types": "./dist/secret-file.d.ts",
      "import": "./dist/secret-file.js"
    },
    "./plugin": {
      "types": "./dist/plugin/index.d.ts",
      "import": "./dist/plugin/index.js"
    }
  },
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "engines": {
    "node": ">=24"
  },
  "scripts": {
    "dev": "node ../../scripts/dev-prebuild.mjs && node ../../scripts/run-with-env.mjs ADELIE_HOME=~/.penguin/dev-data ADELIE_PROFILE=dev PORT=7368 -- tsx watch src/index.ts",
    "start": "node --disable-warning=ExperimentalWarning dist/index.js",
    "typecheck": "pnpm gen:ifaces && tsc --noEmit -p tsconfig.json",
    "gen:ifaces": "node ../../scripts/gen-ifaces.mjs --project tsconfig.json --out src/ifaces.json",
    "test": "pnpm gen:ifaces && vitest run --passWithNoTests",
    "build": "pnpm gen:ifaces && node ../../scripts/run-with-env.mjs NODE_OPTIONS=--max-old-space-size=4096 -- tsup"
  },
  "dependencies": {
    "@hono/node-server": "^2.0.5",
    "@larksuiteoapi/node-sdk": "^1.73.0",
    "@adelie/amsp": "workspace:*",
    "@adelie/core": "workspace:*",
    "@xterm/headless": "^5.5.0",
    "dotenv": "^17.0.0",
    "fflate": "^0.8.3",
    "hono": "^4.12.34",
    "node-pty": "^1.1.0",
    "remark-gfm": "^4.0.0",
    "remark-parse": "^11.0.0",
    "smol-toml": "^1.3.0",
    "tar": "^7.5.21",
    "typescript": "^5.6.0",
    "undici": "^7.29.0",
    "unified": "^11.0.5",
    "ws": "^8.18.3",
    "yaml": "^2.5.0"
  },
  "devDependencies": {
    "@adelie/hmr": "workspace:*",
    "@types/mdast": "^4.0.4",
    "@types/node": "^24.0.0",
    "@types/ws": "^8.18.1",
    "@vitest/coverage-v8": "^3.2.6",
    "tsup": "^8.3.0",
    "tsx": "^4.20.0",
    "vitest": "^3.2.6"
  },
  "files": [
    "dist",
    "web-dist",
    "LICENSE"
  ],
  "publishConfig": {
    "access": "public"
  }
}