@downcity/server 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +183 -0
- package/README.md +51 -0
- package/bin/http/AgentHTTP.d.ts +53 -0
- package/bin/http/AgentHTTP.d.ts.map +1 -0
- package/bin/http/AgentHTTP.js +118 -0
- package/bin/http/AgentHTTP.js.map +1 -0
- package/bin/http/NodeHttpAdapter.d.ts +21 -0
- package/bin/http/NodeHttpAdapter.d.ts.map +1 -0
- package/bin/http/NodeHttpAdapter.js +56 -0
- package/bin/http/NodeHttpAdapter.js.map +1 -0
- package/bin/http/routes/SessionRoutes.d.ts +15 -0
- package/bin/http/routes/SessionRoutes.d.ts.map +1 -0
- package/bin/http/routes/SessionRoutes.js +249 -0
- package/bin/http/routes/SessionRoutes.js.map +1 -0
- package/bin/index.d.ts +13 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +10 -0
- package/bin/index.js.map +1 -0
- package/bin/rpc/AgentRPC.d.ts +37 -0
- package/bin/rpc/AgentRPC.d.ts.map +1 -0
- package/bin/rpc/AgentRPC.js +81 -0
- package/bin/rpc/AgentRPC.js.map +1 -0
- package/bin/rpc/RpcServer.d.ts +30 -0
- package/bin/rpc/RpcServer.d.ts.map +1 -0
- package/bin/rpc/RpcServer.js +106 -0
- package/bin/rpc/RpcServer.js.map +1 -0
- package/bin/rpc/server/InternalHandlers.d.ts +22 -0
- package/bin/rpc/server/InternalHandlers.d.ts.map +1 -0
- package/bin/rpc/server/InternalHandlers.js +248 -0
- package/bin/rpc/server/InternalHandlers.js.map +1 -0
- package/bin/rpc/server/RequestDispatcher.d.ts +27 -0
- package/bin/rpc/server/RequestDispatcher.d.ts.map +1 -0
- package/bin/rpc/server/RequestDispatcher.js +38 -0
- package/bin/rpc/server/RequestDispatcher.js.map +1 -0
- package/bin/rpc/server/SdkSessionHandlers.d.ts +25 -0
- package/bin/rpc/server/SdkSessionHandlers.d.ts.map +1 -0
- package/bin/rpc/server/SdkSessionHandlers.js +86 -0
- package/bin/rpc/server/SdkSessionHandlers.js.map +1 -0
- package/bin/rpc/server/ServerTypes.d.ts +58 -0
- package/bin/rpc/server/ServerTypes.d.ts.map +1 -0
- package/bin/rpc/server/ServerTypes.js +9 -0
- package/bin/rpc/server/ServerTypes.js.map +1 -0
- package/bin/types/AgentHttpBinding.d.ts +24 -0
- package/bin/types/AgentHttpBinding.d.ts.map +1 -0
- package/bin/types/AgentHttpBinding.js +5 -0
- package/bin/types/AgentHttpBinding.js.map +1 -0
- package/bin/types/AgentRpcBinding.d.ts +27 -0
- package/bin/types/AgentRpcBinding.d.ts.map +1 -0
- package/bin/types/AgentRpcBinding.js +8 -0
- package/bin/types/AgentRpcBinding.js.map +1 -0
- package/bin/types/RpcProtocol.d.ts +9 -0
- package/bin/types/RpcProtocol.d.ts.map +1 -0
- package/bin/types/RpcProtocol.js +9 -0
- package/bin/types/RpcProtocol.js.map +1 -0
- package/package.json +52 -0
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@downcity/server",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Downcity Server — Agent transport layer (RPC + HTTP) for @downcity/agent",
|
|
6
|
+
"main": "./bin/index.js",
|
|
7
|
+
"types": "./bin/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"bin"
|
|
10
|
+
],
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/wangenius/downcity.git",
|
|
17
|
+
"directory": "packages/server"
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://downcity.ai",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/wangenius/downcity/issues"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"downcity",
|
|
25
|
+
"agent",
|
|
26
|
+
"rpc",
|
|
27
|
+
"http"
|
|
28
|
+
],
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./bin/index.d.ts",
|
|
32
|
+
"import": "./bin/index.js"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@downcity/agent": "^1.1.135",
|
|
38
|
+
"@downcity/shell": "^0.1.19",
|
|
39
|
+
"ai": "^6.0.193",
|
|
40
|
+
"hono": "^4.12.23"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@types/node": "^25.9.1",
|
|
44
|
+
"tsc-alias": "^1.8.17",
|
|
45
|
+
"typescript": "^6.0.3"
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "rm -rf bin tsconfig.tsbuildinfo && tsc && tsc-alias -f",
|
|
49
|
+
"dev": "tsc --watch",
|
|
50
|
+
"typecheck": "tsc --noEmit"
|
|
51
|
+
}
|
|
52
|
+
}
|