@crewx/sdk 0.9.0-rc.122 → 0.9.0-rc.124
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/desktop/index.js +1 -1
- package/dist/esm/desktop/index.js +1 -1
- package/dist/esm/index.js +155 -150
- package/dist/esm/plugins/index.js +71 -66
- package/dist/esm/repository/index.js +86 -81
- package/dist/index.js +155 -150
- package/dist/plugins/index.js +71 -66
- package/dist/repository/index.js +87 -82
- package/dist/repository/thread.repository.d.ts +6 -0
- package/package.json +1 -1
|
@@ -40,6 +40,8 @@ export declare class ThreadRepository extends BaseSqliteRepository {
|
|
|
40
40
|
private findAllThreadsQuery;
|
|
41
41
|
private findThreadIdsQuery;
|
|
42
42
|
private readThreadIds;
|
|
43
|
+
private findThreadSortKeysQuery;
|
|
44
|
+
private readThreadSortKeys;
|
|
43
45
|
private readThreadRowsByIds;
|
|
44
46
|
private readThreadRows;
|
|
45
47
|
findAllThreads(workspaceId?: string, createdByKind?: ThreadActorKind): ThreadRow[];
|
|
@@ -68,6 +70,10 @@ export declare class ThreadRepository extends BaseSqliteRepository {
|
|
|
68
70
|
private findTaskOriginLineageQuery;
|
|
69
71
|
findThreadOrigins(threadIds: string[], workspaceId?: string): Map<string, ThreadOriginRow>;
|
|
70
72
|
findThreadsByOrigin(origin: ThreadOriginScope, workspaceId?: string): ThreadRow[];
|
|
73
|
+
findRecentDirectThreads(workspaceId: string, limit?: number): {
|
|
74
|
+
threads: ThreadRow[];
|
|
75
|
+
originsByThread: Map<string, ThreadOriginRow>;
|
|
76
|
+
};
|
|
71
77
|
explainBatchFetchTasksPlan(threadIds: string[], workspaceId?: string): string[];
|
|
72
78
|
explainFindThreadOriginsPlan(threadIds: string[], workspaceId?: string): string[];
|
|
73
79
|
explainFindThreadsByOriginPlan(origin: ThreadOriginScope, workspaceId?: string): string[];
|