openclaw-stepfun 0.2.2
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 +21 -0
- package/README.md +61 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +18 -0
- package/dist/src/accounts.d.ts +22 -0
- package/dist/src/accounts.js +43 -0
- package/dist/src/bot.d.ts +16 -0
- package/dist/src/bot.js +100 -0
- package/dist/src/channel.d.ts +4 -0
- package/dist/src/channel.js +206 -0
- package/dist/src/client.d.ts +51 -0
- package/dist/src/client.js +206 -0
- package/dist/src/monitor.d.ts +19 -0
- package/dist/src/monitor.js +153 -0
- package/dist/src/proto/capy/botauth/auth_common_pb.d.ts +82 -0
- package/dist/src/proto/capy/botauth/auth_common_pb.js +35 -0
- package/dist/src/proto/capy/botauth/botauth_connect.d.ts +118 -0
- package/dist/src/proto/capy/botauth/botauth_connect.js +118 -0
- package/dist/src/proto/capy/botauth/botauth_pb.d.ts +1065 -0
- package/dist/src/proto/capy/botauth/botauth_pb.js +348 -0
- package/dist/src/proto/capy/botauth/public_connect.d.ts +62 -0
- package/dist/src/proto/capy/botauth/public_connect.js +62 -0
- package/dist/src/proto/capy/botauth/public_pb.d.ts +254 -0
- package/dist/src/proto/capy/botauth/public_pb.js +105 -0
- package/dist/src/proto/capy/botmsg/botmsg_connect.d.ts +72 -0
- package/dist/src/proto/capy/botmsg/botmsg_connect.js +72 -0
- package/dist/src/proto/capy/botmsg/botmsg_pb.d.ts +426 -0
- package/dist/src/proto/capy/botmsg/botmsg_pb.js +160 -0
- package/dist/src/proto/capy/botway/ctrl_connect.d.ts +61 -0
- package/dist/src/proto/capy/botway/ctrl_connect.js +61 -0
- package/dist/src/proto/capy/botway/ctrl_pb.d.ts +267 -0
- package/dist/src/proto/capy/botway/ctrl_pb.js +120 -0
- package/dist/src/proto/capy/botway/stream_connect.d.ts +26 -0
- package/dist/src/proto/capy/botway/stream_connect.js +26 -0
- package/dist/src/proto/capy/botway/stream_pb.d.ts +495 -0
- package/dist/src/proto/capy/botway/stream_pb.js +165 -0
- package/dist/src/reply-dispatcher.d.ts +17 -0
- package/dist/src/reply-dispatcher.js +234 -0
- package/dist/src/runtime.d.ts +4 -0
- package/dist/src/runtime.js +11 -0
- package/dist/src/send.d.ts +19 -0
- package/dist/src/send.js +66 -0
- package/dist/src/types.d.ts +65 -0
- package/dist/src/types.js +2 -0
- package/dist/src/websocket/cacheEvent.d.ts +17 -0
- package/dist/src/websocket/cacheEvent.js +61 -0
- package/dist/src/websocket/connect.d.ts +32 -0
- package/dist/src/websocket/connect.js +79 -0
- package/dist/src/websocket/constant.d.ts +8 -0
- package/dist/src/websocket/constant.js +10 -0
- package/dist/src/websocket/eventBus.d.ts +15 -0
- package/dist/src/websocket/eventBus.js +46 -0
- package/dist/src/websocket/index.d.ts +117 -0
- package/dist/src/websocket/index.js +637 -0
- package/dist/src/websocket/service.d.ts +36 -0
- package/dist/src/websocket/service.js +4 -0
- package/dist/src/websocket/stream.d.ts +10 -0
- package/dist/src/websocket/stream.js +24 -0
- package/dist/src/websocket/streamConnect.d.ts +40 -0
- package/dist/src/websocket/streamConnect.js +48 -0
- package/openclaw.plugin.json +23 -0
- package/package.json +69 -0
- package/scripts/setup.mjs +381 -0
- package/scripts/switch-env.mjs +98 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file capy/botauth/botauth.proto (package step.capy.botauth, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { BotHeartbeatReq, BotHeartbeatRes, BotLoginReq, BotLoginRes, BotLogoutReq, BotLogoutRes, GetUserBotAccountReq, GetUserBotAccountRes, HeartbeatReq, HeartbeatRes, LoginReq, LoginRes, LogoutReq, LogoutRes, QueryBotReq, QueryBotRes, QueryBotSessionReq, QueryBotSessionRes, QuerySessionReq, QuerySessionRes, QueryUserReq, QueryUserRes } from "./botauth_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service step.capy.botauth.Auth
|
|
11
|
+
*/
|
|
12
|
+
export const Auth = {
|
|
13
|
+
typeName: "step.capy.botauth.Auth",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc step.capy.botauth.Auth.Login
|
|
17
|
+
*/
|
|
18
|
+
login: {
|
|
19
|
+
name: "Login",
|
|
20
|
+
I: LoginReq,
|
|
21
|
+
O: LoginRes,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc step.capy.botauth.Auth.Logout
|
|
26
|
+
*/
|
|
27
|
+
logout: {
|
|
28
|
+
name: "Logout",
|
|
29
|
+
I: LogoutReq,
|
|
30
|
+
O: LogoutRes,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc step.capy.botauth.Auth.Heartbeat
|
|
35
|
+
*/
|
|
36
|
+
heartbeat: {
|
|
37
|
+
name: "Heartbeat",
|
|
38
|
+
I: HeartbeatReq,
|
|
39
|
+
O: HeartbeatRes,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc step.capy.botauth.Auth.BotLogin
|
|
44
|
+
*/
|
|
45
|
+
botLogin: {
|
|
46
|
+
name: "BotLogin",
|
|
47
|
+
I: BotLoginReq,
|
|
48
|
+
O: BotLoginRes,
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* @generated from rpc step.capy.botauth.Auth.BotLogout
|
|
53
|
+
*/
|
|
54
|
+
botLogout: {
|
|
55
|
+
name: "BotLogout",
|
|
56
|
+
I: BotLogoutReq,
|
|
57
|
+
O: BotLogoutRes,
|
|
58
|
+
kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* @generated from rpc step.capy.botauth.Auth.BotHeartbeat
|
|
62
|
+
*/
|
|
63
|
+
botHeartbeat: {
|
|
64
|
+
name: "BotHeartbeat",
|
|
65
|
+
I: BotHeartbeatReq,
|
|
66
|
+
O: BotHeartbeatRes,
|
|
67
|
+
kind: MethodKind.Unary,
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc step.capy.botauth.Auth.QuerySession
|
|
71
|
+
*/
|
|
72
|
+
querySession: {
|
|
73
|
+
name: "QuerySession",
|
|
74
|
+
I: QuerySessionReq,
|
|
75
|
+
O: QuerySessionRes,
|
|
76
|
+
kind: MethodKind.Unary,
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
* @generated from rpc step.capy.botauth.Auth.QueryUser
|
|
80
|
+
*/
|
|
81
|
+
queryUser: {
|
|
82
|
+
name: "QueryUser",
|
|
83
|
+
I: QueryUserReq,
|
|
84
|
+
O: QueryUserRes,
|
|
85
|
+
kind: MethodKind.Unary,
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* @generated from rpc step.capy.botauth.Auth.QueryBotSession
|
|
89
|
+
*/
|
|
90
|
+
queryBotSession: {
|
|
91
|
+
name: "QueryBotSession",
|
|
92
|
+
I: QueryBotSessionReq,
|
|
93
|
+
O: QueryBotSessionRes,
|
|
94
|
+
kind: MethodKind.Unary,
|
|
95
|
+
},
|
|
96
|
+
/**
|
|
97
|
+
* @generated from rpc step.capy.botauth.Auth.QueryBot
|
|
98
|
+
*/
|
|
99
|
+
queryBot: {
|
|
100
|
+
name: "QueryBot",
|
|
101
|
+
I: QueryBotReq,
|
|
102
|
+
O: QueryBotRes,
|
|
103
|
+
kind: MethodKind.Unary,
|
|
104
|
+
},
|
|
105
|
+
/**
|
|
106
|
+
* 查询数据库
|
|
107
|
+
*
|
|
108
|
+
* @generated from rpc step.capy.botauth.Auth.GetUserBotAccount
|
|
109
|
+
*/
|
|
110
|
+
getUserBotAccount: {
|
|
111
|
+
name: "GetUserBotAccount",
|
|
112
|
+
I: GetUserBotAccountReq,
|
|
113
|
+
O: GetUserBotAccountRes,
|
|
114
|
+
kind: MethodKind.Unary,
|
|
115
|
+
},
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
|