@musnows/scriverse 0.9.9 → 1.0.0
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/ai-write-plans.js +136 -48
- package/dist/ai-write-plans.js.map +1 -1
- package/dist/ai.js +404 -100
- package/dist/ai.js.map +1 -1
- package/dist/app.js +366 -2
- package/dist/app.js.map +1 -1
- package/dist/cli-core.js +95 -3
- package/dist/cli-core.js.map +1 -1
- package/dist/database.js +549 -4
- package/dist/database.js.map +1 -1
- package/dist/im-orchestrator.js +1317 -0
- package/dist/im-orchestrator.js.map +1 -0
- package/dist/im.js +1690 -0
- package/dist/im.js.map +1 -0
- package/dist/public/ai-interactive.js +14 -13
- package/dist/public/app.js +279 -82
- package/dist/public/im.d.ts +71 -0
- package/dist/public/im.js +1899 -0
- package/dist/public/index.html +108 -5
- package/dist/public/page-route.d.ts +2 -1
- package/dist/public/page-route.js +4 -1
- package/dist/public/styles.css +335 -3
- package/dist/s3-backup.js +5 -1
- package/dist/s3-backup.js.map +1 -1
- package/dist/security.js +1 -0
- package/dist/security.js.map +1 -1
- package/dist/store.js +4 -1
- package/dist/store.js.map +1 -1
- package/dist/user-auth.js +9 -4
- package/dist/user-auth.js.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export function serializeImComposer(root: HTMLElement): string;
|
|
2
|
+
|
|
3
|
+
export function normalizeImComposerHeight(value: number, maximumHeight: number, minimumHeight?: number): number;
|
|
4
|
+
|
|
5
|
+
export function normalizeImConversationWidth(value: number, maximumWidth: number, minimumWidth?: number, defaultWidth?: number): number;
|
|
6
|
+
|
|
7
|
+
export function resolveImConversationWidth(preferredWidth: number, viewportWidth: number, maximumWidth: number): number;
|
|
8
|
+
|
|
9
|
+
export function normalizeImDetailsWidth(value: number, maximumWidth: number, minimumWidth?: number, defaultWidth?: number): number;
|
|
10
|
+
|
|
11
|
+
export function shouldMarkImConversationRead(opened: boolean, visibilityState: string): boolean;
|
|
12
|
+
|
|
13
|
+
export function shouldRefreshImConversationListForEvent(type: string): boolean;
|
|
14
|
+
|
|
15
|
+
export function matchImProvisionalReplyTurn(
|
|
16
|
+
replies: Array<Record<string, unknown>>,
|
|
17
|
+
message: Record<string, unknown>
|
|
18
|
+
): string | null;
|
|
19
|
+
|
|
20
|
+
export function sameImGroupSettings(left: Record<string, unknown>, right: Record<string, unknown>): boolean;
|
|
21
|
+
|
|
22
|
+
export function imDiagnosticStatusLabel(turn: Record<string, unknown>): string;
|
|
23
|
+
|
|
24
|
+
export function isImRealtimeChainCurrent(activeChain: Record<string, unknown> | null, payload: Record<string, unknown>): boolean;
|
|
25
|
+
|
|
26
|
+
export function imConversationAccessibleLabel(title: string, subtitle: string, unreadCount?: number, mentionUnreadCount?: number): string;
|
|
27
|
+
|
|
28
|
+
export function findImMentionQuery(text: string, caretOffset?: number): {
|
|
29
|
+
query: string;
|
|
30
|
+
startOffset: number;
|
|
31
|
+
endOffset: number;
|
|
32
|
+
} | null;
|
|
33
|
+
|
|
34
|
+
export function shouldFollowImFeed(scrollHeight: number, scrollTop: number, clientHeight: number, force?: boolean): boolean;
|
|
35
|
+
|
|
36
|
+
export function mergeImMessagePages(
|
|
37
|
+
previousMessages: Array<Record<string, unknown>>,
|
|
38
|
+
...nextPages: Array<Array<Record<string, unknown>>>
|
|
39
|
+
): Array<Record<string, unknown>>;
|
|
40
|
+
|
|
41
|
+
export function mergeImFailedReplyPages(
|
|
42
|
+
...pages: Array<Array<Record<string, unknown>>>
|
|
43
|
+
): Array<Record<string, unknown>>;
|
|
44
|
+
|
|
45
|
+
export function imMessageSequenceBounds(messages: Array<Record<string, unknown>>): {
|
|
46
|
+
minimum: number;
|
|
47
|
+
maximum: number;
|
|
48
|
+
} | null;
|
|
49
|
+
|
|
50
|
+
export function hasImMessageSequenceGap(
|
|
51
|
+
previousMessages: Array<Record<string, unknown>>,
|
|
52
|
+
nextMessages: Array<Record<string, unknown>>
|
|
53
|
+
): boolean;
|
|
54
|
+
|
|
55
|
+
export function collectImMessageGap(
|
|
56
|
+
previousMessages: Array<Record<string, unknown>>,
|
|
57
|
+
nextMessages: Array<Record<string, unknown>>,
|
|
58
|
+
loadPage: (afterSequence: number) => Promise<{
|
|
59
|
+
messages: Array<Record<string, unknown>>;
|
|
60
|
+
hasMoreMessagesAfter?: boolean;
|
|
61
|
+
}>
|
|
62
|
+
): Promise<Array<Record<string, unknown>>>;
|
|
63
|
+
|
|
64
|
+
export function createImWorkspace(options: Record<string, unknown>): {
|
|
65
|
+
start(): void;
|
|
66
|
+
activate(): Promise<void>;
|
|
67
|
+
open(): Promise<boolean>;
|
|
68
|
+
close(): void;
|
|
69
|
+
refreshUnread(): Promise<void>;
|
|
70
|
+
readonly opened: boolean;
|
|
71
|
+
};
|