@opengeni/db 0.27.9 → 0.28.1
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/{chunk-2JFRTKTG.js → chunk-DBS5HPEW.js} +11 -1
- package/dist/chunk-DBS5HPEW.js.map +1 -0
- package/dist/{chunk-NX2JNJJP.js → chunk-HT5T62CC.js} +2538 -2283
- package/dist/chunk-HT5T62CC.js.map +1 -0
- package/dist/index.d.ts +69 -36
- package/dist/index.js +4146 -2924
- package/dist/index.js.map +1 -1
- package/dist/provision-roles.js +1 -1
- package/dist/runtime-posture.d.ts +2 -2
- package/dist/schema.d.ts +129 -96
- package/dist/schema.js +19 -1
- package/dist/transcription-recordings-schema.d.ts +1226 -0
- package/dist/transcription-recordings.d.ts +228 -0
- package/drizzle/0170_resumable_transcription_recordings.sql +440 -0
- package/drizzle/0172_retire_model_visible_github_token.sql +86 -0
- package/drizzle/0173_codex_auth_boundaries.sql +107 -0
- package/drizzle/0174_session_wake_live_interruption.sql +80 -0
- package/drizzle/0175_resumable_transcription_provider_deadline.sql +24 -0
- package/package.json +4 -4
- package/src/index.ts +585 -245
- package/src/runtime-posture.ts +10 -0
- package/src/schema.ts +63 -51
- package/src/transcription-recordings-schema.ts +250 -0
- package/src/transcription-recordings.ts +1508 -0
- package/dist/chunk-2JFRTKTG.js.map +0 -1
- package/dist/chunk-NX2JNJJP.js.map +0 -1
package/dist/provision-roles.js
CHANGED
|
@@ -4,7 +4,7 @@ import type { Database, RlsStrategy } from "./database";
|
|
|
4
4
|
* FORCE-RLS table is an architectural change: update this list in the same
|
|
5
5
|
* commit as the migration so startup cannot silently accept an unreviewed gap.
|
|
6
6
|
*/
|
|
7
|
-
export declare const FORCE_RLS_TABLES: readonly ["agent_run_states", "api_keys", "audit_events", "billing_customers", "capability_catalog_items", "capability_installations", "codex_capacity_waiters", "codex_credential_leases", "codex_reset_redemption_attempts", "codex_rotation_settings", "codex_subscription_credentials", "composer_drafts", "connection_disconnect_operations", "connections", "connector_action_policies", "connector_action_requests", "credit_ledger_entries", "device_enrollment_requests", "document_bases", "document_chunks", "documents", "enrollments", "file_uploads", "files", "github_installation_repositories", "github_installations", "host_export_config", "host_export_consumers", "host_export_cursor_state", "host_export_dead_letters", "host_export_outbox", "import_batches", "integration_oauth_state_nonces", "knowledge_change_proposals", "knowledge_claim_evidence", "knowledge_claim_relations", "knowledge_claim_reviews", "knowledge_claims", "knowledge_document_versions", "knowledge_entities", "knowledge_entity_aliases", "knowledge_facts", "knowledge_lifecycle_events", "knowledge_memories", "knowledge_memory_lifecycle_events", "knowledge_memory_relationships", "knowledge_operation_receipts", "knowledge_providers", "knowledge_source_acl_versions", "knowledge_source_objects", "knowledge_sources", "knowledge_sync_runs", "machine_metrics_latest", "machine_metrics_series", "model_call_facts", "new_session_drafts", "pack_installations", "preference_registry_events", "preference_registry_preferences", "preference_registry_revisions", "preference_registry_snapshots", "rig_changes", "rig_versions", "rigs", "sandbox_checkpoint_artifacts", "sandbox_lease_holders", "sandbox_leases", "sandbox_pty_sessions", "sandbox_retained_processes", "sandbox_session_envelopes", "sandbox_workspace_mutation_admissions", "sandboxes", "scheduled_task_runs", "scheduled_tasks", "session_attempt_interruptions", "session_command_receipts", "session_events", "session_goals", "session_history_items", "session_human_input_requests", "session_list_snapshots", "session_mcp_servers", "session_pending_tool_calls", "session_pins", "session_realtime_connections", "session_realtime_context_projections", "session_realtime_entries", "session_realtime_modes", "session_recordings", "session_spawn_denials", "session_stream_acknowledgments", "session_system_update_outbox", "session_system_updates", "session_turn_attempts", "session_turns", "session_workflow_wake_outbox", "sessions", "slack_bot_delete_operations", "slack_bot_post_operations", "slack_bot_user_links", "slack_interaction_inbox", "slack_interaction_progress_deliveries", "slack_interactions", "social_connections", "social_posts", "usage_events", "workspace_artifact_events", "workspace_artifact_versions", "workspace_artifacts", "workspace_captures", "workspace_control_events", "workspace_inference_controls", "workspace_instruction_policy_activation_events", "workspace_instruction_policy_heads", "workspace_instruction_policy_onboarding_proposals", "workspace_instruction_policy_revisions", "workspace_instruction_policy_snapshots", "workspace_model_policies", "workspace_packs", "workspace_session_activity_revisions", "workspace_variable_set_variables", "workspace_variable_sets"];
|
|
7
|
+
export declare const FORCE_RLS_TABLES: readonly ["agent_run_states", "api_keys", "audit_events", "billing_customers", "capability_catalog_items", "capability_installations", "codex_apps_settings", "codex_capacity_waiters", "codex_credential_leases", "codex_reset_redemption_attempts", "codex_rotation_settings", "codex_subscription_credentials", "composer_drafts", "connection_disconnect_operations", "connections", "connector_action_policies", "connector_action_requests", "credit_ledger_entries", "device_enrollment_requests", "document_bases", "document_chunks", "documents", "enrollments", "file_uploads", "files", "github_installation_repositories", "github_installations", "host_export_config", "host_export_consumers", "host_export_cursor_state", "host_export_dead_letters", "host_export_outbox", "import_batches", "integration_oauth_state_nonces", "knowledge_change_proposals", "knowledge_claim_evidence", "knowledge_claim_relations", "knowledge_claim_reviews", "knowledge_claims", "knowledge_document_versions", "knowledge_entities", "knowledge_entity_aliases", "knowledge_facts", "knowledge_lifecycle_events", "knowledge_memories", "knowledge_memory_lifecycle_events", "knowledge_memory_relationships", "knowledge_operation_receipts", "knowledge_providers", "knowledge_source_acl_versions", "knowledge_source_objects", "knowledge_sources", "knowledge_sync_runs", "machine_metrics_latest", "machine_metrics_series", "model_call_facts", "new_session_drafts", "pack_installations", "preference_registry_events", "preference_registry_preferences", "preference_registry_revisions", "preference_registry_snapshots", "rig_changes", "rig_versions", "rigs", "sandbox_checkpoint_artifacts", "sandbox_lease_holders", "sandbox_leases", "sandbox_pty_sessions", "sandbox_retained_processes", "sandbox_session_envelopes", "sandbox_workspace_mutation_admissions", "sandboxes", "scheduled_task_runs", "scheduled_tasks", "session_attempt_interruptions", "session_command_receipts", "session_events", "session_goals", "session_history_items", "session_human_input_requests", "session_list_snapshots", "session_mcp_servers", "session_pending_tool_calls", "session_pins", "session_realtime_connections", "session_realtime_context_projections", "session_realtime_entries", "session_realtime_modes", "session_recordings", "session_spawn_denials", "session_stream_acknowledgments", "session_system_update_outbox", "session_system_updates", "session_turn_attempts", "session_turns", "session_workflow_wake_outbox", "sessions", "slack_bot_delete_operations", "slack_bot_post_operations", "slack_bot_user_links", "slack_interaction_inbox", "slack_interaction_progress_deliveries", "slack_interactions", "social_connections", "social_posts", "transcription_recording_chunks", "transcription_recording_objects", "transcription_recording_segments", "transcription_recordings", "usage_events", "workspace_artifact_events", "workspace_artifact_versions", "workspace_artifacts", "workspace_captures", "workspace_control_events", "workspace_inference_controls", "workspace_instruction_policy_activation_events", "workspace_instruction_policy_heads", "workspace_instruction_policy_onboarding_proposals", "workspace_instruction_policy_revisions", "workspace_instruction_policy_snapshots", "workspace_model_policies", "workspace_packs", "workspace_session_activity_revisions", "workspace_variable_set_variables", "workspace_variable_sets"];
|
|
8
8
|
/**
|
|
9
9
|
* Deployment-global and authentication tables used by ordinary API/worker
|
|
10
10
|
* traffic. They intentionally do not carry workspace RLS: their access model
|
|
@@ -16,7 +16,7 @@ export declare const NON_RLS_RUNTIME_TABLES: readonly ["auth_identities", "auth_
|
|
|
16
16
|
* explicit instead of being derived from FORCE_RLS_TABLES: adding a protected
|
|
17
17
|
* table must not silently grant it broader DML than its migration intended.
|
|
18
18
|
*/
|
|
19
|
-
export declare const RUNTIME_FULL_DML_TABLES: readonly ["agent_run_states", "api_keys", "audit_events", "auth_identities", "auth_rate_limits", "auth_sessions", "auth_users", "auth_verifications", "billing_customers", "capability_catalog_items", "capability_installations", "codex_capacity_waiters", "codex_credential_leases", "codex_reset_redemption_attempts", "codex_rotation_settings", "codex_subscription_credentials", "composer_drafts", "connection_disconnect_operations", "connections", "connector_action_policies", "connector_action_requests", "credit_ledger_entries", "device_enrollment_requests", "document_bases", "document_chunks", "documents", "enrollments", "file_uploads", "files", "github_installation_repositories", "github_installations", "import_batches", "integration_oauth_clients", "integration_oauth_state_nonces", "knowledge_memories", "machine_metrics_latest", "machine_metrics_series", "managed_accounts", "model_call_facts", "new_session_drafts", "pack_installations", "rig_changes", "rig_versions", "rigs", "sandbox_checkpoint_artifacts", "sandbox_lease_holders", "sandbox_leases", "sandbox_pty_sessions", "sandbox_retained_processes", "sandbox_session_envelopes", "sandbox_workspace_mutation_admissions", "sandboxes", "scheduled_task_runs", "scheduled_tasks", "session_attempt_interruptions", "session_command_receipts", "session_events", "session_goals", "session_history_items", "session_human_input_requests", "session_list_snapshots", "session_mcp_servers", "session_pending_tool_calls", "session_pins", "session_realtime_connections", "session_realtime_context_projections", "session_realtime_entries", "session_realtime_modes", "session_recordings", "session_stream_acknowledgments", "session_system_update_outbox", "session_system_updates", "session_turn_attempts", "session_turns", "session_workflow_wake_outbox", "sessions", "slack_bot_delete_operations", "slack_bot_post_operations", "slack_bot_user_links", "slack_interaction_inbox", "slack_interaction_progress_deliveries", "slack_interactions", "social_connections", "social_posts", "stripe_webhook_events", "usage_events", "workspace_artifacts", "workspace_captures", "workspace_control_events", "workspace_inference_controls", "workspace_instruction_policy_heads", "workspace_memberships", "workspace_model_policies", "workspace_packs", "workspace_session_activity_revisions", "workspace_variable_set_variables", "workspace_variable_sets", "workspaces"];
|
|
19
|
+
export declare const RUNTIME_FULL_DML_TABLES: readonly ["agent_run_states", "api_keys", "audit_events", "auth_identities", "auth_rate_limits", "auth_sessions", "auth_users", "auth_verifications", "billing_customers", "capability_catalog_items", "capability_installations", "codex_apps_settings", "codex_capacity_waiters", "codex_credential_leases", "codex_reset_redemption_attempts", "codex_rotation_settings", "codex_subscription_credentials", "composer_drafts", "connection_disconnect_operations", "connections", "connector_action_policies", "connector_action_requests", "credit_ledger_entries", "device_enrollment_requests", "document_bases", "document_chunks", "documents", "enrollments", "file_uploads", "files", "github_installation_repositories", "github_installations", "import_batches", "integration_oauth_clients", "integration_oauth_state_nonces", "knowledge_memories", "machine_metrics_latest", "machine_metrics_series", "managed_accounts", "model_call_facts", "new_session_drafts", "pack_installations", "rig_changes", "rig_versions", "rigs", "sandbox_checkpoint_artifacts", "sandbox_lease_holders", "sandbox_leases", "sandbox_pty_sessions", "sandbox_retained_processes", "sandbox_session_envelopes", "sandbox_workspace_mutation_admissions", "sandboxes", "scheduled_task_runs", "scheduled_tasks", "session_attempt_interruptions", "session_command_receipts", "session_events", "session_goals", "session_history_items", "session_human_input_requests", "session_list_snapshots", "session_mcp_servers", "session_pending_tool_calls", "session_pins", "session_realtime_connections", "session_realtime_context_projections", "session_realtime_entries", "session_realtime_modes", "session_recordings", "session_stream_acknowledgments", "session_system_update_outbox", "session_system_updates", "session_turn_attempts", "session_turns", "session_workflow_wake_outbox", "sessions", "slack_bot_delete_operations", "slack_bot_post_operations", "slack_bot_user_links", "slack_interaction_inbox", "slack_interaction_progress_deliveries", "slack_interactions", "social_connections", "social_posts", "stripe_webhook_events", "transcription_recording_chunks", "transcription_recording_objects", "transcription_recording_segments", "transcription_recordings", "usage_events", "workspace_artifacts", "workspace_captures", "workspace_control_events", "workspace_inference_controls", "workspace_instruction_policy_heads", "workspace_memberships", "workspace_model_policies", "workspace_packs", "workspace_session_activity_revisions", "workspace_variable_set_variables", "workspace_variable_sets", "workspaces"];
|
|
20
20
|
/** Configuration and lifecycle-owned audit rows are read-only at runtime. */
|
|
21
21
|
export declare const RUNTIME_READ_ONLY_TABLES: readonly ["knowledge_lifecycle_events", "knowledge_memory_lifecycle_events", "knowledge_memory_relationships", "nested_agent_depth_configuration", "preference_registry_events", "preference_registry_snapshots", "workspace_instruction_policy_snapshots"];
|
|
22
22
|
/** Append-only evidence/revision tables are insertable and queryable, never mutable. */
|
package/dist/schema.d.ts
CHANGED
|
@@ -2422,66 +2422,6 @@ export declare const codexSubscriptionCredentials: import("drizzle-orm/pg-core")
|
|
|
2422
2422
|
identity: undefined;
|
|
2423
2423
|
generated: undefined;
|
|
2424
2424
|
}, {}, {}>;
|
|
2425
|
-
connectorNamespaces: import("drizzle-orm/pg-core").PgColumn<{
|
|
2426
|
-
name: "connector_namespaces";
|
|
2427
|
-
tableName: "codex_subscription_credentials";
|
|
2428
|
-
dataType: "array";
|
|
2429
|
-
columnType: "PgArray";
|
|
2430
|
-
data: string[];
|
|
2431
|
-
driverParam: string | string[];
|
|
2432
|
-
notNull: false;
|
|
2433
|
-
hasDefault: false;
|
|
2434
|
-
isPrimaryKey: false;
|
|
2435
|
-
isAutoincrement: false;
|
|
2436
|
-
hasRuntimeDefault: false;
|
|
2437
|
-
enumValues: [string, ...string[]];
|
|
2438
|
-
baseColumn: import("drizzle-orm").Column<{
|
|
2439
|
-
name: "connector_namespaces";
|
|
2440
|
-
tableName: "codex_subscription_credentials";
|
|
2441
|
-
dataType: "string";
|
|
2442
|
-
columnType: "PgText";
|
|
2443
|
-
data: string;
|
|
2444
|
-
driverParam: string;
|
|
2445
|
-
notNull: false;
|
|
2446
|
-
hasDefault: false;
|
|
2447
|
-
isPrimaryKey: false;
|
|
2448
|
-
isAutoincrement: false;
|
|
2449
|
-
hasRuntimeDefault: false;
|
|
2450
|
-
enumValues: [string, ...string[]];
|
|
2451
|
-
baseColumn: never;
|
|
2452
|
-
identity: undefined;
|
|
2453
|
-
generated: undefined;
|
|
2454
|
-
}, {}, {}>;
|
|
2455
|
-
identity: undefined;
|
|
2456
|
-
generated: undefined;
|
|
2457
|
-
}, {}, {
|
|
2458
|
-
baseBuilder: import("drizzle-orm/pg-core").PgColumnBuilder<{
|
|
2459
|
-
name: "connector_namespaces";
|
|
2460
|
-
dataType: 'string';
|
|
2461
|
-
columnType: 'PgText';
|
|
2462
|
-
data: string;
|
|
2463
|
-
enumValues: [string, ...string[]];
|
|
2464
|
-
driverParam: string;
|
|
2465
|
-
}, {}, {}, import("drizzle-orm").ColumnBuilderExtraConfig>;
|
|
2466
|
-
size: undefined;
|
|
2467
|
-
}>;
|
|
2468
|
-
connectorsCheckedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
2469
|
-
name: "connectors_checked_at";
|
|
2470
|
-
tableName: "codex_subscription_credentials";
|
|
2471
|
-
dataType: "date";
|
|
2472
|
-
columnType: "PgTimestamp";
|
|
2473
|
-
data: Date;
|
|
2474
|
-
driverParam: string;
|
|
2475
|
-
notNull: false;
|
|
2476
|
-
hasDefault: false;
|
|
2477
|
-
isPrimaryKey: false;
|
|
2478
|
-
isAutoincrement: false;
|
|
2479
|
-
hasRuntimeDefault: false;
|
|
2480
|
-
enumValues: undefined;
|
|
2481
|
-
baseColumn: never;
|
|
2482
|
-
identity: undefined;
|
|
2483
|
-
generated: undefined;
|
|
2484
|
-
}, {}, {}>;
|
|
2485
2425
|
allocatorEnabled: import("drizzle-orm/pg-core").PgColumn<{
|
|
2486
2426
|
name: "allocator_enabled";
|
|
2487
2427
|
tableName: "codex_subscription_credentials";
|
|
@@ -2672,6 +2612,132 @@ export declare const codexSubscriptionCredentials: import("drizzle-orm/pg-core")
|
|
|
2672
2612
|
};
|
|
2673
2613
|
dialect: 'pg';
|
|
2674
2614
|
}>;
|
|
2615
|
+
export declare const codexAppsSettings: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
2616
|
+
name: "codex_apps_settings";
|
|
2617
|
+
schema: undefined;
|
|
2618
|
+
columns: {
|
|
2619
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
2620
|
+
name: "id";
|
|
2621
|
+
tableName: "codex_apps_settings";
|
|
2622
|
+
dataType: "string";
|
|
2623
|
+
columnType: "PgUUID";
|
|
2624
|
+
data: string;
|
|
2625
|
+
driverParam: string;
|
|
2626
|
+
notNull: true;
|
|
2627
|
+
hasDefault: true;
|
|
2628
|
+
isPrimaryKey: true;
|
|
2629
|
+
isAutoincrement: false;
|
|
2630
|
+
hasRuntimeDefault: false;
|
|
2631
|
+
enumValues: undefined;
|
|
2632
|
+
baseColumn: never;
|
|
2633
|
+
identity: undefined;
|
|
2634
|
+
generated: undefined;
|
|
2635
|
+
}, {}, {}>;
|
|
2636
|
+
accountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
2637
|
+
name: "account_id";
|
|
2638
|
+
tableName: "codex_apps_settings";
|
|
2639
|
+
dataType: "string";
|
|
2640
|
+
columnType: "PgUUID";
|
|
2641
|
+
data: string;
|
|
2642
|
+
driverParam: string;
|
|
2643
|
+
notNull: true;
|
|
2644
|
+
hasDefault: false;
|
|
2645
|
+
isPrimaryKey: false;
|
|
2646
|
+
isAutoincrement: false;
|
|
2647
|
+
hasRuntimeDefault: false;
|
|
2648
|
+
enumValues: undefined;
|
|
2649
|
+
baseColumn: never;
|
|
2650
|
+
identity: undefined;
|
|
2651
|
+
generated: undefined;
|
|
2652
|
+
}, {}, {}>;
|
|
2653
|
+
workspaceId: import("drizzle-orm/pg-core").PgColumn<{
|
|
2654
|
+
name: "workspace_id";
|
|
2655
|
+
tableName: "codex_apps_settings";
|
|
2656
|
+
dataType: "string";
|
|
2657
|
+
columnType: "PgUUID";
|
|
2658
|
+
data: string;
|
|
2659
|
+
driverParam: string;
|
|
2660
|
+
notNull: true;
|
|
2661
|
+
hasDefault: false;
|
|
2662
|
+
isPrimaryKey: false;
|
|
2663
|
+
isAutoincrement: false;
|
|
2664
|
+
hasRuntimeDefault: false;
|
|
2665
|
+
enumValues: undefined;
|
|
2666
|
+
baseColumn: never;
|
|
2667
|
+
identity: undefined;
|
|
2668
|
+
generated: undefined;
|
|
2669
|
+
}, {}, {}>;
|
|
2670
|
+
credentialId: import("drizzle-orm/pg-core").PgColumn<{
|
|
2671
|
+
name: "credential_id";
|
|
2672
|
+
tableName: "codex_apps_settings";
|
|
2673
|
+
dataType: "string";
|
|
2674
|
+
columnType: "PgUUID";
|
|
2675
|
+
data: string;
|
|
2676
|
+
driverParam: string;
|
|
2677
|
+
notNull: false;
|
|
2678
|
+
hasDefault: false;
|
|
2679
|
+
isPrimaryKey: false;
|
|
2680
|
+
isAutoincrement: false;
|
|
2681
|
+
hasRuntimeDefault: false;
|
|
2682
|
+
enumValues: undefined;
|
|
2683
|
+
baseColumn: never;
|
|
2684
|
+
identity: undefined;
|
|
2685
|
+
generated: undefined;
|
|
2686
|
+
}, {}, {}>;
|
|
2687
|
+
version: import("drizzle-orm/pg-core").PgColumn<{
|
|
2688
|
+
name: "version";
|
|
2689
|
+
tableName: "codex_apps_settings";
|
|
2690
|
+
dataType: "number";
|
|
2691
|
+
columnType: "PgInteger";
|
|
2692
|
+
data: number;
|
|
2693
|
+
driverParam: string | number;
|
|
2694
|
+
notNull: true;
|
|
2695
|
+
hasDefault: true;
|
|
2696
|
+
isPrimaryKey: false;
|
|
2697
|
+
isAutoincrement: false;
|
|
2698
|
+
hasRuntimeDefault: false;
|
|
2699
|
+
enumValues: undefined;
|
|
2700
|
+
baseColumn: never;
|
|
2701
|
+
identity: undefined;
|
|
2702
|
+
generated: undefined;
|
|
2703
|
+
}, {}, {}>;
|
|
2704
|
+
designatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
2705
|
+
name: "designated_at";
|
|
2706
|
+
tableName: "codex_apps_settings";
|
|
2707
|
+
dataType: "date";
|
|
2708
|
+
columnType: "PgTimestamp";
|
|
2709
|
+
data: Date;
|
|
2710
|
+
driverParam: string;
|
|
2711
|
+
notNull: false;
|
|
2712
|
+
hasDefault: false;
|
|
2713
|
+
isPrimaryKey: false;
|
|
2714
|
+
isAutoincrement: false;
|
|
2715
|
+
hasRuntimeDefault: false;
|
|
2716
|
+
enumValues: undefined;
|
|
2717
|
+
baseColumn: never;
|
|
2718
|
+
identity: undefined;
|
|
2719
|
+
generated: undefined;
|
|
2720
|
+
}, {}, {}>;
|
|
2721
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
2722
|
+
name: "updated_at";
|
|
2723
|
+
tableName: "codex_apps_settings";
|
|
2724
|
+
dataType: "date";
|
|
2725
|
+
columnType: "PgTimestamp";
|
|
2726
|
+
data: Date;
|
|
2727
|
+
driverParam: string;
|
|
2728
|
+
notNull: true;
|
|
2729
|
+
hasDefault: true;
|
|
2730
|
+
isPrimaryKey: false;
|
|
2731
|
+
isAutoincrement: false;
|
|
2732
|
+
hasRuntimeDefault: false;
|
|
2733
|
+
enumValues: undefined;
|
|
2734
|
+
baseColumn: never;
|
|
2735
|
+
identity: undefined;
|
|
2736
|
+
generated: undefined;
|
|
2737
|
+
}, {}, {}>;
|
|
2738
|
+
};
|
|
2739
|
+
dialect: 'pg';
|
|
2740
|
+
}>;
|
|
2675
2741
|
export declare const codexResetRedemptionAttempts: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
2676
2742
|
name: "codex_reset_redemption_attempts";
|
|
2677
2743
|
schema: undefined;
|
|
@@ -6905,7 +6971,7 @@ export declare const sessions: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
6905
6971
|
tableName: "sessions";
|
|
6906
6972
|
dataType: "json";
|
|
6907
6973
|
columnType: "PgJsonb";
|
|
6908
|
-
data: ("artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_publish" | "artifacts_rollback" | "environment_list" | "environment_set_variable" | "github_connect_link" | "github_repositories_list" | "
|
|
6974
|
+
data: ("artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_publish" | "artifacts_rollback" | "environment_list" | "environment_set_variable" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_set" | "goal_update" | "memory_correct" | "memory_save" | "memory_search" | "preference_registry_get" | "preference_registry_summary" | "rig_get" | "rig_list" | "rig_promote" | "rig_propose_change" | "rig_verify" | "run_on" | "sandbox_attach" | "sandbox_provision" | "sandbox_swap" | "sandboxes_list" | "scheduled_task_runs_list" | "scheduled_tasks_create" | "scheduled_tasks_delete" | "scheduled_tasks_get" | "scheduled_tasks_list" | "scheduled_tasks_pause" | "scheduled_tasks_resume" | "scheduled_tasks_trigger" | "scheduled_tasks_update" | "session_create" | "session_events" | "session_get" | "session_pause" | "session_resume" | "session_send_message" | "session_steer" | "sessions_list" | "set_other_session_title" | "set_session_title" | "slack_bot_channel_history" | "slack_bot_delete_message" | "slack_bot_file_content" | "slack_bot_file_info" | "slack_bot_list_channels" | "slack_bot_list_files" | "slack_bot_list_users" | "slack_bot_post_message" | "slack_bot_thread_replies" | "social_connections_list" | "social_daily_analysis_context" | "social_mentions_live" | "social_post_reply" | "social_posts_recent" | "social_posts_sync" | "social_search_live" | "social_thread_fetch" | "variable_set_list" | "variable_set_set_variable")[];
|
|
6909
6975
|
driverParam: unknown;
|
|
6910
6976
|
notNull: true;
|
|
6911
6977
|
hasDefault: false;
|
|
@@ -6917,7 +6983,7 @@ export declare const sessions: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
6917
6983
|
identity: undefined;
|
|
6918
6984
|
generated: undefined;
|
|
6919
6985
|
}, {}, {
|
|
6920
|
-
$type: ("artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_publish" | "artifacts_rollback" | "environment_list" | "environment_set_variable" | "github_connect_link" | "github_repositories_list" | "
|
|
6986
|
+
$type: ("artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_publish" | "artifacts_rollback" | "environment_list" | "environment_set_variable" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_set" | "goal_update" | "memory_correct" | "memory_save" | "memory_search" | "preference_registry_get" | "preference_registry_summary" | "rig_get" | "rig_list" | "rig_promote" | "rig_propose_change" | "rig_verify" | "run_on" | "sandbox_attach" | "sandbox_provision" | "sandbox_swap" | "sandboxes_list" | "scheduled_task_runs_list" | "scheduled_tasks_create" | "scheduled_tasks_delete" | "scheduled_tasks_get" | "scheduled_tasks_list" | "scheduled_tasks_pause" | "scheduled_tasks_resume" | "scheduled_tasks_trigger" | "scheduled_tasks_update" | "session_create" | "session_events" | "session_get" | "session_pause" | "session_resume" | "session_send_message" | "session_steer" | "sessions_list" | "set_other_session_title" | "set_session_title" | "slack_bot_channel_history" | "slack_bot_delete_message" | "slack_bot_file_content" | "slack_bot_file_info" | "slack_bot_list_channels" | "slack_bot_list_files" | "slack_bot_list_users" | "slack_bot_post_message" | "slack_bot_thread_replies" | "social_connections_list" | "social_daily_analysis_context" | "social_mentions_live" | "social_post_reply" | "social_posts_recent" | "social_posts_sync" | "social_search_live" | "social_thread_fetch" | "variable_set_list" | "variable_set_set_variable")[];
|
|
6921
6987
|
}>;
|
|
6922
6988
|
initialPersonalConnectionDelegations: import("drizzle-orm/pg-core").PgColumn<{
|
|
6923
6989
|
name: "initial_personal_connection_delegations";
|
|
@@ -16693,23 +16759,6 @@ export declare const agentRunStates: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
16693
16759
|
}, {}, {
|
|
16694
16760
|
$type: unknown[];
|
|
16695
16761
|
}>;
|
|
16696
|
-
frozenCodexCredentialId: import("drizzle-orm/pg-core").PgColumn<{
|
|
16697
|
-
name: "frozen_codex_credential_id";
|
|
16698
|
-
tableName: "agent_run_states";
|
|
16699
|
-
dataType: "string";
|
|
16700
|
-
columnType: "PgUUID";
|
|
16701
|
-
data: string;
|
|
16702
|
-
driverParam: string;
|
|
16703
|
-
notNull: false;
|
|
16704
|
-
hasDefault: false;
|
|
16705
|
-
isPrimaryKey: false;
|
|
16706
|
-
isAutoincrement: false;
|
|
16707
|
-
hasRuntimeDefault: false;
|
|
16708
|
-
enumValues: undefined;
|
|
16709
|
-
baseColumn: never;
|
|
16710
|
-
identity: undefined;
|
|
16711
|
-
generated: undefined;
|
|
16712
|
-
}, {}, {}>;
|
|
16713
16762
|
providerArtifactInvalidatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
16714
16763
|
name: "provider_artifact_invalidated_at";
|
|
16715
16764
|
tableName: "agent_run_states";
|
|
@@ -17283,23 +17332,6 @@ export declare const sessionHistoryItems: import("drizzle-orm/pg-core").PgTableW
|
|
|
17283
17332
|
identity: undefined;
|
|
17284
17333
|
generated: undefined;
|
|
17285
17334
|
}, {}, {}>;
|
|
17286
|
-
producerCodexCredentialId: import("drizzle-orm/pg-core").PgColumn<{
|
|
17287
|
-
name: "producer_codex_credential_id";
|
|
17288
|
-
tableName: "session_history_items";
|
|
17289
|
-
dataType: "string";
|
|
17290
|
-
columnType: "PgUUID";
|
|
17291
|
-
data: string;
|
|
17292
|
-
driverParam: string;
|
|
17293
|
-
notNull: false;
|
|
17294
|
-
hasDefault: false;
|
|
17295
|
-
isPrimaryKey: false;
|
|
17296
|
-
isAutoincrement: false;
|
|
17297
|
-
hasRuntimeDefault: false;
|
|
17298
|
-
enumValues: undefined;
|
|
17299
|
-
baseColumn: never;
|
|
17300
|
-
identity: undefined;
|
|
17301
|
-
generated: undefined;
|
|
17302
|
-
}, {}, {}>;
|
|
17303
17335
|
providerArtifactInvalidatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
17304
17336
|
name: "provider_artifact_invalidated_at";
|
|
17305
17337
|
tableName: "session_history_items";
|
|
@@ -28284,3 +28316,4 @@ export * from "./workspace-instruction-policies-schema";
|
|
|
28284
28316
|
export * from "./preference-registry-schema";
|
|
28285
28317
|
export * from "./memory-governance-schema";
|
|
28286
28318
|
export * from "./scoped-knowledge-schema";
|
|
28319
|
+
export * from "./transcription-recordings-schema";
|
package/dist/schema.js
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
billingCustomers,
|
|
6
6
|
capabilityCatalogItems,
|
|
7
7
|
capabilityInstallations,
|
|
8
|
+
codexAppsSettings,
|
|
8
9
|
codexCapacityWaiters,
|
|
9
10
|
codexCredentialLeases,
|
|
10
11
|
codexResetRedemptionAttempts,
|
|
@@ -120,6 +121,14 @@ import {
|
|
|
120
121
|
socialConnections,
|
|
121
122
|
socialPosts,
|
|
122
123
|
stripeWebhookEvents,
|
|
124
|
+
transcriptionRecordingChunkStateValues,
|
|
125
|
+
transcriptionRecordingChunks,
|
|
126
|
+
transcriptionRecordingObjectKindValues,
|
|
127
|
+
transcriptionRecordingObjects,
|
|
128
|
+
transcriptionRecordingSegmentStateValues,
|
|
129
|
+
transcriptionRecordingSegments,
|
|
130
|
+
transcriptionRecordingStateValues,
|
|
131
|
+
transcriptionRecordings,
|
|
123
132
|
usageEvents,
|
|
124
133
|
workspaceArtifactEvents,
|
|
125
134
|
workspaceArtifactVersions,
|
|
@@ -139,7 +148,7 @@ import {
|
|
|
139
148
|
workspaceVariableSetVariables,
|
|
140
149
|
workspaceVariableSets,
|
|
141
150
|
workspaces
|
|
142
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-HT5T62CC.js";
|
|
143
152
|
import "./chunk-PZ5AY32C.js";
|
|
144
153
|
export {
|
|
145
154
|
agentRunStates,
|
|
@@ -148,6 +157,7 @@ export {
|
|
|
148
157
|
billingCustomers,
|
|
149
158
|
capabilityCatalogItems,
|
|
150
159
|
capabilityInstallations,
|
|
160
|
+
codexAppsSettings,
|
|
151
161
|
codexCapacityWaiters,
|
|
152
162
|
codexCredentialLeases,
|
|
153
163
|
codexResetRedemptionAttempts,
|
|
@@ -263,6 +273,14 @@ export {
|
|
|
263
273
|
socialConnections,
|
|
264
274
|
socialPosts,
|
|
265
275
|
stripeWebhookEvents,
|
|
276
|
+
transcriptionRecordingChunkStateValues,
|
|
277
|
+
transcriptionRecordingChunks,
|
|
278
|
+
transcriptionRecordingObjectKindValues,
|
|
279
|
+
transcriptionRecordingObjects,
|
|
280
|
+
transcriptionRecordingSegmentStateValues,
|
|
281
|
+
transcriptionRecordingSegments,
|
|
282
|
+
transcriptionRecordingStateValues,
|
|
283
|
+
transcriptionRecordings,
|
|
266
284
|
usageEvents,
|
|
267
285
|
workspaceArtifactEvents,
|
|
268
286
|
workspaceArtifactVersions,
|