{"_id":"@bundy-lmw/hive-server","_rev":"9-52ddacad419cedeba7bc2025a2133551","name":"@bundy-lmw/hive-server","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.1":{"name":"@bundy-lmw/hive-server","version":"1.0.1","license":"MIT","_id":"@bundy-lmw/hive-server@1.0.1","maintainers":[{"name":"bundy-lmw","email":"bundy17601369801@163.com"}],"homepage":"https://github.com/1695365384/hive#readme","bugs":{"url":"https://github.com/1695365384/hive/issues"},"bin":{"hive":"dist/cli/index.js"},"dist":{"shasum":"7470aa56c46be6ae549a52d3b1e2099d6c4af0a6","tarball":"https://registry.npmjs.org/@bundy-lmw/hive-server/-/hive-server-1.0.1.tgz","fileCount":87,"integrity":"sha512-m/r9HtV7Rfw83BIaGKReMsromwj9tIMssQ3fyngjMqFVqj9vuEm9XZfmE/ekqb5YUJ5AbdebKhOKkfD2vwhqFg==","signatures":[{"sig":"MEUCIQDuCnzl85BlJbpsjUTQQktMU+GpNDg3VHBzc6wmIO4ZkAIgC3YizG743HlrCtoqDCCCHbOnZ4u2l9okngg9WT/RcWA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":228968},"main":"./dist/main.js","type":"module","types":"./dist/main.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/main.d.ts","import":"./dist/main.js"}},"gitHead":"3d56e5ce7f741ddbb731ed308d316837544c270e","scripts":{"cli":"node dist/cli/index.js","dev":"tsc -p tsconfig.build.json --watch","test":"vitest run","build":"tsc -p tsconfig.build.json","start":"node dist/main.js","test:watch":"vitest"},"_npmUser":{"name":"bundy-lmw","email":"bundy17601369801@163.com"},"repository":{"url":"git+https://github.com/1695365384/hive.git","type":"git","directory":"apps/server"},"_npmVersion":"10.9.3","description":"Hive 多 Agent 协作框架的服务器应用。","directories":{},"_nodeVersion":"22.20.0","dependencies":{"ws":"^8.20.0","zod":"^3.23.0","hono":"^4.12.0","dotenv":"^16.4.0","commander":"^14.0.3","@bundy-lmw/hive-core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.18.0","vitest":"^4.1.0","@types/ws":"^8.18.1","typescript":"^5.3.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/hive-server_1.0.1_1774852134000_0.881557660194543","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bundy-lmw/hive-server","version":"1.0.2","license":"MIT","_id":"@bundy-lmw/hive-server@1.0.2","maintainers":[{"name":"bundy-lmw","email":"bundy17601369801@163.com"}],"homepage":"https://github.com/1695365384/hive#readme","bugs":{"url":"https://github.com/1695365384/hive/issues"},"bin":{"hive":"dist/cli/index.js"},"dist":{"shasum":"744828796fed2c62328fd63b5faa911227b686ac","tarball":"https://registry.npmjs.org/@bundy-lmw/hive-server/-/hive-server-1.0.2.tgz","fileCount":147,"integrity":"sha512-UP45EA1h1OcbspcGmY2u52cBEOHaMRnj65DqQAEI+c33lgT7D9kXf8mNtKEsZTD2mY+s5bXAtcRPiywfdNM/rQ==","signatures":[{"sig":"MEUCICUXZ7PLcCj4NG3Dskx/XrFVSWcj6g+qq0QXLrhzsgfjAiEAvLgrZXcmKAGc7Le4id8/mo3yuyIzzqI1RwDW6PHnkck=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":364800},"main":"./dist/main.js","type":"module","types":"./dist/main.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/main.d.ts","import":"./dist/main.js"}},"gitHead":"6e586f9a237efc6f21b13e087749df49bf3fca93","scripts":{"cli":"node dist/cli/index.js","dev":"tsc -p tsconfig.build.json --watch","test":"vitest run","build":"tsc -p tsconfig.build.json","start":"node dist/main.js","test:watch":"vitest"},"_npmUser":{"name":"bundy-lmw","email":"bundy17601369801@163.com"},"repository":{"url":"git+https://github.com/1695365384/hive.git","type":"git","directory":"apps/server"},"_npmVersion":"10.9.3","description":"Hive 多 Agent 协作框架的服务器应用。","directories":{},"_nodeVersion":"22.20.0","dependencies":{"ws":"^8.20.0","zod":"^4.3.6","hono":"^4.12.0","pino":"^10.3.1","dotenv":"^16.4.0","commander":"^14.0.3","@bundy-lmw/hive-core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.18.0","vitest":"^4.1.0","esbuild":"^0.25.0","postject":"^1.0.0-alpha.6","@types/ws":"^8.18.1","typescript":"^5.3.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/hive-server_1.0.2_1775009344625_0.23013961829553908","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@bundy-lmw/hive-server","version":"1.0.3","license":"MIT","_id":"@bundy-lmw/hive-server@1.0.3","maintainers":[{"name":"bundy-lmw","email":"bundy17601369801@163.com"}],"homepage":"https://github.com/1695365384/hive#readme","bugs":{"url":"https://github.com/1695365384/hive/issues"},"bin":{"hive":"dist/cli/index.js"},"dist":{"shasum":"0b0152d84481ab7d0e3ea31589cb5d26bb8b0f13","tarball":"https://registry.npmjs.org/@bundy-lmw/hive-server/-/hive-server-1.0.3.tgz","fileCount":147,"integrity":"sha512-o1+wnMVulsOGLnvpKoNJs74AnkUvKnNXJhPNHDk+MD/vbZE1cfDkpOxy7EzOPuozXd/RZ1uVDwprqxXirlLhWg==","signatures":[{"sig":"MEUCIDC6joeTcQD6n7Yyo4ANx77GmP2K7Er2S3PCBQksfXYaAiEAqhlV2W6iTOnDmftwOYVCXRUylppn7DYKFzpkf4LxSKQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":364804},"main":"./dist/main.js","type":"module","types":"./dist/main.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/main.d.ts","import":"./dist/main.js"}},"gitHead":"6e586f9a237efc6f21b13e087749df49bf3fca93","scripts":{"cli":"node dist/cli/index.js","dev":"tsc -p tsconfig.build.json --watch","test":"vitest run","build":"tsc -p tsconfig.build.json","start":"node dist/main.js","test:watch":"vitest"},"_npmUser":{"name":"bundy-lmw","email":"bundy17601369801@163.com"},"repository":{"url":"git+https://github.com/1695365384/hive.git","type":"git","directory":"apps/server"},"_npmVersion":"10.9.3","description":"Hive 多 Agent 协作框架的服务器应用。","directories":{},"_nodeVersion":"22.20.0","dependencies":{"ws":"^8.20.0","zod":"^4.3.6","hono":"^4.12.0","pino":"^10.3.1","dotenv":"^16.4.0","commander":"^14.0.3","@bundy-lmw/hive-core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.18.0","vitest":"^4.1.0","esbuild":"^0.25.0","postject":"^1.0.0-alpha.6","@types/ws":"^8.18.1","typescript":"^5.3.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/hive-server_1.0.3_1775010026830_0.022229156828373453","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@bundy-lmw/hive-server","version":"1.0.4","license":"MIT","_id":"@bundy-lmw/hive-server@1.0.4","maintainers":[{"name":"bundy-lmw","email":"bundy17601369801@163.com"}],"homepage":"https://github.com/1695365384/hive#readme","bugs":{"url":"https://github.com/1695365384/hive/issues"},"bin":{"hive":"dist/cli/index.js"},"dist":{"shasum":"4c4d377d197eb0f9b343946e11441a34843a4e17","tarball":"https://registry.npmjs.org/@bundy-lmw/hive-server/-/hive-server-1.0.4.tgz","fileCount":147,"integrity":"sha512-L7OAPNtObTLiaerQdz1FoWwA1GNg07mbXfcCi7TMgp4j69HAoVm9RZuWIHsZSNwI72vcJUGmyg7bxuQeIKVRNw==","signatures":[{"sig":"MEUCIQCk45aZk5s1oPCCoqszf0hoD3QXYlnHZZ/xrU2kwgDZ9wIgcfBA9I8J3qOL6RWKeKKLRTE9EYKUYaYv4EH8H8CkH7U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":364804},"main":"./dist/main.js","type":"module","types":"./dist/main.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/main.d.ts","import":"./dist/main.js"}},"gitHead":"6e586f9a237efc6f21b13e087749df49bf3fca93","scripts":{"cli":"node dist/cli/index.js","dev":"tsc -p tsconfig.build.json --watch","test":"vitest run","build":"tsc -p tsconfig.build.json","start":"node dist/main.js","test:watch":"vitest"},"_npmUser":{"name":"bundy-lmw","email":"bundy17601369801@163.com"},"repository":{"url":"git+https://github.com/1695365384/hive.git","type":"git","directory":"apps/server"},"_npmVersion":"10.9.3","description":"Hive 多 Agent 协作框架的服务器应用。","directories":{},"_nodeVersion":"22.20.0","dependencies":{"ws":"^8.20.0","zod":"^4.3.6","hono":"^4.12.0","pino":"^10.3.1","dotenv":"^16.4.0","commander":"^14.0.3","@bundy-lmw/hive-core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.18.0","vitest":"^4.1.0","esbuild":"^0.25.0","postject":"^1.0.0-alpha.6","@types/ws":"^8.18.1","typescript":"^5.3.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/hive-server_1.0.4_1775010927795_0.9320265320432812","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@bundy-lmw/hive-server","version":"1.0.5","license":"MIT","_id":"@bundy-lmw/hive-server@1.0.5","maintainers":[{"name":"bundy-lmw","email":"bundy17601369801@163.com"}],"homepage":"https://github.com/1695365384/hive#readme","bugs":{"url":"https://github.com/1695365384/hive/issues"},"bin":{"hive":"dist/cli/index.js"},"dist":{"shasum":"52cd169f1a449c1d2274fe442858a88458176e40","tarball":"https://registry.npmjs.org/@bundy-lmw/hive-server/-/hive-server-1.0.5.tgz","fileCount":147,"integrity":"sha512-NlizrAhewPw0C4dPy6bl4UqbNtRcK+OpHWwey8CyQGmZ2Q4htBvzULfPAWel5vK2uCOLHnGClsu5U8UUx7NIFA==","signatures":[{"sig":"MEUCICacmATjZkwWy/zXcCxOSW70Gv8aGO+EGIwNJUioy4/7AiEA8EUYieatVmcHM1zuA+iwqGLzCiLHGq9G47j5K2EKt9I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":364804},"main":"./dist/main.js","type":"module","types":"./dist/main.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/main.d.ts","import":"./dist/main.js"}},"gitHead":"001f15a2153400aea2de560ce32f88e8c7ed216e","scripts":{"cli":"node dist/cli/index.js","dev":"tsc -p tsconfig.build.json --watch","test":"vitest run","build":"tsc -p tsconfig.build.json","start":"node dist/main.js","test:watch":"vitest"},"_npmUser":{"name":"bundy-lmw","email":"bundy17601369801@163.com"},"repository":{"url":"git+https://github.com/1695365384/hive.git","type":"git","directory":"apps/server"},"_npmVersion":"10.9.3","description":"Hive 多 Agent 协作框架的服务器应用。","directories":{},"_nodeVersion":"22.20.0","dependencies":{"ws":"^8.20.0","zod":"^4.3.6","hono":"^4.12.0","pino":"^10.3.1","dotenv":"^16.4.0","commander":"^14.0.3","@bundy-lmw/hive-core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.18.0","vitest":"^4.1.0","esbuild":"^0.25.0","postject":"^1.0.0-alpha.6","@types/ws":"^8.18.1","typescript":"^5.3.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/hive-server_1.0.5_1775015826450_0.5635975821630486","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@bundy-lmw/hive-server","version":"1.0.6","license":"MIT","_id":"@bundy-lmw/hive-server@1.0.6","maintainers":[{"name":"bundy-lmw","email":"bundy17601369801@163.com"}],"homepage":"https://github.com/1695365384/hive#readme","bugs":{"url":"https://github.com/1695365384/hive/issues"},"bin":{"hive":"dist/cli/index.js"},"dist":{"shasum":"a3ae658feeda64c0c3af161e638f1fd5b010723f","tarball":"https://registry.npmjs.org/@bundy-lmw/hive-server/-/hive-server-1.0.6.tgz","fileCount":143,"integrity":"sha512-DNYYl9fxALgZTQfq4hhLh1GXPTTOzocW9vbtMEk9xC4s+vxdUBBb74VpXpLy4ZON3HPaZ8Opvnj3DPDynuHxEw==","signatures":[{"sig":"MEUCIQDZay91BbBHQiTeoCRB9G/Wp5U8j0mNV3DMt8h50GKvvgIgPMHEWeGTiy3YHIybmgKshRxfUYwOAjrwD/r3SgDk38E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":367919},"main":"./dist/main.js","type":"module","types":"./dist/main.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/main.d.ts","import":"./dist/main.js"}},"gitHead":"6479f864fc165ac5b84058c5868f457f6b22b06f","scripts":{"cli":"node dist/cli/index.js","dev":"tsc -p tsconfig.build.json --watch","test":"vitest run","build":"tsc -p tsconfig.build.json","start":"node dist/main.js","sea:build":"npm run build && sh scripts/bundle.sh","test:watch":"vitest"},"_npmUser":{"name":"bundy-lmw","email":"bundy17601369801@163.com"},"repository":{"url":"git+https://github.com/1695365384/hive.git","type":"git","directory":"apps/server"},"_npmVersion":"10.9.3","description":"Hive 多 Agent 协作框架的服务器应用。","directories":{},"_nodeVersion":"22.20.0","dependencies":{"ws":"^8.20.0","zod":"^4.3.6","hono":"^4.12.0","pino":"^10.3.1","dotenv":"^16.4.0","commander":"^14.0.3","@bundy-lmw/hive-core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.18.0","vitest":"^4.1.0","esbuild":"^0.25.0","postject":"^1.0.0-alpha.6","@types/ws":"^8.18.1","typescript":"^5.3.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/hive-server_1.0.6_1775106595334_0.007378679429337565","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@bundy-lmw/hive-server","version":"1.0.7","license":"MIT","_id":"@bundy-lmw/hive-server@1.0.7","maintainers":[{"name":"bundy-lmw","email":"bundy17601369801@163.com"}],"homepage":"https://github.com/1695365384/hive#readme","bugs":{"url":"https://github.com/1695365384/hive/issues"},"bin":{"hive":"dist/cli/index.js"},"dist":{"shasum":"4de88c74c22d5d703fda0544a3335eea9f274f2f","tarball":"https://registry.npmjs.org/@bundy-lmw/hive-server/-/hive-server-1.0.7.tgz","fileCount":143,"integrity":"sha512-j8OV7ryA9LXfRjCO6HJCLEQwNjw+Io8htK++Hipn8LrnPu+yc8ACIcp6OdzDkY3qRar0SNfCaGBt5dgyBtucSQ==","signatures":[{"sig":"MEYCIQCjHlfn9mzaVNvboU9Omjcu7SMFqJb5ZIm9gAiSakDjtAIhAOtBFEyXT4pY0ZIDdjnk4R11AB7YAYjfmh0C7pxQe48P","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":365038},"main":"./dist/main.js","type":"module","types":"./dist/main.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/main.d.ts","import":"./dist/main.js"}},"gitHead":"71b580461df82d5d39ca0ccc3c43f80470215214","scripts":{"cli":"node dist/cli/index.js","dev":"tsc -p tsconfig.build.json --watch","test":"vitest run","build":"tsc -p tsconfig.build.json","start":"node dist/main.js","sea:build":"npm run build && sh scripts/bundle.sh","test:watch":"vitest"},"_npmUser":{"name":"bundy-lmw","email":"bundy17601369801@163.com"},"repository":{"url":"git+https://github.com/1695365384/hive.git","type":"git","directory":"apps/server"},"_npmVersion":"10.9.3","description":"Hive 多 Agent 协作框架的服务器应用。","directories":{},"_nodeVersion":"22.20.0","dependencies":{"ws":"^8.20.0","zod":"^4.3.6","hono":"^4.12.0","pino":"^10.3.1","dotenv":"^16.4.0","commander":"^14.0.3","@bundy-lmw/hive-core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.18.0","vitest":"^4.1.0","esbuild":"^0.25.0","postject":"^1.0.0-alpha.6","@types/ws":"^8.18.1","typescript":"^5.3.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/hive-server_1.0.7_1775154526220_0.026495379990161272","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@bundy-lmw/hive-server","version":"1.0.8","license":"MIT","_id":"@bundy-lmw/hive-server@1.0.8","maintainers":[{"name":"bundy-lmw","email":"bundy17601369801@163.com"}],"homepage":"https://github.com/1695365384/hive#readme","bugs":{"url":"https://github.com/1695365384/hive/issues"},"bin":{"hive":"dist/cli/index.js"},"dist":{"shasum":"3c31f076258611f14021dc67c8301e3d9b86d4c8","tarball":"https://registry.npmjs.org/@bundy-lmw/hive-server/-/hive-server-1.0.8.tgz","fileCount":143,"integrity":"sha512-EidlAm7cKsiiuR60cuNP5gxpXEgc1y3CadXUHE7bpy8id0ac3t0eB4UfDTYUeX+aVzb57pkRn6eAp1OYX1wqEg==","signatures":[{"sig":"MEQCICKsBX6uQ5jMHGVHth3eLTYcVDv+PMiSKv26WyAt0m3lAiA3FJ2ZKM/kauuCnY6OdRtfVrIjxxWDH6+RD1B5hOtZMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":365038},"main":"./dist/main.js","type":"module","types":"./dist/main.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/main.d.ts","import":"./dist/main.js"}},"gitHead":"71b580461df82d5d39ca0ccc3c43f80470215214","scripts":{"cli":"node dist/cli/index.js","dev":"tsc -p tsconfig.build.json --watch","test":"vitest run","build":"tsc -p tsconfig.build.json","start":"node dist/main.js","sea:build":"npm run build && sh scripts/bundle.sh","test:watch":"vitest"},"_npmUser":{"name":"bundy-lmw","email":"bundy17601369801@163.com"},"repository":{"url":"git+https://github.com/1695365384/hive.git","type":"git","directory":"apps/server"},"_npmVersion":"10.9.3","description":"Hive 多 Agent 协作框架的服务器应用。","directories":{},"_nodeVersion":"22.20.0","dependencies":{"ws":"^8.20.0","zod":"^4.3.6","hono":"^4.12.0","pino":"^10.3.1","dotenv":"^16.4.0","commander":"^14.0.3","@bundy-lmw/hive-core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.18.0","vitest":"^4.1.0","esbuild":"^0.25.0","postject":"^1.0.0-alpha.6","@types/ws":"^8.18.1","typescript":"^5.3.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/hive-server_1.0.8_1775154683625_0.4479527130505403","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@bundy-lmw/hive-server","version":"1.0.9","type":"module","main":"./dist/main.js","types":"./dist/main.d.ts","bin":{"hive":"dist/cli/index.js"},"exports":{".":{"import":"./dist/main.js","types":"./dist/main.d.ts"}},"dependencies":{"commander":"^14.0.3","dotenv":"^16.4.0","hono":"^4.12.0","pino":"^10.3.1","ws":"^8.20.0","zod":"^4.3.6","@bundy-lmw/hive-core":"1.0.19"},"devDependencies":{"@types/node":"^20.11.0","@types/ws":"^8.18.1","ajv":"^8.18.0","esbuild":"^0.25.0","postject":"^1.0.0-alpha.6","typescript":"^5.3.0","vitest":"^4.1.0"},"repository":{"type":"git","url":"git+https://github.com/1695365384/hive.git","directory":"apps/server"},"homepage":"https://github.com/1695365384/hive#readme","license":"MIT","engines":{"node":">=18.0.0"},"scripts":{"build":"tsc -p tsconfig.build.json","dev":"tsc -p tsconfig.build.json --watch","start":"node dist/main.js","cli":"node dist/cli/index.js","test":"vitest run","test:watch":"vitest","sea:build":"npm run build && sh scripts/bundle.sh"},"_id":"@bundy-lmw/hive-server@1.0.9","description":"Hive 多 Agent 协作框架的服务器应用。","bugs":{"url":"https://github.com/1695365384/hive/issues"},"_integrity":"sha512-btSO35hW7h2/pcJfBv2nIlSMb2zF3CvjHCOyxzaSdhr+FPHBK4snlhidX/haT2hAW0ujJZ3mGjH1Gj4EkCmLJQ==","_resolved":"/private/var/folders/qz/2s20zb5d0jjc5hhf33wgtth00000gn/T/584de4dff76ff69abcba4bf8c3e26eb2/bundy-lmw-hive-server-1.0.9.tgz","_from":"file:bundy-lmw-hive-server-1.0.9.tgz","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-btSO35hW7h2/pcJfBv2nIlSMb2zF3CvjHCOyxzaSdhr+FPHBK4snlhidX/haT2hAW0ujJZ3mGjH1Gj4EkCmLJQ==","shasum":"a8cd8716dc6319b0feebace20488eeb42b848351","tarball":"https://registry.npmjs.org/@bundy-lmw/hive-server/-/hive-server-1.0.9.tgz","fileCount":143,"unpackedSize":365032,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCKmX3qJYY7ZyipbidWC6v+my8+QLjNMqTVFg+wSGbrcgIhAIF0cuhlHgMts7SuKEonwz12wUy19JXi7lw2m3oTvuQM"}]},"_npmUser":{"name":"bundy-lmw","email":"bundy17601369801@163.com"},"directories":{},"maintainers":[{"name":"bundy-lmw","email":"bundy17601369801@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hive-server_1.0.9_1775175498616_0.4082525191888826"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-30T06:28:53.944Z","modified":"2026-04-03T00:18:18.880Z","1.0.1":"2026-03-30T06:28:54.150Z","1.0.2":"2026-04-01T02:09:04.760Z","1.0.3":"2026-04-01T02:20:27.004Z","1.0.4":"2026-04-01T02:35:27.968Z","1.0.5":"2026-04-01T03:57:06.616Z","1.0.6":"2026-04-02T05:09:55.524Z","1.0.7":"2026-04-02T18:28:46.453Z","1.0.8":"2026-04-02T18:31:23.786Z","1.0.9":"2026-04-03T00:18:18.765Z"},"bugs":{"url":"https://github.com/1695365384/hive/issues"},"license":"MIT","homepage":"https://github.com/1695365384/hive#readme","repository":{"type":"git","url":"git+https://github.com/1695365384/hive.git","directory":"apps/server"},"description":"Hive 多 Agent 协作框架的服务器应用。","maintainers":[{"name":"bundy-lmw","email":"bundy17601369801@163.com"}],"readme":"# @bundy-lmw/hive-server\n\nHive 多 Agent 协作框架的服务器应用。\n\n## 安装\n\n```bash\npnpm install\npnpm build\n```\n\n## 配置\n\n### 方式一：使用 hive.config.json（推荐）\n\n创建 `hive.config.json` 文件：\n\n```json\n{\n  \"server\": {\n    \"port\": 3000,\n    \"logLevel\": \"info\"\n  },\n  \"provider\": {\n    \"id\": \"glm\",\n    \"apiKey\": \"${GLM_API_KEY}\",\n    \"model\": \"glm-4-plus\"\n  },\n  \"plugins\": {\n    \"@bundy-lmw/hive-plugin-feishu\": {\n      \"apps\": [\n        {\n          \"appId\": \"${FEISHU_APP_ID}\",\n          \"appSecret\": \"${FEISHU_APP_SECRET}\"\n        }\n      ]\n    }\n  }\n}\n```\n\n环境变量使用 `${VAR_NAME}` 语法，会自动从系统环境变量中读取。\n\n## 使用\n\n### CLI 命令\n\n```bash\n# 查看帮助\nhive --help\n\n# 查看版本\nhive --version\n\n# 启动交互式聊天\nhive chat\n\n# 启动 HTTP/WebSocket 服务器\nhive server\n\n# 指定端口启动\nhive server --port 8080\n```\n\n### HTTP API\n\n服务器启动后，提供以下端点：\n\n| 端点 | 方法 | 描述 |\n|------|------|------|\n| `/health` | GET | 健康检查 |\n| `/api/chat` | POST | 发送聊天消息 |\n| `/api/sessions` | GET | 获取会话列表 |\n| `/api/sessions/:id` | GET | 获取会话详情 |\n| `/webhook/:plugin/:appId` | POST | 插件 Webhook |\n\n#### 聊天示例\n\n```bash\ncurl -X POST http://localhost:3000/api/chat \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"message\": \"你好\"}'\n```\n\n### WebSocket\n\n连接到 `ws://localhost:3000/ws` 进行实时通信：\n\n```javascript\nconst ws = new WebSocket('ws://localhost:3000/ws')\n\nws.onopen = () => {\n  ws.send(JSON.stringify({ type: 'chat', message: '你好' }))\n}\n\nws.onmessage = (event) => {\n  console.log(JSON.parse(event.data))\n}\n```\n\n## 插件系统\n\nHive 支持通过插件扩展通道能力。\n\n### 配置插件\n\n在 `hive.config.json` 中配置插件：\n\n```json\n{\n  \"plugins\": {\n    \"@bundy-lmw/hive-plugin-feishu\": {\n      \"apps\": [\n        {\n          \"appId\": \"cli_xxxxxx\",\n          \"appSecret\": \"xxxxxx\"\n        }\n      ]\n    }\n  }\n}\n```\n\n### Webhook 配置\n\n对于飞书等需要接收事件的平台，配置 Webhook URL：\n\n```\nhttps://your-server.com/webhook/feishu/{appId}\n```\n\n### 开发插件\n\n创建新插件需要实现 `IPlugin` 接口：\n\n```typescript\nimport type { IPlugin, IChannel, PluginContext } from '@bundy-lmw/hive-core'\n\nexport class MyPlugin implements IPlugin {\n  readonly metadata = {\n    id: 'my-plugin',\n    name: 'My Plugin',\n    version: '1.0.0'\n  }\n\n  async initialize(context: PluginContext): Promise<void> {\n    // 初始化逻辑\n  }\n\n  async activate(): Promise<void> {\n    // 激活插件\n  }\n\n  async deactivate(): Promise<void> {\n    // 停用插件\n  }\n\n  getChannels(): IChannel[] {\n    // 返回通道列表\n    return []\n  }\n}\n```\n\n## 架构\n\n```\n┌─────────────────────────────────────────────────────┐\n│                    CLI Entry                        │\n│                 (src/cli/index.ts)                  │\n└───────────────────────┬─────────────────────────────┘\n                        │\n┌───────────────────────▼─────────────────────────────┐\n│                    Bootstrap                        │\n│                 (src/bootstrap.ts)                  │\n│  ┌─────────┐  ┌────────┐                            │\n│  │Agent    │  │Message │                            │\n│  │         │  │Bus     │                            │\n│  └────┬────┘  └────┬───┘                            │\n└───────┼────────────┼────────────────────────────────┘\n        │            │\n┌───────▼────────────▼─────────────────────────────────┐\n│                   Gateways                          │\n│  ┌─────────────────────┐  ┌──────────────────────┐  │\n│  │HTTP (Hono)          │  │WebSocket             │  │\n│  │- /api/chat          │  │- Real-time chat      │  │\n│  │- /api/sessions      │  │- Event streaming     │  │\n│  └─────────────────────┘  └──────────────────────┘  │\n└─────────────────────────────────────────────────────┘\n```\n\n## 开发\n\n```bash\n# 监视模式构建\npnpm dev\n\n# 运行测试\npnpm test\n\n# 测试监视模式\npnpm test:watch\n```\n\n## GitHub\n\n[https://github.com/1695365384/hive](https://github.com/1695365384/hive)\n\n## 许可证\n\nMIT\n","readmeFilename":"README.md"}