@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,423 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/** Task run counts for the dashboard range control (24h/7d/30d/90d). */
|
|
3
|
-
export declare const taskRunWindowsSchema: z.ZodObject<{
|
|
4
|
-
1: z.ZodNumber;
|
|
5
|
-
7: z.ZodNumber;
|
|
6
|
-
30: z.ZodNumber;
|
|
7
|
-
90: z.ZodNumber;
|
|
8
|
-
}, z.core.$strict>;
|
|
9
|
-
export declare const scheduledTaskSummarySchema: z.ZodObject<{
|
|
10
|
-
createdAt: z.ZodString;
|
|
11
|
-
createdBy: z.ZodString;
|
|
12
|
-
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
13
|
-
destination: z.ZodObject<{
|
|
14
|
-
channelId: z.ZodString;
|
|
15
|
-
label: z.ZodString;
|
|
16
|
-
teamId: z.ZodString;
|
|
17
|
-
visibility: z.ZodEnum<{
|
|
18
|
-
private: "private";
|
|
19
|
-
public: "public";
|
|
20
|
-
}>;
|
|
21
|
-
}, z.core.$strict>;
|
|
22
|
-
id: z.ZodString;
|
|
23
|
-
instruction: z.ZodString;
|
|
24
|
-
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
25
|
-
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
26
|
-
ownedByViewer: z.ZodBoolean;
|
|
27
|
-
runs: z.ZodObject<{
|
|
28
|
-
1: z.ZodNumber;
|
|
29
|
-
7: z.ZodNumber;
|
|
30
|
-
30: z.ZodNumber;
|
|
31
|
-
90: z.ZodNumber;
|
|
32
|
-
}, z.core.$strict>;
|
|
33
|
-
title: z.ZodString;
|
|
34
|
-
totalRuns: z.ZodNumber;
|
|
35
|
-
kind: z.ZodLiteral<"scheduled">;
|
|
36
|
-
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
37
|
-
schedule: z.ZodString;
|
|
38
|
-
status: z.ZodEnum<{
|
|
39
|
-
completed: "completed";
|
|
40
|
-
blocked: "blocked";
|
|
41
|
-
active: "active";
|
|
42
|
-
}>;
|
|
43
|
-
}, z.core.$strict>;
|
|
44
|
-
export declare const eventTaskSummarySchema: z.ZodObject<{
|
|
45
|
-
createdAt: z.ZodString;
|
|
46
|
-
createdBy: z.ZodString;
|
|
47
|
-
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
48
|
-
destination: z.ZodObject<{
|
|
49
|
-
channelId: z.ZodString;
|
|
50
|
-
label: z.ZodString;
|
|
51
|
-
teamId: z.ZodString;
|
|
52
|
-
visibility: z.ZodEnum<{
|
|
53
|
-
private: "private";
|
|
54
|
-
public: "public";
|
|
55
|
-
}>;
|
|
56
|
-
}, z.core.$strict>;
|
|
57
|
-
id: z.ZodString;
|
|
58
|
-
instruction: z.ZodString;
|
|
59
|
-
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
60
|
-
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
61
|
-
ownedByViewer: z.ZodBoolean;
|
|
62
|
-
runs: z.ZodObject<{
|
|
63
|
-
1: z.ZodNumber;
|
|
64
|
-
7: z.ZodNumber;
|
|
65
|
-
30: z.ZodNumber;
|
|
66
|
-
90: z.ZodNumber;
|
|
67
|
-
}, z.core.$strict>;
|
|
68
|
-
title: z.ZodString;
|
|
69
|
-
totalRuns: z.ZodNumber;
|
|
70
|
-
events: z.ZodArray<z.ZodString>;
|
|
71
|
-
kind: z.ZodLiteral<"event">;
|
|
72
|
-
resource: z.ZodString;
|
|
73
|
-
source: z.ZodString;
|
|
74
|
-
triggerAvailable: z.ZodBoolean;
|
|
75
|
-
}, z.core.$strict>;
|
|
76
|
-
export declare const taskSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
77
|
-
createdAt: z.ZodString;
|
|
78
|
-
createdBy: z.ZodString;
|
|
79
|
-
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
80
|
-
destination: z.ZodObject<{
|
|
81
|
-
channelId: z.ZodString;
|
|
82
|
-
label: z.ZodString;
|
|
83
|
-
teamId: z.ZodString;
|
|
84
|
-
visibility: z.ZodEnum<{
|
|
85
|
-
private: "private";
|
|
86
|
-
public: "public";
|
|
87
|
-
}>;
|
|
88
|
-
}, z.core.$strict>;
|
|
89
|
-
id: z.ZodString;
|
|
90
|
-
instruction: z.ZodString;
|
|
91
|
-
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
92
|
-
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
93
|
-
ownedByViewer: z.ZodBoolean;
|
|
94
|
-
runs: z.ZodObject<{
|
|
95
|
-
1: z.ZodNumber;
|
|
96
|
-
7: z.ZodNumber;
|
|
97
|
-
30: z.ZodNumber;
|
|
98
|
-
90: z.ZodNumber;
|
|
99
|
-
}, z.core.$strict>;
|
|
100
|
-
title: z.ZodString;
|
|
101
|
-
totalRuns: z.ZodNumber;
|
|
102
|
-
kind: z.ZodLiteral<"scheduled">;
|
|
103
|
-
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
104
|
-
schedule: z.ZodString;
|
|
105
|
-
status: z.ZodEnum<{
|
|
106
|
-
completed: "completed";
|
|
107
|
-
blocked: "blocked";
|
|
108
|
-
active: "active";
|
|
109
|
-
}>;
|
|
110
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
111
|
-
createdAt: z.ZodString;
|
|
112
|
-
createdBy: z.ZodString;
|
|
113
|
-
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
114
|
-
destination: z.ZodObject<{
|
|
115
|
-
channelId: z.ZodString;
|
|
116
|
-
label: z.ZodString;
|
|
117
|
-
teamId: z.ZodString;
|
|
118
|
-
visibility: z.ZodEnum<{
|
|
119
|
-
private: "private";
|
|
120
|
-
public: "public";
|
|
121
|
-
}>;
|
|
122
|
-
}, z.core.$strict>;
|
|
123
|
-
id: z.ZodString;
|
|
124
|
-
instruction: z.ZodString;
|
|
125
|
-
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
126
|
-
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
127
|
-
ownedByViewer: z.ZodBoolean;
|
|
128
|
-
runs: z.ZodObject<{
|
|
129
|
-
1: z.ZodNumber;
|
|
130
|
-
7: z.ZodNumber;
|
|
131
|
-
30: z.ZodNumber;
|
|
132
|
-
90: z.ZodNumber;
|
|
133
|
-
}, z.core.$strict>;
|
|
134
|
-
title: z.ZodString;
|
|
135
|
-
totalRuns: z.ZodNumber;
|
|
136
|
-
events: z.ZodArray<z.ZodString>;
|
|
137
|
-
kind: z.ZodLiteral<"event">;
|
|
138
|
-
resource: z.ZodString;
|
|
139
|
-
source: z.ZodString;
|
|
140
|
-
triggerAvailable: z.ZodBoolean;
|
|
141
|
-
}, z.core.$strict>], "kind">;
|
|
142
|
-
/** UTC day (`YYYY-MM-DD`) or hour (`YYYY-MM-DDTHH`) execution bucket key. */
|
|
143
|
-
export declare const taskMetricBucketSchema: z.ZodString;
|
|
144
|
-
/** One UTC day/hour of completed task executions stacked by task type. */
|
|
145
|
-
export declare const taskExecutionDaySchema: z.ZodObject<{
|
|
146
|
-
costUsd: z.ZodNumber;
|
|
147
|
-
date: z.ZodString;
|
|
148
|
-
event: z.ZodNumber;
|
|
149
|
-
scheduled: z.ZodNumber;
|
|
150
|
-
}, z.core.$strict>;
|
|
151
|
-
export declare const taskListSchema: z.ZodObject<{
|
|
152
|
-
executionDays: z.ZodArray<z.ZodObject<{
|
|
153
|
-
costUsd: z.ZodNumber;
|
|
154
|
-
date: z.ZodString;
|
|
155
|
-
event: z.ZodNumber;
|
|
156
|
-
scheduled: z.ZodNumber;
|
|
157
|
-
}, z.core.$strict>>;
|
|
158
|
-
executionHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
|
-
costUsd: z.ZodNumber;
|
|
160
|
-
date: z.ZodString;
|
|
161
|
-
event: z.ZodNumber;
|
|
162
|
-
scheduled: z.ZodNumber;
|
|
163
|
-
}, z.core.$strict>>>;
|
|
164
|
-
executionSixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
165
|
-
costUsd: z.ZodNumber;
|
|
166
|
-
date: z.ZodString;
|
|
167
|
-
event: z.ZodNumber;
|
|
168
|
-
scheduled: z.ZodNumber;
|
|
169
|
-
}, z.core.$strict>>>;
|
|
170
|
-
tasks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
171
|
-
createdAt: z.ZodString;
|
|
172
|
-
createdBy: z.ZodString;
|
|
173
|
-
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
174
|
-
destination: z.ZodObject<{
|
|
175
|
-
channelId: z.ZodString;
|
|
176
|
-
label: z.ZodString;
|
|
177
|
-
teamId: z.ZodString;
|
|
178
|
-
visibility: z.ZodEnum<{
|
|
179
|
-
private: "private";
|
|
180
|
-
public: "public";
|
|
181
|
-
}>;
|
|
182
|
-
}, z.core.$strict>;
|
|
183
|
-
id: z.ZodString;
|
|
184
|
-
instruction: z.ZodString;
|
|
185
|
-
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
186
|
-
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
187
|
-
ownedByViewer: z.ZodBoolean;
|
|
188
|
-
runs: z.ZodObject<{
|
|
189
|
-
1: z.ZodNumber;
|
|
190
|
-
7: z.ZodNumber;
|
|
191
|
-
30: z.ZodNumber;
|
|
192
|
-
90: z.ZodNumber;
|
|
193
|
-
}, z.core.$strict>;
|
|
194
|
-
title: z.ZodString;
|
|
195
|
-
totalRuns: z.ZodNumber;
|
|
196
|
-
kind: z.ZodLiteral<"scheduled">;
|
|
197
|
-
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
198
|
-
schedule: z.ZodString;
|
|
199
|
-
status: z.ZodEnum<{
|
|
200
|
-
completed: "completed";
|
|
201
|
-
blocked: "blocked";
|
|
202
|
-
active: "active";
|
|
203
|
-
}>;
|
|
204
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
205
|
-
createdAt: z.ZodString;
|
|
206
|
-
createdBy: z.ZodString;
|
|
207
|
-
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
208
|
-
destination: z.ZodObject<{
|
|
209
|
-
channelId: z.ZodString;
|
|
210
|
-
label: z.ZodString;
|
|
211
|
-
teamId: z.ZodString;
|
|
212
|
-
visibility: z.ZodEnum<{
|
|
213
|
-
private: "private";
|
|
214
|
-
public: "public";
|
|
215
|
-
}>;
|
|
216
|
-
}, z.core.$strict>;
|
|
217
|
-
id: z.ZodString;
|
|
218
|
-
instruction: z.ZodString;
|
|
219
|
-
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
220
|
-
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
221
|
-
ownedByViewer: z.ZodBoolean;
|
|
222
|
-
runs: z.ZodObject<{
|
|
223
|
-
1: z.ZodNumber;
|
|
224
|
-
7: z.ZodNumber;
|
|
225
|
-
30: z.ZodNumber;
|
|
226
|
-
90: z.ZodNumber;
|
|
227
|
-
}, z.core.$strict>;
|
|
228
|
-
title: z.ZodString;
|
|
229
|
-
totalRuns: z.ZodNumber;
|
|
230
|
-
events: z.ZodArray<z.ZodString>;
|
|
231
|
-
kind: z.ZodLiteral<"event">;
|
|
232
|
-
resource: z.ZodString;
|
|
233
|
-
source: z.ZodString;
|
|
234
|
-
triggerAvailable: z.ZodBoolean;
|
|
235
|
-
}, z.core.$strict>], "kind">>;
|
|
236
|
-
truncated: z.ZodBoolean;
|
|
237
|
-
}, z.core.$strict>;
|
|
238
|
-
export declare const taskParamsSchema: z.ZodObject<{
|
|
239
|
-
id: z.ZodString;
|
|
240
|
-
kind: z.ZodEnum<{
|
|
241
|
-
scheduled: "scheduled";
|
|
242
|
-
event: "event";
|
|
243
|
-
}>;
|
|
244
|
-
}, z.core.$strict>;
|
|
245
|
-
export declare const taskExecutionStatusSchema: z.ZodEnum<{
|
|
246
|
-
completed: "completed";
|
|
247
|
-
failed: "failed";
|
|
248
|
-
blocked: "blocked";
|
|
249
|
-
}>;
|
|
250
|
-
export declare const taskExecutionSchema: z.ZodObject<{
|
|
251
|
-
conversationId: z.ZodOptional<z.ZodString>;
|
|
252
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
253
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
254
|
-
executedAt: z.ZodString;
|
|
255
|
-
executionId: z.ZodString;
|
|
256
|
-
status: z.ZodEnum<{
|
|
257
|
-
completed: "completed";
|
|
258
|
-
failed: "failed";
|
|
259
|
-
blocked: "blocked";
|
|
260
|
-
}>;
|
|
261
|
-
title: z.ZodOptional<z.ZodString>;
|
|
262
|
-
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
263
|
-
}, z.core.$strict>;
|
|
264
|
-
/** One UTC day/hour of terminal executions for a single task, stacked by status. */
|
|
265
|
-
export declare const taskExecutionStatusDaySchema: z.ZodObject<{
|
|
266
|
-
blocked: z.ZodNumber;
|
|
267
|
-
completed: z.ZodNumber;
|
|
268
|
-
date: z.ZodString;
|
|
269
|
-
failed: z.ZodNumber;
|
|
270
|
-
}, z.core.$strict>;
|
|
271
|
-
export declare const taskExecutionListSchema: z.ZodObject<{
|
|
272
|
-
executionDays: z.ZodArray<z.ZodObject<{
|
|
273
|
-
blocked: z.ZodNumber;
|
|
274
|
-
completed: z.ZodNumber;
|
|
275
|
-
date: z.ZodString;
|
|
276
|
-
failed: z.ZodNumber;
|
|
277
|
-
}, z.core.$strict>>;
|
|
278
|
-
executionHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
279
|
-
blocked: z.ZodNumber;
|
|
280
|
-
completed: z.ZodNumber;
|
|
281
|
-
date: z.ZodString;
|
|
282
|
-
failed: z.ZodNumber;
|
|
283
|
-
}, z.core.$strict>>>;
|
|
284
|
-
executionSixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
285
|
-
blocked: z.ZodNumber;
|
|
286
|
-
completed: z.ZodNumber;
|
|
287
|
-
date: z.ZodString;
|
|
288
|
-
failed: z.ZodNumber;
|
|
289
|
-
}, z.core.$strict>>>;
|
|
290
|
-
executions: z.ZodArray<z.ZodObject<{
|
|
291
|
-
conversationId: z.ZodOptional<z.ZodString>;
|
|
292
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
293
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
294
|
-
executedAt: z.ZodString;
|
|
295
|
-
executionId: z.ZodString;
|
|
296
|
-
status: z.ZodEnum<{
|
|
297
|
-
completed: "completed";
|
|
298
|
-
failed: "failed";
|
|
299
|
-
blocked: "blocked";
|
|
300
|
-
}>;
|
|
301
|
-
title: z.ZodOptional<z.ZodString>;
|
|
302
|
-
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
303
|
-
}, z.core.$strict>>;
|
|
304
|
-
task: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
305
|
-
createdAt: z.ZodString;
|
|
306
|
-
createdBy: z.ZodString;
|
|
307
|
-
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
308
|
-
destination: z.ZodObject<{
|
|
309
|
-
channelId: z.ZodString;
|
|
310
|
-
label: z.ZodString;
|
|
311
|
-
teamId: z.ZodString;
|
|
312
|
-
visibility: z.ZodEnum<{
|
|
313
|
-
private: "private";
|
|
314
|
-
public: "public";
|
|
315
|
-
}>;
|
|
316
|
-
}, z.core.$strict>;
|
|
317
|
-
id: z.ZodString;
|
|
318
|
-
instruction: z.ZodString;
|
|
319
|
-
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
320
|
-
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
321
|
-
ownedByViewer: z.ZodBoolean;
|
|
322
|
-
runs: z.ZodObject<{
|
|
323
|
-
1: z.ZodNumber;
|
|
324
|
-
7: z.ZodNumber;
|
|
325
|
-
30: z.ZodNumber;
|
|
326
|
-
90: z.ZodNumber;
|
|
327
|
-
}, z.core.$strict>;
|
|
328
|
-
title: z.ZodString;
|
|
329
|
-
totalRuns: z.ZodNumber;
|
|
330
|
-
kind: z.ZodLiteral<"scheduled">;
|
|
331
|
-
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
332
|
-
schedule: z.ZodString;
|
|
333
|
-
status: z.ZodEnum<{
|
|
334
|
-
completed: "completed";
|
|
335
|
-
blocked: "blocked";
|
|
336
|
-
active: "active";
|
|
337
|
-
}>;
|
|
338
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
339
|
-
createdAt: z.ZodString;
|
|
340
|
-
createdBy: z.ZodString;
|
|
341
|
-
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
342
|
-
destination: z.ZodObject<{
|
|
343
|
-
channelId: z.ZodString;
|
|
344
|
-
label: z.ZodString;
|
|
345
|
-
teamId: z.ZodString;
|
|
346
|
-
visibility: z.ZodEnum<{
|
|
347
|
-
private: "private";
|
|
348
|
-
public: "public";
|
|
349
|
-
}>;
|
|
350
|
-
}, z.core.$strict>;
|
|
351
|
-
id: z.ZodString;
|
|
352
|
-
instruction: z.ZodString;
|
|
353
|
-
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
354
|
-
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
355
|
-
ownedByViewer: z.ZodBoolean;
|
|
356
|
-
runs: z.ZodObject<{
|
|
357
|
-
1: z.ZodNumber;
|
|
358
|
-
7: z.ZodNumber;
|
|
359
|
-
30: z.ZodNumber;
|
|
360
|
-
90: z.ZodNumber;
|
|
361
|
-
}, z.core.$strict>;
|
|
362
|
-
title: z.ZodString;
|
|
363
|
-
totalRuns: z.ZodNumber;
|
|
364
|
-
events: z.ZodArray<z.ZodString>;
|
|
365
|
-
kind: z.ZodLiteral<"event">;
|
|
366
|
-
resource: z.ZodString;
|
|
367
|
-
source: z.ZodString;
|
|
368
|
-
triggerAvailable: z.ZodBoolean;
|
|
369
|
-
}, z.core.$strict>], "kind">;
|
|
370
|
-
truncated: z.ZodBoolean;
|
|
371
|
-
}, z.core.$strict>;
|
|
372
|
-
export declare const taskRunSchema: z.ZodObject<{
|
|
373
|
-
conversationId: z.ZodOptional<z.ZodString>;
|
|
374
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
375
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
376
|
-
executedAt: z.ZodString;
|
|
377
|
-
executionId: z.ZodString;
|
|
378
|
-
status: z.ZodEnum<{
|
|
379
|
-
completed: "completed";
|
|
380
|
-
failed: "failed";
|
|
381
|
-
blocked: "blocked";
|
|
382
|
-
}>;
|
|
383
|
-
title: z.ZodOptional<z.ZodString>;
|
|
384
|
-
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
385
|
-
kind: z.ZodEnum<{
|
|
386
|
-
scheduled: "scheduled";
|
|
387
|
-
event: "event";
|
|
388
|
-
}>;
|
|
389
|
-
taskId: z.ZodString;
|
|
390
|
-
taskTitle: z.ZodString;
|
|
391
|
-
}, z.core.$strict>;
|
|
392
|
-
export declare const taskRunListSchema: z.ZodObject<{
|
|
393
|
-
runs: z.ZodArray<z.ZodObject<{
|
|
394
|
-
conversationId: z.ZodOptional<z.ZodString>;
|
|
395
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
396
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
397
|
-
executedAt: z.ZodString;
|
|
398
|
-
executionId: z.ZodString;
|
|
399
|
-
status: z.ZodEnum<{
|
|
400
|
-
completed: "completed";
|
|
401
|
-
failed: "failed";
|
|
402
|
-
blocked: "blocked";
|
|
403
|
-
}>;
|
|
404
|
-
title: z.ZodOptional<z.ZodString>;
|
|
405
|
-
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
406
|
-
kind: z.ZodEnum<{
|
|
407
|
-
scheduled: "scheduled";
|
|
408
|
-
event: "event";
|
|
409
|
-
}>;
|
|
410
|
-
taskId: z.ZodString;
|
|
411
|
-
taskTitle: z.ZodString;
|
|
412
|
-
}, z.core.$strict>>;
|
|
413
|
-
truncated: z.ZodBoolean;
|
|
414
|
-
}, z.core.$strict>;
|
|
415
|
-
export type TaskExecutionDay = z.output<typeof taskExecutionDaySchema>;
|
|
416
|
-
export type TaskExecutionStatusDay = z.output<typeof taskExecutionStatusDaySchema>;
|
|
417
|
-
export type TaskExecution = z.output<typeof taskExecutionSchema>;
|
|
418
|
-
export type TaskExecutionList = z.output<typeof taskExecutionListSchema>;
|
|
419
|
-
export type TaskRun = z.output<typeof taskRunSchema>;
|
|
420
|
-
export type TaskRunList = z.output<typeof taskRunListSchema>;
|
|
421
|
-
export type TaskRunWindows = z.output<typeof taskRunWindowsSchema>;
|
|
422
|
-
export type TaskSummary = z.output<typeof taskSummarySchema>;
|
|
423
|
-
export type TaskList = z.output<typeof taskListSchema>;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const workspaceRepoSchema: z.ZodObject<{
|
|
3
|
-
provider: z.ZodString;
|
|
4
|
-
repo: z.ZodString;
|
|
5
|
-
checkoutPath: z.ZodString;
|
|
6
|
-
}, z.core.$strict>;
|
|
7
|
-
/** Install-wide baseline Sandbox snapshot used when no Workspace recipe is selected. */
|
|
8
|
-
export declare const baselineSnapshotSchema: z.ZodObject<{
|
|
9
|
-
id: z.ZodString;
|
|
10
|
-
generatedAt: z.ZodISODateTime;
|
|
11
|
-
buildDurationMs: z.ZodNumber;
|
|
12
|
-
dependencyCount: z.ZodNumber;
|
|
13
|
-
}, z.core.$strict>;
|
|
14
|
-
export declare const workspaceSchema: z.ZodObject<{
|
|
15
|
-
id: z.ZodString;
|
|
16
|
-
name: z.ZodString;
|
|
17
|
-
setupScript: z.ZodString;
|
|
18
|
-
repos: z.ZodArray<z.ZodObject<{
|
|
19
|
-
provider: z.ZodString;
|
|
20
|
-
repo: z.ZodString;
|
|
21
|
-
checkoutPath: z.ZodString;
|
|
22
|
-
}, z.core.$strict>>;
|
|
23
|
-
snapshot: z.ZodNullable<z.ZodObject<{
|
|
24
|
-
id: z.ZodString;
|
|
25
|
-
generatedAt: z.ZodISODateTime;
|
|
26
|
-
buildDurationMs: z.ZodNumber;
|
|
27
|
-
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
28
|
-
}, z.core.$strict>>;
|
|
29
|
-
}, z.core.$strict>;
|
|
30
|
-
export declare const workspaceListSchema: z.ZodObject<{
|
|
31
|
-
baselineSnapshot: z.ZodNullable<z.ZodObject<{
|
|
32
|
-
id: z.ZodString;
|
|
33
|
-
generatedAt: z.ZodISODateTime;
|
|
34
|
-
buildDurationMs: z.ZodNumber;
|
|
35
|
-
dependencyCount: z.ZodNumber;
|
|
36
|
-
}, z.core.$strict>>;
|
|
37
|
-
workspaces: z.ZodArray<z.ZodObject<{
|
|
38
|
-
id: z.ZodString;
|
|
39
|
-
name: z.ZodString;
|
|
40
|
-
setupScript: z.ZodString;
|
|
41
|
-
repos: z.ZodArray<z.ZodObject<{
|
|
42
|
-
provider: z.ZodString;
|
|
43
|
-
repo: z.ZodString;
|
|
44
|
-
checkoutPath: z.ZodString;
|
|
45
|
-
}, z.core.$strict>>;
|
|
46
|
-
snapshot: z.ZodNullable<z.ZodObject<{
|
|
47
|
-
id: z.ZodString;
|
|
48
|
-
generatedAt: z.ZodISODateTime;
|
|
49
|
-
buildDurationMs: z.ZodNumber;
|
|
50
|
-
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
51
|
-
}, z.core.$strict>>;
|
|
52
|
-
}, z.core.$strict>>;
|
|
53
|
-
}, z.core.$strict>;
|
|
54
|
-
export declare const workspaceBodySchema: z.ZodObject<{
|
|
55
|
-
name: z.ZodString;
|
|
56
|
-
setupScript: z.ZodOptional<z.ZodString>;
|
|
57
|
-
repos: z.ZodArray<z.ZodObject<{
|
|
58
|
-
provider: z.ZodString;
|
|
59
|
-
repo: z.ZodString;
|
|
60
|
-
}, z.core.$strict>>;
|
|
61
|
-
}, z.core.$strict>;
|
|
62
|
-
export declare const workspaceParamsSchema: z.ZodObject<{
|
|
63
|
-
id: z.ZodString;
|
|
64
|
-
}, z.core.$strict>;
|
|
65
|
-
export declare const deleteWorkspaceResponseSchema: z.ZodObject<{
|
|
66
|
-
deleted: z.ZodLiteral<true>;
|
|
67
|
-
}, z.core.$strict>;
|
|
68
|
-
export type BaselineSnapshotReport = z.infer<typeof baselineSnapshotSchema>;
|
|
69
|
-
export type WorkspaceReport = z.infer<typeof workspaceSchema>;
|
package/dist/api/stats.d.ts
DELETED
package/dist/api/validation.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ValidationTargets } from "hono";
|
|
2
|
-
import type { z } from "zod";
|
|
3
|
-
/** Validate one request input and use Junior's stable JSON error contract. */
|
|
4
|
-
export declare function validateRequest<TTarget extends keyof ValidationTargets, TSchema extends z.ZodType>(target: TTarget, schema: TSchema, message: string): import("hono").MiddlewareHandler<import("hono").Env, string, {
|
|
5
|
-
in: (undefined extends (TSchema extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) ? true : false) extends true ? { [K in TTarget]?: ([TSchema extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [ValidationTargets[K]] ? ValidationTargets[K] & (TSchema extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) : import("hono/validator").InferInput<TSchema extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, K, import("hono/types").ParsedFormValue>) | undefined; } : { [K_1 in TTarget]: [TSchema extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never] extends [ValidationTargets[K_1]] ? ValidationTargets[K_1] & (TSchema extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never) : import("hono/validator").InferInput<TSchema extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").input<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.input<TSchema> : never, K_1, import("hono/types").ParsedFormValue>; };
|
|
6
|
-
out: { [K_2 in TTarget]: TSchema extends import("zod/v3").ZodType<any, import("zod/v3").ZodTypeDef, any> ? import("zod/v3").output<TSchema> : TSchema extends z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? z.core.output<TSchema> : never; };
|
|
7
|
-
}, never>;
|
package/dist/api/viewer.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/** Copy app, built-in skill, and declared plugin content into server output. */
|
|
2
|
-
export declare function copyRuntimeContent(cwd: string, serverRoot: string, packageNames?: unknown): void;
|
|
3
|
-
/** Copy dashboard browser assets when core dashboard routes are enabled. */
|
|
4
|
-
export declare function copyDashboardAssets(cwd: string, serverRoot: string): void;
|
|
5
|
-
/** Copy extra file patterns into server output for files the bundler cannot trace. */
|
|
6
|
-
export declare function copyIncludedFiles(cwd: string, serverRoot: string, patterns?: unknown): void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Nitro } from "nitro/types";
|
|
2
|
-
/**
|
|
3
|
-
* Override rolldown's treeshake config so that module side effects survive
|
|
4
|
-
* bundling.
|
|
5
|
-
*
|
|
6
|
-
* pi-ai registers API providers via a top-level side-effect in
|
|
7
|
-
* register-builtins.js. Nitro's default moduleSideEffects whitelist only
|
|
8
|
-
* includes unenv polyfills, so rolldown tree-shakes the registration call
|
|
9
|
-
* and the apiProviderRegistry Map stays empty at runtime.
|
|
10
|
-
*
|
|
11
|
-
* TODO(upstream): Track https://github.com/nitrojs/nitro/issues/XXXX for
|
|
12
|
-
* native moduleSideEffects configuration support.
|
|
13
|
-
*/
|
|
14
|
-
export declare function applyRolldownTreeshakeWorkaround(nitro: Nitro): void;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { Nitro } from "nitro/types";
|
|
2
|
-
import type { PluginCatalogConfig } from "@/chat/plugins/types";
|
|
3
|
-
import type { JuniorDashboardOptions } from "@/app";
|
|
4
|
-
import { type JuniorPluginSet } from "@/plugins";
|
|
5
|
-
export interface RuntimePluginModule {
|
|
6
|
-
exportName: string;
|
|
7
|
-
specifier: string;
|
|
8
|
-
}
|
|
9
|
-
/** Render the virtual config module consumed by createApp(). */
|
|
10
|
-
export declare function renderVirtualConfig(options: {
|
|
11
|
-
functionMaxDurationSeconds?: number;
|
|
12
|
-
dashboard?: JuniorDashboardOptions;
|
|
13
|
-
plugins?: PluginCatalogConfig;
|
|
14
|
-
pluginModule?: RuntimePluginModule;
|
|
15
|
-
pluginRuntimeRegistrations?: string[];
|
|
16
|
-
}): string;
|
|
17
|
-
/** Inject a virtual module so createApp() can read the plugin list at runtime. */
|
|
18
|
-
export declare function injectVirtualConfig(nitro: Nitro, options?: {
|
|
19
|
-
functionMaxDurationSeconds?: number;
|
|
20
|
-
loadPluginSet?: () => Promise<JuniorPluginSet | undefined>;
|
|
21
|
-
pluginModule?: RuntimePluginModule;
|
|
22
|
-
plugins?: PluginCatalogConfig;
|
|
23
|
-
pluginRuntimeRegistrations?: string[];
|
|
24
|
-
dashboard?: JuniorDashboardOptions;
|
|
25
|
-
}): void;
|
package/dist/chat/actor.d.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Canonical actor identity.
|
|
3
|
-
*
|
|
4
|
-
* Runtime actors are platform-scoped actors. Stored Slack actor parsing
|
|
5
|
-
* remains explicit so durable conversation metadata is not repaired on read.
|
|
6
|
-
*/
|
|
7
|
-
import { z } from "zod";
|
|
8
|
-
export declare const storedSlackActorSchema: z.ZodObject<{
|
|
9
|
-
email: z.ZodOptional<z.ZodString>;
|
|
10
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
11
|
-
platform: z.ZodOptional<z.ZodLiteral<"slack">>;
|
|
12
|
-
slackUserId: z.ZodOptional<z.ZodString>;
|
|
13
|
-
slackUserName: z.ZodOptional<z.ZodString>;
|
|
14
|
-
teamId: z.ZodOptional<z.ZodString>;
|
|
15
|
-
}, z.core.$strict>;
|
|
16
|
-
interface BaseActor {
|
|
17
|
-
email?: string;
|
|
18
|
-
fullName?: string;
|
|
19
|
-
userId: string;
|
|
20
|
-
userName?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface SlackActor extends BaseActor {
|
|
23
|
-
platform: "slack";
|
|
24
|
-
teamId: string;
|
|
25
|
-
}
|
|
26
|
-
export interface LocalActor extends BaseActor {
|
|
27
|
-
platform: "local";
|
|
28
|
-
}
|
|
29
|
-
export interface WebActor extends BaseActor {
|
|
30
|
-
platform: "web";
|
|
31
|
-
}
|
|
32
|
-
export interface SystemActor {
|
|
33
|
-
platform: "system";
|
|
34
|
-
name: string;
|
|
35
|
-
}
|
|
36
|
-
export type UserActor = SlackActor | LocalActor | WebActor;
|
|
37
|
-
export type Actor = UserActor | SystemActor;
|
|
38
|
-
export interface SlackActorProfile {
|
|
39
|
-
email?: string;
|
|
40
|
-
fullName?: string;
|
|
41
|
-
userName?: string;
|
|
42
|
-
}
|
|
43
|
-
export type StoredSlackActor = z.output<typeof storedSlackActorSchema>;
|
|
44
|
-
/** Parse a serialized runtime actor that crossed a durable boundary. */
|
|
45
|
-
export declare function parseActor(value: unknown): Actor | undefined;
|
|
46
|
-
/** Return whether an actor is a platform-scoped user actor. */
|
|
47
|
-
export declare function isUserActor(actor: Actor | undefined): actor is UserActor;
|
|
48
|
-
interface ActorInput {
|
|
49
|
-
email?: string;
|
|
50
|
-
fullName?: string;
|
|
51
|
-
platform?: UserActor["platform"];
|
|
52
|
-
teamId?: string;
|
|
53
|
-
userId?: string;
|
|
54
|
-
userName?: string;
|
|
55
|
-
}
|
|
56
|
-
/** Keep actor ids exact at platform boundaries before they enter owned state. */
|
|
57
|
-
export declare function parseActorUserId(value: unknown): string | undefined;
|
|
58
|
-
/** Assert persisted actor ids without read-side repair. */
|
|
59
|
-
export declare function isActorUserId(value: string | undefined): value is string;
|
|
60
|
-
/** Build Junior's canonical platform actor from exact actor ids and profile data. */
|
|
61
|
-
export declare function createActor(input: ActorInput | undefined, context: {
|
|
62
|
-
platform?: UserActor["platform"];
|
|
63
|
-
teamId?: string;
|
|
64
|
-
userId?: string;
|
|
65
|
-
}): UserActor | undefined;
|
|
66
|
-
/** Build Junior's canonical actor from Slack profile data. */
|
|
67
|
-
export declare function createSlackActor(teamId: string, userId: string, profile: SlackActorProfile | null | undefined): SlackActor;
|
|
68
|
-
/** Parse a serialized Slack actor that crossed a runtime boundary. */
|
|
69
|
-
export declare function parseStoredSlackActor(value: unknown): StoredSlackActor | undefined;
|
|
70
|
-
/** Convert a runtime Slack actor into its durable session shape. */
|
|
71
|
-
export declare function toStoredSlackActor(actor: SlackActor): StoredSlackActor;
|
|
72
|
-
/**
|
|
73
|
-
* Resolve a Slack resume actor from stored profile data and the active actor.
|
|
74
|
-
*
|
|
75
|
-
* TODO(dcramer): Require Actor and remove ID-only construction after no
|
|
76
|
-
* deployed Turn cursor can omit Actor.
|
|
77
|
-
*/
|
|
78
|
-
export declare function createSlackResumeActor(args: {
|
|
79
|
-
actor?: Actor;
|
|
80
|
-
teamId: string;
|
|
81
|
-
userId: string;
|
|
82
|
-
}): SlackActor;
|
|
83
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { PiMessage } from "@/chat/pi/messages";
|
|
2
|
-
/**
|
|
3
|
-
* Return the durable tool-result boundary for one additional agent
|
|
4
|
-
* continuation when an ask rejection has no destination-visible reply.
|
|
5
|
-
*/
|
|
6
|
-
export declare function actionConfirmationRetryMessages(messages: readonly PiMessage[]): PiMessage[] | undefined;
|