@shadowob/shared 1.1.1 → 1.1.3-dev.251
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/dist/{chunk-EMLX23LF.js → chunk-DMUZB4WV.js} +3 -4
- package/dist/{chunk-PXKHJSTK.js → chunk-E3UBH4AI.js} +193 -0
- package/dist/chunk-EXZEQO5X.js +429 -0
- package/dist/constants/index.cjs +3 -4
- package/dist/constants/index.d.cts +2 -3
- package/dist/constants/index.d.ts +2 -3
- package/dist/constants/index.js +1 -1
- package/dist/index.cjs +637 -4
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +32 -2
- package/dist/message.types-lG4qBSus.d.cts +182 -0
- package/dist/message.types-lG4qBSus.d.ts +182 -0
- package/dist/play-catalog/index.cjs +457 -0
- package/dist/play-catalog/index.d.cts +77 -0
- package/dist/play-catalog/index.d.ts +77 -0
- package/dist/play-catalog/index.js +14 -0
- package/dist/types/index.d.cts +23 -120
- package/dist/types/index.d.ts +23 -120
- package/dist/utils/index.cjs +202 -0
- package/dist/utils/index.d.cts +40 -1
- package/dist/utils/index.d.ts +40 -1
- package/dist/utils/index.js +19 -1
- package/package.json +15 -2
|
@@ -16,14 +16,13 @@ declare const SERVER_EVENTS: {
|
|
|
16
16
|
readonly REACTION_ADD: "reaction:add";
|
|
17
17
|
readonly REACTION_REMOVE: "reaction:remove";
|
|
18
18
|
readonly NOTIFICATION_NEW: "notification:new";
|
|
19
|
-
readonly DM_MESSAGE_NEW: "dm:message:new";
|
|
20
19
|
};
|
|
21
20
|
type ClientEvent = (typeof CLIENT_EVENTS)[keyof typeof CLIENT_EVENTS];
|
|
22
21
|
type ServerEvent = (typeof SERVER_EVENTS)[keyof typeof SERVER_EVENTS];
|
|
23
22
|
|
|
24
23
|
declare const LIMITS: {
|
|
25
|
-
/** Max message content length */
|
|
26
|
-
readonly MESSAGE_CONTENT_MAX:
|
|
24
|
+
/** Max message content length (16KB — enough for detailed agent responses) */
|
|
25
|
+
readonly MESSAGE_CONTENT_MAX: 16000;
|
|
27
26
|
/** Max username length */
|
|
28
27
|
readonly USERNAME_MAX: 32;
|
|
29
28
|
/** Min username length */
|
|
@@ -16,14 +16,13 @@ declare const SERVER_EVENTS: {
|
|
|
16
16
|
readonly REACTION_ADD: "reaction:add";
|
|
17
17
|
readonly REACTION_REMOVE: "reaction:remove";
|
|
18
18
|
readonly NOTIFICATION_NEW: "notification:new";
|
|
19
|
-
readonly DM_MESSAGE_NEW: "dm:message:new";
|
|
20
19
|
};
|
|
21
20
|
type ClientEvent = (typeof CLIENT_EVENTS)[keyof typeof CLIENT_EVENTS];
|
|
22
21
|
type ServerEvent = (typeof SERVER_EVENTS)[keyof typeof SERVER_EVENTS];
|
|
23
22
|
|
|
24
23
|
declare const LIMITS: {
|
|
25
|
-
/** Max message content length */
|
|
26
|
-
readonly MESSAGE_CONTENT_MAX:
|
|
24
|
+
/** Max message content length (16KB — enough for detailed agent responses) */
|
|
25
|
+
readonly MESSAGE_CONTENT_MAX: 16000;
|
|
27
26
|
/** Max username length */
|
|
28
27
|
readonly USERNAME_MAX: 32;
|
|
29
28
|
/** Min username length */
|