45bfae6e94
Initial import of all source code, config, and README assets: the packages workspace (cli, core, server, web, docs, landing, skills), build scripts, tooling config, and CI workflows. Includes the data-layout revision made on this branch: the local data root defaults to ~/.penguin/data (PENGUIN_HOME still overrides; the installer keeps its binaries in ~/.penguin), and every Agent lives under <project>/agents/<agent>/ — path helpers, the three agent-enumeration scans, the system prompt, built-in Skills, tests and docs all follow the new layout. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018ihk8iQuo3kv2aPjAYEPuR
60 lines
1.5 KiB
JSON
60 lines
1.5 KiB
JSON
{
|
|
"name": "@prismshadow/penguin-server",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"description": "PenguinHarness Web 服务端:多用户认证与授权、Session 运行与 SSE 流式通道、用量统计,引用 @prismshadow/penguin-core。",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Prism-Shadow/penguin-harness.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"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"engines": {
|
|
"node": ">=24"
|
|
},
|
|
"scripts": {
|
|
"dev": "pnpm --filter @prismshadow/penguin-core build && tsx watch src/index.ts",
|
|
"start": "node --disable-warning=ExperimentalWarning dist/index.js",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
"test": "vitest run --passWithNoTests",
|
|
"build": "tsup"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^1.15.0",
|
|
"@prismshadow/penguin-core": "workspace:*",
|
|
"@prismshadow/penguin-skills": "workspace:*",
|
|
"dotenv": "^17.0.0",
|
|
"hono": "^4.8.0",
|
|
"smol-toml": "^1.3.0",
|
|
"tar": "^7.5.20",
|
|
"yaml": "^2.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.0.0",
|
|
"tsup": "^8.3.0",
|
|
"tsx": "^4.20.0",
|
|
"typescript": "^5.6.0",
|
|
"vitest": "^2.1.0"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"web-dist",
|
|
"LICENSE"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|