@makaio/contracts 1.0.0-dev-1779051654000
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/LICENSE +21 -0
- package/README.md +73 -0
- package/dist/account-identity-ZrtBl3Bq.mjs +1 -0
- package/dist/adapter/index.d.ts +13 -0
- package/dist/adapter/index.d.ts.map +1 -0
- package/dist/adapter/index.mjs +1 -0
- package/dist/adapter/namespace.d.ts +3171 -0
- package/dist/adapter/namespace.d.ts.map +1 -0
- package/dist/adapter/schemas/adapter-session-status.d.ts +15 -0
- package/dist/adapter/schemas/adapter-session-status.d.ts.map +1 -0
- package/dist/adapter/schemas/agent-created.d.ts +17 -0
- package/dist/adapter/schemas/agent-created.d.ts.map +1 -0
- package/dist/adapter/schemas/agent-resolution.d.ts +387 -0
- package/dist/adapter/schemas/agent-resolution.d.ts.map +1 -0
- package/dist/adapter/schemas/base-event.d.ts +11 -0
- package/dist/adapter/schemas/base-event.d.ts.map +1 -0
- package/dist/adapter/schemas/error.d.ts +22 -0
- package/dist/adapter/schemas/error.d.ts.map +1 -0
- package/dist/adapter/schemas/get-agent.d.ts +24 -0
- package/dist/adapter/schemas/get-agent.d.ts.map +1 -0
- package/dist/adapter/schemas/get-capabilities.d.ts +31 -0
- package/dist/adapter/schemas/get-capabilities.d.ts.map +1 -0
- package/dist/adapter/schemas/get-config-schema.d.ts +32 -0
- package/dist/adapter/schemas/get-config-schema.d.ts.map +1 -0
- package/dist/adapter/schemas/index.d.ts +49 -0
- package/dist/adapter/schemas/index.d.ts.map +1 -0
- package/dist/adapter/schemas/infer.d.ts +41 -0
- package/dist/adapter/schemas/infer.d.ts.map +1 -0
- package/dist/adapter/schemas/initialized.d.ts +27 -0
- package/dist/adapter/schemas/initialized.d.ts.map +1 -0
- package/dist/adapter/schemas/list-agents.d.ts +23 -0
- package/dist/adapter/schemas/list-agents.d.ts.map +1 -0
- package/dist/adapter/schemas/log.d.ts +32 -0
- package/dist/adapter/schemas/log.d.ts.map +1 -0
- package/dist/adapter/schemas/provider-context.d.ts +24 -0
- package/dist/adapter/schemas/provider-context.d.ts.map +1 -0
- package/dist/adapter/schemas/quota.d.ts +23 -0
- package/dist/adapter/schemas/quota.d.ts.map +1 -0
- package/dist/adapter/schemas/rehydrate-agent.d.ts +37 -0
- package/dist/adapter/schemas/rehydrate-agent.d.ts.map +1 -0
- package/dist/adapter/schemas/runtime-options.d.ts +32 -0
- package/dist/adapter/schemas/runtime-options.d.ts.map +1 -0
- package/dist/adapter/schemas/session-closed.d.ts +20 -0
- package/dist/adapter/schemas/session-closed.d.ts.map +1 -0
- package/dist/adapter/schemas/session-created.d.ts +17 -0
- package/dist/adapter/schemas/session-created.d.ts.map +1 -0
- package/dist/adapter/schemas/session-discovered.d.ts +29 -0
- package/dist/adapter/schemas/session-discovered.d.ts.map +1 -0
- package/dist/adapter/schemas/session-lineage.d.ts +62 -0
- package/dist/adapter/schemas/session-lineage.d.ts.map +1 -0
- package/dist/adapter/schemas/session-lineage.mjs +1 -0
- package/dist/adapter/schemas/session-linked.d.ts +26 -0
- package/dist/adapter/schemas/session-linked.d.ts.map +1 -0
- package/dist/adapter/schemas/session-status-changed.d.ts +23 -0
- package/dist/adapter/schemas/session-status-changed.d.ts.map +1 -0
- package/dist/adapter/schemas/session-usage.d.ts +22 -0
- package/dist/adapter/schemas/session-usage.d.ts.map +1 -0
- package/dist/adapter/schemas/start-agent.d.ts +1401 -0
- package/dist/adapter/schemas/start-agent.d.ts.map +1 -0
- package/dist/adapter/schemas/stop-agent.d.ts +20 -0
- package/dist/adapter/schemas/stop-agent.d.ts.map +1 -0
- package/dist/adapter/schemas.d.ts +1608 -0
- package/dist/adapter/schemas.d.ts.map +1 -0
- package/dist/adapter-CbtjTUAe.mjs +1 -0
- package/dist/agent/index.d.ts +11 -0
- package/dist/agent/index.d.ts.map +1 -0
- package/dist/agent/namespace.d.ts +2425 -0
- package/dist/agent/namespace.d.ts.map +1 -0
- package/dist/agent/schemas/base-event.d.ts +19 -0
- package/dist/agent/schemas/base-event.d.ts.map +1 -0
- package/dist/agent/schemas/complete.d.ts +43 -0
- package/dist/agent/schemas/complete.d.ts.map +1 -0
- package/dist/agent/schemas/context-window.d.ts +33 -0
- package/dist/agent/schemas/context-window.d.ts.map +1 -0
- package/dist/agent/schemas/credential-change.d.ts +36 -0
- package/dist/agent/schemas/credential-change.d.ts.map +1 -0
- package/dist/agent/schemas/cwd-change.d.ts +56 -0
- package/dist/agent/schemas/cwd-change.d.ts.map +1 -0
- package/dist/agent/schemas/get-capabilities.d.ts +21 -0
- package/dist/agent/schemas/get-capabilities.d.ts.map +1 -0
- package/dist/agent/schemas/idle.d.ts +27 -0
- package/dist/agent/schemas/idle.d.ts.map +1 -0
- package/dist/agent/schemas/index.d.ts +26 -0
- package/dist/agent/schemas/index.d.ts.map +1 -0
- package/dist/agent/schemas/interrupt.d.ts +32 -0
- package/dist/agent/schemas/interrupt.d.ts.map +1 -0
- package/dist/agent/schemas/mcp-servers-set.d.ts +118 -0
- package/dist/agent/schemas/mcp-servers-set.d.ts.map +1 -0
- package/dist/agent/schemas/message.d.ts +44 -0
- package/dist/agent/schemas/message.d.ts.map +1 -0
- package/dist/agent/schemas/model-change.d.ts +76 -0
- package/dist/agent/schemas/model-change.d.ts.map +1 -0
- package/dist/agent/schemas/model-changed.d.ts +39 -0
- package/dist/agent/schemas/model-changed.d.ts.map +1 -0
- package/dist/agent/schemas/reasoning.d.ts +44 -0
- package/dist/agent/schemas/reasoning.d.ts.map +1 -0
- package/dist/agent/schemas/send-message.d.ts +280 -0
- package/dist/agent/schemas/send-message.d.ts.map +1 -0
- package/dist/agent/schemas/session-closed.d.ts +27 -0
- package/dist/agent/schemas/session-closed.d.ts.map +1 -0
- package/dist/agent/schemas/started.d.ts +38 -0
- package/dist/agent/schemas/started.d.ts.map +1 -0
- package/dist/agent/schemas/step.d.ts +224 -0
- package/dist/agent/schemas/step.d.ts.map +1 -0
- package/dist/agent/schemas/tool-approve.d.ts +46 -0
- package/dist/agent/schemas/tool-approve.d.ts.map +1 -0
- package/dist/agent/schemas/tool.d.ts +96 -0
- package/dist/agent/schemas/tool.d.ts.map +1 -0
- package/dist/agent/schemas/turn.d.ts +126 -0
- package/dist/agent/schemas/turn.d.ts.map +1 -0
- package/dist/agent/schemas/usage.d.ts +52 -0
- package/dist/agent/schemas/usage.d.ts.map +1 -0
- package/dist/agent/schemas/user-message-acknowledged.d.ts +27 -0
- package/dist/agent/schemas/user-message-acknowledged.d.ts.map +1 -0
- package/dist/agent/schemas/user-message-completed.d.ts +43 -0
- package/dist/agent/schemas/user-message-completed.d.ts.map +1 -0
- package/dist/agent/schemas/user-message-sent.d.ts +96 -0
- package/dist/agent/schemas/user-message-sent.d.ts.map +1 -0
- package/dist/agent/schemas/validate-model-change.d.ts +27 -0
- package/dist/agent/schemas/validate-model-change.d.ts.map +1 -0
- package/dist/agent/schemas.d.ts +1238 -0
- package/dist/agent/schemas.d.ts.map +1 -0
- package/dist/agent-resolution/index.d.ts +3 -0
- package/dist/agent-resolution/index.d.ts.map +1 -0
- package/dist/agent-resolution/namespace.d.ts +324 -0
- package/dist/agent-resolution/namespace.d.ts.map +1 -0
- package/dist/agent-resolution/schemas.d.ts +263 -0
- package/dist/agent-resolution/schemas.d.ts.map +1 -0
- package/dist/approval/enriched-policy.d.ts +52 -0
- package/dist/approval/enriched-policy.d.ts.map +1 -0
- package/dist/approval/index.d.ts +6 -0
- package/dist/approval/index.d.ts.map +1 -0
- package/dist/approval/namespace.d.ts +127 -0
- package/dist/approval/namespace.d.ts.map +1 -0
- package/dist/approval/schemas.d.ts +80 -0
- package/dist/approval/schemas.d.ts.map +1 -0
- package/dist/approval/types.d.ts +49 -0
- package/dist/approval/types.d.ts.map +1 -0
- package/dist/canonical-model/index.d.ts +7 -0
- package/dist/canonical-model/index.d.ts.map +1 -0
- package/dist/canonical-model/namespace.d.ts +253 -0
- package/dist/canonical-model/namespace.d.ts.map +1 -0
- package/dist/canonical-model/parser.d.ts +47 -0
- package/dist/canonical-model/parser.d.ts.map +1 -0
- package/dist/canonical-model/schemas.d.ts +244 -0
- package/dist/canonical-model/schemas.d.ts.map +1 -0
- package/dist/canonical-model/selection.d.ts +117 -0
- package/dist/canonical-model/selection.d.ts.map +1 -0
- package/dist/canonical-model/types.d.ts +186 -0
- package/dist/canonical-model/types.d.ts.map +1 -0
- package/dist/capabilities/auto-launch/index.d.ts +3 -0
- package/dist/capabilities/auto-launch/index.d.ts.map +1 -0
- package/dist/capabilities/auto-launch/register.d.ts +11 -0
- package/dist/capabilities/auto-launch/register.d.ts.map +1 -0
- package/dist/capabilities/auto-launch/types.d.ts +38 -0
- package/dist/capabilities/auto-launch/types.d.ts.map +1 -0
- package/dist/capabilities/index.d.ts +15 -0
- package/dist/capabilities/index.d.ts.map +1 -0
- package/dist/capabilities/review/index.d.ts +6 -0
- package/dist/capabilities/review/index.d.ts.map +1 -0
- package/dist/capabilities/review/namespace.d.ts +912 -0
- package/dist/capabilities/review/namespace.d.ts.map +1 -0
- package/dist/capabilities/review/register.d.ts +39 -0
- package/dist/capabilities/review/register.d.ts.map +1 -0
- package/dist/capabilities/review/schemas.d.ts +636 -0
- package/dist/capabilities/review/schemas.d.ts.map +1 -0
- package/dist/capabilities/review/types.d.ts +199 -0
- package/dist/capabilities/review/types.d.ts.map +1 -0
- package/dist/capabilities/server/index.d.ts +3 -0
- package/dist/capabilities/server/index.d.ts.map +1 -0
- package/dist/capabilities/server/register.d.ts +18 -0
- package/dist/capabilities/server/register.d.ts.map +1 -0
- package/dist/capabilities/server/types.d.ts +97 -0
- package/dist/capabilities/server/types.d.ts.map +1 -0
- package/dist/capabilities/vcs/events.d.ts +70 -0
- package/dist/capabilities/vcs/events.d.ts.map +1 -0
- package/dist/capabilities/vcs/index.d.ts +7 -0
- package/dist/capabilities/vcs/index.d.ts.map +1 -0
- package/dist/capabilities/vcs/namespace.d.ts +603 -0
- package/dist/capabilities/vcs/namespace.d.ts.map +1 -0
- package/dist/capabilities/vcs/register.d.ts +21 -0
- package/dist/capabilities/vcs/register.d.ts.map +1 -0
- package/dist/capabilities/vcs/schemas/checks.d.ts +34 -0
- package/dist/capabilities/vcs/schemas/checks.d.ts.map +1 -0
- package/dist/capabilities/vcs/schemas/index.d.ts +372 -0
- package/dist/capabilities/vcs/schemas/index.d.ts.map +1 -0
- package/dist/capabilities/vcs/schemas/pr.d.ts +107 -0
- package/dist/capabilities/vcs/schemas/pr.d.ts.map +1 -0
- package/dist/capabilities/vcs/schemas/repository.d.ts +18 -0
- package/dist/capabilities/vcs/schemas/repository.d.ts.map +1 -0
- package/dist/capabilities/vcs/schemas/review.d.ts +24 -0
- package/dist/capabilities/vcs/schemas/review.d.ts.map +1 -0
- package/dist/capabilities/vcs/schemas/statuses.d.ts +27 -0
- package/dist/capabilities/vcs/schemas/statuses.d.ts.map +1 -0
- package/dist/capabilities/vcs/types.d.ts +216 -0
- package/dist/capabilities/vcs/types.d.ts.map +1 -0
- package/dist/capabilities/vcs-pr/index.d.ts +4 -0
- package/dist/capabilities/vcs-pr/index.d.ts.map +1 -0
- package/dist/capabilities/vcs-pr/namespace.d.ts +1080 -0
- package/dist/capabilities/vcs-pr/namespace.d.ts.map +1 -0
- package/dist/capabilities/vcs-pr/schemas.d.ts +816 -0
- package/dist/capabilities/vcs-pr/schemas.d.ts.map +1 -0
- package/dist/capabilities/vision/index.d.ts +5 -0
- package/dist/capabilities/vision/index.d.ts.map +1 -0
- package/dist/capabilities/vision/namespace.d.ts +25 -0
- package/dist/capabilities/vision/namespace.d.ts.map +1 -0
- package/dist/capabilities/vision/schemas.d.ts +36 -0
- package/dist/capabilities/vision/schemas.d.ts.map +1 -0
- package/dist/capabilities/vision/types.d.ts +19 -0
- package/dist/capabilities/vision/types.d.ts.map +1 -0
- package/dist/capabilities/voice/index.d.ts +7 -0
- package/dist/capabilities/voice/index.d.ts.map +1 -0
- package/dist/capabilities/voice/modes.d.ts +13 -0
- package/dist/capabilities/voice/modes.d.ts.map +1 -0
- package/dist/capabilities/voice/namespace.d.ts +174 -0
- package/dist/capabilities/voice/namespace.d.ts.map +1 -0
- package/dist/capabilities/voice/schemas.d.ts +221 -0
- package/dist/capabilities/voice/schemas.d.ts.map +1 -0
- package/dist/capabilities/voice/types.d.ts +188 -0
- package/dist/capabilities/voice/types.d.ts.map +1 -0
- package/dist/capability/index.d.ts +5 -0
- package/dist/capability/index.d.ts.map +1 -0
- package/dist/capability/namespace.d.ts +69 -0
- package/dist/capability/namespace.d.ts.map +1 -0
- package/dist/capability/schemas.d.ts +135 -0
- package/dist/capability/schemas.d.ts.map +1 -0
- package/dist/capability/types.d.ts +41 -0
- package/dist/capability/types.d.ts.map +1 -0
- package/dist/client/account-identity.d.ts +238 -0
- package/dist/client/account-identity.d.ts.map +1 -0
- package/dist/client/binary-management.d.ts +257 -0
- package/dist/client/binary-management.d.ts.map +1 -0
- package/dist/client/binary-resolution.d.ts +62 -0
- package/dist/client/binary-resolution.d.ts.map +1 -0
- package/dist/client/create-definition.d.ts +16 -0
- package/dist/client/create-definition.d.ts.map +1 -0
- package/dist/client/definition.d.ts +338 -0
- package/dist/client/definition.d.ts.map +1 -0
- package/dist/client/index.d.ts +25 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.mjs +1 -0
- package/dist/client/namespace.d.ts +1188 -0
- package/dist/client/namespace.d.ts.map +1 -0
- package/dist/client/primitives.d.ts +23 -0
- package/dist/client/primitives.d.ts.map +1 -0
- package/dist/client/profile.d.ts +377 -0
- package/dist/client/profile.d.ts.map +1 -0
- package/dist/client/runtime-observation.d.ts +155 -0
- package/dist/client/runtime-observation.d.ts.map +1 -0
- package/dist/client/schemas.d.ts +611 -0
- package/dist/client/schemas.d.ts.map +1 -0
- package/dist/client/session-observed.d.ts +152 -0
- package/dist/client/session-observed.d.ts.map +1 -0
- package/dist/client-DBA09LFd.mjs +1 -0
- package/dist/common/action-intent.d.ts +112 -0
- package/dist/common/action-intent.d.ts.map +1 -0
- package/dist/common/focus-context.d.ts +17 -0
- package/dist/common/focus-context.d.ts.map +1 -0
- package/dist/common/index.d.ts +12 -0
- package/dist/common/index.d.ts.map +1 -0
- package/dist/common/index.mjs +1 -0
- package/dist/common/surface.d.ts +48 -0
- package/dist/common/surface.d.ts.map +1 -0
- package/dist/config/adapter-file.d.ts +41 -0
- package/dist/config/adapter-file.d.ts.map +1 -0
- package/dist/config/adapters-file.d.ts +72 -0
- package/dist/config/adapters-file.d.ts.map +1 -0
- package/dist/config/config-namespace.d.ts +189 -0
- package/dist/config/config-namespace.d.ts.map +1 -0
- package/dist/config/config-schema.d.ts +62 -0
- package/dist/config/config-schema.d.ts.map +1 -0
- package/dist/config/config-subjects.d.ts +126 -0
- package/dist/config/config-subjects.d.ts.map +1 -0
- package/dist/config/credential-ref.d.ts +64 -0
- package/dist/config/credential-ref.d.ts.map +1 -0
- package/dist/config/index.d.ts +10 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.mjs +1 -0
- package/dist/config/provider-config-file.d.ts +40 -0
- package/dist/config/provider-config-file.d.ts.map +1 -0
- package/dist/config/provider-config-name.d.ts +41 -0
- package/dist/config/provider-config-name.d.ts.map +1 -0
- package/dist/config/provider-defaults.d.ts +207 -0
- package/dist/config/provider-defaults.d.ts.map +1 -0
- package/dist/config-namespace-B-nWOYn1.mjs +1 -0
- package/dist/credential/change-sequence.d.ts +13 -0
- package/dist/credential/change-sequence.d.ts.map +1 -0
- package/dist/credential/index.d.ts +8 -0
- package/dist/credential/index.d.ts.map +1 -0
- package/dist/credential/namespace.d.ts +242 -0
- package/dist/credential/namespace.d.ts.map +1 -0
- package/dist/credential-ref-DAVeyQ2h.mjs +1 -0
- package/dist/definition-7C4TvfXk.mjs +1 -0
- package/dist/extension/adapter-definition.d.ts +195 -0
- package/dist/extension/adapter-definition.d.ts.map +1 -0
- package/dist/extension/browser-entrypoint.d.ts +12 -0
- package/dist/extension/browser-entrypoint.d.ts.map +1 -0
- package/dist/extension/capability-token.d.ts +27 -0
- package/dist/extension/capability-token.d.ts.map +1 -0
- package/dist/extension/contribution-manifest.d.ts +568 -0
- package/dist/extension/contribution-manifest.d.ts.map +1 -0
- package/dist/extension/contributions/bootstrap-types.d.ts +118 -0
- package/dist/extension/contributions/bootstrap-types.d.ts.map +1 -0
- package/dist/extension/contributions/hash-trigger-types.d.ts +106 -0
- package/dist/extension/contributions/hash-trigger-types.d.ts.map +1 -0
- package/dist/extension/contributions/index.d.ts +11 -0
- package/dist/extension/contributions/index.d.ts.map +1 -0
- package/dist/extension/contributions/page-types.d.ts +168 -0
- package/dist/extension/contributions/page-types.d.ts.map +1 -0
- package/dist/extension/contributions/session-event-action-types.d.ts +275 -0
- package/dist/extension/contributions/session-event-action-types.d.ts.map +1 -0
- package/dist/extension/contributions/tile-types.d.ts +143 -0
- package/dist/extension/contributions/tile-types.d.ts.map +1 -0
- package/dist/extension/contributions/tool-formatter-types.d.ts +76 -0
- package/dist/extension/contributions/tool-formatter-types.d.ts.map +1 -0
- package/dist/extension/contributions/ui-context-types.d.ts +57 -0
- package/dist/extension/contributions/ui-context-types.d.ts.map +1 -0
- package/dist/extension/contributions/web-ui-types.d.ts +145 -0
- package/dist/extension/contributions/web-ui-types.d.ts.map +1 -0
- package/dist/extension/contributions/widget-types.d.ts +168 -0
- package/dist/extension/contributions/widget-types.d.ts.map +1 -0
- package/dist/extension/extension-cli.d.ts +110 -0
- package/dist/extension/extension-cli.d.ts.map +1 -0
- package/dist/extension/extension-config-provider.d.ts +27 -0
- package/dist/extension/extension-config-provider.d.ts.map +1 -0
- package/dist/extension/extension-context.d.ts +100 -0
- package/dist/extension/extension-context.d.ts.map +1 -0
- package/dist/extension/extension-contributions.d.ts +156 -0
- package/dist/extension/extension-contributions.d.ts.map +1 -0
- package/dist/extension/extension-descriptor.d.ts +413 -0
- package/dist/extension/extension-descriptor.d.ts.map +1 -0
- package/dist/extension/extension-lifecycle.d.ts +46 -0
- package/dist/extension/extension-lifecycle.d.ts.map +1 -0
- package/dist/extension/extension-runtime-boot.d.ts +13 -0
- package/dist/extension/extension-runtime-boot.d.ts.map +1 -0
- package/dist/extension/extension-token.d.ts +27 -0
- package/dist/extension/extension-token.d.ts.map +1 -0
- package/dist/extension/extension-warning.d.ts +128 -0
- package/dist/extension/extension-warning.d.ts.map +1 -0
- package/dist/extension/index.d.ts +27 -0
- package/dist/extension/index.d.ts.map +1 -0
- package/dist/extension/index.mjs +1 -0
- package/dist/extension/makaio-extension.d.ts +324 -0
- package/dist/extension/makaio-extension.d.ts.map +1 -0
- package/dist/extension/manifest.d.ts +624 -0
- package/dist/extension/manifest.d.ts.map +1 -0
- package/dist/extension/parse-extension-config.d.ts +21 -0
- package/dist/extension/parse-extension-config.d.ts.map +1 -0
- package/dist/extension-CfIRUup2.mjs +1 -0
- package/dist/harness/codex-capability-map.d.ts +11 -0
- package/dist/harness/codex-capability-map.d.ts.map +1 -0
- package/dist/harness/defaults.d.ts +12 -0
- package/dist/harness/defaults.d.ts.map +1 -0
- package/dist/harness/expand-capabilities.d.ts +93 -0
- package/dist/harness/expand-capabilities.d.ts.map +1 -0
- package/dist/harness/index.d.ts +8 -0
- package/dist/harness/index.d.ts.map +1 -0
- package/dist/harness/index.mjs +1 -0
- package/dist/harness/namespace.d.ts +1340 -0
- package/dist/harness/namespace.d.ts.map +1 -0
- package/dist/harness/schemas.d.ts +186 -0
- package/dist/harness/schemas.d.ts.map +1 -0
- package/dist/harness-BMzrOThN.mjs +1 -0
- package/dist/host/index.d.ts +4 -0
- package/dist/host/index.d.ts.map +1 -0
- package/dist/host/namespace.d.ts +139 -0
- package/dist/host/namespace.d.ts.map +1 -0
- package/dist/host/schemas.d.ts +199 -0
- package/dist/host/schemas.d.ts.map +1 -0
- package/dist/index.d.ts +62 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +1 -0
- package/dist/mcp/constants.d.ts +8 -0
- package/dist/mcp/constants.d.ts.map +1 -0
- package/dist/mcp/index.d.ts +5 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/namespace.d.ts +323 -0
- package/dist/mcp/namespace.d.ts.map +1 -0
- package/dist/mcp/schemas.d.ts +714 -0
- package/dist/mcp/schemas.d.ts.map +1 -0
- package/dist/model/index.d.ts +2 -0
- package/dist/model/index.d.ts.map +1 -0
- package/dist/model/schemas.d.ts +348 -0
- package/dist/model/schemas.d.ts.map +1 -0
- package/dist/model-registry/index.d.ts +4 -0
- package/dist/model-registry/index.d.ts.map +1 -0
- package/dist/model-registry/namespace.d.ts +29 -0
- package/dist/model-registry/namespace.d.ts.map +1 -0
- package/dist/model-registry/schemas.d.ts +36 -0
- package/dist/model-registry/schemas.d.ts.map +1 -0
- package/dist/namespace-DDYu5H_m.mjs +1 -0
- package/dist/namespace-catalog.d.ts +23 -0
- package/dist/namespace-catalog.d.ts.map +1 -0
- package/dist/native-session-supervisor/index.d.ts +4 -0
- package/dist/native-session-supervisor/index.d.ts.map +1 -0
- package/dist/native-session-supervisor/index.mjs +1 -0
- package/dist/native-session-supervisor/namespace.d.ts +171 -0
- package/dist/native-session-supervisor/namespace.d.ts.map +1 -0
- package/dist/native-session-supervisor/schemas.d.ts +245 -0
- package/dist/native-session-supervisor/schemas.d.ts.map +1 -0
- package/dist/native-session-supervisor-1VBkkmcf.mjs +1 -0
- package/dist/platform/index.d.ts +4 -0
- package/dist/platform/index.d.ts.map +1 -0
- package/dist/platform/namespace.d.ts +60 -0
- package/dist/platform/namespace.d.ts.map +1 -0
- package/dist/platform/schemas.d.ts +67 -0
- package/dist/platform/schemas.d.ts.map +1 -0
- package/dist/profile-Bcegl5D9.mjs +1 -0
- package/dist/protocol/catalog.d.ts +4849 -0
- package/dist/protocol/catalog.d.ts.map +1 -0
- package/dist/protocol/export-manifest-audit-utils.d.ts +38 -0
- package/dist/protocol/export-manifest-audit-utils.d.ts.map +1 -0
- package/dist/protocol/export-manifest-json-utils.d.ts +23 -0
- package/dist/protocol/export-manifest-json-utils.d.ts.map +1 -0
- package/dist/protocol/export-manifest-rust-checker.d.ts +11 -0
- package/dist/protocol/export-manifest-rust-checker.d.ts.map +1 -0
- package/dist/protocol/export-manifest-string-utils.d.ts +18 -0
- package/dist/protocol/export-manifest-string-utils.d.ts.map +1 -0
- package/dist/protocol/index.d.ts +5 -0
- package/dist/protocol/index.d.ts.map +1 -0
- package/dist/protocol/types.d.ts +107 -0
- package/dist/protocol/types.d.ts.map +1 -0
- package/dist/provider/definition.d.ts +155 -0
- package/dist/provider/definition.d.ts.map +1 -0
- package/dist/provider/index.d.ts +3 -0
- package/dist/provider/index.d.ts.map +1 -0
- package/dist/provider/index.mjs +1 -0
- package/dist/provider/visibility.d.ts +37 -0
- package/dist/provider/visibility.d.ts.map +1 -0
- package/dist/schemas-BJb5W0VZ.mjs +1 -0
- package/dist/schemas-BkyMBNp4.mjs +1 -0
- package/dist/session/connector-swap-cancelled-error.d.ts +18 -0
- package/dist/session/connector-swap-cancelled-error.d.ts.map +1 -0
- package/dist/session/connector-swap-warning.d.ts +25 -0
- package/dist/session/connector-swap-warning.d.ts.map +1 -0
- package/dist/session/index.d.ts +36 -0
- package/dist/session/index.d.ts.map +1 -0
- package/dist/session/index.mjs +1 -0
- package/dist/session/message-cursor.d.ts +29 -0
- package/dist/session/message-cursor.d.ts.map +1 -0
- package/dist/session/message-storage-namespace.d.ts +1719 -0
- package/dist/session/message-storage-namespace.d.ts.map +1 -0
- package/dist/session/namespace.d.ts +6921 -0
- package/dist/session/namespace.d.ts.map +1 -0
- package/dist/session/schemas/agent.d.ts +54 -0
- package/dist/session/schemas/agent.d.ts.map +1 -0
- package/dist/session/schemas/compression.d.ts +14 -0
- package/dist/session/schemas/compression.d.ts.map +1 -0
- package/dist/session/schemas/crud.d.ts +743 -0
- package/dist/session/schemas/crud.d.ts.map +1 -0
- package/dist/session/schemas/enrichment.d.ts +47 -0
- package/dist/session/schemas/enrichment.d.ts.map +1 -0
- package/dist/session/schemas/event.d.ts +475 -0
- package/dist/session/schemas/event.d.ts.map +1 -0
- package/dist/session/schemas/events.d.ts +525 -0
- package/dist/session/schemas/events.d.ts.map +1 -0
- package/dist/session/schemas/extension-context.d.ts +79 -0
- package/dist/session/schemas/extension-context.d.ts.map +1 -0
- package/dist/session/schemas/fork-child-info.d.ts +24 -0
- package/dist/session/schemas/fork-child-info.d.ts.map +1 -0
- package/dist/session/schemas/lifecycle-events.d.ts +519 -0
- package/dist/session/schemas/lifecycle-events.d.ts.map +1 -0
- package/dist/session/schemas/message.d.ts +266 -0
- package/dist/session/schemas/message.d.ts.map +1 -0
- package/dist/session/schemas/orchestrator.d.ts +1271 -0
- package/dist/session/schemas/orchestrator.d.ts.map +1 -0
- package/dist/session/schemas/primitives.d.ts +33 -0
- package/dist/session/schemas/primitives.d.ts.map +1 -0
- package/dist/session/schemas/resolve-agent-config.d.ts +171 -0
- package/dist/session/schemas/resolve-agent-config.d.ts.map +1 -0
- package/dist/session/schemas/resolve-system-prompt.d.ts +47 -0
- package/dist/session/schemas/resolve-system-prompt.d.ts.map +1 -0
- package/dist/session/schemas/session.d.ts +226 -0
- package/dist/session/schemas/session.d.ts.map +1 -0
- package/dist/session/schemas/snapshot.d.ts +1852 -0
- package/dist/session/schemas/snapshot.d.ts.map +1 -0
- package/dist/session/schemas.d.ts +3499 -0
- package/dist/session/schemas.d.ts.map +1 -0
- package/dist/session/session-context.d.ts +137 -0
- package/dist/session/session-context.d.ts.map +1 -0
- package/dist/session/session-event-storage-namespace.d.ts +2578 -0
- package/dist/session/session-event-storage-namespace.d.ts.map +1 -0
- package/dist/session/session-storage-namespace.d.ts +1702 -0
- package/dist/session/session-storage-namespace.d.ts.map +1 -0
- package/dist/session/types.d.ts +108 -0
- package/dist/session/types.d.ts.map +1 -0
- package/dist/session/utils/branch-kind.d.ts +89 -0
- package/dist/session/utils/branch-kind.d.ts.map +1 -0
- package/dist/session/utils/index.d.ts +3 -0
- package/dist/session/utils/index.d.ts.map +1 -0
- package/dist/session-dXeBGwBr.mjs +1 -0
- package/dist/shared/index.d.ts +495 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.mjs +1 -0
- package/dist/shared/json-value.d.ts +38 -0
- package/dist/shared/json-value.d.ts.map +1 -0
- package/dist/shared/ui-config.d.ts +197 -0
- package/dist/shared/ui-config.d.ts.map +1 -0
- package/dist/shared-CE23KND3.mjs +1 -0
- package/dist/skill/index.d.ts +5 -0
- package/dist/skill/index.d.ts.map +1 -0
- package/dist/skill/index.mjs +1 -0
- package/dist/skill/namespace.d.ts +279 -0
- package/dist/skill/namespace.d.ts.map +1 -0
- package/dist/skill/schemas.d.ts +372 -0
- package/dist/skill/schemas.d.ts.map +1 -0
- package/dist/skill/storage-namespace.d.ts +391 -0
- package/dist/skill/storage-namespace.d.ts.map +1 -0
- package/dist/skill/types.d.ts +27 -0
- package/dist/skill/types.d.ts.map +1 -0
- package/dist/skill-DWpt3u5u.mjs +1 -0
- package/dist/storage-namespace-definition-ce8s152w.mjs +1 -0
- package/dist/storage-namespace-definition.d.ts +24 -0
- package/dist/storage-namespace-definition.d.ts.map +1 -0
- package/dist/subagent/errors.d.ts +24 -0
- package/dist/subagent/errors.d.ts.map +1 -0
- package/dist/subagent/index.d.ts +5 -0
- package/dist/subagent/index.d.ts.map +1 -0
- package/dist/subagent/namespace.d.ts +886 -0
- package/dist/subagent/namespace.d.ts.map +1 -0
- package/dist/subagent/schemas.d.ts +308 -0
- package/dist/subagent/schemas.d.ts.map +1 -0
- package/dist/timeout/index.d.ts +3 -0
- package/dist/timeout/index.d.ts.map +1 -0
- package/dist/timeout/schemas.d.ts +25 -0
- package/dist/timeout/schemas.d.ts.map +1 -0
- package/dist/toast/index.d.ts +4 -0
- package/dist/toast/index.d.ts.map +1 -0
- package/dist/toast/index.mjs +1 -0
- package/dist/toast/namespace.d.ts +79 -0
- package/dist/toast/namespace.d.ts.map +1 -0
- package/dist/toast/schemas.d.ts +121 -0
- package/dist/toast/schemas.d.ts.map +1 -0
- package/dist/tool/adapter-identity.d.ts +44 -0
- package/dist/tool/adapter-identity.d.ts.map +1 -0
- package/dist/tool/index.d.ts +6 -0
- package/dist/tool/index.d.ts.map +1 -0
- package/dist/tool/namespace.d.ts +203 -0
- package/dist/tool/namespace.d.ts.map +1 -0
- package/dist/tool/schemas.d.ts +260 -0
- package/dist/tool/schemas.d.ts.map +1 -0
- package/dist/tool-capability/capabilities.d.ts +83 -0
- package/dist/tool-capability/capabilities.d.ts.map +1 -0
- package/dist/tool-capability/index.d.ts +8 -0
- package/dist/tool-capability/index.d.ts.map +1 -0
- package/dist/tool-capability/picker-types.d.ts +55 -0
- package/dist/tool-capability/picker-types.d.ts.map +1 -0
- package/dist/ui-config-C1F4oDus.mjs +1 -0
- package/dist/variant/index.d.ts +4 -0
- package/dist/variant/index.d.ts.map +1 -0
- package/dist/variant/namespace.d.ts +95 -0
- package/dist/variant/namespace.d.ts.map +1 -0
- package/dist/variant/schemas.d.ts +129 -0
- package/dist/variant/schemas.d.ts.map +1 -0
- package/dist/version/index.d.ts +2 -0
- package/dist/version/index.d.ts.map +1 -0
- package/dist/version/primitives.d.ts +37 -0
- package/dist/version/primitives.d.ts.map +1 -0
- package/dist/version-u2rO7guD.mjs +1 -0
- package/dist/visibility-D4i0fywT.mjs +1 -0
- package/dist/workflow/index.d.ts +4 -0
- package/dist/workflow/index.d.ts.map +1 -0
- package/dist/workflow/schemas.d.ts +444 -0
- package/dist/workflow/schemas.d.ts.map +1 -0
- package/dist/workflow/trigger-type-registry.d.ts +53 -0
- package/dist/workflow/trigger-type-registry.d.ts.map +1 -0
- package/package.json +134 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Zod schema for a CI/CD check run.
|
|
4
|
+
*
|
|
5
|
+
* Represents the status of a CI/CD pipeline or workflow check.
|
|
6
|
+
*/
|
|
7
|
+
export declare const VCSCheckRunSchema: z.ZodObject<{
|
|
8
|
+
id: z.ZodNumber;
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
status: z.ZodEnum<{
|
|
11
|
+
completed: "completed";
|
|
12
|
+
in_progress: "in_progress";
|
|
13
|
+
queued: "queued";
|
|
14
|
+
}>;
|
|
15
|
+
conclusion: z.ZodNullable<z.ZodEnum<{
|
|
16
|
+
action_required: "action_required";
|
|
17
|
+
cancelled: "cancelled";
|
|
18
|
+
failure: "failure";
|
|
19
|
+
neutral: "neutral";
|
|
20
|
+
skipped: "skipped";
|
|
21
|
+
success: "success";
|
|
22
|
+
timed_out: "timed_out";
|
|
23
|
+
}>>;
|
|
24
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
25
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
26
|
+
url: z.ZodString;
|
|
27
|
+
workflowName: z.ZodOptional<z.ZodString>;
|
|
28
|
+
jobName: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
/**
|
|
31
|
+
* Inferred TypeScript type for VCS check runs.
|
|
32
|
+
*/
|
|
33
|
+
export type VCSCheckRun = z.infer<typeof VCSCheckRunSchema>;
|
|
34
|
+
//# sourceMappingURL=checks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checks.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/vcs/schemas/checks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;iBAqB5B,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export { VCSRepositorySchema } from './repository.js';
|
|
3
|
+
export type { VCSRepository } from './repository.js';
|
|
4
|
+
export { VCSPullRequestDetailSchema, VCSPullRequestSchema, VCSReviewSchema } from './pr.js';
|
|
5
|
+
export type { VCSPullRequest, VCSPullRequestDetail, VCSReview } from './pr.js';
|
|
6
|
+
export { VCSCheckRunSchema } from './checks.js';
|
|
7
|
+
export type { VCSCheckRun } from './checks.js';
|
|
8
|
+
export { VCSCommitStatusSchema } from './statuses.js';
|
|
9
|
+
export type { VCSCommitStatus } from './statuses.js';
|
|
10
|
+
export { VCSReviewCommentSchema } from './review.js';
|
|
11
|
+
export type { VCSReviewComment } from './review.js';
|
|
12
|
+
/**
|
|
13
|
+
* VCS capability schemas for bus subjects.
|
|
14
|
+
*
|
|
15
|
+
* Defines the request/response shapes for all VCS operations
|
|
16
|
+
* that can be invoked via the MakaioBus.
|
|
17
|
+
*/
|
|
18
|
+
export declare const VCSSchemas: {
|
|
19
|
+
/**
|
|
20
|
+
* Get repository information for a given path.
|
|
21
|
+
*
|
|
22
|
+
* Subject: `vcs.repository.get`
|
|
23
|
+
* Type: Request (RPC)
|
|
24
|
+
*/
|
|
25
|
+
'repository.get': {
|
|
26
|
+
request: z.ZodObject<{
|
|
27
|
+
repoPath: z.ZodString;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
response: z.ZodObject<{
|
|
30
|
+
repository: z.ZodNullable<z.ZodObject<{
|
|
31
|
+
provider: z.ZodString;
|
|
32
|
+
owner: z.ZodString;
|
|
33
|
+
repo: z.ZodString;
|
|
34
|
+
url: z.ZodString;
|
|
35
|
+
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* List pull requests for a repository branch.
|
|
41
|
+
*
|
|
42
|
+
* Subject: `vcs.pr.list`
|
|
43
|
+
* Type: Request (RPC)
|
|
44
|
+
*/
|
|
45
|
+
'pr.list': {
|
|
46
|
+
request: z.ZodObject<{
|
|
47
|
+
repoPath: z.ZodString;
|
|
48
|
+
branch: z.ZodString;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
response: z.ZodObject<{
|
|
51
|
+
pullRequests: z.ZodArray<z.ZodObject<{
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
number: z.ZodNumber;
|
|
54
|
+
title: z.ZodString;
|
|
55
|
+
state: z.ZodEnum<{
|
|
56
|
+
closed: "closed";
|
|
57
|
+
merged: "merged";
|
|
58
|
+
open: "open";
|
|
59
|
+
}>;
|
|
60
|
+
draft: z.ZodBoolean;
|
|
61
|
+
author: z.ZodString;
|
|
62
|
+
branch: z.ZodString;
|
|
63
|
+
baseBranch: z.ZodString;
|
|
64
|
+
url: z.ZodString;
|
|
65
|
+
createdAt: z.ZodString;
|
|
66
|
+
updatedAt: z.ZodString;
|
|
67
|
+
mergedAt: z.ZodNullable<z.ZodString>;
|
|
68
|
+
head: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
69
|
+
ref: z.ZodString;
|
|
70
|
+
sha: z.ZodString;
|
|
71
|
+
}, z.core.$strip>>>;
|
|
72
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
commentCount: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
reviewCount: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
}, z.core.$strip>>;
|
|
78
|
+
}, z.core.$strip>;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Get detailed information about a specific pull request.
|
|
82
|
+
*
|
|
83
|
+
* Subject: `vcs.pr.get`
|
|
84
|
+
* Type: Request (RPC)
|
|
85
|
+
*/
|
|
86
|
+
'pr.get': {
|
|
87
|
+
request: z.ZodObject<{
|
|
88
|
+
repoPath: z.ZodString;
|
|
89
|
+
prNumber: z.ZodNumber;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
response: z.ZodObject<{
|
|
92
|
+
pullRequest: z.ZodNullable<z.ZodObject<{
|
|
93
|
+
id: z.ZodString;
|
|
94
|
+
number: z.ZodNumber;
|
|
95
|
+
title: z.ZodString;
|
|
96
|
+
state: z.ZodEnum<{
|
|
97
|
+
closed: "closed";
|
|
98
|
+
merged: "merged";
|
|
99
|
+
open: "open";
|
|
100
|
+
}>;
|
|
101
|
+
draft: z.ZodBoolean;
|
|
102
|
+
author: z.ZodString;
|
|
103
|
+
branch: z.ZodString;
|
|
104
|
+
baseBranch: z.ZodString;
|
|
105
|
+
url: z.ZodString;
|
|
106
|
+
createdAt: z.ZodString;
|
|
107
|
+
updatedAt: z.ZodString;
|
|
108
|
+
mergedAt: z.ZodNullable<z.ZodString>;
|
|
109
|
+
head: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
110
|
+
ref: z.ZodString;
|
|
111
|
+
sha: z.ZodString;
|
|
112
|
+
}, z.core.$strip>>>;
|
|
113
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
115
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
commentCount: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
reviewCount: z.ZodOptional<z.ZodNumber>;
|
|
118
|
+
body: z.ZodNullable<z.ZodString>;
|
|
119
|
+
reviews: z.ZodArray<z.ZodObject<{
|
|
120
|
+
id: z.ZodNumber;
|
|
121
|
+
author: z.ZodString;
|
|
122
|
+
state: z.ZodEnum<{
|
|
123
|
+
APPROVED: "APPROVED";
|
|
124
|
+
CHANGES_REQUESTED: "CHANGES_REQUESTED";
|
|
125
|
+
COMMENTED: "COMMENTED";
|
|
126
|
+
DISMISSED: "DISMISSED";
|
|
127
|
+
PENDING: "PENDING";
|
|
128
|
+
}>;
|
|
129
|
+
body: z.ZodNullable<z.ZodString>;
|
|
130
|
+
submittedAt: z.ZodNullable<z.ZodString>;
|
|
131
|
+
}, z.core.$strip>>;
|
|
132
|
+
labels: z.ZodArray<z.ZodString>;
|
|
133
|
+
assignees: z.ZodArray<z.ZodString>;
|
|
134
|
+
requestedReviewers: z.ZodArray<z.ZodString>;
|
|
135
|
+
mergeable: z.ZodNullable<z.ZodBoolean>;
|
|
136
|
+
mergeableState: z.ZodOptional<z.ZodString>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
}, z.core.$strip>;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* List PRs affecting a specific file.
|
|
142
|
+
*
|
|
143
|
+
* Subject: `vcs.pr.listForFile`
|
|
144
|
+
* Type: Request (RPC)
|
|
145
|
+
*/
|
|
146
|
+
'pr.listForFile': {
|
|
147
|
+
request: z.ZodObject<{
|
|
148
|
+
repoPath: z.ZodString;
|
|
149
|
+
filePath: z.ZodString;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
response: z.ZodObject<{
|
|
152
|
+
pullRequests: z.ZodArray<z.ZodObject<{
|
|
153
|
+
id: z.ZodString;
|
|
154
|
+
number: z.ZodNumber;
|
|
155
|
+
title: z.ZodString;
|
|
156
|
+
state: z.ZodEnum<{
|
|
157
|
+
closed: "closed";
|
|
158
|
+
merged: "merged";
|
|
159
|
+
open: "open";
|
|
160
|
+
}>;
|
|
161
|
+
draft: z.ZodBoolean;
|
|
162
|
+
author: z.ZodString;
|
|
163
|
+
branch: z.ZodString;
|
|
164
|
+
baseBranch: z.ZodString;
|
|
165
|
+
url: z.ZodString;
|
|
166
|
+
createdAt: z.ZodString;
|
|
167
|
+
updatedAt: z.ZodString;
|
|
168
|
+
mergedAt: z.ZodNullable<z.ZodString>;
|
|
169
|
+
head: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
170
|
+
ref: z.ZodString;
|
|
171
|
+
sha: z.ZodString;
|
|
172
|
+
}, z.core.$strip>>>;
|
|
173
|
+
}, z.core.$strip>>;
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Get CI/CD check runs for a commit.
|
|
178
|
+
*
|
|
179
|
+
* Subject: `vcs.checks.get`
|
|
180
|
+
* Type: Request (RPC)
|
|
181
|
+
*/
|
|
182
|
+
'checks.get': {
|
|
183
|
+
request: z.ZodObject<{
|
|
184
|
+
repoPath: z.ZodString;
|
|
185
|
+
commitSha: z.ZodString;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
response: z.ZodObject<{
|
|
188
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
189
|
+
id: z.ZodNumber;
|
|
190
|
+
name: z.ZodString;
|
|
191
|
+
status: z.ZodEnum<{
|
|
192
|
+
completed: "completed";
|
|
193
|
+
in_progress: "in_progress";
|
|
194
|
+
queued: "queued";
|
|
195
|
+
}>;
|
|
196
|
+
conclusion: z.ZodNullable<z.ZodEnum<{
|
|
197
|
+
action_required: "action_required";
|
|
198
|
+
cancelled: "cancelled";
|
|
199
|
+
failure: "failure";
|
|
200
|
+
neutral: "neutral";
|
|
201
|
+
skipped: "skipped";
|
|
202
|
+
success: "success";
|
|
203
|
+
timed_out: "timed_out";
|
|
204
|
+
}>>;
|
|
205
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
206
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
207
|
+
url: z.ZodString;
|
|
208
|
+
workflowName: z.ZodOptional<z.ZodString>;
|
|
209
|
+
jobName: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, z.core.$strip>>;
|
|
211
|
+
}, z.core.$strip>;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Get commit statuses for a commit (legacy status API).
|
|
215
|
+
*
|
|
216
|
+
* Subject: `vcs.statuses.get`
|
|
217
|
+
* Type: Request (RPC)
|
|
218
|
+
*/
|
|
219
|
+
'statuses.get': {
|
|
220
|
+
request: z.ZodObject<{
|
|
221
|
+
repoPath: z.ZodString;
|
|
222
|
+
commitSha: z.ZodString;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
response: z.ZodObject<{
|
|
225
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
226
|
+
id: z.ZodNumber;
|
|
227
|
+
state: z.ZodEnum<{
|
|
228
|
+
error: "error";
|
|
229
|
+
failure: "failure";
|
|
230
|
+
pending: "pending";
|
|
231
|
+
success: "success";
|
|
232
|
+
}>;
|
|
233
|
+
description: z.ZodNullable<z.ZodString>;
|
|
234
|
+
targetUrl: z.ZodNullable<z.ZodString>;
|
|
235
|
+
context: z.ZodString;
|
|
236
|
+
createdAt: z.ZodString;
|
|
237
|
+
updatedAt: z.ZodString;
|
|
238
|
+
creator: z.ZodNullable<z.ZodString>;
|
|
239
|
+
}, z.core.$strip>>;
|
|
240
|
+
}, z.core.$strip>;
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
243
|
+
* Get review comments for a pull request.
|
|
244
|
+
*
|
|
245
|
+
* Subject: `vcs.comments.list`
|
|
246
|
+
* Type: Request (RPC)
|
|
247
|
+
*/
|
|
248
|
+
'comments.list': {
|
|
249
|
+
request: z.ZodObject<{
|
|
250
|
+
repoPath: z.ZodString;
|
|
251
|
+
prNumber: z.ZodNumber;
|
|
252
|
+
}, z.core.$strip>;
|
|
253
|
+
response: z.ZodObject<{
|
|
254
|
+
comments: z.ZodArray<z.ZodObject<{
|
|
255
|
+
id: z.ZodNumber;
|
|
256
|
+
author: z.ZodString;
|
|
257
|
+
body: z.ZodString;
|
|
258
|
+
path: z.ZodNullable<z.ZodString>;
|
|
259
|
+
line: z.ZodNullable<z.ZodNumber>;
|
|
260
|
+
diffHunk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
|
+
createdAt: z.ZodString;
|
|
262
|
+
updatedAt: z.ZodString;
|
|
263
|
+
inReplyToId: z.ZodNullable<z.ZodNumber>;
|
|
264
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
|
+
isResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
266
|
+
}, z.core.$strip>>;
|
|
267
|
+
}, z.core.$strip>;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Reply to an existing review comment.
|
|
271
|
+
*
|
|
272
|
+
* Subject: `vcs.comments.reply`
|
|
273
|
+
* Type: Request (RPC)
|
|
274
|
+
*/
|
|
275
|
+
'comments.reply': {
|
|
276
|
+
request: z.ZodObject<{
|
|
277
|
+
repoPath: z.ZodString;
|
|
278
|
+
prNumber: z.ZodNumber;
|
|
279
|
+
commentId: z.ZodNumber;
|
|
280
|
+
body: z.ZodString;
|
|
281
|
+
}, z.core.$strip>;
|
|
282
|
+
response: z.ZodObject<{
|
|
283
|
+
comment: z.ZodObject<{
|
|
284
|
+
id: z.ZodNumber;
|
|
285
|
+
author: z.ZodString;
|
|
286
|
+
body: z.ZodString;
|
|
287
|
+
path: z.ZodNullable<z.ZodString>;
|
|
288
|
+
line: z.ZodNullable<z.ZodNumber>;
|
|
289
|
+
diffHunk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
290
|
+
createdAt: z.ZodString;
|
|
291
|
+
updatedAt: z.ZodString;
|
|
292
|
+
inReplyToId: z.ZodNullable<z.ZodNumber>;
|
|
293
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
294
|
+
isResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* Post a new inline comment on a file:line.
|
|
300
|
+
*
|
|
301
|
+
* Subject: `vcs.comments.create`
|
|
302
|
+
* Type: Request (RPC)
|
|
303
|
+
*/
|
|
304
|
+
'comments.create': {
|
|
305
|
+
request: z.ZodObject<{
|
|
306
|
+
repoPath: z.ZodString;
|
|
307
|
+
prNumber: z.ZodNumber;
|
|
308
|
+
path: z.ZodString;
|
|
309
|
+
line: z.ZodNumber;
|
|
310
|
+
commitId: z.ZodString;
|
|
311
|
+
body: z.ZodString;
|
|
312
|
+
side: z.ZodOptional<z.ZodEnum<{
|
|
313
|
+
LEFT: "LEFT";
|
|
314
|
+
RIGHT: "RIGHT";
|
|
315
|
+
}>>;
|
|
316
|
+
}, z.core.$strip>;
|
|
317
|
+
response: z.ZodObject<{
|
|
318
|
+
comment: z.ZodObject<{
|
|
319
|
+
id: z.ZodNumber;
|
|
320
|
+
author: z.ZodString;
|
|
321
|
+
body: z.ZodString;
|
|
322
|
+
path: z.ZodNullable<z.ZodString>;
|
|
323
|
+
line: z.ZodNullable<z.ZodNumber>;
|
|
324
|
+
diffHunk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
325
|
+
createdAt: z.ZodString;
|
|
326
|
+
updatedAt: z.ZodString;
|
|
327
|
+
inReplyToId: z.ZodNullable<z.ZodNumber>;
|
|
328
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
|
+
isResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
330
|
+
}, z.core.$strip>;
|
|
331
|
+
}, z.core.$strip>;
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* Resolve a review thread.
|
|
335
|
+
*
|
|
336
|
+
* Subject: `vcs.comments.resolveThread`
|
|
337
|
+
* Type: Request (RPC)
|
|
338
|
+
*/
|
|
339
|
+
'comments.resolveThread': {
|
|
340
|
+
request: z.ZodObject<{
|
|
341
|
+
repoPath: z.ZodString;
|
|
342
|
+
prNumber: z.ZodNumber;
|
|
343
|
+
threadId: z.ZodString;
|
|
344
|
+
}, z.core.$strip>;
|
|
345
|
+
response: z.ZodObject<{
|
|
346
|
+
success: z.ZodBoolean;
|
|
347
|
+
}, z.core.$strip>;
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* Get write capability level for current user.
|
|
351
|
+
*
|
|
352
|
+
* Subject: `vcs.capability.write`
|
|
353
|
+
* Type: Request (RPC)
|
|
354
|
+
*/
|
|
355
|
+
'capability.write': {
|
|
356
|
+
request: z.ZodObject<{
|
|
357
|
+
repoPath: z.ZodString;
|
|
358
|
+
}, z.core.$strip>;
|
|
359
|
+
response: z.ZodObject<{
|
|
360
|
+
canWrite: z.ZodBoolean;
|
|
361
|
+
level: z.ZodEnum<{
|
|
362
|
+
admin: "admin";
|
|
363
|
+
maintain: "maintain";
|
|
364
|
+
none: "none";
|
|
365
|
+
read: "read";
|
|
366
|
+
triage: "triage";
|
|
367
|
+
write: "write";
|
|
368
|
+
}>;
|
|
369
|
+
}, z.core.$strip>;
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/vcs/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC5F,YAAY,EAAE,cAAc,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AA0CpD;;;;;GAKG;AACH,eAAO,MAAM,UAAU;IACrB;;;;;OAKG;;;;;;;;;;;;;;;IAoBH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAcH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8BH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAcH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4BH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;IAcH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;IAcH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;IAkBH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwBH;;;;;OAKG;;;;;;;;;;;IAgBH;;;;;OAKG;;;;;;;;;;;;;;;;;CAamB,CAAC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Zod schema for a pull request summary.
|
|
4
|
+
*
|
|
5
|
+
* Contains essential information about a PR for list views.
|
|
6
|
+
*/
|
|
7
|
+
export declare const VCSPullRequestSchema: z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
number: z.ZodNumber;
|
|
10
|
+
title: z.ZodString;
|
|
11
|
+
state: z.ZodEnum<{
|
|
12
|
+
closed: "closed";
|
|
13
|
+
merged: "merged";
|
|
14
|
+
open: "open";
|
|
15
|
+
}>;
|
|
16
|
+
draft: z.ZodBoolean;
|
|
17
|
+
author: z.ZodString;
|
|
18
|
+
branch: z.ZodString;
|
|
19
|
+
baseBranch: z.ZodString;
|
|
20
|
+
url: z.ZodString;
|
|
21
|
+
createdAt: z.ZodString;
|
|
22
|
+
updatedAt: z.ZodString;
|
|
23
|
+
mergedAt: z.ZodNullable<z.ZodString>;
|
|
24
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
commentCount: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
reviewCount: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
head: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
ref: z.ZodString;
|
|
31
|
+
sha: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
/**
|
|
35
|
+
* Zod schema for a review within a PR.
|
|
36
|
+
*/
|
|
37
|
+
export declare const VCSReviewSchema: z.ZodObject<{
|
|
38
|
+
id: z.ZodNumber;
|
|
39
|
+
author: z.ZodString;
|
|
40
|
+
state: z.ZodEnum<{
|
|
41
|
+
APPROVED: "APPROVED";
|
|
42
|
+
CHANGES_REQUESTED: "CHANGES_REQUESTED";
|
|
43
|
+
COMMENTED: "COMMENTED";
|
|
44
|
+
DISMISSED: "DISMISSED";
|
|
45
|
+
PENDING: "PENDING";
|
|
46
|
+
}>;
|
|
47
|
+
body: z.ZodNullable<z.ZodString>;
|
|
48
|
+
submittedAt: z.ZodNullable<z.ZodString>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
/**
|
|
51
|
+
* Zod schema for detailed pull request information.
|
|
52
|
+
*
|
|
53
|
+
* Extends the summary with additional details for PR detail views.
|
|
54
|
+
*/
|
|
55
|
+
export declare const VCSPullRequestDetailSchema: z.ZodObject<{
|
|
56
|
+
id: z.ZodString;
|
|
57
|
+
number: z.ZodNumber;
|
|
58
|
+
title: z.ZodString;
|
|
59
|
+
state: z.ZodEnum<{
|
|
60
|
+
closed: "closed";
|
|
61
|
+
merged: "merged";
|
|
62
|
+
open: "open";
|
|
63
|
+
}>;
|
|
64
|
+
draft: z.ZodBoolean;
|
|
65
|
+
author: z.ZodString;
|
|
66
|
+
branch: z.ZodString;
|
|
67
|
+
baseBranch: z.ZodString;
|
|
68
|
+
url: z.ZodString;
|
|
69
|
+
createdAt: z.ZodString;
|
|
70
|
+
updatedAt: z.ZodString;
|
|
71
|
+
mergedAt: z.ZodNullable<z.ZodString>;
|
|
72
|
+
additions: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
deletions: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
commentCount: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
reviewCount: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
head: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
78
|
+
ref: z.ZodString;
|
|
79
|
+
sha: z.ZodString;
|
|
80
|
+
}, z.core.$strip>>>;
|
|
81
|
+
body: z.ZodNullable<z.ZodString>;
|
|
82
|
+
reviews: z.ZodArray<z.ZodObject<{
|
|
83
|
+
id: z.ZodNumber;
|
|
84
|
+
author: z.ZodString;
|
|
85
|
+
state: z.ZodEnum<{
|
|
86
|
+
APPROVED: "APPROVED";
|
|
87
|
+
CHANGES_REQUESTED: "CHANGES_REQUESTED";
|
|
88
|
+
COMMENTED: "COMMENTED";
|
|
89
|
+
DISMISSED: "DISMISSED";
|
|
90
|
+
PENDING: "PENDING";
|
|
91
|
+
}>;
|
|
92
|
+
body: z.ZodNullable<z.ZodString>;
|
|
93
|
+
submittedAt: z.ZodNullable<z.ZodString>;
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
labels: z.ZodArray<z.ZodString>;
|
|
96
|
+
assignees: z.ZodArray<z.ZodString>;
|
|
97
|
+
requestedReviewers: z.ZodArray<z.ZodString>;
|
|
98
|
+
mergeable: z.ZodNullable<z.ZodBoolean>;
|
|
99
|
+
mergeableState: z.ZodOptional<z.ZodString>;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
/**
|
|
102
|
+
* Inferred TypeScript types.
|
|
103
|
+
*/
|
|
104
|
+
export type VCSPullRequest = z.infer<typeof VCSPullRequestSchema>;
|
|
105
|
+
export type VCSReview = z.infer<typeof VCSReviewSchema>;
|
|
106
|
+
export type VCSPullRequestDetail = z.infer<typeof VCSPullRequestDetailSchema>;
|
|
107
|
+
//# sourceMappingURL=pr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pr.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/vcs/schemas/pr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4C/B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;iBAW1B,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAerC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Zod schema for VCS repository information.
|
|
4
|
+
*
|
|
5
|
+
* Represents a source control repository with its metadata.
|
|
6
|
+
*/
|
|
7
|
+
export declare const VCSRepositorySchema: z.ZodObject<{
|
|
8
|
+
provider: z.ZodString;
|
|
9
|
+
owner: z.ZodString;
|
|
10
|
+
repo: z.ZodString;
|
|
11
|
+
url: z.ZodString;
|
|
12
|
+
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
/**
|
|
15
|
+
* Inferred TypeScript type for VCS repository.
|
|
16
|
+
*/
|
|
17
|
+
export type VCSRepository = z.infer<typeof VCSRepositorySchema>;
|
|
18
|
+
//# sourceMappingURL=repository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/vcs/schemas/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;iBAW9B,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Zod schema for a review comment on code.
|
|
4
|
+
*
|
|
5
|
+
* Represents inline comments made during code review.
|
|
6
|
+
*/
|
|
7
|
+
export declare const VCSReviewCommentSchema: z.ZodObject<{
|
|
8
|
+
id: z.ZodNumber;
|
|
9
|
+
author: z.ZodString;
|
|
10
|
+
body: z.ZodString;
|
|
11
|
+
path: z.ZodNullable<z.ZodString>;
|
|
12
|
+
line: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
diffHunk: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
createdAt: z.ZodString;
|
|
15
|
+
updatedAt: z.ZodString;
|
|
16
|
+
inReplyToId: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
isResolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
/**
|
|
21
|
+
* Inferred TypeScript type for VCS review comments.
|
|
22
|
+
*/
|
|
23
|
+
export type VCSReviewComment = z.infer<typeof VCSReviewCommentSchema>;
|
|
24
|
+
//# sourceMappingURL=review.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/vcs/schemas/review.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;iBAuBjC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Zod schema for a commit status from the legacy status API.
|
|
4
|
+
*
|
|
5
|
+
* Represents external tool statuses (CodeRabbit, CI systems) reported via
|
|
6
|
+
* the commit status API rather than the check runs API.
|
|
7
|
+
*/
|
|
8
|
+
export declare const VCSCommitStatusSchema: z.ZodObject<{
|
|
9
|
+
id: z.ZodNumber;
|
|
10
|
+
state: z.ZodEnum<{
|
|
11
|
+
error: "error";
|
|
12
|
+
failure: "failure";
|
|
13
|
+
pending: "pending";
|
|
14
|
+
success: "success";
|
|
15
|
+
}>;
|
|
16
|
+
description: z.ZodNullable<z.ZodString>;
|
|
17
|
+
targetUrl: z.ZodNullable<z.ZodString>;
|
|
18
|
+
context: z.ZodString;
|
|
19
|
+
createdAt: z.ZodString;
|
|
20
|
+
updatedAt: z.ZodString;
|
|
21
|
+
creator: z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
/**
|
|
24
|
+
* Inferred TypeScript type for VCS commit statuses.
|
|
25
|
+
*/
|
|
26
|
+
export type VCSCommitStatus = z.infer<typeof VCSCommitStatusSchema>;
|
|
27
|
+
//# sourceMappingURL=statuses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statuses.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/vcs/schemas/statuses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;iBAiBhC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|