@epam/ai-dial-chat-hooks 1.4.0-dev.12 → 1.4.0-dev.126
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/api-error/map-api-error.d.ts +10 -0
- package/api-error/map-api-error.d.ts.map +1 -0
- package/api-error/map-api-error.js +11 -0
- package/attachment/useAttachmentAction/useAttachmentAction.d.ts +1 -1
- package/attachment/useAttachmentAction/useAttachmentAction.d.ts.map +1 -1
- package/attachment/useAttachmentAction/useAttachmentAction.js +35 -44
- package/catalog/create-publish-api.d.ts +28 -1
- package/catalog/create-publish-api.d.ts.map +1 -1
- package/catalog/create-publish-api.js +21 -1
- package/catalog/entity-details.d.ts +5 -2
- package/catalog/entity-details.d.ts.map +1 -1
- package/catalog/map-entity-details-to-catalog.d.ts +4 -0
- package/catalog/map-entity-details-to-catalog.d.ts.map +1 -1
- package/catalog/map-entity-details-to-catalog.js +15 -13
- package/catalog/publish-dependency-icons.d.ts +22 -0
- package/catalog/publish-dependency-icons.d.ts.map +1 -0
- package/catalog/publish-dependency-icons.js +11 -0
- package/catalog/publish-target-taken.d.ts +31 -0
- package/catalog/publish-target-taken.d.ts.map +1 -0
- package/catalog/publish-target-taken.js +14 -0
- package/catalog/publish.d.ts +15 -2
- package/catalog/publish.d.ts.map +1 -1
- package/catalog/publish.js +15 -4
- package/catalog/resource-name-conflict.d.ts.map +1 -1
- package/catalog/resource-name-conflict.js +19 -22
- package/catalog/resource-save-adapter.d.ts +7 -2
- package/catalog/resource-save-adapter.d.ts.map +1 -1
- package/catalog/resource-save-adapters.d.ts +32 -7
- package/catalog/resource-save-adapters.d.ts.map +1 -1
- package/catalog/resource-save-adapters.js +47 -41
- package/catalog/resource-save.d.ts +17 -9
- package/catalog/resource-save.d.ts.map +1 -1
- package/catalog/resource-save.js +34 -25
- package/catalog/save-destination-root.d.ts +12 -0
- package/catalog/save-destination-root.d.ts.map +1 -0
- package/catalog/save-destination-root.js +6 -0
- package/catalog/use-publish-dependencies.d.ts +19 -0
- package/catalog/use-publish-dependencies.d.ts.map +1 -0
- package/catalog/use-publish-dependencies.js +25 -0
- package/catalog/use-publish-target-guard.d.ts +45 -0
- package/catalog/use-publish-target-guard.d.ts.map +1 -0
- package/catalog/use-publish-target-guard.js +18 -0
- package/catalog/usePublishFolders/usePublishFolders.d.ts +8 -2
- package/catalog/usePublishFolders/usePublishFolders.d.ts.map +1 -1
- package/catalog/usePublishFolders/usePublishFolders.js +29 -29
- package/catalog/useResourceSavePanel/useResourceSavePanel.d.ts +27 -6
- package/catalog/useResourceSavePanel/useResourceSavePanel.d.ts.map +1 -1
- package/catalog/useResourceSavePanel/useResourceSavePanel.js +184 -118
- package/catalog/useVersionHistory/useVersionHistory.d.ts +38 -0
- package/catalog/useVersionHistory/useVersionHistory.d.ts.map +1 -0
- package/catalog/useVersionHistory/useVersionHistory.js +49 -0
- package/catalog/useVersionHistory/useVersionHistorySection.d.ts +30 -0
- package/catalog/useVersionHistory/useVersionHistorySection.d.ts.map +1 -0
- package/catalog/useVersionHistory/useVersionHistorySection.js +31 -0
- package/catalog/version-history.d.ts +42 -0
- package/catalog/version-history.d.ts.map +1 -0
- package/catalog/version-history.js +27 -0
- package/catalog.js +39 -31
- package/conversation/announcement-message.d.ts +12 -0
- package/conversation/announcement-message.d.ts.map +1 -1
- package/conversation/announcement-message.js +16 -10
- package/conversation/conversation-list.d.ts +7 -1
- package/conversation/conversation-list.d.ts.map +1 -1
- package/conversation/conversation-list.js +11 -2
- package/conversation/conversation-transfer/zip-export.d.ts +1 -1
- package/conversation/conversation-transfer/zip-export.d.ts.map +1 -1
- package/conversation/conversation-transfer/zip-export.js +7 -8
- package/conversation/conversation-transfer/zip-import.d.ts.map +1 -1
- package/conversation/conversation-transfer/zip-import.js +8 -9
- package/conversation/useConversationExport/useConversationExport.d.ts.map +1 -1
- package/conversation/useConversationExport/useConversationExport.js +3 -1
- package/conversation/useConversationStream/generation-resume.d.ts.map +1 -1
- package/conversation/useConversationStream/generation-resume.js +119 -96
- package/conversation.js +44 -44
- package/entry-points/catalog.d.ts +7 -0
- package/entry-points/catalog.d.ts.map +1 -1
- package/entry-points/file-manager.d.ts +1 -0
- package/entry-points/file-manager.d.ts.map +1 -1
- package/entry-points/project.d.ts +5 -0
- package/entry-points/project.d.ts.map +1 -1
- package/entry-points/scheduled-tasks.d.ts +2 -0
- package/entry-points/scheduled-tasks.d.ts.map +1 -1
- package/entry-points/usage-limits.d.ts +1 -0
- package/entry-points/usage-limits.d.ts.map +1 -1
- package/entry-points/utils.d.ts +7 -0
- package/entry-points/utils.d.ts.map +1 -1
- package/file-manager.js +33 -32
- package/files/annotation.d.ts +3 -3
- package/files/annotation.d.ts.map +1 -1
- package/files/annotation.js +12 -11
- package/files/attachment-canvas.d.ts +1 -1
- package/files/attachment-canvas.d.ts.map +1 -1
- package/files/attachment-canvas.js +135 -135
- package/files/attachment-type-labels.d.ts +3 -0
- package/files/attachment-type-labels.d.ts.map +1 -0
- package/files/attachment-type-labels.js +12 -0
- package/files/attachment-types.d.ts +0 -2
- package/files/attachment-types.d.ts.map +1 -1
- package/files/attachment-types.js +7 -14
- package/files/dial-file.d.ts +24 -0
- package/files/dial-file.d.ts.map +1 -1
- package/files/dial-file.js +35 -5
- package/index.d.ts +23 -0
- package/index.d.ts.map +1 -1
- package/index.js +266 -244
- package/org-units/models.d.ts +11 -0
- package/org-units/models.d.ts.map +1 -0
- package/org-units/org-unit-guards.d.ts +98 -0
- package/org-units/org-unit-guards.d.ts.map +1 -0
- package/org-units/org-unit-guards.js +41 -0
- package/org-units/types.d.ts +14 -0
- package/org-units/types.d.ts.map +1 -0
- package/org-units/types.js +6 -0
- package/org-units/useFolderGuards/useFolderGuards.d.ts +31 -0
- package/org-units/useFolderGuards/useFolderGuards.d.ts.map +1 -0
- package/org-units/useFolderGuards/useFolderGuards.js +50 -0
- package/org-units/useOrgUnits/useOrgUnits.d.ts +34 -0
- package/org-units/useOrgUnits/useOrgUnits.d.ts.map +1 -0
- package/org-units/useOrgUnits/useOrgUnits.js +54 -0
- package/package.json +19 -19
- package/project/project-conversation-data-source.js +4 -4
- package/project/project-sharing-client.d.ts +8 -0
- package/project/project-sharing-client.d.ts.map +1 -0
- package/project/project-sharing-client.js +11 -0
- package/project/project-sharing.d.ts +28 -0
- package/project/project-sharing.d.ts.map +1 -0
- package/project/project-sharing.js +22 -0
- package/project/use-pinned-project-chats.d.ts +4 -2
- package/project/use-pinned-project-chats.d.ts.map +1 -1
- package/project/use-pinned-project-chats.js +152 -96
- package/project/use-project-conversations.d.ts.map +1 -1
- package/project/use-project-conversations.js +2 -2
- package/project/use-project-remove-from-list.d.ts +30 -0
- package/project/use-project-remove-from-list.d.ts.map +1 -0
- package/project/use-project-remove-from-list.js +39 -0
- package/project/use-project-revoke-access.d.ts +15 -0
- package/project/use-project-revoke-access.d.ts.map +1 -0
- package/project/use-project-revoke-access.js +32 -0
- package/project/use-project-share-recipients.d.ts +7 -0
- package/project/use-project-share-recipients.d.ts.map +1 -0
- package/project/use-project-share-recipients.js +36 -0
- package/project/use-projects.d.ts +1 -0
- package/project/use-projects.d.ts.map +1 -1
- package/project/use-projects.js +2 -1
- package/project.js +7 -2
- package/scheduled-task/scheduled-task-description.d.ts +19 -13
- package/scheduled-task/scheduled-task-description.d.ts.map +1 -1
- package/scheduled-task/scheduled-task-description.js +39 -55
- package/scheduled-task/scheduled-task-display.d.ts +67 -6
- package/scheduled-task/scheduled-task-display.d.ts.map +1 -1
- package/scheduled-task/scheduled-task-display.js +55 -43
- package/scheduled-task/scheduled-task-next-occurrence.d.ts +9 -5
- package/scheduled-task/scheduled-task-next-occurrence.d.ts.map +1 -1
- package/scheduled-task/scheduled-task-next-occurrence.js +16 -16
- package/scheduled-task/scheduled-task-time-format.d.ts +36 -0
- package/scheduled-task/scheduled-task-time-format.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-time-format.js +34 -0
- package/scheduled-task/scheduled-task-trigger.d.ts +6 -4
- package/scheduled-task/scheduled-task-trigger.d.ts.map +1 -1
- package/scheduled-task/scheduled-task-trigger.js +92 -115
- package/scheduled-tasks.js +15 -13
- package/shared/timezones.d.ts +30 -0
- package/shared/timezones.d.ts.map +1 -0
- package/shared/timezones.js +102 -0
- package/skill/skill-archive.d.ts.map +1 -1
- package/skill/skill-archive.js +6 -7
- package/skill/skill.d.ts +2 -2
- package/skill/skill.d.ts.map +1 -1
- package/skill/skill.js +33 -34
- package/skill/useSkillEditorLoad.js +1 -1
- package/skill/useSkillEditorSubmit.d.ts +4 -1
- package/skill/useSkillEditorSubmit.d.ts.map +1 -1
- package/skill/useSkillEditorSubmit.js +125 -121
- package/usage/map-usage-data-to-dashboard.d.ts +22 -1
- package/usage/map-usage-data-to-dashboard.d.ts.map +1 -1
- package/usage/map-usage-data-to-dashboard.js +33 -2
- package/usage/spending-limits-mode.d.ts +37 -0
- package/usage/spending-limits-mode.d.ts.map +1 -0
- package/usage/spending-limits-mode.js +15 -0
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts +6 -2
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts.map +1 -1
- package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts +4 -1
- package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts.map +1 -1
- package/usage/useUsageLimitBanner/useUsageLimitBanner.js +55 -47
- package/usage-limits.js +6 -5
- package/usage.js +3 -3
- package/utils.js +28 -22
- package/shared/cron-day-of-month.d.ts +0 -21
- package/shared/cron-day-of-month.d.ts.map +0 -1
- package/shared/cron-day-of-month.js +0 -13
|
@@ -13,165 +13,188 @@ var u = (e) => {
|
|
|
13
13
|
if (d(e) !== -1 || f(e) !== -1) return !0;
|
|
14
14
|
let t = e.messages[e.messages.length - 1];
|
|
15
15
|
return !!t && t.role === l.Assistant && !u(t) && t.streamErrorMessage == null && !t.wasStoppedByUser;
|
|
16
|
-
}, m = 3e5, h = "awaiting-resume",
|
|
16
|
+
}, m = 3e5, h = 1e3, g = "awaiting-resume", _ = [
|
|
17
17
|
1e3,
|
|
18
18
|
2e3,
|
|
19
19
|
4e3,
|
|
20
20
|
8e3,
|
|
21
21
|
16e3
|
|
22
|
-
],
|
|
22
|
+
], v = (e) => new Promise((t) => {
|
|
23
23
|
let n = typeof window < "u", r = () => {
|
|
24
24
|
clearTimeout(i), n && window.removeEventListener("online", r), t();
|
|
25
25
|
}, i = setTimeout(r, e);
|
|
26
26
|
n && window.addEventListener("online", r);
|
|
27
|
-
}),
|
|
28
|
-
for (let r = 0; r <=
|
|
27
|
+
}), y = async (e, t, n) => {
|
|
28
|
+
for (let r = 0; r <= _.length; r++) {
|
|
29
29
|
if (t()) return null;
|
|
30
30
|
try {
|
|
31
31
|
let t = await e();
|
|
32
32
|
if (!n?.(t)) return t;
|
|
33
33
|
} catch {}
|
|
34
|
-
if (r ===
|
|
35
|
-
await _
|
|
34
|
+
if (r === _.length) return null;
|
|
35
|
+
await v(_[r]);
|
|
36
36
|
}
|
|
37
37
|
return null;
|
|
38
|
-
},
|
|
38
|
+
}, b = ({ transport: c, setConversation: l, conversationRef: _, resumingPathsRef: v, bufferedGenerationsRef: y, addStreamingPath: b, removeStreamingPath: x, isPathDisplayed: S, generationPersistenceErrorMessage: C = n, generationInterruptedMessage: w = t, frameScheduler: T, stoppedGenerationIdsRef: E, rememberResumedGenerationId: D, forgetResumedGenerationId: O, onReloadError: k, onReloadSuccess: A }) => (t, n, j = {}) => {
|
|
39
39
|
if (!p(n)) {
|
|
40
|
-
|
|
40
|
+
j.onSettled?.();
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
43
|
-
let
|
|
44
|
-
if (!
|
|
45
|
-
|
|
46
|
-
let
|
|
47
|
-
|
|
48
|
-
let
|
|
49
|
-
generationId:
|
|
50
|
-
messageIndex:
|
|
51
|
-
message:
|
|
43
|
+
let M = a(t);
|
|
44
|
+
if (!j.skipDedupe && v.current.has(M)) return;
|
|
45
|
+
v.current.add(M), b(M);
|
|
46
|
+
let N = d(n), P = N !== -1, F = P ? -1 : f(n), I = n.messages.length - 1;
|
|
47
|
+
P ? I = N : F !== -1 && (I = F);
|
|
48
|
+
let L = {
|
|
49
|
+
generationId: g,
|
|
50
|
+
messageIndex: I,
|
|
51
|
+
message: j.seedMessage ?? n.messages[I]
|
|
52
52
|
};
|
|
53
|
-
|
|
54
|
-
let
|
|
55
|
-
let e =
|
|
56
|
-
return e != null && (
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
if (
|
|
61
|
-
let e =
|
|
62
|
-
|
|
53
|
+
y.current.set(M, L);
|
|
54
|
+
let R = () => y.current.get(M) === L, z = P ? n.messages[I].backgroundGeneration?.generationId : void 0, B, V = () => {
|
|
55
|
+
let e = z ?? B;
|
|
56
|
+
return e != null && (E?.current.has(e) ?? !1);
|
|
57
|
+
}, H = (e) => {
|
|
58
|
+
j.trackAttachGenerationId && !P && e != null && R() && (B = e, D?.(M, e));
|
|
59
|
+
}, U = () => {
|
|
60
|
+
if (B == null) return;
|
|
61
|
+
let e = B;
|
|
62
|
+
B = void 0, E?.current.delete(e), O?.(M, e);
|
|
63
63
|
};
|
|
64
|
-
|
|
65
|
-
let
|
|
66
|
-
|
|
67
|
-
...
|
|
68
|
-
streamErrorMessage:
|
|
64
|
+
F !== -1 && H(n.messages[F].foregroundGeneration?.generationId);
|
|
65
|
+
let W = (e) => !!j.shouldMarkOrphanedAsInterrupted && !P && !!e && e.messages.length - 1 === I && d(e) === -1 && f(e) === -1 && p(e) && !u(L.message), G = () => {
|
|
66
|
+
L.message = {
|
|
67
|
+
...L.message,
|
|
68
|
+
streamErrorMessage: w
|
|
69
69
|
};
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
if (!e || !
|
|
73
|
-
let t = s(e,
|
|
74
|
-
return
|
|
70
|
+
}, K = () => {
|
|
71
|
+
R() && (G(), v.current.delete(M), x(M), U(), S(M) && l((e) => {
|
|
72
|
+
if (!e || !R() || !S(M)) return e;
|
|
73
|
+
let t = s(e, L);
|
|
74
|
+
return _.current = t, t;
|
|
75
75
|
}));
|
|
76
|
-
},
|
|
77
|
-
if (
|
|
78
|
-
|
|
79
|
-
let n = !
|
|
80
|
-
if (t || n)
|
|
81
|
-
...
|
|
82
|
-
streamErrorMessage:
|
|
83
|
-
},
|
|
84
|
-
if (!e || !
|
|
85
|
-
let t = s(e,
|
|
86
|
-
return
|
|
76
|
+
}, q = (e, t = !1) => {
|
|
77
|
+
if (T?.flush(M), z != null && E?.current.delete(z), U(), !R()) return;
|
|
78
|
+
v.current.delete(M), x(M);
|
|
79
|
+
let n = !P && e && e.messages.length - 1 === I && p(e) && u(L.message);
|
|
80
|
+
if (t || n) L.message = {
|
|
81
|
+
...L.message,
|
|
82
|
+
streamErrorMessage: C
|
|
83
|
+
}, S(M) && l((e) => {
|
|
84
|
+
if (!e || !R() || !S(M)) return e;
|
|
85
|
+
let t = s(e, L);
|
|
86
|
+
return _.current = t, t;
|
|
87
87
|
});
|
|
88
|
-
else if (
|
|
89
|
-
let t =
|
|
90
|
-
t &&
|
|
91
|
-
let n = t ? s(e,
|
|
92
|
-
l(n),
|
|
88
|
+
else if (y.current.delete(M), e && S(M)) {
|
|
89
|
+
let t = W(e);
|
|
90
|
+
t && G();
|
|
91
|
+
let n = t ? s(e, L) : e;
|
|
92
|
+
l(n), _.current = n;
|
|
93
93
|
}
|
|
94
|
-
},
|
|
95
|
-
if (
|
|
94
|
+
}, J = async () => {
|
|
95
|
+
if (R()) try {
|
|
96
96
|
let n = await c.getConversation(e(t));
|
|
97
|
-
if (!
|
|
98
|
-
|
|
97
|
+
if (!R()) return;
|
|
98
|
+
A?.(M), q(n);
|
|
99
99
|
} catch {
|
|
100
|
-
if (!
|
|
101
|
-
|
|
100
|
+
if (!R()) return;
|
|
101
|
+
T?.flush(M), v.current.delete(M), x(M), z != null && E?.current.delete(z), U(), k?.(M, J, R);
|
|
102
102
|
}
|
|
103
|
-
},
|
|
104
|
-
|
|
105
|
-
if (!e || !
|
|
106
|
-
let t = s(e,
|
|
107
|
-
return
|
|
103
|
+
}, Y = (e) => {
|
|
104
|
+
T?.cancel(M), R() && (L.message = e, S(M) && l((e) => {
|
|
105
|
+
if (!e || !R() || !S(M)) return e;
|
|
106
|
+
let t = s(e, L);
|
|
107
|
+
return _.current = t, t;
|
|
108
108
|
}));
|
|
109
|
-
},
|
|
110
|
-
if (!e || !
|
|
111
|
-
let t = s(e,
|
|
112
|
-
return
|
|
113
|
-
}),
|
|
114
|
-
if (!
|
|
115
|
-
let t = o([
|
|
116
|
-
t && (
|
|
117
|
-
},
|
|
118
|
-
let
|
|
109
|
+
}, X = () => l((e) => {
|
|
110
|
+
if (!e || !R() || !S(M)) return e;
|
|
111
|
+
let t = s(e, L);
|
|
112
|
+
return _.current = t, t;
|
|
113
|
+
}), Z = (e) => {
|
|
114
|
+
if (!R() || V()) return;
|
|
115
|
+
let t = o([L.message], 0, e);
|
|
116
|
+
t && (L.message = t[0]), S(M) && (T ? T.schedule(M, X) : X());
|
|
117
|
+
}, Q = async () => {
|
|
118
|
+
let r = new AbortController(), a;
|
|
119
119
|
try {
|
|
120
|
-
|
|
120
|
+
a = await c.watchConversation(M, r.signal);
|
|
121
121
|
} catch {
|
|
122
|
-
await
|
|
122
|
+
await J();
|
|
123
123
|
return;
|
|
124
124
|
}
|
|
125
|
+
let o;
|
|
125
126
|
try {
|
|
126
|
-
let
|
|
127
|
-
if (!p(
|
|
128
|
-
|
|
127
|
+
let n = await c.getConversation(e(t));
|
|
128
|
+
if (!p(n)) {
|
|
129
|
+
r.abort(), a.cancel().catch(() => void 0), q(n);
|
|
129
130
|
return;
|
|
130
131
|
}
|
|
131
|
-
|
|
132
|
+
W(n) && K(), o = n;
|
|
132
133
|
} catch {}
|
|
133
|
-
let
|
|
134
|
-
|
|
135
|
-
}, m)
|
|
134
|
+
let s = !1, l = window.setTimeout(() => {
|
|
135
|
+
r.abort();
|
|
136
|
+
}, m), u, d = 0, g = (n, i = !1) => {
|
|
137
|
+
i || window.clearTimeout(u);
|
|
138
|
+
let o = f(n);
|
|
139
|
+
if (o === -1) return;
|
|
140
|
+
let l = n.messages[o].foregroundGeneration?.expiresAt;
|
|
141
|
+
if (l == null || i && l <= d) return;
|
|
142
|
+
d = l, window.clearTimeout(u);
|
|
143
|
+
let m = Math.max(l - Date.now() + h, h);
|
|
144
|
+
u = window.setTimeout(async () => {
|
|
145
|
+
if (!s && R()) try {
|
|
146
|
+
let n = await c.getConversation(e(t));
|
|
147
|
+
if (s || !R()) return;
|
|
148
|
+
if (!p(n)) {
|
|
149
|
+
s = !0, r.abort(), a.cancel().catch(() => void 0), q(n);
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
W(n) && K(), g(n, !0);
|
|
153
|
+
} catch {}
|
|
154
|
+
}, m);
|
|
155
|
+
};
|
|
156
|
+
o ? g(o) : F !== -1 && g(n);
|
|
136
157
|
try {
|
|
137
|
-
await i(
|
|
158
|
+
await i(a, async (n) => {
|
|
138
159
|
if (n?.action !== "UPDATE") return !1;
|
|
139
160
|
try {
|
|
140
161
|
let n = await c.getConversation(e(t));
|
|
141
|
-
if (
|
|
162
|
+
if (s) return !0;
|
|
163
|
+
if (!p(n)) return q(n), s = !0, !0;
|
|
164
|
+
g(n);
|
|
142
165
|
} catch {}
|
|
143
166
|
return !1;
|
|
144
167
|
});
|
|
145
168
|
} finally {
|
|
146
|
-
clearTimeout(
|
|
169
|
+
window.clearTimeout(l), window.clearTimeout(u);
|
|
147
170
|
}
|
|
148
|
-
|
|
149
|
-
},
|
|
171
|
+
s || await J();
|
|
172
|
+
}, $ = async () => {
|
|
150
173
|
let e = new AbortController(), t;
|
|
151
174
|
try {
|
|
152
|
-
t = await c.attachToGeneration(
|
|
175
|
+
t = await c.attachToGeneration(M, e.signal);
|
|
153
176
|
} catch {
|
|
154
177
|
return !1;
|
|
155
178
|
}
|
|
156
179
|
let n = !1, a = !1;
|
|
157
180
|
return await i(t, (e) => {
|
|
158
|
-
if (!
|
|
181
|
+
if (!R()) return !0;
|
|
159
182
|
switch (e.type) {
|
|
160
|
-
case "snapshot": return
|
|
161
|
-
case "chunk": return
|
|
183
|
+
case "snapshot": return H(e.generationId), Y(e.message), !1;
|
|
184
|
+
case "chunk": return Z(e.chunk), !1;
|
|
162
185
|
case "done":
|
|
163
186
|
case "error":
|
|
164
187
|
case "stopped": return a = e.type === "error" && e.errorType === r.type, n = !0, !0;
|
|
165
188
|
}
|
|
166
|
-
}), n ? (a ?
|
|
189
|
+
}), n ? (a ? q(void 0, !0) : await J(), !0) : (U(), !R());
|
|
167
190
|
};
|
|
168
191
|
(async () => {
|
|
169
192
|
try {
|
|
170
|
-
await
|
|
193
|
+
await $() || await Q();
|
|
171
194
|
} finally {
|
|
172
|
-
|
|
195
|
+
j.onSettled?.();
|
|
173
196
|
}
|
|
174
197
|
})();
|
|
175
198
|
};
|
|
176
199
|
//#endregion
|
|
177
|
-
export {
|
|
200
|
+
export { _ as RECOVERY_REFETCH_DELAYS_MS, b as createResumeIfAwaitingGeneration, y as fetchConversationForRecovery, f as findLiveForegroundMessageIndex, d as findPendingBackgroundMessageIndex, u as hasGeneratedPayload, p as isAwaitingGenerationResume };
|
package/conversation.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import { useAsyncConfirmDialog as e } from "./conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.js";
|
|
2
|
-
import {
|
|
3
|
-
import { createMemoryConversationDraftStore as
|
|
4
|
-
import { DEFAULT_GENERATION_CONFLICT_MESSAGE as
|
|
5
|
-
import { shouldWatchForDisplayNameUpdate as
|
|
6
|
-
import { formatAppVersion as
|
|
7
|
-
import { findDeploymentForConversationId as
|
|
8
|
-
import { getTimeOfDayGreeting as
|
|
9
|
-
import { createDeploymentChangedMessage as
|
|
10
|
-
import { getEffectiveDeploymentIds as
|
|
11
|
-
import { getQuickAppConversationStarters as
|
|
12
|
-
import { mapStages as
|
|
13
|
-
import { getStarterPopulateText as
|
|
14
|
-
import { NO_CONVERSATION_LIST_SYNC as
|
|
15
|
-
import { deriveConversationRowActionState as
|
|
16
|
-
import { useActiveConversationSync as
|
|
17
|
-
import { useConversationComposerDraft as
|
|
18
|
-
import { useConversationLookupMaps as
|
|
19
|
-
import { getConversationSource as
|
|
20
|
-
import { useImportFilePicker as
|
|
21
|
-
import { useMessageSelectionReply as
|
|
22
|
-
import { useAttachmentUpload as
|
|
23
|
-
import { AudioTranscriptionError as
|
|
24
|
-
import { UploadMimeTypePolicy as
|
|
25
|
-
import { attachmentToDto as
|
|
26
|
-
import { createMessagePair as
|
|
27
|
-
import { hasActiveToolConfig as
|
|
28
|
-
import { getStarterConversationText as
|
|
29
|
-
import { getConversationPath as
|
|
30
|
-
import { useConversationHandlers as
|
|
31
|
-
import { applyChunkToMessages as
|
|
32
|
-
import { isAwaitingGenerationResume as
|
|
33
|
-
import { useConversationStream as
|
|
34
|
-
import { DEFAULT_CHAT_SETTINGS as
|
|
35
|
-
import { useToolsMenu as
|
|
36
|
-
import { applyActiveScheduledTaskRun as
|
|
37
|
-
import { useConversationDiscovery as
|
|
38
|
-
import { EntityPreselectionOutcome as
|
|
39
|
-
import { ClientGenerationStatus as
|
|
40
|
-
import { ConversationTitleRequestEnd as
|
|
41
|
-
import { CONVERSATION_TITLE_STREAM_MAX_FRAME_BYTES as
|
|
42
|
-
import { useVisibleConversationIdsReporter as
|
|
43
|
-
import { isTotalDeletionFailure as
|
|
44
|
-
import { useDeploymentChangeTracking as
|
|
45
|
-
export {
|
|
2
|
+
import { AnnouncementSeverity as t, buildAnnouncementSignature as n, hasAnnouncementContent as r, hasStructuredAnnouncement as i, mapAnnouncementSeverity as a, sanitizeAnnouncementHtml as o, sanitizeAnnouncementMessageHtml as s } from "./conversation/announcement-message.js";
|
|
3
|
+
import { createMemoryConversationDraftStore as c, createWebStorageConversationDraftStore as l } from "./conversation/conversation-draft/conversation-draft-store.js";
|
|
4
|
+
import { DEFAULT_GENERATION_CONFLICT_MESSAGE as u, DEFAULT_GENERATION_INTERRUPTED_ERROR_MESSAGE as d, DEFAULT_GENERATION_PERSISTENCE_ERROR_MESSAGE as f, DEFAULT_STREAM_IDLE_TIMEOUT_MS as p, GenerationConflictError as m, GenerationPersistenceError as h, StopCompletionError as g, StreamInterruptedError as _, StreamUpstreamError as v, createChatStreamApi as y } from "./conversation/create-chat-stream-api.js";
|
|
5
|
+
import { shouldWatchForDisplayNameUpdate as b } from "./conversation/display-name-watch.js";
|
|
6
|
+
import { formatAppVersion as x, sanitizeFooterHtml as S } from "./conversation/footer-message.js";
|
|
7
|
+
import { findDeploymentForConversationId as C, getModelIdCandidatesFromConversationId as w, getModelIdFromConversationId as T } from "./conversation/get-model-id-from-conversation-id.js";
|
|
8
|
+
import { getTimeOfDayGreeting as E } from "./conversation/greeting.js";
|
|
9
|
+
import { createDeploymentChangedMessage as D } from "./conversation/message-factory.js";
|
|
10
|
+
import { getEffectiveDeploymentIds as O, getFormSchemaToolSyncKey as k, getLastDeploymentId as A, getLastUserMessageToolConfiguration as j, getLatestToolConfiguration as M, getToolConfigurationFromFormSchema as N, isMessageStreaming as P, messageHasStages as F, normalizeResponseFormat as I } from "./conversation/message-utils.js";
|
|
11
|
+
import { getQuickAppConversationStarters as L } from "./conversation/quick-app-conversation-starters.js";
|
|
12
|
+
import { mapStages as R, toStage as z } from "./conversation/stage.js";
|
|
13
|
+
import { getStarterPopulateText as B, getStartersFromSchema as V } from "./conversation/starter-option.js";
|
|
14
|
+
import { NO_CONVERSATION_LIST_SYNC as H } from "./conversation/conversation-data-source.js";
|
|
15
|
+
import { deriveConversationRowActionState as U } from "./conversation/deriveConversationRowActionState/deriveConversationRowActionState.js";
|
|
16
|
+
import { useActiveConversationSync as W } from "./conversation/useActiveConversationSync/useActiveConversationSync.js";
|
|
17
|
+
import { useConversationComposerDraft as G } from "./conversation/useConversationComposerDraft/useConversationComposerDraft.js";
|
|
18
|
+
import { useConversationLookupMaps as K } from "./conversation/useConversationLookupMaps/useConversationLookupMaps.js";
|
|
19
|
+
import { getConversationSource as q, useConversationPanelItems as J } from "./conversation/useConversationPanelItems/useConversationPanelItems.js";
|
|
20
|
+
import { useImportFilePicker as Y } from "./conversation/useImportFilePicker/useImportFilePicker.js";
|
|
21
|
+
import { useMessageSelectionReply as X } from "./conversation/useMessageSelectionReply/useMessageSelectionReply.js";
|
|
22
|
+
import { useAttachmentUpload as Z } from "./conversation/useAttachmentUpload/useAttachmentUpload.js";
|
|
23
|
+
import { AudioTranscriptionError as Q, AudioTranscriptionErrorReason as $ } from "./conversation/useTranscribeAudio/audio-transcription-error.js";
|
|
24
|
+
import { UploadMimeTypePolicy as ee, useTranscribeAudio as te } from "./conversation/useTranscribeAudio/useTranscribeAudio.js";
|
|
25
|
+
import { attachmentToDto as ne, attachmentsToDtos as re } from "./conversation/useConversationHandlers/attachment-to-dto.js";
|
|
26
|
+
import { createMessagePair as ie } from "./conversation/useConversationHandlers/message-factory.js";
|
|
27
|
+
import { hasActiveToolConfig as ae, isAnswerIncomplete as oe, isMessageChanged as se, shouldRerunGenerationOnEdit as ce } from "./conversation/useConversationHandlers/message-utils.js";
|
|
28
|
+
import { getStarterConversationText as le, getStarterDisplayText as ue, getStarterSubmitText as de } from "./conversation/useConversationHandlers/starter-option.js";
|
|
29
|
+
import { getConversationPath as fe } from "./conversation/useConversationStream/conversation-path.js";
|
|
30
|
+
import { useConversationHandlers as pe } from "./conversation/useConversationHandlers/useConversationHandlers.js";
|
|
31
|
+
import { applyChunkToMessages as me, mergeStages as he } from "./conversation/useConversationStream/apply-chunk.js";
|
|
32
|
+
import { isAwaitingGenerationResume as ge } from "./conversation/useConversationStream/generation-resume.js";
|
|
33
|
+
import { useConversationStream as _e } from "./conversation/useConversationStream/useConversationStream.js";
|
|
34
|
+
import { DEFAULT_CHAT_SETTINGS as ve, useChatSettingsFormConfig as ye } from "./useChatSettingsFormConfig/useChatSettingsFormConfig.js";
|
|
35
|
+
import { useToolsMenu as be } from "./useToolsMenu/useToolsMenu.js";
|
|
36
|
+
import { applyActiveScheduledTaskRun as xe, collapseScheduledTaskConversations as Se, getScheduledTaskRunGroupKey as Ce, groupScheduledTaskConversations as we, isScheduledTaskRunCollapsible as Te } from "./conversation/scheduled-task-grouping.js";
|
|
37
|
+
import { useConversationDiscovery as Ee } from "./conversation/useConversationDiscovery/useConversationDiscovery.js";
|
|
38
|
+
import { EntityPreselectionOutcome as De, EntityPreselectionSource as Oe, useEntityPreselection as ke } from "./conversation/useEntityPreselection/useEntityPreselection.js";
|
|
39
|
+
import { ClientGenerationStatus as Ae, createGenerationRegistry as je } from "./conversation/generation-registry.js";
|
|
40
|
+
import { ConversationTitleRequestEnd as Me, useConversationTitleEnrichmentController as Ne } from "./conversation/useConversationTitleEnrichmentController.js";
|
|
41
|
+
import { CONVERSATION_TITLE_STREAM_MAX_FRAME_BYTES as Pe, CONVERSATION_TITLE_STREAM_MAX_IDS as Fe, CONVERSATION_TITLE_STREAM_MAX_ID_BYTES as Ie, ConversationTitleStreamProtocolError as Le, createSseFrameDecoder as Re, isConversationTitleStreamUnsupported as ze, parseConversationTitleStreamEvent as Be, readConversationTitleStream as Ve } from "./conversation/conversation-title-stream.js";
|
|
42
|
+
import { useVisibleConversationIdsReporter as He } from "./conversation/useVisibleConversationIdsReporter/useVisibleConversationIdsReporter.js";
|
|
43
|
+
import { isConversationInBucket as Ue, isTotalDeletionFailure as We, resolveConversationPinChange as Ge, toConversationListId as Ke, toOwnConversationListItem as qe } from "./conversation/conversation-list.js";
|
|
44
|
+
import { useDeploymentChangeTracking as Je } from "./conversation/useDeploymentChangeTracking.js";
|
|
45
|
+
export { t as AnnouncementSeverity, Q as AudioTranscriptionError, $ as AudioTranscriptionErrorReason, Pe as CONVERSATION_TITLE_STREAM_MAX_FRAME_BYTES, Fe as CONVERSATION_TITLE_STREAM_MAX_IDS, Ie as CONVERSATION_TITLE_STREAM_MAX_ID_BYTES, Ae as ClientGenerationStatus, Me as ConversationTitleRequestEnd, Le as ConversationTitleStreamProtocolError, ve as DEFAULT_CHAT_SETTINGS, u as DEFAULT_GENERATION_CONFLICT_MESSAGE, d as DEFAULT_GENERATION_INTERRUPTED_ERROR_MESSAGE, f as DEFAULT_GENERATION_PERSISTENCE_ERROR_MESSAGE, p as DEFAULT_STREAM_IDLE_TIMEOUT_MS, De as EntityPreselectionOutcome, Oe as EntityPreselectionSource, m as GenerationConflictError, h as GenerationPersistenceError, H as NO_CONVERSATION_LIST_SYNC, g as StopCompletionError, _ as StreamInterruptedError, v as StreamUpstreamError, ee as UploadMimeTypePolicy, xe as applyActiveScheduledTaskRun, me as applyChunkToMessages, ne as attachmentToDto, re as attachmentsToDtos, n as buildAnnouncementSignature, Se as collapseScheduledTaskConversations, y as createChatStreamApi, D as createDeploymentChangedMessage, je as createGenerationRegistry, c as createMemoryConversationDraftStore, ie as createMessagePair, Re as createSseFrameDecoder, l as createWebStorageConversationDraftStore, U as deriveConversationRowActionState, C as findDeploymentForConversationId, x as formatAppVersion, fe as getConversationPath, q as getConversationSource, O as getEffectiveDeploymentIds, k as getFormSchemaToolSyncKey, A as getLastDeploymentId, j as getLastUserMessageToolConfiguration, M as getLatestToolConfiguration, w as getModelIdCandidatesFromConversationId, T as getModelIdFromConversationId, L as getQuickAppConversationStarters, Ce as getScheduledTaskRunGroupKey, le as getStarterConversationText, ue as getStarterDisplayText, B as getStarterPopulateText, de as getStarterSubmitText, V as getStartersFromSchema, E as getTimeOfDayGreeting, N as getToolConfigurationFromFormSchema, we as groupScheduledTaskConversations, ae as hasActiveToolConfig, r as hasAnnouncementContent, i as hasStructuredAnnouncement, oe as isAnswerIncomplete, ge as isAwaitingGenerationResume, Ue as isConversationInBucket, ze as isConversationTitleStreamUnsupported, se as isMessageChanged, P as isMessageStreaming, Te as isScheduledTaskRunCollapsible, We as isTotalDeletionFailure, a as mapAnnouncementSeverity, R as mapStages, he as mergeStages, F as messageHasStages, I as normalizeResponseFormat, Be as parseConversationTitleStreamEvent, Ve as readConversationTitleStream, Ge as resolveConversationPinChange, o as sanitizeAnnouncementHtml, s as sanitizeAnnouncementMessageHtml, S as sanitizeFooterHtml, ce as shouldRerunGenerationOnEdit, b as shouldWatchForDisplayNameUpdate, Ke as toConversationListId, qe as toOwnConversationListItem, z as toStage, W as useActiveConversationSync, e as useAsyncConfirmDialog, Z as useAttachmentUpload, ye as useChatSettingsFormConfig, G as useConversationComposerDraft, Ee as useConversationDiscovery, pe as useConversationHandlers, K as useConversationLookupMaps, J as useConversationPanelItems, _e as useConversationStream, Ne as useConversationTitleEnrichmentController, Je as useDeploymentChangeTracking, ke as useEntityPreselection, Y as useImportFilePicker, X as useMessageSelectionReply, be as useToolsMenu, te as useTranscribeAudio, He as useVisibleConversationIdsReporter };
|
|
@@ -10,7 +10,11 @@ export * from '../catalog/map-prompt-to-catalog-item';
|
|
|
10
10
|
export * from '../catalog/map-skill-to-catalog-item';
|
|
11
11
|
export * from '../catalog/mcp-endpoint-url';
|
|
12
12
|
export * from '../catalog/publish';
|
|
13
|
+
export * from '../catalog/publish-dependency-icons';
|
|
13
14
|
export * from '../catalog/use-publish-history';
|
|
15
|
+
export * from '../catalog/publish-target-taken';
|
|
16
|
+
export * from '../catalog/use-publish-target-guard';
|
|
17
|
+
export * from '../catalog/use-publish-dependencies';
|
|
14
18
|
export * from '../catalog/unpublishable-folders';
|
|
15
19
|
export * from '../catalog/useUnpublishableFolders/useUnpublishableFolders';
|
|
16
20
|
export * from '../catalog/useUnpublishConfirmation/useUnpublishConfirmation';
|
|
@@ -37,6 +41,9 @@ export * from '../catalog/resource-name-conflict';
|
|
|
37
41
|
export * from '../catalog/resource-save';
|
|
38
42
|
export * from '../catalog/resource-save-adapters';
|
|
39
43
|
export * from '../catalog/useResourceSavePanel/useResourceSavePanel';
|
|
44
|
+
export * from '../catalog/useVersionHistory/useVersionHistory';
|
|
45
|
+
export * from '../catalog/useVersionHistory/useVersionHistorySection';
|
|
46
|
+
export * from '../catalog/version-history';
|
|
40
47
|
export * from '../skill/useSkillFilePreview';
|
|
41
48
|
export * from '../skill/skill-types';
|
|
42
49
|
//# sourceMappingURL=catalog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../src/entry-points/catalog.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sCAAsC,CAAC;AACrD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,4DAA4D,CAAC;AAC3E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,8DAA8D,CAAC;AAC7E,cAAc,sDAAsD,CAAC;AACrE,cAAc,kCAAkC,CAAC;AACjD,cAAc,sEAAsE,CAAC;AACrF,cAAc,oCAAoC,CAAC;AACnD,cAAc,gEAAgE,CAAC;AAC/E,cAAc,4EAA4E,CAAC;AAC3F,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8DAA8D,CAAC;AAC7E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kDAAkD,CAAC;AACjE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,sDAAsD,CAAC;AACrE,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../src/entry-points/catalog.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sCAAsC,CAAC;AACrD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,4DAA4D,CAAC;AAC3E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,8DAA8D,CAAC;AAC7E,cAAc,sDAAsD,CAAC;AACrE,cAAc,kCAAkC,CAAC;AACjD,cAAc,sEAAsE,CAAC;AACrF,cAAc,oCAAoC,CAAC;AACnD,cAAc,gEAAgE,CAAC;AAC/E,cAAc,4EAA4E,CAAC;AAC3F,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8DAA8D,CAAC;AAC7E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kDAAkD,CAAC;AACjE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,sDAAsD,CAAC;AACrE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,uDAAuD,CAAC;AACtE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC"}
|
|
@@ -5,6 +5,7 @@ export * from '../files/dial-file-manager-copy-move.util';
|
|
|
5
5
|
export * from '../files/dial-file-manager-mapping.util';
|
|
6
6
|
export * from '../files/dial-file-manager-path.util';
|
|
7
7
|
export * from '../files/attachment-types';
|
|
8
|
+
export * from '../files/attachment-type-labels';
|
|
8
9
|
export * from '../files/create-files-api';
|
|
9
10
|
export * from '../files/create-upload-file-with-progress';
|
|
10
11
|
export * from '../files/annotation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-manager.d.ts","sourceRoot":"","sources":["../../src/entry-points/file-manager.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qBAAqB,CAAC;AACpC,cAAc,kEAAkE,CAAC;AACjF,cAAc,kBAAkB,CAAC;AACjC,cAAc,oCAAoC,CAAC;AACnD,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gEAAgE,CAAC;AAC/E,cAAc,kEAAkE,CAAC;AACjF,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AACnE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wDAAwD,CAAC;AACvE,cAAc,0DAA0D,CAAC;AACzE,YAAY,EACV,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,kEAAkE,CAAC"}
|
|
1
|
+
{"version":3,"file":"file-manager.d.ts","sourceRoot":"","sources":["../../src/entry-points/file-manager.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qBAAqB,CAAC;AACpC,cAAc,kEAAkE,CAAC;AACjF,cAAc,kBAAkB,CAAC;AACjC,cAAc,oCAAoC,CAAC;AACnD,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gEAAgE,CAAC;AAC/E,cAAc,kEAAkE,CAAC;AACjF,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AACnE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wDAAwD,CAAC;AACvE,cAAc,0DAA0D,CAAC;AACzE,YAAY,EACV,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,kEAAkE,CAAC"}
|
|
@@ -16,5 +16,10 @@ export * from '../project/use-project-conversations';
|
|
|
16
16
|
export * from '../project/use-pinned-project-chats';
|
|
17
17
|
export * from '../project/use-project-artifacts';
|
|
18
18
|
export * from '../project/use-project-actions';
|
|
19
|
+
export * from '../project/project-sharing';
|
|
20
|
+
export * from '../project/use-project-remove-from-list';
|
|
19
21
|
export * from '../shared/serialized-writer';
|
|
22
|
+
export { notifyProjectAccessRevoked, type ProjectSharingClient, } from '../project/project-sharing-client';
|
|
23
|
+
export * from '../project/use-project-share-recipients';
|
|
24
|
+
export * from '../project/use-project-revoke-access';
|
|
20
25
|
//# sourceMappingURL=project.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/entry-points/project.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/entry-points/project.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,cAAc,6BAA6B,CAAC;AAE5C,OAAO,EACL,0BAA0B,EAC1B,KAAK,oBAAoB,GAC1B,MAAM,mCAAmC,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
export * from '../shared/timezones';
|
|
1
2
|
export * from '../scheduled-task/scheduled-task-mapping';
|
|
2
3
|
export * from '../scheduled-task/scheduled-task-description';
|
|
3
4
|
export * from '../scheduled-task/scheduled-task-display';
|
|
5
|
+
export * from '../scheduled-task/scheduled-task-time-format';
|
|
4
6
|
export * from '../scheduled-task/scheduled-task-preparation';
|
|
5
7
|
export * from '../scheduled-task/scheduled-tasks-api-client';
|
|
6
8
|
export * from '../scheduled-task/scheduled-task-trigger';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-tasks.d.ts","sourceRoot":"","sources":["../../src/entry-points/scheduled-tasks.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,kDAAkD,CAAC;AACjE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uFAAuF,CAAC;AAEtG,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC"}
|
|
1
|
+
{"version":3,"file":"scheduled-tasks.d.ts","sourceRoot":"","sources":["../../src/entry-points/scheduled-tasks.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,kDAAkD,CAAC;AACjE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uFAAuF,CAAC;AAEtG,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC"}
|
|
@@ -6,4 +6,5 @@ export * from '../usage/useDeploymentUsageLimits/useDeploymentUsageLimits';
|
|
|
6
6
|
export * from '../usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration';
|
|
7
7
|
export * from '../usage/useUsageLimitBanner/useUsageLimitBanner';
|
|
8
8
|
export * from '../usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal';
|
|
9
|
+
export * from '../usage/spending-limits-mode';
|
|
9
10
|
//# sourceMappingURL=usage-limits.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage-limits.d.ts","sourceRoot":"","sources":["../../src/entry-points/usage-limits.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4DAA4D,CAAC;AAC3E,cAAc,wEAAwE,CAAC;AACvF,cAAc,kDAAkD,CAAC;AACjE,cAAc,oEAAoE,CAAC"}
|
|
1
|
+
{"version":3,"file":"usage-limits.d.ts","sourceRoot":"","sources":["../../src/entry-points/usage-limits.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4DAA4D,CAAC;AAC3E,cAAc,wEAAwE,CAAC;AACvF,cAAc,kDAAkD,CAAC;AACjE,cAAc,oEAAoE,CAAC;AACnF,cAAc,+BAA+B,CAAC"}
|
package/entry-points/utils.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from '../api-error/api-error';
|
|
2
|
+
export * from '../api-error/map-api-error';
|
|
2
3
|
export * from '../api-transport/create-csrf-middleware';
|
|
3
4
|
export * from '../api-transport/create-unauthorized-middleware';
|
|
4
5
|
export * from '../prompt/export-prompt';
|
|
@@ -20,4 +21,10 @@ export * from '../files/browser-download';
|
|
|
20
21
|
export * from '../shared/usePersistedState/usePersistedState';
|
|
21
22
|
export * from '../shared/useAppVersionCheck/useAppVersionCheck';
|
|
22
23
|
export * from '../shared/url-cleanup';
|
|
24
|
+
export * from '../org-units/types';
|
|
25
|
+
export * from '../org-units/models';
|
|
26
|
+
export * from '../org-units/useOrgUnits/useOrgUnits';
|
|
27
|
+
export * from '../org-units/useFolderGuards/useFolderGuards';
|
|
28
|
+
export * from '../org-units/org-unit-guards';
|
|
29
|
+
export * from '../catalog/save-destination-root';
|
|
23
30
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/entry-points/utils.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC;AAChE,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,iDAAiD,CAAC;AAChE,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/entry-points/utils.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC;AAChE,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,iDAAiD,CAAC;AAChE,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sCAAsC,CAAC;AACrD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC"}
|