@shipfox/api-agent-access-dto 21.0.0 → 21.2.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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-type.log +0 -1
- package/CHANGELOG.md +19 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas/diagnostic-tools.d.ts +3 -1
- package/dist/schemas/diagnostic-tools.d.ts.map +1 -1
- package/dist/schemas/diagnostic-tools.js +7 -8
- package/dist/schemas/diagnostic-tools.js.map +1 -1
- package/dist/schemas/log-tools.d.ts +215 -0
- package/dist/schemas/log-tools.d.ts.map +1 -0
- package/dist/schemas/log-tools.js +224 -0
- package/dist/schemas/log-tools.js.map +1 -0
- package/dist/schemas/paged-tools.d.ts.map +1 -1
- package/dist/schemas/paged-tools.js +1 -6
- package/dist/schemas/paged-tools.js.map +1 -1
- package/dist/schemas/primitives.d.ts +5 -0
- package/dist/schemas/primitives.d.ts.map +1 -0
- package/dist/schemas/primitives.js +9 -0
- package/dist/schemas/primitives.js.map +1 -0
- package/dist/schemas/workflow-diagnostics.d.ts +862 -0
- package/dist/schemas/workflow-diagnostics.d.ts.map +1 -0
- package/dist/schemas/workflow-diagnostics.js +876 -0
- package/dist/schemas/workflow-diagnostics.js.map +1 -0
- package/dist/schemas/workflow-execution-events.d.ts +272 -0
- package/dist/schemas/workflow-execution-events.d.ts.map +1 -0
- package/dist/schemas/workflow-execution-events.js +250 -0
- package/dist/schemas/workflow-execution-events.js.map +1 -0
- package/dist/schemas/workflow-tools.d.ts +1305 -0
- package/dist/schemas/workflow-tools.d.ts.map +1 -0
- package/dist/schemas/workflow-tools.js +938 -0
- package/dist/schemas/workflow-tools.js.map +1 -0
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +3 -2
- package/src/index.ts +113 -0
- package/src/schemas/diagnostic-tools.test.ts +43 -0
- package/src/schemas/diagnostic-tools.ts +12 -14
- package/src/schemas/log-tools.ts +209 -0
- package/src/schemas/paged-tools.ts +1 -10
- package/src/schemas/primitives.ts +14 -0
- package/src/schemas/workflow-diagnostics.test.ts +277 -0
- package/src/schemas/workflow-diagnostics.ts +693 -0
- package/src/schemas/workflow-execution-events.test.ts +126 -0
- package/src/schemas/workflow-execution-events.ts +217 -0
- package/src/schemas/workflow-tools.test.ts +202 -0
- package/src/schemas/workflow-tools.ts +738 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/schemas/workflow-tools.ts"],"sourcesContent":["import {z} from 'zod';\nimport type {AgentAccessObjectSchema} from './envelope.js';\nimport {AGENT_ACCESS_PAGE_LIMIT_MAX, AGENT_ACCESS_TEXT_MAX_BYTES} from './paged-tools.js';\nimport {dateTimeSchema, idSchema, utf8CappedString} from './primitives.js';\n\nexport const AGENT_ACCESS_WORKFLOW_ATTEMPT_MAX = 2_147_483_647;\nexport const AGENT_ACCESS_WORKFLOW_RUN_ATTEMPT_PAGE_LIMIT = 25;\nexport const AGENT_ACCESS_WORKFLOW_JOB_PAGE_LIMIT = 100;\nexport const AGENT_ACCESS_WORKFLOW_EXECUTION_PAGE_LIMIT = 25;\nexport const AGENT_ACCESS_WORKFLOW_STEP_PAGE_LIMIT = 100;\nexport const AGENT_ACCESS_WORKFLOW_STEP_ATTEMPT_PAGE_LIMIT = 25;\nexport const AGENT_ACCESS_WORKFLOW_EXECUTION_COUNT_MAX = 100;\n\nconst textSchema = utf8CappedString(AGENT_ACCESS_TEXT_MAX_BYTES);\nconst attemptSchema = z.number().int().min(1).max(AGENT_ACCESS_WORKFLOW_ATTEMPT_MAX);\nconst pageInput = (defaultLimit: number) => ({\n limit: z.number().int().min(1).max(AGENT_ACCESS_PAGE_LIMIT_MAX).default(defaultLimit),\n cursor: z.string().min(1).optional(),\n});\n\nexport const getWorkflowRunInputSchema = z\n .object({run_id: idSchema, attempt: attemptSchema.optional()})\n .strict();\n\nexport const listWorkflowRunAttemptsInputSchema = z\n .object({run_id: idSchema, ...pageInput(AGENT_ACCESS_WORKFLOW_RUN_ATTEMPT_PAGE_LIMIT)})\n .strict();\n\nexport const listWorkflowRunJobsInputSchema = z\n .object({\n run_id: idSchema,\n attempt: attemptSchema,\n ...pageInput(AGENT_ACCESS_WORKFLOW_JOB_PAGE_LIMIT),\n })\n .strict();\n\nexport const getWorkflowJobInputSchema = z\n .object({job_id: idSchema, execution_id: idSchema.optional()})\n .strict();\n\nexport const listWorkflowJobExecutionsInputSchema = z\n .object({job_id: idSchema, ...pageInput(AGENT_ACCESS_WORKFLOW_EXECUTION_PAGE_LIMIT)})\n .strict();\n\nexport const listWorkflowExecutionStepsInputSchema = z\n .object({\n job_id: idSchema,\n execution_id: idSchema,\n ...pageInput(AGENT_ACCESS_WORKFLOW_STEP_PAGE_LIMIT),\n })\n .strict();\n\nexport const listWorkflowStepAttemptsInputSchema = z\n .object({step_id: idSchema, ...pageInput(AGENT_ACCESS_WORKFLOW_STEP_ATTEMPT_PAGE_LIMIT)})\n .strict();\n\nexport type GetWorkflowRunInputDto = z.output<typeof getWorkflowRunInputSchema>;\nexport type ListWorkflowRunAttemptsInputDto = z.output<typeof listWorkflowRunAttemptsInputSchema>;\nexport type ListWorkflowRunJobsInputDto = z.output<typeof listWorkflowRunJobsInputSchema>;\nexport type GetWorkflowJobInputDto = z.output<typeof getWorkflowJobInputSchema>;\nexport type ListWorkflowJobExecutionsInputDto = z.output<\n typeof listWorkflowJobExecutionsInputSchema\n>;\nexport type ListWorkflowExecutionStepsInputDto = z.output<\n typeof listWorkflowExecutionStepsInputSchema\n>;\nexport type ListWorkflowStepAttemptsInputDto = z.output<typeof listWorkflowStepAttemptsInputSchema>;\n\nconst workflowRunStatusSchema = z.enum(['pending', 'running', 'succeeded', 'failed', 'cancelled']);\nconst workflowRunOriginSchema = z.enum(['synced', 'dev']);\nconst workflowRunRerunModeSchema = z.enum(['all', 'failed']);\nconst jobStatusSchema = z.enum([\n 'pending',\n 'running',\n 'succeeded',\n 'failed',\n 'cancelled',\n 'skipped',\n]);\nconst jobStatusReasonSchema = z.enum([\n 'dependency_not_completed',\n 'condition_false',\n 'default_gate_rejected',\n 'condition_rejected',\n 'condition_errored',\n 'user_cancelled',\n 'run_cancelled',\n 'timed_out',\n 'runner_lost',\n 'output_too_large',\n 'step_failed',\n 'unknown',\n 'output_invalid',\n]);\nconst jobModeSchema = z.enum(['one_shot', 'listening']);\nconst listenerStatusSchema = z.enum(['inactive', 'listening', 'resolved']);\nconst executionStatusSchema = z.enum(['pending', 'running', 'succeeded', 'failed', 'cancelled']);\nconst stepStatusSchema = jobStatusSchema;\nconst stepTypeSchema = z.enum(['setup', 'run', 'agent', 'checkout', 'tool']);\nconst stepStatusReasonSchema = z.enum([\n 'default_gate_rejected',\n 'condition_rejected',\n 'condition_errored',\n]);\nconst boundedExecutionCountSchema = z.union([\n z.number().int().nonnegative().max(AGENT_ACCESS_WORKFLOW_EXECUTION_COUNT_MAX),\n z.literal('100+'),\n]);\n\nconst workflowRunAttemptResultSchema = z\n .object({\n id: idSchema,\n workflow_run_id: idSchema,\n attempt: attemptSchema,\n status: workflowRunStatusSchema,\n created_at: dateTimeSchema,\n started_at: dateTimeSchema.nullable(),\n finished_at: dateTimeSchema.nullable(),\n rerun_mode: workflowRunRerunModeSchema.nullable(),\n })\n .strict();\n\nconst workflowRunDevSourceSchema = z\n .object({\n ref: textSchema,\n commit: textSchema,\n config_path: textSchema,\n initiated_by_user_id: idSchema,\n replay_of_event_id: idSchema.nullable(),\n })\n .strict();\n\nconst workflowRunTriggerReferenceSchema = z\n .object({\n repository: textSchema.nullable(),\n ref: textSchema.nullable(),\n commit: textSchema.nullable(),\n actor: textSchema.nullable(),\n })\n .strict();\n\nconst jobExecutionSummarySchema = z\n .object({\n id: idSchema,\n sequence: z.number().int().positive(),\n name: textSchema,\n status: executionStatusSchema,\n display_status: executionStatusSchema,\n status_reason: jobStatusReasonSchema.nullable(),\n status_reason_message: textSchema.nullable(),\n queued_at: dateTimeSchema.nullable(),\n started_at: dateTimeSchema.nullable(),\n finished_at: dateTimeSchema.nullable(),\n timed_out_at: dateTimeSchema.nullable(),\n updated_at: dateTimeSchema,\n })\n .strict();\n\nconst jobExecutionStatusCountsSchema = z\n .object({\n pending: boundedExecutionCountSchema,\n running: boundedExecutionCountSchema,\n succeeded: boundedExecutionCountSchema,\n failed: boundedExecutionCountSchema,\n cancelled: boundedExecutionCountSchema,\n })\n .strict();\n\nconst workflowJobSummarySchema = z\n .object({\n id: idSchema,\n key: textSchema,\n name: textSchema.nullable(),\n position: z.number().int().nonnegative(),\n status: jobStatusSchema,\n status_reason: jobStatusReasonSchema.nullable(),\n mode: jobModeSchema,\n listener_status: listenerStatusSchema,\n carried_over: z.boolean(),\n execution_count: boundedExecutionCountSchema,\n execution_status_counts: jobExecutionStatusCountsSchema,\n default_execution: jobExecutionSummarySchema.nullable(),\n })\n .strict();\n\nconst workflowRunJobStatusCountSchema = z\n .object({status: jobStatusSchema, count: z.number().int().positive()})\n .strict();\n\n/** Compact run data used to start traversal; it deliberately has no jobs field. */\nexport const getWorkflowRunResultSchema = z\n .object({\n id: idSchema,\n project_id: idSchema,\n definition_id: idSchema,\n number: z.number().int().positive(),\n name: textSchema,\n workflow_name: textSchema,\n status: workflowRunStatusSchema,\n origin: workflowRunOriginSchema,\n dev_source: workflowRunDevSourceSchema.nullable(),\n trigger_provider: textSchema.nullable(),\n trigger_source: textSchema,\n trigger_event: textSchema,\n trigger_reference: workflowRunTriggerReferenceSchema.nullable(),\n created_at: dateTimeSchema,\n started_at: dateTimeSchema.nullable(),\n finished_at: dateTimeSchema.nullable(),\n attempt: workflowRunAttemptResultSchema,\n job_status_counts: z.array(workflowRunJobStatusCountSchema),\n has_started_job_execution: z.boolean(),\n })\n .strict();\n\nexport type GetWorkflowRunResultDto = z.infer<typeof getWorkflowRunResultSchema>;\n\nexport const listWorkflowRunAttemptsResultSchema = z\n .object({\n attempts: z.array(workflowRunAttemptResultSchema).max(AGENT_ACCESS_PAGE_LIMIT_MAX),\n next_cursor: z.string().nullable(),\n })\n .strict();\n\nexport type ListWorkflowRunAttemptsResultDto = z.infer<typeof listWorkflowRunAttemptsResultSchema>;\n\nexport const listWorkflowRunJobsResultSchema = z\n .object({\n workflow_run_id: idSchema,\n workflow_run_attempt: attemptSchema,\n jobs: z.array(workflowJobSummarySchema).max(AGENT_ACCESS_PAGE_LIMIT_MAX),\n next_cursor: z.string().nullable(),\n total: z.number().int().nonnegative().optional(),\n })\n .strict();\n\nexport type ListWorkflowRunJobsResultDto = z.infer<typeof listWorkflowRunJobsResultSchema>;\n\nconst selectedExecutionSummarySchema = jobExecutionSummarySchema\n .extend({has_context: z.boolean()})\n .strict();\n\nexport const getWorkflowJobResultSchema = z\n .object({\n workflow_run_id: idSchema,\n workflow_run_attempt: attemptSchema,\n job: workflowJobSummarySchema,\n selected_execution: selectedExecutionSummarySchema.nullable(),\n })\n .strict();\n\nexport type GetWorkflowJobResultDto = z.infer<typeof getWorkflowJobResultSchema>;\n\nexport const listWorkflowJobExecutionsResultSchema = z\n .object({\n job_id: idSchema,\n executions: z.array(jobExecutionSummarySchema).max(AGENT_ACCESS_PAGE_LIMIT_MAX),\n next_cursor: z.string().nullable(),\n total: boundedExecutionCountSchema.optional(),\n })\n .strict();\n\nexport type ListWorkflowJobExecutionsResultDto = z.infer<\n typeof listWorkflowJobExecutionsResultSchema\n>;\n\nconst workflowStepSummarySchema = z\n .object({\n id: idSchema,\n key: textSchema.nullable(),\n name: textSchema,\n type: stepTypeSchema,\n position: z.number().int().nonnegative(),\n status: stepStatusSchema,\n status_reason: stepStatusReasonSchema.nullable(),\n current_attempt: attemptSchema,\n })\n .strict();\n\nexport const listWorkflowExecutionStepsResultSchema = z\n .object({\n job_id: idSchema,\n execution_id: idSchema,\n steps: z.array(workflowStepSummarySchema).max(AGENT_ACCESS_PAGE_LIMIT_MAX),\n next_cursor: z.string().nullable(),\n total: z.number().int().nonnegative().optional(),\n })\n .strict();\n\nexport type ListWorkflowExecutionStepsResultDto = z.infer<\n typeof listWorkflowExecutionStepsResultSchema\n>;\n\nconst workflowStepAttemptSummarySchema = z\n .object({\n id: idSchema,\n attempt: attemptSchema,\n execution_order: z.number().int().positive(),\n status: stepStatusSchema,\n exit_code: z.number().int().nullable(),\n started_at: dateTimeSchema,\n finished_at: dateTimeSchema.nullable(),\n })\n .strict();\n\nexport const listWorkflowStepAttemptsResultSchema = z\n .object({\n step_id: idSchema,\n attempts: z.array(workflowStepAttemptSummarySchema).max(AGENT_ACCESS_PAGE_LIMIT_MAX),\n next_cursor: z.string().nullable(),\n total: z.number().int().nonnegative().optional(),\n })\n .strict();\n\nexport type ListWorkflowStepAttemptsResultDto = z.infer<\n typeof listWorkflowStepAttemptsResultSchema\n>;\n\nconst uuid = {type: 'string', format: 'uuid'} as const;\nconst dateTime = {type: 'string', format: 'date-time'} as const;\nconst text = {type: 'string', maxLength: AGENT_ACCESS_TEXT_MAX_BYTES} as const;\nconst nullable = (schema: Record<string, unknown>) => ({anyOf: [schema, {type: 'null'}]}) as const;\nconst pageInputJson = (defaultLimit: number) => ({\n limit: {\n type: 'integer',\n minimum: 1,\n maximum: AGENT_ACCESS_PAGE_LIMIT_MAX,\n default: defaultLimit,\n },\n cursor: {type: 'string', minLength: 1},\n});\n\nexport const getWorkflowRunInputJsonSchema = {\n type: 'object',\n properties: {\n run_id: uuid,\n attempt: {type: 'integer', minimum: 1, maximum: AGENT_ACCESS_WORKFLOW_ATTEMPT_MAX},\n },\n required: ['run_id'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nexport const listWorkflowRunAttemptsInputJsonSchema = {\n type: 'object',\n properties: {run_id: uuid, ...pageInputJson(AGENT_ACCESS_WORKFLOW_RUN_ATTEMPT_PAGE_LIMIT)},\n required: ['run_id'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nexport const listWorkflowRunJobsInputJsonSchema = {\n type: 'object',\n properties: {\n run_id: uuid,\n attempt: {type: 'integer', minimum: 1, maximum: AGENT_ACCESS_WORKFLOW_ATTEMPT_MAX},\n ...pageInputJson(AGENT_ACCESS_WORKFLOW_JOB_PAGE_LIMIT),\n },\n required: ['run_id', 'attempt'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nexport const getWorkflowJobInputJsonSchema = {\n type: 'object',\n properties: {job_id: uuid, execution_id: uuid},\n required: ['job_id'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nexport const listWorkflowJobExecutionsInputJsonSchema = {\n type: 'object',\n properties: {job_id: uuid, ...pageInputJson(AGENT_ACCESS_WORKFLOW_EXECUTION_PAGE_LIMIT)},\n required: ['job_id'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nexport const listWorkflowExecutionStepsInputJsonSchema = {\n type: 'object',\n properties: {\n job_id: uuid,\n execution_id: uuid,\n ...pageInputJson(AGENT_ACCESS_WORKFLOW_STEP_PAGE_LIMIT),\n },\n required: ['job_id', 'execution_id'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nexport const listWorkflowStepAttemptsInputJsonSchema = {\n type: 'object',\n properties: {step_id: uuid, ...pageInputJson(AGENT_ACCESS_WORKFLOW_STEP_ATTEMPT_PAGE_LIMIT)},\n required: ['step_id'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nconst workflowRunAttemptJsonSchema = {\n type: 'object',\n properties: {\n id: uuid,\n workflow_run_id: uuid,\n attempt: {type: 'integer', minimum: 1, maximum: AGENT_ACCESS_WORKFLOW_ATTEMPT_MAX},\n status: {type: 'string', enum: ['pending', 'running', 'succeeded', 'failed', 'cancelled']},\n created_at: dateTime,\n started_at: nullable(dateTime),\n finished_at: nullable(dateTime),\n rerun_mode: nullable({type: 'string', enum: ['all', 'failed']}),\n },\n required: [\n 'id',\n 'workflow_run_id',\n 'attempt',\n 'status',\n 'created_at',\n 'started_at',\n 'finished_at',\n 'rerun_mode',\n ],\n additionalProperties: false,\n} as const;\n\nconst devSourceJsonSchema = {\n type: 'object',\n properties: {\n ref: text,\n commit: text,\n config_path: text,\n initiated_by_user_id: uuid,\n replay_of_event_id: nullable(uuid),\n },\n required: ['ref', 'commit', 'config_path', 'initiated_by_user_id', 'replay_of_event_id'],\n additionalProperties: false,\n} as const;\n\nconst triggerReferenceJsonSchema = {\n type: 'object',\n properties: {\n repository: nullable(text),\n ref: nullable(text),\n commit: nullable(text),\n actor: nullable(text),\n },\n required: ['repository', 'ref', 'commit', 'actor'],\n additionalProperties: false,\n} as const;\n\nconst executionStatusJsonSchema = {\n type: 'string',\n enum: ['pending', 'running', 'succeeded', 'failed', 'cancelled'],\n} as const;\nconst boundedExecutionCountJsonSchema = {\n anyOf: [\n {type: 'integer', minimum: 0, maximum: AGENT_ACCESS_WORKFLOW_EXECUTION_COUNT_MAX},\n {const: '100+'},\n ],\n} as const;\nconst executionSummaryJsonSchema = {\n type: 'object',\n properties: {\n id: uuid,\n sequence: {type: 'integer', minimum: 1},\n name: text,\n status: executionStatusJsonSchema,\n display_status: executionStatusJsonSchema,\n status_reason: nullable({\n type: 'string',\n enum: [\n 'dependency_not_completed',\n 'condition_false',\n 'default_gate_rejected',\n 'condition_rejected',\n 'condition_errored',\n 'user_cancelled',\n 'run_cancelled',\n 'timed_out',\n 'runner_lost',\n 'output_too_large',\n 'step_failed',\n 'unknown',\n 'output_invalid',\n ],\n }),\n status_reason_message: nullable(text),\n queued_at: nullable(dateTime),\n started_at: nullable(dateTime),\n finished_at: nullable(dateTime),\n timed_out_at: nullable(dateTime),\n updated_at: dateTime,\n },\n required: [\n 'id',\n 'sequence',\n 'name',\n 'status',\n 'display_status',\n 'status_reason',\n 'status_reason_message',\n 'queued_at',\n 'started_at',\n 'finished_at',\n 'timed_out_at',\n 'updated_at',\n ],\n additionalProperties: false,\n} as const;\nconst executionCountsJsonSchema = {\n type: 'object',\n properties: {\n pending: boundedExecutionCountJsonSchema,\n running: boundedExecutionCountJsonSchema,\n succeeded: boundedExecutionCountJsonSchema,\n failed: boundedExecutionCountJsonSchema,\n cancelled: boundedExecutionCountJsonSchema,\n },\n required: ['pending', 'running', 'succeeded', 'failed', 'cancelled'],\n additionalProperties: false,\n} as const;\nconst jobStatusJsonSchema = {\n type: 'string',\n enum: ['pending', 'running', 'succeeded', 'failed', 'cancelled', 'skipped'],\n} as const;\nconst jobReasonJsonSchema = nullable({\n type: 'string',\n enum: [\n 'dependency_not_completed',\n 'condition_false',\n 'default_gate_rejected',\n 'condition_rejected',\n 'condition_errored',\n 'user_cancelled',\n 'run_cancelled',\n 'timed_out',\n 'runner_lost',\n 'output_too_large',\n 'step_failed',\n 'unknown',\n 'output_invalid',\n ],\n});\nconst jobSummaryJsonSchema = {\n type: 'object',\n properties: {\n id: uuid,\n key: text,\n name: nullable(text),\n position: {type: 'integer', minimum: 0},\n status: jobStatusJsonSchema,\n status_reason: jobReasonJsonSchema,\n mode: {type: 'string', enum: ['one_shot', 'listening']},\n listener_status: {type: 'string', enum: ['inactive', 'listening', 'resolved']},\n carried_over: {type: 'boolean'},\n execution_count: boundedExecutionCountJsonSchema,\n execution_status_counts: executionCountsJsonSchema,\n default_execution: nullable(executionSummaryJsonSchema),\n },\n required: [\n 'id',\n 'key',\n 'name',\n 'position',\n 'status',\n 'status_reason',\n 'mode',\n 'listener_status',\n 'carried_over',\n 'execution_count',\n 'execution_status_counts',\n 'default_execution',\n ],\n additionalProperties: false,\n} as const;\n\nexport const getWorkflowRunResultJsonSchema = {\n type: 'object',\n properties: {\n id: uuid,\n project_id: uuid,\n definition_id: uuid,\n number: {type: 'integer', minimum: 1},\n name: text,\n workflow_name: text,\n status: {type: 'string', enum: ['pending', 'running', 'succeeded', 'failed', 'cancelled']},\n origin: {type: 'string', enum: ['synced', 'dev']},\n dev_source: nullable(devSourceJsonSchema),\n trigger_provider: nullable(text),\n trigger_source: text,\n trigger_event: text,\n trigger_reference: nullable(triggerReferenceJsonSchema),\n created_at: dateTime,\n started_at: nullable(dateTime),\n finished_at: nullable(dateTime),\n attempt: workflowRunAttemptJsonSchema,\n job_status_counts: {\n type: 'array',\n items: {\n type: 'object',\n properties: {status: jobStatusJsonSchema, count: {type: 'integer', minimum: 1}},\n required: ['status', 'count'],\n additionalProperties: false,\n },\n },\n has_started_job_execution: {type: 'boolean'},\n },\n required: [\n 'id',\n 'project_id',\n 'definition_id',\n 'number',\n 'name',\n 'workflow_name',\n 'status',\n 'origin',\n 'dev_source',\n 'trigger_provider',\n 'trigger_source',\n 'trigger_event',\n 'trigger_reference',\n 'created_at',\n 'started_at',\n 'finished_at',\n 'attempt',\n 'job_status_counts',\n 'has_started_job_execution',\n ],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nconst attemptsArrayJsonSchema = {type: 'array', items: workflowRunAttemptJsonSchema} as const;\nexport const listWorkflowRunAttemptsResultJsonSchema = {\n type: 'object',\n properties: {attempts: attemptsArrayJsonSchema, next_cursor: nullable({type: 'string'})},\n required: ['attempts', 'next_cursor'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nconst stepsJsonSchema = {\n type: 'object',\n properties: {\n id: uuid,\n key: nullable(text),\n name: text,\n type: {type: 'string', enum: ['setup', 'run', 'agent', 'checkout', 'tool']},\n position: {type: 'integer', minimum: 0},\n status: jobStatusJsonSchema,\n status_reason: nullable({\n type: 'string',\n enum: ['default_gate_rejected', 'condition_rejected', 'condition_errored'],\n }),\n current_attempt: {type: 'integer', minimum: 1, maximum: AGENT_ACCESS_WORKFLOW_ATTEMPT_MAX},\n },\n required: ['id', 'key', 'name', 'type', 'position', 'status', 'status_reason', 'current_attempt'],\n additionalProperties: false,\n} as const;\nconst stepAttemptsJsonSchema = {\n type: 'object',\n properties: {\n id: uuid,\n attempt: {type: 'integer', minimum: 1, maximum: AGENT_ACCESS_WORKFLOW_ATTEMPT_MAX},\n execution_order: {type: 'integer', minimum: 1},\n status: jobStatusJsonSchema,\n exit_code: nullable({type: 'integer'}),\n started_at: dateTime,\n finished_at: nullable(dateTime),\n },\n required: [\n 'id',\n 'attempt',\n 'execution_order',\n 'status',\n 'exit_code',\n 'started_at',\n 'finished_at',\n ],\n additionalProperties: false,\n} as const;\n\nexport const listWorkflowRunJobsResultJsonSchema = {\n type: 'object',\n properties: {\n workflow_run_id: uuid,\n workflow_run_attempt: {type: 'integer', minimum: 1, maximum: AGENT_ACCESS_WORKFLOW_ATTEMPT_MAX},\n jobs: {type: 'array', items: jobSummaryJsonSchema},\n next_cursor: nullable({type: 'string'}),\n total: {type: 'integer', minimum: 0},\n },\n required: ['workflow_run_id', 'workflow_run_attempt', 'jobs', 'next_cursor'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nconst selectedExecutionJsonSchema = {\n ...executionSummaryJsonSchema,\n properties: {...executionSummaryJsonSchema.properties, has_context: {type: 'boolean'}},\n required: [...executionSummaryJsonSchema.required, 'has_context'],\n} as const;\n\nexport const getWorkflowJobResultJsonSchema = {\n type: 'object',\n properties: {\n workflow_run_id: uuid,\n workflow_run_attempt: {type: 'integer', minimum: 1, maximum: AGENT_ACCESS_WORKFLOW_ATTEMPT_MAX},\n job: jobSummaryJsonSchema,\n selected_execution: nullable(selectedExecutionJsonSchema),\n },\n required: ['workflow_run_id', 'workflow_run_attempt', 'job', 'selected_execution'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nexport const listWorkflowJobExecutionsResultJsonSchema = {\n type: 'object',\n properties: {\n job_id: uuid,\n executions: {type: 'array', items: executionSummaryJsonSchema},\n next_cursor: nullable({type: 'string'}),\n total: boundedExecutionCountJsonSchema,\n },\n required: ['job_id', 'executions', 'next_cursor'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nexport const listWorkflowExecutionStepsResultJsonSchema = {\n type: 'object',\n properties: {\n job_id: uuid,\n execution_id: uuid,\n steps: {type: 'array', items: stepsJsonSchema},\n next_cursor: nullable({type: 'string'}),\n total: {type: 'integer', minimum: 0},\n },\n required: ['job_id', 'execution_id', 'steps', 'next_cursor'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n\nexport const listWorkflowStepAttemptsResultJsonSchema = {\n type: 'object',\n properties: {\n step_id: uuid,\n attempts: {type: 'array', items: stepAttemptsJsonSchema},\n next_cursor: nullable({type: 'string'}),\n total: {type: 'integer', minimum: 0},\n },\n required: ['step_id', 'attempts', 'next_cursor'],\n additionalProperties: false,\n} as const satisfies AgentAccessObjectSchema;\n"],"names":["z","AGENT_ACCESS_PAGE_LIMIT_MAX","AGENT_ACCESS_TEXT_MAX_BYTES","dateTimeSchema","idSchema","utf8CappedString","AGENT_ACCESS_WORKFLOW_ATTEMPT_MAX","AGENT_ACCESS_WORKFLOW_RUN_ATTEMPT_PAGE_LIMIT","AGENT_ACCESS_WORKFLOW_JOB_PAGE_LIMIT","AGENT_ACCESS_WORKFLOW_EXECUTION_PAGE_LIMIT","AGENT_ACCESS_WORKFLOW_STEP_PAGE_LIMIT","AGENT_ACCESS_WORKFLOW_STEP_ATTEMPT_PAGE_LIMIT","AGENT_ACCESS_WORKFLOW_EXECUTION_COUNT_MAX","textSchema","attemptSchema","number","int","min","max","pageInput","defaultLimit","limit","default","cursor","string","optional","getWorkflowRunInputSchema","object","run_id","attempt","strict","listWorkflowRunAttemptsInputSchema","listWorkflowRunJobsInputSchema","getWorkflowJobInputSchema","job_id","execution_id","listWorkflowJobExecutionsInputSchema","listWorkflowExecutionStepsInputSchema","listWorkflowStepAttemptsInputSchema","step_id","workflowRunStatusSchema","enum","workflowRunOriginSchema","workflowRunRerunModeSchema","jobStatusSchema","jobStatusReasonSchema","jobModeSchema","listenerStatusSchema","executionStatusSchema","stepStatusSchema","stepTypeSchema","stepStatusReasonSchema","boundedExecutionCountSchema","union","nonnegative","literal","workflowRunAttemptResultSchema","id","workflow_run_id","status","created_at","started_at","nullable","finished_at","rerun_mode","workflowRunDevSourceSchema","ref","commit","config_path","initiated_by_user_id","replay_of_event_id","workflowRunTriggerReferenceSchema","repository","actor","jobExecutionSummarySchema","sequence","positive","name","display_status","status_reason","status_reason_message","queued_at","timed_out_at","updated_at","jobExecutionStatusCountsSchema","pending","running","succeeded","failed","cancelled","workflowJobSummarySchema","key","position","mode","listener_status","carried_over","boolean","execution_count","execution_status_counts","default_execution","workflowRunJobStatusCountSchema","count","getWorkflowRunResultSchema","project_id","definition_id","workflow_name","origin","dev_source","trigger_provider","trigger_source","trigger_event","trigger_reference","job_status_counts","array","has_started_job_execution","listWorkflowRunAttemptsResultSchema","attempts","next_cursor","listWorkflowRunJobsResultSchema","workflow_run_attempt","jobs","total","selectedExecutionSummarySchema","extend","has_context","getWorkflowJobResultSchema","job","selected_execution","listWorkflowJobExecutionsResultSchema","executions","workflowStepSummarySchema","type","current_attempt","listWorkflowExecutionStepsResultSchema","steps","workflowStepAttemptSummarySchema","execution_order","exit_code","listWorkflowStepAttemptsResultSchema","uuid","format","dateTime","text","maxLength","schema","anyOf","pageInputJson","minimum","maximum","minLength","getWorkflowRunInputJsonSchema","properties","required","additionalProperties","listWorkflowRunAttemptsInputJsonSchema","listWorkflowRunJobsInputJsonSchema","getWorkflowJobInputJsonSchema","listWorkflowJobExecutionsInputJsonSchema","listWorkflowExecutionStepsInputJsonSchema","listWorkflowStepAttemptsInputJsonSchema","workflowRunAttemptJsonSchema","devSourceJsonSchema","triggerReferenceJsonSchema","executionStatusJsonSchema","boundedExecutionCountJsonSchema","const","executionSummaryJsonSchema","executionCountsJsonSchema","jobStatusJsonSchema","jobReasonJsonSchema","jobSummaryJsonSchema","getWorkflowRunResultJsonSchema","items","attemptsArrayJsonSchema","listWorkflowRunAttemptsResultJsonSchema","stepsJsonSchema","stepAttemptsJsonSchema","listWorkflowRunJobsResultJsonSchema","selectedExecutionJsonSchema","getWorkflowJobResultJsonSchema","listWorkflowJobExecutionsResultJsonSchema","listWorkflowExecutionStepsResultJsonSchema","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