@app-vitals/agent-admin 0.0.1 → 0.1.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/Dockerfile +43 -0
- package/README.md +72 -2
- package/e2e/agents-page.e2e.ts +338 -0
- package/e2e/chat-degraded.e2e.ts +153 -0
- package/e2e/chat-page.e2e.ts +169 -0
- package/e2e/chat-progress.e2e.ts +206 -0
- package/e2e/chat-thread-page.e2e.ts +444 -0
- package/e2e/login-page.e2e.ts +148 -0
- package/e2e/test-server.ts +427 -0
- package/openapi.json +6098 -0
- package/openapi.platform.json +5553 -0
- package/package.json +62 -4
- package/playwright.config.ts +25 -0
- package/prisma/client/browser.ts +134 -0
- package/prisma/client/client.ts +158 -0
- package/prisma/client/commonInputTypes.ts +578 -0
- package/prisma/client/enums.ts +15 -0
- package/prisma/client/internal/class.ts +424 -0
- package/prisma/client/internal/prismaNamespace.ts +2898 -0
- package/prisma/client/internal/prismaNamespaceBrowser.ts +476 -0
- package/prisma/client/models/Account.ts +1774 -0
- package/prisma/client/models/AccountInvite.ts +1386 -0
- package/prisma/client/models/AccountMember.ts +1351 -0
- package/prisma/client/models/Agent.ts +4554 -0
- package/prisma/client/models/AgentAsk.ts +1373 -0
- package/prisma/client/models/AgentChatTokenUsageDailyByModel.ts +1638 -0
- package/prisma/client/models/AgentCronJob.ts +2416 -0
- package/prisma/client/models/AgentCronRun.ts +2858 -0
- package/prisma/client/models/AgentCronRunModelBreakdown.ts +1532 -0
- package/prisma/client/models/AgentCronRunSkillUsage.ts +1642 -0
- package/prisma/client/models/AgentEnv.ts +1421 -0
- package/prisma/client/models/AgentGitHubInstallationsSnapshot.ts +1289 -0
- package/prisma/client/models/AgentMember.ts +1316 -0
- package/prisma/client/models/AgentPhaseMethodology.ts +1355 -0
- package/prisma/client/models/AgentPlugin.ts +1421 -0
- package/prisma/client/models/AgentToken.ts +1380 -0
- package/prisma/client/models/AgentTool.ts +1351 -0
- package/prisma/client/models/AgentWorkQueueSnapshot.ts +1297 -0
- package/prisma/client/models/ChatThreadWatch.ts +1183 -0
- package/prisma/client/models/PushSubscription.ts +1233 -0
- package/prisma/client/models/SessionAlertState.ts +1187 -0
- package/prisma/client/models/SessionFollow.ts +1187 -0
- package/prisma/client/models/UserNotificationPrefs.ts +1221 -0
- package/prisma/client/models.ts +34 -0
- package/prisma/migrations/20260608000000_init/migration.sql +112 -0
- package/prisma/migrations/20260616000000_agent_members/migration.sql +18 -0
- package/prisma/migrations/20260624000000_add_agent_self_hosted/migration.sql +2 -0
- package/prisma/migrations/20260624120000_add_agent_repos/migration.sql +3 -0
- package/prisma/migrations/20260625000000_add_agent_cron_run/migration.sql +26 -0
- package/prisma/migrations/20260626000000_add_cron_run_token_fields/migration.sql +10 -0
- package/prisma/migrations/20260627000000_add_agent_chat_token_usage_daily/migration.sql +18 -0
- package/prisma/migrations/20260627010000_add_agent_chat_token_usage_fk/migration.sql +2 -0
- package/prisma/migrations/20260701000000_add_chat_threads_messages/migration.sql +37 -0
- package/prisma/migrations/20260701010000_drop_chat_threads_messages/migration.sql +17 -0
- package/prisma/migrations/20260701020000_add_cron_run_model_breakdown/migration.sql +23 -0
- package/prisma/migrations/20260701020000_chat_token_by_model/migration.sql +25 -0
- package/prisma/migrations/20260701030000_add_secret_flag_to_agent_env/migration.sql +2 -0
- package/prisma/migrations/20260701030000_drop_cron_run_legacy_columns/migration.sql +5 -0
- package/prisma/migrations/20260706000000_consolidate_cron_run_token_accounting/migration.sql +54 -0
- package/prisma/migrations/20260709000000_add_phase_to_agent_cron_run/migration.sql +8 -0
- package/prisma/migrations/20260717000000_add_item_tracking_to_agent_cron_run/migration.sql +10 -0
- package/prisma/migrations/20260717010000_add_agent_work_queue_snapshot/migration.sql +20 -0
- package/prisma/migrations/20260718000000_add_cron_phase_columns/migration.sql +25 -0
- package/prisma/migrations/20260718100000_drop_agent_cron_run_phase_column/migration.sql +8 -0
- package/prisma/migrations/20260724000000_add_agent_type_name/migration.sql +3 -0
- package/prisma/migrations/20260725232433_add_agent_author_allowlist/migration.sql +2 -0
- package/prisma/migrations/20260727120000_add_not_null_to_agent_author_allowlist/migration.sql +3 -0
- package/prisma/migrations/20260731000000_add_session_id_to_agent_cron_run/migration.sql +2 -0
- package/prisma/migrations/20260821000000_add_agent_restrict_slack_to_members/migration.sql +3 -0
- package/prisma/migrations/20260901000000_add_push_subscription_and_chat_thread_watch/migration.sql +40 -0
- package/prisma/migrations/20260903000000_add_agent_patch_author_allowlist/migration.sql +2 -0
- package/prisma/migrations/20260903120000_add_agent_review_author_allowlist/migration.sql +18 -0
- package/prisma/migrations/20260903150000_drop_agent_author_allowlist/migration.sql +14 -0
- package/prisma/migrations/20260905000000_add_started_at_index_to_agent_cron_run/migration.sql +11 -0
- package/prisma/migrations/20260906000000_add_session_follow_notification_prefs_alert_state/migration.sql +47 -0
- package/prisma/migrations/20260911000000_backfill_auto_follow_since/migration.sql +16 -0
- package/prisma/migrations/20260923115814_add_last_heartbeat_at_to_agent_cron_run/migration.sql +2 -0
- package/prisma/migrations/20260924120000_add_trial_expiry_fields_to_agent/migration.sql +6 -0
- package/prisma/migrations/20260929000000_add_agent_phase_methodology/migration.sql +21 -0
- package/prisma/migrations/20260929120000_add_agent_policy_fields/migration.sql +15 -0
- package/prisma/migrations/20261005000000_add_agent_github_installations_snapshot/migration.sql +21 -0
- package/prisma/migrations/20261008000000_add_cron_run_telemetry/migration.sql +50 -0
- package/prisma/migrations/20261008010000_add_account_models/migration.sql +48 -0
- package/prisma/migrations/20261008020000_add_cron_lockdown_disabled_at/migration.sql +3 -0
- package/prisma/migrations/20261009000000_chat_token_usage_bigint/migration.sql +7 -0
- package/prisma/migrations/20261010000000_add_cron_run_command_variant/migration.sql +2 -0
- package/prisma/migrations/20261019000000_add_agent_anthropic_identity/migration.sql +9 -0
- package/prisma/migrations/20261025000000_add_agent_ask/migration.sql +23 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema/coding.prisma +85 -0
- package/prisma/schema/schema.prisma +506 -0
- package/prisma.config.ts +34 -0
- package/pwa-assets/icons/apple-touch-icon.png +0 -0
- package/pwa-assets/icons/favicon-32.png +0 -0
- package/pwa-assets/icons/icon-192.png +0 -0
- package/pwa-assets/icons/icon-512.png +0 -0
- package/pwa-assets/icons/icon-maskable-192.png +0 -0
- package/pwa-assets/icons/icon-maskable-512.png +0 -0
- package/src/account-agent-create.ts +42 -0
- package/src/account-agent-create.unit.test.ts +28 -0
- package/src/account-created-notifier.ts +71 -0
- package/src/account-created-notifier.unit.test.ts +70 -0
- package/src/account-email.ts +9 -0
- package/src/account-email.unit.test.ts +21 -0
- package/src/account-invites.ts +70 -0
- package/src/account-lifecycle.integration.test.ts +329 -0
- package/src/account-lifecycle.ts +206 -0
- package/src/account-lifecycle.unit.test.ts +108 -0
- package/src/account-members.ts +128 -0
- package/src/account-onboarding.integration.test.ts +101 -0
- package/src/account-onboarding.ts +95 -0
- package/src/account-trial-expiry-sweeper.ts +85 -0
- package/src/account-trial-warning-sweeper.integration.test.ts +228 -0
- package/src/account-trial-warning-sweeper.ts +216 -0
- package/src/accounts-api.integration.test.ts +196 -0
- package/src/accounts-api.smoke.test.ts +292 -0
- package/src/accounts-api.ts +289 -0
- package/src/accounts-api.unit.test.ts +93 -0
- package/src/accounts.integration.test.ts +178 -0
- package/src/accounts.ts +208 -0
- package/src/admin-boot-config.ts +574 -0
- package/src/admin-boot-config.unit.test.ts +28 -0
- package/src/admin-boot.boot-order.unit.test.ts +91 -0
- package/src/admin-boot.ts +690 -0
- package/src/admin-dev-login.smoke.test.ts +317 -0
- package/src/admin-extension.ts +432 -0
- package/src/admin-extension.unit.test.ts +532 -0
- package/src/admin-local-agent.smoke.test.ts +1643 -0
- package/src/admin-spec.smoke.test.ts +96 -0
- package/src/admin-spec.ts +186 -0
- package/src/admin-ui-account-nav.ts +20 -0
- package/src/admin-ui-account-pages.ts +131 -0
- package/src/admin-ui-account-pages.unit.test.ts +112 -0
- package/src/admin-ui-account.smoke.test.ts +286 -0
- package/src/admin-ui-account.ts +185 -0
- package/src/admin-ui-accounts-pages.ts +202 -0
- package/src/admin-ui-accounts-pages.unit.test.ts +138 -0
- package/src/admin-ui-accounts.smoke.test.ts +434 -0
- package/src/admin-ui-accounts.ts +266 -0
- package/src/admin-ui-layout.ts +60 -0
- package/src/admin-ui-layout.unit.test.ts +140 -0
- package/src/admin-ui-pages.ts +3489 -0
- package/src/admin-ui-pages.unit.test.ts +4355 -0
- package/src/admin-ui-push-test.smoke.test.ts +125 -0
- package/src/admin-ui-push-test.ts +102 -0
- package/src/admin-ui-styles.ts +656 -0
- package/src/admin-ui-styles.unit.test.ts +103 -0
- package/src/admin-ui.fixtures.ts +457 -0
- package/src/admin-ui.smoke.test.ts +7227 -0
- package/src/admin-ui.ts +3824 -0
- package/src/agent-account-assignment.ts +49 -0
- package/src/agent-account-assignment.unit.test.ts +99 -0
- package/src/agent-anthropic-identity.integration.test.ts +99 -0
- package/src/agent-anthropic-identity.ts +78 -0
- package/src/agent-anthropic-identity.unit.test.ts +77 -0
- package/src/agent-ask-config.ts +59 -0
- package/src/agent-ask-config.unit.test.ts +70 -0
- package/src/agent-ask.integration.test.ts +175 -0
- package/src/agent-ask.smoke.test.ts +457 -0
- package/src/agent-ask.ts +378 -0
- package/src/agent-chat-tokens.integration.test.ts +420 -0
- package/src/agent-chat-tokens.smoke.test.ts +551 -0
- package/src/agent-chat-tokens.ts +259 -0
- package/src/agent-cron-jobs.integration.test.ts +582 -0
- package/src/agent-cron-jobs.ts +615 -0
- package/src/agent-cron-jobs.unit.test.ts +420 -0
- package/src/agent-cron-run-stats.integration.test.ts +1551 -0
- package/src/agent-cron-run-stats.smoke.test.ts +953 -0
- package/src/agent-cron-run-stats.ts +752 -0
- package/src/agent-cron-runs.integration.test.ts +1491 -0
- package/src/agent-cron-runs.ts +489 -0
- package/src/agent-deletion-checklist.ts +128 -0
- package/src/agent-deletion-checklist.unit.test.ts +201 -0
- package/src/agent-deletion-per-agent.integration.test.ts +323 -0
- package/src/agent-deletion.integration.test.ts +323 -0
- package/src/agent-deletion.ts +329 -0
- package/src/agent-deletion.unit.test.ts +412 -0
- package/src/agent-envs.integration.test.ts +323 -0
- package/src/agent-envs.ts +244 -0
- package/src/agent-github-installations.integration.test.ts +115 -0
- package/src/agent-github-installations.ts +52 -0
- package/src/agent-manifest.ts +685 -0
- package/src/agent-manifest.unit.test.ts +870 -0
- package/src/agent-members.ts +69 -0
- package/src/agent-members.unit.test.ts +250 -0
- package/src/agent-patch-author-allowlist.integration.test.ts +218 -0
- package/src/agent-plugins.integration.test.ts +157 -0
- package/src/agent-plugins.ts +95 -0
- package/src/agent-plugins.unit.test.ts +43 -0
- package/src/agent-provisioner-per-agent.integration.test.ts +949 -0
- package/src/agent-provisioner.integration.test.ts +1245 -0
- package/src/agent-provisioner.ts +1650 -0
- package/src/agent-provisioner.unit.test.ts +1852 -0
- package/src/agent-tokens.integration.test.ts +150 -0
- package/src/agent-tokens.ts +112 -0
- package/src/agent-tools.integration.test.ts +129 -0
- package/src/agent-tools.ts +111 -0
- package/src/agents-api.integration.test.ts +705 -0
- package/src/agents-api.sentry.smoke.test.ts +478 -0
- package/src/agents-api.smoke.test.ts +5986 -0
- package/src/agents-api.ts +2826 -0
- package/src/agents.integration.test.ts +512 -0
- package/src/agents.ts +1097 -0
- package/src/agents.unit.test.ts +1736 -0
- package/src/anthropic-credential-guard.ts +44 -0
- package/src/anthropic-credential-guard.unit.test.ts +88 -0
- package/src/anthropic-federated-token-provider.integration.test.ts +248 -0
- package/src/anthropic-federated-token-provider.ts +249 -0
- package/src/anthropic-identity-client.fixtures.ts +237 -0
- package/src/anthropic-identity-client.integration.test.ts +342 -0
- package/src/anthropic-identity-client.ts +473 -0
- package/src/anthropic-identity-fixture-spec.integration.test.ts +169 -0
- package/src/anthropic-identity-name.integration.test.ts +83 -0
- package/src/anthropic-identity-name.ts +163 -0
- package/src/anthropic-identity-name.unit.test.ts +345 -0
- package/src/anthropic-openapi-contract.fixtures.ts +192 -0
- package/src/api-auth.ts +383 -0
- package/src/api-auth.unit.test.ts +837 -0
- package/src/api.smoke.test.ts +1225 -0
- package/src/api.ts +376 -0
- package/src/attachment-validation.ts +124 -0
- package/src/attachment-validation.unit.test.ts +218 -0
- package/src/caller-scope.ts +131 -0
- package/src/caller-scope.unit.test.ts +116 -0
- package/src/chat-credential-config.ts +22 -0
- package/src/chat-credentials-logging.unit.test.ts +92 -0
- package/src/chat-markers.ts +114 -0
- package/src/chat-markers.unit.test.ts +116 -0
- package/src/chat-service-provisioning-client.integration.test.ts +412 -0
- package/src/chat-service-provisioning-client.ts +221 -0
- package/src/chat.smoke.test.ts +1875 -0
- package/src/clock.ts +47 -0
- package/src/coding-task-store-provisioning-client.integration.test.ts +372 -0
- package/src/coding-task-store-provisioning-client.ts +156 -0
- package/src/crypto.ts +83 -0
- package/src/dev-auth-guard.ts +29 -0
- package/src/dev-auth-guard.unit.test.ts +51 -0
- package/src/errors.ts +77 -0
- package/src/errors.unit.test.ts +52 -0
- package/src/fixtures/anthropic-identity-recorded-fixtures.json +850 -0
- package/src/fixtures/anthropic-openapi/SDK_VERSION +1 -0
- package/src/fixtures/anthropic-openapi/mock-spec.json.gz +0 -0
- package/src/fixtures/chat-service-provisioning-cassette.json +156 -0
- package/src/fixtures/github-app-manifest-cassette.json +44 -0
- package/src/fixtures/google-auth-cassette.json +36 -0
- package/src/fixtures/http-chat-client-cassette.json +226 -0
- package/src/fixtures/k8s-cassette.json +470 -0
- package/src/fixtures/okta-auth-cassette.json +36 -0
- package/src/fixtures/slack-provision-cassette.json +12 -0
- package/src/fixtures/slack-provisioning-http-cassette.json +98 -0
- package/src/fixtures/task-store-provisioning-cassette.json +85 -0
- package/src/github-app-provisioning-client.integration.test.ts +149 -0
- package/src/github-app-provisioning-client.ts +161 -0
- package/src/github-app-provisioning-client.unit.test.ts +114 -0
- package/src/github-provisioning-service.ts +569 -0
- package/src/github-provisioning-service.unit.test.ts +123 -0
- package/src/google-auth-client.integration.test.ts +195 -0
- package/src/google-auth-client.ts +121 -0
- package/src/http-chat-client.integration.test.ts +554 -0
- package/src/http-chat-client.ts +533 -0
- package/src/http-chat-client.unit.test.ts +119 -0
- package/src/import-boundary.unit.test.ts +240 -0
- package/src/kubernetes-client.integration.test.ts +697 -0
- package/src/kubernetes-client.ts +1027 -0
- package/src/kubernetes-client.unit.test.ts +726 -0
- package/src/main.smoke.test.ts +91 -0
- package/src/main.ts +21 -0
- package/src/main.unit.test.ts +801 -0
- package/src/okta-auth-client.integration.test.ts +263 -0
- package/src/okta-auth-client.ts +152 -0
- package/src/openapi-schemas.ts +1310 -0
- package/src/openapi-schemas.unit.test.ts +348 -0
- package/src/per-agent-identity.fixtures.ts +305 -0
- package/src/platform-doc-route.ts +40 -0
- package/src/prisma-client.integration.test.ts +57 -0
- package/src/prisma-client.ts +187 -0
- package/src/prisma-client.unit.test.ts +178 -0
- package/src/prisma-tx.ts +23 -0
- package/src/push-content.ts +177 -0
- package/src/push-content.unit.test.ts +213 -0
- package/src/push-crypto.ts +135 -0
- package/src/push-crypto.unit.test.ts +66 -0
- package/src/push-sender.ts +169 -0
- package/src/push-sender.unit.test.ts +107 -0
- package/src/push-service.ts +332 -0
- package/src/push-service.unit.test.ts +679 -0
- package/src/push-toggle.ts +135 -0
- package/src/push-toggle.unit.test.ts +78 -0
- package/src/pwa-https-gating.smoke.test.ts +229 -0
- package/src/pwa-icons.unit.test.ts +41 -0
- package/src/pwa-routes.smoke.test.ts +276 -0
- package/src/pwa.ts +380 -0
- package/src/pwa.unit.test.ts +321 -0
- package/src/schema.unit.test.ts +122 -0
- package/src/self-serve-config.ts +52 -0
- package/src/self-serve-config.unit.test.ts +79 -0
- package/src/server.smoke.test.ts +273 -0
- package/src/server.ts +50 -0
- package/src/service-integration.ts +67 -0
- package/src/service-integration.unit.test.ts +129 -0
- package/src/slack-provisioning-client.integration.test.ts +308 -0
- package/src/slack-provisioning-client.ts +411 -0
- package/src/slack-provisioning-client.unit.test.ts +80 -0
- package/src/slack-provisioning-service.integration.test.ts +637 -0
- package/src/slack-provisioning-service.ts +451 -0
- package/src/slack-provisioning.integration.test.ts +395 -0
- package/src/specialty-manifest-loader.fixture.integration.test.ts +63 -0
- package/src/specialty-manifest-loader.ts +255 -0
- package/src/specialty-manifest-loader.unit.test.ts +301 -0
- package/src/specialty-registry.schema.unit.test.ts +35 -0
- package/src/specialty-registry.ts +236 -0
- package/src/specialty-registry.unit.test.ts +272 -0
- package/src/startup-policy-reconcile.ts +77 -0
- package/src/startup-policy-reconcile.unit.test.ts +251 -0
- package/src/theme-tokens.json +12 -0
- package/src/token-crypto.ts +60 -0
- package/src/token-crypto.unit.test.ts +182 -0
- package/src/trial-expiry-sweeper.integration.test.ts +318 -0
- package/src/trial-expiry-sweeper.ts +132 -0
- package/src/trial-expiry-sweeper.unit.test.ts +391 -0
- package/src/trial-expiry-warning-sweeper.integration.test.ts +468 -0
- package/src/trial-expiry-warning-sweeper.ts +447 -0
- package/src/trial-expiry-warning-sweeper.unit.test.ts +148 -0
- package/src/voice-contract.unit.test.ts +102 -0
- package/tsconfig.json +9 -0
|
@@ -0,0 +1,2858 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `AgentCronRun` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model AgentCronRun
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AgentCronRunModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentCronRunPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAgentCronRun = {
|
|
22
|
+
_count: AgentCronRunCountAggregateOutputType | null
|
|
23
|
+
_avg: AgentCronRunAvgAggregateOutputType | null
|
|
24
|
+
_sum: AgentCronRunSumAggregateOutputType | null
|
|
25
|
+
_min: AgentCronRunMinAggregateOutputType | null
|
|
26
|
+
_max: AgentCronRunMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type AgentCronRunAvgAggregateOutputType = {
|
|
30
|
+
baselineContextTokens: number | null
|
|
31
|
+
baselineInputTokens: number | null
|
|
32
|
+
baselineCacheCreationTokens: number | null
|
|
33
|
+
baselineCacheReadTokens: number | null
|
|
34
|
+
turns: number | null
|
|
35
|
+
toolCalls: number | null
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type AgentCronRunSumAggregateOutputType = {
|
|
39
|
+
baselineContextTokens: number | null
|
|
40
|
+
baselineInputTokens: number | null
|
|
41
|
+
baselineCacheCreationTokens: number | null
|
|
42
|
+
baselineCacheReadTokens: number | null
|
|
43
|
+
turns: number | null
|
|
44
|
+
toolCalls: number | null
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type AgentCronRunMinAggregateOutputType = {
|
|
48
|
+
id: string | null
|
|
49
|
+
cronId: string | null
|
|
50
|
+
agentId: string | null
|
|
51
|
+
startedAt: Date | null
|
|
52
|
+
completedAt: Date | null
|
|
53
|
+
skipped: boolean | null
|
|
54
|
+
skipReason: string | null
|
|
55
|
+
outcome: string | null
|
|
56
|
+
error: string | null
|
|
57
|
+
itemType: string | null
|
|
58
|
+
itemId: string | null
|
|
59
|
+
commandVariant: string | null
|
|
60
|
+
sessionId: string | null
|
|
61
|
+
lastHeartbeatAt: Date | null
|
|
62
|
+
createdAt: Date | null
|
|
63
|
+
phaseId: string | null
|
|
64
|
+
baselineModel: string | null
|
|
65
|
+
baselineContextTokens: number | null
|
|
66
|
+
baselineInputTokens: number | null
|
|
67
|
+
baselineCacheCreationTokens: number | null
|
|
68
|
+
baselineCacheReadTokens: number | null
|
|
69
|
+
turns: number | null
|
|
70
|
+
toolCalls: number | null
|
|
71
|
+
contextFingerprint: string | null
|
|
72
|
+
pluginVersion: string | null
|
|
73
|
+
claudeCodeVersion: string | null
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export type AgentCronRunMaxAggregateOutputType = {
|
|
77
|
+
id: string | null
|
|
78
|
+
cronId: string | null
|
|
79
|
+
agentId: string | null
|
|
80
|
+
startedAt: Date | null
|
|
81
|
+
completedAt: Date | null
|
|
82
|
+
skipped: boolean | null
|
|
83
|
+
skipReason: string | null
|
|
84
|
+
outcome: string | null
|
|
85
|
+
error: string | null
|
|
86
|
+
itemType: string | null
|
|
87
|
+
itemId: string | null
|
|
88
|
+
commandVariant: string | null
|
|
89
|
+
sessionId: string | null
|
|
90
|
+
lastHeartbeatAt: Date | null
|
|
91
|
+
createdAt: Date | null
|
|
92
|
+
phaseId: string | null
|
|
93
|
+
baselineModel: string | null
|
|
94
|
+
baselineContextTokens: number | null
|
|
95
|
+
baselineInputTokens: number | null
|
|
96
|
+
baselineCacheCreationTokens: number | null
|
|
97
|
+
baselineCacheReadTokens: number | null
|
|
98
|
+
turns: number | null
|
|
99
|
+
toolCalls: number | null
|
|
100
|
+
contextFingerprint: string | null
|
|
101
|
+
pluginVersion: string | null
|
|
102
|
+
claudeCodeVersion: string | null
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export type AgentCronRunCountAggregateOutputType = {
|
|
106
|
+
id: number
|
|
107
|
+
cronId: number
|
|
108
|
+
agentId: number
|
|
109
|
+
startedAt: number
|
|
110
|
+
completedAt: number
|
|
111
|
+
skipped: number
|
|
112
|
+
skipReason: number
|
|
113
|
+
outcome: number
|
|
114
|
+
error: number
|
|
115
|
+
itemType: number
|
|
116
|
+
itemId: number
|
|
117
|
+
commandVariant: number
|
|
118
|
+
sessionId: number
|
|
119
|
+
lastHeartbeatAt: number
|
|
120
|
+
createdAt: number
|
|
121
|
+
phaseId: number
|
|
122
|
+
baselineModel: number
|
|
123
|
+
baselineContextTokens: number
|
|
124
|
+
baselineInputTokens: number
|
|
125
|
+
baselineCacheCreationTokens: number
|
|
126
|
+
baselineCacheReadTokens: number
|
|
127
|
+
turns: number
|
|
128
|
+
toolCalls: number
|
|
129
|
+
contextFingerprint: number
|
|
130
|
+
pluginVersion: number
|
|
131
|
+
claudeCodeVersion: number
|
|
132
|
+
_all: number
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
export type AgentCronRunAvgAggregateInputType = {
|
|
137
|
+
baselineContextTokens?: true
|
|
138
|
+
baselineInputTokens?: true
|
|
139
|
+
baselineCacheCreationTokens?: true
|
|
140
|
+
baselineCacheReadTokens?: true
|
|
141
|
+
turns?: true
|
|
142
|
+
toolCalls?: true
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export type AgentCronRunSumAggregateInputType = {
|
|
146
|
+
baselineContextTokens?: true
|
|
147
|
+
baselineInputTokens?: true
|
|
148
|
+
baselineCacheCreationTokens?: true
|
|
149
|
+
baselineCacheReadTokens?: true
|
|
150
|
+
turns?: true
|
|
151
|
+
toolCalls?: true
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export type AgentCronRunMinAggregateInputType = {
|
|
155
|
+
id?: true
|
|
156
|
+
cronId?: true
|
|
157
|
+
agentId?: true
|
|
158
|
+
startedAt?: true
|
|
159
|
+
completedAt?: true
|
|
160
|
+
skipped?: true
|
|
161
|
+
skipReason?: true
|
|
162
|
+
outcome?: true
|
|
163
|
+
error?: true
|
|
164
|
+
itemType?: true
|
|
165
|
+
itemId?: true
|
|
166
|
+
commandVariant?: true
|
|
167
|
+
sessionId?: true
|
|
168
|
+
lastHeartbeatAt?: true
|
|
169
|
+
createdAt?: true
|
|
170
|
+
phaseId?: true
|
|
171
|
+
baselineModel?: true
|
|
172
|
+
baselineContextTokens?: true
|
|
173
|
+
baselineInputTokens?: true
|
|
174
|
+
baselineCacheCreationTokens?: true
|
|
175
|
+
baselineCacheReadTokens?: true
|
|
176
|
+
turns?: true
|
|
177
|
+
toolCalls?: true
|
|
178
|
+
contextFingerprint?: true
|
|
179
|
+
pluginVersion?: true
|
|
180
|
+
claudeCodeVersion?: true
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export type AgentCronRunMaxAggregateInputType = {
|
|
184
|
+
id?: true
|
|
185
|
+
cronId?: true
|
|
186
|
+
agentId?: true
|
|
187
|
+
startedAt?: true
|
|
188
|
+
completedAt?: true
|
|
189
|
+
skipped?: true
|
|
190
|
+
skipReason?: true
|
|
191
|
+
outcome?: true
|
|
192
|
+
error?: true
|
|
193
|
+
itemType?: true
|
|
194
|
+
itemId?: true
|
|
195
|
+
commandVariant?: true
|
|
196
|
+
sessionId?: true
|
|
197
|
+
lastHeartbeatAt?: true
|
|
198
|
+
createdAt?: true
|
|
199
|
+
phaseId?: true
|
|
200
|
+
baselineModel?: true
|
|
201
|
+
baselineContextTokens?: true
|
|
202
|
+
baselineInputTokens?: true
|
|
203
|
+
baselineCacheCreationTokens?: true
|
|
204
|
+
baselineCacheReadTokens?: true
|
|
205
|
+
turns?: true
|
|
206
|
+
toolCalls?: true
|
|
207
|
+
contextFingerprint?: true
|
|
208
|
+
pluginVersion?: true
|
|
209
|
+
claudeCodeVersion?: true
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export type AgentCronRunCountAggregateInputType = {
|
|
213
|
+
id?: true
|
|
214
|
+
cronId?: true
|
|
215
|
+
agentId?: true
|
|
216
|
+
startedAt?: true
|
|
217
|
+
completedAt?: true
|
|
218
|
+
skipped?: true
|
|
219
|
+
skipReason?: true
|
|
220
|
+
outcome?: true
|
|
221
|
+
error?: true
|
|
222
|
+
itemType?: true
|
|
223
|
+
itemId?: true
|
|
224
|
+
commandVariant?: true
|
|
225
|
+
sessionId?: true
|
|
226
|
+
lastHeartbeatAt?: true
|
|
227
|
+
createdAt?: true
|
|
228
|
+
phaseId?: true
|
|
229
|
+
baselineModel?: true
|
|
230
|
+
baselineContextTokens?: true
|
|
231
|
+
baselineInputTokens?: true
|
|
232
|
+
baselineCacheCreationTokens?: true
|
|
233
|
+
baselineCacheReadTokens?: true
|
|
234
|
+
turns?: true
|
|
235
|
+
toolCalls?: true
|
|
236
|
+
contextFingerprint?: true
|
|
237
|
+
pluginVersion?: true
|
|
238
|
+
claudeCodeVersion?: true
|
|
239
|
+
_all?: true
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export type AgentCronRunAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
243
|
+
/**
|
|
244
|
+
* Filter which AgentCronRun to aggregate.
|
|
245
|
+
*/
|
|
246
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
247
|
+
/**
|
|
248
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
249
|
+
*
|
|
250
|
+
* Determine the order of AgentCronRuns to fetch.
|
|
251
|
+
*/
|
|
252
|
+
orderBy?: Prisma.AgentCronRunOrderByWithRelationInput | Prisma.AgentCronRunOrderByWithRelationInput[]
|
|
253
|
+
/**
|
|
254
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
255
|
+
*
|
|
256
|
+
* Sets the start position
|
|
257
|
+
*/
|
|
258
|
+
cursor?: Prisma.AgentCronRunWhereUniqueInput
|
|
259
|
+
/**
|
|
260
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
261
|
+
*
|
|
262
|
+
* Take `±n` AgentCronRuns from the position of the cursor.
|
|
263
|
+
*/
|
|
264
|
+
take?: number
|
|
265
|
+
/**
|
|
266
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
267
|
+
*
|
|
268
|
+
* Skip the first `n` AgentCronRuns.
|
|
269
|
+
*/
|
|
270
|
+
skip?: number
|
|
271
|
+
/**
|
|
272
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
273
|
+
*
|
|
274
|
+
* Count returned AgentCronRuns
|
|
275
|
+
**/
|
|
276
|
+
_count?: true | AgentCronRunCountAggregateInputType
|
|
277
|
+
/**
|
|
278
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
279
|
+
*
|
|
280
|
+
* Select which fields to average
|
|
281
|
+
**/
|
|
282
|
+
_avg?: AgentCronRunAvgAggregateInputType
|
|
283
|
+
/**
|
|
284
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
285
|
+
*
|
|
286
|
+
* Select which fields to sum
|
|
287
|
+
**/
|
|
288
|
+
_sum?: AgentCronRunSumAggregateInputType
|
|
289
|
+
/**
|
|
290
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
291
|
+
*
|
|
292
|
+
* Select which fields to find the minimum value
|
|
293
|
+
**/
|
|
294
|
+
_min?: AgentCronRunMinAggregateInputType
|
|
295
|
+
/**
|
|
296
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
297
|
+
*
|
|
298
|
+
* Select which fields to find the maximum value
|
|
299
|
+
**/
|
|
300
|
+
_max?: AgentCronRunMaxAggregateInputType
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export type GetAgentCronRunAggregateType<T extends AgentCronRunAggregateArgs> = {
|
|
304
|
+
[P in keyof T & keyof AggregateAgentCronRun]: P extends '_count' | 'count'
|
|
305
|
+
? T[P] extends true
|
|
306
|
+
? number
|
|
307
|
+
: Prisma.GetScalarType<T[P], AggregateAgentCronRun[P]>
|
|
308
|
+
: Prisma.GetScalarType<T[P], AggregateAgentCronRun[P]>
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
export type AgentCronRunGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
315
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
316
|
+
orderBy?: Prisma.AgentCronRunOrderByWithAggregationInput | Prisma.AgentCronRunOrderByWithAggregationInput[]
|
|
317
|
+
by: Prisma.AgentCronRunScalarFieldEnum[] | Prisma.AgentCronRunScalarFieldEnum
|
|
318
|
+
having?: Prisma.AgentCronRunScalarWhereWithAggregatesInput
|
|
319
|
+
take?: number
|
|
320
|
+
skip?: number
|
|
321
|
+
_count?: AgentCronRunCountAggregateInputType | true
|
|
322
|
+
_avg?: AgentCronRunAvgAggregateInputType
|
|
323
|
+
_sum?: AgentCronRunSumAggregateInputType
|
|
324
|
+
_min?: AgentCronRunMinAggregateInputType
|
|
325
|
+
_max?: AgentCronRunMaxAggregateInputType
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export type AgentCronRunGroupByOutputType = {
|
|
329
|
+
id: string
|
|
330
|
+
cronId: string
|
|
331
|
+
agentId: string
|
|
332
|
+
startedAt: Date
|
|
333
|
+
completedAt: Date | null
|
|
334
|
+
skipped: boolean
|
|
335
|
+
skipReason: string | null
|
|
336
|
+
outcome: string | null
|
|
337
|
+
error: string | null
|
|
338
|
+
itemType: string | null
|
|
339
|
+
itemId: string | null
|
|
340
|
+
commandVariant: string | null
|
|
341
|
+
sessionId: string | null
|
|
342
|
+
lastHeartbeatAt: Date | null
|
|
343
|
+
createdAt: Date
|
|
344
|
+
phaseId: string | null
|
|
345
|
+
baselineModel: string | null
|
|
346
|
+
baselineContextTokens: number | null
|
|
347
|
+
baselineInputTokens: number | null
|
|
348
|
+
baselineCacheCreationTokens: number | null
|
|
349
|
+
baselineCacheReadTokens: number | null
|
|
350
|
+
turns: number | null
|
|
351
|
+
toolCalls: number | null
|
|
352
|
+
contextFingerprint: string | null
|
|
353
|
+
pluginVersion: string | null
|
|
354
|
+
claudeCodeVersion: string | null
|
|
355
|
+
_count: AgentCronRunCountAggregateOutputType | null
|
|
356
|
+
_avg: AgentCronRunAvgAggregateOutputType | null
|
|
357
|
+
_sum: AgentCronRunSumAggregateOutputType | null
|
|
358
|
+
_min: AgentCronRunMinAggregateOutputType | null
|
|
359
|
+
_max: AgentCronRunMaxAggregateOutputType | null
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export type GetAgentCronRunGroupByPayload<T extends AgentCronRunGroupByArgs> = Prisma.PrismaPromise<
|
|
363
|
+
Array<
|
|
364
|
+
Prisma.PickEnumerable<AgentCronRunGroupByOutputType, T['by']> &
|
|
365
|
+
{
|
|
366
|
+
[P in ((keyof T) & (keyof AgentCronRunGroupByOutputType))]: P extends '_count'
|
|
367
|
+
? T[P] extends boolean
|
|
368
|
+
? number
|
|
369
|
+
: Prisma.GetScalarType<T[P], AgentCronRunGroupByOutputType[P]>
|
|
370
|
+
: Prisma.GetScalarType<T[P], AgentCronRunGroupByOutputType[P]>
|
|
371
|
+
}
|
|
372
|
+
>
|
|
373
|
+
>
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
export type AgentCronRunWhereInput = {
|
|
378
|
+
AND?: Prisma.AgentCronRunWhereInput | Prisma.AgentCronRunWhereInput[]
|
|
379
|
+
OR?: Prisma.AgentCronRunWhereInput[]
|
|
380
|
+
NOT?: Prisma.AgentCronRunWhereInput | Prisma.AgentCronRunWhereInput[]
|
|
381
|
+
id?: Prisma.StringFilter<"AgentCronRun"> | string
|
|
382
|
+
cronId?: Prisma.StringFilter<"AgentCronRun"> | string
|
|
383
|
+
agentId?: Prisma.StringFilter<"AgentCronRun"> | string
|
|
384
|
+
startedAt?: Prisma.DateTimeFilter<"AgentCronRun"> | Date | string
|
|
385
|
+
completedAt?: Prisma.DateTimeNullableFilter<"AgentCronRun"> | Date | string | null
|
|
386
|
+
skipped?: Prisma.BoolFilter<"AgentCronRun"> | boolean
|
|
387
|
+
skipReason?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
388
|
+
outcome?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
389
|
+
error?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
390
|
+
itemType?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
391
|
+
itemId?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
392
|
+
commandVariant?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
393
|
+
sessionId?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
394
|
+
lastHeartbeatAt?: Prisma.DateTimeNullableFilter<"AgentCronRun"> | Date | string | null
|
|
395
|
+
createdAt?: Prisma.DateTimeFilter<"AgentCronRun"> | Date | string
|
|
396
|
+
phaseId?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
397
|
+
baselineModel?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
398
|
+
baselineContextTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
399
|
+
baselineInputTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
400
|
+
baselineCacheCreationTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
401
|
+
baselineCacheReadTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
402
|
+
turns?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
403
|
+
toolCalls?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
404
|
+
contextFingerprint?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
405
|
+
pluginVersion?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
406
|
+
claudeCodeVersion?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
407
|
+
cron?: Prisma.XOR<Prisma.AgentCronJobScalarRelationFilter, Prisma.AgentCronJobWhereInput>
|
|
408
|
+
phaseCron?: Prisma.XOR<Prisma.AgentCronJobNullableScalarRelationFilter, Prisma.AgentCronJobWhereInput> | null
|
|
409
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownListRelationFilter
|
|
410
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageListRelationFilter
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export type AgentCronRunOrderByWithRelationInput = {
|
|
414
|
+
id?: Prisma.SortOrder
|
|
415
|
+
cronId?: Prisma.SortOrder
|
|
416
|
+
agentId?: Prisma.SortOrder
|
|
417
|
+
startedAt?: Prisma.SortOrder
|
|
418
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
419
|
+
skipped?: Prisma.SortOrder
|
|
420
|
+
skipReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
421
|
+
outcome?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
422
|
+
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
423
|
+
itemType?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
424
|
+
itemId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
425
|
+
commandVariant?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
426
|
+
sessionId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
427
|
+
lastHeartbeatAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
428
|
+
createdAt?: Prisma.SortOrder
|
|
429
|
+
phaseId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
430
|
+
baselineModel?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
431
|
+
baselineContextTokens?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
432
|
+
baselineInputTokens?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
433
|
+
baselineCacheCreationTokens?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
434
|
+
baselineCacheReadTokens?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
435
|
+
turns?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
436
|
+
toolCalls?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
437
|
+
contextFingerprint?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
438
|
+
pluginVersion?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
439
|
+
claudeCodeVersion?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
440
|
+
cron?: Prisma.AgentCronJobOrderByWithRelationInput
|
|
441
|
+
phaseCron?: Prisma.AgentCronJobOrderByWithRelationInput
|
|
442
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownOrderByRelationAggregateInput
|
|
443
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageOrderByRelationAggregateInput
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export type AgentCronRunWhereUniqueInput = Prisma.AtLeast<{
|
|
447
|
+
id?: string
|
|
448
|
+
AND?: Prisma.AgentCronRunWhereInput | Prisma.AgentCronRunWhereInput[]
|
|
449
|
+
OR?: Prisma.AgentCronRunWhereInput[]
|
|
450
|
+
NOT?: Prisma.AgentCronRunWhereInput | Prisma.AgentCronRunWhereInput[]
|
|
451
|
+
cronId?: Prisma.StringFilter<"AgentCronRun"> | string
|
|
452
|
+
agentId?: Prisma.StringFilter<"AgentCronRun"> | string
|
|
453
|
+
startedAt?: Prisma.DateTimeFilter<"AgentCronRun"> | Date | string
|
|
454
|
+
completedAt?: Prisma.DateTimeNullableFilter<"AgentCronRun"> | Date | string | null
|
|
455
|
+
skipped?: Prisma.BoolFilter<"AgentCronRun"> | boolean
|
|
456
|
+
skipReason?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
457
|
+
outcome?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
458
|
+
error?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
459
|
+
itemType?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
460
|
+
itemId?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
461
|
+
commandVariant?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
462
|
+
sessionId?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
463
|
+
lastHeartbeatAt?: Prisma.DateTimeNullableFilter<"AgentCronRun"> | Date | string | null
|
|
464
|
+
createdAt?: Prisma.DateTimeFilter<"AgentCronRun"> | Date | string
|
|
465
|
+
phaseId?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
466
|
+
baselineModel?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
467
|
+
baselineContextTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
468
|
+
baselineInputTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
469
|
+
baselineCacheCreationTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
470
|
+
baselineCacheReadTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
471
|
+
turns?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
472
|
+
toolCalls?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
473
|
+
contextFingerprint?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
474
|
+
pluginVersion?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
475
|
+
claudeCodeVersion?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
476
|
+
cron?: Prisma.XOR<Prisma.AgentCronJobScalarRelationFilter, Prisma.AgentCronJobWhereInput>
|
|
477
|
+
phaseCron?: Prisma.XOR<Prisma.AgentCronJobNullableScalarRelationFilter, Prisma.AgentCronJobWhereInput> | null
|
|
478
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownListRelationFilter
|
|
479
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageListRelationFilter
|
|
480
|
+
}, "id">
|
|
481
|
+
|
|
482
|
+
export type AgentCronRunOrderByWithAggregationInput = {
|
|
483
|
+
id?: Prisma.SortOrder
|
|
484
|
+
cronId?: Prisma.SortOrder
|
|
485
|
+
agentId?: Prisma.SortOrder
|
|
486
|
+
startedAt?: Prisma.SortOrder
|
|
487
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
488
|
+
skipped?: Prisma.SortOrder
|
|
489
|
+
skipReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
490
|
+
outcome?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
491
|
+
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
492
|
+
itemType?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
493
|
+
itemId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
494
|
+
commandVariant?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
495
|
+
sessionId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
496
|
+
lastHeartbeatAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
497
|
+
createdAt?: Prisma.SortOrder
|
|
498
|
+
phaseId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
499
|
+
baselineModel?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
500
|
+
baselineContextTokens?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
501
|
+
baselineInputTokens?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
502
|
+
baselineCacheCreationTokens?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
503
|
+
baselineCacheReadTokens?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
504
|
+
turns?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
505
|
+
toolCalls?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
506
|
+
contextFingerprint?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
507
|
+
pluginVersion?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
508
|
+
claudeCodeVersion?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
509
|
+
_count?: Prisma.AgentCronRunCountOrderByAggregateInput
|
|
510
|
+
_avg?: Prisma.AgentCronRunAvgOrderByAggregateInput
|
|
511
|
+
_max?: Prisma.AgentCronRunMaxOrderByAggregateInput
|
|
512
|
+
_min?: Prisma.AgentCronRunMinOrderByAggregateInput
|
|
513
|
+
_sum?: Prisma.AgentCronRunSumOrderByAggregateInput
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export type AgentCronRunScalarWhereWithAggregatesInput = {
|
|
517
|
+
AND?: Prisma.AgentCronRunScalarWhereWithAggregatesInput | Prisma.AgentCronRunScalarWhereWithAggregatesInput[]
|
|
518
|
+
OR?: Prisma.AgentCronRunScalarWhereWithAggregatesInput[]
|
|
519
|
+
NOT?: Prisma.AgentCronRunScalarWhereWithAggregatesInput | Prisma.AgentCronRunScalarWhereWithAggregatesInput[]
|
|
520
|
+
id?: Prisma.StringWithAggregatesFilter<"AgentCronRun"> | string
|
|
521
|
+
cronId?: Prisma.StringWithAggregatesFilter<"AgentCronRun"> | string
|
|
522
|
+
agentId?: Prisma.StringWithAggregatesFilter<"AgentCronRun"> | string
|
|
523
|
+
startedAt?: Prisma.DateTimeWithAggregatesFilter<"AgentCronRun"> | Date | string
|
|
524
|
+
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AgentCronRun"> | Date | string | null
|
|
525
|
+
skipped?: Prisma.BoolWithAggregatesFilter<"AgentCronRun"> | boolean
|
|
526
|
+
skipReason?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
527
|
+
outcome?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
528
|
+
error?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
529
|
+
itemType?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
530
|
+
itemId?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
531
|
+
commandVariant?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
532
|
+
sessionId?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
533
|
+
lastHeartbeatAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AgentCronRun"> | Date | string | null
|
|
534
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AgentCronRun"> | Date | string
|
|
535
|
+
phaseId?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
536
|
+
baselineModel?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
537
|
+
baselineContextTokens?: Prisma.IntNullableWithAggregatesFilter<"AgentCronRun"> | number | null
|
|
538
|
+
baselineInputTokens?: Prisma.IntNullableWithAggregatesFilter<"AgentCronRun"> | number | null
|
|
539
|
+
baselineCacheCreationTokens?: Prisma.IntNullableWithAggregatesFilter<"AgentCronRun"> | number | null
|
|
540
|
+
baselineCacheReadTokens?: Prisma.IntNullableWithAggregatesFilter<"AgentCronRun"> | number | null
|
|
541
|
+
turns?: Prisma.IntNullableWithAggregatesFilter<"AgentCronRun"> | number | null
|
|
542
|
+
toolCalls?: Prisma.IntNullableWithAggregatesFilter<"AgentCronRun"> | number | null
|
|
543
|
+
contextFingerprint?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
544
|
+
pluginVersion?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
545
|
+
claudeCodeVersion?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRun"> | string | null
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export type AgentCronRunCreateInput = {
|
|
549
|
+
id?: string
|
|
550
|
+
agentId: string
|
|
551
|
+
startedAt: Date | string
|
|
552
|
+
completedAt?: Date | string | null
|
|
553
|
+
skipped?: boolean
|
|
554
|
+
skipReason?: string | null
|
|
555
|
+
outcome?: string | null
|
|
556
|
+
error?: string | null
|
|
557
|
+
itemType?: string | null
|
|
558
|
+
itemId?: string | null
|
|
559
|
+
commandVariant?: string | null
|
|
560
|
+
sessionId?: string | null
|
|
561
|
+
lastHeartbeatAt?: Date | string | null
|
|
562
|
+
createdAt?: Date | string
|
|
563
|
+
baselineModel?: string | null
|
|
564
|
+
baselineContextTokens?: number | null
|
|
565
|
+
baselineInputTokens?: number | null
|
|
566
|
+
baselineCacheCreationTokens?: number | null
|
|
567
|
+
baselineCacheReadTokens?: number | null
|
|
568
|
+
turns?: number | null
|
|
569
|
+
toolCalls?: number | null
|
|
570
|
+
contextFingerprint?: string | null
|
|
571
|
+
pluginVersion?: string | null
|
|
572
|
+
claudeCodeVersion?: string | null
|
|
573
|
+
cron: Prisma.AgentCronJobCreateNestedOneWithoutRunsInput
|
|
574
|
+
phaseCron?: Prisma.AgentCronJobCreateNestedOneWithoutPhaseRunsInput
|
|
575
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownCreateNestedManyWithoutCronRunInput
|
|
576
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageCreateNestedManyWithoutCronRunInput
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export type AgentCronRunUncheckedCreateInput = {
|
|
580
|
+
id?: string
|
|
581
|
+
cronId: string
|
|
582
|
+
agentId: string
|
|
583
|
+
startedAt: Date | string
|
|
584
|
+
completedAt?: Date | string | null
|
|
585
|
+
skipped?: boolean
|
|
586
|
+
skipReason?: string | null
|
|
587
|
+
outcome?: string | null
|
|
588
|
+
error?: string | null
|
|
589
|
+
itemType?: string | null
|
|
590
|
+
itemId?: string | null
|
|
591
|
+
commandVariant?: string | null
|
|
592
|
+
sessionId?: string | null
|
|
593
|
+
lastHeartbeatAt?: Date | string | null
|
|
594
|
+
createdAt?: Date | string
|
|
595
|
+
phaseId?: string | null
|
|
596
|
+
baselineModel?: string | null
|
|
597
|
+
baselineContextTokens?: number | null
|
|
598
|
+
baselineInputTokens?: number | null
|
|
599
|
+
baselineCacheCreationTokens?: number | null
|
|
600
|
+
baselineCacheReadTokens?: number | null
|
|
601
|
+
turns?: number | null
|
|
602
|
+
toolCalls?: number | null
|
|
603
|
+
contextFingerprint?: string | null
|
|
604
|
+
pluginVersion?: string | null
|
|
605
|
+
claudeCodeVersion?: string | null
|
|
606
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUncheckedCreateNestedManyWithoutCronRunInput
|
|
607
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUncheckedCreateNestedManyWithoutCronRunInput
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
export type AgentCronRunUpdateInput = {
|
|
611
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
612
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
613
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
614
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
615
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
616
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
617
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
618
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
619
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
620
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
621
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
622
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
623
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
624
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
625
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
626
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
627
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
628
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
629
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
630
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
631
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
632
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
633
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
634
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
635
|
+
cron?: Prisma.AgentCronJobUpdateOneRequiredWithoutRunsNestedInput
|
|
636
|
+
phaseCron?: Prisma.AgentCronJobUpdateOneWithoutPhaseRunsNestedInput
|
|
637
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUpdateManyWithoutCronRunNestedInput
|
|
638
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUpdateManyWithoutCronRunNestedInput
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
export type AgentCronRunUncheckedUpdateInput = {
|
|
642
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
643
|
+
cronId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
644
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
645
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
646
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
647
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
648
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
649
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
650
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
651
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
652
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
653
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
654
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
655
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
656
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
657
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
658
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
659
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
660
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
661
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
662
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
663
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
664
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
665
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
666
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
667
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
668
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUncheckedUpdateManyWithoutCronRunNestedInput
|
|
669
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUncheckedUpdateManyWithoutCronRunNestedInput
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export type AgentCronRunCreateManyInput = {
|
|
673
|
+
id?: string
|
|
674
|
+
cronId: string
|
|
675
|
+
agentId: string
|
|
676
|
+
startedAt: Date | string
|
|
677
|
+
completedAt?: Date | string | null
|
|
678
|
+
skipped?: boolean
|
|
679
|
+
skipReason?: string | null
|
|
680
|
+
outcome?: string | null
|
|
681
|
+
error?: string | null
|
|
682
|
+
itemType?: string | null
|
|
683
|
+
itemId?: string | null
|
|
684
|
+
commandVariant?: string | null
|
|
685
|
+
sessionId?: string | null
|
|
686
|
+
lastHeartbeatAt?: Date | string | null
|
|
687
|
+
createdAt?: Date | string
|
|
688
|
+
phaseId?: string | null
|
|
689
|
+
baselineModel?: string | null
|
|
690
|
+
baselineContextTokens?: number | null
|
|
691
|
+
baselineInputTokens?: number | null
|
|
692
|
+
baselineCacheCreationTokens?: number | null
|
|
693
|
+
baselineCacheReadTokens?: number | null
|
|
694
|
+
turns?: number | null
|
|
695
|
+
toolCalls?: number | null
|
|
696
|
+
contextFingerprint?: string | null
|
|
697
|
+
pluginVersion?: string | null
|
|
698
|
+
claudeCodeVersion?: string | null
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
export type AgentCronRunUpdateManyMutationInput = {
|
|
702
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
703
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
704
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
705
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
706
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
707
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
708
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
709
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
710
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
711
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
712
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
713
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
714
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
715
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
716
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
717
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
718
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
719
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
720
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
721
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
722
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
723
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
724
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
725
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
export type AgentCronRunUncheckedUpdateManyInput = {
|
|
729
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
730
|
+
cronId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
731
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
732
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
733
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
734
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
735
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
736
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
737
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
738
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
739
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
740
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
741
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
742
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
743
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
744
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
745
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
746
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
747
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
748
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
749
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
750
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
751
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
752
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
753
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
754
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
export type AgentCronRunListRelationFilter = {
|
|
758
|
+
every?: Prisma.AgentCronRunWhereInput
|
|
759
|
+
some?: Prisma.AgentCronRunWhereInput
|
|
760
|
+
none?: Prisma.AgentCronRunWhereInput
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
export type AgentCronRunOrderByRelationAggregateInput = {
|
|
764
|
+
_count?: Prisma.SortOrder
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
export type AgentCronRunCountOrderByAggregateInput = {
|
|
768
|
+
id?: Prisma.SortOrder
|
|
769
|
+
cronId?: Prisma.SortOrder
|
|
770
|
+
agentId?: Prisma.SortOrder
|
|
771
|
+
startedAt?: Prisma.SortOrder
|
|
772
|
+
completedAt?: Prisma.SortOrder
|
|
773
|
+
skipped?: Prisma.SortOrder
|
|
774
|
+
skipReason?: Prisma.SortOrder
|
|
775
|
+
outcome?: Prisma.SortOrder
|
|
776
|
+
error?: Prisma.SortOrder
|
|
777
|
+
itemType?: Prisma.SortOrder
|
|
778
|
+
itemId?: Prisma.SortOrder
|
|
779
|
+
commandVariant?: Prisma.SortOrder
|
|
780
|
+
sessionId?: Prisma.SortOrder
|
|
781
|
+
lastHeartbeatAt?: Prisma.SortOrder
|
|
782
|
+
createdAt?: Prisma.SortOrder
|
|
783
|
+
phaseId?: Prisma.SortOrder
|
|
784
|
+
baselineModel?: Prisma.SortOrder
|
|
785
|
+
baselineContextTokens?: Prisma.SortOrder
|
|
786
|
+
baselineInputTokens?: Prisma.SortOrder
|
|
787
|
+
baselineCacheCreationTokens?: Prisma.SortOrder
|
|
788
|
+
baselineCacheReadTokens?: Prisma.SortOrder
|
|
789
|
+
turns?: Prisma.SortOrder
|
|
790
|
+
toolCalls?: Prisma.SortOrder
|
|
791
|
+
contextFingerprint?: Prisma.SortOrder
|
|
792
|
+
pluginVersion?: Prisma.SortOrder
|
|
793
|
+
claudeCodeVersion?: Prisma.SortOrder
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
export type AgentCronRunAvgOrderByAggregateInput = {
|
|
797
|
+
baselineContextTokens?: Prisma.SortOrder
|
|
798
|
+
baselineInputTokens?: Prisma.SortOrder
|
|
799
|
+
baselineCacheCreationTokens?: Prisma.SortOrder
|
|
800
|
+
baselineCacheReadTokens?: Prisma.SortOrder
|
|
801
|
+
turns?: Prisma.SortOrder
|
|
802
|
+
toolCalls?: Prisma.SortOrder
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
export type AgentCronRunMaxOrderByAggregateInput = {
|
|
806
|
+
id?: Prisma.SortOrder
|
|
807
|
+
cronId?: Prisma.SortOrder
|
|
808
|
+
agentId?: Prisma.SortOrder
|
|
809
|
+
startedAt?: Prisma.SortOrder
|
|
810
|
+
completedAt?: Prisma.SortOrder
|
|
811
|
+
skipped?: Prisma.SortOrder
|
|
812
|
+
skipReason?: Prisma.SortOrder
|
|
813
|
+
outcome?: Prisma.SortOrder
|
|
814
|
+
error?: Prisma.SortOrder
|
|
815
|
+
itemType?: Prisma.SortOrder
|
|
816
|
+
itemId?: Prisma.SortOrder
|
|
817
|
+
commandVariant?: Prisma.SortOrder
|
|
818
|
+
sessionId?: Prisma.SortOrder
|
|
819
|
+
lastHeartbeatAt?: Prisma.SortOrder
|
|
820
|
+
createdAt?: Prisma.SortOrder
|
|
821
|
+
phaseId?: Prisma.SortOrder
|
|
822
|
+
baselineModel?: Prisma.SortOrder
|
|
823
|
+
baselineContextTokens?: Prisma.SortOrder
|
|
824
|
+
baselineInputTokens?: Prisma.SortOrder
|
|
825
|
+
baselineCacheCreationTokens?: Prisma.SortOrder
|
|
826
|
+
baselineCacheReadTokens?: Prisma.SortOrder
|
|
827
|
+
turns?: Prisma.SortOrder
|
|
828
|
+
toolCalls?: Prisma.SortOrder
|
|
829
|
+
contextFingerprint?: Prisma.SortOrder
|
|
830
|
+
pluginVersion?: Prisma.SortOrder
|
|
831
|
+
claudeCodeVersion?: Prisma.SortOrder
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
export type AgentCronRunMinOrderByAggregateInput = {
|
|
835
|
+
id?: Prisma.SortOrder
|
|
836
|
+
cronId?: Prisma.SortOrder
|
|
837
|
+
agentId?: Prisma.SortOrder
|
|
838
|
+
startedAt?: Prisma.SortOrder
|
|
839
|
+
completedAt?: Prisma.SortOrder
|
|
840
|
+
skipped?: Prisma.SortOrder
|
|
841
|
+
skipReason?: Prisma.SortOrder
|
|
842
|
+
outcome?: Prisma.SortOrder
|
|
843
|
+
error?: Prisma.SortOrder
|
|
844
|
+
itemType?: Prisma.SortOrder
|
|
845
|
+
itemId?: Prisma.SortOrder
|
|
846
|
+
commandVariant?: Prisma.SortOrder
|
|
847
|
+
sessionId?: Prisma.SortOrder
|
|
848
|
+
lastHeartbeatAt?: Prisma.SortOrder
|
|
849
|
+
createdAt?: Prisma.SortOrder
|
|
850
|
+
phaseId?: Prisma.SortOrder
|
|
851
|
+
baselineModel?: Prisma.SortOrder
|
|
852
|
+
baselineContextTokens?: Prisma.SortOrder
|
|
853
|
+
baselineInputTokens?: Prisma.SortOrder
|
|
854
|
+
baselineCacheCreationTokens?: Prisma.SortOrder
|
|
855
|
+
baselineCacheReadTokens?: Prisma.SortOrder
|
|
856
|
+
turns?: Prisma.SortOrder
|
|
857
|
+
toolCalls?: Prisma.SortOrder
|
|
858
|
+
contextFingerprint?: Prisma.SortOrder
|
|
859
|
+
pluginVersion?: Prisma.SortOrder
|
|
860
|
+
claudeCodeVersion?: Prisma.SortOrder
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export type AgentCronRunSumOrderByAggregateInput = {
|
|
864
|
+
baselineContextTokens?: Prisma.SortOrder
|
|
865
|
+
baselineInputTokens?: Prisma.SortOrder
|
|
866
|
+
baselineCacheCreationTokens?: Prisma.SortOrder
|
|
867
|
+
baselineCacheReadTokens?: Prisma.SortOrder
|
|
868
|
+
turns?: Prisma.SortOrder
|
|
869
|
+
toolCalls?: Prisma.SortOrder
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
export type AgentCronRunScalarRelationFilter = {
|
|
873
|
+
is?: Prisma.AgentCronRunWhereInput
|
|
874
|
+
isNot?: Prisma.AgentCronRunWhereInput
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
export type AgentCronRunCreateNestedManyWithoutCronInput = {
|
|
878
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutCronInput, Prisma.AgentCronRunUncheckedCreateWithoutCronInput> | Prisma.AgentCronRunCreateWithoutCronInput[] | Prisma.AgentCronRunUncheckedCreateWithoutCronInput[]
|
|
879
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutCronInput | Prisma.AgentCronRunCreateOrConnectWithoutCronInput[]
|
|
880
|
+
createMany?: Prisma.AgentCronRunCreateManyCronInputEnvelope
|
|
881
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
export type AgentCronRunCreateNestedManyWithoutPhaseCronInput = {
|
|
885
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutPhaseCronInput, Prisma.AgentCronRunUncheckedCreateWithoutPhaseCronInput> | Prisma.AgentCronRunCreateWithoutPhaseCronInput[] | Prisma.AgentCronRunUncheckedCreateWithoutPhaseCronInput[]
|
|
886
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutPhaseCronInput | Prisma.AgentCronRunCreateOrConnectWithoutPhaseCronInput[]
|
|
887
|
+
createMany?: Prisma.AgentCronRunCreateManyPhaseCronInputEnvelope
|
|
888
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
export type AgentCronRunUncheckedCreateNestedManyWithoutCronInput = {
|
|
892
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutCronInput, Prisma.AgentCronRunUncheckedCreateWithoutCronInput> | Prisma.AgentCronRunCreateWithoutCronInput[] | Prisma.AgentCronRunUncheckedCreateWithoutCronInput[]
|
|
893
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutCronInput | Prisma.AgentCronRunCreateOrConnectWithoutCronInput[]
|
|
894
|
+
createMany?: Prisma.AgentCronRunCreateManyCronInputEnvelope
|
|
895
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
export type AgentCronRunUncheckedCreateNestedManyWithoutPhaseCronInput = {
|
|
899
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutPhaseCronInput, Prisma.AgentCronRunUncheckedCreateWithoutPhaseCronInput> | Prisma.AgentCronRunCreateWithoutPhaseCronInput[] | Prisma.AgentCronRunUncheckedCreateWithoutPhaseCronInput[]
|
|
900
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutPhaseCronInput | Prisma.AgentCronRunCreateOrConnectWithoutPhaseCronInput[]
|
|
901
|
+
createMany?: Prisma.AgentCronRunCreateManyPhaseCronInputEnvelope
|
|
902
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
export type AgentCronRunUpdateManyWithoutCronNestedInput = {
|
|
906
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutCronInput, Prisma.AgentCronRunUncheckedCreateWithoutCronInput> | Prisma.AgentCronRunCreateWithoutCronInput[] | Prisma.AgentCronRunUncheckedCreateWithoutCronInput[]
|
|
907
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutCronInput | Prisma.AgentCronRunCreateOrConnectWithoutCronInput[]
|
|
908
|
+
upsert?: Prisma.AgentCronRunUpsertWithWhereUniqueWithoutCronInput | Prisma.AgentCronRunUpsertWithWhereUniqueWithoutCronInput[]
|
|
909
|
+
createMany?: Prisma.AgentCronRunCreateManyCronInputEnvelope
|
|
910
|
+
set?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
911
|
+
disconnect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
912
|
+
delete?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
913
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
914
|
+
update?: Prisma.AgentCronRunUpdateWithWhereUniqueWithoutCronInput | Prisma.AgentCronRunUpdateWithWhereUniqueWithoutCronInput[]
|
|
915
|
+
updateMany?: Prisma.AgentCronRunUpdateManyWithWhereWithoutCronInput | Prisma.AgentCronRunUpdateManyWithWhereWithoutCronInput[]
|
|
916
|
+
deleteMany?: Prisma.AgentCronRunScalarWhereInput | Prisma.AgentCronRunScalarWhereInput[]
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
export type AgentCronRunUpdateManyWithoutPhaseCronNestedInput = {
|
|
920
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutPhaseCronInput, Prisma.AgentCronRunUncheckedCreateWithoutPhaseCronInput> | Prisma.AgentCronRunCreateWithoutPhaseCronInput[] | Prisma.AgentCronRunUncheckedCreateWithoutPhaseCronInput[]
|
|
921
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutPhaseCronInput | Prisma.AgentCronRunCreateOrConnectWithoutPhaseCronInput[]
|
|
922
|
+
upsert?: Prisma.AgentCronRunUpsertWithWhereUniqueWithoutPhaseCronInput | Prisma.AgentCronRunUpsertWithWhereUniqueWithoutPhaseCronInput[]
|
|
923
|
+
createMany?: Prisma.AgentCronRunCreateManyPhaseCronInputEnvelope
|
|
924
|
+
set?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
925
|
+
disconnect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
926
|
+
delete?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
927
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
928
|
+
update?: Prisma.AgentCronRunUpdateWithWhereUniqueWithoutPhaseCronInput | Prisma.AgentCronRunUpdateWithWhereUniqueWithoutPhaseCronInput[]
|
|
929
|
+
updateMany?: Prisma.AgentCronRunUpdateManyWithWhereWithoutPhaseCronInput | Prisma.AgentCronRunUpdateManyWithWhereWithoutPhaseCronInput[]
|
|
930
|
+
deleteMany?: Prisma.AgentCronRunScalarWhereInput | Prisma.AgentCronRunScalarWhereInput[]
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
export type AgentCronRunUncheckedUpdateManyWithoutCronNestedInput = {
|
|
934
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutCronInput, Prisma.AgentCronRunUncheckedCreateWithoutCronInput> | Prisma.AgentCronRunCreateWithoutCronInput[] | Prisma.AgentCronRunUncheckedCreateWithoutCronInput[]
|
|
935
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutCronInput | Prisma.AgentCronRunCreateOrConnectWithoutCronInput[]
|
|
936
|
+
upsert?: Prisma.AgentCronRunUpsertWithWhereUniqueWithoutCronInput | Prisma.AgentCronRunUpsertWithWhereUniqueWithoutCronInput[]
|
|
937
|
+
createMany?: Prisma.AgentCronRunCreateManyCronInputEnvelope
|
|
938
|
+
set?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
939
|
+
disconnect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
940
|
+
delete?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
941
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
942
|
+
update?: Prisma.AgentCronRunUpdateWithWhereUniqueWithoutCronInput | Prisma.AgentCronRunUpdateWithWhereUniqueWithoutCronInput[]
|
|
943
|
+
updateMany?: Prisma.AgentCronRunUpdateManyWithWhereWithoutCronInput | Prisma.AgentCronRunUpdateManyWithWhereWithoutCronInput[]
|
|
944
|
+
deleteMany?: Prisma.AgentCronRunScalarWhereInput | Prisma.AgentCronRunScalarWhereInput[]
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
export type AgentCronRunUncheckedUpdateManyWithoutPhaseCronNestedInput = {
|
|
948
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutPhaseCronInput, Prisma.AgentCronRunUncheckedCreateWithoutPhaseCronInput> | Prisma.AgentCronRunCreateWithoutPhaseCronInput[] | Prisma.AgentCronRunUncheckedCreateWithoutPhaseCronInput[]
|
|
949
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutPhaseCronInput | Prisma.AgentCronRunCreateOrConnectWithoutPhaseCronInput[]
|
|
950
|
+
upsert?: Prisma.AgentCronRunUpsertWithWhereUniqueWithoutPhaseCronInput | Prisma.AgentCronRunUpsertWithWhereUniqueWithoutPhaseCronInput[]
|
|
951
|
+
createMany?: Prisma.AgentCronRunCreateManyPhaseCronInputEnvelope
|
|
952
|
+
set?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
953
|
+
disconnect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
954
|
+
delete?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
955
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput | Prisma.AgentCronRunWhereUniqueInput[]
|
|
956
|
+
update?: Prisma.AgentCronRunUpdateWithWhereUniqueWithoutPhaseCronInput | Prisma.AgentCronRunUpdateWithWhereUniqueWithoutPhaseCronInput[]
|
|
957
|
+
updateMany?: Prisma.AgentCronRunUpdateManyWithWhereWithoutPhaseCronInput | Prisma.AgentCronRunUpdateManyWithWhereWithoutPhaseCronInput[]
|
|
958
|
+
deleteMany?: Prisma.AgentCronRunScalarWhereInput | Prisma.AgentCronRunScalarWhereInput[]
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
export type NullableIntFieldUpdateOperationsInput = {
|
|
962
|
+
set?: number | null
|
|
963
|
+
increment?: number
|
|
964
|
+
decrement?: number
|
|
965
|
+
multiply?: number
|
|
966
|
+
divide?: number
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
export type AgentCronRunCreateNestedOneWithoutSkillUsageInput = {
|
|
970
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutSkillUsageInput, Prisma.AgentCronRunUncheckedCreateWithoutSkillUsageInput>
|
|
971
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutSkillUsageInput
|
|
972
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
export type AgentCronRunUpdateOneRequiredWithoutSkillUsageNestedInput = {
|
|
976
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutSkillUsageInput, Prisma.AgentCronRunUncheckedCreateWithoutSkillUsageInput>
|
|
977
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutSkillUsageInput
|
|
978
|
+
upsert?: Prisma.AgentCronRunUpsertWithoutSkillUsageInput
|
|
979
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput
|
|
980
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AgentCronRunUpdateToOneWithWhereWithoutSkillUsageInput, Prisma.AgentCronRunUpdateWithoutSkillUsageInput>, Prisma.AgentCronRunUncheckedUpdateWithoutSkillUsageInput>
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
export type AgentCronRunCreateNestedOneWithoutModelBreakdownInput = {
|
|
984
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutModelBreakdownInput, Prisma.AgentCronRunUncheckedCreateWithoutModelBreakdownInput>
|
|
985
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutModelBreakdownInput
|
|
986
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
export type AgentCronRunUpdateOneRequiredWithoutModelBreakdownNestedInput = {
|
|
990
|
+
create?: Prisma.XOR<Prisma.AgentCronRunCreateWithoutModelBreakdownInput, Prisma.AgentCronRunUncheckedCreateWithoutModelBreakdownInput>
|
|
991
|
+
connectOrCreate?: Prisma.AgentCronRunCreateOrConnectWithoutModelBreakdownInput
|
|
992
|
+
upsert?: Prisma.AgentCronRunUpsertWithoutModelBreakdownInput
|
|
993
|
+
connect?: Prisma.AgentCronRunWhereUniqueInput
|
|
994
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AgentCronRunUpdateToOneWithWhereWithoutModelBreakdownInput, Prisma.AgentCronRunUpdateWithoutModelBreakdownInput>, Prisma.AgentCronRunUncheckedUpdateWithoutModelBreakdownInput>
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
export type AgentCronRunCreateWithoutCronInput = {
|
|
998
|
+
id?: string
|
|
999
|
+
agentId: string
|
|
1000
|
+
startedAt: Date | string
|
|
1001
|
+
completedAt?: Date | string | null
|
|
1002
|
+
skipped?: boolean
|
|
1003
|
+
skipReason?: string | null
|
|
1004
|
+
outcome?: string | null
|
|
1005
|
+
error?: string | null
|
|
1006
|
+
itemType?: string | null
|
|
1007
|
+
itemId?: string | null
|
|
1008
|
+
commandVariant?: string | null
|
|
1009
|
+
sessionId?: string | null
|
|
1010
|
+
lastHeartbeatAt?: Date | string | null
|
|
1011
|
+
createdAt?: Date | string
|
|
1012
|
+
baselineModel?: string | null
|
|
1013
|
+
baselineContextTokens?: number | null
|
|
1014
|
+
baselineInputTokens?: number | null
|
|
1015
|
+
baselineCacheCreationTokens?: number | null
|
|
1016
|
+
baselineCacheReadTokens?: number | null
|
|
1017
|
+
turns?: number | null
|
|
1018
|
+
toolCalls?: number | null
|
|
1019
|
+
contextFingerprint?: string | null
|
|
1020
|
+
pluginVersion?: string | null
|
|
1021
|
+
claudeCodeVersion?: string | null
|
|
1022
|
+
phaseCron?: Prisma.AgentCronJobCreateNestedOneWithoutPhaseRunsInput
|
|
1023
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownCreateNestedManyWithoutCronRunInput
|
|
1024
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageCreateNestedManyWithoutCronRunInput
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
export type AgentCronRunUncheckedCreateWithoutCronInput = {
|
|
1028
|
+
id?: string
|
|
1029
|
+
agentId: string
|
|
1030
|
+
startedAt: Date | string
|
|
1031
|
+
completedAt?: Date | string | null
|
|
1032
|
+
skipped?: boolean
|
|
1033
|
+
skipReason?: string | null
|
|
1034
|
+
outcome?: string | null
|
|
1035
|
+
error?: string | null
|
|
1036
|
+
itemType?: string | null
|
|
1037
|
+
itemId?: string | null
|
|
1038
|
+
commandVariant?: string | null
|
|
1039
|
+
sessionId?: string | null
|
|
1040
|
+
lastHeartbeatAt?: Date | string | null
|
|
1041
|
+
createdAt?: Date | string
|
|
1042
|
+
phaseId?: string | null
|
|
1043
|
+
baselineModel?: string | null
|
|
1044
|
+
baselineContextTokens?: number | null
|
|
1045
|
+
baselineInputTokens?: number | null
|
|
1046
|
+
baselineCacheCreationTokens?: number | null
|
|
1047
|
+
baselineCacheReadTokens?: number | null
|
|
1048
|
+
turns?: number | null
|
|
1049
|
+
toolCalls?: number | null
|
|
1050
|
+
contextFingerprint?: string | null
|
|
1051
|
+
pluginVersion?: string | null
|
|
1052
|
+
claudeCodeVersion?: string | null
|
|
1053
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUncheckedCreateNestedManyWithoutCronRunInput
|
|
1054
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUncheckedCreateNestedManyWithoutCronRunInput
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
export type AgentCronRunCreateOrConnectWithoutCronInput = {
|
|
1058
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
1059
|
+
create: Prisma.XOR<Prisma.AgentCronRunCreateWithoutCronInput, Prisma.AgentCronRunUncheckedCreateWithoutCronInput>
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
export type AgentCronRunCreateManyCronInputEnvelope = {
|
|
1063
|
+
data: Prisma.AgentCronRunCreateManyCronInput | Prisma.AgentCronRunCreateManyCronInput[]
|
|
1064
|
+
skipDuplicates?: boolean
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
export type AgentCronRunCreateWithoutPhaseCronInput = {
|
|
1068
|
+
id?: string
|
|
1069
|
+
agentId: string
|
|
1070
|
+
startedAt: Date | string
|
|
1071
|
+
completedAt?: Date | string | null
|
|
1072
|
+
skipped?: boolean
|
|
1073
|
+
skipReason?: string | null
|
|
1074
|
+
outcome?: string | null
|
|
1075
|
+
error?: string | null
|
|
1076
|
+
itemType?: string | null
|
|
1077
|
+
itemId?: string | null
|
|
1078
|
+
commandVariant?: string | null
|
|
1079
|
+
sessionId?: string | null
|
|
1080
|
+
lastHeartbeatAt?: Date | string | null
|
|
1081
|
+
createdAt?: Date | string
|
|
1082
|
+
baselineModel?: string | null
|
|
1083
|
+
baselineContextTokens?: number | null
|
|
1084
|
+
baselineInputTokens?: number | null
|
|
1085
|
+
baselineCacheCreationTokens?: number | null
|
|
1086
|
+
baselineCacheReadTokens?: number | null
|
|
1087
|
+
turns?: number | null
|
|
1088
|
+
toolCalls?: number | null
|
|
1089
|
+
contextFingerprint?: string | null
|
|
1090
|
+
pluginVersion?: string | null
|
|
1091
|
+
claudeCodeVersion?: string | null
|
|
1092
|
+
cron: Prisma.AgentCronJobCreateNestedOneWithoutRunsInput
|
|
1093
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownCreateNestedManyWithoutCronRunInput
|
|
1094
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageCreateNestedManyWithoutCronRunInput
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
export type AgentCronRunUncheckedCreateWithoutPhaseCronInput = {
|
|
1098
|
+
id?: string
|
|
1099
|
+
cronId: string
|
|
1100
|
+
agentId: string
|
|
1101
|
+
startedAt: Date | string
|
|
1102
|
+
completedAt?: Date | string | null
|
|
1103
|
+
skipped?: boolean
|
|
1104
|
+
skipReason?: string | null
|
|
1105
|
+
outcome?: string | null
|
|
1106
|
+
error?: string | null
|
|
1107
|
+
itemType?: string | null
|
|
1108
|
+
itemId?: string | null
|
|
1109
|
+
commandVariant?: string | null
|
|
1110
|
+
sessionId?: string | null
|
|
1111
|
+
lastHeartbeatAt?: Date | string | null
|
|
1112
|
+
createdAt?: Date | string
|
|
1113
|
+
baselineModel?: string | null
|
|
1114
|
+
baselineContextTokens?: number | null
|
|
1115
|
+
baselineInputTokens?: number | null
|
|
1116
|
+
baselineCacheCreationTokens?: number | null
|
|
1117
|
+
baselineCacheReadTokens?: number | null
|
|
1118
|
+
turns?: number | null
|
|
1119
|
+
toolCalls?: number | null
|
|
1120
|
+
contextFingerprint?: string | null
|
|
1121
|
+
pluginVersion?: string | null
|
|
1122
|
+
claudeCodeVersion?: string | null
|
|
1123
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUncheckedCreateNestedManyWithoutCronRunInput
|
|
1124
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUncheckedCreateNestedManyWithoutCronRunInput
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
export type AgentCronRunCreateOrConnectWithoutPhaseCronInput = {
|
|
1128
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
1129
|
+
create: Prisma.XOR<Prisma.AgentCronRunCreateWithoutPhaseCronInput, Prisma.AgentCronRunUncheckedCreateWithoutPhaseCronInput>
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
export type AgentCronRunCreateManyPhaseCronInputEnvelope = {
|
|
1133
|
+
data: Prisma.AgentCronRunCreateManyPhaseCronInput | Prisma.AgentCronRunCreateManyPhaseCronInput[]
|
|
1134
|
+
skipDuplicates?: boolean
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
export type AgentCronRunUpsertWithWhereUniqueWithoutCronInput = {
|
|
1138
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
1139
|
+
update: Prisma.XOR<Prisma.AgentCronRunUpdateWithoutCronInput, Prisma.AgentCronRunUncheckedUpdateWithoutCronInput>
|
|
1140
|
+
create: Prisma.XOR<Prisma.AgentCronRunCreateWithoutCronInput, Prisma.AgentCronRunUncheckedCreateWithoutCronInput>
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
export type AgentCronRunUpdateWithWhereUniqueWithoutCronInput = {
|
|
1144
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
1145
|
+
data: Prisma.XOR<Prisma.AgentCronRunUpdateWithoutCronInput, Prisma.AgentCronRunUncheckedUpdateWithoutCronInput>
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
export type AgentCronRunUpdateManyWithWhereWithoutCronInput = {
|
|
1149
|
+
where: Prisma.AgentCronRunScalarWhereInput
|
|
1150
|
+
data: Prisma.XOR<Prisma.AgentCronRunUpdateManyMutationInput, Prisma.AgentCronRunUncheckedUpdateManyWithoutCronInput>
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
export type AgentCronRunScalarWhereInput = {
|
|
1154
|
+
AND?: Prisma.AgentCronRunScalarWhereInput | Prisma.AgentCronRunScalarWhereInput[]
|
|
1155
|
+
OR?: Prisma.AgentCronRunScalarWhereInput[]
|
|
1156
|
+
NOT?: Prisma.AgentCronRunScalarWhereInput | Prisma.AgentCronRunScalarWhereInput[]
|
|
1157
|
+
id?: Prisma.StringFilter<"AgentCronRun"> | string
|
|
1158
|
+
cronId?: Prisma.StringFilter<"AgentCronRun"> | string
|
|
1159
|
+
agentId?: Prisma.StringFilter<"AgentCronRun"> | string
|
|
1160
|
+
startedAt?: Prisma.DateTimeFilter<"AgentCronRun"> | Date | string
|
|
1161
|
+
completedAt?: Prisma.DateTimeNullableFilter<"AgentCronRun"> | Date | string | null
|
|
1162
|
+
skipped?: Prisma.BoolFilter<"AgentCronRun"> | boolean
|
|
1163
|
+
skipReason?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1164
|
+
outcome?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1165
|
+
error?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1166
|
+
itemType?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1167
|
+
itemId?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1168
|
+
commandVariant?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1169
|
+
sessionId?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1170
|
+
lastHeartbeatAt?: Prisma.DateTimeNullableFilter<"AgentCronRun"> | Date | string | null
|
|
1171
|
+
createdAt?: Prisma.DateTimeFilter<"AgentCronRun"> | Date | string
|
|
1172
|
+
phaseId?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1173
|
+
baselineModel?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1174
|
+
baselineContextTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
1175
|
+
baselineInputTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
1176
|
+
baselineCacheCreationTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
1177
|
+
baselineCacheReadTokens?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
1178
|
+
turns?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
1179
|
+
toolCalls?: Prisma.IntNullableFilter<"AgentCronRun"> | number | null
|
|
1180
|
+
contextFingerprint?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1181
|
+
pluginVersion?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1182
|
+
claudeCodeVersion?: Prisma.StringNullableFilter<"AgentCronRun"> | string | null
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
export type AgentCronRunUpsertWithWhereUniqueWithoutPhaseCronInput = {
|
|
1186
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
1187
|
+
update: Prisma.XOR<Prisma.AgentCronRunUpdateWithoutPhaseCronInput, Prisma.AgentCronRunUncheckedUpdateWithoutPhaseCronInput>
|
|
1188
|
+
create: Prisma.XOR<Prisma.AgentCronRunCreateWithoutPhaseCronInput, Prisma.AgentCronRunUncheckedCreateWithoutPhaseCronInput>
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
export type AgentCronRunUpdateWithWhereUniqueWithoutPhaseCronInput = {
|
|
1192
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
1193
|
+
data: Prisma.XOR<Prisma.AgentCronRunUpdateWithoutPhaseCronInput, Prisma.AgentCronRunUncheckedUpdateWithoutPhaseCronInput>
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
export type AgentCronRunUpdateManyWithWhereWithoutPhaseCronInput = {
|
|
1197
|
+
where: Prisma.AgentCronRunScalarWhereInput
|
|
1198
|
+
data: Prisma.XOR<Prisma.AgentCronRunUpdateManyMutationInput, Prisma.AgentCronRunUncheckedUpdateManyWithoutPhaseCronInput>
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
export type AgentCronRunCreateWithoutSkillUsageInput = {
|
|
1202
|
+
id?: string
|
|
1203
|
+
agentId: string
|
|
1204
|
+
startedAt: Date | string
|
|
1205
|
+
completedAt?: Date | string | null
|
|
1206
|
+
skipped?: boolean
|
|
1207
|
+
skipReason?: string | null
|
|
1208
|
+
outcome?: string | null
|
|
1209
|
+
error?: string | null
|
|
1210
|
+
itemType?: string | null
|
|
1211
|
+
itemId?: string | null
|
|
1212
|
+
commandVariant?: string | null
|
|
1213
|
+
sessionId?: string | null
|
|
1214
|
+
lastHeartbeatAt?: Date | string | null
|
|
1215
|
+
createdAt?: Date | string
|
|
1216
|
+
baselineModel?: string | null
|
|
1217
|
+
baselineContextTokens?: number | null
|
|
1218
|
+
baselineInputTokens?: number | null
|
|
1219
|
+
baselineCacheCreationTokens?: number | null
|
|
1220
|
+
baselineCacheReadTokens?: number | null
|
|
1221
|
+
turns?: number | null
|
|
1222
|
+
toolCalls?: number | null
|
|
1223
|
+
contextFingerprint?: string | null
|
|
1224
|
+
pluginVersion?: string | null
|
|
1225
|
+
claudeCodeVersion?: string | null
|
|
1226
|
+
cron: Prisma.AgentCronJobCreateNestedOneWithoutRunsInput
|
|
1227
|
+
phaseCron?: Prisma.AgentCronJobCreateNestedOneWithoutPhaseRunsInput
|
|
1228
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownCreateNestedManyWithoutCronRunInput
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
export type AgentCronRunUncheckedCreateWithoutSkillUsageInput = {
|
|
1232
|
+
id?: string
|
|
1233
|
+
cronId: string
|
|
1234
|
+
agentId: string
|
|
1235
|
+
startedAt: Date | string
|
|
1236
|
+
completedAt?: Date | string | null
|
|
1237
|
+
skipped?: boolean
|
|
1238
|
+
skipReason?: string | null
|
|
1239
|
+
outcome?: string | null
|
|
1240
|
+
error?: string | null
|
|
1241
|
+
itemType?: string | null
|
|
1242
|
+
itemId?: string | null
|
|
1243
|
+
commandVariant?: string | null
|
|
1244
|
+
sessionId?: string | null
|
|
1245
|
+
lastHeartbeatAt?: Date | string | null
|
|
1246
|
+
createdAt?: Date | string
|
|
1247
|
+
phaseId?: string | null
|
|
1248
|
+
baselineModel?: string | null
|
|
1249
|
+
baselineContextTokens?: number | null
|
|
1250
|
+
baselineInputTokens?: number | null
|
|
1251
|
+
baselineCacheCreationTokens?: number | null
|
|
1252
|
+
baselineCacheReadTokens?: number | null
|
|
1253
|
+
turns?: number | null
|
|
1254
|
+
toolCalls?: number | null
|
|
1255
|
+
contextFingerprint?: string | null
|
|
1256
|
+
pluginVersion?: string | null
|
|
1257
|
+
claudeCodeVersion?: string | null
|
|
1258
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUncheckedCreateNestedManyWithoutCronRunInput
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
export type AgentCronRunCreateOrConnectWithoutSkillUsageInput = {
|
|
1262
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
1263
|
+
create: Prisma.XOR<Prisma.AgentCronRunCreateWithoutSkillUsageInput, Prisma.AgentCronRunUncheckedCreateWithoutSkillUsageInput>
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
export type AgentCronRunUpsertWithoutSkillUsageInput = {
|
|
1267
|
+
update: Prisma.XOR<Prisma.AgentCronRunUpdateWithoutSkillUsageInput, Prisma.AgentCronRunUncheckedUpdateWithoutSkillUsageInput>
|
|
1268
|
+
create: Prisma.XOR<Prisma.AgentCronRunCreateWithoutSkillUsageInput, Prisma.AgentCronRunUncheckedCreateWithoutSkillUsageInput>
|
|
1269
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
export type AgentCronRunUpdateToOneWithWhereWithoutSkillUsageInput = {
|
|
1273
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
1274
|
+
data: Prisma.XOR<Prisma.AgentCronRunUpdateWithoutSkillUsageInput, Prisma.AgentCronRunUncheckedUpdateWithoutSkillUsageInput>
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
export type AgentCronRunUpdateWithoutSkillUsageInput = {
|
|
1278
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1279
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1280
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1281
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1282
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1283
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1284
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1285
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1286
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1287
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1288
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1289
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1290
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1291
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1292
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1293
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1294
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1295
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1296
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1297
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1298
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1299
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1300
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1301
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1302
|
+
cron?: Prisma.AgentCronJobUpdateOneRequiredWithoutRunsNestedInput
|
|
1303
|
+
phaseCron?: Prisma.AgentCronJobUpdateOneWithoutPhaseRunsNestedInput
|
|
1304
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUpdateManyWithoutCronRunNestedInput
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
export type AgentCronRunUncheckedUpdateWithoutSkillUsageInput = {
|
|
1308
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1309
|
+
cronId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1310
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1311
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1312
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1313
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1314
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1315
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1316
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1317
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1318
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1319
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1320
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1321
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1322
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1323
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1324
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1325
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1326
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1327
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1328
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1329
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1330
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1331
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1332
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1333
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1334
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUncheckedUpdateManyWithoutCronRunNestedInput
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
export type AgentCronRunCreateWithoutModelBreakdownInput = {
|
|
1338
|
+
id?: string
|
|
1339
|
+
agentId: string
|
|
1340
|
+
startedAt: Date | string
|
|
1341
|
+
completedAt?: Date | string | null
|
|
1342
|
+
skipped?: boolean
|
|
1343
|
+
skipReason?: string | null
|
|
1344
|
+
outcome?: string | null
|
|
1345
|
+
error?: string | null
|
|
1346
|
+
itemType?: string | null
|
|
1347
|
+
itemId?: string | null
|
|
1348
|
+
commandVariant?: string | null
|
|
1349
|
+
sessionId?: string | null
|
|
1350
|
+
lastHeartbeatAt?: Date | string | null
|
|
1351
|
+
createdAt?: Date | string
|
|
1352
|
+
baselineModel?: string | null
|
|
1353
|
+
baselineContextTokens?: number | null
|
|
1354
|
+
baselineInputTokens?: number | null
|
|
1355
|
+
baselineCacheCreationTokens?: number | null
|
|
1356
|
+
baselineCacheReadTokens?: number | null
|
|
1357
|
+
turns?: number | null
|
|
1358
|
+
toolCalls?: number | null
|
|
1359
|
+
contextFingerprint?: string | null
|
|
1360
|
+
pluginVersion?: string | null
|
|
1361
|
+
claudeCodeVersion?: string | null
|
|
1362
|
+
cron: Prisma.AgentCronJobCreateNestedOneWithoutRunsInput
|
|
1363
|
+
phaseCron?: Prisma.AgentCronJobCreateNestedOneWithoutPhaseRunsInput
|
|
1364
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageCreateNestedManyWithoutCronRunInput
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
export type AgentCronRunUncheckedCreateWithoutModelBreakdownInput = {
|
|
1368
|
+
id?: string
|
|
1369
|
+
cronId: string
|
|
1370
|
+
agentId: string
|
|
1371
|
+
startedAt: Date | string
|
|
1372
|
+
completedAt?: Date | string | null
|
|
1373
|
+
skipped?: boolean
|
|
1374
|
+
skipReason?: string | null
|
|
1375
|
+
outcome?: string | null
|
|
1376
|
+
error?: string | null
|
|
1377
|
+
itemType?: string | null
|
|
1378
|
+
itemId?: string | null
|
|
1379
|
+
commandVariant?: string | null
|
|
1380
|
+
sessionId?: string | null
|
|
1381
|
+
lastHeartbeatAt?: Date | string | null
|
|
1382
|
+
createdAt?: Date | string
|
|
1383
|
+
phaseId?: string | null
|
|
1384
|
+
baselineModel?: string | null
|
|
1385
|
+
baselineContextTokens?: number | null
|
|
1386
|
+
baselineInputTokens?: number | null
|
|
1387
|
+
baselineCacheCreationTokens?: number | null
|
|
1388
|
+
baselineCacheReadTokens?: number | null
|
|
1389
|
+
turns?: number | null
|
|
1390
|
+
toolCalls?: number | null
|
|
1391
|
+
contextFingerprint?: string | null
|
|
1392
|
+
pluginVersion?: string | null
|
|
1393
|
+
claudeCodeVersion?: string | null
|
|
1394
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUncheckedCreateNestedManyWithoutCronRunInput
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
export type AgentCronRunCreateOrConnectWithoutModelBreakdownInput = {
|
|
1398
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
1399
|
+
create: Prisma.XOR<Prisma.AgentCronRunCreateWithoutModelBreakdownInput, Prisma.AgentCronRunUncheckedCreateWithoutModelBreakdownInput>
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
export type AgentCronRunUpsertWithoutModelBreakdownInput = {
|
|
1403
|
+
update: Prisma.XOR<Prisma.AgentCronRunUpdateWithoutModelBreakdownInput, Prisma.AgentCronRunUncheckedUpdateWithoutModelBreakdownInput>
|
|
1404
|
+
create: Prisma.XOR<Prisma.AgentCronRunCreateWithoutModelBreakdownInput, Prisma.AgentCronRunUncheckedCreateWithoutModelBreakdownInput>
|
|
1405
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
export type AgentCronRunUpdateToOneWithWhereWithoutModelBreakdownInput = {
|
|
1409
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
1410
|
+
data: Prisma.XOR<Prisma.AgentCronRunUpdateWithoutModelBreakdownInput, Prisma.AgentCronRunUncheckedUpdateWithoutModelBreakdownInput>
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
export type AgentCronRunUpdateWithoutModelBreakdownInput = {
|
|
1414
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1415
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1416
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1417
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1418
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1419
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1420
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1421
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1422
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1423
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1424
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1425
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1426
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1427
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1428
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1429
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1430
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1431
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1432
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1433
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1434
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1435
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1436
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1437
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1438
|
+
cron?: Prisma.AgentCronJobUpdateOneRequiredWithoutRunsNestedInput
|
|
1439
|
+
phaseCron?: Prisma.AgentCronJobUpdateOneWithoutPhaseRunsNestedInput
|
|
1440
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUpdateManyWithoutCronRunNestedInput
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
export type AgentCronRunUncheckedUpdateWithoutModelBreakdownInput = {
|
|
1444
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1445
|
+
cronId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1446
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1447
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1448
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1449
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1450
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1451
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1452
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1453
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1454
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1455
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1456
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1457
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1458
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1459
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1460
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1461
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1462
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1463
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1464
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1465
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1466
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1467
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1468
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1469
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1470
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUncheckedUpdateManyWithoutCronRunNestedInput
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
export type AgentCronRunCreateManyCronInput = {
|
|
1474
|
+
id?: string
|
|
1475
|
+
agentId: string
|
|
1476
|
+
startedAt: Date | string
|
|
1477
|
+
completedAt?: Date | string | null
|
|
1478
|
+
skipped?: boolean
|
|
1479
|
+
skipReason?: string | null
|
|
1480
|
+
outcome?: string | null
|
|
1481
|
+
error?: string | null
|
|
1482
|
+
itemType?: string | null
|
|
1483
|
+
itemId?: string | null
|
|
1484
|
+
commandVariant?: string | null
|
|
1485
|
+
sessionId?: string | null
|
|
1486
|
+
lastHeartbeatAt?: Date | string | null
|
|
1487
|
+
createdAt?: Date | string
|
|
1488
|
+
phaseId?: string | null
|
|
1489
|
+
baselineModel?: string | null
|
|
1490
|
+
baselineContextTokens?: number | null
|
|
1491
|
+
baselineInputTokens?: number | null
|
|
1492
|
+
baselineCacheCreationTokens?: number | null
|
|
1493
|
+
baselineCacheReadTokens?: number | null
|
|
1494
|
+
turns?: number | null
|
|
1495
|
+
toolCalls?: number | null
|
|
1496
|
+
contextFingerprint?: string | null
|
|
1497
|
+
pluginVersion?: string | null
|
|
1498
|
+
claudeCodeVersion?: string | null
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
export type AgentCronRunCreateManyPhaseCronInput = {
|
|
1502
|
+
id?: string
|
|
1503
|
+
cronId: string
|
|
1504
|
+
agentId: string
|
|
1505
|
+
startedAt: Date | string
|
|
1506
|
+
completedAt?: Date | string | null
|
|
1507
|
+
skipped?: boolean
|
|
1508
|
+
skipReason?: string | null
|
|
1509
|
+
outcome?: string | null
|
|
1510
|
+
error?: string | null
|
|
1511
|
+
itemType?: string | null
|
|
1512
|
+
itemId?: string | null
|
|
1513
|
+
commandVariant?: string | null
|
|
1514
|
+
sessionId?: string | null
|
|
1515
|
+
lastHeartbeatAt?: Date | string | null
|
|
1516
|
+
createdAt?: Date | string
|
|
1517
|
+
baselineModel?: string | null
|
|
1518
|
+
baselineContextTokens?: number | null
|
|
1519
|
+
baselineInputTokens?: number | null
|
|
1520
|
+
baselineCacheCreationTokens?: number | null
|
|
1521
|
+
baselineCacheReadTokens?: number | null
|
|
1522
|
+
turns?: number | null
|
|
1523
|
+
toolCalls?: number | null
|
|
1524
|
+
contextFingerprint?: string | null
|
|
1525
|
+
pluginVersion?: string | null
|
|
1526
|
+
claudeCodeVersion?: string | null
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
export type AgentCronRunUpdateWithoutCronInput = {
|
|
1530
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1531
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1532
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1533
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1534
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1535
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1536
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1537
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1538
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1539
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1540
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1541
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1542
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1543
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1544
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1545
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1546
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1547
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1548
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1549
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1550
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1551
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1552
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1553
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1554
|
+
phaseCron?: Prisma.AgentCronJobUpdateOneWithoutPhaseRunsNestedInput
|
|
1555
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUpdateManyWithoutCronRunNestedInput
|
|
1556
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUpdateManyWithoutCronRunNestedInput
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
export type AgentCronRunUncheckedUpdateWithoutCronInput = {
|
|
1560
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1561
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1562
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1563
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1564
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1565
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1566
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1567
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1568
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1569
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1570
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1571
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1572
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1573
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1574
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1575
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1576
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1577
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1578
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1579
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1580
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1581
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1582
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1583
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1584
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1585
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUncheckedUpdateManyWithoutCronRunNestedInput
|
|
1586
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUncheckedUpdateManyWithoutCronRunNestedInput
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
export type AgentCronRunUncheckedUpdateManyWithoutCronInput = {
|
|
1590
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1591
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1592
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1593
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1594
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1595
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1596
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1597
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1598
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1599
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1600
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1601
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1602
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1603
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1604
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1605
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1606
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1607
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1608
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1609
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1610
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1611
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1612
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1613
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1614
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
export type AgentCronRunUpdateWithoutPhaseCronInput = {
|
|
1618
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1619
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1620
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1621
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1622
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1623
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1624
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1625
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1626
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1627
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1628
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1629
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1630
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1631
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1632
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1633
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1634
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1635
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1636
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1637
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1638
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1639
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1640
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1641
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1642
|
+
cron?: Prisma.AgentCronJobUpdateOneRequiredWithoutRunsNestedInput
|
|
1643
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUpdateManyWithoutCronRunNestedInput
|
|
1644
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUpdateManyWithoutCronRunNestedInput
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
export type AgentCronRunUncheckedUpdateWithoutPhaseCronInput = {
|
|
1648
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1649
|
+
cronId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1650
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1651
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1652
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1653
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1654
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1655
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1656
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1657
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1658
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1659
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1660
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1661
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1662
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1663
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1664
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1665
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1666
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1667
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1668
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1669
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1670
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1671
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1672
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1673
|
+
modelBreakdown?: Prisma.AgentCronRunModelBreakdownUncheckedUpdateManyWithoutCronRunNestedInput
|
|
1674
|
+
skillUsage?: Prisma.AgentCronRunSkillUsageUncheckedUpdateManyWithoutCronRunNestedInput
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
export type AgentCronRunUncheckedUpdateManyWithoutPhaseCronInput = {
|
|
1678
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1679
|
+
cronId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1680
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1681
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1682
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1683
|
+
skipped?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1684
|
+
skipReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1685
|
+
outcome?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1686
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1687
|
+
itemType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1688
|
+
itemId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1689
|
+
commandVariant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1690
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1691
|
+
lastHeartbeatAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1692
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1693
|
+
baselineModel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1694
|
+
baselineContextTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1695
|
+
baselineInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1696
|
+
baselineCacheCreationTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1697
|
+
baselineCacheReadTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1698
|
+
turns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1699
|
+
toolCalls?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1700
|
+
contextFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1701
|
+
pluginVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1702
|
+
claudeCodeVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* Count Type AgentCronRunCountOutputType
|
|
1708
|
+
*/
|
|
1709
|
+
|
|
1710
|
+
export type AgentCronRunCountOutputType = {
|
|
1711
|
+
modelBreakdown: number
|
|
1712
|
+
skillUsage: number
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
export type AgentCronRunCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1716
|
+
modelBreakdown?: boolean | AgentCronRunCountOutputTypeCountModelBreakdownArgs
|
|
1717
|
+
skillUsage?: boolean | AgentCronRunCountOutputTypeCountSkillUsageArgs
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* AgentCronRunCountOutputType without action
|
|
1722
|
+
*/
|
|
1723
|
+
export type AgentCronRunCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1724
|
+
/**
|
|
1725
|
+
* Select specific fields to fetch from the AgentCronRunCountOutputType
|
|
1726
|
+
*/
|
|
1727
|
+
select?: Prisma.AgentCronRunCountOutputTypeSelect<ExtArgs> | null
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
/**
|
|
1731
|
+
* AgentCronRunCountOutputType without action
|
|
1732
|
+
*/
|
|
1733
|
+
export type AgentCronRunCountOutputTypeCountModelBreakdownArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1734
|
+
where?: Prisma.AgentCronRunModelBreakdownWhereInput
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* AgentCronRunCountOutputType without action
|
|
1739
|
+
*/
|
|
1740
|
+
export type AgentCronRunCountOutputTypeCountSkillUsageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1741
|
+
where?: Prisma.AgentCronRunSkillUsageWhereInput
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
|
|
1745
|
+
export type AgentCronRunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1746
|
+
id?: boolean
|
|
1747
|
+
cronId?: boolean
|
|
1748
|
+
agentId?: boolean
|
|
1749
|
+
startedAt?: boolean
|
|
1750
|
+
completedAt?: boolean
|
|
1751
|
+
skipped?: boolean
|
|
1752
|
+
skipReason?: boolean
|
|
1753
|
+
outcome?: boolean
|
|
1754
|
+
error?: boolean
|
|
1755
|
+
itemType?: boolean
|
|
1756
|
+
itemId?: boolean
|
|
1757
|
+
commandVariant?: boolean
|
|
1758
|
+
sessionId?: boolean
|
|
1759
|
+
lastHeartbeatAt?: boolean
|
|
1760
|
+
createdAt?: boolean
|
|
1761
|
+
phaseId?: boolean
|
|
1762
|
+
baselineModel?: boolean
|
|
1763
|
+
baselineContextTokens?: boolean
|
|
1764
|
+
baselineInputTokens?: boolean
|
|
1765
|
+
baselineCacheCreationTokens?: boolean
|
|
1766
|
+
baselineCacheReadTokens?: boolean
|
|
1767
|
+
turns?: boolean
|
|
1768
|
+
toolCalls?: boolean
|
|
1769
|
+
contextFingerprint?: boolean
|
|
1770
|
+
pluginVersion?: boolean
|
|
1771
|
+
claudeCodeVersion?: boolean
|
|
1772
|
+
cron?: boolean | Prisma.AgentCronJobDefaultArgs<ExtArgs>
|
|
1773
|
+
phaseCron?: boolean | Prisma.AgentCronRun$phaseCronArgs<ExtArgs>
|
|
1774
|
+
modelBreakdown?: boolean | Prisma.AgentCronRun$modelBreakdownArgs<ExtArgs>
|
|
1775
|
+
skillUsage?: boolean | Prisma.AgentCronRun$skillUsageArgs<ExtArgs>
|
|
1776
|
+
_count?: boolean | Prisma.AgentCronRunCountOutputTypeDefaultArgs<ExtArgs>
|
|
1777
|
+
}, ExtArgs["result"]["agentCronRun"]>
|
|
1778
|
+
|
|
1779
|
+
export type AgentCronRunSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1780
|
+
id?: boolean
|
|
1781
|
+
cronId?: boolean
|
|
1782
|
+
agentId?: boolean
|
|
1783
|
+
startedAt?: boolean
|
|
1784
|
+
completedAt?: boolean
|
|
1785
|
+
skipped?: boolean
|
|
1786
|
+
skipReason?: boolean
|
|
1787
|
+
outcome?: boolean
|
|
1788
|
+
error?: boolean
|
|
1789
|
+
itemType?: boolean
|
|
1790
|
+
itemId?: boolean
|
|
1791
|
+
commandVariant?: boolean
|
|
1792
|
+
sessionId?: boolean
|
|
1793
|
+
lastHeartbeatAt?: boolean
|
|
1794
|
+
createdAt?: boolean
|
|
1795
|
+
phaseId?: boolean
|
|
1796
|
+
baselineModel?: boolean
|
|
1797
|
+
baselineContextTokens?: boolean
|
|
1798
|
+
baselineInputTokens?: boolean
|
|
1799
|
+
baselineCacheCreationTokens?: boolean
|
|
1800
|
+
baselineCacheReadTokens?: boolean
|
|
1801
|
+
turns?: boolean
|
|
1802
|
+
toolCalls?: boolean
|
|
1803
|
+
contextFingerprint?: boolean
|
|
1804
|
+
pluginVersion?: boolean
|
|
1805
|
+
claudeCodeVersion?: boolean
|
|
1806
|
+
cron?: boolean | Prisma.AgentCronJobDefaultArgs<ExtArgs>
|
|
1807
|
+
phaseCron?: boolean | Prisma.AgentCronRun$phaseCronArgs<ExtArgs>
|
|
1808
|
+
}, ExtArgs["result"]["agentCronRun"]>
|
|
1809
|
+
|
|
1810
|
+
export type AgentCronRunSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1811
|
+
id?: boolean
|
|
1812
|
+
cronId?: boolean
|
|
1813
|
+
agentId?: boolean
|
|
1814
|
+
startedAt?: boolean
|
|
1815
|
+
completedAt?: boolean
|
|
1816
|
+
skipped?: boolean
|
|
1817
|
+
skipReason?: boolean
|
|
1818
|
+
outcome?: boolean
|
|
1819
|
+
error?: boolean
|
|
1820
|
+
itemType?: boolean
|
|
1821
|
+
itemId?: boolean
|
|
1822
|
+
commandVariant?: boolean
|
|
1823
|
+
sessionId?: boolean
|
|
1824
|
+
lastHeartbeatAt?: boolean
|
|
1825
|
+
createdAt?: boolean
|
|
1826
|
+
phaseId?: boolean
|
|
1827
|
+
baselineModel?: boolean
|
|
1828
|
+
baselineContextTokens?: boolean
|
|
1829
|
+
baselineInputTokens?: boolean
|
|
1830
|
+
baselineCacheCreationTokens?: boolean
|
|
1831
|
+
baselineCacheReadTokens?: boolean
|
|
1832
|
+
turns?: boolean
|
|
1833
|
+
toolCalls?: boolean
|
|
1834
|
+
contextFingerprint?: boolean
|
|
1835
|
+
pluginVersion?: boolean
|
|
1836
|
+
claudeCodeVersion?: boolean
|
|
1837
|
+
cron?: boolean | Prisma.AgentCronJobDefaultArgs<ExtArgs>
|
|
1838
|
+
phaseCron?: boolean | Prisma.AgentCronRun$phaseCronArgs<ExtArgs>
|
|
1839
|
+
}, ExtArgs["result"]["agentCronRun"]>
|
|
1840
|
+
|
|
1841
|
+
export type AgentCronRunSelectScalar = {
|
|
1842
|
+
id?: boolean
|
|
1843
|
+
cronId?: boolean
|
|
1844
|
+
agentId?: boolean
|
|
1845
|
+
startedAt?: boolean
|
|
1846
|
+
completedAt?: boolean
|
|
1847
|
+
skipped?: boolean
|
|
1848
|
+
skipReason?: boolean
|
|
1849
|
+
outcome?: boolean
|
|
1850
|
+
error?: boolean
|
|
1851
|
+
itemType?: boolean
|
|
1852
|
+
itemId?: boolean
|
|
1853
|
+
commandVariant?: boolean
|
|
1854
|
+
sessionId?: boolean
|
|
1855
|
+
lastHeartbeatAt?: boolean
|
|
1856
|
+
createdAt?: boolean
|
|
1857
|
+
phaseId?: boolean
|
|
1858
|
+
baselineModel?: boolean
|
|
1859
|
+
baselineContextTokens?: boolean
|
|
1860
|
+
baselineInputTokens?: boolean
|
|
1861
|
+
baselineCacheCreationTokens?: boolean
|
|
1862
|
+
baselineCacheReadTokens?: boolean
|
|
1863
|
+
turns?: boolean
|
|
1864
|
+
toolCalls?: boolean
|
|
1865
|
+
contextFingerprint?: boolean
|
|
1866
|
+
pluginVersion?: boolean
|
|
1867
|
+
claudeCodeVersion?: boolean
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
export type AgentCronRunOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "cronId" | "agentId" | "startedAt" | "completedAt" | "skipped" | "skipReason" | "outcome" | "error" | "itemType" | "itemId" | "commandVariant" | "sessionId" | "lastHeartbeatAt" | "createdAt" | "phaseId" | "baselineModel" | "baselineContextTokens" | "baselineInputTokens" | "baselineCacheCreationTokens" | "baselineCacheReadTokens" | "turns" | "toolCalls" | "contextFingerprint" | "pluginVersion" | "claudeCodeVersion", ExtArgs["result"]["agentCronRun"]>
|
|
1871
|
+
export type AgentCronRunInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1872
|
+
cron?: boolean | Prisma.AgentCronJobDefaultArgs<ExtArgs>
|
|
1873
|
+
phaseCron?: boolean | Prisma.AgentCronRun$phaseCronArgs<ExtArgs>
|
|
1874
|
+
modelBreakdown?: boolean | Prisma.AgentCronRun$modelBreakdownArgs<ExtArgs>
|
|
1875
|
+
skillUsage?: boolean | Prisma.AgentCronRun$skillUsageArgs<ExtArgs>
|
|
1876
|
+
_count?: boolean | Prisma.AgentCronRunCountOutputTypeDefaultArgs<ExtArgs>
|
|
1877
|
+
}
|
|
1878
|
+
export type AgentCronRunIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1879
|
+
cron?: boolean | Prisma.AgentCronJobDefaultArgs<ExtArgs>
|
|
1880
|
+
phaseCron?: boolean | Prisma.AgentCronRun$phaseCronArgs<ExtArgs>
|
|
1881
|
+
}
|
|
1882
|
+
export type AgentCronRunIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1883
|
+
cron?: boolean | Prisma.AgentCronJobDefaultArgs<ExtArgs>
|
|
1884
|
+
phaseCron?: boolean | Prisma.AgentCronRun$phaseCronArgs<ExtArgs>
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
export type $AgentCronRunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1888
|
+
name: "AgentCronRun"
|
|
1889
|
+
objects: {
|
|
1890
|
+
cron: Prisma.$AgentCronJobPayload<ExtArgs>
|
|
1891
|
+
phaseCron: Prisma.$AgentCronJobPayload<ExtArgs> | null
|
|
1892
|
+
modelBreakdown: Prisma.$AgentCronRunModelBreakdownPayload<ExtArgs>[]
|
|
1893
|
+
skillUsage: Prisma.$AgentCronRunSkillUsagePayload<ExtArgs>[]
|
|
1894
|
+
}
|
|
1895
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1896
|
+
id: string
|
|
1897
|
+
cronId: string
|
|
1898
|
+
agentId: string
|
|
1899
|
+
startedAt: Date
|
|
1900
|
+
completedAt: Date | null
|
|
1901
|
+
skipped: boolean
|
|
1902
|
+
skipReason: string | null
|
|
1903
|
+
outcome: string | null
|
|
1904
|
+
error: string | null
|
|
1905
|
+
itemType: string | null
|
|
1906
|
+
itemId: string | null
|
|
1907
|
+
commandVariant: string | null
|
|
1908
|
+
sessionId: string | null
|
|
1909
|
+
lastHeartbeatAt: Date | null
|
|
1910
|
+
createdAt: Date
|
|
1911
|
+
phaseId: string | null
|
|
1912
|
+
baselineModel: string | null
|
|
1913
|
+
baselineContextTokens: number | null
|
|
1914
|
+
baselineInputTokens: number | null
|
|
1915
|
+
baselineCacheCreationTokens: number | null
|
|
1916
|
+
baselineCacheReadTokens: number | null
|
|
1917
|
+
turns: number | null
|
|
1918
|
+
toolCalls: number | null
|
|
1919
|
+
contextFingerprint: string | null
|
|
1920
|
+
pluginVersion: string | null
|
|
1921
|
+
claudeCodeVersion: string | null
|
|
1922
|
+
}, ExtArgs["result"]["agentCronRun"]>
|
|
1923
|
+
composites: {}
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
export type AgentCronRunGetPayload<S extends boolean | null | undefined | AgentCronRunDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload, S>
|
|
1927
|
+
|
|
1928
|
+
export type AgentCronRunCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1929
|
+
Omit<AgentCronRunFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1930
|
+
select?: AgentCronRunCountAggregateInputType | true
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
export interface AgentCronRunDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1934
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AgentCronRun'], meta: { name: 'AgentCronRun' } }
|
|
1935
|
+
/**
|
|
1936
|
+
* Find zero or one AgentCronRun that matches the filter.
|
|
1937
|
+
* @param {AgentCronRunFindUniqueArgs} args - Arguments to find a AgentCronRun
|
|
1938
|
+
* @example
|
|
1939
|
+
* // Get one AgentCronRun
|
|
1940
|
+
* const agentCronRun = await prisma.agentCronRun.findUnique({
|
|
1941
|
+
* where: {
|
|
1942
|
+
* // ... provide filter here
|
|
1943
|
+
* }
|
|
1944
|
+
* })
|
|
1945
|
+
*/
|
|
1946
|
+
findUnique<T extends AgentCronRunFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentCronRunFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* Find one AgentCronRun that matches the filter or throw an error with `error.code='P2025'`
|
|
1950
|
+
* if no matches were found.
|
|
1951
|
+
* @param {AgentCronRunFindUniqueOrThrowArgs} args - Arguments to find a AgentCronRun
|
|
1952
|
+
* @example
|
|
1953
|
+
* // Get one AgentCronRun
|
|
1954
|
+
* const agentCronRun = await prisma.agentCronRun.findUniqueOrThrow({
|
|
1955
|
+
* where: {
|
|
1956
|
+
* // ... provide filter here
|
|
1957
|
+
* }
|
|
1958
|
+
* })
|
|
1959
|
+
*/
|
|
1960
|
+
findUniqueOrThrow<T extends AgentCronRunFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentCronRunFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1961
|
+
|
|
1962
|
+
/**
|
|
1963
|
+
* Find the first AgentCronRun that matches the filter.
|
|
1964
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1965
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1966
|
+
* @param {AgentCronRunFindFirstArgs} args - Arguments to find a AgentCronRun
|
|
1967
|
+
* @example
|
|
1968
|
+
* // Get one AgentCronRun
|
|
1969
|
+
* const agentCronRun = await prisma.agentCronRun.findFirst({
|
|
1970
|
+
* where: {
|
|
1971
|
+
* // ... provide filter here
|
|
1972
|
+
* }
|
|
1973
|
+
* })
|
|
1974
|
+
*/
|
|
1975
|
+
findFirst<T extends AgentCronRunFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentCronRunFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* Find the first AgentCronRun that matches the filter or
|
|
1979
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1980
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1981
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1982
|
+
* @param {AgentCronRunFindFirstOrThrowArgs} args - Arguments to find a AgentCronRun
|
|
1983
|
+
* @example
|
|
1984
|
+
* // Get one AgentCronRun
|
|
1985
|
+
* const agentCronRun = await prisma.agentCronRun.findFirstOrThrow({
|
|
1986
|
+
* where: {
|
|
1987
|
+
* // ... provide filter here
|
|
1988
|
+
* }
|
|
1989
|
+
* })
|
|
1990
|
+
*/
|
|
1991
|
+
findFirstOrThrow<T extends AgentCronRunFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentCronRunFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1992
|
+
|
|
1993
|
+
/**
|
|
1994
|
+
* Find zero or more AgentCronRuns that matches the filter.
|
|
1995
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1996
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1997
|
+
* @param {AgentCronRunFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1998
|
+
* @example
|
|
1999
|
+
* // Get all AgentCronRuns
|
|
2000
|
+
* const agentCronRuns = await prisma.agentCronRun.findMany()
|
|
2001
|
+
*
|
|
2002
|
+
* // Get first 10 AgentCronRuns
|
|
2003
|
+
* const agentCronRuns = await prisma.agentCronRun.findMany({ take: 10 })
|
|
2004
|
+
*
|
|
2005
|
+
* // Only select the `id`
|
|
2006
|
+
* const agentCronRunWithIdOnly = await prisma.agentCronRun.findMany({ select: { id: true } })
|
|
2007
|
+
*
|
|
2008
|
+
*/
|
|
2009
|
+
findMany<T extends AgentCronRunFindManyArgs>(args?: Prisma.SelectSubset<T, AgentCronRunFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* Create a AgentCronRun.
|
|
2013
|
+
* @param {AgentCronRunCreateArgs} args - Arguments to create a AgentCronRun.
|
|
2014
|
+
* @example
|
|
2015
|
+
* // Create one AgentCronRun
|
|
2016
|
+
* const AgentCronRun = await prisma.agentCronRun.create({
|
|
2017
|
+
* data: {
|
|
2018
|
+
* // ... data to create a AgentCronRun
|
|
2019
|
+
* }
|
|
2020
|
+
* })
|
|
2021
|
+
*
|
|
2022
|
+
*/
|
|
2023
|
+
create<T extends AgentCronRunCreateArgs>(args: Prisma.SelectSubset<T, AgentCronRunCreateArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* Create many AgentCronRuns.
|
|
2027
|
+
* @param {AgentCronRunCreateManyArgs} args - Arguments to create many AgentCronRuns.
|
|
2028
|
+
* @example
|
|
2029
|
+
* // Create many AgentCronRuns
|
|
2030
|
+
* const agentCronRun = await prisma.agentCronRun.createMany({
|
|
2031
|
+
* data: [
|
|
2032
|
+
* // ... provide data here
|
|
2033
|
+
* ]
|
|
2034
|
+
* })
|
|
2035
|
+
*
|
|
2036
|
+
*/
|
|
2037
|
+
createMany<T extends AgentCronRunCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentCronRunCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2038
|
+
|
|
2039
|
+
/**
|
|
2040
|
+
* Create many AgentCronRuns and returns the data saved in the database.
|
|
2041
|
+
* @param {AgentCronRunCreateManyAndReturnArgs} args - Arguments to create many AgentCronRuns.
|
|
2042
|
+
* @example
|
|
2043
|
+
* // Create many AgentCronRuns
|
|
2044
|
+
* const agentCronRun = await prisma.agentCronRun.createManyAndReturn({
|
|
2045
|
+
* data: [
|
|
2046
|
+
* // ... provide data here
|
|
2047
|
+
* ]
|
|
2048
|
+
* })
|
|
2049
|
+
*
|
|
2050
|
+
* // Create many AgentCronRuns and only return the `id`
|
|
2051
|
+
* const agentCronRunWithIdOnly = await prisma.agentCronRun.createManyAndReturn({
|
|
2052
|
+
* select: { id: true },
|
|
2053
|
+
* data: [
|
|
2054
|
+
* // ... provide data here
|
|
2055
|
+
* ]
|
|
2056
|
+
* })
|
|
2057
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2058
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2059
|
+
*
|
|
2060
|
+
*/
|
|
2061
|
+
createManyAndReturn<T extends AgentCronRunCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentCronRunCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
* Delete a AgentCronRun.
|
|
2065
|
+
* @param {AgentCronRunDeleteArgs} args - Arguments to delete one AgentCronRun.
|
|
2066
|
+
* @example
|
|
2067
|
+
* // Delete one AgentCronRun
|
|
2068
|
+
* const AgentCronRun = await prisma.agentCronRun.delete({
|
|
2069
|
+
* where: {
|
|
2070
|
+
* // ... filter to delete one AgentCronRun
|
|
2071
|
+
* }
|
|
2072
|
+
* })
|
|
2073
|
+
*
|
|
2074
|
+
*/
|
|
2075
|
+
delete<T extends AgentCronRunDeleteArgs>(args: Prisma.SelectSubset<T, AgentCronRunDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* Update one AgentCronRun.
|
|
2079
|
+
* @param {AgentCronRunUpdateArgs} args - Arguments to update one AgentCronRun.
|
|
2080
|
+
* @example
|
|
2081
|
+
* // Update one AgentCronRun
|
|
2082
|
+
* const agentCronRun = await prisma.agentCronRun.update({
|
|
2083
|
+
* where: {
|
|
2084
|
+
* // ... provide filter here
|
|
2085
|
+
* },
|
|
2086
|
+
* data: {
|
|
2087
|
+
* // ... provide data here
|
|
2088
|
+
* }
|
|
2089
|
+
* })
|
|
2090
|
+
*
|
|
2091
|
+
*/
|
|
2092
|
+
update<T extends AgentCronRunUpdateArgs>(args: Prisma.SelectSubset<T, AgentCronRunUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* Delete zero or more AgentCronRuns.
|
|
2096
|
+
* @param {AgentCronRunDeleteManyArgs} args - Arguments to filter AgentCronRuns to delete.
|
|
2097
|
+
* @example
|
|
2098
|
+
* // Delete a few AgentCronRuns
|
|
2099
|
+
* const { count } = await prisma.agentCronRun.deleteMany({
|
|
2100
|
+
* where: {
|
|
2101
|
+
* // ... provide filter here
|
|
2102
|
+
* }
|
|
2103
|
+
* })
|
|
2104
|
+
*
|
|
2105
|
+
*/
|
|
2106
|
+
deleteMany<T extends AgentCronRunDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentCronRunDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* Update zero or more AgentCronRuns.
|
|
2110
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2111
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2112
|
+
* @param {AgentCronRunUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2113
|
+
* @example
|
|
2114
|
+
* // Update many AgentCronRuns
|
|
2115
|
+
* const agentCronRun = await prisma.agentCronRun.updateMany({
|
|
2116
|
+
* where: {
|
|
2117
|
+
* // ... provide filter here
|
|
2118
|
+
* },
|
|
2119
|
+
* data: {
|
|
2120
|
+
* // ... provide data here
|
|
2121
|
+
* }
|
|
2122
|
+
* })
|
|
2123
|
+
*
|
|
2124
|
+
*/
|
|
2125
|
+
updateMany<T extends AgentCronRunUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentCronRunUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2126
|
+
|
|
2127
|
+
/**
|
|
2128
|
+
* Update zero or more AgentCronRuns and returns the data updated in the database.
|
|
2129
|
+
* @param {AgentCronRunUpdateManyAndReturnArgs} args - Arguments to update many AgentCronRuns.
|
|
2130
|
+
* @example
|
|
2131
|
+
* // Update many AgentCronRuns
|
|
2132
|
+
* const agentCronRun = await prisma.agentCronRun.updateManyAndReturn({
|
|
2133
|
+
* where: {
|
|
2134
|
+
* // ... provide filter here
|
|
2135
|
+
* },
|
|
2136
|
+
* data: [
|
|
2137
|
+
* // ... provide data here
|
|
2138
|
+
* ]
|
|
2139
|
+
* })
|
|
2140
|
+
*
|
|
2141
|
+
* // Update zero or more AgentCronRuns and only return the `id`
|
|
2142
|
+
* const agentCronRunWithIdOnly = await prisma.agentCronRun.updateManyAndReturn({
|
|
2143
|
+
* select: { id: true },
|
|
2144
|
+
* where: {
|
|
2145
|
+
* // ... provide filter here
|
|
2146
|
+
* },
|
|
2147
|
+
* data: [
|
|
2148
|
+
* // ... provide data here
|
|
2149
|
+
* ]
|
|
2150
|
+
* })
|
|
2151
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2152
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2153
|
+
*
|
|
2154
|
+
*/
|
|
2155
|
+
updateManyAndReturn<T extends AgentCronRunUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentCronRunUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
2156
|
+
|
|
2157
|
+
/**
|
|
2158
|
+
* Create or update one AgentCronRun.
|
|
2159
|
+
* @param {AgentCronRunUpsertArgs} args - Arguments to update or create a AgentCronRun.
|
|
2160
|
+
* @example
|
|
2161
|
+
* // Update or create a AgentCronRun
|
|
2162
|
+
* const agentCronRun = await prisma.agentCronRun.upsert({
|
|
2163
|
+
* create: {
|
|
2164
|
+
* // ... data to create a AgentCronRun
|
|
2165
|
+
* },
|
|
2166
|
+
* update: {
|
|
2167
|
+
* // ... in case it already exists, update
|
|
2168
|
+
* },
|
|
2169
|
+
* where: {
|
|
2170
|
+
* // ... the filter for the AgentCronRun we want to update
|
|
2171
|
+
* }
|
|
2172
|
+
* })
|
|
2173
|
+
*/
|
|
2174
|
+
upsert<T extends AgentCronRunUpsertArgs>(args: Prisma.SelectSubset<T, AgentCronRunUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2175
|
+
|
|
2176
|
+
|
|
2177
|
+
/**
|
|
2178
|
+
* Count the number of AgentCronRuns.
|
|
2179
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2180
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2181
|
+
* @param {AgentCronRunCountArgs} args - Arguments to filter AgentCronRuns to count.
|
|
2182
|
+
* @example
|
|
2183
|
+
* // Count the number of AgentCronRuns
|
|
2184
|
+
* const count = await prisma.agentCronRun.count({
|
|
2185
|
+
* where: {
|
|
2186
|
+
* // ... the filter for the AgentCronRuns we want to count
|
|
2187
|
+
* }
|
|
2188
|
+
* })
|
|
2189
|
+
**/
|
|
2190
|
+
count<T extends AgentCronRunCountArgs>(
|
|
2191
|
+
args?: Prisma.Subset<T, AgentCronRunCountArgs>,
|
|
2192
|
+
): Prisma.PrismaPromise<
|
|
2193
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
2194
|
+
? T['select'] extends true
|
|
2195
|
+
? number
|
|
2196
|
+
: Prisma.GetScalarType<T['select'], AgentCronRunCountAggregateOutputType>
|
|
2197
|
+
: number
|
|
2198
|
+
>
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* Allows you to perform aggregations operations on a AgentCronRun.
|
|
2202
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2203
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2204
|
+
* @param {AgentCronRunAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2205
|
+
* @example
|
|
2206
|
+
* // Ordered by age ascending
|
|
2207
|
+
* // Where email contains prisma.io
|
|
2208
|
+
* // Limited to the 10 users
|
|
2209
|
+
* const aggregations = await prisma.user.aggregate({
|
|
2210
|
+
* _avg: {
|
|
2211
|
+
* age: true,
|
|
2212
|
+
* },
|
|
2213
|
+
* where: {
|
|
2214
|
+
* email: {
|
|
2215
|
+
* contains: "prisma.io",
|
|
2216
|
+
* },
|
|
2217
|
+
* },
|
|
2218
|
+
* orderBy: {
|
|
2219
|
+
* age: "asc",
|
|
2220
|
+
* },
|
|
2221
|
+
* take: 10,
|
|
2222
|
+
* })
|
|
2223
|
+
**/
|
|
2224
|
+
aggregate<T extends AgentCronRunAggregateArgs>(args: Prisma.Subset<T, AgentCronRunAggregateArgs>): Prisma.PrismaPromise<GetAgentCronRunAggregateType<T>>
|
|
2225
|
+
|
|
2226
|
+
/**
|
|
2227
|
+
* Group by AgentCronRun.
|
|
2228
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2229
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2230
|
+
* @param {AgentCronRunGroupByArgs} args - Group by arguments.
|
|
2231
|
+
* @example
|
|
2232
|
+
* // Group by city, order by createdAt, get count
|
|
2233
|
+
* const result = await prisma.user.groupBy({
|
|
2234
|
+
* by: ['city', 'createdAt'],
|
|
2235
|
+
* orderBy: {
|
|
2236
|
+
* createdAt: true
|
|
2237
|
+
* },
|
|
2238
|
+
* _count: {
|
|
2239
|
+
* _all: true
|
|
2240
|
+
* },
|
|
2241
|
+
* })
|
|
2242
|
+
*
|
|
2243
|
+
**/
|
|
2244
|
+
groupBy<
|
|
2245
|
+
T extends AgentCronRunGroupByArgs,
|
|
2246
|
+
HasSelectOrTake extends Prisma.Or<
|
|
2247
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
2248
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
2249
|
+
>,
|
|
2250
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
2251
|
+
? { orderBy: AgentCronRunGroupByArgs['orderBy'] }
|
|
2252
|
+
: { orderBy?: AgentCronRunGroupByArgs['orderBy'] },
|
|
2253
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
2254
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
2255
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
2256
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
2257
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
2258
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
2259
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
2260
|
+
? `Error: "by" must not be empty.`
|
|
2261
|
+
: HavingValid extends Prisma.False
|
|
2262
|
+
? {
|
|
2263
|
+
[P in HavingFields]: P extends ByFields
|
|
2264
|
+
? never
|
|
2265
|
+
: P extends string
|
|
2266
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
2267
|
+
: [
|
|
2268
|
+
Error,
|
|
2269
|
+
'Field ',
|
|
2270
|
+
P,
|
|
2271
|
+
` in "having" needs to be provided in "by"`,
|
|
2272
|
+
]
|
|
2273
|
+
}[HavingFields]
|
|
2274
|
+
: 'take' extends Prisma.Keys<T>
|
|
2275
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
2276
|
+
? ByValid extends Prisma.True
|
|
2277
|
+
? {}
|
|
2278
|
+
: {
|
|
2279
|
+
[P in OrderFields]: P extends ByFields
|
|
2280
|
+
? never
|
|
2281
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2282
|
+
}[OrderFields]
|
|
2283
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
2284
|
+
: 'skip' extends Prisma.Keys<T>
|
|
2285
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
2286
|
+
? ByValid extends Prisma.True
|
|
2287
|
+
? {}
|
|
2288
|
+
: {
|
|
2289
|
+
[P in OrderFields]: P extends ByFields
|
|
2290
|
+
? never
|
|
2291
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2292
|
+
}[OrderFields]
|
|
2293
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
2294
|
+
: ByValid extends Prisma.True
|
|
2295
|
+
? {}
|
|
2296
|
+
: {
|
|
2297
|
+
[P in OrderFields]: P extends ByFields
|
|
2298
|
+
? never
|
|
2299
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2300
|
+
}[OrderFields]
|
|
2301
|
+
>(args: Prisma.SubsetIntersection<T, AgentCronRunGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentCronRunGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
2302
|
+
/**
|
|
2303
|
+
* Fields of the AgentCronRun model
|
|
2304
|
+
*/
|
|
2305
|
+
readonly fields: AgentCronRunFieldRefs;
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
/**
|
|
2309
|
+
* The delegate class that acts as a "Promise-like" for AgentCronRun.
|
|
2310
|
+
* Why is this prefixed with `Prisma__`?
|
|
2311
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
2312
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2313
|
+
*/
|
|
2314
|
+
export interface Prisma__AgentCronRunClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2315
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
2316
|
+
cron<T extends Prisma.AgentCronJobDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentCronJobDefaultArgs<ExtArgs>>): Prisma.Prisma__AgentCronJobClient<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
2317
|
+
phaseCron<T extends Prisma.AgentCronRun$phaseCronArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentCronRun$phaseCronArgs<ExtArgs>>): Prisma.Prisma__AgentCronJobClient<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2318
|
+
modelBreakdown<T extends Prisma.AgentCronRun$modelBreakdownArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentCronRun$modelBreakdownArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronRunModelBreakdownPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2319
|
+
skillUsage<T extends Prisma.AgentCronRun$skillUsageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentCronRun$skillUsageArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronRunSkillUsagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2320
|
+
/**
|
|
2321
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2322
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2323
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2324
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
2325
|
+
*/
|
|
2326
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
2327
|
+
/**
|
|
2328
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
2329
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2330
|
+
* @returns A Promise for the completion of the callback.
|
|
2331
|
+
*/
|
|
2332
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
2333
|
+
/**
|
|
2334
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2335
|
+
* resolved value cannot be modified from the callback.
|
|
2336
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2337
|
+
* @returns A Promise for the completion of the callback.
|
|
2338
|
+
*/
|
|
2339
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
|
|
2343
|
+
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* Fields of the AgentCronRun model
|
|
2347
|
+
*/
|
|
2348
|
+
export interface AgentCronRunFieldRefs {
|
|
2349
|
+
readonly id: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2350
|
+
readonly cronId: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2351
|
+
readonly agentId: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2352
|
+
readonly startedAt: Prisma.FieldRef<"AgentCronRun", 'DateTime'>
|
|
2353
|
+
readonly completedAt: Prisma.FieldRef<"AgentCronRun", 'DateTime'>
|
|
2354
|
+
readonly skipped: Prisma.FieldRef<"AgentCronRun", 'Boolean'>
|
|
2355
|
+
readonly skipReason: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2356
|
+
readonly outcome: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2357
|
+
readonly error: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2358
|
+
readonly itemType: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2359
|
+
readonly itemId: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2360
|
+
readonly commandVariant: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2361
|
+
readonly sessionId: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2362
|
+
readonly lastHeartbeatAt: Prisma.FieldRef<"AgentCronRun", 'DateTime'>
|
|
2363
|
+
readonly createdAt: Prisma.FieldRef<"AgentCronRun", 'DateTime'>
|
|
2364
|
+
readonly phaseId: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2365
|
+
readonly baselineModel: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2366
|
+
readonly baselineContextTokens: Prisma.FieldRef<"AgentCronRun", 'Int'>
|
|
2367
|
+
readonly baselineInputTokens: Prisma.FieldRef<"AgentCronRun", 'Int'>
|
|
2368
|
+
readonly baselineCacheCreationTokens: Prisma.FieldRef<"AgentCronRun", 'Int'>
|
|
2369
|
+
readonly baselineCacheReadTokens: Prisma.FieldRef<"AgentCronRun", 'Int'>
|
|
2370
|
+
readonly turns: Prisma.FieldRef<"AgentCronRun", 'Int'>
|
|
2371
|
+
readonly toolCalls: Prisma.FieldRef<"AgentCronRun", 'Int'>
|
|
2372
|
+
readonly contextFingerprint: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2373
|
+
readonly pluginVersion: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2374
|
+
readonly claudeCodeVersion: Prisma.FieldRef<"AgentCronRun", 'String'>
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
|
|
2378
|
+
// Custom InputTypes
|
|
2379
|
+
/**
|
|
2380
|
+
* AgentCronRun findUnique
|
|
2381
|
+
*/
|
|
2382
|
+
export type AgentCronRunFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2383
|
+
/**
|
|
2384
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2385
|
+
*/
|
|
2386
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2387
|
+
/**
|
|
2388
|
+
* Omit specific fields from the AgentCronRun
|
|
2389
|
+
*/
|
|
2390
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2391
|
+
/**
|
|
2392
|
+
* Choose, which related nodes to fetch as well
|
|
2393
|
+
*/
|
|
2394
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2395
|
+
/**
|
|
2396
|
+
* Filter, which AgentCronRun to fetch.
|
|
2397
|
+
*/
|
|
2398
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
/**
|
|
2402
|
+
* AgentCronRun findUniqueOrThrow
|
|
2403
|
+
*/
|
|
2404
|
+
export type AgentCronRunFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2405
|
+
/**
|
|
2406
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2407
|
+
*/
|
|
2408
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2409
|
+
/**
|
|
2410
|
+
* Omit specific fields from the AgentCronRun
|
|
2411
|
+
*/
|
|
2412
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2413
|
+
/**
|
|
2414
|
+
* Choose, which related nodes to fetch as well
|
|
2415
|
+
*/
|
|
2416
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2417
|
+
/**
|
|
2418
|
+
* Filter, which AgentCronRun to fetch.
|
|
2419
|
+
*/
|
|
2420
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2423
|
+
/**
|
|
2424
|
+
* AgentCronRun findFirst
|
|
2425
|
+
*/
|
|
2426
|
+
export type AgentCronRunFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2427
|
+
/**
|
|
2428
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2429
|
+
*/
|
|
2430
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2431
|
+
/**
|
|
2432
|
+
* Omit specific fields from the AgentCronRun
|
|
2433
|
+
*/
|
|
2434
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2435
|
+
/**
|
|
2436
|
+
* Choose, which related nodes to fetch as well
|
|
2437
|
+
*/
|
|
2438
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2439
|
+
/**
|
|
2440
|
+
* Filter, which AgentCronRun to fetch.
|
|
2441
|
+
*/
|
|
2442
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
2443
|
+
/**
|
|
2444
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2445
|
+
*
|
|
2446
|
+
* Determine the order of AgentCronRuns to fetch.
|
|
2447
|
+
*/
|
|
2448
|
+
orderBy?: Prisma.AgentCronRunOrderByWithRelationInput | Prisma.AgentCronRunOrderByWithRelationInput[]
|
|
2449
|
+
/**
|
|
2450
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2451
|
+
*
|
|
2452
|
+
* Sets the position for searching for AgentCronRuns.
|
|
2453
|
+
*/
|
|
2454
|
+
cursor?: Prisma.AgentCronRunWhereUniqueInput
|
|
2455
|
+
/**
|
|
2456
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2457
|
+
*
|
|
2458
|
+
* Take `±n` AgentCronRuns from the position of the cursor.
|
|
2459
|
+
*/
|
|
2460
|
+
take?: number
|
|
2461
|
+
/**
|
|
2462
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2463
|
+
*
|
|
2464
|
+
* Skip the first `n` AgentCronRuns.
|
|
2465
|
+
*/
|
|
2466
|
+
skip?: number
|
|
2467
|
+
/**
|
|
2468
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2469
|
+
*
|
|
2470
|
+
* Filter by unique combinations of AgentCronRuns.
|
|
2471
|
+
*/
|
|
2472
|
+
distinct?: Prisma.AgentCronRunScalarFieldEnum | Prisma.AgentCronRunScalarFieldEnum[]
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* AgentCronRun findFirstOrThrow
|
|
2477
|
+
*/
|
|
2478
|
+
export type AgentCronRunFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2479
|
+
/**
|
|
2480
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2481
|
+
*/
|
|
2482
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2483
|
+
/**
|
|
2484
|
+
* Omit specific fields from the AgentCronRun
|
|
2485
|
+
*/
|
|
2486
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2487
|
+
/**
|
|
2488
|
+
* Choose, which related nodes to fetch as well
|
|
2489
|
+
*/
|
|
2490
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2491
|
+
/**
|
|
2492
|
+
* Filter, which AgentCronRun to fetch.
|
|
2493
|
+
*/
|
|
2494
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
2495
|
+
/**
|
|
2496
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2497
|
+
*
|
|
2498
|
+
* Determine the order of AgentCronRuns to fetch.
|
|
2499
|
+
*/
|
|
2500
|
+
orderBy?: Prisma.AgentCronRunOrderByWithRelationInput | Prisma.AgentCronRunOrderByWithRelationInput[]
|
|
2501
|
+
/**
|
|
2502
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2503
|
+
*
|
|
2504
|
+
* Sets the position for searching for AgentCronRuns.
|
|
2505
|
+
*/
|
|
2506
|
+
cursor?: Prisma.AgentCronRunWhereUniqueInput
|
|
2507
|
+
/**
|
|
2508
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2509
|
+
*
|
|
2510
|
+
* Take `±n` AgentCronRuns from the position of the cursor.
|
|
2511
|
+
*/
|
|
2512
|
+
take?: number
|
|
2513
|
+
/**
|
|
2514
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2515
|
+
*
|
|
2516
|
+
* Skip the first `n` AgentCronRuns.
|
|
2517
|
+
*/
|
|
2518
|
+
skip?: number
|
|
2519
|
+
/**
|
|
2520
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2521
|
+
*
|
|
2522
|
+
* Filter by unique combinations of AgentCronRuns.
|
|
2523
|
+
*/
|
|
2524
|
+
distinct?: Prisma.AgentCronRunScalarFieldEnum | Prisma.AgentCronRunScalarFieldEnum[]
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2527
|
+
/**
|
|
2528
|
+
* AgentCronRun findMany
|
|
2529
|
+
*/
|
|
2530
|
+
export type AgentCronRunFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2531
|
+
/**
|
|
2532
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2533
|
+
*/
|
|
2534
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2535
|
+
/**
|
|
2536
|
+
* Omit specific fields from the AgentCronRun
|
|
2537
|
+
*/
|
|
2538
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2539
|
+
/**
|
|
2540
|
+
* Choose, which related nodes to fetch as well
|
|
2541
|
+
*/
|
|
2542
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2543
|
+
/**
|
|
2544
|
+
* Filter, which AgentCronRuns to fetch.
|
|
2545
|
+
*/
|
|
2546
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
2547
|
+
/**
|
|
2548
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2549
|
+
*
|
|
2550
|
+
* Determine the order of AgentCronRuns to fetch.
|
|
2551
|
+
*/
|
|
2552
|
+
orderBy?: Prisma.AgentCronRunOrderByWithRelationInput | Prisma.AgentCronRunOrderByWithRelationInput[]
|
|
2553
|
+
/**
|
|
2554
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2555
|
+
*
|
|
2556
|
+
* Sets the position for listing AgentCronRuns.
|
|
2557
|
+
*/
|
|
2558
|
+
cursor?: Prisma.AgentCronRunWhereUniqueInput
|
|
2559
|
+
/**
|
|
2560
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2561
|
+
*
|
|
2562
|
+
* Take `±n` AgentCronRuns from the position of the cursor.
|
|
2563
|
+
*/
|
|
2564
|
+
take?: number
|
|
2565
|
+
/**
|
|
2566
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2567
|
+
*
|
|
2568
|
+
* Skip the first `n` AgentCronRuns.
|
|
2569
|
+
*/
|
|
2570
|
+
skip?: number
|
|
2571
|
+
/**
|
|
2572
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2573
|
+
*
|
|
2574
|
+
* Filter by unique combinations of AgentCronRuns.
|
|
2575
|
+
*/
|
|
2576
|
+
distinct?: Prisma.AgentCronRunScalarFieldEnum | Prisma.AgentCronRunScalarFieldEnum[]
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* AgentCronRun create
|
|
2581
|
+
*/
|
|
2582
|
+
export type AgentCronRunCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2583
|
+
/**
|
|
2584
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2585
|
+
*/
|
|
2586
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2587
|
+
/**
|
|
2588
|
+
* Omit specific fields from the AgentCronRun
|
|
2589
|
+
*/
|
|
2590
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2591
|
+
/**
|
|
2592
|
+
* Choose, which related nodes to fetch as well
|
|
2593
|
+
*/
|
|
2594
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2595
|
+
/**
|
|
2596
|
+
* The data needed to create a AgentCronRun.
|
|
2597
|
+
*/
|
|
2598
|
+
data: Prisma.XOR<Prisma.AgentCronRunCreateInput, Prisma.AgentCronRunUncheckedCreateInput>
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2601
|
+
/**
|
|
2602
|
+
* AgentCronRun createMany
|
|
2603
|
+
*/
|
|
2604
|
+
export type AgentCronRunCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2605
|
+
/**
|
|
2606
|
+
* The data used to create many AgentCronRuns.
|
|
2607
|
+
*/
|
|
2608
|
+
data: Prisma.AgentCronRunCreateManyInput | Prisma.AgentCronRunCreateManyInput[]
|
|
2609
|
+
skipDuplicates?: boolean
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* AgentCronRun createManyAndReturn
|
|
2614
|
+
*/
|
|
2615
|
+
export type AgentCronRunCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2616
|
+
/**
|
|
2617
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2618
|
+
*/
|
|
2619
|
+
select?: Prisma.AgentCronRunSelectCreateManyAndReturn<ExtArgs> | null
|
|
2620
|
+
/**
|
|
2621
|
+
* Omit specific fields from the AgentCronRun
|
|
2622
|
+
*/
|
|
2623
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2624
|
+
/**
|
|
2625
|
+
* The data used to create many AgentCronRuns.
|
|
2626
|
+
*/
|
|
2627
|
+
data: Prisma.AgentCronRunCreateManyInput | Prisma.AgentCronRunCreateManyInput[]
|
|
2628
|
+
skipDuplicates?: boolean
|
|
2629
|
+
/**
|
|
2630
|
+
* Choose, which related nodes to fetch as well
|
|
2631
|
+
*/
|
|
2632
|
+
include?: Prisma.AgentCronRunIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
/**
|
|
2636
|
+
* AgentCronRun update
|
|
2637
|
+
*/
|
|
2638
|
+
export type AgentCronRunUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2639
|
+
/**
|
|
2640
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2641
|
+
*/
|
|
2642
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2643
|
+
/**
|
|
2644
|
+
* Omit specific fields from the AgentCronRun
|
|
2645
|
+
*/
|
|
2646
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2647
|
+
/**
|
|
2648
|
+
* Choose, which related nodes to fetch as well
|
|
2649
|
+
*/
|
|
2650
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2651
|
+
/**
|
|
2652
|
+
* The data needed to update a AgentCronRun.
|
|
2653
|
+
*/
|
|
2654
|
+
data: Prisma.XOR<Prisma.AgentCronRunUpdateInput, Prisma.AgentCronRunUncheckedUpdateInput>
|
|
2655
|
+
/**
|
|
2656
|
+
* Choose, which AgentCronRun to update.
|
|
2657
|
+
*/
|
|
2658
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
/**
|
|
2662
|
+
* AgentCronRun updateMany
|
|
2663
|
+
*/
|
|
2664
|
+
export type AgentCronRunUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2665
|
+
/**
|
|
2666
|
+
* The data used to update AgentCronRuns.
|
|
2667
|
+
*/
|
|
2668
|
+
data: Prisma.XOR<Prisma.AgentCronRunUpdateManyMutationInput, Prisma.AgentCronRunUncheckedUpdateManyInput>
|
|
2669
|
+
/**
|
|
2670
|
+
* Filter which AgentCronRuns to update
|
|
2671
|
+
*/
|
|
2672
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
2673
|
+
/**
|
|
2674
|
+
* Limit how many AgentCronRuns to update.
|
|
2675
|
+
*/
|
|
2676
|
+
limit?: number
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* AgentCronRun updateManyAndReturn
|
|
2681
|
+
*/
|
|
2682
|
+
export type AgentCronRunUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2683
|
+
/**
|
|
2684
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2685
|
+
*/
|
|
2686
|
+
select?: Prisma.AgentCronRunSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2687
|
+
/**
|
|
2688
|
+
* Omit specific fields from the AgentCronRun
|
|
2689
|
+
*/
|
|
2690
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2691
|
+
/**
|
|
2692
|
+
* The data used to update AgentCronRuns.
|
|
2693
|
+
*/
|
|
2694
|
+
data: Prisma.XOR<Prisma.AgentCronRunUpdateManyMutationInput, Prisma.AgentCronRunUncheckedUpdateManyInput>
|
|
2695
|
+
/**
|
|
2696
|
+
* Filter which AgentCronRuns to update
|
|
2697
|
+
*/
|
|
2698
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
2699
|
+
/**
|
|
2700
|
+
* Limit how many AgentCronRuns to update.
|
|
2701
|
+
*/
|
|
2702
|
+
limit?: number
|
|
2703
|
+
/**
|
|
2704
|
+
* Choose, which related nodes to fetch as well
|
|
2705
|
+
*/
|
|
2706
|
+
include?: Prisma.AgentCronRunIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
/**
|
|
2710
|
+
* AgentCronRun upsert
|
|
2711
|
+
*/
|
|
2712
|
+
export type AgentCronRunUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2713
|
+
/**
|
|
2714
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2715
|
+
*/
|
|
2716
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2717
|
+
/**
|
|
2718
|
+
* Omit specific fields from the AgentCronRun
|
|
2719
|
+
*/
|
|
2720
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2721
|
+
/**
|
|
2722
|
+
* Choose, which related nodes to fetch as well
|
|
2723
|
+
*/
|
|
2724
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2725
|
+
/**
|
|
2726
|
+
* The filter to search for the AgentCronRun to update in case it exists.
|
|
2727
|
+
*/
|
|
2728
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
2729
|
+
/**
|
|
2730
|
+
* In case the AgentCronRun found by the `where` argument doesn't exist, create a new AgentCronRun with this data.
|
|
2731
|
+
*/
|
|
2732
|
+
create: Prisma.XOR<Prisma.AgentCronRunCreateInput, Prisma.AgentCronRunUncheckedCreateInput>
|
|
2733
|
+
/**
|
|
2734
|
+
* In case the AgentCronRun was found with the provided `where` argument, update it with this data.
|
|
2735
|
+
*/
|
|
2736
|
+
update: Prisma.XOR<Prisma.AgentCronRunUpdateInput, Prisma.AgentCronRunUncheckedUpdateInput>
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2739
|
+
/**
|
|
2740
|
+
* AgentCronRun delete
|
|
2741
|
+
*/
|
|
2742
|
+
export type AgentCronRunDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2743
|
+
/**
|
|
2744
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2745
|
+
*/
|
|
2746
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2747
|
+
/**
|
|
2748
|
+
* Omit specific fields from the AgentCronRun
|
|
2749
|
+
*/
|
|
2750
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2751
|
+
/**
|
|
2752
|
+
* Choose, which related nodes to fetch as well
|
|
2753
|
+
*/
|
|
2754
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2755
|
+
/**
|
|
2756
|
+
* Filter which AgentCronRun to delete.
|
|
2757
|
+
*/
|
|
2758
|
+
where: Prisma.AgentCronRunWhereUniqueInput
|
|
2759
|
+
}
|
|
2760
|
+
|
|
2761
|
+
/**
|
|
2762
|
+
* AgentCronRun deleteMany
|
|
2763
|
+
*/
|
|
2764
|
+
export type AgentCronRunDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2765
|
+
/**
|
|
2766
|
+
* Filter which AgentCronRuns to delete
|
|
2767
|
+
*/
|
|
2768
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
2769
|
+
/**
|
|
2770
|
+
* Limit how many AgentCronRuns to delete.
|
|
2771
|
+
*/
|
|
2772
|
+
limit?: number
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
/**
|
|
2776
|
+
* AgentCronRun.phaseCron
|
|
2777
|
+
*/
|
|
2778
|
+
export type AgentCronRun$phaseCronArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2779
|
+
/**
|
|
2780
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2781
|
+
*/
|
|
2782
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
2783
|
+
/**
|
|
2784
|
+
* Omit specific fields from the AgentCronJob
|
|
2785
|
+
*/
|
|
2786
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2787
|
+
/**
|
|
2788
|
+
* Choose, which related nodes to fetch as well
|
|
2789
|
+
*/
|
|
2790
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
2791
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
/**
|
|
2795
|
+
* AgentCronRun.modelBreakdown
|
|
2796
|
+
*/
|
|
2797
|
+
export type AgentCronRun$modelBreakdownArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2798
|
+
/**
|
|
2799
|
+
* Select specific fields to fetch from the AgentCronRunModelBreakdown
|
|
2800
|
+
*/
|
|
2801
|
+
select?: Prisma.AgentCronRunModelBreakdownSelect<ExtArgs> | null
|
|
2802
|
+
/**
|
|
2803
|
+
* Omit specific fields from the AgentCronRunModelBreakdown
|
|
2804
|
+
*/
|
|
2805
|
+
omit?: Prisma.AgentCronRunModelBreakdownOmit<ExtArgs> | null
|
|
2806
|
+
/**
|
|
2807
|
+
* Choose, which related nodes to fetch as well
|
|
2808
|
+
*/
|
|
2809
|
+
include?: Prisma.AgentCronRunModelBreakdownInclude<ExtArgs> | null
|
|
2810
|
+
where?: Prisma.AgentCronRunModelBreakdownWhereInput
|
|
2811
|
+
orderBy?: Prisma.AgentCronRunModelBreakdownOrderByWithRelationInput | Prisma.AgentCronRunModelBreakdownOrderByWithRelationInput[]
|
|
2812
|
+
cursor?: Prisma.AgentCronRunModelBreakdownWhereUniqueInput
|
|
2813
|
+
take?: number
|
|
2814
|
+
skip?: number
|
|
2815
|
+
distinct?: Prisma.AgentCronRunModelBreakdownScalarFieldEnum | Prisma.AgentCronRunModelBreakdownScalarFieldEnum[]
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2818
|
+
/**
|
|
2819
|
+
* AgentCronRun.skillUsage
|
|
2820
|
+
*/
|
|
2821
|
+
export type AgentCronRun$skillUsageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2822
|
+
/**
|
|
2823
|
+
* Select specific fields to fetch from the AgentCronRunSkillUsage
|
|
2824
|
+
*/
|
|
2825
|
+
select?: Prisma.AgentCronRunSkillUsageSelect<ExtArgs> | null
|
|
2826
|
+
/**
|
|
2827
|
+
* Omit specific fields from the AgentCronRunSkillUsage
|
|
2828
|
+
*/
|
|
2829
|
+
omit?: Prisma.AgentCronRunSkillUsageOmit<ExtArgs> | null
|
|
2830
|
+
/**
|
|
2831
|
+
* Choose, which related nodes to fetch as well
|
|
2832
|
+
*/
|
|
2833
|
+
include?: Prisma.AgentCronRunSkillUsageInclude<ExtArgs> | null
|
|
2834
|
+
where?: Prisma.AgentCronRunSkillUsageWhereInput
|
|
2835
|
+
orderBy?: Prisma.AgentCronRunSkillUsageOrderByWithRelationInput | Prisma.AgentCronRunSkillUsageOrderByWithRelationInput[]
|
|
2836
|
+
cursor?: Prisma.AgentCronRunSkillUsageWhereUniqueInput
|
|
2837
|
+
take?: number
|
|
2838
|
+
skip?: number
|
|
2839
|
+
distinct?: Prisma.AgentCronRunSkillUsageScalarFieldEnum | Prisma.AgentCronRunSkillUsageScalarFieldEnum[]
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2842
|
+
/**
|
|
2843
|
+
* AgentCronRun without action
|
|
2844
|
+
*/
|
|
2845
|
+
export type AgentCronRunDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2846
|
+
/**
|
|
2847
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2848
|
+
*/
|
|
2849
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2850
|
+
/**
|
|
2851
|
+
* Omit specific fields from the AgentCronRun
|
|
2852
|
+
*/
|
|
2853
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2854
|
+
/**
|
|
2855
|
+
* Choose, which related nodes to fetch as well
|
|
2856
|
+
*/
|
|
2857
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2858
|
+
}
|