@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.
Files changed (55) hide show
  1. package/LICENSE +183 -0
  2. package/README.md +51 -0
  3. package/bin/http/AgentHTTP.d.ts +53 -0
  4. package/bin/http/AgentHTTP.d.ts.map +1 -0
  5. package/bin/http/AgentHTTP.js +118 -0
  6. package/bin/http/AgentHTTP.js.map +1 -0
  7. package/bin/http/NodeHttpAdapter.d.ts +21 -0
  8. package/bin/http/NodeHttpAdapter.d.ts.map +1 -0
  9. package/bin/http/NodeHttpAdapter.js +56 -0
  10. package/bin/http/NodeHttpAdapter.js.map +1 -0
  11. package/bin/http/routes/SessionRoutes.d.ts +15 -0
  12. package/bin/http/routes/SessionRoutes.d.ts.map +1 -0
  13. package/bin/http/routes/SessionRoutes.js +249 -0
  14. package/bin/http/routes/SessionRoutes.js.map +1 -0
  15. package/bin/index.d.ts +13 -0
  16. package/bin/index.d.ts.map +1 -0
  17. package/bin/index.js +10 -0
  18. package/bin/index.js.map +1 -0
  19. package/bin/rpc/AgentRPC.d.ts +37 -0
  20. package/bin/rpc/AgentRPC.d.ts.map +1 -0
  21. package/bin/rpc/AgentRPC.js +81 -0
  22. package/bin/rpc/AgentRPC.js.map +1 -0
  23. package/bin/rpc/RpcServer.d.ts +30 -0
  24. package/bin/rpc/RpcServer.d.ts.map +1 -0
  25. package/bin/rpc/RpcServer.js +106 -0
  26. package/bin/rpc/RpcServer.js.map +1 -0
  27. package/bin/rpc/server/InternalHandlers.d.ts +22 -0
  28. package/bin/rpc/server/InternalHandlers.d.ts.map +1 -0
  29. package/bin/rpc/server/InternalHandlers.js +248 -0
  30. package/bin/rpc/server/InternalHandlers.js.map +1 -0
  31. package/bin/rpc/server/RequestDispatcher.d.ts +27 -0
  32. package/bin/rpc/server/RequestDispatcher.d.ts.map +1 -0
  33. package/bin/rpc/server/RequestDispatcher.js +38 -0
  34. package/bin/rpc/server/RequestDispatcher.js.map +1 -0
  35. package/bin/rpc/server/SdkSessionHandlers.d.ts +25 -0
  36. package/bin/rpc/server/SdkSessionHandlers.d.ts.map +1 -0
  37. package/bin/rpc/server/SdkSessionHandlers.js +86 -0
  38. package/bin/rpc/server/SdkSessionHandlers.js.map +1 -0
  39. package/bin/rpc/server/ServerTypes.d.ts +58 -0
  40. package/bin/rpc/server/ServerTypes.d.ts.map +1 -0
  41. package/bin/rpc/server/ServerTypes.js +9 -0
  42. package/bin/rpc/server/ServerTypes.js.map +1 -0
  43. package/bin/types/AgentHttpBinding.d.ts +24 -0
  44. package/bin/types/AgentHttpBinding.d.ts.map +1 -0
  45. package/bin/types/AgentHttpBinding.js +5 -0
  46. package/bin/types/AgentHttpBinding.js.map +1 -0
  47. package/bin/types/AgentRpcBinding.d.ts +27 -0
  48. package/bin/types/AgentRpcBinding.d.ts.map +1 -0
  49. package/bin/types/AgentRpcBinding.js +8 -0
  50. package/bin/types/AgentRpcBinding.js.map +1 -0
  51. package/bin/types/RpcProtocol.d.ts +9 -0
  52. package/bin/types/RpcProtocol.d.ts.map +1 -0
  53. package/bin/types/RpcProtocol.js +9 -0
  54. package/bin/types/RpcProtocol.js.map +1 -0
  55. 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
+ }