@sentry/junior 0.198.0 → 0.200.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-hooks-3E7O7ATZ.js → agent-hooks-6LGY2MBH.js} +11 -11
- package/dist/api/schema.d.ts +3157 -22
- package/dist/api/schema.js +1 -1
- package/dist/api.d.ts +27 -8
- package/dist/api.js +26 -25
- package/dist/app.d.ts +456 -16
- package/dist/app.js +3913 -3701
- package/dist/{catalog-runtime-QDUBRXEW.js → catalog-runtime-CIO3ERVQ.js} +4 -4
- package/dist/{chunk-X2WFY3TM.js → chunk-22Y5SBDM.js} +8 -8
- package/dist/{chunk-KVXHBJCH.js → chunk-3WUBDFFL.js} +1 -1
- package/dist/{chunk-N6LJYW7V.js → chunk-4Q5IR5GA.js} +1 -1
- package/dist/{chunk-342FVAX5.js → chunk-5JDNDQHL.js} +1 -1
- package/dist/{chunk-7KXZRRMK.js → chunk-5Q6KP6LH.js} +1 -1
- package/dist/{chunk-3J5Y4RWY.js → chunk-5VRPXF4T.js} +1 -1
- package/dist/{chunk-N3GQY63R.js → chunk-752M26LC.js} +1 -1
- package/dist/{chunk-3TMKXW4H.js → chunk-7DO36XLF.js} +1 -1
- package/dist/{chunk-ZORFTPFN.js → chunk-ADNSL3MX.js} +28 -28
- package/dist/{chunk-EWPTEQXA.js → chunk-AV552V2K.js} +3 -3
- package/dist/{chunk-IZ4CIFJY.js → chunk-EOOWKTQC.js} +9 -9
- package/dist/{chunk-EATO3SKS.js → chunk-GFXDMDHR.js} +3 -3
- package/dist/{chunk-QYSJWJLJ.js → chunk-IAZBUDVU.js} +4 -4
- package/dist/{chunk-U67DBSNZ.js → chunk-JLUCKXGI.js} +7 -6
- package/dist/{chunk-SPEJV3TW.js → chunk-JMRHEW6B.js} +3 -3
- package/dist/{chunk-2ACXVY6O.js → chunk-K2QYWZ7F.js} +1 -1
- package/dist/{chunk-CSGQWJIY.js → chunk-LICM66W2.js} +2 -2
- package/dist/{chunk-CGNZXN7B.js → chunk-LUITHZZL.js} +8 -8
- package/dist/{chunk-VYGZPJSM.js → chunk-M7BHRB3G.js} +4 -4
- package/dist/{chunk-LBN67OZR.js → chunk-MTM5IFCY.js} +1 -0
- package/dist/{chunk-4UW7BEJZ.js → chunk-N5VHBUXF.js} +7 -7
- package/dist/{chunk-F3XUS2T5.js → chunk-ODSGDVHT.js} +5 -5
- package/dist/{chunk-ZUEUBQWE.js → chunk-OIILBD56.js} +3 -3
- package/dist/{chunk-XNZAZ57D.js → chunk-OTTKTTVI.js} +2 -2
- package/dist/{chunk-BFIFTKUS.js → chunk-OVHO76WN.js} +3 -3
- package/dist/{chunk-CZC6ZEXR.js → chunk-PIHLVU7T.js} +6 -6
- package/dist/{chunk-T5KV6DUY.js → chunk-PMSENMWY.js} +1 -1
- package/dist/{chunk-G6XSYS3Q.js → chunk-PSQ4SWI3.js} +4 -4
- package/dist/{chunk-FU4OWKCL.js → chunk-RDWWCDA4.js} +2 -2
- package/dist/{chunk-NVDUM2CM.js → chunk-RG74Q34N.js} +1 -1
- package/dist/{chunk-4FHQ6CCO.js → chunk-SY2RQ77O.js} +1 -1
- package/dist/{chunk-D3SLBCD4.js → chunk-T6263C3N.js} +2 -2
- package/dist/{chunk-CBHQOGFA.js → chunk-TF5TXGRD.js} +1 -1
- package/dist/{chunk-A6KKPVEA.js → chunk-UR43NMUR.js} +4 -4
- package/dist/{chunk-C3SNQB6B.js → chunk-V2VL335Y.js} +21 -21
- package/dist/{chunk-OKQMTCHU.js → chunk-VLBLCJXK.js} +5 -5
- package/dist/{chunk-SCVIT6K4.js → chunk-X2Q4H6JQ.js} +25 -24
- package/dist/{chunk-LXPGGSYD.js → chunk-YVP6QNBZ.js} +3 -3
- package/dist/{chunk-G2CT2D5U.js → chunk-ZPLAAHVP.js} +5 -5
- package/dist/cli/chat.js +33 -33
- package/dist/cli/check.js +5 -5
- package/dist/cli/plugins.js +12 -12
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +6 -6
- package/dist/{db-OSPYS4WA.js → db-SCTYCGQ5.js} +6 -6
- package/dist/instrumentation.d.ts +3 -1
- package/dist/instrumentation.js +3 -3
- package/dist/nitro.d.ts +14 -7
- package/dist/nitro.js +6 -6
- package/dist/{oauth-callback-server-VG736DHZ.js → oauth-callback-server-QXKBXP5M.js} +29 -29
- package/dist/{runner-3GKIVG6A.js → runner-Z3EQSZ23.js} +21 -21
- package/dist/{skills-FKMV7HTX.js → skills-CGEPG74A.js} +5 -5
- package/dist/spawn-WBEM46BW.js +42 -0
- package/dist/task-runner-2X5MUSHN.js +36 -0
- package/dist/{validation-4XYG33GY.js → validation-YLALMVMB.js} +5 -5
- package/dist/vercel.d.ts +4 -2
- package/dist/version.d.ts +3 -1
- package/dist/version.js +1 -1
- package/dist/{work-TJAL6PV3.js → work-N6PUG4MY.js} +21 -21
- package/dist/{worker-3OYUEME2.js → worker-M7464FAO.js} +10 -10
- package/package.json +6 -6
- package/dist/api/acp/auth.d.ts +0 -46
- package/dist/api/acp/authorization-page.d.ts +0 -11
- package/dist/api/acp/conversations.d.ts +0 -70
- package/dist/api/acp/errors.d.ts +0 -6
- package/dist/api/acp/route.d.ts +0 -16
- package/dist/api/acp/schema.d.ts +0 -115
- package/dist/api/acp/sleep.d.ts +0 -2
- package/dist/api/acp/state.d.ts +0 -22
- package/dist/api/acp/transport.d.ts +0 -113
- package/dist/api/activity.d.ts +0 -24
- package/dist/api/code/overview.d.ts +0 -98
- package/dist/api/code/routes.d.ts +0 -4
- package/dist/api/conversations/access.d.ts +0 -10
- package/dist/api/conversations/aggregate.d.ts +0 -31
- package/dist/api/conversations/archive.d.ts +0 -6
- package/dist/api/conversations/attachments.d.ts +0 -32
- package/dist/api/conversations/auxiliary-costs.d.ts +0 -6
- package/dist/api/conversations/cancel-pending-messages.d.ts +0 -4
- package/dist/api/conversations/create.d.ts +0 -6
- package/dist/api/conversations/cursor.d.ts +0 -17
- package/dist/api/conversations/detail.d.ts +0 -7
- package/dist/api/conversations/event-list.d.ts +0 -7
- package/dist/api/conversations/event-page.d.ts +0 -18
- package/dist/api/conversations/events.d.ts +0 -18
- package/dist/api/conversations/list.d.ts +0 -145
- package/dist/api/conversations/membership.d.ts +0 -30
- package/dist/api/conversations/pending-messages.d.ts +0 -15
- package/dist/api/conversations/priority.d.ts +0 -22
- package/dist/api/conversations/projection.d.ts +0 -21
- package/dist/api/conversations/reporting.d.ts +0 -48
- package/dist/api/conversations/routes.d.ts +0 -7
- package/dist/api/conversations/shared.d.ts +0 -5
- package/dist/api/conversations/stats.d.ts +0 -3
- package/dist/api/conversations/stats.query.d.ts +0 -3
- package/dist/api/conversations/usage.d.ts +0 -9
- package/dist/api/conversations/user-message-activity.d.ts +0 -3
- package/dist/api/http.d.ts +0 -8
- package/dist/api/locations/detail.d.ts +0 -134
- package/dist/api/locations/list.d.ts +0 -47
- package/dist/api/locations/query.d.ts +0 -8
- package/dist/api/locations/routes.d.ts +0 -4
- package/dist/api/people/code.d.ts +0 -34
- package/dist/api/people/list.d.ts +0 -3
- package/dist/api/people/list.query.d.ts +0 -3
- package/dist/api/people/plugin-reports.d.ts +0 -7
- package/dist/api/people/profile.d.ts +0 -6
- package/dist/api/people/profile.query.d.ts +0 -6
- package/dist/api/people/routes.d.ts +0 -4
- package/dist/api/people/shared.d.ts +0 -1375
- package/dist/api/people/spend.d.ts +0 -3
- package/dist/api/people/spend.query.d.ts +0 -3
- package/dist/api/personal-tokens/routes.d.ts +0 -4
- package/dist/api/reporting-window.d.ts +0 -78
- package/dist/api/route.d.ts +0 -15
- package/dist/api/schema/code.d.ts +0 -147
- package/dist/api/schema/common.d.ts +0 -6
- package/dist/api/schema/conversation.d.ts +0 -1604
- package/dist/api/schema/location.d.ts +0 -270
- package/dist/api/schema/person.d.ts +0 -362
- package/dist/api/schema/personal-token.d.ts +0 -38
- package/dist/api/schema/stats.d.ts +0 -22
- package/dist/api/schema/task.d.ts +0 -423
- package/dist/api/schema/workspace.d.ts +0 -69
- package/dist/api/stats.d.ts +0 -3
- package/dist/api/tasks/routes.d.ts +0 -4
- package/dist/api/user-pages/routes.d.ts +0 -4
- package/dist/api/validation.d.ts +0 -7
- package/dist/api/viewer.d.ts +0 -3
- package/dist/api/workspaces/routes.d.ts +0 -4
- package/dist/build/copy-build-content.d.ts +0 -6
- package/dist/build/glob-to-regex.d.ts +0 -2
- package/dist/build/rolldown-workarounds.d.ts +0 -14
- package/dist/build/virtual-config.d.ts +0 -25
- package/dist/chat/actor.d.ts +0 -83
- package/dist/chat/agent/action-confirmation-retry.d.ts +0 -6
- package/dist/chat/agent/handoff.d.ts +0 -73
- package/dist/chat/agent/index.d.ts +0 -22
- package/dist/chat/agent/prompt.d.ts +0 -86
- package/dist/chat/agent/repository-context.d.ts +0 -21
- package/dist/chat/agent/resume.d.ts +0 -60
- package/dist/chat/agent/retry-usage.d.ts +0 -8
- package/dist/chat/agent/sandbox.d.ts +0 -55
- package/dist/chat/agent/skills.d.ts +0 -17
- package/dist/chat/agent/tools.d.ts +0 -91
- package/dist/chat/agent/types.d.ts +0 -224
- package/dist/chat/agent-dispatch/context.d.ts +0 -43
- package/dist/chat/agent-dispatch/heartbeat.d.ts +0 -27
- package/dist/chat/agent-dispatch/store.d.ts +0 -42
- package/dist/chat/agent-dispatch/types.d.ts +0 -60
- package/dist/chat/agent-dispatch/validation.d.ts +0 -5
- package/dist/chat/agent-dispatch/work.d.ts +0 -49
- package/dist/chat/agent-invocations/errors.d.ts +0 -8
- package/dist/chat/agent-invocations/spawn.d.ts +0 -12
- package/dist/chat/agent-invocations/store.d.ts +0 -46
- package/dist/chat/agent-invocations/types.d.ts +0 -505
- package/dist/chat/agent-invocations/work.d.ts +0 -29
- package/dist/chat/app/conversation-work.d.ts +0 -37
- package/dist/chat/app/factory.d.ts +0 -23
- package/dist/chat/app/production.d.ts +0 -24
- package/dist/chat/app/services.d.ts +0 -25
- package/dist/chat/artifacts/store.d.ts +0 -42
- package/dist/chat/attachments/storage.d.ts +0 -14
- package/dist/chat/attachments/store.d.ts +0 -68
- package/dist/chat/attachments/vercel.d.ts +0 -3
- package/dist/chat/capabilities/factory.d.ts +0 -11
- package/dist/chat/capabilities/jr-rpc-command.d.ts +0 -26
- package/dist/chat/capabilities/router.d.ts +0 -20
- package/dist/chat/code/publisher.d.ts +0 -3
- package/dist/chat/code/store.d.ts +0 -9
- package/dist/chat/coerce.d.ts +0 -6
- package/dist/chat/config.d.ts +0 -100
- package/dist/chat/configuration/defaults.d.ts +0 -4
- package/dist/chat/configuration/service.d.ts +0 -5
- package/dist/chat/configuration/sql.d.ts +0 -9
- package/dist/chat/configuration/types.d.ts +0 -41
- package/dist/chat/configuration/validation.d.ts +0 -2
- package/dist/chat/conversation-privacy.d.ts +0 -39
- package/dist/chat/conversations/destination-visibility.d.ts +0 -7
- package/dist/chat/conversations/destination.d.ts +0 -12
- package/dist/chat/conversations/history.d.ts +0 -1157
- package/dist/chat/conversations/location.d.ts +0 -5
- package/dist/chat/conversations/message-projection.d.ts +0 -4
- package/dist/chat/conversations/message-search.d.ts +0 -38
- package/dist/chat/conversations/message-summaries.d.ts +0 -9
- package/dist/chat/conversations/messages.d.ts +0 -32
- package/dist/chat/conversations/projection.d.ts +0 -199
- package/dist/chat/conversations/provenance.d.ts +0 -50
- package/dist/chat/conversations/retention.d.ts +0 -40
- package/dist/chat/conversations/sql/actor-identity.d.ts +0 -19
- package/dist/chat/conversations/sql/bindings.d.ts +0 -13
- package/dist/chat/conversations/sql/conversation-row.d.ts +0 -17
- package/dist/chat/conversations/sql/event-actor.d.ts +0 -14
- package/dist/chat/conversations/sql/event-lock.d.ts +0 -3
- package/dist/chat/conversations/sql/history.d.ts +0 -4
- package/dist/chat/conversations/sql/location.d.ts +0 -18
- package/dist/chat/conversations/sql/message-search.d.ts +0 -4
- package/dist/chat/conversations/sql/participants.d.ts +0 -18
- package/dist/chat/conversations/sql/privacy.d.ts +0 -15
- package/dist/chat/conversations/sql/purge.d.ts +0 -45
- package/dist/chat/conversations/sql/store.d.ts +0 -77
- package/dist/chat/conversations/stop.d.ts +0 -12
- package/dist/chat/conversations/store.d.ts +0 -151
- package/dist/chat/conversations/structured-events.d.ts +0 -42
- package/dist/chat/conversations/tool-source.d.ts +0 -5
- package/dist/chat/conversations/turn-lifecycle.d.ts +0 -44
- package/dist/chat/conversations/web-authorization.d.ts +0 -24
- package/dist/chat/conversations/web-input.d.ts +0 -98
- package/dist/chat/conversations/web-mailbox.d.ts +0 -12
- package/dist/chat/credentials/broker.d.ts +0 -23
- package/dist/chat/credentials/context.d.ts +0 -121
- package/dist/chat/credentials/header-transforms.d.ts +0 -3
- package/dist/chat/credentials/oauth-scope.d.ts +0 -4
- package/dist/chat/credentials/state-adapter-token-store.d.ts +0 -11
- package/dist/chat/credentials/subject.d.ts +0 -49
- package/dist/chat/credentials/unlink-provider.d.ts +0 -3
- package/dist/chat/credentials/user-token-store.d.ts +0 -24
- package/dist/chat/current-instruction.d.ts +0 -8
- package/dist/chat/db.d.ts +0 -16
- package/dist/chat/destination.d.ts +0 -14
- package/dist/chat/discovery.d.ts +0 -49
- package/dist/chat/egress/credentialed.d.ts +0 -57
- package/dist/chat/egress/plugin.d.ts +0 -24
- package/dist/chat/event-tasks/ingest.d.ts +0 -9
- package/dist/chat/event-tasks/store.d.ts +0 -41
- package/dist/chat/event-tasks/tool-support.d.ts +0 -158
- package/dist/chat/event-tasks/types.d.ts +0 -51
- package/dist/chat/experimental.d.ts +0 -16
- package/dist/chat/identities/identity.d.ts +0 -18
- package/dist/chat/identities/sql.d.ts +0 -12
- package/dist/chat/ingress/bot-mention.d.ts +0 -13
- package/dist/chat/ingress/junior-chat.d.ts +0 -26
- package/dist/chat/ingress/message-changed.d.ts +0 -52
- package/dist/chat/ingress/message-router.d.ts +0 -12
- package/dist/chat/ingress/slack-webhook.d.ts +0 -21
- package/dist/chat/ingress/slash-command.d.ts +0 -3
- package/dist/chat/ingress/workspace-membership.d.ts +0 -9
- package/dist/chat/interruption-marker.d.ts +0 -2
- package/dist/chat/local/credential-sync.d.ts +0 -5
- package/dist/chat/local/oauth-relay.d.ts +0 -4
- package/dist/chat/log-context.d.ts +0 -40
- package/dist/chat/logging.d.ts +0 -122
- package/dist/chat/mcp/auth-store.d.ts +0 -43
- package/dist/chat/mcp/client.d.ts +0 -40
- package/dist/chat/mcp/errors.d.ts +0 -32
- package/dist/chat/mcp/oauth-provider.d.ts +0 -30
- package/dist/chat/mcp/oauth.d.ts +0 -21
- package/dist/chat/mcp/tool-manager.d.ts +0 -95
- package/dist/chat/mcp/tool-name.d.ts +0 -2
- package/dist/chat/model-profile.d.ts +0 -34
- package/dist/chat/no-reply.d.ts +0 -6
- package/dist/chat/oauth-authorization.d.ts +0 -17
- package/dist/chat/oauth-flow.d.ts +0 -60
- package/dist/chat/oauth-response.d.ts +0 -21
- package/dist/chat/optional-string.d.ts +0 -5
- package/dist/chat/pi/client.d.ts +0 -62
- package/dist/chat/pi/conversation-events.d.ts +0 -38
- package/dist/chat/pi/gateway-auth.d.ts +0 -16
- package/dist/chat/pi/messages.d.ts +0 -19
- package/dist/chat/pi/sdk.d.ts +0 -7
- package/dist/chat/pi/sql-model-usage.d.ts +0 -13
- package/dist/chat/pi/traced-stream.d.ts +0 -13
- package/dist/chat/pi/transcript.d.ts +0 -52
- package/dist/chat/plugins/agent-hooks.d.ts +0 -89
- package/dist/chat/plugins/annotations.d.ts +0 -11
- package/dist/chat/plugins/auth/api-headers-broker.d.ts +0 -6
- package/dist/chat/plugins/auth/auth-token-placeholder.d.ts +0 -3
- package/dist/chat/plugins/auth/oauth-bearer-broker.d.ts +0 -6
- package/dist/chat/plugins/auth/oauth-request.d.ts +0 -26
- package/dist/chat/plugins/catalog-runtime.d.ts +0 -1
- package/dist/chat/plugins/command-env.d.ts +0 -3
- package/dist/chat/plugins/conversation-event-stats.d.ts +0 -3
- package/dist/chat/plugins/conversation-events.d.ts +0 -15
- package/dist/chat/plugins/conversation-sidebar.d.ts +0 -3
- package/dist/chat/plugins/credential-hooks.d.ts +0 -51
- package/dist/chat/plugins/inline-manifest-source.d.ts +0 -5
- package/dist/chat/plugins/logging.d.ts +0 -3
- package/dist/chat/plugins/manifest.d.ts +0 -5
- package/dist/chat/plugins/model.d.ts +0 -9
- package/dist/chat/plugins/package-discovery.d.ts +0 -20
- package/dist/chat/plugins/prompt.d.ts +0 -14
- package/dist/chat/plugins/registry.d.ts +0 -27
- package/dist/chat/plugins/state.d.ts +0 -4
- package/dist/chat/plugins/task-queue.d.ts +0 -42
- package/dist/chat/plugins/task-runner.d.ts +0 -12
- package/dist/chat/plugins/types.d.ts +0 -126
- package/dist/chat/plugins/unfinished-work.d.ts +0 -13
- package/dist/chat/plugins/user-pages.d.ts +0 -16
- package/dist/chat/plugins/validation.d.ts +0 -5
- package/dist/chat/plugins/viewer.d.ts +0 -24
- package/dist/chat/prompt.d.ts +0 -44
- package/dist/chat/providers/slack/input.d.ts +0 -32
- package/dist/chat/providers/slack/processing-reaction.d.ts +0 -21
- package/dist/chat/providers/slack/resume.d.ts +0 -73
- package/dist/chat/providers/slack/runtime.d.ts +0 -114
- package/dist/chat/providers/slack/system-turn.d.ts +0 -13
- package/dist/chat/providers/slack/turn.d.ts +0 -59
- package/dist/chat/queue/callback.d.ts +0 -26
- package/dist/chat/queue/sign.d.ts +0 -30
- package/dist/chat/reasoning-level.d.ts +0 -4
- package/dist/chat/repository-instructions.d.ts +0 -55
- package/dist/chat/resource-events/actor.d.ts +0 -36
- package/dist/chat/resource-events/app-publisher.d.ts +0 -18
- package/dist/chat/resource-events/catalog.d.ts +0 -52
- package/dist/chat/resource-events/ingest.d.ts +0 -10
- package/dist/chat/resource-events/notification.d.ts +0 -54
- package/dist/chat/resource-events/runtime-catalog.d.ts +0 -8
- package/dist/chat/resource-events/store.d.ts +0 -92
- package/dist/chat/resource-events/tool-support.d.ts +0 -9
- package/dist/chat/resource-events/workspace.d.ts +0 -8
- package/dist/chat/runtime/agent-run-outcome.d.ts +0 -29
- package/dist/chat/runtime/agent-runner.d.ts +0 -18
- package/dist/chat/runtime/auth-pause-state.d.ts +0 -11
- package/dist/chat/runtime/conversation-message.d.ts +0 -10
- package/dist/chat/runtime/delivered-turn-state.d.ts +0 -12
- package/dist/chat/runtime/dev-agent-trace.d.ts +0 -1
- package/dist/chat/runtime/report-progress.d.ts +0 -6
- package/dist/chat/runtime/request-deadline.d.ts +0 -8
- package/dist/chat/runtime/thread-context.d.ts +0 -29
- package/dist/chat/runtime/thread-state.d.ts +0 -25
- package/dist/chat/runtime/turn-execution.d.ts +0 -35
- package/dist/chat/runtime/turn-input.d.ts +0 -34
- package/dist/chat/runtime/turn-preparation.d.ts +0 -30
- package/dist/chat/runtime/turn-user-message.d.ts +0 -13
- package/dist/chat/runtime/turn.d.ts +0 -77
- package/dist/chat/sandbox/command-result.d.ts +0 -74
- package/dist/chat/sandbox/credentials.d.ts +0 -11
- package/dist/chat/sandbox/docker.d.ts +0 -17
- package/dist/chat/sandbox/egress/credentials.d.ts +0 -61
- package/dist/chat/sandbox/egress/oidc.d.ts +0 -3
- package/dist/chat/sandbox/egress/policy.d.ts +0 -32
- package/dist/chat/sandbox/egress/proxy.d.ts +0 -35
- package/dist/chat/sandbox/egress/schemas.d.ts +0 -187
- package/dist/chat/sandbox/egress/session.d.ts +0 -59
- package/dist/chat/sandbox/egress/signals.d.ts +0 -9
- package/dist/chat/sandbox/egress/tracing.d.ts +0 -7
- package/dist/chat/sandbox/errors.d.ts +0 -18
- package/dist/chat/sandbox/http-error-details.d.ts +0 -18
- package/dist/chat/sandbox/noninteractive-command.d.ts +0 -21
- package/dist/chat/sandbox/paths.d.ts +0 -8
- package/dist/chat/sandbox/prepare-workspace.d.ts +0 -35
- package/dist/chat/sandbox/ref.d.ts +0 -6
- package/dist/chat/sandbox/resources.d.ts +0 -15
- package/dist/chat/sandbox/runtime-dependencies.d.ts +0 -3
- package/dist/chat/sandbox/sandbox.d.ts +0 -45
- package/dist/chat/sandbox/session.d.ts +0 -50
- package/dist/chat/sandbox/skill-sandbox.d.ts +0 -42
- package/dist/chat/sandbox/skill-sync.d.ts +0 -16
- package/dist/chat/sandbox/snapshot/builder-sandbox.d.ts +0 -5
- package/dist/chat/sandbox/snapshot/events.d.ts +0 -30
- package/dist/chat/sandbox/snapshot/install.d.ts +0 -6
- package/dist/chat/sandbox/snapshot/job-callback.d.ts +0 -5
- package/dist/chat/sandbox/snapshot/job-queue.d.ts +0 -26
- package/dist/chat/sandbox/snapshot/job-runner.d.ts +0 -11
- package/dist/chat/sandbox/snapshot/not-ready-error.d.ts +0 -11
- package/dist/chat/sandbox/snapshot/profile.d.ts +0 -15
- package/dist/chat/sandbox/snapshot/resolve.d.ts +0 -43
- package/dist/chat/sandbox/snapshot/runtime.d.ts +0 -2
- package/dist/chat/sandbox/snapshot/span.d.ts +0 -5
- package/dist/chat/sandbox/snapshot/store.d.ts +0 -31
- package/dist/chat/sandbox/snapshot/workspace.d.ts +0 -23
- package/dist/chat/sandbox/workspace.d.ts +0 -72
- package/dist/chat/scheduled-tasks/cadence.d.ts +0 -27
- package/dist/chat/scheduled-tasks/heartbeat.d.ts +0 -6
- package/dist/chat/scheduled-tasks/identity.d.ts +0 -6
- package/dist/chat/scheduled-tasks/personal.d.ts +0 -23
- package/dist/chat/scheduled-tasks/runs.d.ts +0 -49
- package/dist/chat/scheduled-tasks/schedule-intent.d.ts +0 -61
- package/dist/chat/scheduled-tasks/tasks.d.ts +0 -27
- package/dist/chat/scheduled-tasks/telemetry.d.ts +0 -7
- package/dist/chat/scheduled-tasks/tool-support.d.ts +0 -231
- package/dist/chat/scheduled-tasks/tools/create.d.ts +0 -95
- package/dist/chat/scheduled-tasks/tools/delete.d.ts +0 -70
- package/dist/chat/scheduled-tasks/tools/list.d.ts +0 -71
- package/dist/chat/scheduled-tasks/tools/run-now.d.ts +0 -70
- package/dist/chat/scheduled-tasks/tools/update.d.ts +0 -97
- package/dist/chat/scheduled-tasks/tools.d.ts +0 -6
- package/dist/chat/scheduled-tasks/types.d.ts +0 -135
- package/dist/chat/sentry-links.d.ts +0 -6
- package/dist/chat/sentry-payload-filter.d.ts +0 -14
- package/dist/chat/sentry.d.ts +0 -3
- package/dist/chat/services/assistant-reply.d.ts +0 -16
- package/dist/chat/services/auth-pause-response.d.ts +0 -2
- package/dist/chat/services/auth-pause.d.ts +0 -24
- package/dist/chat/services/automated-turn-limit.d.ts +0 -89
- package/dist/chat/services/context-budget.d.ts +0 -19
- package/dist/chat/services/context-compaction-marker.d.ts +0 -8
- package/dist/chat/services/context-compaction.d.ts +0 -78
- package/dist/chat/services/conversation-memory.d.ts +0 -53
- package/dist/chat/services/conversation-title.d.ts +0 -20
- package/dist/chat/services/empty-output-continuation.d.ts +0 -20
- package/dist/chat/services/guardian-action-policy.d.ts +0 -12
- package/dist/chat/services/guardian-action-review.d.ts +0 -9
- package/dist/chat/services/mcp-auth-orchestration.d.ts +0 -42
- package/dist/chat/services/message-actor-identity.d.ts +0 -16
- package/dist/chat/services/pending-auth.d.ts +0 -44
- package/dist/chat/services/persist-retry.d.ts +0 -2
- package/dist/chat/services/plugin-auth-orchestration.d.ts +0 -56
- package/dist/chat/services/provider-default-config.d.ts +0 -9
- package/dist/chat/services/provider-error.d.ts +0 -42
- package/dist/chat/services/provider-retry.d.ts +0 -13
- package/dist/chat/services/short-title.d.ts +0 -25
- package/dist/chat/services/subscribed-decision.d.ts +0 -75
- package/dist/chat/services/subscribed-reply-policy.d.ts +0 -13
- package/dist/chat/services/subscribed-reply-router-policy.d.ts +0 -12
- package/dist/chat/services/turn-failure-response.d.ts +0 -24
- package/dist/chat/services/turn-limit.d.ts +0 -16
- package/dist/chat/services/turn-result.d.ts +0 -42
- package/dist/chat/services/turn-router.d.ts +0 -59
- package/dist/chat/services/turn-session-routing.d.ts +0 -35
- package/dist/chat/skills.d.ts +0 -47
- package/dist/chat/slack/action-token.d.ts +0 -6
- package/dist/chat/slack/adapter-context.d.ts +0 -25
- package/dist/chat/slack/adapter.d.ts +0 -9
- package/dist/chat/slack/app-home.d.ts +0 -11
- package/dist/chat/slack/assistant-thread/lifecycle.d.ts +0 -12
- package/dist/chat/slack/assistant-thread/status-render.d.ts +0 -28
- package/dist/chat/slack/assistant-thread/status-scheduler.d.ts +0 -24
- package/dist/chat/slack/assistant-thread/status-send.d.ts +0 -31
- package/dist/chat/slack/assistant-thread/status.d.ts +0 -36
- package/dist/chat/slack/assistant-thread/title.d.ts +0 -16
- package/dist/chat/slack/attachment-fetchers.d.ts +0 -11
- package/dist/chat/slack/automated-turn-limit-notice.d.ts +0 -16
- package/dist/chat/slack/canvas-references.d.ts +0 -2
- package/dist/chat/slack/channel.d.ts +0 -65
- package/dist/chat/slack/client.d.ts +0 -87
- package/dist/chat/slack/context.d.ts +0 -21
- package/dist/chat/slack/conversation-context.d.ts +0 -40
- package/dist/chat/slack/dashboard-link.d.ts +0 -11
- package/dist/chat/slack/dispatch-turn.d.ts +0 -24
- package/dist/chat/slack/emoji.d.ts +0 -1
- package/dist/chat/slack/errors.d.ts +0 -8
- package/dist/chat/slack/footer.d.ts +0 -46
- package/dist/chat/slack/id-param.d.ts +0 -25
- package/dist/chat/slack/ids.d.ts +0 -24
- package/dist/chat/slack/location-url.d.ts +0 -11
- package/dist/chat/slack/message/attachments.d.ts +0 -2
- package/dist/chat/slack/message/blocks.d.ts +0 -2
- package/dist/chat/slack/message/content.d.ts +0 -18
- package/dist/chat/slack/message/identity.d.ts +0 -7
- package/dist/chat/slack/message-control.d.ts +0 -2
- package/dist/chat/slack/mrkdwn.d.ts +0 -19
- package/dist/chat/slack/oauth-authorization-message.d.ts +0 -3
- package/dist/chat/slack/outbound.d.ts +0 -79
- package/dist/chat/slack/output.d.ts +0 -54
- package/dist/chat/slack/reply.d.ts +0 -19
- package/dist/chat/slack/status-format.d.ts +0 -2
- package/dist/chat/slack/team-domain.d.ts +0 -4
- package/dist/chat/slack/timestamp-param.d.ts +0 -23
- package/dist/chat/slack/timestamp.d.ts +0 -6
- package/dist/chat/slack/tool-support/canvas/api.d.ts +0 -38
- package/dist/chat/slack/tool-support/canvas/context.d.ts +0 -11
- package/dist/chat/slack/tool-support/canvas/markdown.d.ts +0 -9
- package/dist/chat/slack/tool-support/channel-access.d.ts +0 -42
- package/dist/chat/slack/tool-support/channel-capabilities.d.ts +0 -13
- package/dist/chat/slack/tool-support/channel-target.d.ts +0 -28
- package/dist/chat/slack/tool-support/context.d.ts +0 -15
- package/dist/chat/slack/tool-support/list/api.d.ts +0 -50
- package/dist/chat/slack/tool-support/list/params.d.ts +0 -5
- package/dist/chat/slack/tool-support/slack-message-url.d.ts +0 -18
- package/dist/chat/slack/tools/canvas/create.d.ts +0 -30
- package/dist/chat/slack/tools/canvas/edit.d.ts +0 -48
- package/dist/chat/slack/tools/canvas/read.d.ts +0 -51
- package/dist/chat/slack/tools/canvas/write.d.ts +0 -29
- package/dist/chat/slack/tools/channel-join.d.ts +0 -28
- package/dist/chat/slack/tools/channel-list-messages.d.ts +0 -34
- package/dist/chat/slack/tools/conversation-message-search.d.ts +0 -67
- package/dist/chat/slack/tools/list/add-items.d.ts +0 -31
- package/dist/chat/slack/tools/list/create.d.ts +0 -28
- package/dist/chat/slack/tools/list/get-items.d.ts +0 -28
- package/dist/chat/slack/tools/list/update-item.d.ts +0 -36
- package/dist/chat/slack/tools/message-add-reaction.d.ts +0 -29
- package/dist/chat/slack/tools/public-search.d.ts +0 -121
- package/dist/chat/slack/tools/send-files.d.ts +0 -53
- package/dist/chat/slack/tools/thread-read.d.ts +0 -32
- package/dist/chat/slack/user.d.ts +0 -11
- package/dist/chat/slack/users.d.ts +0 -40
- package/dist/chat/slack/vision-cache.d.ts +0 -5
- package/dist/chat/slack/vision-context.d.ts +0 -63
- package/dist/chat/slack/workspace-context.d.ts +0 -4
- package/dist/chat/sleep.d.ts +0 -2
- package/dist/chat/source.d.ts +0 -16
- package/dist/chat/state/adapter.d.ts +0 -10
- package/dist/chat/state/conversation.d.ts +0 -80
- package/dist/chat/state/locks.d.ts +0 -35
- package/dist/chat/state/ttl.d.ts +0 -2
- package/dist/chat/state/turn-id.d.ts +0 -4
- package/dist/chat/task-execution/assistant-message.d.ts +0 -32
- package/dist/chat/task-execution/checkpoint.d.ts +0 -86
- package/dist/chat/task-execution/conversation-turn.d.ts +0 -8
- package/dist/chat/task-execution/heartbeat.d.ts +0 -13
- package/dist/chat/task-execution/mailbox-input.d.ts +0 -3
- package/dist/chat/task-execution/mailbox-turn.d.ts +0 -52
- package/dist/chat/task-execution/paused-turn.d.ts +0 -27
- package/dist/chat/task-execution/queue-signing.d.ts +0 -17
- package/dist/chat/task-execution/queue.d.ts +0 -33
- package/dist/chat/task-execution/slack-work.d.ts +0 -274
- package/dist/chat/task-execution/state.d.ts +0 -410
- package/dist/chat/task-execution/store.d.ts +0 -248
- package/dist/chat/task-execution/turn-cursor-keys.d.ts +0 -6
- package/dist/chat/task-execution/turn-cursor.d.ts +0 -165
- package/dist/chat/task-execution/turn-wake.d.ts +0 -41
- package/dist/chat/task-execution/vercel-callback.d.ts +0 -27
- package/dist/chat/task-execution/vercel-queue.d.ts +0 -19
- package/dist/chat/task-execution/worker.d.ts +0 -42
- package/dist/chat/task-input.d.ts +0 -22
- package/dist/chat/tasks/execution-stats.d.ts +0 -105
- package/dist/chat/tasks/read.d.ts +0 -22
- package/dist/chat/tool-exposure.d.ts +0 -10
- package/dist/chat/tool-support/action-review-evidence.d.ts +0 -4
- package/dist/chat/tool-support/action-review-history.d.ts +0 -117
- package/dist/chat/tool-support/action-review.d.ts +0 -143
- package/dist/chat/tool-support/catalog-tool-call.d.ts +0 -10
- package/dist/chat/tool-support/normalize-result.d.ts +0 -9
- package/dist/chat/tool-support/pi-tool-adapter.d.ts +0 -13
- package/dist/chat/tool-support/private-trace-result.d.ts +0 -4
- package/dist/chat/tool-support/skill/mcp-tool-summary.d.ts +0 -20
- package/dist/chat/tool-support/structured-result.d.ts +0 -44
- package/dist/chat/tool-support/text-range-result.d.ts +0 -37
- package/dist/chat/tool-support/timed-out-tool-result.d.ts +0 -11
- package/dist/chat/tool-support/tool-execution-report.d.ts +0 -8
- package/dist/chat/tool-support/zod-tool.d.ts +0 -46
- package/dist/chat/tools/create-event-task.d.ts +0 -71
- package/dist/chat/tools/definition.d.ts +0 -122
- package/dist/chat/tools/delete-event-task.d.ts +0 -61
- package/dist/chat/tools/event-tasks.d.ts +0 -5
- package/dist/chat/tools/execute-tool.d.ts +0 -11
- package/dist/chat/tools/execution/build-sandbox-input.d.ts +0 -2
- package/dist/chat/tools/execution/tool-error-handler.d.ts +0 -4
- package/dist/chat/tools/execution/tool-input-error.d.ts +0 -6
- package/dist/chat/tools/handoff/tool.d.ts +0 -31
- package/dist/chat/tools/idempotency.d.ts +0 -1
- package/dist/chat/tools/index.d.ts +0 -11
- package/dist/chat/tools/list-event-tasks.d.ts +0 -59
- package/dist/chat/tools/list-resource-event-subscriptions.d.ts +0 -46
- package/dist/chat/tools/publish-image.d.ts +0 -44
- package/dist/chat/tools/resource-events.d.ts +0 -5
- package/dist/chat/tools/runtime/report-progress.d.ts +0 -27
- package/dist/chat/tools/runtime/spawn-agent.d.ts +0 -33
- package/dist/chat/tools/sandbox/bash.d.ts +0 -11
- package/dist/chat/tools/sandbox/edit-file.d.ts +0 -43
- package/dist/chat/tools/sandbox/file-uploads.d.ts +0 -52
- package/dist/chat/tools/sandbox/file-utils.d.ts +0 -64
- package/dist/chat/tools/sandbox/find-files.d.ts +0 -33
- package/dist/chat/tools/sandbox/generated-artifacts.d.ts +0 -16
- package/dist/chat/tools/sandbox/grep.d.ts +0 -51
- package/dist/chat/tools/sandbox/list-dir.d.ts +0 -35
- package/dist/chat/tools/sandbox/read-file.d.ts +0 -12
- package/dist/chat/tools/sandbox/text-edits.d.ts +0 -29
- package/dist/chat/tools/sandbox/view-image.d.ts +0 -11
- package/dist/chat/tools/sandbox/write-file.d.ts +0 -10
- package/dist/chat/tools/scheduled-tasks.d.ts +0 -4
- package/dist/chat/tools/search-conversation-events.d.ts +0 -56
- package/dist/chat/tools/search-resource-event-types.d.ts +0 -56
- package/dist/chat/tools/search-tools.d.ts +0 -71
- package/dist/chat/tools/skill/call-mcp-tool.d.ts +0 -16
- package/dist/chat/tools/skill/load-skill.d.ts +0 -39
- package/dist/chat/tools/skill/search-mcp-tools.d.ts +0 -81
- package/dist/chat/tools/stop-watching-resources.d.ts +0 -30
- package/dist/chat/tools/system-time.d.ts +0 -42
- package/dist/chat/tools/types.d.ts +0 -129
- package/dist/chat/tools/unpublish-image.d.ts +0 -35
- package/dist/chat/tools/update-event-task.d.ts +0 -71
- package/dist/chat/tools/user-lookup.d.ts +0 -29
- package/dist/chat/tools/watch-resource-events.d.ts +0 -64
- package/dist/chat/tools/web/constants.d.ts +0 -6
- package/dist/chat/tools/web/fetch-content.d.ts +0 -28
- package/dist/chat/tools/web/fetch-tool.d.ts +0 -31
- package/dist/chat/tools/web/image-generate.d.ts +0 -51
- package/dist/chat/tools/web/network.d.ts +0 -6
- package/dist/chat/tools/web/search.d.ts +0 -28
- package/dist/chat/turn-context-tag.d.ts +0 -6
- package/dist/chat/usage.d.ts +0 -42
- package/dist/chat/vercel-queue-client.d.ts +0 -3
- package/dist/chat/workspaces/checkout-path.d.ts +0 -4
- package/dist/chat/workspaces/store.d.ts +0 -35
- package/dist/chat/workspaces/tools.d.ts +0 -4
- package/dist/chat/workspaces/types.d.ts +0 -36
- package/dist/chat/workspaces/validation.d.ts +0 -20
- package/dist/chat/xml.d.ts +0 -3
- package/dist/db/db.d.ts +0 -27
- package/dist/db/executor.d.ts +0 -8
- package/dist/db/neon.d.ts +0 -8
- package/dist/db/postgres-json.d.ts +0 -5
- package/dist/db/postgres.d.ts +0 -7
- package/dist/db/schema/agent-invocations.d.ts +0 -592
- package/dist/db/schema/api-tokens.d.ts +0 -160
- package/dist/db/schema/artifacts.d.ts +0 -178
- package/dist/db/schema/attachments.d.ts +0 -178
- package/dist/db/schema/code.d.ts +0 -367
- package/dist/db/schema/conversation-annotations.d.ts +0 -142
- package/dist/db/schema/conversation-bindings.d.ts +0 -110
- package/dist/db/schema/conversation-events.d.ts +0 -170
- package/dist/db/schema/conversation-participants.d.ts +0 -80
- package/dist/db/schema/conversations.d.ts +0 -1341
- package/dist/db/schema/destinations.d.ts +0 -209
- package/dist/db/schema/event-tasks.d.ts +0 -150
- package/dist/db/schema/identities.d.ts +0 -265
- package/dist/db/schema/location-configurations.d.ts +0 -127
- package/dist/db/schema/scheduled-tasks.d.ts +0 -298
- package/dist/db/schema/snapshots.d.ts +0 -271
- package/dist/db/schema/stats.d.ts +0 -97
- package/dist/db/schema/task-executions.d.ts +0 -131
- package/dist/db/schema/timestamps.d.ts +0 -1
- package/dist/db/schema/users.d.ts +0 -109
- package/dist/db/schema/workspaces.d.ts +0 -152
- package/dist/db/schema.d.ts +0 -4436
- package/dist/deployment.d.ts +0 -12
- package/dist/handlers/artifacts.d.ts +0 -8
- package/dist/handlers/health.d.ts +0 -7
- package/dist/handlers/heartbeat.d.ts +0 -7
- package/dist/handlers/mcp-oauth-callback.d.ts +0 -10
- package/dist/handlers/oauth-callback.d.ts +0 -10
- package/dist/handlers/oauth-html.d.ts +0 -4
- package/dist/handlers/retention.d.ts +0 -9
- package/dist/handlers/sandbox-egress-proxy.d.ts +0 -11
- package/dist/handlers/sandbox-egress-route.d.ts +0 -4
- package/dist/handlers/sandbox-egress-signals.d.ts +0 -4
- package/dist/handlers/slack-webhook.d.ts +0 -4
- package/dist/handlers/types.d.ts +0 -2
- package/dist/handlers/webhooks.d.ts +0 -12
- package/dist/package-resolution.d.ts +0 -13
- package/dist/personal-tokens/store.d.ts +0 -27
- package/dist/plugin-module.d.ts +0 -21
- package/dist/plugins.d.ts +0 -26
- package/dist/reporting-schema.d.ts +0 -194
- package/dist/reporting.d.ts +0 -12
- package/dist/spawn-5YR3E42B.js +0 -42
- package/dist/stats.d.ts +0 -18
- package/dist/task-runner-GR2WZNCW.js +0 -36
- package/dist/usage-schema.d.ts +0 -25
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,22 +1,3157 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Durable conversation event history port.
|
|
5
|
+
*
|
|
6
|
+
* Events append under the conversation lease in stable sequence order.
|
|
7
|
+
* Compaction and handoff replace the active model history without rewriting
|
|
8
|
+
* prior events. Unsupported stored events remain readable as opaque facts,
|
|
9
|
+
* while malformed known events fail loudly. Provider-specific message fields
|
|
10
|
+
* are validated by the Pi adapter when it restores model context.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/** Where a failed turn stopped. */
|
|
14
|
+
declare const conversationTurnFailureCodeSchema: z.ZodEnum<{
|
|
15
|
+
agent_run_failed: "agent_run_failed";
|
|
16
|
+
delivery_failed: "delivery_failed";
|
|
17
|
+
model_execution_failed: "model_execution_failed";
|
|
18
|
+
persistence_failed: "persistence_failed";
|
|
19
|
+
}>;
|
|
20
|
+
/**
|
|
21
|
+
* Why a failed turn stopped.
|
|
22
|
+
* Values are fixed labels only. Do not store raw exception text.
|
|
23
|
+
*/
|
|
24
|
+
declare const conversationTurnFailureReasonSchema: z.ZodEnum<{
|
|
25
|
+
unknown: "unknown";
|
|
26
|
+
auth: "auth";
|
|
27
|
+
permission: "permission";
|
|
28
|
+
rate_limit: "rate_limit";
|
|
29
|
+
capacity: "capacity";
|
|
30
|
+
timeout: "timeout";
|
|
31
|
+
network: "network";
|
|
32
|
+
server: "server";
|
|
33
|
+
invalid_request: "invalid_request";
|
|
34
|
+
invalid_response: "invalid_response";
|
|
35
|
+
quota: "quota";
|
|
36
|
+
content_policy: "content_policy";
|
|
37
|
+
empty_output: "empty_output";
|
|
38
|
+
tool_errors: "tool_errors";
|
|
39
|
+
suppressed_output: "suppressed_output";
|
|
40
|
+
}>;
|
|
41
|
+
|
|
42
|
+
declare const dailyConversationActivitySchema: z.ZodObject<{
|
|
43
|
+
active: z.ZodNumber;
|
|
44
|
+
conversations: z.ZodNumber;
|
|
45
|
+
date: z.ZodString;
|
|
46
|
+
durationMs: z.ZodNumber;
|
|
47
|
+
failed: z.ZodNumber;
|
|
48
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
}, z.core.$strict>;
|
|
50
|
+
type DailyConversationActivity = z.infer<typeof dailyConversationActivitySchema>;
|
|
51
|
+
|
|
52
|
+
declare const codeChangeSummarySchema: z.ZodObject<{
|
|
53
|
+
closed: z.ZodNumber;
|
|
54
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
created: z.ZodNumber;
|
|
56
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
merged: z.ZodNumber;
|
|
59
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
open: z.ZodNumber;
|
|
61
|
+
}, z.core.$strict>;
|
|
62
|
+
declare const codeActivityDaySchema: z.ZodObject<{
|
|
63
|
+
closed: z.ZodNumber;
|
|
64
|
+
created: z.ZodNumber;
|
|
65
|
+
date: z.ZodString;
|
|
66
|
+
merged: z.ZodNumber;
|
|
67
|
+
}, z.core.$strict>;
|
|
68
|
+
declare const codeRepositorySummarySchema: z.ZodObject<{
|
|
69
|
+
closed: z.ZodNumber;
|
|
70
|
+
created: z.ZodNumber;
|
|
71
|
+
id: z.ZodString;
|
|
72
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
merged: z.ZodNumber;
|
|
74
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
name: z.ZodString;
|
|
76
|
+
open: z.ZodNumber;
|
|
77
|
+
provider: z.ZodString;
|
|
78
|
+
url: z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
declare const codeChangeSummaryReportSchema: z.ZodObject<{
|
|
81
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
82
|
+
id: z.ZodString;
|
|
83
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
84
|
+
number: z.ZodNumber;
|
|
85
|
+
openedAt: z.ZodString;
|
|
86
|
+
provider: z.ZodString;
|
|
87
|
+
repository: z.ZodString;
|
|
88
|
+
state: z.ZodEnum<{
|
|
89
|
+
open: "open";
|
|
90
|
+
closed: "closed";
|
|
91
|
+
merged: "merged";
|
|
92
|
+
}>;
|
|
93
|
+
title: z.ZodOptional<z.ZodString>;
|
|
94
|
+
url: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, z.core.$strict>;
|
|
96
|
+
declare const codeOverviewReportSchema: z.ZodObject<{
|
|
97
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
98
|
+
closed: z.ZodNumber;
|
|
99
|
+
created: z.ZodNumber;
|
|
100
|
+
date: z.ZodString;
|
|
101
|
+
merged: z.ZodNumber;
|
|
102
|
+
}, z.core.$strict>>;
|
|
103
|
+
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
104
|
+
closed: z.ZodNumber;
|
|
105
|
+
created: z.ZodNumber;
|
|
106
|
+
date: z.ZodString;
|
|
107
|
+
merged: z.ZodNumber;
|
|
108
|
+
}, z.core.$strict>>>;
|
|
109
|
+
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110
|
+
closed: z.ZodNumber;
|
|
111
|
+
created: z.ZodNumber;
|
|
112
|
+
date: z.ZodString;
|
|
113
|
+
merged: z.ZodNumber;
|
|
114
|
+
}, z.core.$strict>>>;
|
|
115
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
116
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
117
|
+
id: z.ZodString;
|
|
118
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
119
|
+
number: z.ZodNumber;
|
|
120
|
+
openedAt: z.ZodString;
|
|
121
|
+
provider: z.ZodString;
|
|
122
|
+
repository: z.ZodString;
|
|
123
|
+
state: z.ZodEnum<{
|
|
124
|
+
open: "open";
|
|
125
|
+
closed: "closed";
|
|
126
|
+
merged: "merged";
|
|
127
|
+
}>;
|
|
128
|
+
title: z.ZodOptional<z.ZodString>;
|
|
129
|
+
url: z.ZodOptional<z.ZodString>;
|
|
130
|
+
}, z.core.$strict>>;
|
|
131
|
+
generatedAt: z.ZodString;
|
|
132
|
+
repositories: z.ZodArray<z.ZodObject<{
|
|
133
|
+
closed: z.ZodNumber;
|
|
134
|
+
created: z.ZodNumber;
|
|
135
|
+
id: z.ZodString;
|
|
136
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
merged: z.ZodNumber;
|
|
138
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
name: z.ZodString;
|
|
140
|
+
open: z.ZodNumber;
|
|
141
|
+
provider: z.ZodString;
|
|
142
|
+
url: z.ZodOptional<z.ZodString>;
|
|
143
|
+
}, z.core.$strict>>;
|
|
144
|
+
summary: z.ZodObject<{
|
|
145
|
+
closed: z.ZodNumber;
|
|
146
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
147
|
+
created: z.ZodNumber;
|
|
148
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
149
|
+
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
merged: z.ZodNumber;
|
|
151
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
open: z.ZodNumber;
|
|
153
|
+
}, z.core.$strict>;
|
|
154
|
+
windowEnd: z.ZodString;
|
|
155
|
+
windowStart: z.ZodString;
|
|
156
|
+
}, z.core.$strict>;
|
|
157
|
+
/** Person-scoped code activity for one People profile. */
|
|
158
|
+
declare const codePersonReportSchema: z.ZodObject<{
|
|
159
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
160
|
+
closed: z.ZodNumber;
|
|
161
|
+
created: z.ZodNumber;
|
|
162
|
+
date: z.ZodString;
|
|
163
|
+
merged: z.ZodNumber;
|
|
164
|
+
}, z.core.$strict>>;
|
|
165
|
+
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
166
|
+
closed: z.ZodNumber;
|
|
167
|
+
created: z.ZodNumber;
|
|
168
|
+
date: z.ZodString;
|
|
169
|
+
merged: z.ZodNumber;
|
|
170
|
+
}, z.core.$strict>>>;
|
|
171
|
+
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
172
|
+
closed: z.ZodNumber;
|
|
173
|
+
created: z.ZodNumber;
|
|
174
|
+
date: z.ZodString;
|
|
175
|
+
merged: z.ZodNumber;
|
|
176
|
+
}, z.core.$strict>>>;
|
|
177
|
+
generatedAt: z.ZodString;
|
|
178
|
+
summary: z.ZodObject<{
|
|
179
|
+
closed: z.ZodNumber;
|
|
180
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
created: z.ZodNumber;
|
|
182
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
184
|
+
merged: z.ZodNumber;
|
|
185
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
open: z.ZodNumber;
|
|
187
|
+
}, z.core.$strict>;
|
|
188
|
+
windowEnd: z.ZodString;
|
|
189
|
+
windowStart: z.ZodString;
|
|
190
|
+
}, z.core.$strict>;
|
|
191
|
+
type CodeActivityDay = z.infer<typeof codeActivityDaySchema>;
|
|
192
|
+
type CodeChangeSummaryReport = z.infer<typeof codeChangeSummaryReportSchema>;
|
|
193
|
+
type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
|
|
194
|
+
type CodePersonReport = z.infer<typeof codePersonReportSchema>;
|
|
195
|
+
type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
|
|
196
|
+
|
|
197
|
+
declare const conversationReportStatusSchema: z.ZodEnum<{
|
|
198
|
+
active: "active";
|
|
199
|
+
completed: "completed";
|
|
200
|
+
failed: "failed";
|
|
201
|
+
}>;
|
|
202
|
+
declare const conversationSurfaceSchema: z.ZodEnum<{
|
|
203
|
+
slack: "slack";
|
|
204
|
+
api: "api";
|
|
205
|
+
scheduler: "scheduler";
|
|
206
|
+
internal: "internal";
|
|
207
|
+
}>;
|
|
208
|
+
declare const conversationCostSchema: z.ZodObject<{
|
|
209
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
210
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
211
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
212
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
213
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
}, z.core.$strict>;
|
|
215
|
+
declare const conversationUsageSchema: z.ZodObject<{
|
|
216
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
218
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
219
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
222
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
224
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
225
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
228
|
+
}, z.core.$strict>>;
|
|
229
|
+
}, z.core.$strict>;
|
|
230
|
+
declare const conversationParamsSchema: z.ZodObject<{
|
|
231
|
+
conversationId: z.ZodString;
|
|
232
|
+
}, z.core.$strict>;
|
|
233
|
+
declare const conversationDetailQuerySchema: z.ZodObject<{
|
|
234
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
235
|
+
}, z.core.$strict>;
|
|
236
|
+
declare const conversationEventsQuerySchema: z.ZodObject<{
|
|
237
|
+
before: z.ZodString;
|
|
238
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
239
|
+
}, z.core.$strict>;
|
|
240
|
+
declare const conversationFeedQuerySchema: z.ZodObject<{
|
|
241
|
+
actorEmail: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
242
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
243
|
+
active: "active";
|
|
244
|
+
archived: "archived";
|
|
245
|
+
}>>;
|
|
246
|
+
}, z.core.$strict>;
|
|
247
|
+
declare const archiveConversationBodySchema: z.ZodObject<{
|
|
248
|
+
archived: z.ZodBoolean;
|
|
249
|
+
lastSeenAt: z.ZodString;
|
|
250
|
+
}, z.core.$strict>;
|
|
251
|
+
declare const archiveConversationResponseSchema: z.ZodObject<{
|
|
252
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
253
|
+
}, z.core.$strict>;
|
|
254
|
+
declare const createConversationBodySchema: z.ZodObject<{
|
|
255
|
+
idempotencyKey: z.ZodString;
|
|
256
|
+
message: z.ZodString;
|
|
257
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
258
|
+
private: "private";
|
|
259
|
+
public: "public";
|
|
260
|
+
}>>;
|
|
261
|
+
}, z.core.$strict>;
|
|
262
|
+
declare const createConversationMessageBodySchema: z.ZodObject<{
|
|
263
|
+
idempotencyKey: z.ZodString;
|
|
264
|
+
message: z.ZodString;
|
|
265
|
+
}, z.core.$strict>;
|
|
266
|
+
declare const acceptedConversationMessageSchema: z.ZodObject<{
|
|
267
|
+
conversationId: z.ZodString;
|
|
268
|
+
messageId: z.ZodString;
|
|
269
|
+
status: z.ZodEnum<{
|
|
270
|
+
accepted: "accepted";
|
|
271
|
+
duplicate: "duplicate";
|
|
272
|
+
}>;
|
|
273
|
+
}, z.core.$strict>;
|
|
274
|
+
declare const actorIdentitySchema: z.ZodObject<{
|
|
275
|
+
email: z.ZodOptional<z.ZodString>;
|
|
276
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
277
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
278
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
279
|
+
}, z.core.$strict>;
|
|
280
|
+
/** Mailbox delivery mode for one accepted inbound message. */
|
|
281
|
+
declare const conversationPendingMessageDeliverySchema: z.ZodEnum<{
|
|
282
|
+
defer: "defer";
|
|
283
|
+
interrupt: "interrupt";
|
|
284
|
+
}>;
|
|
285
|
+
/** One accepted mailbox message that has not reached durable history yet. */
|
|
286
|
+
declare const conversationPendingMessageSchema: z.ZodObject<{
|
|
287
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
288
|
+
email: z.ZodOptional<z.ZodString>;
|
|
289
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
290
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
291
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
292
|
+
}, z.core.$strict>>;
|
|
293
|
+
createdAt: z.ZodString;
|
|
294
|
+
delivery: z.ZodEnum<{
|
|
295
|
+
defer: "defer";
|
|
296
|
+
interrupt: "interrupt";
|
|
297
|
+
}>;
|
|
298
|
+
inboundMessageId: z.ZodString;
|
|
299
|
+
messageId: z.ZodString;
|
|
300
|
+
receivedAt: z.ZodString;
|
|
301
|
+
role: z.ZodLiteral<"user">;
|
|
302
|
+
source: z.ZodEnum<{
|
|
303
|
+
slack: "slack";
|
|
304
|
+
web: "web";
|
|
305
|
+
}>;
|
|
306
|
+
text: z.ZodOptional<z.ZodString>;
|
|
307
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
308
|
+
}, z.core.$strict>;
|
|
309
|
+
/** Participant-only authorization prompt for a parked web turn. */
|
|
310
|
+
declare const conversationPendingAuthorizationSchema: z.ZodObject<{
|
|
311
|
+
authorizationUrl: z.ZodString;
|
|
312
|
+
completionText: z.ZodString;
|
|
313
|
+
label: z.ZodString;
|
|
314
|
+
}, z.core.$strict>;
|
|
315
|
+
/** Bounded mailbox snapshot for one conversation transcript. */
|
|
316
|
+
declare const conversationPendingMessagesReportSchema: z.ZodObject<{
|
|
317
|
+
authorization: z.ZodOptional<z.ZodObject<{
|
|
318
|
+
authorizationUrl: z.ZodString;
|
|
319
|
+
completionText: z.ZodString;
|
|
320
|
+
label: z.ZodString;
|
|
321
|
+
}, z.core.$strict>>;
|
|
322
|
+
conversationId: z.ZodString;
|
|
323
|
+
generatedAt: z.ZodString;
|
|
324
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
325
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
326
|
+
email: z.ZodOptional<z.ZodString>;
|
|
327
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
328
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
329
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
330
|
+
}, z.core.$strict>>;
|
|
331
|
+
createdAt: z.ZodString;
|
|
332
|
+
delivery: z.ZodEnum<{
|
|
333
|
+
defer: "defer";
|
|
334
|
+
interrupt: "interrupt";
|
|
335
|
+
}>;
|
|
336
|
+
inboundMessageId: z.ZodString;
|
|
337
|
+
messageId: z.ZodString;
|
|
338
|
+
receivedAt: z.ZodString;
|
|
339
|
+
role: z.ZodLiteral<"user">;
|
|
340
|
+
source: z.ZodEnum<{
|
|
341
|
+
slack: "slack";
|
|
342
|
+
web: "web";
|
|
343
|
+
}>;
|
|
344
|
+
text: z.ZodOptional<z.ZodString>;
|
|
345
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
346
|
+
}, z.core.$strict>>;
|
|
347
|
+
}, z.core.$strict>;
|
|
348
|
+
/** Optional filters for cancelling accepted mailbox rows. */
|
|
349
|
+
declare const cancelConversationPendingMessagesBodySchema: z.ZodObject<{
|
|
350
|
+
inboundMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
351
|
+
receivedBefore: z.ZodOptional<z.ZodString>;
|
|
352
|
+
}, z.core.$strict>;
|
|
353
|
+
/** Result of cancelling accepted human-facing mailbox rows. */
|
|
354
|
+
declare const cancelConversationPendingMessagesResponseSchema: z.ZodObject<{
|
|
355
|
+
cancelledCount: z.ZodNumber;
|
|
356
|
+
cancelledInboundMessageIds: z.ZodArray<z.ZodString>;
|
|
357
|
+
conversationId: z.ZodString;
|
|
358
|
+
}, z.core.$strict>;
|
|
359
|
+
declare const conversationAuxiliaryCostsSchema: z.ZodObject<{
|
|
360
|
+
costUsd: z.ZodNumber;
|
|
361
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
362
|
+
costUsd: z.ZodNumber;
|
|
363
|
+
events: z.ZodNumber;
|
|
364
|
+
name: z.ZodString;
|
|
365
|
+
namespace: z.ZodString;
|
|
366
|
+
}, z.core.$strict>>;
|
|
367
|
+
}, z.core.$strict>;
|
|
368
|
+
/** Optional reverse link from a task-triggered conversation back to its task. */
|
|
369
|
+
declare const conversationSourceTaskSchema: z.ZodObject<{
|
|
370
|
+
id: z.ZodOptional<z.ZodString>;
|
|
371
|
+
kind: z.ZodEnum<{
|
|
372
|
+
scheduled: "scheduled";
|
|
373
|
+
event: "event";
|
|
374
|
+
}>;
|
|
375
|
+
label: z.ZodOptional<z.ZodString>;
|
|
376
|
+
title: z.ZodOptional<z.ZodString>;
|
|
377
|
+
}, z.core.$strict>;
|
|
378
|
+
declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
379
|
+
displayTitle: z.ZodString;
|
|
380
|
+
cumulativeDurationMs: z.ZodNumber;
|
|
381
|
+
cumulativeUsage: z.ZodOptional<z.ZodObject<{
|
|
382
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
383
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
384
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
385
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
386
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
387
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
388
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
389
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
390
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
391
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
392
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
393
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
394
|
+
}, z.core.$strict>>;
|
|
395
|
+
}, z.core.$strict>>;
|
|
396
|
+
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
397
|
+
costUsd: z.ZodNumber;
|
|
398
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
399
|
+
costUsd: z.ZodNumber;
|
|
400
|
+
events: z.ZodNumber;
|
|
401
|
+
name: z.ZodString;
|
|
402
|
+
namespace: z.ZodString;
|
|
403
|
+
}, z.core.$strict>>;
|
|
404
|
+
}, z.core.$strict>>;
|
|
405
|
+
conversationId: z.ZodString;
|
|
406
|
+
isParticipant: z.ZodBoolean;
|
|
407
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
408
|
+
private: "private";
|
|
409
|
+
public: "public";
|
|
410
|
+
}>>;
|
|
411
|
+
status: z.ZodEnum<{
|
|
412
|
+
active: "active";
|
|
413
|
+
completed: "completed";
|
|
414
|
+
failed: "failed";
|
|
415
|
+
}>;
|
|
416
|
+
startedAt: z.ZodString;
|
|
417
|
+
lastSeenAt: z.ZodString;
|
|
418
|
+
lastProgressAt: z.ZodString;
|
|
419
|
+
surface: z.ZodEnum<{
|
|
420
|
+
slack: "slack";
|
|
421
|
+
api: "api";
|
|
422
|
+
scheduler: "scheduler";
|
|
423
|
+
internal: "internal";
|
|
424
|
+
}>;
|
|
425
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
426
|
+
email: z.ZodOptional<z.ZodString>;
|
|
427
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
428
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
429
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
430
|
+
}, z.core.$strict>>;
|
|
431
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
432
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
433
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
434
|
+
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
435
|
+
locationId: z.ZodOptional<z.ZodString>;
|
|
436
|
+
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
437
|
+
locationUrl: z.ZodOptional<z.ZodString>;
|
|
438
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
439
|
+
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
440
|
+
kind: z.ZodLiteral<"resource_link">;
|
|
441
|
+
key: z.ZodString;
|
|
442
|
+
label: z.ZodString;
|
|
443
|
+
url: z.ZodString;
|
|
444
|
+
description: z.ZodOptional<z.ZodString>;
|
|
445
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
446
|
+
open: "open";
|
|
447
|
+
draft: "draft";
|
|
448
|
+
closed: "closed";
|
|
449
|
+
merged: "merged";
|
|
450
|
+
warning: "warning";
|
|
451
|
+
}>>;
|
|
452
|
+
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
453
|
+
plugin: z.ZodString;
|
|
454
|
+
createdAt: z.ZodString;
|
|
455
|
+
updatedAt: z.ZodString;
|
|
456
|
+
}, z.core.$strip>>>>;
|
|
457
|
+
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
458
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
459
|
+
"circle-dot": "circle-dot";
|
|
460
|
+
"circle-dashed": "circle-dashed";
|
|
461
|
+
"circle-x": "circle-x";
|
|
462
|
+
"git-merge": "git-merge";
|
|
463
|
+
"git-pull-request": "git-pull-request";
|
|
464
|
+
"triangle-alert": "triangle-alert";
|
|
465
|
+
}>>;
|
|
466
|
+
key: z.ZodString;
|
|
467
|
+
label: z.ZodString;
|
|
468
|
+
}, z.core.$strict>>>;
|
|
469
|
+
assignedWork: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
+
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
471
|
+
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
472
|
+
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
473
|
+
}, z.core.$strict>;
|
|
474
|
+
/** Privacy-safe event variants owned by the conversation reporting API. */
|
|
475
|
+
declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
476
|
+
type: z.ZodLiteral<"message">;
|
|
477
|
+
messageId: z.ZodString;
|
|
478
|
+
role: z.ZodEnum<{
|
|
479
|
+
assistant: "assistant";
|
|
480
|
+
system: "system";
|
|
481
|
+
user: "user";
|
|
482
|
+
}>;
|
|
483
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
484
|
+
slack: "slack";
|
|
485
|
+
web: "web";
|
|
486
|
+
}>>;
|
|
487
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
488
|
+
email: z.ZodOptional<z.ZodString>;
|
|
489
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
490
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
491
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
492
|
+
}, z.core.$strict>>;
|
|
493
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
494
|
+
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
495
|
+
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
496
|
+
text: z.ZodOptional<z.ZodString>;
|
|
497
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
498
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
499
|
+
type: z.ZodLiteral<"message_handled">;
|
|
500
|
+
messageId: z.ZodString;
|
|
501
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
502
|
+
type: z.ZodLiteral<"assistant_message">;
|
|
503
|
+
parts: z.ZodArray<z.ZodObject<{
|
|
504
|
+
type: z.ZodLiteral<"reasoning">;
|
|
505
|
+
text: z.ZodOptional<z.ZodString>;
|
|
506
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
507
|
+
}, z.core.$strict>>;
|
|
508
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
509
|
+
type: z.ZodLiteral<"tool_calls">;
|
|
510
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
511
|
+
toolCallId: z.ZodString;
|
|
512
|
+
name: z.ZodString;
|
|
513
|
+
status: z.ZodEnum<{
|
|
514
|
+
error: "error";
|
|
515
|
+
completed: "completed";
|
|
516
|
+
running: "running";
|
|
517
|
+
}>;
|
|
518
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
519
|
+
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
520
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
521
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
522
|
+
}, z.core.$strict>>;
|
|
523
|
+
assistant: z.ZodOptional<z.ZodObject<{
|
|
524
|
+
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
525
|
+
type: z.ZodLiteral<"reasoning">;
|
|
526
|
+
text: z.ZodOptional<z.ZodString>;
|
|
527
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
528
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
529
|
+
type: z.ZodLiteral<"tool_call">;
|
|
530
|
+
toolCallId: z.ZodString;
|
|
531
|
+
}, z.core.$strict>], "type">>;
|
|
532
|
+
}, z.core.$strict>>;
|
|
533
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
534
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
535
|
+
turnId: z.ZodString;
|
|
536
|
+
state: z.ZodEnum<{
|
|
537
|
+
no_reply: "no_reply";
|
|
538
|
+
succeeded: "succeeded";
|
|
539
|
+
}>;
|
|
540
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
541
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
542
|
+
turnId: z.ZodString;
|
|
543
|
+
state: z.ZodLiteral<"started">;
|
|
544
|
+
inputMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
545
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
546
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
547
|
+
turnId: z.ZodString;
|
|
548
|
+
state: z.ZodLiteral<"failed">;
|
|
549
|
+
failureCode: z.ZodEnum<{
|
|
550
|
+
agent_run_failed: "agent_run_failed";
|
|
551
|
+
delivery_failed: "delivery_failed";
|
|
552
|
+
model_execution_failed: "model_execution_failed";
|
|
553
|
+
persistence_failed: "persistence_failed";
|
|
554
|
+
}>;
|
|
555
|
+
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
556
|
+
unknown: "unknown";
|
|
557
|
+
auth: "auth";
|
|
558
|
+
permission: "permission";
|
|
559
|
+
rate_limit: "rate_limit";
|
|
560
|
+
capacity: "capacity";
|
|
561
|
+
timeout: "timeout";
|
|
562
|
+
network: "network";
|
|
563
|
+
server: "server";
|
|
564
|
+
invalid_request: "invalid_request";
|
|
565
|
+
invalid_response: "invalid_response";
|
|
566
|
+
quota: "quota";
|
|
567
|
+
content_policy: "content_policy";
|
|
568
|
+
empty_output: "empty_output";
|
|
569
|
+
tool_errors: "tool_errors";
|
|
570
|
+
suppressed_output: "suppressed_output";
|
|
571
|
+
}>>;
|
|
572
|
+
eventId: z.ZodOptional<z.ZodString>;
|
|
573
|
+
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
575
|
+
type: z.ZodLiteral<"turn_context">;
|
|
576
|
+
turnId: z.ZodString;
|
|
577
|
+
pluginName: z.ZodString;
|
|
578
|
+
kind: z.ZodString;
|
|
579
|
+
version: z.ZodNumber;
|
|
580
|
+
content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
581
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
582
|
+
type: z.ZodLiteral<"structured_event">;
|
|
583
|
+
namespace: z.ZodString;
|
|
584
|
+
name: z.ZodString;
|
|
585
|
+
version: z.ZodNumber;
|
|
586
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
587
|
+
presentation: z.ZodObject<{
|
|
588
|
+
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
589
|
+
content: z.ZodOptional<z.ZodString>;
|
|
590
|
+
description: z.ZodOptional<z.ZodString>;
|
|
591
|
+
metadata: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
592
|
+
title: z.ZodString;
|
|
593
|
+
}, z.core.$strict>>>;
|
|
594
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
595
|
+
check: "check";
|
|
596
|
+
key: "key";
|
|
597
|
+
link: "link";
|
|
598
|
+
warning: "warning";
|
|
599
|
+
activity: "activity";
|
|
600
|
+
brain: "brain";
|
|
601
|
+
calendar: "calendar";
|
|
602
|
+
database: "database";
|
|
603
|
+
info: "info";
|
|
604
|
+
sparkles: "sparkles";
|
|
605
|
+
}>>;
|
|
606
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
607
|
+
title: z.ZodString;
|
|
608
|
+
}, z.core.$strict>;
|
|
609
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
610
|
+
type: z.ZodLiteral<"attachments_delivered">;
|
|
611
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
612
|
+
id: z.ZodString;
|
|
613
|
+
filename: z.ZodString;
|
|
614
|
+
contentType: z.ZodString;
|
|
615
|
+
bytes: z.ZodNumber;
|
|
616
|
+
}, z.core.$strict>>;
|
|
617
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
618
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
619
|
+
turnId: z.ZodString;
|
|
620
|
+
modelProfile: z.ZodString;
|
|
621
|
+
modelId: z.ZodString;
|
|
622
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
623
|
+
reasoningLevel: z.ZodString;
|
|
624
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
625
|
+
source: z.ZodEnum<{
|
|
626
|
+
configured: "configured";
|
|
627
|
+
inherited: "inherited";
|
|
628
|
+
router: "router";
|
|
629
|
+
}>;
|
|
630
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
631
|
+
type: z.ZodLiteral<"guardian_action_reviewed">;
|
|
632
|
+
turnId: z.ZodString;
|
|
633
|
+
toolCallId: z.ZodString;
|
|
634
|
+
toolName: z.ZodString;
|
|
635
|
+
decision: z.ZodEnum<{
|
|
636
|
+
allow: "allow";
|
|
637
|
+
ask: "ask";
|
|
638
|
+
deny: "deny";
|
|
639
|
+
}>;
|
|
640
|
+
riskLevel: z.ZodEnum<{
|
|
641
|
+
low: "low";
|
|
642
|
+
medium: "medium";
|
|
643
|
+
high: "high";
|
|
644
|
+
critical: "critical";
|
|
645
|
+
}>;
|
|
646
|
+
userAuthorization: z.ZodEnum<{
|
|
647
|
+
unknown: "unknown";
|
|
648
|
+
low: "low";
|
|
649
|
+
medium: "medium";
|
|
650
|
+
high: "high";
|
|
651
|
+
}>;
|
|
652
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
653
|
+
type: z.ZodLiteral<"compaction">;
|
|
654
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
655
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
656
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
657
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
658
|
+
reason: z.ZodLiteral<"capacity">;
|
|
659
|
+
estimatedInputTokens: z.ZodNumber;
|
|
660
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
661
|
+
triggerTokens: z.ZodNumber;
|
|
662
|
+
inputLimitTokens: z.ZodNumber;
|
|
663
|
+
inputMessageCount: z.ZodNumber;
|
|
664
|
+
retainedMessageCount: z.ZodNumber;
|
|
665
|
+
summaryChars: z.ZodNumber;
|
|
666
|
+
}, z.core.$strict>>;
|
|
667
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
668
|
+
type: z.ZodLiteral<"handoff">;
|
|
669
|
+
modelProfile: z.ZodString;
|
|
670
|
+
modelId: z.ZodString;
|
|
671
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
672
|
+
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
673
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
674
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
675
|
+
type: z.ZodLiteral<"subagent">;
|
|
676
|
+
startedSeq: z.ZodNumber;
|
|
677
|
+
startedAt: z.ZodString;
|
|
678
|
+
childConversationId: z.ZodString;
|
|
679
|
+
subagentKind: z.ZodString;
|
|
680
|
+
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
681
|
+
status: z.ZodEnum<{
|
|
682
|
+
error: "error";
|
|
683
|
+
aborted: "aborted";
|
|
684
|
+
completed: "completed";
|
|
685
|
+
running: "running";
|
|
686
|
+
}>;
|
|
687
|
+
}, z.core.$strict>], "type">;
|
|
688
|
+
/** One ordered, privacy-safe canonical event projected for API consumers. */
|
|
689
|
+
declare const conversationReportEventSchema: z.ZodObject<{
|
|
690
|
+
seq: z.ZodNumber;
|
|
691
|
+
createdAt: z.ZodString;
|
|
692
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
693
|
+
type: z.ZodLiteral<"message">;
|
|
694
|
+
messageId: z.ZodString;
|
|
695
|
+
role: z.ZodEnum<{
|
|
696
|
+
assistant: "assistant";
|
|
697
|
+
system: "system";
|
|
698
|
+
user: "user";
|
|
699
|
+
}>;
|
|
700
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
701
|
+
slack: "slack";
|
|
702
|
+
web: "web";
|
|
703
|
+
}>>;
|
|
704
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
705
|
+
email: z.ZodOptional<z.ZodString>;
|
|
706
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
707
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
708
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
709
|
+
}, z.core.$strict>>;
|
|
710
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
711
|
+
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
712
|
+
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
713
|
+
text: z.ZodOptional<z.ZodString>;
|
|
714
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
715
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
716
|
+
type: z.ZodLiteral<"message_handled">;
|
|
717
|
+
messageId: z.ZodString;
|
|
718
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
719
|
+
type: z.ZodLiteral<"assistant_message">;
|
|
720
|
+
parts: z.ZodArray<z.ZodObject<{
|
|
721
|
+
type: z.ZodLiteral<"reasoning">;
|
|
722
|
+
text: z.ZodOptional<z.ZodString>;
|
|
723
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
724
|
+
}, z.core.$strict>>;
|
|
725
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
726
|
+
type: z.ZodLiteral<"tool_calls">;
|
|
727
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
728
|
+
toolCallId: z.ZodString;
|
|
729
|
+
name: z.ZodString;
|
|
730
|
+
status: z.ZodEnum<{
|
|
731
|
+
error: "error";
|
|
732
|
+
completed: "completed";
|
|
733
|
+
running: "running";
|
|
734
|
+
}>;
|
|
735
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
736
|
+
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
737
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
738
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
739
|
+
}, z.core.$strict>>;
|
|
740
|
+
assistant: z.ZodOptional<z.ZodObject<{
|
|
741
|
+
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
742
|
+
type: z.ZodLiteral<"reasoning">;
|
|
743
|
+
text: z.ZodOptional<z.ZodString>;
|
|
744
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
745
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
746
|
+
type: z.ZodLiteral<"tool_call">;
|
|
747
|
+
toolCallId: z.ZodString;
|
|
748
|
+
}, z.core.$strict>], "type">>;
|
|
749
|
+
}, z.core.$strict>>;
|
|
750
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
751
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
752
|
+
turnId: z.ZodString;
|
|
753
|
+
state: z.ZodEnum<{
|
|
754
|
+
no_reply: "no_reply";
|
|
755
|
+
succeeded: "succeeded";
|
|
756
|
+
}>;
|
|
757
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
758
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
759
|
+
turnId: z.ZodString;
|
|
760
|
+
state: z.ZodLiteral<"started">;
|
|
761
|
+
inputMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
762
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
763
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
764
|
+
turnId: z.ZodString;
|
|
765
|
+
state: z.ZodLiteral<"failed">;
|
|
766
|
+
failureCode: z.ZodEnum<{
|
|
767
|
+
agent_run_failed: "agent_run_failed";
|
|
768
|
+
delivery_failed: "delivery_failed";
|
|
769
|
+
model_execution_failed: "model_execution_failed";
|
|
770
|
+
persistence_failed: "persistence_failed";
|
|
771
|
+
}>;
|
|
772
|
+
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
773
|
+
unknown: "unknown";
|
|
774
|
+
auth: "auth";
|
|
775
|
+
permission: "permission";
|
|
776
|
+
rate_limit: "rate_limit";
|
|
777
|
+
capacity: "capacity";
|
|
778
|
+
timeout: "timeout";
|
|
779
|
+
network: "network";
|
|
780
|
+
server: "server";
|
|
781
|
+
invalid_request: "invalid_request";
|
|
782
|
+
invalid_response: "invalid_response";
|
|
783
|
+
quota: "quota";
|
|
784
|
+
content_policy: "content_policy";
|
|
785
|
+
empty_output: "empty_output";
|
|
786
|
+
tool_errors: "tool_errors";
|
|
787
|
+
suppressed_output: "suppressed_output";
|
|
788
|
+
}>>;
|
|
789
|
+
eventId: z.ZodOptional<z.ZodString>;
|
|
790
|
+
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
791
|
+
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
792
|
+
type: z.ZodLiteral<"turn_context">;
|
|
793
|
+
turnId: z.ZodString;
|
|
794
|
+
pluginName: z.ZodString;
|
|
795
|
+
kind: z.ZodString;
|
|
796
|
+
version: z.ZodNumber;
|
|
797
|
+
content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
798
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
799
|
+
type: z.ZodLiteral<"structured_event">;
|
|
800
|
+
namespace: z.ZodString;
|
|
801
|
+
name: z.ZodString;
|
|
802
|
+
version: z.ZodNumber;
|
|
803
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
804
|
+
presentation: z.ZodObject<{
|
|
805
|
+
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
806
|
+
content: z.ZodOptional<z.ZodString>;
|
|
807
|
+
description: z.ZodOptional<z.ZodString>;
|
|
808
|
+
metadata: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
809
|
+
title: z.ZodString;
|
|
810
|
+
}, z.core.$strict>>>;
|
|
811
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
812
|
+
check: "check";
|
|
813
|
+
key: "key";
|
|
814
|
+
link: "link";
|
|
815
|
+
warning: "warning";
|
|
816
|
+
activity: "activity";
|
|
817
|
+
brain: "brain";
|
|
818
|
+
calendar: "calendar";
|
|
819
|
+
database: "database";
|
|
820
|
+
info: "info";
|
|
821
|
+
sparkles: "sparkles";
|
|
822
|
+
}>>;
|
|
823
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
824
|
+
title: z.ZodString;
|
|
825
|
+
}, z.core.$strict>;
|
|
826
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
827
|
+
type: z.ZodLiteral<"attachments_delivered">;
|
|
828
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
829
|
+
id: z.ZodString;
|
|
830
|
+
filename: z.ZodString;
|
|
831
|
+
contentType: z.ZodString;
|
|
832
|
+
bytes: z.ZodNumber;
|
|
833
|
+
}, z.core.$strict>>;
|
|
834
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
835
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
836
|
+
turnId: z.ZodString;
|
|
837
|
+
modelProfile: z.ZodString;
|
|
838
|
+
modelId: z.ZodString;
|
|
839
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
840
|
+
reasoningLevel: z.ZodString;
|
|
841
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
842
|
+
source: z.ZodEnum<{
|
|
843
|
+
configured: "configured";
|
|
844
|
+
inherited: "inherited";
|
|
845
|
+
router: "router";
|
|
846
|
+
}>;
|
|
847
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
848
|
+
type: z.ZodLiteral<"guardian_action_reviewed">;
|
|
849
|
+
turnId: z.ZodString;
|
|
850
|
+
toolCallId: z.ZodString;
|
|
851
|
+
toolName: z.ZodString;
|
|
852
|
+
decision: z.ZodEnum<{
|
|
853
|
+
allow: "allow";
|
|
854
|
+
ask: "ask";
|
|
855
|
+
deny: "deny";
|
|
856
|
+
}>;
|
|
857
|
+
riskLevel: z.ZodEnum<{
|
|
858
|
+
low: "low";
|
|
859
|
+
medium: "medium";
|
|
860
|
+
high: "high";
|
|
861
|
+
critical: "critical";
|
|
862
|
+
}>;
|
|
863
|
+
userAuthorization: z.ZodEnum<{
|
|
864
|
+
unknown: "unknown";
|
|
865
|
+
low: "low";
|
|
866
|
+
medium: "medium";
|
|
867
|
+
high: "high";
|
|
868
|
+
}>;
|
|
869
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
870
|
+
type: z.ZodLiteral<"compaction">;
|
|
871
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
872
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
873
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
874
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
875
|
+
reason: z.ZodLiteral<"capacity">;
|
|
876
|
+
estimatedInputTokens: z.ZodNumber;
|
|
877
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
878
|
+
triggerTokens: z.ZodNumber;
|
|
879
|
+
inputLimitTokens: z.ZodNumber;
|
|
880
|
+
inputMessageCount: z.ZodNumber;
|
|
881
|
+
retainedMessageCount: z.ZodNumber;
|
|
882
|
+
summaryChars: z.ZodNumber;
|
|
883
|
+
}, z.core.$strict>>;
|
|
884
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
885
|
+
type: z.ZodLiteral<"handoff">;
|
|
886
|
+
modelProfile: z.ZodString;
|
|
887
|
+
modelId: z.ZodString;
|
|
888
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
889
|
+
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
890
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
891
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
892
|
+
type: z.ZodLiteral<"subagent">;
|
|
893
|
+
startedSeq: z.ZodNumber;
|
|
894
|
+
startedAt: z.ZodString;
|
|
895
|
+
childConversationId: z.ZodString;
|
|
896
|
+
subagentKind: z.ZodString;
|
|
897
|
+
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
898
|
+
status: z.ZodEnum<{
|
|
899
|
+
error: "error";
|
|
900
|
+
aborted: "aborted";
|
|
901
|
+
completed: "completed";
|
|
902
|
+
running: "running";
|
|
903
|
+
}>;
|
|
904
|
+
}, z.core.$strict>], "type">;
|
|
905
|
+
}, z.core.$strict>;
|
|
906
|
+
/** Availability of the canonical event history attached to a detail report. */
|
|
907
|
+
declare const conversationEventHistorySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
908
|
+
status: z.ZodLiteral<"available">;
|
|
909
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
910
|
+
status: z.ZodLiteral<"redacted">;
|
|
911
|
+
reason: z.ZodLiteral<"non_public_conversation">;
|
|
912
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
913
|
+
status: z.ZodLiteral<"expired">;
|
|
914
|
+
expiredAt: z.ZodString;
|
|
915
|
+
}, z.core.$strict>], "status">;
|
|
916
|
+
declare const conversationModelUsageSchema: z.ZodObject<{
|
|
917
|
+
modelId: z.ZodString;
|
|
918
|
+
usage: z.ZodObject<{
|
|
919
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
920
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
921
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
922
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
923
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
924
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
925
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
926
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
927
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
928
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
929
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
930
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
931
|
+
}, z.core.$strict>>;
|
|
932
|
+
}, z.core.$strict>;
|
|
933
|
+
}, z.core.$strict>;
|
|
934
|
+
declare const conversationDetailReportSchema: z.ZodObject<{
|
|
935
|
+
displayTitle: z.ZodString;
|
|
936
|
+
cumulativeDurationMs: z.ZodNumber;
|
|
937
|
+
cumulativeUsage: z.ZodOptional<z.ZodObject<{
|
|
938
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
939
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
940
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
941
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
942
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
943
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
944
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
945
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
946
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
947
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
948
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
949
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
950
|
+
}, z.core.$strict>>;
|
|
951
|
+
}, z.core.$strict>>;
|
|
952
|
+
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
953
|
+
costUsd: z.ZodNumber;
|
|
954
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
955
|
+
costUsd: z.ZodNumber;
|
|
956
|
+
events: z.ZodNumber;
|
|
957
|
+
name: z.ZodString;
|
|
958
|
+
namespace: z.ZodString;
|
|
959
|
+
}, z.core.$strict>>;
|
|
960
|
+
}, z.core.$strict>>;
|
|
961
|
+
conversationId: z.ZodString;
|
|
962
|
+
isParticipant: z.ZodBoolean;
|
|
963
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
964
|
+
private: "private";
|
|
965
|
+
public: "public";
|
|
966
|
+
}>>;
|
|
967
|
+
status: z.ZodEnum<{
|
|
968
|
+
active: "active";
|
|
969
|
+
completed: "completed";
|
|
970
|
+
failed: "failed";
|
|
971
|
+
}>;
|
|
972
|
+
startedAt: z.ZodString;
|
|
973
|
+
lastSeenAt: z.ZodString;
|
|
974
|
+
lastProgressAt: z.ZodString;
|
|
975
|
+
surface: z.ZodEnum<{
|
|
976
|
+
slack: "slack";
|
|
977
|
+
api: "api";
|
|
978
|
+
scheduler: "scheduler";
|
|
979
|
+
internal: "internal";
|
|
980
|
+
}>;
|
|
981
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
982
|
+
email: z.ZodOptional<z.ZodString>;
|
|
983
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
984
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
985
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
986
|
+
}, z.core.$strict>>;
|
|
987
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
988
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
989
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
990
|
+
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
991
|
+
locationId: z.ZodOptional<z.ZodString>;
|
|
992
|
+
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
993
|
+
locationUrl: z.ZodOptional<z.ZodString>;
|
|
994
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
995
|
+
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
996
|
+
kind: z.ZodLiteral<"resource_link">;
|
|
997
|
+
key: z.ZodString;
|
|
998
|
+
label: z.ZodString;
|
|
999
|
+
url: z.ZodString;
|
|
1000
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1002
|
+
open: "open";
|
|
1003
|
+
draft: "draft";
|
|
1004
|
+
closed: "closed";
|
|
1005
|
+
merged: "merged";
|
|
1006
|
+
warning: "warning";
|
|
1007
|
+
}>>;
|
|
1008
|
+
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
1009
|
+
plugin: z.ZodString;
|
|
1010
|
+
createdAt: z.ZodString;
|
|
1011
|
+
updatedAt: z.ZodString;
|
|
1012
|
+
}, z.core.$strip>>>>;
|
|
1013
|
+
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1014
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
1015
|
+
"circle-dot": "circle-dot";
|
|
1016
|
+
"circle-dashed": "circle-dashed";
|
|
1017
|
+
"circle-x": "circle-x";
|
|
1018
|
+
"git-merge": "git-merge";
|
|
1019
|
+
"git-pull-request": "git-pull-request";
|
|
1020
|
+
"triangle-alert": "triangle-alert";
|
|
1021
|
+
}>>;
|
|
1022
|
+
key: z.ZodString;
|
|
1023
|
+
label: z.ZodString;
|
|
1024
|
+
}, z.core.$strict>>>;
|
|
1025
|
+
assignedWork: z.ZodOptional<z.ZodBoolean>;
|
|
1026
|
+
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
1027
|
+
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
1028
|
+
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
1029
|
+
modelUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1030
|
+
modelId: z.ZodString;
|
|
1031
|
+
usage: z.ZodObject<{
|
|
1032
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1033
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1034
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1035
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
1036
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
1037
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
1038
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
1039
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
1040
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
1041
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
1042
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
1043
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
1044
|
+
}, z.core.$strict>>;
|
|
1045
|
+
}, z.core.$strict>;
|
|
1046
|
+
}, z.core.$strict>>>;
|
|
1047
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1048
|
+
seq: z.ZodNumber;
|
|
1049
|
+
createdAt: z.ZodString;
|
|
1050
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1051
|
+
type: z.ZodLiteral<"message">;
|
|
1052
|
+
messageId: z.ZodString;
|
|
1053
|
+
role: z.ZodEnum<{
|
|
1054
|
+
assistant: "assistant";
|
|
1055
|
+
system: "system";
|
|
1056
|
+
user: "user";
|
|
1057
|
+
}>;
|
|
1058
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1059
|
+
slack: "slack";
|
|
1060
|
+
web: "web";
|
|
1061
|
+
}>>;
|
|
1062
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
1063
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1067
|
+
}, z.core.$strict>>;
|
|
1068
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
1070
|
+
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1073
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1074
|
+
type: z.ZodLiteral<"message_handled">;
|
|
1075
|
+
messageId: z.ZodString;
|
|
1076
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1077
|
+
type: z.ZodLiteral<"assistant_message">;
|
|
1078
|
+
parts: z.ZodArray<z.ZodObject<{
|
|
1079
|
+
type: z.ZodLiteral<"reasoning">;
|
|
1080
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1081
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1082
|
+
}, z.core.$strict>>;
|
|
1083
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1084
|
+
type: z.ZodLiteral<"tool_calls">;
|
|
1085
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
1086
|
+
toolCallId: z.ZodString;
|
|
1087
|
+
name: z.ZodString;
|
|
1088
|
+
status: z.ZodEnum<{
|
|
1089
|
+
error: "error";
|
|
1090
|
+
completed: "completed";
|
|
1091
|
+
running: "running";
|
|
1092
|
+
}>;
|
|
1093
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
1094
|
+
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
1095
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
1096
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
1097
|
+
}, z.core.$strict>>;
|
|
1098
|
+
assistant: z.ZodOptional<z.ZodObject<{
|
|
1099
|
+
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1100
|
+
type: z.ZodLiteral<"reasoning">;
|
|
1101
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1103
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1104
|
+
type: z.ZodLiteral<"tool_call">;
|
|
1105
|
+
toolCallId: z.ZodString;
|
|
1106
|
+
}, z.core.$strict>], "type">>;
|
|
1107
|
+
}, z.core.$strict>>;
|
|
1108
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1109
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
1110
|
+
turnId: z.ZodString;
|
|
1111
|
+
state: z.ZodEnum<{
|
|
1112
|
+
no_reply: "no_reply";
|
|
1113
|
+
succeeded: "succeeded";
|
|
1114
|
+
}>;
|
|
1115
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1116
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
1117
|
+
turnId: z.ZodString;
|
|
1118
|
+
state: z.ZodLiteral<"started">;
|
|
1119
|
+
inputMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1121
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
1122
|
+
turnId: z.ZodString;
|
|
1123
|
+
state: z.ZodLiteral<"failed">;
|
|
1124
|
+
failureCode: z.ZodEnum<{
|
|
1125
|
+
agent_run_failed: "agent_run_failed";
|
|
1126
|
+
delivery_failed: "delivery_failed";
|
|
1127
|
+
model_execution_failed: "model_execution_failed";
|
|
1128
|
+
persistence_failed: "persistence_failed";
|
|
1129
|
+
}>;
|
|
1130
|
+
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
1131
|
+
unknown: "unknown";
|
|
1132
|
+
auth: "auth";
|
|
1133
|
+
permission: "permission";
|
|
1134
|
+
rate_limit: "rate_limit";
|
|
1135
|
+
capacity: "capacity";
|
|
1136
|
+
timeout: "timeout";
|
|
1137
|
+
network: "network";
|
|
1138
|
+
server: "server";
|
|
1139
|
+
invalid_request: "invalid_request";
|
|
1140
|
+
invalid_response: "invalid_response";
|
|
1141
|
+
quota: "quota";
|
|
1142
|
+
content_policy: "content_policy";
|
|
1143
|
+
empty_output: "empty_output";
|
|
1144
|
+
tool_errors: "tool_errors";
|
|
1145
|
+
suppressed_output: "suppressed_output";
|
|
1146
|
+
}>>;
|
|
1147
|
+
eventId: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
1150
|
+
type: z.ZodLiteral<"turn_context">;
|
|
1151
|
+
turnId: z.ZodString;
|
|
1152
|
+
pluginName: z.ZodString;
|
|
1153
|
+
kind: z.ZodString;
|
|
1154
|
+
version: z.ZodNumber;
|
|
1155
|
+
content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1156
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1157
|
+
type: z.ZodLiteral<"structured_event">;
|
|
1158
|
+
namespace: z.ZodString;
|
|
1159
|
+
name: z.ZodString;
|
|
1160
|
+
version: z.ZodNumber;
|
|
1161
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
presentation: z.ZodObject<{
|
|
1163
|
+
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1164
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1166
|
+
metadata: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1167
|
+
title: z.ZodString;
|
|
1168
|
+
}, z.core.$strict>>>;
|
|
1169
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
1170
|
+
check: "check";
|
|
1171
|
+
key: "key";
|
|
1172
|
+
link: "link";
|
|
1173
|
+
warning: "warning";
|
|
1174
|
+
activity: "activity";
|
|
1175
|
+
brain: "brain";
|
|
1176
|
+
calendar: "calendar";
|
|
1177
|
+
database: "database";
|
|
1178
|
+
info: "info";
|
|
1179
|
+
sparkles: "sparkles";
|
|
1180
|
+
}>>;
|
|
1181
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
title: z.ZodString;
|
|
1183
|
+
}, z.core.$strict>;
|
|
1184
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1185
|
+
type: z.ZodLiteral<"attachments_delivered">;
|
|
1186
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
1187
|
+
id: z.ZodString;
|
|
1188
|
+
filename: z.ZodString;
|
|
1189
|
+
contentType: z.ZodString;
|
|
1190
|
+
bytes: z.ZodNumber;
|
|
1191
|
+
}, z.core.$strict>>;
|
|
1192
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1193
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
1194
|
+
turnId: z.ZodString;
|
|
1195
|
+
modelProfile: z.ZodString;
|
|
1196
|
+
modelId: z.ZodString;
|
|
1197
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1198
|
+
reasoningLevel: z.ZodString;
|
|
1199
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1200
|
+
source: z.ZodEnum<{
|
|
1201
|
+
configured: "configured";
|
|
1202
|
+
inherited: "inherited";
|
|
1203
|
+
router: "router";
|
|
1204
|
+
}>;
|
|
1205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1206
|
+
type: z.ZodLiteral<"guardian_action_reviewed">;
|
|
1207
|
+
turnId: z.ZodString;
|
|
1208
|
+
toolCallId: z.ZodString;
|
|
1209
|
+
toolName: z.ZodString;
|
|
1210
|
+
decision: z.ZodEnum<{
|
|
1211
|
+
allow: "allow";
|
|
1212
|
+
ask: "ask";
|
|
1213
|
+
deny: "deny";
|
|
1214
|
+
}>;
|
|
1215
|
+
riskLevel: z.ZodEnum<{
|
|
1216
|
+
low: "low";
|
|
1217
|
+
medium: "medium";
|
|
1218
|
+
high: "high";
|
|
1219
|
+
critical: "critical";
|
|
1220
|
+
}>;
|
|
1221
|
+
userAuthorization: z.ZodEnum<{
|
|
1222
|
+
unknown: "unknown";
|
|
1223
|
+
low: "low";
|
|
1224
|
+
medium: "medium";
|
|
1225
|
+
high: "high";
|
|
1226
|
+
}>;
|
|
1227
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1228
|
+
type: z.ZodLiteral<"compaction">;
|
|
1229
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1233
|
+
reason: z.ZodLiteral<"capacity">;
|
|
1234
|
+
estimatedInputTokens: z.ZodNumber;
|
|
1235
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1236
|
+
triggerTokens: z.ZodNumber;
|
|
1237
|
+
inputLimitTokens: z.ZodNumber;
|
|
1238
|
+
inputMessageCount: z.ZodNumber;
|
|
1239
|
+
retainedMessageCount: z.ZodNumber;
|
|
1240
|
+
summaryChars: z.ZodNumber;
|
|
1241
|
+
}, z.core.$strict>>;
|
|
1242
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1243
|
+
type: z.ZodLiteral<"handoff">;
|
|
1244
|
+
modelProfile: z.ZodString;
|
|
1245
|
+
modelId: z.ZodString;
|
|
1246
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1249
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1250
|
+
type: z.ZodLiteral<"subagent">;
|
|
1251
|
+
startedSeq: z.ZodNumber;
|
|
1252
|
+
startedAt: z.ZodString;
|
|
1253
|
+
childConversationId: z.ZodString;
|
|
1254
|
+
subagentKind: z.ZodString;
|
|
1255
|
+
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
status: z.ZodEnum<{
|
|
1257
|
+
error: "error";
|
|
1258
|
+
aborted: "aborted";
|
|
1259
|
+
completed: "completed";
|
|
1260
|
+
running: "running";
|
|
1261
|
+
}>;
|
|
1262
|
+
}, z.core.$strict>], "type">;
|
|
1263
|
+
}, z.core.$strict>>;
|
|
1264
|
+
eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1265
|
+
status: z.ZodLiteral<"available">;
|
|
1266
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1267
|
+
status: z.ZodLiteral<"redacted">;
|
|
1268
|
+
reason: z.ZodLiteral<"non_public_conversation">;
|
|
1269
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1270
|
+
status: z.ZodLiteral<"expired">;
|
|
1271
|
+
expiredAt: z.ZodString;
|
|
1272
|
+
}, z.core.$strict>], "status">;
|
|
1273
|
+
previousCursor: z.ZodOptional<z.ZodString>;
|
|
1274
|
+
generatedAt: z.ZodString;
|
|
1275
|
+
sentryConversationUrl: z.ZodOptional<z.ZodString>;
|
|
1276
|
+
sourceTask: z.ZodOptional<z.ZodObject<{
|
|
1277
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1278
|
+
kind: z.ZodEnum<{
|
|
1279
|
+
scheduled: "scheduled";
|
|
1280
|
+
event: "event";
|
|
1281
|
+
}>;
|
|
1282
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1283
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
}, z.core.$strict>>;
|
|
1285
|
+
}, z.core.$strict>;
|
|
1286
|
+
declare const conversationEventPageSchema: z.ZodObject<{
|
|
1287
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1288
|
+
seq: z.ZodNumber;
|
|
1289
|
+
createdAt: z.ZodString;
|
|
1290
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1291
|
+
type: z.ZodLiteral<"message">;
|
|
1292
|
+
messageId: z.ZodString;
|
|
1293
|
+
role: z.ZodEnum<{
|
|
1294
|
+
assistant: "assistant";
|
|
1295
|
+
system: "system";
|
|
1296
|
+
user: "user";
|
|
1297
|
+
}>;
|
|
1298
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1299
|
+
slack: "slack";
|
|
1300
|
+
web: "web";
|
|
1301
|
+
}>>;
|
|
1302
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
1303
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1304
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1307
|
+
}, z.core.$strict>>;
|
|
1308
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
1309
|
+
explicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
1310
|
+
trustedSummary: z.ZodOptional<z.ZodString>;
|
|
1311
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1312
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1313
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1314
|
+
type: z.ZodLiteral<"message_handled">;
|
|
1315
|
+
messageId: z.ZodString;
|
|
1316
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1317
|
+
type: z.ZodLiteral<"assistant_message">;
|
|
1318
|
+
parts: z.ZodArray<z.ZodObject<{
|
|
1319
|
+
type: z.ZodLiteral<"reasoning">;
|
|
1320
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1321
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1322
|
+
}, z.core.$strict>>;
|
|
1323
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1324
|
+
type: z.ZodLiteral<"tool_calls">;
|
|
1325
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
1326
|
+
toolCallId: z.ZodString;
|
|
1327
|
+
name: z.ZodString;
|
|
1328
|
+
status: z.ZodEnum<{
|
|
1329
|
+
error: "error";
|
|
1330
|
+
completed: "completed";
|
|
1331
|
+
running: "running";
|
|
1332
|
+
}>;
|
|
1333
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
1334
|
+
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
1335
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
1336
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
1337
|
+
}, z.core.$strict>>;
|
|
1338
|
+
assistant: z.ZodOptional<z.ZodObject<{
|
|
1339
|
+
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1340
|
+
type: z.ZodLiteral<"reasoning">;
|
|
1341
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1343
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1344
|
+
type: z.ZodLiteral<"tool_call">;
|
|
1345
|
+
toolCallId: z.ZodString;
|
|
1346
|
+
}, z.core.$strict>], "type">>;
|
|
1347
|
+
}, z.core.$strict>>;
|
|
1348
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1349
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
1350
|
+
turnId: z.ZodString;
|
|
1351
|
+
state: z.ZodEnum<{
|
|
1352
|
+
no_reply: "no_reply";
|
|
1353
|
+
succeeded: "succeeded";
|
|
1354
|
+
}>;
|
|
1355
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1356
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
1357
|
+
turnId: z.ZodString;
|
|
1358
|
+
state: z.ZodLiteral<"started">;
|
|
1359
|
+
inputMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1360
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1361
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
1362
|
+
turnId: z.ZodString;
|
|
1363
|
+
state: z.ZodLiteral<"failed">;
|
|
1364
|
+
failureCode: z.ZodEnum<{
|
|
1365
|
+
agent_run_failed: "agent_run_failed";
|
|
1366
|
+
delivery_failed: "delivery_failed";
|
|
1367
|
+
model_execution_failed: "model_execution_failed";
|
|
1368
|
+
persistence_failed: "persistence_failed";
|
|
1369
|
+
}>;
|
|
1370
|
+
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
1371
|
+
unknown: "unknown";
|
|
1372
|
+
auth: "auth";
|
|
1373
|
+
permission: "permission";
|
|
1374
|
+
rate_limit: "rate_limit";
|
|
1375
|
+
capacity: "capacity";
|
|
1376
|
+
timeout: "timeout";
|
|
1377
|
+
network: "network";
|
|
1378
|
+
server: "server";
|
|
1379
|
+
invalid_request: "invalid_request";
|
|
1380
|
+
invalid_response: "invalid_response";
|
|
1381
|
+
quota: "quota";
|
|
1382
|
+
content_policy: "content_policy";
|
|
1383
|
+
empty_output: "empty_output";
|
|
1384
|
+
tool_errors: "tool_errors";
|
|
1385
|
+
suppressed_output: "suppressed_output";
|
|
1386
|
+
}>>;
|
|
1387
|
+
eventId: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
sentryEventUrl: z.ZodOptional<z.ZodString>;
|
|
1389
|
+
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
1390
|
+
type: z.ZodLiteral<"turn_context">;
|
|
1391
|
+
turnId: z.ZodString;
|
|
1392
|
+
pluginName: z.ZodString;
|
|
1393
|
+
kind: z.ZodString;
|
|
1394
|
+
version: z.ZodNumber;
|
|
1395
|
+
content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1396
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1397
|
+
type: z.ZodLiteral<"structured_event">;
|
|
1398
|
+
namespace: z.ZodString;
|
|
1399
|
+
name: z.ZodString;
|
|
1400
|
+
version: z.ZodNumber;
|
|
1401
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
1402
|
+
presentation: z.ZodObject<{
|
|
1403
|
+
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1404
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1405
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1406
|
+
metadata: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1407
|
+
title: z.ZodString;
|
|
1408
|
+
}, z.core.$strict>>>;
|
|
1409
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
1410
|
+
check: "check";
|
|
1411
|
+
key: "key";
|
|
1412
|
+
link: "link";
|
|
1413
|
+
warning: "warning";
|
|
1414
|
+
activity: "activity";
|
|
1415
|
+
brain: "brain";
|
|
1416
|
+
calendar: "calendar";
|
|
1417
|
+
database: "database";
|
|
1418
|
+
info: "info";
|
|
1419
|
+
sparkles: "sparkles";
|
|
1420
|
+
}>>;
|
|
1421
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
1422
|
+
title: z.ZodString;
|
|
1423
|
+
}, z.core.$strict>;
|
|
1424
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1425
|
+
type: z.ZodLiteral<"attachments_delivered">;
|
|
1426
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
1427
|
+
id: z.ZodString;
|
|
1428
|
+
filename: z.ZodString;
|
|
1429
|
+
contentType: z.ZodString;
|
|
1430
|
+
bytes: z.ZodNumber;
|
|
1431
|
+
}, z.core.$strict>>;
|
|
1432
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1433
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
1434
|
+
turnId: z.ZodString;
|
|
1435
|
+
modelProfile: z.ZodString;
|
|
1436
|
+
modelId: z.ZodString;
|
|
1437
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1438
|
+
reasoningLevel: z.ZodString;
|
|
1439
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1440
|
+
source: z.ZodEnum<{
|
|
1441
|
+
configured: "configured";
|
|
1442
|
+
inherited: "inherited";
|
|
1443
|
+
router: "router";
|
|
1444
|
+
}>;
|
|
1445
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1446
|
+
type: z.ZodLiteral<"guardian_action_reviewed">;
|
|
1447
|
+
turnId: z.ZodString;
|
|
1448
|
+
toolCallId: z.ZodString;
|
|
1449
|
+
toolName: z.ZodString;
|
|
1450
|
+
decision: z.ZodEnum<{
|
|
1451
|
+
allow: "allow";
|
|
1452
|
+
ask: "ask";
|
|
1453
|
+
deny: "deny";
|
|
1454
|
+
}>;
|
|
1455
|
+
riskLevel: z.ZodEnum<{
|
|
1456
|
+
low: "low";
|
|
1457
|
+
medium: "medium";
|
|
1458
|
+
high: "high";
|
|
1459
|
+
critical: "critical";
|
|
1460
|
+
}>;
|
|
1461
|
+
userAuthorization: z.ZodEnum<{
|
|
1462
|
+
unknown: "unknown";
|
|
1463
|
+
low: "low";
|
|
1464
|
+
medium: "medium";
|
|
1465
|
+
high: "high";
|
|
1466
|
+
}>;
|
|
1467
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1468
|
+
type: z.ZodLiteral<"compaction">;
|
|
1469
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1471
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1472
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1473
|
+
reason: z.ZodLiteral<"capacity">;
|
|
1474
|
+
estimatedInputTokens: z.ZodNumber;
|
|
1475
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1476
|
+
triggerTokens: z.ZodNumber;
|
|
1477
|
+
inputLimitTokens: z.ZodNumber;
|
|
1478
|
+
inputMessageCount: z.ZodNumber;
|
|
1479
|
+
retainedMessageCount: z.ZodNumber;
|
|
1480
|
+
summaryChars: z.ZodNumber;
|
|
1481
|
+
}, z.core.$strict>>;
|
|
1482
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1483
|
+
type: z.ZodLiteral<"handoff">;
|
|
1484
|
+
modelProfile: z.ZodString;
|
|
1485
|
+
modelId: z.ZodString;
|
|
1486
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1490
|
+
type: z.ZodLiteral<"subagent">;
|
|
1491
|
+
startedSeq: z.ZodNumber;
|
|
1492
|
+
startedAt: z.ZodString;
|
|
1493
|
+
childConversationId: z.ZodString;
|
|
1494
|
+
subagentKind: z.ZodString;
|
|
1495
|
+
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
1496
|
+
status: z.ZodEnum<{
|
|
1497
|
+
error: "error";
|
|
1498
|
+
aborted: "aborted";
|
|
1499
|
+
completed: "completed";
|
|
1500
|
+
running: "running";
|
|
1501
|
+
}>;
|
|
1502
|
+
}, z.core.$strict>], "type">;
|
|
1503
|
+
}, z.core.$strict>>;
|
|
1504
|
+
eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1505
|
+
status: z.ZodLiteral<"available">;
|
|
1506
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1507
|
+
status: z.ZodLiteral<"redacted">;
|
|
1508
|
+
reason: z.ZodLiteral<"non_public_conversation">;
|
|
1509
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1510
|
+
status: z.ZodLiteral<"expired">;
|
|
1511
|
+
expiredAt: z.ZodString;
|
|
1512
|
+
}, z.core.$strict>], "status">;
|
|
1513
|
+
previousCursor: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
generatedAt: z.ZodString;
|
|
1515
|
+
}, z.core.$strict>;
|
|
1516
|
+
declare const conversationFeedSchema: z.ZodObject<{
|
|
1517
|
+
conversations: z.ZodArray<z.ZodObject<{
|
|
1518
|
+
displayTitle: z.ZodString;
|
|
1519
|
+
cumulativeDurationMs: z.ZodNumber;
|
|
1520
|
+
cumulativeUsage: z.ZodOptional<z.ZodObject<{
|
|
1521
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1522
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1523
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1524
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
1525
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
1526
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
1527
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
1528
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
1529
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
1530
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
1531
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
1532
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
1533
|
+
}, z.core.$strict>>;
|
|
1534
|
+
}, z.core.$strict>>;
|
|
1535
|
+
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
1536
|
+
costUsd: z.ZodNumber;
|
|
1537
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1538
|
+
costUsd: z.ZodNumber;
|
|
1539
|
+
events: z.ZodNumber;
|
|
1540
|
+
name: z.ZodString;
|
|
1541
|
+
namespace: z.ZodString;
|
|
1542
|
+
}, z.core.$strict>>;
|
|
1543
|
+
}, z.core.$strict>>;
|
|
1544
|
+
conversationId: z.ZodString;
|
|
1545
|
+
isParticipant: z.ZodBoolean;
|
|
1546
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1547
|
+
private: "private";
|
|
1548
|
+
public: "public";
|
|
1549
|
+
}>>;
|
|
1550
|
+
status: z.ZodEnum<{
|
|
1551
|
+
active: "active";
|
|
1552
|
+
completed: "completed";
|
|
1553
|
+
failed: "failed";
|
|
1554
|
+
}>;
|
|
1555
|
+
startedAt: z.ZodString;
|
|
1556
|
+
lastSeenAt: z.ZodString;
|
|
1557
|
+
lastProgressAt: z.ZodString;
|
|
1558
|
+
surface: z.ZodEnum<{
|
|
1559
|
+
slack: "slack";
|
|
1560
|
+
api: "api";
|
|
1561
|
+
scheduler: "scheduler";
|
|
1562
|
+
internal: "internal";
|
|
1563
|
+
}>;
|
|
1564
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
1565
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1567
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1568
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1569
|
+
}, z.core.$strict>>;
|
|
1570
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1571
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
1572
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
1573
|
+
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
1574
|
+
locationId: z.ZodOptional<z.ZodString>;
|
|
1575
|
+
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
1576
|
+
locationUrl: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1579
|
+
kind: z.ZodLiteral<"resource_link">;
|
|
1580
|
+
key: z.ZodString;
|
|
1581
|
+
label: z.ZodString;
|
|
1582
|
+
url: z.ZodString;
|
|
1583
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1584
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1585
|
+
open: "open";
|
|
1586
|
+
draft: "draft";
|
|
1587
|
+
closed: "closed";
|
|
1588
|
+
merged: "merged";
|
|
1589
|
+
warning: "warning";
|
|
1590
|
+
}>>;
|
|
1591
|
+
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
1592
|
+
plugin: z.ZodString;
|
|
1593
|
+
createdAt: z.ZodString;
|
|
1594
|
+
updatedAt: z.ZodString;
|
|
1595
|
+
}, z.core.$strip>>>>;
|
|
1596
|
+
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1597
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
1598
|
+
"circle-dot": "circle-dot";
|
|
1599
|
+
"circle-dashed": "circle-dashed";
|
|
1600
|
+
"circle-x": "circle-x";
|
|
1601
|
+
"git-merge": "git-merge";
|
|
1602
|
+
"git-pull-request": "git-pull-request";
|
|
1603
|
+
"triangle-alert": "triangle-alert";
|
|
1604
|
+
}>>;
|
|
1605
|
+
key: z.ZodString;
|
|
1606
|
+
label: z.ZodString;
|
|
1607
|
+
}, z.core.$strict>>>;
|
|
1608
|
+
assignedWork: z.ZodOptional<z.ZodBoolean>;
|
|
1609
|
+
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
1610
|
+
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
1611
|
+
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
1612
|
+
}, z.core.$strict>>;
|
|
1613
|
+
source: z.ZodLiteral<"conversation_index">;
|
|
1614
|
+
generatedAt: z.ZodString;
|
|
1615
|
+
}, z.core.$strict>;
|
|
1616
|
+
declare const conversationStatsItemSchema: z.ZodObject<{
|
|
1617
|
+
active: z.ZodNumber;
|
|
1618
|
+
conversations: z.ZodNumber;
|
|
1619
|
+
durationMs: z.ZodNumber;
|
|
1620
|
+
failed: z.ZodNumber;
|
|
1621
|
+
label: z.ZodString;
|
|
1622
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1623
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1624
|
+
}, z.core.$strict>;
|
|
1625
|
+
declare const conversationMetricDaySchema: z.ZodObject<{
|
|
1626
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1627
|
+
conversations: z.ZodNumber;
|
|
1628
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1629
|
+
date: z.ZodString;
|
|
1630
|
+
durationMs: z.ZodNumber;
|
|
1631
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1632
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1633
|
+
}, z.core.$strict>;
|
|
1634
|
+
declare const guardianMetricDaySchema: z.ZodObject<{
|
|
1635
|
+
allow: z.ZodNumber;
|
|
1636
|
+
ask: z.ZodNumber;
|
|
1637
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1638
|
+
date: z.ZodString;
|
|
1639
|
+
deny: z.ZodNumber;
|
|
1640
|
+
requests: z.ZodNumber;
|
|
1641
|
+
}, z.core.$strict>;
|
|
1642
|
+
declare const guardianStatsSchema: z.ZodObject<{
|
|
1643
|
+
allow: z.ZodNumber;
|
|
1644
|
+
ask: z.ZodNumber;
|
|
1645
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1646
|
+
deny: z.ZodNumber;
|
|
1647
|
+
metricDays: z.ZodArray<z.ZodObject<{
|
|
1648
|
+
allow: z.ZodNumber;
|
|
1649
|
+
ask: z.ZodNumber;
|
|
1650
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1651
|
+
date: z.ZodString;
|
|
1652
|
+
deny: z.ZodNumber;
|
|
1653
|
+
requests: z.ZodNumber;
|
|
1654
|
+
}, z.core.$strict>>;
|
|
1655
|
+
metricHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1656
|
+
allow: z.ZodNumber;
|
|
1657
|
+
ask: z.ZodNumber;
|
|
1658
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1659
|
+
date: z.ZodString;
|
|
1660
|
+
deny: z.ZodNumber;
|
|
1661
|
+
requests: z.ZodNumber;
|
|
1662
|
+
}, z.core.$strict>>>;
|
|
1663
|
+
metricSixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1664
|
+
allow: z.ZodNumber;
|
|
1665
|
+
ask: z.ZodNumber;
|
|
1666
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1667
|
+
date: z.ZodString;
|
|
1668
|
+
deny: z.ZodNumber;
|
|
1669
|
+
requests: z.ZodNumber;
|
|
1670
|
+
}, z.core.$strict>>>;
|
|
1671
|
+
requests: z.ZodNumber;
|
|
1672
|
+
}, z.core.$strict>;
|
|
1673
|
+
declare const conversationStatsReportSchema: z.ZodObject<{
|
|
1674
|
+
active: z.ZodNumber;
|
|
1675
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1676
|
+
conversations: z.ZodNumber;
|
|
1677
|
+
durationMs: z.ZodNumber;
|
|
1678
|
+
failed: z.ZodNumber;
|
|
1679
|
+
generatedAt: z.ZodString;
|
|
1680
|
+
guardian: z.ZodObject<{
|
|
1681
|
+
allow: z.ZodNumber;
|
|
1682
|
+
ask: z.ZodNumber;
|
|
1683
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1684
|
+
deny: z.ZodNumber;
|
|
1685
|
+
metricDays: z.ZodArray<z.ZodObject<{
|
|
1686
|
+
allow: z.ZodNumber;
|
|
1687
|
+
ask: z.ZodNumber;
|
|
1688
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1689
|
+
date: z.ZodString;
|
|
1690
|
+
deny: z.ZodNumber;
|
|
1691
|
+
requests: z.ZodNumber;
|
|
1692
|
+
}, z.core.$strict>>;
|
|
1693
|
+
metricHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1694
|
+
allow: z.ZodNumber;
|
|
1695
|
+
ask: z.ZodNumber;
|
|
1696
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1697
|
+
date: z.ZodString;
|
|
1698
|
+
deny: z.ZodNumber;
|
|
1699
|
+
requests: z.ZodNumber;
|
|
1700
|
+
}, z.core.$strict>>>;
|
|
1701
|
+
metricSixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1702
|
+
allow: z.ZodNumber;
|
|
1703
|
+
ask: z.ZodNumber;
|
|
1704
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1705
|
+
date: z.ZodString;
|
|
1706
|
+
deny: z.ZodNumber;
|
|
1707
|
+
requests: z.ZodNumber;
|
|
1708
|
+
}, z.core.$strict>>>;
|
|
1709
|
+
requests: z.ZodNumber;
|
|
1710
|
+
}, z.core.$strict>;
|
|
1711
|
+
metricDays: z.ZodArray<z.ZodObject<{
|
|
1712
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1713
|
+
conversations: z.ZodNumber;
|
|
1714
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1715
|
+
date: z.ZodString;
|
|
1716
|
+
durationMs: z.ZodNumber;
|
|
1717
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1718
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1719
|
+
}, z.core.$strict>>;
|
|
1720
|
+
metricHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1721
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1722
|
+
conversations: z.ZodNumber;
|
|
1723
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1724
|
+
date: z.ZodString;
|
|
1725
|
+
durationMs: z.ZodNumber;
|
|
1726
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1727
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1728
|
+
}, z.core.$strict>>>;
|
|
1729
|
+
metricSixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1730
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1731
|
+
conversations: z.ZodNumber;
|
|
1732
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1733
|
+
date: z.ZodString;
|
|
1734
|
+
durationMs: z.ZodNumber;
|
|
1735
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1736
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1737
|
+
}, z.core.$strict>>>;
|
|
1738
|
+
locations: z.ZodArray<z.ZodObject<{
|
|
1739
|
+
active: z.ZodNumber;
|
|
1740
|
+
conversations: z.ZodNumber;
|
|
1741
|
+
durationMs: z.ZodNumber;
|
|
1742
|
+
failed: z.ZodNumber;
|
|
1743
|
+
label: z.ZodString;
|
|
1744
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1745
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1746
|
+
}, z.core.$strict>>;
|
|
1747
|
+
actors: z.ZodArray<z.ZodObject<{
|
|
1748
|
+
active: z.ZodNumber;
|
|
1749
|
+
conversations: z.ZodNumber;
|
|
1750
|
+
durationMs: z.ZodNumber;
|
|
1751
|
+
failed: z.ZodNumber;
|
|
1752
|
+
label: z.ZodString;
|
|
1753
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1754
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1755
|
+
}, z.core.$strict>>;
|
|
1756
|
+
source: z.ZodLiteral<"conversation_index">;
|
|
1757
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1758
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1759
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1760
|
+
windowEnd: z.ZodString;
|
|
1761
|
+
windowStart: z.ZodString;
|
|
1762
|
+
}, z.core.$strict>;
|
|
1763
|
+
type ConversationReportStatus = z.infer<typeof conversationReportStatusSchema>;
|
|
1764
|
+
type ConversationTurnFailureCode = z.infer<typeof conversationTurnFailureCodeSchema>;
|
|
1765
|
+
type ConversationTurnFailureReason = z.infer<typeof conversationTurnFailureReasonSchema>;
|
|
1766
|
+
type ConversationSurface = z.infer<typeof conversationSurfaceSchema>;
|
|
1767
|
+
type ConversationCost = z.infer<typeof conversationCostSchema>;
|
|
1768
|
+
type ConversationUsage = z.infer<typeof conversationUsageSchema>;
|
|
1769
|
+
type ConversationAuxiliaryCosts = z.infer<typeof conversationAuxiliaryCostsSchema>;
|
|
1770
|
+
type ActorIdentity = z.infer<typeof actorIdentitySchema>;
|
|
1771
|
+
type ConversationSummaryReport = z.infer<typeof conversationSummaryReportSchema>;
|
|
1772
|
+
type ConversationModelUsage = z.infer<typeof conversationModelUsageSchema>;
|
|
1773
|
+
type ConversationReportEventData = z.infer<typeof conversationReportEventDataSchema>;
|
|
1774
|
+
type ConversationReportEvent = z.infer<typeof conversationReportEventSchema>;
|
|
1775
|
+
type ConversationEventHistory = z.infer<typeof conversationEventHistorySchema>;
|
|
1776
|
+
type ConversationSourceTask = z.infer<typeof conversationSourceTaskSchema>;
|
|
1777
|
+
type ConversationDetailReport = z.infer<typeof conversationDetailReportSchema>;
|
|
1778
|
+
type ConversationEventPage = z.infer<typeof conversationEventPageSchema>;
|
|
1779
|
+
type ConversationFeed = z.infer<typeof conversationFeedSchema>;
|
|
1780
|
+
type ConversationStatsItem = z.infer<typeof conversationStatsItemSchema>;
|
|
1781
|
+
type ConversationMetricDay = z.infer<typeof conversationMetricDaySchema>;
|
|
1782
|
+
type GuardianMetricDay = z.infer<typeof guardianMetricDaySchema>;
|
|
1783
|
+
type GuardianStats = z.infer<typeof guardianStatsSchema>;
|
|
1784
|
+
type ConversationStatsReport = z.infer<typeof conversationStatsReportSchema>;
|
|
1785
|
+
type ConversationParams = z.infer<typeof conversationParamsSchema>;
|
|
1786
|
+
type ArchiveConversationBody = z.infer<typeof archiveConversationBodySchema>;
|
|
1787
|
+
type ArchiveConversationResponse = z.infer<typeof archiveConversationResponseSchema>;
|
|
1788
|
+
type CreateConversationBody = z.infer<typeof createConversationBodySchema>;
|
|
1789
|
+
type CreateConversationMessageBody = z.infer<typeof createConversationMessageBodySchema>;
|
|
1790
|
+
type AcceptedConversationMessage = z.infer<typeof acceptedConversationMessageSchema>;
|
|
1791
|
+
type ConversationPendingMessageDelivery = z.infer<typeof conversationPendingMessageDeliverySchema>;
|
|
1792
|
+
type ConversationPendingMessage = z.infer<typeof conversationPendingMessageSchema>;
|
|
1793
|
+
type ConversationPendingMessagesReport = z.infer<typeof conversationPendingMessagesReportSchema>;
|
|
1794
|
+
type CancelConversationPendingMessagesBody = z.infer<typeof cancelConversationPendingMessagesBodySchema>;
|
|
1795
|
+
type CancelConversationPendingMessagesResponse = z.infer<typeof cancelConversationPendingMessagesResponseSchema>;
|
|
1796
|
+
|
|
1797
|
+
declare const personParamsSchema: z.ZodObject<{
|
|
1798
|
+
email: z.ZodString;
|
|
1799
|
+
}, z.core.$strict>;
|
|
1800
|
+
declare const actorActivityDayReportSchema: z.ZodObject<{
|
|
1801
|
+
active: z.ZodNumber;
|
|
1802
|
+
conversations: z.ZodNumber;
|
|
1803
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1804
|
+
date: z.ZodString;
|
|
1805
|
+
durationMs: z.ZodNumber;
|
|
1806
|
+
failed: z.ZodNumber;
|
|
1807
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1808
|
+
}, z.core.$strict>;
|
|
1809
|
+
declare const peopleActivityDayReportSchema: z.ZodObject<{
|
|
1810
|
+
activePeople: z.ZodNumber;
|
|
1811
|
+
conversations: z.ZodNumber;
|
|
1812
|
+
date: z.ZodString;
|
|
1813
|
+
}, z.core.$strict>;
|
|
1814
|
+
declare const actorTotalsReportSchema: z.ZodObject<{
|
|
1815
|
+
active: z.ZodNumber;
|
|
1816
|
+
activeDays: z.ZodNumber;
|
|
1817
|
+
conversations: z.ZodNumber;
|
|
1818
|
+
durationMs: z.ZodNumber;
|
|
1819
|
+
failed: z.ZodNumber;
|
|
1820
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1821
|
+
}, z.core.$strict>;
|
|
1822
|
+
/** Spend and activity for one people-directory range, plus the prior period's spend. */
|
|
1823
|
+
declare const actorWindowMetricsSchema: z.ZodObject<{
|
|
1824
|
+
conversations: z.ZodNumber;
|
|
1825
|
+
costUsd: z.ZodNumber;
|
|
1826
|
+
durationMs: z.ZodNumber;
|
|
1827
|
+
priorCostUsd: z.ZodNumber;
|
|
1828
|
+
}, z.core.$strict>;
|
|
1829
|
+
/** People-directory ranges that match the dashboard range control. */
|
|
1830
|
+
declare const actorDirectoryWindowsSchema: z.ZodObject<{
|
|
1831
|
+
1: z.ZodObject<{
|
|
1832
|
+
conversations: z.ZodNumber;
|
|
1833
|
+
costUsd: z.ZodNumber;
|
|
1834
|
+
durationMs: z.ZodNumber;
|
|
1835
|
+
priorCostUsd: z.ZodNumber;
|
|
1836
|
+
}, z.core.$strict>;
|
|
1837
|
+
7: z.ZodObject<{
|
|
1838
|
+
conversations: z.ZodNumber;
|
|
1839
|
+
costUsd: z.ZodNumber;
|
|
1840
|
+
durationMs: z.ZodNumber;
|
|
1841
|
+
priorCostUsd: z.ZodNumber;
|
|
1842
|
+
}, z.core.$strict>;
|
|
1843
|
+
30: z.ZodObject<{
|
|
1844
|
+
conversations: z.ZodNumber;
|
|
1845
|
+
costUsd: z.ZodNumber;
|
|
1846
|
+
durationMs: z.ZodNumber;
|
|
1847
|
+
priorCostUsd: z.ZodNumber;
|
|
1848
|
+
}, z.core.$strict>;
|
|
1849
|
+
90: z.ZodObject<{
|
|
1850
|
+
conversations: z.ZodNumber;
|
|
1851
|
+
costUsd: z.ZodNumber;
|
|
1852
|
+
durationMs: z.ZodNumber;
|
|
1853
|
+
priorCostUsd: z.ZodNumber;
|
|
1854
|
+
}, z.core.$strict>;
|
|
1855
|
+
}, z.core.$strict>;
|
|
1856
|
+
declare const actorSummaryReportSchema: z.ZodObject<{
|
|
1857
|
+
active: z.ZodNumber;
|
|
1858
|
+
activeDays: z.ZodNumber;
|
|
1859
|
+
conversations: z.ZodNumber;
|
|
1860
|
+
durationMs: z.ZodNumber;
|
|
1861
|
+
failed: z.ZodNumber;
|
|
1862
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1863
|
+
firstSeenAt: z.ZodString;
|
|
1864
|
+
lastSeenAt: z.ZodString;
|
|
1865
|
+
actor: z.ZodObject<{
|
|
1866
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1867
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1868
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1869
|
+
email: z.ZodString;
|
|
1870
|
+
}, z.core.$strict>;
|
|
1871
|
+
windows: z.ZodObject<{
|
|
1872
|
+
1: z.ZodObject<{
|
|
1873
|
+
conversations: z.ZodNumber;
|
|
1874
|
+
costUsd: z.ZodNumber;
|
|
1875
|
+
durationMs: z.ZodNumber;
|
|
1876
|
+
priorCostUsd: z.ZodNumber;
|
|
1877
|
+
}, z.core.$strict>;
|
|
1878
|
+
7: z.ZodObject<{
|
|
1879
|
+
conversations: z.ZodNumber;
|
|
1880
|
+
costUsd: z.ZodNumber;
|
|
1881
|
+
durationMs: z.ZodNumber;
|
|
1882
|
+
priorCostUsd: z.ZodNumber;
|
|
1883
|
+
}, z.core.$strict>;
|
|
1884
|
+
30: z.ZodObject<{
|
|
1885
|
+
conversations: z.ZodNumber;
|
|
1886
|
+
costUsd: z.ZodNumber;
|
|
1887
|
+
durationMs: z.ZodNumber;
|
|
1888
|
+
priorCostUsd: z.ZodNumber;
|
|
1889
|
+
}, z.core.$strict>;
|
|
1890
|
+
90: z.ZodObject<{
|
|
1891
|
+
conversations: z.ZodNumber;
|
|
1892
|
+
costUsd: z.ZodNumber;
|
|
1893
|
+
durationMs: z.ZodNumber;
|
|
1894
|
+
priorCostUsd: z.ZodNumber;
|
|
1895
|
+
}, z.core.$strict>;
|
|
1896
|
+
}, z.core.$strict>;
|
|
1897
|
+
}, z.core.$strict>;
|
|
1898
|
+
declare const actorDirectoryReportSchema: z.ZodObject<{
|
|
1899
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
1900
|
+
activePeople: z.ZodNumber;
|
|
1901
|
+
conversations: z.ZodNumber;
|
|
1902
|
+
date: z.ZodString;
|
|
1903
|
+
}, z.core.$strict>>;
|
|
1904
|
+
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1905
|
+
activePeople: z.ZodNumber;
|
|
1906
|
+
conversations: z.ZodNumber;
|
|
1907
|
+
date: z.ZodString;
|
|
1908
|
+
}, z.core.$strict>>>;
|
|
1909
|
+
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1910
|
+
activePeople: z.ZodNumber;
|
|
1911
|
+
conversations: z.ZodNumber;
|
|
1912
|
+
date: z.ZodString;
|
|
1913
|
+
}, z.core.$strict>>>;
|
|
1914
|
+
generatedAt: z.ZodString;
|
|
1915
|
+
people: z.ZodArray<z.ZodObject<{
|
|
1916
|
+
active: z.ZodNumber;
|
|
1917
|
+
activeDays: z.ZodNumber;
|
|
1918
|
+
conversations: z.ZodNumber;
|
|
1919
|
+
durationMs: z.ZodNumber;
|
|
1920
|
+
failed: z.ZodNumber;
|
|
1921
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1922
|
+
firstSeenAt: z.ZodString;
|
|
1923
|
+
lastSeenAt: z.ZodString;
|
|
1924
|
+
actor: z.ZodObject<{
|
|
1925
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1926
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1927
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1928
|
+
email: z.ZodString;
|
|
1929
|
+
}, z.core.$strict>;
|
|
1930
|
+
windows: z.ZodObject<{
|
|
1931
|
+
1: z.ZodObject<{
|
|
1932
|
+
conversations: z.ZodNumber;
|
|
1933
|
+
costUsd: z.ZodNumber;
|
|
1934
|
+
durationMs: z.ZodNumber;
|
|
1935
|
+
priorCostUsd: z.ZodNumber;
|
|
1936
|
+
}, z.core.$strict>;
|
|
1937
|
+
7: z.ZodObject<{
|
|
1938
|
+
conversations: z.ZodNumber;
|
|
1939
|
+
costUsd: z.ZodNumber;
|
|
1940
|
+
durationMs: z.ZodNumber;
|
|
1941
|
+
priorCostUsd: z.ZodNumber;
|
|
1942
|
+
}, z.core.$strict>;
|
|
1943
|
+
30: z.ZodObject<{
|
|
1944
|
+
conversations: z.ZodNumber;
|
|
1945
|
+
costUsd: z.ZodNumber;
|
|
1946
|
+
durationMs: z.ZodNumber;
|
|
1947
|
+
priorCostUsd: z.ZodNumber;
|
|
1948
|
+
}, z.core.$strict>;
|
|
1949
|
+
90: z.ZodObject<{
|
|
1950
|
+
conversations: z.ZodNumber;
|
|
1951
|
+
costUsd: z.ZodNumber;
|
|
1952
|
+
durationMs: z.ZodNumber;
|
|
1953
|
+
priorCostUsd: z.ZodNumber;
|
|
1954
|
+
}, z.core.$strict>;
|
|
1955
|
+
}, z.core.$strict>;
|
|
1956
|
+
}, z.core.$strict>>;
|
|
1957
|
+
source: z.ZodLiteral<"conversation_index">;
|
|
1958
|
+
windowEnd: z.ZodString;
|
|
1959
|
+
windowStart: z.ZodString;
|
|
1960
|
+
}, z.core.$strict>;
|
|
1961
|
+
declare const actorProfileReportSchema: z.ZodObject<{
|
|
1962
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
1963
|
+
active: z.ZodNumber;
|
|
1964
|
+
conversations: z.ZodNumber;
|
|
1965
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1966
|
+
date: z.ZodString;
|
|
1967
|
+
durationMs: z.ZodNumber;
|
|
1968
|
+
failed: z.ZodNumber;
|
|
1969
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1970
|
+
}, z.core.$strict>>;
|
|
1971
|
+
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1972
|
+
active: z.ZodNumber;
|
|
1973
|
+
conversations: z.ZodNumber;
|
|
1974
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1975
|
+
date: z.ZodString;
|
|
1976
|
+
durationMs: z.ZodNumber;
|
|
1977
|
+
failed: z.ZodNumber;
|
|
1978
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1979
|
+
}, z.core.$strict>>>;
|
|
1980
|
+
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1981
|
+
active: z.ZodNumber;
|
|
1982
|
+
conversations: z.ZodNumber;
|
|
1983
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1984
|
+
date: z.ZodString;
|
|
1985
|
+
durationMs: z.ZodNumber;
|
|
1986
|
+
failed: z.ZodNumber;
|
|
1987
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1988
|
+
}, z.core.$strict>>>;
|
|
1989
|
+
generatedAt: z.ZodString;
|
|
1990
|
+
locations: z.ZodArray<z.ZodObject<{
|
|
1991
|
+
label: z.ZodString;
|
|
1992
|
+
active: z.ZodNumber;
|
|
1993
|
+
failed: z.ZodNumber;
|
|
1994
|
+
conversations: z.ZodNumber;
|
|
1995
|
+
durationMs: z.ZodNumber;
|
|
1996
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
1997
|
+
}, z.core.$strict>>;
|
|
1998
|
+
recentConversations: z.ZodArray<z.ZodObject<{
|
|
1999
|
+
displayTitle: z.ZodString;
|
|
2000
|
+
cumulativeDurationMs: z.ZodNumber;
|
|
2001
|
+
cumulativeUsage: z.ZodOptional<z.ZodObject<{
|
|
2002
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2003
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2004
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2005
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
2006
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
2007
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
2008
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
2009
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
2010
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
2011
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
2012
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
2013
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
2014
|
+
}, z.core.$strict>>;
|
|
2015
|
+
}, z.core.$strict>>;
|
|
2016
|
+
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
2017
|
+
costUsd: z.ZodNumber;
|
|
2018
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2019
|
+
costUsd: z.ZodNumber;
|
|
2020
|
+
events: z.ZodNumber;
|
|
2021
|
+
name: z.ZodString;
|
|
2022
|
+
namespace: z.ZodString;
|
|
2023
|
+
}, z.core.$strict>>;
|
|
2024
|
+
}, z.core.$strict>>;
|
|
2025
|
+
conversationId: z.ZodString;
|
|
2026
|
+
isParticipant: z.ZodBoolean;
|
|
2027
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2028
|
+
private: "private";
|
|
2029
|
+
public: "public";
|
|
2030
|
+
}>>;
|
|
2031
|
+
status: z.ZodEnum<{
|
|
2032
|
+
active: "active";
|
|
2033
|
+
completed: "completed";
|
|
2034
|
+
failed: "failed";
|
|
2035
|
+
}>;
|
|
2036
|
+
startedAt: z.ZodString;
|
|
2037
|
+
lastSeenAt: z.ZodString;
|
|
2038
|
+
lastProgressAt: z.ZodString;
|
|
2039
|
+
surface: z.ZodEnum<{
|
|
2040
|
+
slack: "slack";
|
|
2041
|
+
api: "api";
|
|
2042
|
+
scheduler: "scheduler";
|
|
2043
|
+
internal: "internal";
|
|
2044
|
+
}>;
|
|
2045
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
2046
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2047
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
2048
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2049
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2050
|
+
}, z.core.$strict>>;
|
|
2051
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2052
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
2053
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
2054
|
+
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
2055
|
+
locationId: z.ZodOptional<z.ZodString>;
|
|
2056
|
+
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
2057
|
+
locationUrl: z.ZodOptional<z.ZodString>;
|
|
2058
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2060
|
+
kind: z.ZodLiteral<"resource_link">;
|
|
2061
|
+
key: z.ZodString;
|
|
2062
|
+
label: z.ZodString;
|
|
2063
|
+
url: z.ZodString;
|
|
2064
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
2066
|
+
open: "open";
|
|
2067
|
+
draft: "draft";
|
|
2068
|
+
closed: "closed";
|
|
2069
|
+
merged: "merged";
|
|
2070
|
+
warning: "warning";
|
|
2071
|
+
}>>;
|
|
2072
|
+
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
2073
|
+
plugin: z.ZodString;
|
|
2074
|
+
createdAt: z.ZodString;
|
|
2075
|
+
updatedAt: z.ZodString;
|
|
2076
|
+
}, z.core.$strip>>>>;
|
|
2077
|
+
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2078
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
2079
|
+
"circle-dot": "circle-dot";
|
|
2080
|
+
"circle-dashed": "circle-dashed";
|
|
2081
|
+
"circle-x": "circle-x";
|
|
2082
|
+
"git-merge": "git-merge";
|
|
2083
|
+
"git-pull-request": "git-pull-request";
|
|
2084
|
+
"triangle-alert": "triangle-alert";
|
|
2085
|
+
}>>;
|
|
2086
|
+
key: z.ZodString;
|
|
2087
|
+
label: z.ZodString;
|
|
2088
|
+
}, z.core.$strict>>>;
|
|
2089
|
+
assignedWork: z.ZodOptional<z.ZodBoolean>;
|
|
2090
|
+
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
2091
|
+
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
2092
|
+
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
2093
|
+
}, z.core.$strict>>;
|
|
2094
|
+
actor: z.ZodObject<{
|
|
2095
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
2096
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2097
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2098
|
+
email: z.ZodString;
|
|
2099
|
+
}, z.core.$strict>;
|
|
2100
|
+
source: z.ZodLiteral<"conversation_index">;
|
|
2101
|
+
surfaces: z.ZodArray<z.ZodObject<{
|
|
2102
|
+
label: z.ZodString;
|
|
2103
|
+
active: z.ZodNumber;
|
|
2104
|
+
failed: z.ZodNumber;
|
|
2105
|
+
conversations: z.ZodNumber;
|
|
2106
|
+
durationMs: z.ZodNumber;
|
|
2107
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2108
|
+
}, z.core.$strict>>;
|
|
2109
|
+
totals: z.ZodObject<{
|
|
2110
|
+
active: z.ZodNumber;
|
|
2111
|
+
activeDays: z.ZodNumber;
|
|
2112
|
+
conversations: z.ZodNumber;
|
|
2113
|
+
durationMs: z.ZodNumber;
|
|
2114
|
+
failed: z.ZodNumber;
|
|
2115
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2116
|
+
}, z.core.$strict>;
|
|
2117
|
+
windowEnd: z.ZodString;
|
|
2118
|
+
windowStart: z.ZodString;
|
|
2119
|
+
}, z.core.$strict>;
|
|
2120
|
+
declare const personalSpendReportSchema: z.ZodObject<{
|
|
2121
|
+
generatedAt: z.ZodString;
|
|
2122
|
+
sevenDaysUsd: z.ZodNumber;
|
|
2123
|
+
source: z.ZodLiteral<"conversation_index">;
|
|
2124
|
+
thirtyDaysUsd: z.ZodNumber;
|
|
2125
|
+
windowEnd: z.ZodString;
|
|
2126
|
+
windowStart: z.ZodString;
|
|
2127
|
+
}, z.core.$strict>;
|
|
2128
|
+
type ActorActivityDayReport = z.infer<typeof actorActivityDayReportSchema>;
|
|
2129
|
+
type PeopleActivityDayReport = z.infer<typeof peopleActivityDayReportSchema>;
|
|
2130
|
+
type ActorTotalsReport = z.infer<typeof actorTotalsReportSchema>;
|
|
2131
|
+
type ActorWindowMetrics = z.infer<typeof actorWindowMetricsSchema>;
|
|
2132
|
+
type ActorDirectoryWindows = z.infer<typeof actorDirectoryWindowsSchema>;
|
|
2133
|
+
type ActorSummaryReport = z.infer<typeof actorSummaryReportSchema>;
|
|
2134
|
+
type ActorDirectoryReport = z.infer<typeof actorDirectoryReportSchema>;
|
|
2135
|
+
type ActorProfileReport = z.infer<typeof actorProfileReportSchema>;
|
|
2136
|
+
type PersonalSpendReport = z.infer<typeof personalSpendReportSchema>;
|
|
2137
|
+
type PersonParams = z.infer<typeof personParamsSchema>;
|
|
2138
|
+
|
|
2139
|
+
declare const locationParamsSchema: z.ZodObject<{
|
|
2140
|
+
locationId: z.ZodString;
|
|
2141
|
+
}, z.core.$strict>;
|
|
2142
|
+
declare const locationSummaryReportSchema: z.ZodObject<{
|
|
2143
|
+
active: z.ZodNumber;
|
|
2144
|
+
conversations: z.ZodNumber;
|
|
2145
|
+
durationMs: z.ZodNumber;
|
|
2146
|
+
failed: z.ZodNumber;
|
|
2147
|
+
label: z.ZodString;
|
|
2148
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2149
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2150
|
+
id: z.ZodString;
|
|
2151
|
+
firstSeenAt: z.ZodString;
|
|
2152
|
+
kind: z.ZodEnum<{
|
|
2153
|
+
channel: "channel";
|
|
2154
|
+
dm: "dm";
|
|
2155
|
+
group: "group";
|
|
2156
|
+
local_conversation: "local_conversation";
|
|
2157
|
+
thread: "thread";
|
|
2158
|
+
web_session: "web_session";
|
|
2159
|
+
}>;
|
|
2160
|
+
lastSeenAt: z.ZodString;
|
|
2161
|
+
provider: z.ZodString;
|
|
2162
|
+
providerDestinationId: z.ZodString;
|
|
2163
|
+
visibility: z.ZodLiteral<"public">;
|
|
2164
|
+
}, z.core.$strict>;
|
|
2165
|
+
declare const locationActorSummaryReportSchema: z.ZodObject<{
|
|
2166
|
+
active: z.ZodNumber;
|
|
2167
|
+
conversations: z.ZodNumber;
|
|
2168
|
+
durationMs: z.ZodNumber;
|
|
2169
|
+
failed: z.ZodNumber;
|
|
2170
|
+
label: z.ZodString;
|
|
2171
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2172
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2173
|
+
actor: z.ZodObject<{
|
|
2174
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2175
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2177
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2178
|
+
}, z.core.$strict>;
|
|
2179
|
+
}, z.core.$strict>;
|
|
2180
|
+
declare const locationActivityDayReportSchema: z.ZodObject<{
|
|
2181
|
+
date: z.ZodString;
|
|
2182
|
+
privateConversations: z.ZodNumber;
|
|
2183
|
+
publicConversations: z.ZodNumber;
|
|
2184
|
+
}, z.core.$strict>;
|
|
2185
|
+
declare const locationDirectoryReportSchema: z.ZodObject<{
|
|
2186
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
2187
|
+
date: z.ZodString;
|
|
2188
|
+
privateConversations: z.ZodNumber;
|
|
2189
|
+
publicConversations: z.ZodNumber;
|
|
2190
|
+
}, z.core.$strict>>;
|
|
2191
|
+
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2192
|
+
date: z.ZodString;
|
|
2193
|
+
privateConversations: z.ZodNumber;
|
|
2194
|
+
publicConversations: z.ZodNumber;
|
|
2195
|
+
}, z.core.$strict>>>;
|
|
2196
|
+
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2197
|
+
date: z.ZodString;
|
|
2198
|
+
privateConversations: z.ZodNumber;
|
|
2199
|
+
publicConversations: z.ZodNumber;
|
|
2200
|
+
}, z.core.$strict>>>;
|
|
2201
|
+
generatedAt: z.ZodString;
|
|
2202
|
+
locations: z.ZodArray<z.ZodObject<{
|
|
2203
|
+
active: z.ZodNumber;
|
|
2204
|
+
conversations: z.ZodNumber;
|
|
2205
|
+
durationMs: z.ZodNumber;
|
|
2206
|
+
failed: z.ZodNumber;
|
|
2207
|
+
label: z.ZodString;
|
|
2208
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2209
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2210
|
+
id: z.ZodString;
|
|
2211
|
+
firstSeenAt: z.ZodString;
|
|
2212
|
+
kind: z.ZodEnum<{
|
|
2213
|
+
channel: "channel";
|
|
2214
|
+
dm: "dm";
|
|
2215
|
+
group: "group";
|
|
2216
|
+
local_conversation: "local_conversation";
|
|
2217
|
+
thread: "thread";
|
|
2218
|
+
web_session: "web_session";
|
|
2219
|
+
}>;
|
|
2220
|
+
lastSeenAt: z.ZodString;
|
|
2221
|
+
provider: z.ZodString;
|
|
2222
|
+
providerDestinationId: z.ZodString;
|
|
2223
|
+
visibility: z.ZodLiteral<"public">;
|
|
2224
|
+
}, z.core.$strict>>;
|
|
2225
|
+
privateActivity: z.ZodObject<{
|
|
2226
|
+
active: z.ZodNumber;
|
|
2227
|
+
conversations: z.ZodNumber;
|
|
2228
|
+
durationMs: z.ZodNumber;
|
|
2229
|
+
failed: z.ZodNumber;
|
|
2230
|
+
label: z.ZodString;
|
|
2231
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2232
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2233
|
+
}, z.core.$strict>;
|
|
2234
|
+
source: z.ZodLiteral<"conversation_index">;
|
|
2235
|
+
windowEnd: z.ZodString;
|
|
2236
|
+
windowStart: z.ZodString;
|
|
2237
|
+
}, z.core.$strict>;
|
|
2238
|
+
declare const locationDetailReportSchema: z.ZodObject<{
|
|
2239
|
+
active: z.ZodNumber;
|
|
2240
|
+
conversations: z.ZodNumber;
|
|
2241
|
+
durationMs: z.ZodNumber;
|
|
2242
|
+
failed: z.ZodNumber;
|
|
2243
|
+
label: z.ZodString;
|
|
2244
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2245
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2246
|
+
id: z.ZodString;
|
|
2247
|
+
firstSeenAt: z.ZodString;
|
|
2248
|
+
kind: z.ZodEnum<{
|
|
2249
|
+
channel: "channel";
|
|
2250
|
+
dm: "dm";
|
|
2251
|
+
group: "group";
|
|
2252
|
+
local_conversation: "local_conversation";
|
|
2253
|
+
thread: "thread";
|
|
2254
|
+
web_session: "web_session";
|
|
2255
|
+
}>;
|
|
2256
|
+
lastSeenAt: z.ZodString;
|
|
2257
|
+
provider: z.ZodString;
|
|
2258
|
+
providerDestinationId: z.ZodString;
|
|
2259
|
+
visibility: z.ZodLiteral<"public">;
|
|
2260
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
2261
|
+
active: z.ZodNumber;
|
|
2262
|
+
conversations: z.ZodNumber;
|
|
2263
|
+
date: z.ZodString;
|
|
2264
|
+
durationMs: z.ZodNumber;
|
|
2265
|
+
failed: z.ZodNumber;
|
|
2266
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2267
|
+
}, z.core.$strict>>;
|
|
2268
|
+
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2269
|
+
active: z.ZodNumber;
|
|
2270
|
+
conversations: z.ZodNumber;
|
|
2271
|
+
date: z.ZodString;
|
|
2272
|
+
durationMs: z.ZodNumber;
|
|
2273
|
+
failed: z.ZodNumber;
|
|
2274
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2275
|
+
}, z.core.$strict>>>;
|
|
2276
|
+
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2277
|
+
active: z.ZodNumber;
|
|
2278
|
+
conversations: z.ZodNumber;
|
|
2279
|
+
date: z.ZodString;
|
|
2280
|
+
durationMs: z.ZodNumber;
|
|
2281
|
+
failed: z.ZodNumber;
|
|
2282
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2283
|
+
}, z.core.$strict>>>;
|
|
2284
|
+
actors: z.ZodArray<z.ZodObject<{
|
|
2285
|
+
active: z.ZodNumber;
|
|
2286
|
+
conversations: z.ZodNumber;
|
|
2287
|
+
durationMs: z.ZodNumber;
|
|
2288
|
+
failed: z.ZodNumber;
|
|
2289
|
+
label: z.ZodString;
|
|
2290
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2291
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
2292
|
+
actor: z.ZodObject<{
|
|
2293
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2294
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
2295
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2296
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2297
|
+
}, z.core.$strict>;
|
|
2298
|
+
}, z.core.$strict>>;
|
|
2299
|
+
generatedAt: z.ZodString;
|
|
2300
|
+
recentConversations: z.ZodArray<z.ZodObject<{
|
|
2301
|
+
displayTitle: z.ZodString;
|
|
2302
|
+
cumulativeDurationMs: z.ZodNumber;
|
|
2303
|
+
cumulativeUsage: z.ZodOptional<z.ZodObject<{
|
|
2304
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2305
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2306
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2307
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
2308
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
2309
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
2310
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
2311
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
2312
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
2313
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
2314
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
2315
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
2316
|
+
}, z.core.$strict>>;
|
|
2317
|
+
}, z.core.$strict>>;
|
|
2318
|
+
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
2319
|
+
costUsd: z.ZodNumber;
|
|
2320
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2321
|
+
costUsd: z.ZodNumber;
|
|
2322
|
+
events: z.ZodNumber;
|
|
2323
|
+
name: z.ZodString;
|
|
2324
|
+
namespace: z.ZodString;
|
|
2325
|
+
}, z.core.$strict>>;
|
|
2326
|
+
}, z.core.$strict>>;
|
|
2327
|
+
conversationId: z.ZodString;
|
|
2328
|
+
isParticipant: z.ZodBoolean;
|
|
2329
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2330
|
+
private: "private";
|
|
2331
|
+
public: "public";
|
|
2332
|
+
}>>;
|
|
2333
|
+
status: z.ZodEnum<{
|
|
2334
|
+
active: "active";
|
|
2335
|
+
completed: "completed";
|
|
2336
|
+
failed: "failed";
|
|
2337
|
+
}>;
|
|
2338
|
+
startedAt: z.ZodString;
|
|
2339
|
+
lastSeenAt: z.ZodString;
|
|
2340
|
+
lastProgressAt: z.ZodString;
|
|
2341
|
+
surface: z.ZodEnum<{
|
|
2342
|
+
slack: "slack";
|
|
2343
|
+
api: "api";
|
|
2344
|
+
scheduler: "scheduler";
|
|
2345
|
+
internal: "internal";
|
|
2346
|
+
}>;
|
|
2347
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
2348
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2349
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
2350
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2351
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2352
|
+
}, z.core.$strict>>;
|
|
2353
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2354
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
2355
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
2356
|
+
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
2357
|
+
locationId: z.ZodOptional<z.ZodString>;
|
|
2358
|
+
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
2359
|
+
locationUrl: z.ZodOptional<z.ZodString>;
|
|
2360
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
2361
|
+
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2362
|
+
kind: z.ZodLiteral<"resource_link">;
|
|
2363
|
+
key: z.ZodString;
|
|
2364
|
+
label: z.ZodString;
|
|
2365
|
+
url: z.ZodString;
|
|
2366
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2367
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
2368
|
+
open: "open";
|
|
2369
|
+
draft: "draft";
|
|
2370
|
+
closed: "closed";
|
|
2371
|
+
merged: "merged";
|
|
2372
|
+
warning: "warning";
|
|
2373
|
+
}>>;
|
|
2374
|
+
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
2375
|
+
plugin: z.ZodString;
|
|
2376
|
+
createdAt: z.ZodString;
|
|
2377
|
+
updatedAt: z.ZodString;
|
|
2378
|
+
}, z.core.$strip>>>>;
|
|
2379
|
+
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2380
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
2381
|
+
"circle-dot": "circle-dot";
|
|
2382
|
+
"circle-dashed": "circle-dashed";
|
|
2383
|
+
"circle-x": "circle-x";
|
|
2384
|
+
"git-merge": "git-merge";
|
|
2385
|
+
"git-pull-request": "git-pull-request";
|
|
2386
|
+
"triangle-alert": "triangle-alert";
|
|
2387
|
+
}>>;
|
|
2388
|
+
key: z.ZodString;
|
|
2389
|
+
label: z.ZodString;
|
|
2390
|
+
}, z.core.$strict>>>;
|
|
2391
|
+
assignedWork: z.ZodOptional<z.ZodBoolean>;
|
|
2392
|
+
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
2393
|
+
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
2394
|
+
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
2395
|
+
}, z.core.$strict>>;
|
|
2396
|
+
source: z.ZodLiteral<"conversation_index">;
|
|
2397
|
+
windowEnd: z.ZodString;
|
|
2398
|
+
windowStart: z.ZodString;
|
|
2399
|
+
}, z.core.$strict>;
|
|
2400
|
+
type LocationSummaryReport = z.infer<typeof locationSummaryReportSchema>;
|
|
2401
|
+
type LocationActorSummaryReport = z.infer<typeof locationActorSummaryReportSchema>;
|
|
2402
|
+
type LocationActivityDayReport = z.infer<typeof locationActivityDayReportSchema>;
|
|
2403
|
+
type LocationDirectoryReport = z.infer<typeof locationDirectoryReportSchema>;
|
|
2404
|
+
type LocationDetailReport = z.infer<typeof locationDetailReportSchema>;
|
|
2405
|
+
type LocationParams = z.infer<typeof locationParamsSchema>;
|
|
2406
|
+
|
|
2407
|
+
/** Stable error body returned by Junior-owned REST endpoints. */
|
|
2408
|
+
declare const apiErrorSchema: z.ZodObject<{
|
|
2409
|
+
error: z.ZodString;
|
|
2410
|
+
}, z.core.$strict>;
|
|
2411
|
+
type ApiError = z.infer<typeof apiErrorSchema>;
|
|
2412
|
+
|
|
2413
|
+
declare const personalTokenMetadataSchema: z.ZodObject<{
|
|
2414
|
+
id: z.ZodString;
|
|
2415
|
+
name: z.ZodString;
|
|
2416
|
+
tokenSuffix: z.ZodString;
|
|
2417
|
+
createdAt: z.ZodString;
|
|
2418
|
+
expiresAt: z.ZodString;
|
|
2419
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
2420
|
+
}, z.core.$strict>;
|
|
2421
|
+
declare const personalTokenListSchema: z.ZodObject<{
|
|
2422
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
2423
|
+
id: z.ZodString;
|
|
2424
|
+
name: z.ZodString;
|
|
2425
|
+
tokenSuffix: z.ZodString;
|
|
2426
|
+
createdAt: z.ZodString;
|
|
2427
|
+
expiresAt: z.ZodString;
|
|
2428
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
2429
|
+
}, z.core.$strict>>;
|
|
2430
|
+
}, z.core.$strict>;
|
|
2431
|
+
declare const createPersonalTokenBodySchema: z.ZodObject<{
|
|
2432
|
+
name: z.ZodString;
|
|
2433
|
+
}, z.core.$strict>;
|
|
2434
|
+
declare const createdPersonalTokenSchema: z.ZodObject<{
|
|
2435
|
+
id: z.ZodString;
|
|
2436
|
+
name: z.ZodString;
|
|
2437
|
+
tokenSuffix: z.ZodString;
|
|
2438
|
+
createdAt: z.ZodString;
|
|
2439
|
+
expiresAt: z.ZodString;
|
|
2440
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
2441
|
+
token: z.ZodString;
|
|
2442
|
+
}, z.core.$strict>;
|
|
2443
|
+
declare const personalTokenParamsSchema: z.ZodObject<{
|
|
2444
|
+
id: z.ZodString;
|
|
2445
|
+
}, z.core.$strict>;
|
|
2446
|
+
declare const revokePersonalTokenResponseSchema: z.ZodObject<{
|
|
2447
|
+
revoked: z.ZodLiteral<true>;
|
|
2448
|
+
}, z.core.$strict>;
|
|
2449
|
+
type PersonalTokenMetadata = z.infer<typeof personalTokenMetadataSchema>;
|
|
2450
|
+
|
|
2451
|
+
declare const workspaceRepoSchema: z.ZodObject<{
|
|
2452
|
+
provider: z.ZodString;
|
|
2453
|
+
repo: z.ZodString;
|
|
2454
|
+
checkoutPath: z.ZodString;
|
|
2455
|
+
}, z.core.$strict>;
|
|
2456
|
+
/** Install-wide baseline Sandbox snapshot used when no Workspace recipe is selected. */
|
|
2457
|
+
declare const baselineSnapshotSchema: z.ZodObject<{
|
|
2458
|
+
id: z.ZodString;
|
|
2459
|
+
generatedAt: z.ZodISODateTime;
|
|
2460
|
+
buildDurationMs: z.ZodNumber;
|
|
2461
|
+
dependencyCount: z.ZodNumber;
|
|
2462
|
+
}, z.core.$strict>;
|
|
2463
|
+
declare const workspaceSchema: z.ZodObject<{
|
|
2464
|
+
id: z.ZodString;
|
|
2465
|
+
name: z.ZodString;
|
|
2466
|
+
setupScript: z.ZodString;
|
|
2467
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
2468
|
+
provider: z.ZodString;
|
|
2469
|
+
repo: z.ZodString;
|
|
2470
|
+
checkoutPath: z.ZodString;
|
|
2471
|
+
}, z.core.$strict>>;
|
|
2472
|
+
snapshot: z.ZodNullable<z.ZodObject<{
|
|
2473
|
+
id: z.ZodString;
|
|
2474
|
+
generatedAt: z.ZodISODateTime;
|
|
2475
|
+
buildDurationMs: z.ZodNumber;
|
|
2476
|
+
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
2477
|
+
}, z.core.$strict>>;
|
|
2478
|
+
}, z.core.$strict>;
|
|
2479
|
+
declare const workspaceListSchema: z.ZodObject<{
|
|
2480
|
+
baselineSnapshot: z.ZodNullable<z.ZodObject<{
|
|
2481
|
+
id: z.ZodString;
|
|
2482
|
+
generatedAt: z.ZodISODateTime;
|
|
2483
|
+
buildDurationMs: z.ZodNumber;
|
|
2484
|
+
dependencyCount: z.ZodNumber;
|
|
2485
|
+
}, z.core.$strict>>;
|
|
2486
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
2487
|
+
id: z.ZodString;
|
|
2488
|
+
name: z.ZodString;
|
|
2489
|
+
setupScript: z.ZodString;
|
|
2490
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
2491
|
+
provider: z.ZodString;
|
|
2492
|
+
repo: z.ZodString;
|
|
2493
|
+
checkoutPath: z.ZodString;
|
|
2494
|
+
}, z.core.$strict>>;
|
|
2495
|
+
snapshot: z.ZodNullable<z.ZodObject<{
|
|
2496
|
+
id: z.ZodString;
|
|
2497
|
+
generatedAt: z.ZodISODateTime;
|
|
2498
|
+
buildDurationMs: z.ZodNumber;
|
|
2499
|
+
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
2500
|
+
}, z.core.$strict>>;
|
|
2501
|
+
}, z.core.$strict>>;
|
|
2502
|
+
}, z.core.$strict>;
|
|
2503
|
+
declare const workspaceBodySchema: z.ZodObject<{
|
|
2504
|
+
name: z.ZodString;
|
|
2505
|
+
setupScript: z.ZodOptional<z.ZodString>;
|
|
2506
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
2507
|
+
provider: z.ZodString;
|
|
2508
|
+
repo: z.ZodString;
|
|
2509
|
+
}, z.core.$strict>>;
|
|
2510
|
+
}, z.core.$strict>;
|
|
2511
|
+
declare const workspaceParamsSchema: z.ZodObject<{
|
|
2512
|
+
id: z.ZodString;
|
|
2513
|
+
}, z.core.$strict>;
|
|
2514
|
+
declare const deleteWorkspaceResponseSchema: z.ZodObject<{
|
|
2515
|
+
deleted: z.ZodLiteral<true>;
|
|
2516
|
+
}, z.core.$strict>;
|
|
2517
|
+
type BaselineSnapshotReport = z.infer<typeof baselineSnapshotSchema>;
|
|
2518
|
+
type WorkspaceReport = z.infer<typeof workspaceSchema>;
|
|
2519
|
+
|
|
2520
|
+
/** Task run counts for the dashboard range control (24h/7d/30d/90d). */
|
|
2521
|
+
declare const taskRunWindowsSchema: z.ZodObject<{
|
|
2522
|
+
1: z.ZodNumber;
|
|
2523
|
+
7: z.ZodNumber;
|
|
2524
|
+
30: z.ZodNumber;
|
|
2525
|
+
90: z.ZodNumber;
|
|
2526
|
+
}, z.core.$strict>;
|
|
2527
|
+
declare const scheduledTaskSummarySchema: z.ZodObject<{
|
|
2528
|
+
createdAt: z.ZodString;
|
|
2529
|
+
createdBy: z.ZodString;
|
|
2530
|
+
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
2531
|
+
destination: z.ZodObject<{
|
|
2532
|
+
channelId: z.ZodString;
|
|
2533
|
+
label: z.ZodString;
|
|
2534
|
+
teamId: z.ZodString;
|
|
2535
|
+
visibility: z.ZodEnum<{
|
|
2536
|
+
private: "private";
|
|
2537
|
+
public: "public";
|
|
2538
|
+
}>;
|
|
2539
|
+
}, z.core.$strict>;
|
|
2540
|
+
id: z.ZodString;
|
|
2541
|
+
instruction: z.ZodString;
|
|
2542
|
+
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
2543
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
2544
|
+
ownedByViewer: z.ZodBoolean;
|
|
2545
|
+
runs: z.ZodObject<{
|
|
2546
|
+
1: z.ZodNumber;
|
|
2547
|
+
7: z.ZodNumber;
|
|
2548
|
+
30: z.ZodNumber;
|
|
2549
|
+
90: z.ZodNumber;
|
|
2550
|
+
}, z.core.$strict>;
|
|
2551
|
+
title: z.ZodString;
|
|
2552
|
+
totalRuns: z.ZodNumber;
|
|
2553
|
+
kind: z.ZodLiteral<"scheduled">;
|
|
2554
|
+
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
2555
|
+
schedule: z.ZodString;
|
|
2556
|
+
status: z.ZodEnum<{
|
|
2557
|
+
active: "active";
|
|
2558
|
+
completed: "completed";
|
|
2559
|
+
blocked: "blocked";
|
|
2560
|
+
}>;
|
|
2561
|
+
}, z.core.$strict>;
|
|
2562
|
+
declare const eventTaskSummarySchema: z.ZodObject<{
|
|
2563
|
+
createdAt: z.ZodString;
|
|
2564
|
+
createdBy: z.ZodString;
|
|
2565
|
+
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
2566
|
+
destination: z.ZodObject<{
|
|
2567
|
+
channelId: z.ZodString;
|
|
2568
|
+
label: z.ZodString;
|
|
2569
|
+
teamId: z.ZodString;
|
|
2570
|
+
visibility: z.ZodEnum<{
|
|
2571
|
+
private: "private";
|
|
2572
|
+
public: "public";
|
|
2573
|
+
}>;
|
|
2574
|
+
}, z.core.$strict>;
|
|
2575
|
+
id: z.ZodString;
|
|
2576
|
+
instruction: z.ZodString;
|
|
2577
|
+
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
2578
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
2579
|
+
ownedByViewer: z.ZodBoolean;
|
|
2580
|
+
runs: z.ZodObject<{
|
|
2581
|
+
1: z.ZodNumber;
|
|
2582
|
+
7: z.ZodNumber;
|
|
2583
|
+
30: z.ZodNumber;
|
|
2584
|
+
90: z.ZodNumber;
|
|
2585
|
+
}, z.core.$strict>;
|
|
2586
|
+
title: z.ZodString;
|
|
2587
|
+
totalRuns: z.ZodNumber;
|
|
2588
|
+
events: z.ZodArray<z.ZodString>;
|
|
2589
|
+
kind: z.ZodLiteral<"event">;
|
|
2590
|
+
resource: z.ZodString;
|
|
2591
|
+
source: z.ZodString;
|
|
2592
|
+
triggerAvailable: z.ZodBoolean;
|
|
2593
|
+
}, z.core.$strict>;
|
|
2594
|
+
declare const taskSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2595
|
+
createdAt: z.ZodString;
|
|
2596
|
+
createdBy: z.ZodString;
|
|
2597
|
+
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
2598
|
+
destination: z.ZodObject<{
|
|
2599
|
+
channelId: z.ZodString;
|
|
2600
|
+
label: z.ZodString;
|
|
2601
|
+
teamId: z.ZodString;
|
|
2602
|
+
visibility: z.ZodEnum<{
|
|
2603
|
+
private: "private";
|
|
2604
|
+
public: "public";
|
|
2605
|
+
}>;
|
|
2606
|
+
}, z.core.$strict>;
|
|
2607
|
+
id: z.ZodString;
|
|
2608
|
+
instruction: z.ZodString;
|
|
2609
|
+
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
2610
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
2611
|
+
ownedByViewer: z.ZodBoolean;
|
|
2612
|
+
runs: z.ZodObject<{
|
|
2613
|
+
1: z.ZodNumber;
|
|
2614
|
+
7: z.ZodNumber;
|
|
2615
|
+
30: z.ZodNumber;
|
|
2616
|
+
90: z.ZodNumber;
|
|
2617
|
+
}, z.core.$strict>;
|
|
2618
|
+
title: z.ZodString;
|
|
2619
|
+
totalRuns: z.ZodNumber;
|
|
2620
|
+
kind: z.ZodLiteral<"scheduled">;
|
|
2621
|
+
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
2622
|
+
schedule: z.ZodString;
|
|
2623
|
+
status: z.ZodEnum<{
|
|
2624
|
+
active: "active";
|
|
2625
|
+
completed: "completed";
|
|
2626
|
+
blocked: "blocked";
|
|
2627
|
+
}>;
|
|
2628
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2629
|
+
createdAt: z.ZodString;
|
|
2630
|
+
createdBy: z.ZodString;
|
|
2631
|
+
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
2632
|
+
destination: z.ZodObject<{
|
|
2633
|
+
channelId: z.ZodString;
|
|
2634
|
+
label: z.ZodString;
|
|
2635
|
+
teamId: z.ZodString;
|
|
2636
|
+
visibility: z.ZodEnum<{
|
|
2637
|
+
private: "private";
|
|
2638
|
+
public: "public";
|
|
2639
|
+
}>;
|
|
2640
|
+
}, z.core.$strict>;
|
|
2641
|
+
id: z.ZodString;
|
|
2642
|
+
instruction: z.ZodString;
|
|
2643
|
+
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
2644
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
2645
|
+
ownedByViewer: z.ZodBoolean;
|
|
2646
|
+
runs: z.ZodObject<{
|
|
2647
|
+
1: z.ZodNumber;
|
|
2648
|
+
7: z.ZodNumber;
|
|
2649
|
+
30: z.ZodNumber;
|
|
2650
|
+
90: z.ZodNumber;
|
|
2651
|
+
}, z.core.$strict>;
|
|
2652
|
+
title: z.ZodString;
|
|
2653
|
+
totalRuns: z.ZodNumber;
|
|
2654
|
+
events: z.ZodArray<z.ZodString>;
|
|
2655
|
+
kind: z.ZodLiteral<"event">;
|
|
2656
|
+
resource: z.ZodString;
|
|
2657
|
+
source: z.ZodString;
|
|
2658
|
+
triggerAvailable: z.ZodBoolean;
|
|
2659
|
+
}, z.core.$strict>], "kind">;
|
|
2660
|
+
/** One UTC day/hour of completed task executions stacked by task type. */
|
|
2661
|
+
declare const taskExecutionDaySchema: z.ZodObject<{
|
|
2662
|
+
costUsd: z.ZodNumber;
|
|
2663
|
+
date: z.ZodString;
|
|
2664
|
+
event: z.ZodNumber;
|
|
2665
|
+
scheduled: z.ZodNumber;
|
|
2666
|
+
}, z.core.$strict>;
|
|
2667
|
+
declare const taskListSchema: z.ZodObject<{
|
|
2668
|
+
executionDays: z.ZodArray<z.ZodObject<{
|
|
2669
|
+
costUsd: z.ZodNumber;
|
|
2670
|
+
date: z.ZodString;
|
|
2671
|
+
event: z.ZodNumber;
|
|
2672
|
+
scheduled: z.ZodNumber;
|
|
2673
|
+
}, z.core.$strict>>;
|
|
2674
|
+
executionHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2675
|
+
costUsd: z.ZodNumber;
|
|
2676
|
+
date: z.ZodString;
|
|
2677
|
+
event: z.ZodNumber;
|
|
2678
|
+
scheduled: z.ZodNumber;
|
|
2679
|
+
}, z.core.$strict>>>;
|
|
2680
|
+
executionSixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2681
|
+
costUsd: z.ZodNumber;
|
|
2682
|
+
date: z.ZodString;
|
|
2683
|
+
event: z.ZodNumber;
|
|
2684
|
+
scheduled: z.ZodNumber;
|
|
2685
|
+
}, z.core.$strict>>>;
|
|
2686
|
+
tasks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2687
|
+
createdAt: z.ZodString;
|
|
2688
|
+
createdBy: z.ZodString;
|
|
2689
|
+
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
2690
|
+
destination: z.ZodObject<{
|
|
2691
|
+
channelId: z.ZodString;
|
|
2692
|
+
label: z.ZodString;
|
|
2693
|
+
teamId: z.ZodString;
|
|
2694
|
+
visibility: z.ZodEnum<{
|
|
2695
|
+
private: "private";
|
|
2696
|
+
public: "public";
|
|
2697
|
+
}>;
|
|
2698
|
+
}, z.core.$strict>;
|
|
2699
|
+
id: z.ZodString;
|
|
2700
|
+
instruction: z.ZodString;
|
|
2701
|
+
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
2702
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
2703
|
+
ownedByViewer: z.ZodBoolean;
|
|
2704
|
+
runs: z.ZodObject<{
|
|
2705
|
+
1: z.ZodNumber;
|
|
2706
|
+
7: z.ZodNumber;
|
|
2707
|
+
30: z.ZodNumber;
|
|
2708
|
+
90: z.ZodNumber;
|
|
2709
|
+
}, z.core.$strict>;
|
|
2710
|
+
title: z.ZodString;
|
|
2711
|
+
totalRuns: z.ZodNumber;
|
|
2712
|
+
kind: z.ZodLiteral<"scheduled">;
|
|
2713
|
+
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
2714
|
+
schedule: z.ZodString;
|
|
2715
|
+
status: z.ZodEnum<{
|
|
2716
|
+
active: "active";
|
|
2717
|
+
completed: "completed";
|
|
2718
|
+
blocked: "blocked";
|
|
2719
|
+
}>;
|
|
2720
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2721
|
+
createdAt: z.ZodString;
|
|
2722
|
+
createdBy: z.ZodString;
|
|
2723
|
+
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
2724
|
+
destination: z.ZodObject<{
|
|
2725
|
+
channelId: z.ZodString;
|
|
2726
|
+
label: z.ZodString;
|
|
2727
|
+
teamId: z.ZodString;
|
|
2728
|
+
visibility: z.ZodEnum<{
|
|
2729
|
+
private: "private";
|
|
2730
|
+
public: "public";
|
|
2731
|
+
}>;
|
|
2732
|
+
}, z.core.$strict>;
|
|
2733
|
+
id: z.ZodString;
|
|
2734
|
+
instruction: z.ZodString;
|
|
2735
|
+
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
2736
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
2737
|
+
ownedByViewer: z.ZodBoolean;
|
|
2738
|
+
runs: z.ZodObject<{
|
|
2739
|
+
1: z.ZodNumber;
|
|
2740
|
+
7: z.ZodNumber;
|
|
2741
|
+
30: z.ZodNumber;
|
|
2742
|
+
90: z.ZodNumber;
|
|
2743
|
+
}, z.core.$strict>;
|
|
2744
|
+
title: z.ZodString;
|
|
2745
|
+
totalRuns: z.ZodNumber;
|
|
2746
|
+
events: z.ZodArray<z.ZodString>;
|
|
2747
|
+
kind: z.ZodLiteral<"event">;
|
|
2748
|
+
resource: z.ZodString;
|
|
2749
|
+
source: z.ZodString;
|
|
2750
|
+
triggerAvailable: z.ZodBoolean;
|
|
2751
|
+
}, z.core.$strict>], "kind">>;
|
|
2752
|
+
truncated: z.ZodBoolean;
|
|
2753
|
+
}, z.core.$strict>;
|
|
2754
|
+
declare const taskParamsSchema: z.ZodObject<{
|
|
2755
|
+
id: z.ZodString;
|
|
2756
|
+
kind: z.ZodEnum<{
|
|
2757
|
+
scheduled: "scheduled";
|
|
2758
|
+
event: "event";
|
|
2759
|
+
}>;
|
|
2760
|
+
}, z.core.$strict>;
|
|
2761
|
+
declare const taskExecutionStatusSchema: z.ZodEnum<{
|
|
2762
|
+
completed: "completed";
|
|
2763
|
+
failed: "failed";
|
|
2764
|
+
blocked: "blocked";
|
|
2765
|
+
}>;
|
|
2766
|
+
declare const taskExecutionSchema: z.ZodObject<{
|
|
2767
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
2768
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2769
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2770
|
+
executedAt: z.ZodString;
|
|
2771
|
+
executionId: z.ZodString;
|
|
2772
|
+
status: z.ZodEnum<{
|
|
2773
|
+
completed: "completed";
|
|
2774
|
+
failed: "failed";
|
|
2775
|
+
blocked: "blocked";
|
|
2776
|
+
}>;
|
|
2777
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2778
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
2779
|
+
}, z.core.$strict>;
|
|
2780
|
+
/** One UTC day/hour of terminal executions for a single task, stacked by status. */
|
|
2781
|
+
declare const taskExecutionStatusDaySchema: z.ZodObject<{
|
|
2782
|
+
blocked: z.ZodNumber;
|
|
2783
|
+
completed: z.ZodNumber;
|
|
2784
|
+
date: z.ZodString;
|
|
2785
|
+
failed: z.ZodNumber;
|
|
2786
|
+
}, z.core.$strict>;
|
|
2787
|
+
declare const taskExecutionListSchema: z.ZodObject<{
|
|
2788
|
+
executionDays: z.ZodArray<z.ZodObject<{
|
|
2789
|
+
blocked: z.ZodNumber;
|
|
2790
|
+
completed: z.ZodNumber;
|
|
2791
|
+
date: z.ZodString;
|
|
2792
|
+
failed: z.ZodNumber;
|
|
2793
|
+
}, z.core.$strict>>;
|
|
2794
|
+
executionHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2795
|
+
blocked: z.ZodNumber;
|
|
2796
|
+
completed: z.ZodNumber;
|
|
2797
|
+
date: z.ZodString;
|
|
2798
|
+
failed: z.ZodNumber;
|
|
2799
|
+
}, z.core.$strict>>>;
|
|
2800
|
+
executionSixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2801
|
+
blocked: z.ZodNumber;
|
|
2802
|
+
completed: z.ZodNumber;
|
|
2803
|
+
date: z.ZodString;
|
|
2804
|
+
failed: z.ZodNumber;
|
|
2805
|
+
}, z.core.$strict>>>;
|
|
2806
|
+
executions: z.ZodArray<z.ZodObject<{
|
|
2807
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
2808
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2809
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2810
|
+
executedAt: z.ZodString;
|
|
2811
|
+
executionId: z.ZodString;
|
|
2812
|
+
status: z.ZodEnum<{
|
|
2813
|
+
completed: "completed";
|
|
2814
|
+
failed: "failed";
|
|
2815
|
+
blocked: "blocked";
|
|
2816
|
+
}>;
|
|
2817
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2818
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
2819
|
+
}, z.core.$strict>>;
|
|
2820
|
+
task: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2821
|
+
createdAt: z.ZodString;
|
|
2822
|
+
createdBy: z.ZodString;
|
|
2823
|
+
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
2824
|
+
destination: z.ZodObject<{
|
|
2825
|
+
channelId: z.ZodString;
|
|
2826
|
+
label: z.ZodString;
|
|
2827
|
+
teamId: z.ZodString;
|
|
2828
|
+
visibility: z.ZodEnum<{
|
|
2829
|
+
private: "private";
|
|
2830
|
+
public: "public";
|
|
2831
|
+
}>;
|
|
2832
|
+
}, z.core.$strict>;
|
|
2833
|
+
id: z.ZodString;
|
|
2834
|
+
instruction: z.ZodString;
|
|
2835
|
+
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
2836
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
2837
|
+
ownedByViewer: z.ZodBoolean;
|
|
2838
|
+
runs: z.ZodObject<{
|
|
2839
|
+
1: z.ZodNumber;
|
|
2840
|
+
7: z.ZodNumber;
|
|
2841
|
+
30: z.ZodNumber;
|
|
2842
|
+
90: z.ZodNumber;
|
|
2843
|
+
}, z.core.$strict>;
|
|
2844
|
+
title: z.ZodString;
|
|
2845
|
+
totalRuns: z.ZodNumber;
|
|
2846
|
+
kind: z.ZodLiteral<"scheduled">;
|
|
2847
|
+
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
2848
|
+
schedule: z.ZodString;
|
|
2849
|
+
status: z.ZodEnum<{
|
|
2850
|
+
active: "active";
|
|
2851
|
+
completed: "completed";
|
|
2852
|
+
blocked: "blocked";
|
|
2853
|
+
}>;
|
|
2854
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2855
|
+
createdAt: z.ZodString;
|
|
2856
|
+
createdBy: z.ZodString;
|
|
2857
|
+
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
2858
|
+
destination: z.ZodObject<{
|
|
2859
|
+
channelId: z.ZodString;
|
|
2860
|
+
label: z.ZodString;
|
|
2861
|
+
teamId: z.ZodString;
|
|
2862
|
+
visibility: z.ZodEnum<{
|
|
2863
|
+
private: "private";
|
|
2864
|
+
public: "public";
|
|
2865
|
+
}>;
|
|
2866
|
+
}, z.core.$strict>;
|
|
2867
|
+
id: z.ZodString;
|
|
2868
|
+
instruction: z.ZodString;
|
|
2869
|
+
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
2870
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
2871
|
+
ownedByViewer: z.ZodBoolean;
|
|
2872
|
+
runs: z.ZodObject<{
|
|
2873
|
+
1: z.ZodNumber;
|
|
2874
|
+
7: z.ZodNumber;
|
|
2875
|
+
30: z.ZodNumber;
|
|
2876
|
+
90: z.ZodNumber;
|
|
2877
|
+
}, z.core.$strict>;
|
|
2878
|
+
title: z.ZodString;
|
|
2879
|
+
totalRuns: z.ZodNumber;
|
|
2880
|
+
events: z.ZodArray<z.ZodString>;
|
|
2881
|
+
kind: z.ZodLiteral<"event">;
|
|
2882
|
+
resource: z.ZodString;
|
|
2883
|
+
source: z.ZodString;
|
|
2884
|
+
triggerAvailable: z.ZodBoolean;
|
|
2885
|
+
}, z.core.$strict>], "kind">;
|
|
2886
|
+
truncated: z.ZodBoolean;
|
|
2887
|
+
}, z.core.$strict>;
|
|
2888
|
+
declare const taskRunSchema: z.ZodObject<{
|
|
2889
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
2890
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2891
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2892
|
+
executedAt: z.ZodString;
|
|
2893
|
+
executionId: z.ZodString;
|
|
2894
|
+
status: z.ZodEnum<{
|
|
2895
|
+
completed: "completed";
|
|
2896
|
+
failed: "failed";
|
|
2897
|
+
blocked: "blocked";
|
|
2898
|
+
}>;
|
|
2899
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2900
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
2901
|
+
kind: z.ZodEnum<{
|
|
2902
|
+
scheduled: "scheduled";
|
|
2903
|
+
event: "event";
|
|
2904
|
+
}>;
|
|
2905
|
+
taskId: z.ZodString;
|
|
2906
|
+
taskTitle: z.ZodString;
|
|
2907
|
+
}, z.core.$strict>;
|
|
2908
|
+
declare const taskRunListSchema: z.ZodObject<{
|
|
2909
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
2910
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
2911
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2912
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2913
|
+
executedAt: z.ZodString;
|
|
2914
|
+
executionId: z.ZodString;
|
|
2915
|
+
status: z.ZodEnum<{
|
|
2916
|
+
completed: "completed";
|
|
2917
|
+
failed: "failed";
|
|
2918
|
+
blocked: "blocked";
|
|
2919
|
+
}>;
|
|
2920
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2921
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
2922
|
+
kind: z.ZodEnum<{
|
|
2923
|
+
scheduled: "scheduled";
|
|
2924
|
+
event: "event";
|
|
2925
|
+
}>;
|
|
2926
|
+
taskId: z.ZodString;
|
|
2927
|
+
taskTitle: z.ZodString;
|
|
2928
|
+
}, z.core.$strict>>;
|
|
2929
|
+
truncated: z.ZodBoolean;
|
|
2930
|
+
}, z.core.$strict>;
|
|
2931
|
+
type TaskExecutionDay = z.output<typeof taskExecutionDaySchema>;
|
|
2932
|
+
type TaskExecutionStatusDay = z.output<typeof taskExecutionStatusDaySchema>;
|
|
2933
|
+
type TaskExecution = z.output<typeof taskExecutionSchema>;
|
|
2934
|
+
type TaskExecutionList = z.output<typeof taskExecutionListSchema>;
|
|
2935
|
+
type TaskRun = z.output<typeof taskRunSchema>;
|
|
2936
|
+
type TaskRunList = z.output<typeof taskRunListSchema>;
|
|
2937
|
+
type TaskRunWindows = z.output<typeof taskRunWindowsSchema>;
|
|
2938
|
+
type TaskSummary = z.output<typeof taskSummarySchema>;
|
|
2939
|
+
type TaskList = z.output<typeof taskListSchema>;
|
|
2940
|
+
|
|
2941
|
+
declare const statSchema: z.ZodObject<{
|
|
2942
|
+
count: z.ZodNumber;
|
|
2943
|
+
date: z.ZodString;
|
|
2944
|
+
metric: z.ZodString;
|
|
2945
|
+
name: z.ZodString;
|
|
2946
|
+
namespace: z.ZodString;
|
|
2947
|
+
}, z.core.$strict>;
|
|
2948
|
+
declare const statsReportSchema: z.ZodObject<{
|
|
2949
|
+
generatedAt: z.ZodString;
|
|
2950
|
+
stats: z.ZodArray<z.ZodObject<{
|
|
2951
|
+
count: z.ZodNumber;
|
|
2952
|
+
date: z.ZodString;
|
|
2953
|
+
metric: z.ZodString;
|
|
2954
|
+
name: z.ZodString;
|
|
2955
|
+
namespace: z.ZodString;
|
|
2956
|
+
}, z.core.$strict>>;
|
|
2957
|
+
windowEnd: z.ZodString;
|
|
2958
|
+
windowStart: z.ZodString;
|
|
2959
|
+
}, z.core.$strict>;
|
|
2960
|
+
type StatReport = z.infer<typeof statSchema>;
|
|
2961
|
+
type StatsReport = z.infer<typeof statsReportSchema>;
|
|
2962
|
+
|
|
2963
|
+
declare const healthReportSchema: z.ZodObject<{
|
|
2964
|
+
status: z.ZodLiteral<"ok">;
|
|
2965
|
+
service: z.ZodString;
|
|
2966
|
+
timestamp: z.ZodString;
|
|
2967
|
+
}, z.core.$strict>;
|
|
2968
|
+
declare const pluginSchema: z.ZodObject<{
|
|
2969
|
+
configKeys: z.ZodArray<z.ZodString>;
|
|
2970
|
+
description: z.ZodString;
|
|
2971
|
+
displayName: z.ZodString;
|
|
2972
|
+
name: z.ZodString;
|
|
2973
|
+
}, z.core.$strict>;
|
|
2974
|
+
declare const pluginsSchema: z.ZodArray<z.ZodObject<{
|
|
2975
|
+
configKeys: z.ZodArray<z.ZodString>;
|
|
2976
|
+
description: z.ZodString;
|
|
2977
|
+
displayName: z.ZodString;
|
|
2978
|
+
name: z.ZodString;
|
|
2979
|
+
}, z.core.$strict>>;
|
|
2980
|
+
declare const skillReportSchema: z.ZodObject<{
|
|
2981
|
+
name: z.ZodString;
|
|
2982
|
+
pluginProvider: z.ZodOptional<z.ZodString>;
|
|
2983
|
+
}, z.core.$strict>;
|
|
2984
|
+
declare const skillReportsSchema: z.ZodArray<z.ZodObject<{
|
|
2985
|
+
name: z.ZodString;
|
|
2986
|
+
pluginProvider: z.ZodOptional<z.ZodString>;
|
|
2987
|
+
}, z.core.$strict>>;
|
|
2988
|
+
declare const pluginPackageContentItemReportSchema: z.ZodObject<{
|
|
2989
|
+
dir: z.ZodString;
|
|
2990
|
+
hasMigrationsDir: z.ZodBoolean;
|
|
2991
|
+
hasSkillsDir: z.ZodBoolean;
|
|
2992
|
+
packageName: z.ZodString;
|
|
2993
|
+
}, z.core.$strict>;
|
|
2994
|
+
declare const pluginPackageContentReportSchema: z.ZodObject<{
|
|
2995
|
+
packageNames: z.ZodArray<z.ZodString>;
|
|
2996
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
2997
|
+
dir: z.ZodString;
|
|
2998
|
+
hasMigrationsDir: z.ZodBoolean;
|
|
2999
|
+
hasSkillsDir: z.ZodBoolean;
|
|
3000
|
+
packageName: z.ZodString;
|
|
3001
|
+
}, z.core.$strict>>;
|
|
3002
|
+
manifestRoots: z.ZodArray<z.ZodString>;
|
|
3003
|
+
skillRoots: z.ZodArray<z.ZodString>;
|
|
3004
|
+
tracingIncludes: z.ZodArray<z.ZodString>;
|
|
3005
|
+
}, z.core.$strict>;
|
|
3006
|
+
declare const runtimeInfoReportSchema: z.ZodObject<{
|
|
3007
|
+
cwd: z.ZodString;
|
|
3008
|
+
homeDir: z.ZodString;
|
|
3009
|
+
descriptionText: z.ZodOptional<z.ZodString>;
|
|
3010
|
+
providers: z.ZodArray<z.ZodString>;
|
|
3011
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
3012
|
+
name: z.ZodString;
|
|
3013
|
+
pluginProvider: z.ZodOptional<z.ZodString>;
|
|
3014
|
+
}, z.core.$strict>>;
|
|
3015
|
+
packagedContent: z.ZodObject<{
|
|
3016
|
+
packageNames: z.ZodArray<z.ZodString>;
|
|
3017
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
3018
|
+
dir: z.ZodString;
|
|
3019
|
+
hasMigrationsDir: z.ZodBoolean;
|
|
3020
|
+
hasSkillsDir: z.ZodBoolean;
|
|
3021
|
+
packageName: z.ZodString;
|
|
3022
|
+
}, z.core.$strict>>;
|
|
3023
|
+
manifestRoots: z.ZodArray<z.ZodString>;
|
|
3024
|
+
skillRoots: z.ZodArray<z.ZodString>;
|
|
3025
|
+
tracingIncludes: z.ZodArray<z.ZodString>;
|
|
3026
|
+
}, z.core.$strict>;
|
|
3027
|
+
}, z.core.$strict>;
|
|
3028
|
+
declare const pluginOperationalReportSchema: z.ZodObject<{
|
|
3029
|
+
generatedAt: z.ZodOptional<z.ZodString>;
|
|
3030
|
+
metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3031
|
+
label: z.ZodString;
|
|
3032
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
3033
|
+
warning: "warning";
|
|
3034
|
+
danger: "danger";
|
|
3035
|
+
good: "good";
|
|
3036
|
+
neutral: "neutral";
|
|
3037
|
+
}>>;
|
|
3038
|
+
value: z.ZodString;
|
|
3039
|
+
}, z.core.$strict>>>;
|
|
3040
|
+
recordSets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3041
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3042
|
+
key: z.ZodString;
|
|
3043
|
+
label: z.ZodString;
|
|
3044
|
+
}, z.core.$strict>>>;
|
|
3045
|
+
emptyText: z.ZodOptional<z.ZodString>;
|
|
3046
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3047
|
+
id: z.ZodString;
|
|
3048
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
3049
|
+
warning: "warning";
|
|
3050
|
+
danger: "danger";
|
|
3051
|
+
good: "good";
|
|
3052
|
+
neutral: "neutral";
|
|
3053
|
+
}>>;
|
|
3054
|
+
values: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3055
|
+
}, z.core.$strict>>>;
|
|
3056
|
+
title: z.ZodString;
|
|
3057
|
+
}, z.core.$strict>>>;
|
|
3058
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3059
|
+
pluginName: z.ZodString;
|
|
3060
|
+
widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3061
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
3062
|
+
id: z.ZodString;
|
|
3063
|
+
label: z.ZodString;
|
|
3064
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
3065
|
+
}, z.core.$strict>>;
|
|
3066
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3067
|
+
emptyText: z.ZodOptional<z.ZodString>;
|
|
3068
|
+
id: z.ZodString;
|
|
3069
|
+
series: z.ZodArray<z.ZodObject<{
|
|
3070
|
+
format: z.ZodOptional<z.ZodLiteral<"usd">>;
|
|
3071
|
+
key: z.ZodString;
|
|
3072
|
+
label: z.ZodString;
|
|
3073
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
3074
|
+
warning: "warning";
|
|
3075
|
+
danger: "danger";
|
|
3076
|
+
good: "good";
|
|
3077
|
+
neutral: "neutral";
|
|
3078
|
+
}>>;
|
|
3079
|
+
}, z.core.$strict>>;
|
|
3080
|
+
timeRangeDays: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>>>;
|
|
3081
|
+
title: z.ZodString;
|
|
3082
|
+
type: z.ZodLiteral<"bar_chart">;
|
|
3083
|
+
}, z.core.$strict>>>;
|
|
3084
|
+
}, z.core.$strict>;
|
|
3085
|
+
declare const pluginOperationalReportFeedSchema: z.ZodObject<{
|
|
3086
|
+
generatedAt: z.ZodString;
|
|
3087
|
+
reports: z.ZodArray<z.ZodObject<{
|
|
3088
|
+
generatedAt: z.ZodOptional<z.ZodString>;
|
|
3089
|
+
metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3090
|
+
label: z.ZodString;
|
|
3091
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
3092
|
+
warning: "warning";
|
|
3093
|
+
danger: "danger";
|
|
3094
|
+
good: "good";
|
|
3095
|
+
neutral: "neutral";
|
|
3096
|
+
}>>;
|
|
3097
|
+
value: z.ZodString;
|
|
3098
|
+
}, z.core.$strict>>>;
|
|
3099
|
+
recordSets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3100
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3101
|
+
key: z.ZodString;
|
|
3102
|
+
label: z.ZodString;
|
|
3103
|
+
}, z.core.$strict>>>;
|
|
3104
|
+
emptyText: z.ZodOptional<z.ZodString>;
|
|
3105
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3106
|
+
id: z.ZodString;
|
|
3107
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
3108
|
+
warning: "warning";
|
|
3109
|
+
danger: "danger";
|
|
3110
|
+
good: "good";
|
|
3111
|
+
neutral: "neutral";
|
|
3112
|
+
}>>;
|
|
3113
|
+
values: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3114
|
+
}, z.core.$strict>>>;
|
|
3115
|
+
title: z.ZodString;
|
|
3116
|
+
}, z.core.$strict>>>;
|
|
3117
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3118
|
+
pluginName: z.ZodString;
|
|
3119
|
+
widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3120
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
3121
|
+
id: z.ZodString;
|
|
3122
|
+
label: z.ZodString;
|
|
3123
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
3124
|
+
}, z.core.$strict>>;
|
|
3125
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3126
|
+
emptyText: z.ZodOptional<z.ZodString>;
|
|
3127
|
+
id: z.ZodString;
|
|
3128
|
+
series: z.ZodArray<z.ZodObject<{
|
|
3129
|
+
format: z.ZodOptional<z.ZodLiteral<"usd">>;
|
|
3130
|
+
key: z.ZodString;
|
|
3131
|
+
label: z.ZodString;
|
|
3132
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
3133
|
+
warning: "warning";
|
|
3134
|
+
danger: "danger";
|
|
3135
|
+
good: "good";
|
|
3136
|
+
neutral: "neutral";
|
|
3137
|
+
}>>;
|
|
3138
|
+
}, z.core.$strict>>;
|
|
3139
|
+
timeRangeDays: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>>>;
|
|
3140
|
+
title: z.ZodString;
|
|
3141
|
+
type: z.ZodLiteral<"bar_chart">;
|
|
3142
|
+
}, z.core.$strict>>>;
|
|
3143
|
+
}, z.core.$strict>>;
|
|
3144
|
+
source: z.ZodLiteral<"plugins">;
|
|
3145
|
+
}, z.core.$strict>;
|
|
3146
|
+
type HealthReport = z.infer<typeof healthReportSchema>;
|
|
3147
|
+
type Plugin = z.infer<typeof pluginSchema>;
|
|
3148
|
+
type Plugins = z.infer<typeof pluginsSchema>;
|
|
3149
|
+
type SkillReport = z.infer<typeof skillReportSchema>;
|
|
3150
|
+
type SkillReports = z.infer<typeof skillReportsSchema>;
|
|
3151
|
+
type RuntimeInfoReport = z.infer<typeof runtimeInfoReportSchema>;
|
|
3152
|
+
type PluginPackageContentItemReport = z.infer<typeof pluginPackageContentItemReportSchema>;
|
|
3153
|
+
type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchema>;
|
|
3154
|
+
type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
|
|
3155
|
+
type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
|
|
3156
|
+
|
|
3157
|
+
export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositorySummary, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type TaskExecution, type TaskExecutionDay, type TaskExecutionList, type TaskExecutionStatusDay, type TaskList, type TaskRun, type TaskRunList, type TaskRunWindows, type TaskSummary, type WorkspaceReport, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositorySummarySchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, eventTaskSummarySchema, healthReportSchema, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledTaskSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, taskExecutionListSchema, taskExecutionSchema, taskExecutionStatusDaySchema, taskExecutionStatusSchema, taskListSchema, taskParamsSchema, taskRunListSchema, taskRunSchema, taskRunWindowsSchema, taskSummarySchema, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|