@arbidocs/react 0.4.72 → 0.4.73
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/index.cjs +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +80 -2
- package/dist/index.d.ts +80 -2
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -60,6 +60,17 @@ function useRunConversation() {
|
|
|
60
60
|
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
+
function useActOnStep() {
|
|
64
|
+
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
65
|
+
const qc = reactQuery.useQueryClient();
|
|
66
|
+
return reactQuery.useMutation({
|
|
67
|
+
mutationFn: ({
|
|
68
|
+
conversationId,
|
|
69
|
+
body
|
|
70
|
+
}) => arbi.conversations.actOnStep(conversationId, body),
|
|
71
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
|
|
72
|
+
});
|
|
73
|
+
}
|
|
63
74
|
function usePlanWork() {
|
|
64
75
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
65
76
|
return reactQuery.useMutation({
|
|
@@ -7347,6 +7358,7 @@ exports.toNotificationPreferences = toNotificationPreferences;
|
|
|
7347
7358
|
exports.toProfileView = toProfileView;
|
|
7348
7359
|
exports.toRedlineMarkdown = toRedlineMarkdown;
|
|
7349
7360
|
exports.toShellWorkspace = toShellWorkspace;
|
|
7361
|
+
exports.useActOnStep = useActOnStep;
|
|
7350
7362
|
exports.useAddContacts = useAddContacts;
|
|
7351
7363
|
exports.useAgentChats = useAgentChats;
|
|
7352
7364
|
exports.useAgentConfig = useAgentConfig;
|