{
  "name": "zhuyuan-server",
  "version": "1.0.0",
  "description": "铸渊主权服务器应用 · Zhuyuan Sovereign Server · ICE-GL-ZY001",
  "main": "server.js",
  "scripts": {
    "start": "node server.js",
    "dev": "node server.js",
    "health": "curl -s http://localhost:3800/api/health | jq .",
    "agent:list": "curl -s -H 'Authorization: Bearer $TOKEN' http://localhost:3800/api/agent/list | jq .",
    "oauth:github": "curl -s 'http://localhost:3800/api/oauth/github?email=$EMAIL' | jq .",
    "oauth:notion": "curl -s 'http://localhost:3800/api/oauth/notion?email=$EMAIL' | jq .",
    "oauth:github:callback": "curl -s 'http://localhost:3800/api/oauth/github/callback?code=$CODE&state=$STATE' | jq .",
    "oauth:notion:callback": "curl -s 'http://localhost:3800/api/oauth/notion/callback?code=$CODE&state=$STATE' | jq .",
    "agent:handshake:initiate": "curl -s -X POST -H 'Content-Type: application/json' -d '{\"initiatorId\":\"$INITIATOR\",\"targetId\":\"$TARGET\",\"token\":\"$TOKEN\"}' http://localhost:3800/api/agent/handshake/initiate | jq .",
    "agent:handshake:complete": "curl -s -X POST -H 'Content-Type: application/json' -d '{\"handshakeId\":\"$HANDSHAKE_ID\",\"targetId\":\"$TARGET\",\"targetKey\":\"$TARGET_KEY\",\"token\":\"$TOKEN\"}' http://localhost:3800/api/agent/handshake/complete | jq .",
    "agent:handshake:heartbeat": "curl -s -X POST -H 'Content-Type: application/json' -d '{\"connectionId\":\"$CONN_ID\",\"token\":\"$TOKEN\"}' http://localhost:3800/api/agent/handshake/heartbeat | jq .",
    "agent:handshake:disconnect": "curl -s -X POST -H 'Content-Type: application/json' -d '{\"connectionId\":\"$CONN_ID\",\"token\":\"$TOKEN\"}' http://localhost:3800/api/agent/handshake/disconnect | jq .",
    "agent:training:start": "curl -s -X POST -H 'Content-Type: application/json' -d '{\"agentId\":\"$AGENT_ID\",\"token\":\"$TOKEN\"}' http://localhost:3800/api/agent/training/start | jq .",
    "agent:training:stop": "curl -s -X POST -H 'Content-Type: application/json' -d '{\"agentId\":\"$AGENT_ID\",\"token\":\"$TOKEN\"}' http://localhost:3800/api/agent/training/stop | jq .",
    "agent:training:status": "curl -s 'http://localhost:3800/api/agent/training/status?agentId=$AGENT_ID&token=$TOKEN' | jq ."
  },
  "dependencies": {
    "express": "^4.21.0",
    "cors": "^2.8.5",
    "express-rate-limit": "^7.4.0",
    "better-sqlite3": "^11.0.0",
    "pg": "^8.13.0",
    "nodemailer": "^7.0.11",
    "node-fetch": "^3.3.2",
    "cos-nodejs-sdk-v5": "^2.11.19",
    "uuid": "^9.0.0"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "author": "铸渊 · ICE-GL-ZY001",
  "license": "UNLICENSED",
  "private": true
}