@wacht/jsx 1.0.0-beta.32 → 1.0.0-beta.35
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 +522 -522
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +4 -19
- package/dist/index.es.js +2562 -2618
- 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';
|
|
@@ -10,7 +11,6 @@ import { ApiAuthAppInfo } from '@wacht/types';
|
|
|
10
11
|
import { ApiKey } from '@wacht/types';
|
|
11
12
|
import { ApiKeyWithSecret } from '@wacht/types';
|
|
12
13
|
import { ApiResult } from '@wacht/types';
|
|
13
|
-
import { AppendProjectTaskBoardItemJournalRequest } from '@wacht/types';
|
|
14
14
|
import { ButtonHTMLAttributes } from 'react';
|
|
15
15
|
import { CancelReplayTaskOptions } from '@wacht/types';
|
|
16
16
|
import { CancelReplayTaskResponse } from '@wacht/types';
|
|
@@ -60,7 +60,6 @@ import { ProfileCompletionData } from '@wacht/types';
|
|
|
60
60
|
import { ProfileCompletionProps } from '@wacht/types';
|
|
61
61
|
import { ProjectTaskBoardItem } from '@wacht/types';
|
|
62
62
|
import { ProjectTaskBoardItemAssignment } from '@wacht/types';
|
|
63
|
-
import { ProjectTaskBoardItemEvent } from '@wacht/types';
|
|
64
63
|
import { ProjectTaskWorkspaceFileContent } from '@wacht/types';
|
|
65
64
|
import { ProjectTaskWorkspaceListing } from '@wacht/types';
|
|
66
65
|
import { ReactNode } from 'react';
|
|
@@ -85,7 +84,6 @@ import { SignUpParams } from '@wacht/types';
|
|
|
85
84
|
import { SocialConnection } from '@wacht/types';
|
|
86
85
|
import { TestEndpointOptions } from '@wacht/types';
|
|
87
86
|
import { TestEndpointResponse } from '@wacht/types';
|
|
88
|
-
import { ThreadEvent } from '@wacht/types';
|
|
89
87
|
import { ThreadPendingApprovalRequestState } from '@wacht/types';
|
|
90
88
|
import { ThreadTaskGraphBundle } from '@wacht/types';
|
|
91
89
|
import { TimeseriesPoint } from '@wacht/types';
|
|
@@ -1016,6 +1014,7 @@ export declare function useAgentThread(threadId?: string, enabled?: boolean): {
|
|
|
1016
1014
|
updateThread: (request: UpdateAgentThreadRequest) => Promise<ApiResult<AgentThread>>;
|
|
1017
1015
|
archiveThread: () => Promise<ApiResult<AgentThread>>;
|
|
1018
1016
|
unarchiveThread: () => Promise<ApiResult<AgentThread>>;
|
|
1017
|
+
submitAnswer: (submission: AnswerSubmission) => Promise<void>;
|
|
1019
1018
|
refetch: () => Promise<void>;
|
|
1020
1019
|
};
|
|
1021
1020
|
|
|
@@ -1069,16 +1068,6 @@ declare interface UseAgentThreadConversationProps {
|
|
|
1069
1068
|
};
|
|
1070
1069
|
}
|
|
1071
1070
|
|
|
1072
|
-
export declare function useAgentThreadEvents(threadId?: string, options?: AgentThreadHookOptions): {
|
|
1073
|
-
events: ThreadEvent[];
|
|
1074
|
-
loading: boolean;
|
|
1075
|
-
error: any;
|
|
1076
|
-
hasMore: boolean;
|
|
1077
|
-
loadingMore: boolean;
|
|
1078
|
-
loadMore: () => Promise<void>;
|
|
1079
|
-
refetch: () => Promise<void>;
|
|
1080
|
-
};
|
|
1081
|
-
|
|
1082
1071
|
export declare function useAgentThreadFilesystem(threadId?: string, enabled?: boolean): {
|
|
1083
1072
|
filesystem: ProjectTaskWorkspaceListing;
|
|
1084
1073
|
filesystemLoading: boolean;
|
|
@@ -1342,11 +1331,7 @@ export declare const useOrganizationMemberships: () => {
|
|
|
1342
1331
|
|
|
1343
1332
|
export declare function useProjectTaskBoardItem(projectId?: string, itemId?: string, enabled?: boolean, options?: ProjectTaskDetailOptions): {
|
|
1344
1333
|
item: ProjectTaskBoardItem | null;
|
|
1345
|
-
events: ProjectTaskBoardItemEvent[];
|
|
1346
1334
|
assignments: ProjectTaskBoardItemAssignment[];
|
|
1347
|
-
eventsHasMore: boolean;
|
|
1348
|
-
eventsLoadingMore: boolean;
|
|
1349
|
-
loadMoreEvents: () => Promise<void>;
|
|
1350
1335
|
assignmentsHasMore: boolean;
|
|
1351
1336
|
assignmentsLoadingMore: boolean;
|
|
1352
1337
|
loadMoreAssignments: () => Promise<void>;
|
|
@@ -1358,11 +1343,11 @@ export declare function useProjectTaskBoardItem(projectId?: string, itemId?: str
|
|
|
1358
1343
|
updateItem: (request: UpdateProjectTaskBoardItemRequest, files?: File[]) => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1359
1344
|
archiveItem: () => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1360
1345
|
unarchiveItem: () => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1346
|
+
cancelItem: () => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1347
|
+
submitAnswer: (submission: AnswerSubmission) => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1361
1348
|
getTaskWorkspaceFile: (path: string) => Promise<ApiResult<ProjectTaskWorkspaceFileContent>>;
|
|
1362
1349
|
listTaskWorkspaceDirectory: (path?: string) => Promise<ApiResult<ProjectTaskWorkspaceListing>>;
|
|
1363
|
-
appendJournal: (request: AppendProjectTaskBoardItemJournalRequest, files?: File[]) => Promise<ApiResult<ProjectTaskBoardItemEvent>>;
|
|
1364
1350
|
refetch: () => Promise<void>;
|
|
1365
|
-
refetchEvents: () => Promise<void>;
|
|
1366
1351
|
refetchAssignments: () => Promise<void>;
|
|
1367
1352
|
refetchTaskWorkspace: () => Promise<void>;
|
|
1368
1353
|
};
|