@whop/cli 0.0.1 → 0.0.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/README.md +94 -2
- package/dist/chunk-TZPTBY4K.js +25443 -0
- package/dist/chunk-TZPTBY4K.js.map +1 -0
- package/dist/dist-3D5NI5BW.js +123 -0
- package/dist/dist-3D5NI5BW.js.map +1 -0
- package/dist/index.js +20804 -0
- package/dist/index.js.map +1 -0
- package/package.json +57 -18
- package/bin/whop.js +0 -3
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
AjvJsonSchemaValidator,
|
|
5
|
+
CfWorkerJsonSchemaValidator,
|
|
6
|
+
DEFAULT_NEGOTIATED_PROTOCOL_VERSION,
|
|
7
|
+
DEFAULT_REQUEST_TIMEOUT_MSEC,
|
|
8
|
+
ExperimentalMcpServerTasks,
|
|
9
|
+
ExperimentalServerTasks,
|
|
10
|
+
INTERNAL_ERROR,
|
|
11
|
+
INVALID_PARAMS,
|
|
12
|
+
INVALID_REQUEST,
|
|
13
|
+
InMemoryTaskMessageQueue,
|
|
14
|
+
InMemoryTaskStore,
|
|
15
|
+
JSONRPC_VERSION,
|
|
16
|
+
LATEST_PROTOCOL_VERSION,
|
|
17
|
+
METHOD_NOT_FOUND,
|
|
18
|
+
McpServer,
|
|
19
|
+
OAuthError,
|
|
20
|
+
OAuthErrorCode,
|
|
21
|
+
PARSE_ERROR,
|
|
22
|
+
ProtocolError,
|
|
23
|
+
ProtocolErrorCode,
|
|
24
|
+
RELATED_TASK_META_KEY,
|
|
25
|
+
ReadBuffer,
|
|
26
|
+
ResourceTemplate,
|
|
27
|
+
SUPPORTED_PROTOCOL_VERSIONS,
|
|
28
|
+
SdkError,
|
|
29
|
+
SdkErrorCode,
|
|
30
|
+
Server,
|
|
31
|
+
StdioServerTransport,
|
|
32
|
+
UriTemplate,
|
|
33
|
+
UrlElicitationRequiredError,
|
|
34
|
+
WebStandardStreamableHTTPServerTransport,
|
|
35
|
+
assertClientRequestTaskCapability,
|
|
36
|
+
assertCompleteRequestPrompt,
|
|
37
|
+
assertCompleteRequestResourceTemplate,
|
|
38
|
+
assertToolsCallTaskCapability,
|
|
39
|
+
checkResourceAllowed,
|
|
40
|
+
completable,
|
|
41
|
+
createFetchWithInit,
|
|
42
|
+
deserializeMessage,
|
|
43
|
+
fromJsonSchema,
|
|
44
|
+
getDisplayName,
|
|
45
|
+
hostHeaderValidationResponse,
|
|
46
|
+
isCompletable,
|
|
47
|
+
isInitializeRequest,
|
|
48
|
+
isInitializedNotification,
|
|
49
|
+
isJSONRPCErrorResponse,
|
|
50
|
+
isJSONRPCNotification,
|
|
51
|
+
isJSONRPCRequest,
|
|
52
|
+
isJSONRPCResultResponse,
|
|
53
|
+
isTaskAugmentedRequestParams,
|
|
54
|
+
isTerminal,
|
|
55
|
+
localhostAllowedHostnames,
|
|
56
|
+
parseJSONRPCMessage,
|
|
57
|
+
resourceUrlFromServerUrl,
|
|
58
|
+
serializeMessage,
|
|
59
|
+
takeResult,
|
|
60
|
+
toArrayAsync,
|
|
61
|
+
validateHostHeader
|
|
62
|
+
} from "./chunk-TZPTBY4K.js";
|
|
63
|
+
export {
|
|
64
|
+
AjvJsonSchemaValidator,
|
|
65
|
+
CfWorkerJsonSchemaValidator,
|
|
66
|
+
DEFAULT_NEGOTIATED_PROTOCOL_VERSION,
|
|
67
|
+
DEFAULT_REQUEST_TIMEOUT_MSEC,
|
|
68
|
+
ExperimentalMcpServerTasks,
|
|
69
|
+
ExperimentalServerTasks,
|
|
70
|
+
INTERNAL_ERROR,
|
|
71
|
+
INVALID_PARAMS,
|
|
72
|
+
INVALID_REQUEST,
|
|
73
|
+
InMemoryTaskMessageQueue,
|
|
74
|
+
InMemoryTaskStore,
|
|
75
|
+
JSONRPC_VERSION,
|
|
76
|
+
LATEST_PROTOCOL_VERSION,
|
|
77
|
+
METHOD_NOT_FOUND,
|
|
78
|
+
McpServer,
|
|
79
|
+
OAuthError,
|
|
80
|
+
OAuthErrorCode,
|
|
81
|
+
PARSE_ERROR,
|
|
82
|
+
ProtocolError,
|
|
83
|
+
ProtocolErrorCode,
|
|
84
|
+
RELATED_TASK_META_KEY,
|
|
85
|
+
ReadBuffer,
|
|
86
|
+
ResourceTemplate,
|
|
87
|
+
SUPPORTED_PROTOCOL_VERSIONS,
|
|
88
|
+
SdkError,
|
|
89
|
+
SdkErrorCode,
|
|
90
|
+
Server,
|
|
91
|
+
StdioServerTransport,
|
|
92
|
+
UriTemplate,
|
|
93
|
+
UrlElicitationRequiredError,
|
|
94
|
+
WebStandardStreamableHTTPServerTransport,
|
|
95
|
+
assertClientRequestTaskCapability,
|
|
96
|
+
assertCompleteRequestPrompt,
|
|
97
|
+
assertCompleteRequestResourceTemplate,
|
|
98
|
+
assertToolsCallTaskCapability,
|
|
99
|
+
checkResourceAllowed,
|
|
100
|
+
completable,
|
|
101
|
+
createFetchWithInit,
|
|
102
|
+
deserializeMessage,
|
|
103
|
+
fromJsonSchema,
|
|
104
|
+
getDisplayName,
|
|
105
|
+
hostHeaderValidationResponse,
|
|
106
|
+
isCompletable,
|
|
107
|
+
isInitializeRequest,
|
|
108
|
+
isInitializedNotification,
|
|
109
|
+
isJSONRPCErrorResponse,
|
|
110
|
+
isJSONRPCNotification,
|
|
111
|
+
isJSONRPCRequest,
|
|
112
|
+
isJSONRPCResultResponse,
|
|
113
|
+
isTaskAugmentedRequestParams,
|
|
114
|
+
isTerminal,
|
|
115
|
+
localhostAllowedHostnames,
|
|
116
|
+
parseJSONRPCMessage,
|
|
117
|
+
resourceUrlFromServerUrl,
|
|
118
|
+
serializeMessage,
|
|
119
|
+
takeResult,
|
|
120
|
+
toArrayAsync,
|
|
121
|
+
validateHostHeader
|
|
122
|
+
};
|
|
123
|
+
//# sourceMappingURL=dist-3D5NI5BW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|