@wacht/jsx 1.0.0-beta.35 → 1.0.0-beta.37
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.js +536 -536
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.es.js +2894 -2834
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -56,10 +56,12 @@ import { OrganizationMembership } from '@wacht/types';
|
|
|
56
56
|
import { OrganizationMembershipWithOrganization } from '@wacht/types';
|
|
57
57
|
import { OrganizationRole } from '@wacht/types';
|
|
58
58
|
import { OrganizationUpdate } from '@wacht/types';
|
|
59
|
+
import { PendingQuestion } from '@wacht/types';
|
|
59
60
|
import { ProfileCompletionData } from '@wacht/types';
|
|
60
61
|
import { ProfileCompletionProps } from '@wacht/types';
|
|
61
62
|
import { ProjectTaskBoardItem } from '@wacht/types';
|
|
62
63
|
import { ProjectTaskBoardItemAssignment } from '@wacht/types';
|
|
64
|
+
import { ProjectTaskBoardItemComment } from '@wacht/types';
|
|
63
65
|
import { ProjectTaskWorkspaceFileContent } from '@wacht/types';
|
|
64
66
|
import { ProjectTaskWorkspaceListing } from '@wacht/types';
|
|
65
67
|
import { ReactNode } from 'react';
|
|
@@ -1044,7 +1046,7 @@ export declare function useAgentThreadConversation({ threadId, initialThread, pl
|
|
|
1044
1046
|
executionStatus: FrontendStatus;
|
|
1045
1047
|
isWaitingForInput: boolean;
|
|
1046
1048
|
pendingApprovalRequest: ThreadPendingApprovalRequestState | null;
|
|
1047
|
-
|
|
1049
|
+
pendingClarificationRequest: PendingQuestion | null;
|
|
1048
1050
|
hasMoreMessages: boolean;
|
|
1049
1051
|
isLoadingMore: boolean;
|
|
1050
1052
|
messagesLoading: boolean;
|
|
@@ -1053,6 +1055,7 @@ export declare function useAgentThreadConversation({ threadId, initialThread, pl
|
|
|
1053
1055
|
refreshMessages: () => Promise<void>;
|
|
1054
1056
|
sendMessage: (message: string, files?: File[]) => Promise<void>;
|
|
1055
1057
|
submitApprovalResponse: (requestMessageId: string, approvals: ToolApprovalDecision[]) => Promise<boolean>;
|
|
1058
|
+
submitAnswer: (submission: AnswerSubmission) => Promise<boolean>;
|
|
1056
1059
|
clearMessages: () => void;
|
|
1057
1060
|
loadMoreMessages: () => Promise<void>;
|
|
1058
1061
|
cancelExecution: () => Promise<void>;
|
|
@@ -1352,6 +1355,14 @@ export declare function useProjectTaskBoardItem(projectId?: string, itemId?: str
|
|
|
1352
1355
|
refetchTaskWorkspace: () => Promise<void>;
|
|
1353
1356
|
};
|
|
1354
1357
|
|
|
1358
|
+
export declare function useProjectTaskBoardItemComments(projectId?: string, itemId?: string, enabled?: boolean): {
|
|
1359
|
+
comments: ProjectTaskBoardItemComment[];
|
|
1360
|
+
loading: boolean;
|
|
1361
|
+
error: any;
|
|
1362
|
+
createComment: (body: string) => Promise<ApiResult<ProjectTaskBoardItemComment>>;
|
|
1363
|
+
refetch: () => Promise<void>;
|
|
1364
|
+
};
|
|
1365
|
+
|
|
1355
1366
|
export declare function useProjectTasks(projectId?: string, enabled?: boolean, options?: ProjectTaskListOptions): {
|
|
1356
1367
|
tasks: ProjectTaskBoardItem[];
|
|
1357
1368
|
loading: boolean;
|