@opengeni/worker-bundle 0.16.29 → 0.20.0
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/activities/agent-run-admission.d.ts +12 -0
- package/dist/activities/agent-turn.d.ts +110 -19
- package/dist/activities/api-integrations.d.ts +21 -0
- package/dist/activities/browser-state-artifact-reaper.d.ts +29 -0
- package/dist/activities/capabilities.d.ts +6 -0
- package/dist/activities/codemode-dispatcher.d.ts +35 -0
- package/dist/activities/codemode-token-renewal.d.ts +23 -0
- package/dist/activities/codex-capacity.d.ts +6 -5
- package/dist/activities/codex-image-generation.d.ts +21 -0
- package/dist/activities/context-compaction.d.ts +1 -0
- package/dist/activities/documents.d.ts +3 -2
- package/dist/activities/environment.d.ts +17 -8
- package/dist/activities/expiring-material-renewal.d.ts +1 -1
- package/dist/activities/file-upload-reaper.d.ts +7 -2
- package/dist/activities/gateway-image-generation.d.ts +39 -0
- package/dist/activities/gateway-video-generation.d.ts +53 -0
- package/dist/activities/generated-images.d.ts +112 -0
- package/dist/activities/git-credential-renewal.d.ts +1 -1
- package/dist/activities/goals.d.ts +2 -2
- package/dist/activities/google-drive-changes.d.ts +99 -0
- package/dist/activities/image-generation-operation.d.ts +74 -0
- package/dist/activities/image-generation-references.d.ts +25 -0
- package/dist/activities/knowledge-source-sync-driver.d.ts +23 -0
- package/dist/activities/knowledge-source-sync.d.ts +75 -0
- package/dist/activities/packs.d.ts +21 -36
- package/dist/activities/parent-wake.d.ts +1 -1
- package/dist/activities/retained-screenshot-reaper.d.ts +2 -2
- package/dist/activities/retained-screenshots.d.ts +36 -0
- package/dist/activities/rig-verification.d.ts +82 -5
- package/dist/activities/run-credential-renewal.d.ts +1 -1
- package/dist/activities/run-input.d.ts +3 -1
- package/dist/activities/sandbox-images.d.ts +14 -0
- package/dist/activities/sandbox-lease.d.ts +47 -9
- package/dist/activities/scheduled-tasks.d.ts +2 -2
- package/dist/activities/session-state.d.ts +7 -5
- package/dist/activities/site-auth-maintenance.d.ts +27 -0
- package/dist/activities/streaming.d.ts +1 -1
- package/dist/activities/types.d.ts +87 -5
- package/dist/activities/video-generation-admission.d.ts +43 -0
- package/dist/activities/video-generation-credential.d.ts +24 -0
- package/dist/activities/video-generation-reconciliation.d.ts +13 -0
- package/dist/activities/video-media-validation.d.ts +34 -0
- package/dist/activities/video-output-retention.d.ts +36 -0
- package/dist/activities/video-reference-staging.d.ts +55 -0
- package/dist/activities/workflow-wake.d.ts +2 -2
- package/dist/activities/workspace-capture.d.ts +10 -1
- package/dist/activities/xai-auth.d.ts +23 -0
- package/dist/activities/xai-image-generation.d.ts +26 -0
- package/dist/activities/xai-video-generation.d.ts +18 -0
- package/dist/activities-control-XURE4VKN.js +7221 -0
- package/dist/activities-control-XURE4VKN.js.map +1 -0
- package/dist/activities-control.d.ts +297 -0
- package/dist/activities-turn-6EBXGGLS.js +16036 -0
- package/dist/activities-turn-6EBXGGLS.js.map +1 -0
- package/dist/activities-turn.d.ts +17 -0
- package/dist/activities.d.ts +138 -150
- package/dist/activity-services.d.ts +10 -0
- package/dist/artifact-materializer-entry.d.ts +6 -0
- package/dist/artifact-materializer-entry.js +2662 -0
- package/dist/artifact-materializer-entry.js.map +1 -0
- package/dist/artifact-outbox-entry.d.ts +2 -0
- package/dist/artifact-outbox-entry.js +681 -0
- package/dist/artifact-outbox-entry.js.map +1 -0
- package/dist/chunk-5GRJIP5H.js +3092 -0
- package/dist/chunk-5GRJIP5H.js.map +1 -0
- package/dist/chunk-GRFQTTSQ.js +448 -0
- package/dist/chunk-GRFQTTSQ.js.map +1 -0
- package/dist/chunk-TYNPCG4U.js +906 -0
- package/dist/chunk-TYNPCG4U.js.map +1 -0
- package/dist/concurrency.d.ts +108 -5
- package/dist/editable-artifact-hint-broker.d.ts +49 -0
- package/dist/editable-artifact-materializer-launcher.d.ts +49 -0
- package/dist/editable-artifact-materializer-service.d.ts +108 -0
- package/dist/editable-artifact-materializer-storage.d.ts +12 -0
- package/dist/editable-artifact-materializer-subprocess.d.ts +50 -0
- package/dist/editable-artifact-materializer.d.ts +262 -0
- package/dist/editable-artifact-outbox-dispatcher.d.ts +44 -0
- package/dist/editable-artifact-outbox-service.d.ts +70 -0
- package/dist/host-export.d.ts +1 -1
- package/dist/index.d.ts +189 -10
- package/dist/index.js +715 -17380
- package/dist/index.js.map +1 -1
- package/dist/memory-pressure-guard.d.ts +57 -0
- package/dist/model-checkpoint-memory-collector.d.ts +23 -0
- package/dist/model-context-contributions.d.ts +40 -0
- package/dist/observability-metrics.d.ts +53 -1
- package/dist/sandbox-reaper-contract.d.ts +40 -0
- package/dist/sandbox-reaper-timeout.d.ts +14 -0
- package/dist/sandbox-resume.d.ts +34 -7
- package/dist/sandbox-routing.d.ts +6 -0
- package/dist/worker-service-lifecycle.d.ts +6 -2
- package/dist/workflow-bundle.js +1094 -370
- package/dist/workflows/activities.d.ts +8 -2
- package/dist/workflows/document-index.d.ts +1 -1
- package/dist/workflows/knowledge-source-sync.d.ts +13 -0
- package/dist/workflows/rig-verification.d.ts +1 -1
- package/dist/workflows/sandbox-reaper.d.ts +8 -0
- package/dist/workflows/scheduled-tasks.d.ts +1 -1
- package/dist/workflows/session.d.ts +2 -2
- package/dist/workflows/site-auth-maintenance.d.ts +2 -0
- package/dist/workflows/video-generation.d.ts +10 -0
- package/dist/workflows/workflow-wake.d.ts +1 -1
- package/dist/workflows.d.ts +10 -7
- package/package.json +35 -15
- package/src/activities/agent-run-admission.ts +76 -0
- package/src/activities/agent-turn.ts +2600 -340
- package/src/activities/api-integrations.ts +138 -0
- package/src/activities/browser-state-artifact-reaper.ts +120 -0
- package/src/activities/capabilities.ts +10 -0
- package/src/activities/codemode-dispatcher.ts +335 -0
- package/src/activities/codemode-token-renewal.ts +64 -0
- package/src/activities/codex-capacity.ts +54 -7
- package/src/activities/codex-image-generation.ts +56 -0
- package/src/activities/context-compaction.ts +38 -3
- package/src/activities/documents.ts +14 -4
- package/src/activities/environment.ts +54 -45
- package/src/activities/expiring-material-renewal.ts +1 -1
- package/src/activities/file-upload-reaper.ts +34 -3
- package/src/activities/gateway-image-generation.ts +146 -0
- package/src/activities/gateway-video-generation.ts +298 -0
- package/src/activities/generated-images.ts +860 -0
- package/src/activities/goals.ts +8 -3
- package/src/activities/google-drive-changes.ts +454 -0
- package/src/activities/image-generation-operation.ts +333 -0
- package/src/activities/image-generation-references.ts +118 -0
- package/src/activities/knowledge-source-sync-driver.ts +27 -0
- package/src/activities/knowledge-source-sync.ts +2840 -0
- package/src/activities/mcp-credentials.ts +1 -0
- package/src/activities/packs.ts +75 -152
- package/src/activities/parent-wake.ts +13 -1
- package/src/activities/retained-screenshot-reaper.ts +2 -2
- package/src/activities/retained-screenshots.ts +453 -28
- package/src/activities/rig-verification.ts +554 -43
- package/src/activities/run-input.ts +22 -6
- package/src/activities/sandbox-images.ts +167 -0
- package/src/activities/sandbox-lease.ts +1065 -483
- package/src/activities/scheduled-tasks.ts +104 -74
- package/src/activities/session-state.ts +22 -4
- package/src/activities/site-auth-maintenance.ts +269 -0
- package/src/activities/streaming.ts +42 -3
- package/src/activities/types.ts +104 -5
- package/src/activities/video-generation-admission.ts +303 -0
- package/src/activities/video-generation-credential.ts +112 -0
- package/src/activities/video-generation-reconciliation.ts +771 -0
- package/src/activities/video-media-validation.ts +332 -0
- package/src/activities/video-output-retention.ts +314 -0
- package/src/activities/video-reference-staging.ts +350 -0
- package/src/activities/workflow-wake.ts +2 -2
- package/src/activities/workspace-capture.ts +44 -10
- package/src/activities/xai-auth.ts +122 -0
- package/src/activities/xai-image-generation.ts +86 -0
- package/src/activities/xai-video-generation.ts +69 -0
- package/src/activities-control.ts +58 -0
- package/src/activities-turn.ts +40 -0
- package/src/activities.ts +53 -124
- package/src/activity-services.ts +62 -0
- package/src/artifact-materializer-entry.ts +35 -0
- package/src/artifact-outbox-entry.ts +29 -0
- package/src/concurrency.ts +484 -6
- package/src/editable-artifact-hint-broker.ts +235 -0
- package/src/editable-artifact-materializer-launcher.ts +515 -0
- package/src/editable-artifact-materializer-service.ts +787 -0
- package/src/editable-artifact-materializer-storage.ts +413 -0
- package/src/editable-artifact-materializer-subprocess.ts +956 -0
- package/src/editable-artifact-materializer.ts +1289 -0
- package/src/editable-artifact-outbox-dispatcher.ts +244 -0
- package/src/editable-artifact-outbox-service.ts +438 -0
- package/src/index.ts +328 -72
- package/src/memory-pressure-guard.ts +489 -0
- package/src/model-checkpoint-memory-collector.ts +123 -0
- package/src/model-context-contributions.ts +159 -0
- package/src/observability-metrics.ts +297 -13
- package/src/sandbox-reaper-contract.ts +73 -0
- package/src/sandbox-reaper-timeout.ts +79 -0
- package/src/sandbox-resume.ts +294 -153
- package/src/sandbox-routing.ts +32 -24
- package/src/worker-service-lifecycle.ts +80 -14
- package/src/workflows/activities.ts +31 -0
- package/src/workflows/file-upload-reaper.ts +9 -1
- package/src/workflows/knowledge-source-sync.ts +83 -0
- package/src/workflows/sandbox-reaper.ts +183 -21
- package/src/workflows/scheduled-tasks.ts +42 -6
- package/src/workflows/session.ts +20 -6
- package/src/workflows/site-auth-maintenance.ts +14 -0
- package/src/workflows/video-generation.ts +36 -0
- package/src/workflows.ts +18 -1
- package/dist/activities/toolspace-token-renewal.d.ts +0 -23
- package/src/activities/toolspace-token-renewal.ts +0 -64
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import type { ActivityDependencies, ControlActivityServices } from "./activities/types.js";
|
|
2
|
+
export declare function createControlActivitiesFromServices(services: () => Promise<ControlActivityServices>, resolveDocumentServices?: () => Promise<import("@opengeni/documents").DocumentServices>): {
|
|
3
|
+
getCodexCapacityWait: (input: import("./activities.js").GetCodexCapacityWaitInput) => Promise<{
|
|
4
|
+
provider?: "xai";
|
|
5
|
+
waiterId: string;
|
|
6
|
+
generation: number;
|
|
7
|
+
nextCheckAt: string;
|
|
8
|
+
wakeRevision: number;
|
|
9
|
+
} | null>;
|
|
10
|
+
reconcileCodexCapacityWait: (input: import("./activities.js").ReconcileCodexCapacityWaitInput) => Promise<import("./activities.js").ReconcileCodexCapacityWaitResult>;
|
|
11
|
+
maintainBrowserStateArtifacts: () => Promise<import("./activities/browser-state-artifact-reaper.js").MaintainBrowserStateArtifactsResult>;
|
|
12
|
+
indexDocument: (input: import("./activities.js").IndexDocumentInput) => Promise<{
|
|
13
|
+
id: string;
|
|
14
|
+
workspaceId: string;
|
|
15
|
+
baseId: string;
|
|
16
|
+
fileId: string;
|
|
17
|
+
status: "failed" | "indexing" | "queued" | "ready";
|
|
18
|
+
title: string;
|
|
19
|
+
parser: string;
|
|
20
|
+
chunkCount: number;
|
|
21
|
+
error: string | null;
|
|
22
|
+
sourceKind: "chat" | "document" | "email" | "manual_upload" | "meeting_transcript" | "other" | "repository" | "web";
|
|
23
|
+
sourceUri: string | null;
|
|
24
|
+
sourceExternalId: string | null;
|
|
25
|
+
sourceTitle: string | null;
|
|
26
|
+
sourceAuthor: string | null;
|
|
27
|
+
sourceCreatedAt: string | null;
|
|
28
|
+
sourceUpdatedAt: string | null;
|
|
29
|
+
sourceVersion: string | null;
|
|
30
|
+
aclTags: string[];
|
|
31
|
+
authorityKind: "organization" | "personal" | "workspace";
|
|
32
|
+
authorityWorkspaceId: string | null;
|
|
33
|
+
authoritySubjectId: string | null;
|
|
34
|
+
visibility: "private" | "workspace";
|
|
35
|
+
createdBy: string | null;
|
|
36
|
+
agentAccess: boolean;
|
|
37
|
+
summary: string | null;
|
|
38
|
+
topics: string[];
|
|
39
|
+
curationStatus: "auto_filed" | "failed" | "none" | "pending" | "suggested";
|
|
40
|
+
curation: {
|
|
41
|
+
suggestedBaseId: string | null;
|
|
42
|
+
suggestedBaseName: string | null;
|
|
43
|
+
confidence: number;
|
|
44
|
+
reason: string | null;
|
|
45
|
+
originalTitle: string | null;
|
|
46
|
+
model: string | null;
|
|
47
|
+
} | null;
|
|
48
|
+
createdAt: string;
|
|
49
|
+
updatedAt: string;
|
|
50
|
+
}>;
|
|
51
|
+
reapExpiredFileUploads: () => Promise<import("./activities/file-upload-reaper.js").ReapExpiredFileUploadsResult>;
|
|
52
|
+
recoverVideoGenerationWorkflows: () => Promise<{
|
|
53
|
+
claimed: number;
|
|
54
|
+
started: number;
|
|
55
|
+
failed: number;
|
|
56
|
+
}>;
|
|
57
|
+
enqueueGoalRetryWake: (input: import("./activities.js").MaybeContinueGoalInput) => Promise<void>;
|
|
58
|
+
maybeContinueGoal: (input: import("./activities.js").MaybeContinueGoalInput) => Promise<import("./activities.js").MaybeContinueGoalResult>;
|
|
59
|
+
runKnowledgeSourceSyncBatch: (input: import("./activities.js").RunKnowledgeSourceSyncBatchInput) => Promise<import("./activities.js").RunKnowledgeSourceSyncBatchResult>;
|
|
60
|
+
maintainRetainedScreenshots: () => Promise<import("./activities/retained-screenshot-reaper.js").MaintainRetainedScreenshotsResult>;
|
|
61
|
+
verifyRigChange: (input: {
|
|
62
|
+
workspaceId: string;
|
|
63
|
+
changeId: string;
|
|
64
|
+
}) => Promise<{
|
|
65
|
+
id: string;
|
|
66
|
+
rigId: string;
|
|
67
|
+
baseVersionId: string | null;
|
|
68
|
+
kind: "definition_edit" | "setup_append";
|
|
69
|
+
payload: Record<string, unknown>;
|
|
70
|
+
status: "failed" | "merged" | "proposed" | "rejected" | "verifying";
|
|
71
|
+
proposedBy: string | null;
|
|
72
|
+
verification: {
|
|
73
|
+
[x: string]: unknown;
|
|
74
|
+
startedAt?: string | undefined;
|
|
75
|
+
finishedAt?: string | undefined;
|
|
76
|
+
log?: string | undefined;
|
|
77
|
+
checkResults?: {
|
|
78
|
+
name: string;
|
|
79
|
+
command: string;
|
|
80
|
+
exitCode: number | null;
|
|
81
|
+
output?: string | undefined;
|
|
82
|
+
}[] | undefined;
|
|
83
|
+
} | null;
|
|
84
|
+
resultVersionId: string | null;
|
|
85
|
+
createdAt: string;
|
|
86
|
+
updatedAt: string;
|
|
87
|
+
}>;
|
|
88
|
+
verifyRigVersion: (input: {
|
|
89
|
+
workspaceId: string;
|
|
90
|
+
versionId: string;
|
|
91
|
+
}) => Promise<{
|
|
92
|
+
versionId: string;
|
|
93
|
+
passed: boolean;
|
|
94
|
+
checkResults: {
|
|
95
|
+
exitCode: number | null;
|
|
96
|
+
output: string;
|
|
97
|
+
name: string;
|
|
98
|
+
command: string;
|
|
99
|
+
}[];
|
|
100
|
+
providerImage: {
|
|
101
|
+
backend: "blaxel" | "cloudflare" | "daytona" | "docker" | "e2b" | "local" | "modal" | "none" | "runloop" | "selfhosted" | "vercel";
|
|
102
|
+
provider: string;
|
|
103
|
+
status: "building" | "failed" | "ready" | "unsupported";
|
|
104
|
+
contentHash: string;
|
|
105
|
+
setupHash: string;
|
|
106
|
+
sourceImage: string | null;
|
|
107
|
+
buildRequestId: string;
|
|
108
|
+
imageId: string | null;
|
|
109
|
+
imageDigest: string | null;
|
|
110
|
+
artifactId: string | null;
|
|
111
|
+
providerBindingKeyHash: string | null;
|
|
112
|
+
coldBootValidation?: {
|
|
113
|
+
version: 1;
|
|
114
|
+
checkedAt: string;
|
|
115
|
+
} | undefined;
|
|
116
|
+
provenance: {
|
|
117
|
+
kind: "rig_verification";
|
|
118
|
+
targetKind: "change" | "version";
|
|
119
|
+
targetId: string;
|
|
120
|
+
};
|
|
121
|
+
startedAt: string;
|
|
122
|
+
finishedAt: string | null;
|
|
123
|
+
error: {
|
|
124
|
+
code: string;
|
|
125
|
+
message: string;
|
|
126
|
+
retryable: boolean;
|
|
127
|
+
} | null;
|
|
128
|
+
} | null;
|
|
129
|
+
}>;
|
|
130
|
+
prepareSandboxLeaseSweep: () => Promise<import("./activities/sandbox-lease.js").SandboxLeaseSweepPlan>;
|
|
131
|
+
drainSandboxLease: (input: import("./sandbox-reaper-contract.js").SandboxDrainActivityInput) => Promise<import("./activities/sandbox-lease.js").SandboxDrainActivityResult>;
|
|
132
|
+
maintainSandboxLeaseSweep: (input: import("./sandbox-reaper-contract.js").SandboxLeaseSweepMaintenanceInput) => Promise<import("./activities/sandbox-lease.js").SandboxLeaseSweepMaintenanceResult>;
|
|
133
|
+
reapSandboxLeases: () => Promise<import("./activities/sandbox-lease.js").ReapSandboxLeasesResult>;
|
|
134
|
+
dispatchScheduledTaskRun: (input: import("./activities.js").DispatchScheduledTaskRunInput) => Promise<import("./activities.js").DispatchScheduledTaskRunResult>;
|
|
135
|
+
maintainSiteAuthConnections: () => Promise<import("./activities/site-auth-maintenance.js").MaintainSiteAuthConnectionsResult>;
|
|
136
|
+
failSessionAttempt: (input: import("./activities/types.js").FailSessionAttemptInput) => Promise<void>;
|
|
137
|
+
settleSessionInterruptions: (input: import("./activities/types.js").SettleSessionInterruptionsInput) => Promise<{
|
|
138
|
+
action: "paused" | "continue" | "stale";
|
|
139
|
+
}>;
|
|
140
|
+
persistSessionAttemptQuiescence: (input: import("./activities.js").PersistSessionAttemptQuiescenceInput) => Promise<void>;
|
|
141
|
+
reconcileSessionAttemptQuiescence: (input: import("./activities.js").ReconcileSessionAttemptQuiescenceInput) => Promise<import("./activities.js").ReconcileSessionAttemptQuiescenceResult>;
|
|
142
|
+
recoverDispatch: (input: import("./activities.js").RecoverDispatchInput) => Promise<import("./activities.js").RecoverDispatchResult>;
|
|
143
|
+
recoverEscapedMcpTimeout: (input: import("./activities.js").RecoverEscapedMcpTimeoutInput) => Promise<import("./activities.js").RecoverEscapedMcpTimeoutResult>;
|
|
144
|
+
peekSessionWork: (input: import("./activities/types.js").PeekSessionWorkInput) => Promise<import("@opengeni/db").SessionWorkPeek>;
|
|
145
|
+
expireSessionHumanInput: (input: import("./activities.js").ExpireSessionHumanInputInput) => Promise<import("./activities.js").ExpireSessionHumanInputResult>;
|
|
146
|
+
expireSessionInteractionIntervention: (input: import("./activities/types.js").ExpireSessionInteractionInterventionInput) => Promise<import("./activities/types.js").ExpireSessionInteractionInterventionResult>;
|
|
147
|
+
markSessionIdle: (input: import("./activities/types.js").MarkSessionIdleInput) => Promise<void>;
|
|
148
|
+
dispatchSessionWorkflowWakes(): Promise<import("./activities/workflow-wake.js").DispatchSessionWorkflowWakesResult>;
|
|
149
|
+
};
|
|
150
|
+
export declare function createControlActivities(dependencies?: ActivityDependencies): {
|
|
151
|
+
getCodexCapacityWait: (input: import("./activities.js").GetCodexCapacityWaitInput) => Promise<{
|
|
152
|
+
provider?: "xai";
|
|
153
|
+
waiterId: string;
|
|
154
|
+
generation: number;
|
|
155
|
+
nextCheckAt: string;
|
|
156
|
+
wakeRevision: number;
|
|
157
|
+
} | null>;
|
|
158
|
+
reconcileCodexCapacityWait: (input: import("./activities.js").ReconcileCodexCapacityWaitInput) => Promise<import("./activities.js").ReconcileCodexCapacityWaitResult>;
|
|
159
|
+
maintainBrowserStateArtifacts: () => Promise<import("./activities/browser-state-artifact-reaper.js").MaintainBrowserStateArtifactsResult>;
|
|
160
|
+
indexDocument: (input: import("./activities.js").IndexDocumentInput) => Promise<{
|
|
161
|
+
id: string;
|
|
162
|
+
workspaceId: string;
|
|
163
|
+
baseId: string;
|
|
164
|
+
fileId: string;
|
|
165
|
+
status: "failed" | "indexing" | "queued" | "ready";
|
|
166
|
+
title: string;
|
|
167
|
+
parser: string;
|
|
168
|
+
chunkCount: number;
|
|
169
|
+
error: string | null;
|
|
170
|
+
sourceKind: "chat" | "document" | "email" | "manual_upload" | "meeting_transcript" | "other" | "repository" | "web";
|
|
171
|
+
sourceUri: string | null;
|
|
172
|
+
sourceExternalId: string | null;
|
|
173
|
+
sourceTitle: string | null;
|
|
174
|
+
sourceAuthor: string | null;
|
|
175
|
+
sourceCreatedAt: string | null;
|
|
176
|
+
sourceUpdatedAt: string | null;
|
|
177
|
+
sourceVersion: string | null;
|
|
178
|
+
aclTags: string[];
|
|
179
|
+
authorityKind: "organization" | "personal" | "workspace";
|
|
180
|
+
authorityWorkspaceId: string | null;
|
|
181
|
+
authoritySubjectId: string | null;
|
|
182
|
+
visibility: "private" | "workspace";
|
|
183
|
+
createdBy: string | null;
|
|
184
|
+
agentAccess: boolean;
|
|
185
|
+
summary: string | null;
|
|
186
|
+
topics: string[];
|
|
187
|
+
curationStatus: "auto_filed" | "failed" | "none" | "pending" | "suggested";
|
|
188
|
+
curation: {
|
|
189
|
+
suggestedBaseId: string | null;
|
|
190
|
+
suggestedBaseName: string | null;
|
|
191
|
+
confidence: number;
|
|
192
|
+
reason: string | null;
|
|
193
|
+
originalTitle: string | null;
|
|
194
|
+
model: string | null;
|
|
195
|
+
} | null;
|
|
196
|
+
createdAt: string;
|
|
197
|
+
updatedAt: string;
|
|
198
|
+
}>;
|
|
199
|
+
reapExpiredFileUploads: () => Promise<import("./activities/file-upload-reaper.js").ReapExpiredFileUploadsResult>;
|
|
200
|
+
recoverVideoGenerationWorkflows: () => Promise<{
|
|
201
|
+
claimed: number;
|
|
202
|
+
started: number;
|
|
203
|
+
failed: number;
|
|
204
|
+
}>;
|
|
205
|
+
enqueueGoalRetryWake: (input: import("./activities.js").MaybeContinueGoalInput) => Promise<void>;
|
|
206
|
+
maybeContinueGoal: (input: import("./activities.js").MaybeContinueGoalInput) => Promise<import("./activities.js").MaybeContinueGoalResult>;
|
|
207
|
+
runKnowledgeSourceSyncBatch: (input: import("./activities.js").RunKnowledgeSourceSyncBatchInput) => Promise<import("./activities.js").RunKnowledgeSourceSyncBatchResult>;
|
|
208
|
+
maintainRetainedScreenshots: () => Promise<import("./activities/retained-screenshot-reaper.js").MaintainRetainedScreenshotsResult>;
|
|
209
|
+
verifyRigChange: (input: {
|
|
210
|
+
workspaceId: string;
|
|
211
|
+
changeId: string;
|
|
212
|
+
}) => Promise<{
|
|
213
|
+
id: string;
|
|
214
|
+
rigId: string;
|
|
215
|
+
baseVersionId: string | null;
|
|
216
|
+
kind: "definition_edit" | "setup_append";
|
|
217
|
+
payload: Record<string, unknown>;
|
|
218
|
+
status: "failed" | "merged" | "proposed" | "rejected" | "verifying";
|
|
219
|
+
proposedBy: string | null;
|
|
220
|
+
verification: {
|
|
221
|
+
[x: string]: unknown;
|
|
222
|
+
startedAt?: string | undefined;
|
|
223
|
+
finishedAt?: string | undefined;
|
|
224
|
+
log?: string | undefined;
|
|
225
|
+
checkResults?: {
|
|
226
|
+
name: string;
|
|
227
|
+
command: string;
|
|
228
|
+
exitCode: number | null;
|
|
229
|
+
output?: string | undefined;
|
|
230
|
+
}[] | undefined;
|
|
231
|
+
} | null;
|
|
232
|
+
resultVersionId: string | null;
|
|
233
|
+
createdAt: string;
|
|
234
|
+
updatedAt: string;
|
|
235
|
+
}>;
|
|
236
|
+
verifyRigVersion: (input: {
|
|
237
|
+
workspaceId: string;
|
|
238
|
+
versionId: string;
|
|
239
|
+
}) => Promise<{
|
|
240
|
+
versionId: string;
|
|
241
|
+
passed: boolean;
|
|
242
|
+
checkResults: {
|
|
243
|
+
exitCode: number | null;
|
|
244
|
+
output: string;
|
|
245
|
+
name: string;
|
|
246
|
+
command: string;
|
|
247
|
+
}[];
|
|
248
|
+
providerImage: {
|
|
249
|
+
backend: "blaxel" | "cloudflare" | "daytona" | "docker" | "e2b" | "local" | "modal" | "none" | "runloop" | "selfhosted" | "vercel";
|
|
250
|
+
provider: string;
|
|
251
|
+
status: "building" | "failed" | "ready" | "unsupported";
|
|
252
|
+
contentHash: string;
|
|
253
|
+
setupHash: string;
|
|
254
|
+
sourceImage: string | null;
|
|
255
|
+
buildRequestId: string;
|
|
256
|
+
imageId: string | null;
|
|
257
|
+
imageDigest: string | null;
|
|
258
|
+
artifactId: string | null;
|
|
259
|
+
providerBindingKeyHash: string | null;
|
|
260
|
+
coldBootValidation?: {
|
|
261
|
+
version: 1;
|
|
262
|
+
checkedAt: string;
|
|
263
|
+
} | undefined;
|
|
264
|
+
provenance: {
|
|
265
|
+
kind: "rig_verification";
|
|
266
|
+
targetKind: "change" | "version";
|
|
267
|
+
targetId: string;
|
|
268
|
+
};
|
|
269
|
+
startedAt: string;
|
|
270
|
+
finishedAt: string | null;
|
|
271
|
+
error: {
|
|
272
|
+
code: string;
|
|
273
|
+
message: string;
|
|
274
|
+
retryable: boolean;
|
|
275
|
+
} | null;
|
|
276
|
+
} | null;
|
|
277
|
+
}>;
|
|
278
|
+
prepareSandboxLeaseSweep: () => Promise<import("./activities/sandbox-lease.js").SandboxLeaseSweepPlan>;
|
|
279
|
+
drainSandboxLease: (input: import("./sandbox-reaper-contract.js").SandboxDrainActivityInput) => Promise<import("./activities/sandbox-lease.js").SandboxDrainActivityResult>;
|
|
280
|
+
maintainSandboxLeaseSweep: (input: import("./sandbox-reaper-contract.js").SandboxLeaseSweepMaintenanceInput) => Promise<import("./activities/sandbox-lease.js").SandboxLeaseSweepMaintenanceResult>;
|
|
281
|
+
reapSandboxLeases: () => Promise<import("./activities/sandbox-lease.js").ReapSandboxLeasesResult>;
|
|
282
|
+
dispatchScheduledTaskRun: (input: import("./activities.js").DispatchScheduledTaskRunInput) => Promise<import("./activities.js").DispatchScheduledTaskRunResult>;
|
|
283
|
+
maintainSiteAuthConnections: () => Promise<import("./activities/site-auth-maintenance.js").MaintainSiteAuthConnectionsResult>;
|
|
284
|
+
failSessionAttempt: (input: import("./activities/types.js").FailSessionAttemptInput) => Promise<void>;
|
|
285
|
+
settleSessionInterruptions: (input: import("./activities/types.js").SettleSessionInterruptionsInput) => Promise<{
|
|
286
|
+
action: "paused" | "continue" | "stale";
|
|
287
|
+
}>;
|
|
288
|
+
persistSessionAttemptQuiescence: (input: import("./activities.js").PersistSessionAttemptQuiescenceInput) => Promise<void>;
|
|
289
|
+
reconcileSessionAttemptQuiescence: (input: import("./activities.js").ReconcileSessionAttemptQuiescenceInput) => Promise<import("./activities.js").ReconcileSessionAttemptQuiescenceResult>;
|
|
290
|
+
recoverDispatch: (input: import("./activities.js").RecoverDispatchInput) => Promise<import("./activities.js").RecoverDispatchResult>;
|
|
291
|
+
recoverEscapedMcpTimeout: (input: import("./activities.js").RecoverEscapedMcpTimeoutInput) => Promise<import("./activities.js").RecoverEscapedMcpTimeoutResult>;
|
|
292
|
+
peekSessionWork: (input: import("./activities/types.js").PeekSessionWorkInput) => Promise<import("@opengeni/db").SessionWorkPeek>;
|
|
293
|
+
expireSessionHumanInput: (input: import("./activities.js").ExpireSessionHumanInputInput) => Promise<import("./activities.js").ExpireSessionHumanInputResult>;
|
|
294
|
+
expireSessionInteractionIntervention: (input: import("./activities/types.js").ExpireSessionInteractionInterventionInput) => Promise<import("./activities/types.js").ExpireSessionInteractionInterventionResult>;
|
|
295
|
+
markSessionIdle: (input: import("./activities/types.js").MarkSessionIdleInput) => Promise<void>;
|
|
296
|
+
dispatchSessionWorkflowWakes(): Promise<import("./activities/workflow-wake.js").DispatchSessionWorkflowWakesResult>;
|
|
297
|
+
};
|