@ttt-productions/ttt-core 0.4.1 → 0.4.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/dist/constants/chat.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Maximum chat message length (characters) used by ttt-core's chat callable
|
|
3
|
+
* and system-message-action schemas for backend validation.
|
|
3
4
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* consumers see no change.
|
|
5
|
+
* Split ownership by design: chat-core owns its own UI/runtime default
|
|
6
|
+
* (`MAX_CHAT_MESSAGE_LENGTH` in `chat-core/src/constants.ts`); ttt-core owns
|
|
7
|
+
* the value used by callable wire validation. The values are intentionally
|
|
8
|
+
* aligned at 4000; consumers wanting a different limit should override at
|
|
9
|
+
* their own call site rather than expecting cross-package coordination.
|
|
10
10
|
*/
|
|
11
11
|
export declare const MAX_CHAT_MESSAGE_LENGTH = 4000;
|
|
12
12
|
//# sourceMappingURL=chat.d.ts.map
|
package/dist/constants/chat.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Maximum chat message length (characters) used by ttt-core's chat callable
|
|
3
|
+
* and system-message-action schemas for backend validation.
|
|
3
4
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* consumers see no change.
|
|
5
|
+
* Split ownership by design: chat-core owns its own UI/runtime default
|
|
6
|
+
* (`MAX_CHAT_MESSAGE_LENGTH` in `chat-core/src/constants.ts`); ttt-core owns
|
|
7
|
+
* the value used by callable wire validation. The values are intentionally
|
|
8
|
+
* aligned at 4000; consumers wanting a different limit should override at
|
|
9
|
+
* their own call site rather than expecting cross-package coordination.
|
|
10
10
|
*/
|
|
11
11
|
export const MAX_CHAT_MESSAGE_LENGTH = 4000;
|
|
12
12
|
//# sourceMappingURL=chat.js.map
|