@wacht/jsx 1.0.0-beta.34 → 1.0.0-beta.36
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 +127 -127
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.es.js +3090 -3048
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ActorMcpServerSummary } from '@wacht/types';
|
|
|
3
3
|
import { ActorProject } from '@wacht/types';
|
|
4
4
|
import { Agent } from '@wacht/types';
|
|
5
5
|
import { AgentThread } from '@wacht/types';
|
|
6
|
+
import { AnswerSubmission } from '@wacht/types';
|
|
6
7
|
import { ApiAuditAnalyticsResponse } from '@wacht/types';
|
|
7
8
|
import { ApiAuditLogsResponse } from '@wacht/types';
|
|
8
9
|
import { ApiAuditTimeseriesResponse } from '@wacht/types';
|
|
@@ -55,6 +56,7 @@ import { OrganizationMembership } from '@wacht/types';
|
|
|
55
56
|
import { OrganizationMembershipWithOrganization } from '@wacht/types';
|
|
56
57
|
import { OrganizationRole } from '@wacht/types';
|
|
57
58
|
import { OrganizationUpdate } from '@wacht/types';
|
|
59
|
+
import { PendingQuestion } from '@wacht/types';
|
|
58
60
|
import { ProfileCompletionData } from '@wacht/types';
|
|
59
61
|
import { ProfileCompletionProps } from '@wacht/types';
|
|
60
62
|
import { ProjectTaskBoardItem } from '@wacht/types';
|
|
@@ -1013,6 +1015,7 @@ export declare function useAgentThread(threadId?: string, enabled?: boolean): {
|
|
|
1013
1015
|
updateThread: (request: UpdateAgentThreadRequest) => Promise<ApiResult<AgentThread>>;
|
|
1014
1016
|
archiveThread: () => Promise<ApiResult<AgentThread>>;
|
|
1015
1017
|
unarchiveThread: () => Promise<ApiResult<AgentThread>>;
|
|
1018
|
+
submitAnswer: (submission: AnswerSubmission) => Promise<void>;
|
|
1016
1019
|
refetch: () => Promise<void>;
|
|
1017
1020
|
};
|
|
1018
1021
|
|
|
@@ -1042,7 +1045,7 @@ export declare function useAgentThreadConversation({ threadId, initialThread, pl
|
|
|
1042
1045
|
executionStatus: FrontendStatus;
|
|
1043
1046
|
isWaitingForInput: boolean;
|
|
1044
1047
|
pendingApprovalRequest: ThreadPendingApprovalRequestState | null;
|
|
1045
|
-
|
|
1048
|
+
pendingClarificationRequest: PendingQuestion | null;
|
|
1046
1049
|
hasMoreMessages: boolean;
|
|
1047
1050
|
isLoadingMore: boolean;
|
|
1048
1051
|
messagesLoading: boolean;
|
|
@@ -1051,6 +1054,7 @@ export declare function useAgentThreadConversation({ threadId, initialThread, pl
|
|
|
1051
1054
|
refreshMessages: () => Promise<void>;
|
|
1052
1055
|
sendMessage: (message: string, files?: File[]) => Promise<void>;
|
|
1053
1056
|
submitApprovalResponse: (requestMessageId: string, approvals: ToolApprovalDecision[]) => Promise<boolean>;
|
|
1057
|
+
submitAnswer: (submission: AnswerSubmission) => Promise<boolean>;
|
|
1054
1058
|
clearMessages: () => void;
|
|
1055
1059
|
loadMoreMessages: () => Promise<void>;
|
|
1056
1060
|
cancelExecution: () => Promise<void>;
|
|
@@ -1342,6 +1346,7 @@ export declare function useProjectTaskBoardItem(projectId?: string, itemId?: str
|
|
|
1342
1346
|
archiveItem: () => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1343
1347
|
unarchiveItem: () => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1344
1348
|
cancelItem: () => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1349
|
+
submitAnswer: (submission: AnswerSubmission) => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1345
1350
|
getTaskWorkspaceFile: (path: string) => Promise<ApiResult<ProjectTaskWorkspaceFileContent>>;
|
|
1346
1351
|
listTaskWorkspaceDirectory: (path?: string) => Promise<ApiResult<ProjectTaskWorkspaceListing>>;
|
|
1347
1352
|
refetch: () => Promise<void>;
|