@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
|
@@ -1,505 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { AGENT_INVOCATION_STATUSES } from "@/db/schema/agent-invocations";
|
|
3
|
-
export declare const agentNameSchema: z.ZodString;
|
|
4
|
-
export declare const agentBindingSchema: z.ZodObject<{
|
|
5
|
-
childConversationId: z.ZodString;
|
|
6
|
-
name: z.ZodString;
|
|
7
|
-
parentConversationId: z.ZodString;
|
|
8
|
-
}, z.core.$strict>;
|
|
9
|
-
export declare const agentInvocationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10
|
-
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11
|
-
platform: z.ZodLiteral<"slack">;
|
|
12
|
-
teamId: z.ZodString;
|
|
13
|
-
email: z.ZodOptional<z.ZodString>;
|
|
14
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
15
|
-
userId: z.ZodString;
|
|
16
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
17
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
18
|
-
platform: z.ZodLiteral<"local">;
|
|
19
|
-
email: z.ZodOptional<z.ZodString>;
|
|
20
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
21
|
-
userId: z.ZodString;
|
|
22
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
23
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
24
|
-
platform: z.ZodLiteral<"web">;
|
|
25
|
-
email: z.ZodOptional<z.ZodString>;
|
|
26
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
27
|
-
userId: z.ZodString;
|
|
28
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
29
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
30
|
-
platform: z.ZodLiteral<"system">;
|
|
31
|
-
name: z.ZodString;
|
|
32
|
-
}, z.core.$strict>], "platform">;
|
|
33
|
-
agentName: z.ZodOptional<z.ZodString>;
|
|
34
|
-
childConversationId: z.ZodString;
|
|
35
|
-
createdAtMs: z.ZodNumber;
|
|
36
|
-
credentialContext: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
37
|
-
actor: z.ZodObject<{
|
|
38
|
-
type: z.ZodLiteral<"user">;
|
|
39
|
-
userId: z.ZodString;
|
|
40
|
-
}, z.core.$strict>;
|
|
41
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
42
|
-
actor: z.ZodObject<{
|
|
43
|
-
platform: z.ZodLiteral<"system">;
|
|
44
|
-
name: z.ZodString;
|
|
45
|
-
}, z.core.$strict>;
|
|
46
|
-
subject: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
47
|
-
type: z.ZodLiteral<"user">;
|
|
48
|
-
userId: z.ZodString;
|
|
49
|
-
allowedWhen: z.ZodLiteral<"private-direct-conversation">;
|
|
50
|
-
binding: z.ZodObject<{
|
|
51
|
-
type: z.ZodLiteral<"slack-direct-conversation">;
|
|
52
|
-
teamId: z.ZodString;
|
|
53
|
-
channelId: z.ZodString;
|
|
54
|
-
signature: z.ZodString;
|
|
55
|
-
}, z.core.$strict>;
|
|
56
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
57
|
-
type: z.ZodLiteral<"user">;
|
|
58
|
-
userId: z.ZodString;
|
|
59
|
-
allowedWhen: z.ZodLiteral<"scheduled-task">;
|
|
60
|
-
taskId: z.ZodString;
|
|
61
|
-
binding: z.ZodObject<{
|
|
62
|
-
type: z.ZodLiteral<"scheduled-task">;
|
|
63
|
-
plugin: z.ZodString;
|
|
64
|
-
taskId: z.ZodString;
|
|
65
|
-
signature: z.ZodString;
|
|
66
|
-
}, z.core.$strict>;
|
|
67
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
68
|
-
type: z.ZodLiteral<"user">;
|
|
69
|
-
userId: z.ZodString;
|
|
70
|
-
allowedWhen: z.ZodLiteral<"event-task">;
|
|
71
|
-
taskId: z.ZodString;
|
|
72
|
-
binding: z.ZodObject<{
|
|
73
|
-
type: z.ZodLiteral<"event-task">;
|
|
74
|
-
plugin: z.ZodString;
|
|
75
|
-
taskId: z.ZodString;
|
|
76
|
-
signature: z.ZodString;
|
|
77
|
-
}, z.core.$strict>;
|
|
78
|
-
}, z.core.$strict>], "allowedWhen">>;
|
|
79
|
-
}, z.core.$strict>]>>;
|
|
80
|
-
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
81
|
-
platform: z.ZodLiteral<"slack">;
|
|
82
|
-
teamId: z.ZodString;
|
|
83
|
-
channelId: z.ZodString;
|
|
84
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
85
|
-
platform: z.ZodLiteral<"local">;
|
|
86
|
-
conversationId: z.ZodString;
|
|
87
|
-
}, z.core.$strict>], "platform">;
|
|
88
|
-
input: z.ZodString;
|
|
89
|
-
invocationId: z.ZodString;
|
|
90
|
-
mailboxStatus: z.ZodEnum<{
|
|
91
|
-
pending: "pending";
|
|
92
|
-
appended: "appended";
|
|
93
|
-
}>;
|
|
94
|
-
parentConversationId: z.ZodString;
|
|
95
|
-
reasoningLevel: z.ZodOptional<z.ZodEnum<{
|
|
96
|
-
low: "low";
|
|
97
|
-
medium: "medium";
|
|
98
|
-
high: "high";
|
|
99
|
-
xhigh: "xhigh";
|
|
100
|
-
none: "none";
|
|
101
|
-
}>>;
|
|
102
|
-
source: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
103
|
-
kind: z.ZodLiteral<"slack">;
|
|
104
|
-
teamId: z.ZodString;
|
|
105
|
-
channelId: z.ZodString;
|
|
106
|
-
visibility: z.ZodEnum<{
|
|
107
|
-
private: "private";
|
|
108
|
-
public: "public";
|
|
109
|
-
}>;
|
|
110
|
-
messageTs: z.ZodOptional<z.ZodString>;
|
|
111
|
-
threadTs: z.ZodOptional<z.ZodString>;
|
|
112
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
113
|
-
kind: z.ZodLiteral<"local">;
|
|
114
|
-
visibility: z.ZodLiteral<"private">;
|
|
115
|
-
conversationId: z.ZodString;
|
|
116
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
117
|
-
kind: z.ZodLiteral<"web">;
|
|
118
|
-
visibility: z.ZodEnum<{
|
|
119
|
-
private: "private";
|
|
120
|
-
public: "public";
|
|
121
|
-
}>;
|
|
122
|
-
conversationId: z.ZodString;
|
|
123
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
124
|
-
kind: z.ZodLiteral<"resource_event">;
|
|
125
|
-
eventKey: z.ZodString;
|
|
126
|
-
eventType: z.ZodString;
|
|
127
|
-
identifier: z.ZodString;
|
|
128
|
-
namespace: z.ZodString;
|
|
129
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
130
|
-
kind: z.ZodLiteral<"scheduled_task">;
|
|
131
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
132
|
-
kind: z.ZodLiteral<"event_task">;
|
|
133
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
134
|
-
kind: z.ZodLiteral<"plugin_dispatch">;
|
|
135
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
136
|
-
kind: z.ZodLiteral<"agent_invocation">;
|
|
137
|
-
}, z.core.$strict>], "kind">, unknown>;
|
|
138
|
-
updatedAtMs: z.ZodNumber;
|
|
139
|
-
status: z.ZodEnum<{
|
|
140
|
-
pending: "pending";
|
|
141
|
-
running: "running";
|
|
142
|
-
awaiting_resume: "awaiting_resume";
|
|
143
|
-
}>;
|
|
144
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
145
|
-
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
146
|
-
platform: z.ZodLiteral<"slack">;
|
|
147
|
-
teamId: z.ZodString;
|
|
148
|
-
email: z.ZodOptional<z.ZodString>;
|
|
149
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
150
|
-
userId: z.ZodString;
|
|
151
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
152
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
153
|
-
platform: z.ZodLiteral<"local">;
|
|
154
|
-
email: z.ZodOptional<z.ZodString>;
|
|
155
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
156
|
-
userId: z.ZodString;
|
|
157
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
158
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
159
|
-
platform: z.ZodLiteral<"web">;
|
|
160
|
-
email: z.ZodOptional<z.ZodString>;
|
|
161
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
162
|
-
userId: z.ZodString;
|
|
163
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
164
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
165
|
-
platform: z.ZodLiteral<"system">;
|
|
166
|
-
name: z.ZodString;
|
|
167
|
-
}, z.core.$strict>], "platform">;
|
|
168
|
-
agentName: z.ZodOptional<z.ZodString>;
|
|
169
|
-
childConversationId: z.ZodString;
|
|
170
|
-
createdAtMs: z.ZodNumber;
|
|
171
|
-
credentialContext: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
172
|
-
actor: z.ZodObject<{
|
|
173
|
-
type: z.ZodLiteral<"user">;
|
|
174
|
-
userId: z.ZodString;
|
|
175
|
-
}, z.core.$strict>;
|
|
176
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
177
|
-
actor: z.ZodObject<{
|
|
178
|
-
platform: z.ZodLiteral<"system">;
|
|
179
|
-
name: z.ZodString;
|
|
180
|
-
}, z.core.$strict>;
|
|
181
|
-
subject: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
182
|
-
type: z.ZodLiteral<"user">;
|
|
183
|
-
userId: z.ZodString;
|
|
184
|
-
allowedWhen: z.ZodLiteral<"private-direct-conversation">;
|
|
185
|
-
binding: z.ZodObject<{
|
|
186
|
-
type: z.ZodLiteral<"slack-direct-conversation">;
|
|
187
|
-
teamId: z.ZodString;
|
|
188
|
-
channelId: z.ZodString;
|
|
189
|
-
signature: z.ZodString;
|
|
190
|
-
}, z.core.$strict>;
|
|
191
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
192
|
-
type: z.ZodLiteral<"user">;
|
|
193
|
-
userId: z.ZodString;
|
|
194
|
-
allowedWhen: z.ZodLiteral<"scheduled-task">;
|
|
195
|
-
taskId: z.ZodString;
|
|
196
|
-
binding: z.ZodObject<{
|
|
197
|
-
type: z.ZodLiteral<"scheduled-task">;
|
|
198
|
-
plugin: z.ZodString;
|
|
199
|
-
taskId: z.ZodString;
|
|
200
|
-
signature: z.ZodString;
|
|
201
|
-
}, z.core.$strict>;
|
|
202
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
203
|
-
type: z.ZodLiteral<"user">;
|
|
204
|
-
userId: z.ZodString;
|
|
205
|
-
allowedWhen: z.ZodLiteral<"event-task">;
|
|
206
|
-
taskId: z.ZodString;
|
|
207
|
-
binding: z.ZodObject<{
|
|
208
|
-
type: z.ZodLiteral<"event-task">;
|
|
209
|
-
plugin: z.ZodString;
|
|
210
|
-
taskId: z.ZodString;
|
|
211
|
-
signature: z.ZodString;
|
|
212
|
-
}, z.core.$strict>;
|
|
213
|
-
}, z.core.$strict>], "allowedWhen">>;
|
|
214
|
-
}, z.core.$strict>]>>;
|
|
215
|
-
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
216
|
-
platform: z.ZodLiteral<"slack">;
|
|
217
|
-
teamId: z.ZodString;
|
|
218
|
-
channelId: z.ZodString;
|
|
219
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
220
|
-
platform: z.ZodLiteral<"local">;
|
|
221
|
-
conversationId: z.ZodString;
|
|
222
|
-
}, z.core.$strict>], "platform">;
|
|
223
|
-
input: z.ZodString;
|
|
224
|
-
invocationId: z.ZodString;
|
|
225
|
-
mailboxStatus: z.ZodEnum<{
|
|
226
|
-
pending: "pending";
|
|
227
|
-
appended: "appended";
|
|
228
|
-
}>;
|
|
229
|
-
parentConversationId: z.ZodString;
|
|
230
|
-
reasoningLevel: z.ZodOptional<z.ZodEnum<{
|
|
231
|
-
low: "low";
|
|
232
|
-
medium: "medium";
|
|
233
|
-
high: "high";
|
|
234
|
-
xhigh: "xhigh";
|
|
235
|
-
none: "none";
|
|
236
|
-
}>>;
|
|
237
|
-
source: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
238
|
-
kind: z.ZodLiteral<"slack">;
|
|
239
|
-
teamId: z.ZodString;
|
|
240
|
-
channelId: z.ZodString;
|
|
241
|
-
visibility: z.ZodEnum<{
|
|
242
|
-
private: "private";
|
|
243
|
-
public: "public";
|
|
244
|
-
}>;
|
|
245
|
-
messageTs: z.ZodOptional<z.ZodString>;
|
|
246
|
-
threadTs: z.ZodOptional<z.ZodString>;
|
|
247
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
248
|
-
kind: z.ZodLiteral<"local">;
|
|
249
|
-
visibility: z.ZodLiteral<"private">;
|
|
250
|
-
conversationId: z.ZodString;
|
|
251
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
252
|
-
kind: z.ZodLiteral<"web">;
|
|
253
|
-
visibility: z.ZodEnum<{
|
|
254
|
-
private: "private";
|
|
255
|
-
public: "public";
|
|
256
|
-
}>;
|
|
257
|
-
conversationId: z.ZodString;
|
|
258
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
259
|
-
kind: z.ZodLiteral<"resource_event">;
|
|
260
|
-
eventKey: z.ZodString;
|
|
261
|
-
eventType: z.ZodString;
|
|
262
|
-
identifier: z.ZodString;
|
|
263
|
-
namespace: z.ZodString;
|
|
264
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
265
|
-
kind: z.ZodLiteral<"scheduled_task">;
|
|
266
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
267
|
-
kind: z.ZodLiteral<"event_task">;
|
|
268
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
269
|
-
kind: z.ZodLiteral<"plugin_dispatch">;
|
|
270
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
271
|
-
kind: z.ZodLiteral<"agent_invocation">;
|
|
272
|
-
}, z.core.$strict>], "kind">, unknown>;
|
|
273
|
-
updatedAtMs: z.ZodNumber;
|
|
274
|
-
result: z.ZodString;
|
|
275
|
-
status: z.ZodLiteral<"completed">;
|
|
276
|
-
terminalAtMs: z.ZodNumber;
|
|
277
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
278
|
-
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
279
|
-
platform: z.ZodLiteral<"slack">;
|
|
280
|
-
teamId: z.ZodString;
|
|
281
|
-
email: z.ZodOptional<z.ZodString>;
|
|
282
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
283
|
-
userId: z.ZodString;
|
|
284
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
285
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
286
|
-
platform: z.ZodLiteral<"local">;
|
|
287
|
-
email: z.ZodOptional<z.ZodString>;
|
|
288
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
289
|
-
userId: z.ZodString;
|
|
290
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
291
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
292
|
-
platform: z.ZodLiteral<"web">;
|
|
293
|
-
email: z.ZodOptional<z.ZodString>;
|
|
294
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
295
|
-
userId: z.ZodString;
|
|
296
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
297
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
298
|
-
platform: z.ZodLiteral<"system">;
|
|
299
|
-
name: z.ZodString;
|
|
300
|
-
}, z.core.$strict>], "platform">;
|
|
301
|
-
agentName: z.ZodOptional<z.ZodString>;
|
|
302
|
-
childConversationId: z.ZodString;
|
|
303
|
-
createdAtMs: z.ZodNumber;
|
|
304
|
-
credentialContext: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
305
|
-
actor: z.ZodObject<{
|
|
306
|
-
type: z.ZodLiteral<"user">;
|
|
307
|
-
userId: z.ZodString;
|
|
308
|
-
}, z.core.$strict>;
|
|
309
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
310
|
-
actor: z.ZodObject<{
|
|
311
|
-
platform: z.ZodLiteral<"system">;
|
|
312
|
-
name: z.ZodString;
|
|
313
|
-
}, z.core.$strict>;
|
|
314
|
-
subject: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
315
|
-
type: z.ZodLiteral<"user">;
|
|
316
|
-
userId: z.ZodString;
|
|
317
|
-
allowedWhen: z.ZodLiteral<"private-direct-conversation">;
|
|
318
|
-
binding: z.ZodObject<{
|
|
319
|
-
type: z.ZodLiteral<"slack-direct-conversation">;
|
|
320
|
-
teamId: z.ZodString;
|
|
321
|
-
channelId: z.ZodString;
|
|
322
|
-
signature: z.ZodString;
|
|
323
|
-
}, z.core.$strict>;
|
|
324
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
325
|
-
type: z.ZodLiteral<"user">;
|
|
326
|
-
userId: z.ZodString;
|
|
327
|
-
allowedWhen: z.ZodLiteral<"scheduled-task">;
|
|
328
|
-
taskId: z.ZodString;
|
|
329
|
-
binding: z.ZodObject<{
|
|
330
|
-
type: z.ZodLiteral<"scheduled-task">;
|
|
331
|
-
plugin: z.ZodString;
|
|
332
|
-
taskId: z.ZodString;
|
|
333
|
-
signature: z.ZodString;
|
|
334
|
-
}, z.core.$strict>;
|
|
335
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
336
|
-
type: z.ZodLiteral<"user">;
|
|
337
|
-
userId: z.ZodString;
|
|
338
|
-
allowedWhen: z.ZodLiteral<"event-task">;
|
|
339
|
-
taskId: z.ZodString;
|
|
340
|
-
binding: z.ZodObject<{
|
|
341
|
-
type: z.ZodLiteral<"event-task">;
|
|
342
|
-
plugin: z.ZodString;
|
|
343
|
-
taskId: z.ZodString;
|
|
344
|
-
signature: z.ZodString;
|
|
345
|
-
}, z.core.$strict>;
|
|
346
|
-
}, z.core.$strict>], "allowedWhen">>;
|
|
347
|
-
}, z.core.$strict>]>>;
|
|
348
|
-
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
349
|
-
platform: z.ZodLiteral<"slack">;
|
|
350
|
-
teamId: z.ZodString;
|
|
351
|
-
channelId: z.ZodString;
|
|
352
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
353
|
-
platform: z.ZodLiteral<"local">;
|
|
354
|
-
conversationId: z.ZodString;
|
|
355
|
-
}, z.core.$strict>], "platform">;
|
|
356
|
-
input: z.ZodString;
|
|
357
|
-
invocationId: z.ZodString;
|
|
358
|
-
mailboxStatus: z.ZodEnum<{
|
|
359
|
-
pending: "pending";
|
|
360
|
-
appended: "appended";
|
|
361
|
-
}>;
|
|
362
|
-
parentConversationId: z.ZodString;
|
|
363
|
-
reasoningLevel: z.ZodOptional<z.ZodEnum<{
|
|
364
|
-
low: "low";
|
|
365
|
-
medium: "medium";
|
|
366
|
-
high: "high";
|
|
367
|
-
xhigh: "xhigh";
|
|
368
|
-
none: "none";
|
|
369
|
-
}>>;
|
|
370
|
-
source: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
371
|
-
kind: z.ZodLiteral<"slack">;
|
|
372
|
-
teamId: z.ZodString;
|
|
373
|
-
channelId: z.ZodString;
|
|
374
|
-
visibility: z.ZodEnum<{
|
|
375
|
-
private: "private";
|
|
376
|
-
public: "public";
|
|
377
|
-
}>;
|
|
378
|
-
messageTs: z.ZodOptional<z.ZodString>;
|
|
379
|
-
threadTs: z.ZodOptional<z.ZodString>;
|
|
380
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
381
|
-
kind: z.ZodLiteral<"local">;
|
|
382
|
-
visibility: z.ZodLiteral<"private">;
|
|
383
|
-
conversationId: z.ZodString;
|
|
384
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
385
|
-
kind: z.ZodLiteral<"web">;
|
|
386
|
-
visibility: z.ZodEnum<{
|
|
387
|
-
private: "private";
|
|
388
|
-
public: "public";
|
|
389
|
-
}>;
|
|
390
|
-
conversationId: z.ZodString;
|
|
391
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
392
|
-
kind: z.ZodLiteral<"resource_event">;
|
|
393
|
-
eventKey: z.ZodString;
|
|
394
|
-
eventType: z.ZodString;
|
|
395
|
-
identifier: z.ZodString;
|
|
396
|
-
namespace: z.ZodString;
|
|
397
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
398
|
-
kind: z.ZodLiteral<"scheduled_task">;
|
|
399
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
400
|
-
kind: z.ZodLiteral<"event_task">;
|
|
401
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
402
|
-
kind: z.ZodLiteral<"plugin_dispatch">;
|
|
403
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
404
|
-
kind: z.ZodLiteral<"agent_invocation">;
|
|
405
|
-
}, z.core.$strict>], "kind">, unknown>;
|
|
406
|
-
updatedAtMs: z.ZodNumber;
|
|
407
|
-
errorMessage: z.ZodString;
|
|
408
|
-
status: z.ZodEnum<{
|
|
409
|
-
failed: "failed";
|
|
410
|
-
blocked: "blocked";
|
|
411
|
-
}>;
|
|
412
|
-
terminalAtMs: z.ZodNumber;
|
|
413
|
-
}, z.core.$strict>], "status">;
|
|
414
|
-
export declare const createAgentInvocationSchema: z.ZodObject<{
|
|
415
|
-
actor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
416
|
-
platform: z.ZodLiteral<"slack">;
|
|
417
|
-
teamId: z.ZodString;
|
|
418
|
-
email: z.ZodOptional<z.ZodString>;
|
|
419
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
420
|
-
userId: z.ZodString;
|
|
421
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
422
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
423
|
-
platform: z.ZodLiteral<"local">;
|
|
424
|
-
email: z.ZodOptional<z.ZodString>;
|
|
425
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
426
|
-
userId: z.ZodString;
|
|
427
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
428
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
429
|
-
platform: z.ZodLiteral<"web">;
|
|
430
|
-
email: z.ZodOptional<z.ZodString>;
|
|
431
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
432
|
-
userId: z.ZodString;
|
|
433
|
-
userName: z.ZodOptional<z.ZodString>;
|
|
434
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
435
|
-
platform: z.ZodLiteral<"system">;
|
|
436
|
-
name: z.ZodString;
|
|
437
|
-
}, z.core.$strict>], "platform">;
|
|
438
|
-
agentName: z.ZodOptional<z.ZodString>;
|
|
439
|
-
credentialContext: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
440
|
-
actor: z.ZodObject<{
|
|
441
|
-
type: z.ZodLiteral<"user">;
|
|
442
|
-
userId: z.ZodString;
|
|
443
|
-
}, z.core.$strict>;
|
|
444
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
445
|
-
actor: z.ZodObject<{
|
|
446
|
-
platform: z.ZodLiteral<"system">;
|
|
447
|
-
name: z.ZodString;
|
|
448
|
-
}, z.core.$strict>;
|
|
449
|
-
subject: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
450
|
-
type: z.ZodLiteral<"user">;
|
|
451
|
-
userId: z.ZodString;
|
|
452
|
-
allowedWhen: z.ZodLiteral<"private-direct-conversation">;
|
|
453
|
-
binding: z.ZodObject<{
|
|
454
|
-
type: z.ZodLiteral<"slack-direct-conversation">;
|
|
455
|
-
teamId: z.ZodString;
|
|
456
|
-
channelId: z.ZodString;
|
|
457
|
-
signature: z.ZodString;
|
|
458
|
-
}, z.core.$strict>;
|
|
459
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
460
|
-
type: z.ZodLiteral<"user">;
|
|
461
|
-
userId: z.ZodString;
|
|
462
|
-
allowedWhen: z.ZodLiteral<"scheduled-task">;
|
|
463
|
-
taskId: z.ZodString;
|
|
464
|
-
binding: z.ZodObject<{
|
|
465
|
-
type: z.ZodLiteral<"scheduled-task">;
|
|
466
|
-
plugin: z.ZodString;
|
|
467
|
-
taskId: z.ZodString;
|
|
468
|
-
signature: z.ZodString;
|
|
469
|
-
}, z.core.$strict>;
|
|
470
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
471
|
-
type: z.ZodLiteral<"user">;
|
|
472
|
-
userId: z.ZodString;
|
|
473
|
-
allowedWhen: z.ZodLiteral<"event-task">;
|
|
474
|
-
taskId: z.ZodString;
|
|
475
|
-
binding: z.ZodObject<{
|
|
476
|
-
type: z.ZodLiteral<"event-task">;
|
|
477
|
-
plugin: z.ZodString;
|
|
478
|
-
taskId: z.ZodString;
|
|
479
|
-
signature: z.ZodString;
|
|
480
|
-
}, z.core.$strict>;
|
|
481
|
-
}, z.core.$strict>], "allowedWhen">>;
|
|
482
|
-
}, z.core.$strict>]>>;
|
|
483
|
-
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
484
|
-
platform: z.ZodLiteral<"slack">;
|
|
485
|
-
teamId: z.ZodString;
|
|
486
|
-
channelId: z.ZodString;
|
|
487
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
488
|
-
platform: z.ZodLiteral<"local">;
|
|
489
|
-
conversationId: z.ZodString;
|
|
490
|
-
}, z.core.$strict>], "platform">;
|
|
491
|
-
idempotencyKey: z.ZodString;
|
|
492
|
-
input: z.ZodString;
|
|
493
|
-
parentConversationId: z.ZodString;
|
|
494
|
-
reasoningLevel: z.ZodOptional<z.ZodEnum<{
|
|
495
|
-
low: "low";
|
|
496
|
-
medium: "medium";
|
|
497
|
-
high: "high";
|
|
498
|
-
xhigh: "xhigh";
|
|
499
|
-
none: "none";
|
|
500
|
-
}>>;
|
|
501
|
-
}, z.core.$strict>;
|
|
502
|
-
export type AgentBinding = z.output<typeof agentBindingSchema>;
|
|
503
|
-
export type AgentInvocation = z.output<typeof agentInvocationSchema>;
|
|
504
|
-
export type AgentInvocationStatus = (typeof AGENT_INVOCATION_STATUSES)[number];
|
|
505
|
-
export type CreateAgentInvocationInput = z.input<typeof createAgentInvocationSchema>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { StateAdapter } from "chat";
|
|
2
|
-
import type { ConversationStore } from "@/chat/conversations/store";
|
|
3
|
-
import type { AgentRunner } from "@/chat/runtime/agent-runner";
|
|
4
|
-
import { type InboundMessage } from "@/chat/task-execution/store";
|
|
5
|
-
import type { ConversationWorkQueue } from "@/chat/task-execution/queue";
|
|
6
|
-
import type { ConversationWorkerContext, ConversationWorkerResult } from "@/chat/task-execution/worker";
|
|
7
|
-
import type { AgentInvocation, CreateAgentInvocationInput } from "./types";
|
|
8
|
-
type EnqueueOptions = {
|
|
9
|
-
conversationStore?: ConversationStore;
|
|
10
|
-
nowMs?: number;
|
|
11
|
-
queue: ConversationWorkQueue;
|
|
12
|
-
state?: StateAdapter;
|
|
13
|
-
};
|
|
14
|
-
/** Build destinationless mailbox work that references one durable invocation. */
|
|
15
|
-
export declare function buildAgentInvocationInboundMessage(invocation: AgentInvocation, nowMs?: number): InboundMessage;
|
|
16
|
-
/** Append one invocation to its child mailbox and send the normal queue wake. */
|
|
17
|
-
export declare function enqueueAgentInvocation(invocation: AgentInvocation, options: EnqueueOptions): Promise<void>;
|
|
18
|
-
/** Create or replay an invocation, then durably schedule its child work. */
|
|
19
|
-
export declare function createAndEnqueueAgentInvocation(input: CreateAgentInvocationInput, options: EnqueueOptions): Promise<AgentInvocation>;
|
|
20
|
-
/** Resolve invocation execution from mailbox input or durable active state. */
|
|
21
|
-
export declare function resolveAgentInvocationId(context: ConversationWorkerContext): Promise<string | undefined>;
|
|
22
|
-
/** Build the invocation consumer that advances work through the shared runner. */
|
|
23
|
-
export declare function createAgentInvocationWorker(agentRunner: AgentRunner): (context: ConversationWorkerContext, invocationId: string) => Promise<ConversationWorkerResult>;
|
|
24
|
-
/** Route invocation-backed work before falling through to existing consumers. */
|
|
25
|
-
export declare function routeAgentInvocationWork(options: {
|
|
26
|
-
fallbackWorker: (context: ConversationWorkerContext) => Promise<ConversationWorkerResult>;
|
|
27
|
-
invocationWorker: (context: ConversationWorkerContext, invocationId: string) => Promise<ConversationWorkerResult>;
|
|
28
|
-
}): (context: ConversationWorkerContext) => Promise<ConversationWorkerResult>;
|
|
29
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { SlackAdapter } from "@chat-adapter/slack";
|
|
2
|
-
import type { StateAdapter } from "chat";
|
|
3
|
-
import type { AgentRunner } from "@/chat/runtime/agent-runner";
|
|
4
|
-
import type { ConversationStore } from "@/chat/conversations/store";
|
|
5
|
-
import type { ConversationWorkQueue } from "@/chat/task-execution/queue";
|
|
6
|
-
import type { VercelConversationWorkCallbackOptions } from "@/chat/task-execution/vercel-callback";
|
|
7
|
-
import { createSlackRuntime } from "./factory";
|
|
8
|
-
import type { JuniorRuntimeServiceOverrides } from "./services";
|
|
9
|
-
import { type ScheduleSessionCompletedPluginTasksOptions } from "@/chat/plugins/task-runner";
|
|
10
|
-
type SlackRuntime = ReturnType<typeof createSlackRuntime>;
|
|
11
|
-
interface ConversationWorkOptions {
|
|
12
|
-
agentRunner: AgentRunner;
|
|
13
|
-
conversationStore: ConversationStore;
|
|
14
|
-
getSlackAdapter: () => SlackAdapter;
|
|
15
|
-
queue: ConversationWorkQueue;
|
|
16
|
-
/**
|
|
17
|
-
* Optional plugin-task send path for completed Turns.
|
|
18
|
-
* Production omits this and uses the default Vercel queue sender.
|
|
19
|
-
*/
|
|
20
|
-
sendPluginTask?: ScheduleSessionCompletedPluginTasksOptions["send"];
|
|
21
|
-
services?: JuniorRuntimeServiceOverrides;
|
|
22
|
-
state?: StateAdapter;
|
|
23
|
-
/**
|
|
24
|
-
* Optional wrapper around the composed Slack runtime.
|
|
25
|
-
* Eval harnesses use this so worker Delivery lands on TestThreads.
|
|
26
|
-
*/
|
|
27
|
-
wrapRuntime?: (runtime: SlackRuntime) => SlackRuntime;
|
|
28
|
-
}
|
|
29
|
-
export type ConversationWorkCallbackOptions = VercelConversationWorkCallbackOptions;
|
|
30
|
-
/**
|
|
31
|
-
* Build conversation work once for production and integration tests.
|
|
32
|
-
* The app chooses the queue, state, Slack, and agent values here.
|
|
33
|
-
*/
|
|
34
|
-
export declare function createConversationWork(options: ConversationWorkOptions): ConversationWorkCallbackOptions & {
|
|
35
|
-
runtime: SlackRuntime;
|
|
36
|
-
};
|
|
37
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { SlackAdapter } from "@chat-adapter/slack";
|
|
2
|
-
import type { Message } from "chat";
|
|
3
|
-
import { type AssistantLifecycleEvent } from "@/chat/providers/slack/runtime";
|
|
4
|
-
import type { JuniorRuntimeServiceOverrides } from "@/chat/app/services";
|
|
5
|
-
import type { ScheduleSessionCompletedPluginTasksOptions } from "@/chat/plugins/task-runner";
|
|
6
|
-
import { type PausedTurns } from "@/chat/task-execution/turn-wake";
|
|
7
|
-
export interface CreateSlackRuntimeOptions {
|
|
8
|
-
getSlackAdapter: () => SlackAdapter;
|
|
9
|
-
now?: () => number;
|
|
10
|
-
pausedTurns?: PausedTurns;
|
|
11
|
-
sendPluginTask?: ScheduleSessionCompletedPluginTasksOptions["send"];
|
|
12
|
-
services?: JuniorRuntimeServiceOverrides;
|
|
13
|
-
}
|
|
14
|
-
export declare function createSlackRuntime(options: CreateSlackRuntimeOptions): {
|
|
15
|
-
runDispatchTurn: (dispatch: import("../agent-dispatch/types").DispatchRecord, hooks: {
|
|
16
|
-
ack: () => Promise<void>;
|
|
17
|
-
shouldYield?: () => boolean;
|
|
18
|
-
}) => Promise<import("../agent-dispatch/types").DispatchTurnResult>;
|
|
19
|
-
handleAssistantContextChanged: (event: AssistantLifecycleEvent) => Promise<void>;
|
|
20
|
-
handleAssistantThreadStarted: (event: AssistantLifecycleEvent) => Promise<void>;
|
|
21
|
-
handleNewMention: (thread: import("chat").Thread, message: Message, hooks: import("@/chat/providers/slack/runtime").SlackTurnOptions) => Promise<void>;
|
|
22
|
-
handleSubscribedMessage: (thread: import("chat").Thread, message: Message, hooks: import("@/chat/providers/slack/runtime").SlackTurnOptions) => Promise<void>;
|
|
23
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { SlackAdapter } from "@chat-adapter/slack";
|
|
2
|
-
import { createSlackRuntime } from "@/chat/app/factory";
|
|
3
|
-
import type { AgentRunner } from "@/chat/runtime/agent-runner";
|
|
4
|
-
import type { SlackWebhookServices } from "@/chat/ingress/slack-webhook";
|
|
5
|
-
import type { JuniorRuntimeServiceOverrides } from "@/chat/app/services";
|
|
6
|
-
import type { ConversationStore } from "@/chat/conversations/store";
|
|
7
|
-
import { type ConversationWorkCallbackOptions } from "@/chat/app/conversation-work";
|
|
8
|
-
/** Return the lazily initialized production Slack adapter. */
|
|
9
|
-
export declare function getProductionSlackAdapter(): SlackAdapter;
|
|
10
|
-
/** Return the lazily initialized production Slack runtime. */
|
|
11
|
-
export declare function getProductionSlackRuntime(): ReturnType<typeof createSlackRuntime>;
|
|
12
|
-
/** Return the production conversation store for current config. */
|
|
13
|
-
export declare function getProductionConversationStore(): ConversationStore;
|
|
14
|
-
/** Create production-backed services for Slack webhook ingress. */
|
|
15
|
-
export declare function createProductionSlackWebhookServices(options?: {
|
|
16
|
-
services?: JuniorRuntimeServiceOverrides;
|
|
17
|
-
}): SlackWebhookServices;
|
|
18
|
-
/** Return production services for Slack webhook ingress. */
|
|
19
|
-
export declare function getProductionSlackWebhookServices(): SlackWebhookServices;
|
|
20
|
-
/** Return the production queue callback options for conversation work. */
|
|
21
|
-
export declare function createProductionConversationWorkOptions(options: {
|
|
22
|
-
agentRunner: AgentRunner;
|
|
23
|
-
services?: JuniorRuntimeServiceOverrides;
|
|
24
|
-
}): ConversationWorkCallbackOptions;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { SandboxEgressTracePropagationConfig } from "@/chat/sandbox/egress/tracing";
|
|
2
|
-
import { type ConversationMemoryDeps, type ConversationMemoryService } from "@/chat/services/conversation-memory";
|
|
3
|
-
import { type ContextCompactor, type ContextCompactorDeps } from "@/chat/services/context-compaction";
|
|
4
|
-
import { type SubscribedReplyPolicy, type SubscribedReplyPolicyDeps } from "@/chat/services/subscribed-reply-policy";
|
|
5
|
-
import { type VisionContextDeps, type VisionContextService } from "@/chat/slack/vision-context";
|
|
6
|
-
import { type AgentRunner } from "@/chat/runtime/agent-runner";
|
|
7
|
-
import { type ExecuteTurn } from "@/chat/runtime/turn-execution";
|
|
8
|
-
export interface JuniorRuntimeServices {
|
|
9
|
-
conversationMemory: ConversationMemoryService;
|
|
10
|
-
contextCompactor: ContextCompactor;
|
|
11
|
-
executeTurn: ExecuteTurn;
|
|
12
|
-
subscribedReplyPolicy: SubscribedReplyPolicy;
|
|
13
|
-
visionContext: VisionContextService;
|
|
14
|
-
}
|
|
15
|
-
export interface JuniorRuntimeServiceOverrides {
|
|
16
|
-
agentRunner?: AgentRunner;
|
|
17
|
-
conversationMemory?: Partial<ConversationMemoryDeps>;
|
|
18
|
-
contextCompactor?: Partial<ContextCompactorDeps>;
|
|
19
|
-
subscribedReplyPolicy?: Partial<SubscribedReplyPolicyDeps>;
|
|
20
|
-
sandbox?: {
|
|
21
|
-
tracePropagation?: SandboxEgressTracePropagationConfig;
|
|
22
|
-
};
|
|
23
|
-
visionContext?: Partial<VisionContextDeps>;
|
|
24
|
-
}
|
|
25
|
-
export declare function createJuniorRuntimeServices(overrides?: JuniorRuntimeServiceOverrides): JuniorRuntimeServices;
|