@crewx/sdk 0.9.0-rc.161 → 0.9.0-rc.163
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/agent-interceptor/chain.d.ts +25 -0
- package/dist/agent-interceptor/index.d.ts +6 -0
- package/dist/agent-interceptor/model-runner.d.ts +19 -0
- package/dist/agent-interceptor/program-runner.d.ts +13 -0
- package/dist/agent-interceptor/protocol.d.ts +68 -0
- package/dist/agent-interceptor/run-stop.d.ts +3 -0
- package/dist/agent-interceptor/schema.d.ts +267 -0
- package/dist/agent-interceptor/types.d.ts +88 -0
- package/dist/esm/index.js +305 -297
- package/dist/esm/plugins/index.js +86 -81
- package/dist/esm/publish/index.js +1 -1
- package/dist/esm/repository/index.js +98 -93
- package/dist/esm/skills/index.js +1 -1
- package/dist/events/types.d.ts +12 -0
- package/dist/facade/Crewx.d.ts +9 -0
- package/dist/index.browser.js +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +307 -299
- package/dist/plugins/index.js +83 -78
- package/dist/provider/bridge.d.ts +5 -1
- package/dist/provider/cli/adapter.types.d.ts +9 -0
- package/dist/provider-account/accounts.d.ts +15 -0
- package/dist/provider-account/index.d.ts +5 -0
- package/dist/provider-account/registry.d.ts +30 -0
- package/dist/provider-account/types.d.ts +40 -0
- package/dist/publish/index.js +1 -1
- package/dist/repository/index.js +99 -94
- package/dist/repository/task.repository.d.ts +7 -0
- package/dist/repository/thread.repository.d.ts +1 -0
- package/dist/skills/index.js +1 -1
- package/dist/types/index.d.ts +33 -0
- package/dist/types/task-log.types.d.ts +3 -1
- package/dist/utils/id.d.ts +1 -1
- package/package.json +1 -1
|
@@ -251,6 +251,11 @@ export declare class TaskRepository extends BaseSqliteRepository {
|
|
|
251
251
|
securityKey?: string | null;
|
|
252
252
|
codingAgentCommand?: string | null;
|
|
253
253
|
}): void;
|
|
254
|
+
recordTaskPid(opts: {
|
|
255
|
+
id: string;
|
|
256
|
+
runEpoch: number;
|
|
257
|
+
pid: number;
|
|
258
|
+
}): boolean;
|
|
254
259
|
updateTaskOwnership(opts: {
|
|
255
260
|
id: string;
|
|
256
261
|
runEpoch: number;
|
|
@@ -259,6 +264,7 @@ export declare class TaskRepository extends BaseSqliteRepository {
|
|
|
259
264
|
runtime?: {
|
|
260
265
|
model?: string | null;
|
|
261
266
|
renderedPrompt?: string | null;
|
|
267
|
+
securityKey?: string | null;
|
|
262
268
|
codingAgentCommand?: string | null;
|
|
263
269
|
metadata?: Record<string, unknown>;
|
|
264
270
|
};
|
|
@@ -310,6 +316,7 @@ export declare class TaskRepository extends BaseSqliteRepository {
|
|
|
310
316
|
runEpoch: number;
|
|
311
317
|
input: string;
|
|
312
318
|
keyWrapSkipped: boolean;
|
|
319
|
+
interceptedRequest?: boolean;
|
|
313
320
|
recordedAt?: string;
|
|
314
321
|
}): boolean;
|
|
315
322
|
listProviderInputEpochs(id: string, opts?: {
|
|
@@ -122,6 +122,7 @@ export declare class ThreadRepository extends BaseSqliteRepository {
|
|
|
122
122
|
};
|
|
123
123
|
getDescendantSummaryByTaskId(threadId: string, workspaceId?: string): Record<string, TaskDescendantSummary>;
|
|
124
124
|
listDescendantsByTaskId(taskId: string, workspaceId: string, options?: TaskDescendantListOptions): TaskDescendantList | undefined;
|
|
125
|
+
findInterceptedRequests(taskIds: readonly string[]): Map<string, string>;
|
|
125
126
|
findTopLevelTasks(threadId: string, workspaceId?: string, limit?: number, ownAgentId?: string): TaskRow[];
|
|
126
127
|
findAllTasks(threadId: string, workspaceId?: string): TaskRow[];
|
|
127
128
|
findRespondedAgents(threadId: string, workspaceId?: string): RespondedAgent[];
|