@opengeni/db 1.0.1 → 3.1.0-canary.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/attached-browser-devices.d.ts +7 -0
- package/dist/automations.d.ts +154 -0
- package/dist/canonical-human-identities.js +3 -3
- package/dist/capability-integrations.d.ts +13 -0
- package/dist/child-lifecycle-notices.d.ts +68 -0
- package/dist/{chunk-LTG3S6ZY.js → chunk-EULAN2NP.js} +2 -2
- package/dist/{chunk-CUPM3FGB.js → chunk-NJVZPWXY.js} +3 -3
- package/dist/{chunk-4SR4HKKA.js → chunk-NMUBV7Z5.js} +19 -11
- package/dist/chunk-NMUBV7Z5.js.map +1 -0
- package/dist/chunk-OF5OBB76.js +4457 -0
- package/dist/chunk-OF5OBB76.js.map +1 -0
- package/dist/{chunk-6ZYKCRFO.js → chunk-PR2WMLOQ.js} +7580 -4417
- package/dist/chunk-PR2WMLOQ.js.map +1 -0
- package/dist/{chunk-ZWREYEWA.js → chunk-SCPUJS53.js} +41 -4
- package/dist/chunk-SCPUJS53.js.map +1 -0
- package/dist/{chunk-SK7YYHBI.js → chunk-SIBYBA2D.js} +46 -1
- package/dist/chunk-SIBYBA2D.js.map +1 -0
- package/dist/chunk-TIKF3KTI.js +383 -0
- package/dist/chunk-TIKF3KTI.js.map +1 -0
- package/dist/chunk-ZZ5LJEFX.js +516 -0
- package/dist/chunk-ZZ5LJEFX.js.map +1 -0
- package/dist/codemode-operations.d.ts +1 -6
- package/dist/company-brain-context-selection-schema.d.ts +705 -0
- package/dist/company-brain-context-selection.d.ts +94 -0
- package/dist/company-brain-governed-writes.d.ts +24 -0
- package/dist/company-brain.d.ts +55 -0
- package/dist/company-profile-agent-admin.d.ts +15 -0
- package/dist/company-profile-schema.d.ts +619 -2
- package/dist/company-profile.d.ts +9 -4
- package/dist/connection-authority.d.ts +95 -0
- package/dist/connection-scopes.d.ts +8 -0
- package/dist/connection-tenancy-backfill.d.ts +41 -0
- package/dist/connection-token-resolver.d.ts +30 -1
- package/dist/database.d.ts +19 -0
- package/dist/editable-artifact-durable-export.js +2 -2
- package/dist/editable-artifacts.d.ts +2 -2
- package/dist/editable-artifacts.js +3 -3
- package/dist/governed-learning-activation-schema.d.ts +984 -0
- package/dist/governed-learning-activation.d.ts +98 -0
- package/dist/governed-learning-evaluator-schema.d.ts +633 -0
- package/dist/governed-learning-evaluator.d.ts +28 -0
- package/dist/index.d.ts +1595 -81
- package/dist/index.js +21571 -8126
- package/dist/index.js.map +1 -1
- package/dist/insights.d.ts +18 -0
- package/dist/integration-bindings.d.ts +1 -0
- package/dist/integration-facets.d.ts +30 -0
- package/dist/interaction-placement-loss.d.ts +22 -0
- package/dist/managed-human-provisioning.d.ts +25 -0
- package/dist/memory-domain.d.ts +3 -3
- package/dist/migrate.d.ts +11 -1
- package/dist/migrate.js +1 -1
- package/dist/new-session-drafts.d.ts +43 -5
- package/dist/organization-membership-backfill.d.ts +174 -0
- package/dist/organization-membership-lifecycle.d.ts +162 -0
- package/dist/pr-review.d.ts +107 -0
- package/dist/preference-registry-schema.d.ts +2 -0
- package/dist/preference-registry.d.ts +2 -0
- package/dist/provision-roles.js +1 -1
- package/dist/runtime-posture.d.ts +22 -8
- package/dist/schema.d.ts +24914 -13703
- package/dist/schema.js +99 -1
- package/dist/scoped-knowledge-schema.d.ts +52 -1
- package/dist/session-background-commands.d.ts +125 -0
- package/dist/session-background-commands.js +34 -0
- package/dist/session-background-commands.js.map +1 -0
- package/dist/session-control.d.ts +156 -3
- package/dist/session-goal-pacing.d.ts +68 -0
- package/dist/session-queue-commands.d.ts +41 -4
- package/dist/session-realtime-ledger.d.ts +2 -0
- package/dist/session-tenancy.d.ts +71 -1
- package/dist/session-tenancy.js +25 -3
- package/dist/session-tool-call-settlement.d.ts +9 -4
- package/dist/slack-routing-personal-workspace.d.ts +23 -0
- package/dist/slack-routing.d.ts +153 -0
- package/dist/slack-task-policy-schema.d.ts +34 -0
- package/dist/slack-task-policy.d.ts +8 -0
- package/dist/slack-user-link-access.d.ts +1 -0
- package/dist/task-notes-schema.d.ts +594 -0
- package/dist/task-notes.d.ts +39 -0
- package/dist/turn-initiator.d.ts +2 -0
- package/dist/user-resource-authority.d.ts +109 -0
- package/dist/video-generation.js +3 -3
- package/dist/workspace-authority.d.ts +81 -0
- package/dist/workspace-instruction-policies-schema.d.ts +279 -0
- package/dist/workspace-instruction-policies.d.ts +62 -0
- package/dist/workspace-learning-policy.d.ts +1 -0
- package/dist/workspace-membership-permissions.d.ts +2 -0
- package/drizzle/0240_enrollment_connection_authority.sql +39 -0
- package/drizzle/0241_atomic_personal_resource_delegation.sql +1000 -0
- package/drizzle/0241_enrollment_agent_runtime.sql +70 -0
- package/drizzle/0244_slack_app_home_refresh_queue.sql +120 -0
- package/drizzle/0245_model_context_contribution_facts.sql +88 -0
- package/drizzle/0246_integration_personal_instance_authority.sql +70 -0
- package/drizzle/0247_terraform_stacks_provenance_repair.sql +428 -0
- package/drizzle/0248_terraform_stacks_component_resolution_fence.sql +83 -0
- package/drizzle/0249_personal_resource_delegation_authority_correction.sql +662 -0
- package/drizzle/0250_direct_retained_process_owner_liveness.sql +199 -0
- package/drizzle/0251_connected_machine_operation_policy.sql +45 -0
- package/drizzle/0252_scheduled_personal_resource_delegation.sql +1867 -0
- package/drizzle/0253_common_user_resource_authority_lifecycle.sql +1555 -0
- package/drizzle/0254_scoped_variable_set_authority.sql +1255 -0
- package/drizzle/0255_company_brain_governed_write_proposals.sql +524 -0
- package/drizzle/0256_connection_authority_delegation.sql +703 -0
- package/drizzle/0257_goal_revision_decisions_and_root_constraints.sql +436 -0
- package/drizzle/0258_three_scope_document_knowledge_authority.sql +1273 -0
- package/drizzle/0259_company_brain_context_selection_receipts.sql +869 -0
- package/drizzle/0260_task_note_knowledge_promotion.sql +820 -0
- package/drizzle/0261_preference_knowledge_proposal_actor_binding.sql +471 -0
- package/drizzle/0262_scoped_connected_machines_and_rigs.sql +1700 -0
- package/drizzle/0263_organization_membership_lifecycle.sql +3284 -0
- package/drizzle/0264_connection_authority_runtime_activation.sql +1084 -0
- package/drizzle/0266_company_brain_context_receipt_inspection.sql +156 -0
- package/drizzle/0268_governed_learning_decision_receipts.sql +825 -0
- package/drizzle/0269_governed_learning_activation_controller.sql +1874 -0
- package/drizzle/0270_governed_learning_history_inspection.sql +170 -0
- package/drizzle/0271_company_brain_retrieval_only_default.sql +524 -0
- package/drizzle/0272_human_confirmed_learning_activation.sql +591 -0
- package/drizzle/0273_scheduled_variable_set_materialization.sql +268 -0
- package/drizzle/0274_human_confirmed_knowledge_review.sql +310 -0
- package/drizzle/0275_scheduled_connection_authority.sql +5527 -0
- package/drizzle/0276_onboarding_proposal_initiating_human_guc.sql +198 -0
- package/drizzle/0277_workspace_writer_authority_attribution.sql +393 -0
- package/drizzle/0278_workspace_membership_removal_fencing.sql +1174 -0
- package/drizzle/0279_workspace_connection_use_lane.sql +343 -0
- package/drizzle/0280_connection_and_variable_set_audit_attribution.sql +773 -0
- package/drizzle/0281_viewer_holder_authority_claims.sql +52 -0
- package/drizzle/0282_variable_set_session_attach_attribution.sql +178 -0
- package/drizzle/0283_editable_spreadsheet_authored_state.sql +82 -0
- package/drizzle/0284_truthful_human_confirmed_review_reason.sql +930 -0
- package/drizzle/0285_organization_tenancy_inventory.sql +329 -0
- package/drizzle/0286_widen_task_note_expiry_ceiling.sql +391 -0
- package/drizzle/0287_open_suffix_pending_tool_calls.sql +18 -0
- package/drizzle/0288_attached_browser_reenrollment.sql +64 -0
- package/drizzle/0289_session_composer_policy_authority.sql +597 -0
- package/drizzle/0290_organization_membership_backfill.sql +268 -0
- package/drizzle/0291_resource_authority_classification_assertion.sql +371 -0
- package/drizzle/0292_truthful_tenancy_inventory_counters.sql +291 -0
- package/drizzle/0293_confirm_time_rule_rebaseline.sql +615 -0
- package/drizzle/0294_preference_activation_authority.sql +237 -0
- package/drizzle/0295_retire_legacy_standing_memory_mode.sql +476 -0
- package/drizzle/0296_force_rls_backfill_noop_repair.sql +215 -0
- package/drizzle/0297_session_ownership_classification_and_backfill.sql +752 -0
- package/drizzle/0298_organization_tenancy_parity.sql +609 -0
- package/drizzle/0299_organization_membership_lock_order.sql +291 -0
- package/drizzle/0300_tenancy_backfill_ledger.sql +459 -0
- package/drizzle/0301_session_snapshot_and_pin_visibility.sql +181 -0
- package/drizzle/0302_personal_workspace_session_ownership.sql +303 -0
- package/drizzle/0303_session_tenancy_product_activation.sql +919 -0
- package/drizzle/0304_personal_workspace_private_session_reads.sql +97 -0
- package/drizzle/0305_personal_resource_grant_management.sql +584 -0
- package/drizzle/0306_atomic_personal_resource_attachments.sql +1374 -0
- package/drizzle/0307_session_attention_state.sql +51 -0
- package/drizzle/0308_session_archives.sql +35 -0
- package/drizzle/0309_channel_project_pins.sql +6 -0
- package/drizzle/0310_channel_project_order.sql +27 -0
- package/drizzle/0311_company_scope_and_private_session_create.sql +656 -0
- package/drizzle/0312_quiescent_session_tree_deletion.sql +39 -0
- package/drizzle/0313_private_child_session_authority.sql +365 -0
- package/drizzle/0314_unregistered_organization_invitations.sql +606 -0
- package/drizzle/0315_personal_github_repository_selection.sql +624 -0
- package/drizzle/0316_human_confirmed_activation_resumed_generation.sql +869 -0
- package/drizzle/0317_session_goal_continuation_hold.sql +64 -0
- package/drizzle/0318_session_turn_startup_milestones.sql +115 -0
- package/drizzle/0319_event_triggered_automations.sql +254 -0
- package/drizzle/0320_pr_review_pack.sql +113 -0
- package/drizzle/0321_slack_bot_environment_display_name.sql +15 -0
- package/drizzle/0322_session_turns_unclaimed_prompt_trigger_index.sql +5 -0
- package/drizzle/0323_organization_private_session_enablement.sql +489 -0
- package/drizzle/0324_human_confirmed_company_profile_agent_admin.sql +856 -0
- package/drizzle/0325_child_lifecycle_notices.sql +44 -0
- package/drizzle/0326_interaction_operation_error_codes.sql +62 -0
- package/drizzle/0327_slack_first_task_hint.sql +29 -0
- package/drizzle/0328_session_background_commands.sql +590 -0
- package/drizzle/0329_slack_orchestration_delivery_events.sql +91 -0
- package/drizzle/0330_api_key_descriptions.sql +20 -0
- package/drizzle/0331_managed_organization_creation.sql +163 -0
- package/drizzle/0332_organization_shared_workspace_control_plane.sql +539 -0
- package/drizzle/0333_session_turn_prompt_routing.sql +45 -0
- package/drizzle/0334_connected_machine_workspace_root.sql +99 -0
- package/drizzle/0335_slack_workspace_routing.sql +460 -0
- package/drizzle/0336_atomic_session_fork_visibility.sql +667 -0
- package/drizzle/0337_slack_routed_action_handles.sql +189 -0
- package/drizzle/0338_atomic_connected_machine_attachments.sql +410 -0
- package/drizzle/0339_document_authority_reclassification.sql +1153 -0
- package/drizzle/0340_tenancy_backfill_activation_evidence.sql +1347 -0
- package/drizzle/0341_slack_routing_probe_organization_fence.sql +109 -0
- package/package.json +10 -6
- package/src/attached-browser-devices.ts +233 -5
- package/src/automations.ts +911 -0
- package/src/browser-sessions.ts +10 -0
- package/src/capability-integrations.ts +175 -1
- package/src/child-lifecycle-notices.ts +241 -0
- package/src/codemode-operations.ts +1 -35
- package/src/company-brain-context-selection-schema.ts +100 -0
- package/src/company-brain-context-selection.ts +359 -0
- package/src/company-brain-governed-writes.ts +1170 -0
- package/src/company-brain.ts +309 -0
- package/src/company-profile-agent-admin.ts +225 -0
- package/src/company-profile-schema.ts +121 -1
- package/src/company-profile.ts +21 -0
- package/src/computer-sessions.ts +10 -1
- package/src/connection-authority.ts +290 -0
- package/src/connection-scopes.ts +20 -0
- package/src/connection-tenancy-backfill.ts +81 -0
- package/src/connection-token-resolver.ts +263 -31
- package/src/database.ts +75 -2
- package/src/editable-artifacts-schema.ts +10 -5
- package/src/editable-artifacts.ts +21 -11
- package/src/governed-learning-activation-schema.ts +121 -0
- package/src/governed-learning-activation.ts +588 -0
- package/src/governed-learning-evaluator-schema.ts +72 -0
- package/src/governed-learning-evaluator.ts +217 -0
- package/src/index.ts +11651 -1548
- package/src/insights.ts +107 -0
- package/src/integration-bindings.ts +88 -6
- package/src/integration-facets.ts +287 -84
- package/src/interaction-placement-loss.ts +234 -0
- package/src/managed-human-provisioning.ts +116 -0
- package/src/memory-domain.ts +27 -32
- package/src/migrate.ts +77 -1
- package/src/new-session-drafts.ts +229 -35
- package/src/organization-membership-backfill.ts +735 -0
- package/src/organization-membership-lifecycle.ts +985 -0
- package/src/pr-review.ts +890 -0
- package/src/preference-registry.ts +31 -1
- package/src/provision-roles.ts +877 -6
- package/src/runtime-posture-cli.ts +2 -0
- package/src/runtime-posture.ts +1291 -76
- package/src/schema.ts +3303 -428
- package/src/scoped-knowledge-schema.ts +16 -8
- package/src/scoped-knowledge.ts +1 -1
- package/src/session-background-commands.ts +759 -0
- package/src/session-control.ts +640 -74
- package/src/session-goal-pacing.ts +126 -0
- package/src/session-queue-commands.ts +437 -84
- package/src/session-realtime-context.ts +3 -3
- package/src/session-realtime-ledger.ts +22 -11
- package/src/session-realtime-mirror.ts +1 -1
- package/src/session-tenancy.ts +403 -49
- package/src/session-tool-call-settlement.ts +38 -29
- package/src/slack-routing-personal-workspace.ts +67 -0
- package/src/slack-routing.ts +469 -0
- package/src/slack-task-policy-schema.ts +5 -0
- package/src/slack-task-policy.ts +18 -0
- package/src/slack-user-link-access.ts +17 -1
- package/src/task-notes-schema.ts +74 -0
- package/src/task-notes.ts +124 -2
- package/src/turn-initiator.ts +8 -0
- package/src/user-resource-authority.ts +377 -0
- package/src/workspace-authority.ts +160 -0
- package/src/workspace-instruction-policies-schema.ts +53 -1
- package/src/workspace-instruction-policies.ts +528 -77
- package/src/workspace-learning-policy.ts +21 -5
- package/src/workspace-membership-permissions.ts +9 -0
- package/dist/chunk-4SR4HKKA.js.map +0 -1
- package/dist/chunk-6ZYKCRFO.js.map +0 -1
- package/dist/chunk-NXAFLCQX.js +0 -2468
- package/dist/chunk-NXAFLCQX.js.map +0 -1
- package/dist/chunk-SK7YYHBI.js.map +0 -1
- package/dist/chunk-WD5ROSLL.js +0 -117
- package/dist/chunk-WD5ROSLL.js.map +0 -1
- package/dist/chunk-ZWREYEWA.js.map +0 -1
- /package/dist/{chunk-LTG3S6ZY.js.map → chunk-EULAN2NP.js.map} +0 -0
- /package/dist/{chunk-CUPM3FGB.js.map → chunk-NJVZPWXY.js.map} +0 -0
package/dist/schema.js
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
agentRunStates,
|
|
3
|
+
agentUpdateStatusValues,
|
|
3
4
|
apiKeys,
|
|
4
5
|
attachedBrowserDevices,
|
|
5
6
|
attachedBrowserInventories,
|
|
6
7
|
auditEvents,
|
|
7
8
|
authRuns,
|
|
9
|
+
automationRunEventLinks,
|
|
10
|
+
automationRuns,
|
|
11
|
+
automationSources,
|
|
12
|
+
automationTriggerEvents,
|
|
13
|
+
automationTriggerRevisions,
|
|
14
|
+
automationTriggers,
|
|
15
|
+
automationWebhookEndpoints,
|
|
8
16
|
billingCustomers,
|
|
9
17
|
browserIdentities,
|
|
10
18
|
browserRevisionComponents,
|
|
@@ -34,7 +42,11 @@ import {
|
|
|
34
42
|
codexResetRedemptionAttempts,
|
|
35
43
|
codexRotationSettings,
|
|
36
44
|
codexSubscriptionCredentials,
|
|
45
|
+
companyBrainContextSelectionReceipts,
|
|
46
|
+
companyBrainTurnContextSnapshots,
|
|
37
47
|
companyProfileActivationEvents,
|
|
48
|
+
companyProfileAgentConfirmationReceipts,
|
|
49
|
+
companyProfileAgentProposalReceipts,
|
|
38
50
|
companyProfileHeads,
|
|
39
51
|
companyProfileRevisions,
|
|
40
52
|
companyProfileSnapshots,
|
|
@@ -42,6 +54,8 @@ import {
|
|
|
42
54
|
computerSessionAssociations,
|
|
43
55
|
computerSessions,
|
|
44
56
|
connectionDisconnectOperations,
|
|
57
|
+
connectionUseAuditFacts,
|
|
58
|
+
connectionUseOnceConsumptionReceipts,
|
|
45
59
|
connections,
|
|
46
60
|
connectorActionPolicies,
|
|
47
61
|
connectorActionRequests,
|
|
@@ -78,6 +92,9 @@ import {
|
|
|
78
92
|
githubInstallations,
|
|
79
93
|
googleDriveObjectAclEvidence,
|
|
80
94
|
googleDriveObjectAclPrincipals,
|
|
95
|
+
governedLearningActivationReceipts,
|
|
96
|
+
governedLearningActivationUndoReceipts,
|
|
97
|
+
governedLearningDecisionReceipts,
|
|
81
98
|
hostExportConfig,
|
|
82
99
|
hostExportConsumers,
|
|
83
100
|
hostExportCursorState,
|
|
@@ -134,12 +151,28 @@ import {
|
|
|
134
151
|
nestedAgentDepthConfiguration,
|
|
135
152
|
networkRoutes,
|
|
136
153
|
newSessionDrafts,
|
|
154
|
+
organizationInvitationBindingEvents,
|
|
155
|
+
organizationMembershipInvitations,
|
|
156
|
+
organizationMembershipLifecycleEvents,
|
|
157
|
+
organizationMembershipOperationReceipts,
|
|
137
158
|
organizationMemberships,
|
|
159
|
+
organizationPrivateSessionSettingEvents,
|
|
160
|
+
organizationPrivateSessionSettings,
|
|
161
|
+
organizationProfileEvents,
|
|
138
162
|
organizationUserResourceAuthorities,
|
|
139
163
|
organizationUserResourceGrants,
|
|
164
|
+
organizationUserRetentionDeletionEvents,
|
|
165
|
+
organizationUserRetentionDeletions,
|
|
166
|
+
organizationUserRetentionObjectDeletionReceipts,
|
|
167
|
+
organizationUserRetentionObjectObligations,
|
|
140
168
|
organizationUserRetentionPolicies,
|
|
141
169
|
packInstallationComponents,
|
|
142
170
|
packInstallations,
|
|
171
|
+
personalGitHubRepositorySelectionHeads,
|
|
172
|
+
personalGitHubRepositorySelectionOperations,
|
|
173
|
+
personalGitHubRepositorySelections,
|
|
174
|
+
prReviewAppRegistrations,
|
|
175
|
+
prReviewRepositoryBindings,
|
|
143
176
|
preferenceRegistryEvents,
|
|
144
177
|
preferenceRegistryPreferences,
|
|
145
178
|
preferenceRegistryRevisions,
|
|
@@ -161,12 +194,14 @@ import {
|
|
|
161
194
|
sandboxWorkspaceMutationActorKindValues,
|
|
162
195
|
sandboxWorkspaceMutationAdmissions,
|
|
163
196
|
sandboxWorkspaceMutationHolderKindValues,
|
|
197
|
+
sandboxWorkspaceMutationInitiatorKindValues,
|
|
164
198
|
sandboxes,
|
|
165
199
|
scheduledTaskRuns,
|
|
166
200
|
scheduledTasks,
|
|
167
201
|
sessionAttemptCodemodeCalls,
|
|
168
202
|
sessionAttemptInterruptions,
|
|
169
203
|
sessionAttemptToolCatalogs,
|
|
204
|
+
sessionBackgroundCommands,
|
|
170
205
|
sessionCommandReceipts,
|
|
171
206
|
sessionEvents,
|
|
172
207
|
sessionGoalRevisions,
|
|
@@ -188,30 +223,39 @@ import {
|
|
|
188
223
|
sessionSpawnDenials,
|
|
189
224
|
sessionSystemUpdateOutbox,
|
|
190
225
|
sessionSystemUpdates,
|
|
226
|
+
sessionTenancyActivations,
|
|
191
227
|
sessionTurnAttempts,
|
|
228
|
+
sessionTurnStartupMilestones,
|
|
192
229
|
sessionTurns,
|
|
193
230
|
sessionWorkflowWakeOutbox,
|
|
194
231
|
sessions,
|
|
195
232
|
siteAuthConnections,
|
|
233
|
+
slackAppHomeRefreshes,
|
|
196
234
|
slackBotDeleteOperations,
|
|
197
235
|
slackBotPostOperations,
|
|
198
236
|
slackBotUpdateOperations,
|
|
199
237
|
slackBotUserLinks,
|
|
238
|
+
slackChannelRoutes,
|
|
200
239
|
slackInstallationBindings,
|
|
201
240
|
slackInteractionActionHandles,
|
|
202
241
|
slackInteractionInbox,
|
|
203
242
|
slackInteractionProgressDeliveries,
|
|
204
243
|
slackInteractions,
|
|
244
|
+
slackRoutePromptOptions,
|
|
245
|
+
slackRoutePrompts,
|
|
205
246
|
slackSharedTaskOrigins,
|
|
206
247
|
slackTaskPolicyActivationEvents,
|
|
207
248
|
slackTaskPolicyHeads,
|
|
208
249
|
slackTaskPolicyRevisions,
|
|
250
|
+
slackUserDmRoutes,
|
|
209
251
|
slackUserLinkAccessRequestOperations,
|
|
210
252
|
slackUserLinkAccessRequests,
|
|
211
253
|
socialConnections,
|
|
212
254
|
socialPosts,
|
|
213
255
|
stripeWebhookEvents,
|
|
214
256
|
taskNoteEvents,
|
|
257
|
+
taskNoteKnowledgePromotionCapabilities,
|
|
258
|
+
taskNoteReplacementReceipts,
|
|
215
259
|
taskNoteWriteCapabilities,
|
|
216
260
|
taskNotes,
|
|
217
261
|
temporalScheduleCleanupOutbox,
|
|
@@ -223,6 +267,10 @@ import {
|
|
|
223
267
|
transcriptionRecordingSegments,
|
|
224
268
|
transcriptionRecordingStateValues,
|
|
225
269
|
transcriptionRecordings,
|
|
270
|
+
turnConnectionAuthoritySnapshots,
|
|
271
|
+
turnPersonalResourceAttachmentReceipts,
|
|
272
|
+
turnPersonalResourceOnceReceipts,
|
|
273
|
+
turnPersonalResourceSnapshots,
|
|
226
274
|
usageEvents,
|
|
227
275
|
videoGenerationOperations,
|
|
228
276
|
videoGenerationReferences,
|
|
@@ -233,6 +281,7 @@ import {
|
|
|
233
281
|
workspaceControlEvents,
|
|
234
282
|
workspaceInferenceControls,
|
|
235
283
|
workspaceInstructionPolicyActivationEvents,
|
|
284
|
+
workspaceInstructionPolicyDeactivationEvents,
|
|
236
285
|
workspaceInstructionPolicyHeads,
|
|
237
286
|
workspaceInstructionPolicyOnboardingProposals,
|
|
238
287
|
workspaceInstructionPolicyRevisions,
|
|
@@ -257,15 +306,23 @@ import {
|
|
|
257
306
|
xaiRotationSettings,
|
|
258
307
|
xaiSessionAccountPins,
|
|
259
308
|
xaiSubscriptionCredentials
|
|
260
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-PR2WMLOQ.js";
|
|
261
310
|
import "./chunk-PZ5AY32C.js";
|
|
262
311
|
export {
|
|
263
312
|
agentRunStates,
|
|
313
|
+
agentUpdateStatusValues,
|
|
264
314
|
apiKeys,
|
|
265
315
|
attachedBrowserDevices,
|
|
266
316
|
attachedBrowserInventories,
|
|
267
317
|
auditEvents,
|
|
268
318
|
authRuns,
|
|
319
|
+
automationRunEventLinks,
|
|
320
|
+
automationRuns,
|
|
321
|
+
automationSources,
|
|
322
|
+
automationTriggerEvents,
|
|
323
|
+
automationTriggerRevisions,
|
|
324
|
+
automationTriggers,
|
|
325
|
+
automationWebhookEndpoints,
|
|
269
326
|
billingCustomers,
|
|
270
327
|
browserIdentities,
|
|
271
328
|
browserRevisionComponents,
|
|
@@ -295,7 +352,11 @@ export {
|
|
|
295
352
|
codexResetRedemptionAttempts,
|
|
296
353
|
codexRotationSettings,
|
|
297
354
|
codexSubscriptionCredentials,
|
|
355
|
+
companyBrainContextSelectionReceipts,
|
|
356
|
+
companyBrainTurnContextSnapshots,
|
|
298
357
|
companyProfileActivationEvents,
|
|
358
|
+
companyProfileAgentConfirmationReceipts,
|
|
359
|
+
companyProfileAgentProposalReceipts,
|
|
299
360
|
companyProfileHeads,
|
|
300
361
|
companyProfileRevisions,
|
|
301
362
|
companyProfileSnapshots,
|
|
@@ -303,6 +364,8 @@ export {
|
|
|
303
364
|
computerSessionAssociations,
|
|
304
365
|
computerSessions,
|
|
305
366
|
connectionDisconnectOperations,
|
|
367
|
+
connectionUseAuditFacts,
|
|
368
|
+
connectionUseOnceConsumptionReceipts,
|
|
306
369
|
connections,
|
|
307
370
|
connectorActionPolicies,
|
|
308
371
|
connectorActionRequests,
|
|
@@ -339,6 +402,9 @@ export {
|
|
|
339
402
|
githubInstallations,
|
|
340
403
|
googleDriveObjectAclEvidence,
|
|
341
404
|
googleDriveObjectAclPrincipals,
|
|
405
|
+
governedLearningActivationReceipts,
|
|
406
|
+
governedLearningActivationUndoReceipts,
|
|
407
|
+
governedLearningDecisionReceipts,
|
|
342
408
|
hostExportConfig,
|
|
343
409
|
hostExportConsumers,
|
|
344
410
|
hostExportCursorState,
|
|
@@ -395,12 +461,28 @@ export {
|
|
|
395
461
|
nestedAgentDepthConfiguration,
|
|
396
462
|
networkRoutes,
|
|
397
463
|
newSessionDrafts,
|
|
464
|
+
organizationInvitationBindingEvents,
|
|
465
|
+
organizationMembershipInvitations,
|
|
466
|
+
organizationMembershipLifecycleEvents,
|
|
467
|
+
organizationMembershipOperationReceipts,
|
|
398
468
|
organizationMemberships,
|
|
469
|
+
organizationPrivateSessionSettingEvents,
|
|
470
|
+
organizationPrivateSessionSettings,
|
|
471
|
+
organizationProfileEvents,
|
|
399
472
|
organizationUserResourceAuthorities,
|
|
400
473
|
organizationUserResourceGrants,
|
|
474
|
+
organizationUserRetentionDeletionEvents,
|
|
475
|
+
organizationUserRetentionDeletions,
|
|
476
|
+
organizationUserRetentionObjectDeletionReceipts,
|
|
477
|
+
organizationUserRetentionObjectObligations,
|
|
401
478
|
organizationUserRetentionPolicies,
|
|
402
479
|
packInstallationComponents,
|
|
403
480
|
packInstallations,
|
|
481
|
+
personalGitHubRepositorySelectionHeads,
|
|
482
|
+
personalGitHubRepositorySelectionOperations,
|
|
483
|
+
personalGitHubRepositorySelections,
|
|
484
|
+
prReviewAppRegistrations,
|
|
485
|
+
prReviewRepositoryBindings,
|
|
404
486
|
preferenceRegistryEvents,
|
|
405
487
|
preferenceRegistryPreferences,
|
|
406
488
|
preferenceRegistryRevisions,
|
|
@@ -422,12 +504,14 @@ export {
|
|
|
422
504
|
sandboxWorkspaceMutationActorKindValues,
|
|
423
505
|
sandboxWorkspaceMutationAdmissions,
|
|
424
506
|
sandboxWorkspaceMutationHolderKindValues,
|
|
507
|
+
sandboxWorkspaceMutationInitiatorKindValues,
|
|
425
508
|
sandboxes,
|
|
426
509
|
scheduledTaskRuns,
|
|
427
510
|
scheduledTasks,
|
|
428
511
|
sessionAttemptCodemodeCalls,
|
|
429
512
|
sessionAttemptInterruptions,
|
|
430
513
|
sessionAttemptToolCatalogs,
|
|
514
|
+
sessionBackgroundCommands,
|
|
431
515
|
sessionCommandReceipts,
|
|
432
516
|
sessionEvents,
|
|
433
517
|
sessionGoalRevisions,
|
|
@@ -449,30 +533,39 @@ export {
|
|
|
449
533
|
sessionSpawnDenials,
|
|
450
534
|
sessionSystemUpdateOutbox,
|
|
451
535
|
sessionSystemUpdates,
|
|
536
|
+
sessionTenancyActivations,
|
|
452
537
|
sessionTurnAttempts,
|
|
538
|
+
sessionTurnStartupMilestones,
|
|
453
539
|
sessionTurns,
|
|
454
540
|
sessionWorkflowWakeOutbox,
|
|
455
541
|
sessions,
|
|
456
542
|
siteAuthConnections,
|
|
543
|
+
slackAppHomeRefreshes,
|
|
457
544
|
slackBotDeleteOperations,
|
|
458
545
|
slackBotPostOperations,
|
|
459
546
|
slackBotUpdateOperations,
|
|
460
547
|
slackBotUserLinks,
|
|
548
|
+
slackChannelRoutes,
|
|
461
549
|
slackInstallationBindings,
|
|
462
550
|
slackInteractionActionHandles,
|
|
463
551
|
slackInteractionInbox,
|
|
464
552
|
slackInteractionProgressDeliveries,
|
|
465
553
|
slackInteractions,
|
|
554
|
+
slackRoutePromptOptions,
|
|
555
|
+
slackRoutePrompts,
|
|
466
556
|
slackSharedTaskOrigins,
|
|
467
557
|
slackTaskPolicyActivationEvents,
|
|
468
558
|
slackTaskPolicyHeads,
|
|
469
559
|
slackTaskPolicyRevisions,
|
|
560
|
+
slackUserDmRoutes,
|
|
470
561
|
slackUserLinkAccessRequestOperations,
|
|
471
562
|
slackUserLinkAccessRequests,
|
|
472
563
|
socialConnections,
|
|
473
564
|
socialPosts,
|
|
474
565
|
stripeWebhookEvents,
|
|
475
566
|
taskNoteEvents,
|
|
567
|
+
taskNoteKnowledgePromotionCapabilities,
|
|
568
|
+
taskNoteReplacementReceipts,
|
|
476
569
|
taskNoteWriteCapabilities,
|
|
477
570
|
taskNotes,
|
|
478
571
|
temporalScheduleCleanupOutbox,
|
|
@@ -484,6 +577,10 @@ export {
|
|
|
484
577
|
transcriptionRecordingSegments,
|
|
485
578
|
transcriptionRecordingStateValues,
|
|
486
579
|
transcriptionRecordings,
|
|
580
|
+
turnConnectionAuthoritySnapshots,
|
|
581
|
+
turnPersonalResourceAttachmentReceipts,
|
|
582
|
+
turnPersonalResourceOnceReceipts,
|
|
583
|
+
turnPersonalResourceSnapshots,
|
|
487
584
|
usageEvents,
|
|
488
585
|
videoGenerationOperations,
|
|
489
586
|
videoGenerationReferences,
|
|
@@ -494,6 +591,7 @@ export {
|
|
|
494
591
|
workspaceControlEvents,
|
|
495
592
|
workspaceInferenceControls,
|
|
496
593
|
workspaceInstructionPolicyActivationEvents,
|
|
594
|
+
workspaceInstructionPolicyDeactivationEvents,
|
|
497
595
|
workspaceInstructionPolicyHeads,
|
|
498
596
|
workspaceInstructionPolicyOnboardingProposals,
|
|
499
597
|
workspaceInstructionPolicyRevisions,
|
|
@@ -4547,7 +4547,58 @@ export declare const knowledgeClaimEvidence: import("drizzle-orm/pg-core").PgTab
|
|
|
4547
4547
|
columnType: "PgUUID";
|
|
4548
4548
|
data: string;
|
|
4549
4549
|
driverParam: string;
|
|
4550
|
-
notNull:
|
|
4550
|
+
notNull: false;
|
|
4551
|
+
hasDefault: false;
|
|
4552
|
+
isPrimaryKey: false;
|
|
4553
|
+
isAutoincrement: false;
|
|
4554
|
+
hasRuntimeDefault: false;
|
|
4555
|
+
enumValues: undefined;
|
|
4556
|
+
baseColumn: never;
|
|
4557
|
+
identity: undefined;
|
|
4558
|
+
generated: undefined;
|
|
4559
|
+
}, {}, {}>;
|
|
4560
|
+
taskNoteId: import("drizzle-orm/pg-core").PgColumn<{
|
|
4561
|
+
name: "task_note_id";
|
|
4562
|
+
tableName: "knowledge_claim_evidence";
|
|
4563
|
+
dataType: "string";
|
|
4564
|
+
columnType: "PgUUID";
|
|
4565
|
+
data: string;
|
|
4566
|
+
driverParam: string;
|
|
4567
|
+
notNull: false;
|
|
4568
|
+
hasDefault: false;
|
|
4569
|
+
isPrimaryKey: false;
|
|
4570
|
+
isAutoincrement: false;
|
|
4571
|
+
hasRuntimeDefault: false;
|
|
4572
|
+
enumValues: undefined;
|
|
4573
|
+
baseColumn: never;
|
|
4574
|
+
identity: undefined;
|
|
4575
|
+
generated: undefined;
|
|
4576
|
+
}, {}, {}>;
|
|
4577
|
+
taskNoteRootSessionId: import("drizzle-orm/pg-core").PgColumn<{
|
|
4578
|
+
name: "task_note_root_session_id";
|
|
4579
|
+
tableName: "knowledge_claim_evidence";
|
|
4580
|
+
dataType: "string";
|
|
4581
|
+
columnType: "PgUUID";
|
|
4582
|
+
data: string;
|
|
4583
|
+
driverParam: string;
|
|
4584
|
+
notNull: false;
|
|
4585
|
+
hasDefault: false;
|
|
4586
|
+
isPrimaryKey: false;
|
|
4587
|
+
isAutoincrement: false;
|
|
4588
|
+
hasRuntimeDefault: false;
|
|
4589
|
+
enumValues: undefined;
|
|
4590
|
+
baseColumn: never;
|
|
4591
|
+
identity: undefined;
|
|
4592
|
+
generated: undefined;
|
|
4593
|
+
}, {}, {}>;
|
|
4594
|
+
taskNoteVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
4595
|
+
name: "task_note_version";
|
|
4596
|
+
tableName: "knowledge_claim_evidence";
|
|
4597
|
+
dataType: "number";
|
|
4598
|
+
columnType: "PgInteger";
|
|
4599
|
+
data: number;
|
|
4600
|
+
driverParam: string | number;
|
|
4601
|
+
notNull: false;
|
|
4551
4602
|
hasDefault: false;
|
|
4552
4603
|
isPrimaryKey: false;
|
|
4553
4604
|
isAutoincrement: false;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import type { SessionBackgroundCommand, SessionBackgroundCommandActivity } from "@opengeni/contracts";
|
|
2
|
+
import type { Database } from "./database.js";
|
|
3
|
+
export type ConnectedMachineBackgroundCommandProof = {
|
|
4
|
+
outcome: "exited" | "lost";
|
|
5
|
+
exitCode: number | null;
|
|
6
|
+
reason: string;
|
|
7
|
+
observedAt: Date;
|
|
8
|
+
};
|
|
9
|
+
export type ConnectedMachineBackgroundCommandClaim = {
|
|
10
|
+
commandId: string;
|
|
11
|
+
accountId: string;
|
|
12
|
+
workspaceId: string;
|
|
13
|
+
sessionId: string;
|
|
14
|
+
claimId: string;
|
|
15
|
+
state: "running" | "stopping";
|
|
16
|
+
controlWorkspaceId: string;
|
|
17
|
+
enrollmentId: string;
|
|
18
|
+
connectionInstanceId: string;
|
|
19
|
+
opId: string;
|
|
20
|
+
reconcileAttempts: number;
|
|
21
|
+
proof: ConnectedMachineBackgroundCommandProof | null;
|
|
22
|
+
};
|
|
23
|
+
export declare function backgroundCommandActivityForSessions(db: Database, input: {
|
|
24
|
+
accountId: string;
|
|
25
|
+
workspaceId: string;
|
|
26
|
+
sessionIds: string[];
|
|
27
|
+
}): Promise<Map<string, SessionBackgroundCommandActivity>>;
|
|
28
|
+
export declare function listSessionBackgroundCommands(db: Database, input: {
|
|
29
|
+
accountId: string;
|
|
30
|
+
workspaceId: string;
|
|
31
|
+
sessionId: string;
|
|
32
|
+
}): Promise<SessionBackgroundCommand[]>;
|
|
33
|
+
/** @internal Caller must already hold the canonical session/control fence. */
|
|
34
|
+
export declare function insertManagedSessionBackgroundCommandInTransaction(db: Database, input: {
|
|
35
|
+
accountId: string;
|
|
36
|
+
workspaceId: string;
|
|
37
|
+
sessionId: string;
|
|
38
|
+
commandId: string;
|
|
39
|
+
retainedProcessId: string;
|
|
40
|
+
command: string;
|
|
41
|
+
}): Promise<SessionBackgroundCommand>;
|
|
42
|
+
/** @internal Caller must already hold the canonical exact-attempt fence. */
|
|
43
|
+
export declare function insertConnectedMachineSessionBackgroundCommandInTransaction(db: Database, input: {
|
|
44
|
+
accountId: string;
|
|
45
|
+
workspaceId: string;
|
|
46
|
+
sessionId: string;
|
|
47
|
+
commandId: string;
|
|
48
|
+
controlWorkspaceId: string;
|
|
49
|
+
enrollmentId: string;
|
|
50
|
+
connectionInstanceId: string;
|
|
51
|
+
opId: string;
|
|
52
|
+
command: string;
|
|
53
|
+
}): Promise<SessionBackgroundCommand>;
|
|
54
|
+
/** Claim exact Connected Machine locators globally for provider reconciliation.
|
|
55
|
+
* The SECURITY DEFINER SQL function owns the bounded SKIP LOCKED inventory;
|
|
56
|
+
* claim expiry is coordination recovery only and never implies command loss. */
|
|
57
|
+
export declare function claimConnectedMachineSessionBackgroundCommands(db: Database, input: {
|
|
58
|
+
claimId: string;
|
|
59
|
+
limit: number;
|
|
60
|
+
claimTtlMs: number;
|
|
61
|
+
}): Promise<ConnectedMachineBackgroundCommandClaim[]>;
|
|
62
|
+
/** Checkpoint one exact terminal provider observation before lifecycle settlement.
|
|
63
|
+
* A retry may reuse an identical proof; a divergent proof is a hard identity fault. */
|
|
64
|
+
export declare function recordConnectedMachineBackgroundCommandProof(db: Database, input: {
|
|
65
|
+
claim: ConnectedMachineBackgroundCommandClaim;
|
|
66
|
+
proof: ConnectedMachineBackgroundCommandProof;
|
|
67
|
+
}): Promise<void>;
|
|
68
|
+
export declare function deferConnectedMachineBackgroundCommandReconciliation(db: Database, input: {
|
|
69
|
+
claim: ConnectedMachineBackgroundCommandClaim;
|
|
70
|
+
outcome: string;
|
|
71
|
+
retryAfterMs: number;
|
|
72
|
+
}): Promise<boolean>;
|
|
73
|
+
/** Settle only from the proof already checkpointed under this exact claim. */
|
|
74
|
+
export declare function settleClaimedConnectedMachineBackgroundCommand(db: Database, input: {
|
|
75
|
+
claim: ConnectedMachineBackgroundCommandClaim;
|
|
76
|
+
}): Promise<boolean>;
|
|
77
|
+
export declare function requestSessionBackgroundCommandCancellation(db: Database, input: {
|
|
78
|
+
accountId: string;
|
|
79
|
+
workspaceId: string;
|
|
80
|
+
sessionId: string;
|
|
81
|
+
commandId: string;
|
|
82
|
+
subjectId: string;
|
|
83
|
+
}): Promise<{
|
|
84
|
+
command: SessionBackgroundCommand | null;
|
|
85
|
+
accepted: boolean;
|
|
86
|
+
}>;
|
|
87
|
+
/**
|
|
88
|
+
* Transfer every active command in one or more session subtrees to the
|
|
89
|
+
* provider-neutral stopping state inside the caller's existing control
|
|
90
|
+
* transaction. The workspace-control mutation already excludes concurrent
|
|
91
|
+
* session-tree changes, so the recursive walk and state transition are one
|
|
92
|
+
* atomic Pause/Cancel effect. Steer deliberately never calls this seam.
|
|
93
|
+
*/
|
|
94
|
+
export declare function requestSessionBackgroundCommandCancellationsInTransaction(db: Database, input: {
|
|
95
|
+
workspaceId: string;
|
|
96
|
+
rootSessionIds: string[];
|
|
97
|
+
subjectId: string;
|
|
98
|
+
}): Promise<number>;
|
|
99
|
+
/** Workspace Pause owns every active command in that workspace. */
|
|
100
|
+
export declare function requestWorkspaceBackgroundCommandCancellationsInTransaction(db: Database, input: {
|
|
101
|
+
workspaceId: string;
|
|
102
|
+
subjectId: string;
|
|
103
|
+
}): Promise<number>;
|
|
104
|
+
export declare function settleSessionBackgroundCommandForRetainedProcess(db: Database, input: {
|
|
105
|
+
accountId: string;
|
|
106
|
+
workspaceId: string;
|
|
107
|
+
sessionId: string;
|
|
108
|
+
retainedProcessId: string;
|
|
109
|
+
outcome: "exited" | "lost";
|
|
110
|
+
exitCode: number | null;
|
|
111
|
+
reason: string;
|
|
112
|
+
}): Promise<SessionBackgroundCommand | null>;
|
|
113
|
+
export declare function settleConnectedMachineSessionBackgroundCommand(db: Database, input: {
|
|
114
|
+
accountId: string;
|
|
115
|
+
workspaceId: string;
|
|
116
|
+
sessionId: string;
|
|
117
|
+
commandId: string;
|
|
118
|
+
controlWorkspaceId: string;
|
|
119
|
+
enrollmentId: string;
|
|
120
|
+
connectionInstanceId: string;
|
|
121
|
+
opId: string;
|
|
122
|
+
outcome: "exited" | "lost";
|
|
123
|
+
exitCode: number | null;
|
|
124
|
+
reason: string;
|
|
125
|
+
}): Promise<SessionBackgroundCommand | null>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
backgroundCommandActivityForSessions,
|
|
3
|
+
claimConnectedMachineSessionBackgroundCommands,
|
|
4
|
+
deferConnectedMachineBackgroundCommandReconciliation,
|
|
5
|
+
insertConnectedMachineSessionBackgroundCommandInTransaction,
|
|
6
|
+
insertManagedSessionBackgroundCommandInTransaction,
|
|
7
|
+
listSessionBackgroundCommands,
|
|
8
|
+
recordConnectedMachineBackgroundCommandProof,
|
|
9
|
+
requestSessionBackgroundCommandCancellation,
|
|
10
|
+
requestSessionBackgroundCommandCancellationsInTransaction,
|
|
11
|
+
requestWorkspaceBackgroundCommandCancellationsInTransaction,
|
|
12
|
+
settleClaimedConnectedMachineBackgroundCommand,
|
|
13
|
+
settleConnectedMachineSessionBackgroundCommand,
|
|
14
|
+
settleSessionBackgroundCommandForRetainedProcess
|
|
15
|
+
} from "./chunk-ZZ5LJEFX.js";
|
|
16
|
+
import "./chunk-SCPUJS53.js";
|
|
17
|
+
import "./chunk-PR2WMLOQ.js";
|
|
18
|
+
import "./chunk-PZ5AY32C.js";
|
|
19
|
+
export {
|
|
20
|
+
backgroundCommandActivityForSessions,
|
|
21
|
+
claimConnectedMachineSessionBackgroundCommands,
|
|
22
|
+
deferConnectedMachineBackgroundCommandReconciliation,
|
|
23
|
+
insertConnectedMachineSessionBackgroundCommandInTransaction,
|
|
24
|
+
insertManagedSessionBackgroundCommandInTransaction,
|
|
25
|
+
listSessionBackgroundCommands,
|
|
26
|
+
recordConnectedMachineBackgroundCommandProof,
|
|
27
|
+
requestSessionBackgroundCommandCancellation,
|
|
28
|
+
requestSessionBackgroundCommandCancellationsInTransaction,
|
|
29
|
+
requestWorkspaceBackgroundCommandCancellationsInTransaction,
|
|
30
|
+
settleClaimedConnectedMachineBackgroundCommand,
|
|
31
|
+
settleConnectedMachineSessionBackgroundCommand,
|
|
32
|
+
settleSessionBackgroundCommandForRetainedProcess
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=session-background-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|