@ghx-dev/core 0.1.0-beta.0 → 0.1.1
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/README.md +181 -114
- package/dist/agent.d.ts +32 -7
- package/dist/agent.js +29 -12
- package/dist/agent.js.map +1 -1
- package/dist/cards/check_run.annotations.list.yaml +35 -0
- package/dist/cards/issue.assignees.update.yaml +27 -0
- package/dist/cards/issue.blocked_by.add.yaml +23 -0
- package/dist/cards/issue.blocked_by.remove.yaml +24 -0
- package/dist/cards/issue.close.yaml +24 -0
- package/dist/cards/issue.comments.create.yaml +24 -0
- package/dist/cards/issue.comments.list.yaml +48 -0
- package/dist/cards/issue.create.yaml +28 -0
- package/dist/cards/issue.delete.yaml +23 -0
- package/dist/cards/issue.labels.update.yaml +27 -0
- package/dist/cards/issue.linked_prs.list.yaml +34 -0
- package/dist/cards/issue.list.yaml +48 -0
- package/dist/cards/issue.milestone.set.yaml +23 -0
- package/dist/cards/issue.parent.remove.yaml +22 -0
- package/dist/cards/issue.parent.set.yaml +23 -0
- package/dist/cards/issue.relations.get.yaml +54 -0
- package/dist/cards/issue.reopen.yaml +24 -0
- package/dist/cards/issue.update.yaml +27 -0
- package/dist/cards/issue.view.yaml +32 -0
- package/dist/cards/pr.assignees.update.yaml +38 -0
- package/dist/cards/pr.branch.update.yaml +23 -0
- package/dist/cards/pr.checks.get_failed.yaml +42 -0
- package/dist/cards/pr.checks.rerun_all.yaml +26 -0
- package/dist/cards/pr.checks.rerun_failed.yaml +26 -0
- package/dist/cards/pr.comment.reply.yaml +23 -0
- package/dist/cards/pr.comment.resolve.yaml +22 -0
- package/dist/cards/pr.comment.unresolve.yaml +22 -0
- package/dist/cards/pr.comments.list.yaml +98 -0
- package/dist/cards/pr.diff.list_files.yaml +43 -0
- package/dist/cards/pr.list.yaml +48 -0
- package/dist/cards/pr.merge.execute.yaml +29 -0
- package/dist/cards/pr.mergeability.view.yaml +27 -0
- package/dist/cards/pr.ready_for_review.set.yaml +24 -0
- package/dist/cards/pr.review.submit_approve.yaml +26 -0
- package/dist/cards/pr.review.submit_comment.yaml +26 -0
- package/dist/cards/pr.review.submit_request_changes.yaml +26 -0
- package/dist/cards/pr.reviewers.request.yaml +31 -0
- package/dist/cards/pr.reviews.list.yaml +47 -0
- package/dist/cards/pr.status.checks.yaml +42 -0
- package/dist/cards/pr.view.yaml +32 -0
- package/dist/cards/project_v2.fields.list.yaml +37 -0
- package/dist/cards/project_v2.item.add_issue.yaml +23 -0
- package/dist/cards/project_v2.item.field.update.yaml +29 -0
- package/dist/cards/project_v2.items.list.yaml +39 -0
- package/dist/cards/project_v2.org.get.yaml +26 -0
- package/dist/cards/project_v2.user.get.yaml +26 -0
- package/dist/cards/release.create_draft.yaml +36 -0
- package/dist/cards/release.get.yaml +30 -0
- package/dist/cards/release.list.yaml +44 -0
- package/dist/cards/release.publish_draft.yaml +36 -0
- package/dist/cards/release.update.yaml +38 -0
- package/dist/cards/repo.issue_types.list.yaml +40 -0
- package/dist/cards/repo.labels.list.yaml +41 -0
- package/dist/cards/repo.view.yaml +34 -0
- package/dist/cards/workflow.get.yaml +30 -0
- package/dist/cards/workflow.list.yaml +40 -0
- package/dist/cards/workflow_dispatch.run.yaml +29 -0
- package/dist/cards/workflow_job.logs.analyze.yaml +33 -0
- package/dist/cards/workflow_job.logs.get.yaml +24 -0
- package/dist/cards/workflow_run.artifacts.list.yaml +40 -0
- package/dist/cards/workflow_run.cancel.yaml +23 -0
- package/dist/cards/workflow_run.get.yaml +33 -0
- package/dist/cards/workflow_run.jobs.list.yaml +35 -0
- package/dist/cards/workflow_run.rerun_all.yaml +23 -0
- package/dist/cards/workflow_run.rerun_failed.yaml +23 -0
- package/dist/cards/workflow_runs.list.yaml +45 -0
- package/dist/chunk-OL4ARD3R.js +242 -0
- package/dist/chunk-OL4ARD3R.js.map +1 -0
- package/dist/chunk-PJ2JKKQE.js +4148 -0
- package/dist/chunk-PJ2JKKQE.js.map +1 -0
- package/dist/{chunk-MMG6CIKK.js → chunk-SCIJMW5P.js} +14 -4
- package/dist/chunk-SCIJMW5P.js.map +1 -0
- package/dist/cli/assets/skills/ghx/SKILL.md +57 -0
- package/dist/cli/index.js +373 -41
- package/dist/cli/index.js.map +1 -1
- package/dist/core/registry/cards/issue.assignees.update.yaml +27 -0
- package/dist/core/registry/cards/issue.blocked_by.add.yaml +23 -0
- package/dist/core/registry/cards/issue.blocked_by.remove.yaml +24 -0
- package/dist/core/registry/cards/issue.close.yaml +24 -0
- package/dist/core/registry/cards/issue.comments.create.yaml +24 -0
- package/dist/core/registry/cards/issue.create.yaml +28 -0
- package/dist/core/registry/cards/issue.delete.yaml +23 -0
- package/dist/core/registry/cards/issue.labels.update.yaml +27 -0
- package/dist/core/registry/cards/issue.linked_prs.list.yaml +34 -0
- package/dist/core/registry/cards/issue.milestone.set.yaml +23 -0
- package/dist/core/registry/cards/issue.parent.remove.yaml +22 -0
- package/dist/core/registry/cards/issue.parent.set.yaml +23 -0
- package/dist/core/registry/cards/issue.relations.get.yaml +54 -0
- package/dist/core/registry/cards/issue.reopen.yaml +24 -0
- package/dist/core/registry/cards/issue.update.yaml +27 -0
- package/dist/core/registry/cards/pr.assignees.update.yaml +38 -0
- package/dist/core/registry/cards/pr.branch.update.yaml +23 -0
- package/dist/core/registry/cards/pr.checks.rerun_all.yaml +26 -0
- package/dist/core/registry/cards/pr.checks.rerun_failed.yaml +26 -0
- package/dist/core/registry/cards/pr.merge.execute.yaml +29 -0
- package/dist/core/registry/cards/pr.review.submit_approve.yaml +26 -0
- package/dist/core/registry/cards/pr.review.submit_comment.yaml +26 -0
- package/dist/core/registry/cards/pr.review.submit_request_changes.yaml +26 -0
- package/dist/core/registry/cards/pr.reviewers.request.yaml +31 -0
- package/dist/core/registry/cards/project_v2.fields.list.yaml +37 -0
- package/dist/core/registry/cards/project_v2.item.add_issue.yaml +23 -0
- package/dist/core/registry/cards/project_v2.item.field.update.yaml +29 -0
- package/dist/core/registry/cards/project_v2.items.list.yaml +39 -0
- package/dist/core/registry/cards/project_v2.org.get.yaml +26 -0
- package/dist/core/registry/cards/project_v2.user.get.yaml +26 -0
- package/dist/core/registry/cards/release.create_draft.yaml +36 -0
- package/dist/core/registry/cards/release.get.yaml +30 -0
- package/dist/core/registry/cards/release.list.yaml +44 -0
- package/dist/core/registry/cards/release.publish_draft.yaml +36 -0
- package/dist/core/registry/cards/release.update.yaml +38 -0
- package/dist/core/registry/cards/repo.issue_types.list.yaml +40 -0
- package/dist/core/registry/cards/repo.labels.list.yaml +41 -0
- package/dist/core/registry/cards/workflow.get.yaml +30 -0
- package/dist/core/registry/cards/workflow.list.yaml +40 -0
- package/dist/core/registry/cards/workflow_dispatch.run.yaml +29 -0
- package/dist/core/registry/cards/workflow_run.artifacts.list.yaml +40 -0
- package/dist/core/registry/cards/workflow_run.cancel.yaml +23 -0
- package/dist/core/registry/cards/workflow_run.get.yaml +33 -0
- package/dist/core/registry/cards/workflow_run.rerun_all.yaml +23 -0
- package/dist/core/registry/cards/workflow_run.rerun_failed.yaml +23 -0
- package/dist/{core/contracts/envelope.d.ts → envelope-BpF6MNCv.d.ts} +15 -3
- package/dist/index.d.ts +470 -22
- package/dist/index.js +7 -29
- package/package.json +49 -20
- package/dist/agent-interface/prompt/main-skill.d.ts +0 -3
- package/dist/agent-interface/prompt/main-skill.js +0 -7
- package/dist/agent-interface/prompt/main-skill.js.map +0 -1
- package/dist/agent-interface/tools/execute-tool.d.ts +0 -16
- package/dist/agent-interface/tools/execute-tool.js +0 -7
- package/dist/agent-interface/tools/execute-tool.js.map +0 -1
- package/dist/agent-interface/tools/explain-tool.d.ts +0 -11
- package/dist/agent-interface/tools/explain-tool.js +0 -9
- package/dist/agent-interface/tools/explain-tool.js.map +0 -1
- package/dist/agent-interface/tools/list-capabilities-tool.d.ts +0 -7
- package/dist/agent-interface/tools/list-capabilities-tool.js +0 -9
- package/dist/agent-interface/tools/list-capabilities-tool.js.map +0 -1
- package/dist/chunk-2W4L5YCC.js +0 -116
- package/dist/chunk-2W4L5YCC.js.map +0 -1
- package/dist/chunk-3RAT5BCB.js +0 -584
- package/dist/chunk-3RAT5BCB.js.map +0 -1
- package/dist/chunk-3RJCF42N.js +0 -16
- package/dist/chunk-3RJCF42N.js.map +0 -1
- package/dist/chunk-573MDG3I.js +0 -18
- package/dist/chunk-573MDG3I.js.map +0 -1
- package/dist/chunk-5JRLVOF2.js +0 -50
- package/dist/chunk-5JRLVOF2.js.map +0 -1
- package/dist/chunk-B6RLMKS4.js +0 -41
- package/dist/chunk-B6RLMKS4.js.map +0 -1
- package/dist/chunk-BJHVAFTN.js +0 -42
- package/dist/chunk-BJHVAFTN.js.map +0 -1
- package/dist/chunk-D746VR3B.js +0 -38
- package/dist/chunk-D746VR3B.js.map +0 -1
- package/dist/chunk-DJIEG6K7.js +0 -20
- package/dist/chunk-DJIEG6K7.js.map +0 -1
- package/dist/chunk-DLKIQBK6.js +0 -106
- package/dist/chunk-DLKIQBK6.js.map +0 -1
- package/dist/chunk-EBRDO4Y6.js +0 -31
- package/dist/chunk-EBRDO4Y6.js.map +0 -1
- package/dist/chunk-FXN6IIT5.js +0 -14
- package/dist/chunk-FXN6IIT5.js.map +0 -1
- package/dist/chunk-GPU4P7UG.js +0 -92
- package/dist/chunk-GPU4P7UG.js.map +0 -1
- package/dist/chunk-MMG6CIKK.js.map +0 -1
- package/dist/chunk-MT4U5DYD.js +0 -88
- package/dist/chunk-MT4U5DYD.js.map +0 -1
- package/dist/chunk-NFF5VF4U.js +0 -28
- package/dist/chunk-NFF5VF4U.js.map +0 -1
- package/dist/chunk-Q4RTT3DV.js +0 -209
- package/dist/chunk-Q4RTT3DV.js.map +0 -1
- package/dist/chunk-QEAMC4IJ.js +0 -34
- package/dist/chunk-QEAMC4IJ.js.map +0 -1
- package/dist/chunk-QX34GTH6.js +0 -30
- package/dist/chunk-QX34GTH6.js.map +0 -1
- package/dist/chunk-QZZC53HF.js +0 -38
- package/dist/chunk-QZZC53HF.js.map +0 -1
- package/dist/chunk-RUQXGZ35.js +0 -34
- package/dist/chunk-RUQXGZ35.js.map +0 -1
- package/dist/chunk-TCLMLVUQ.js +0 -38
- package/dist/chunk-TCLMLVUQ.js.map +0 -1
- package/dist/chunk-TDTKOJKN.js +0 -52
- package/dist/chunk-TDTKOJKN.js.map +0 -1
- package/dist/chunk-UGWIZ3RI.js +0 -7
- package/dist/chunk-UGWIZ3RI.js.map +0 -1
- package/dist/chunk-UOJWOHRM.js +0 -16
- package/dist/chunk-UOJWOHRM.js.map +0 -1
- package/dist/chunk-VD5NXQP7.js +0 -42
- package/dist/chunk-VD5NXQP7.js.map +0 -1
- package/dist/chunk-W2TKG2UL.js +0 -37
- package/dist/chunk-W2TKG2UL.js.map +0 -1
- package/dist/chunk-W6ROKCY5.js +0 -28
- package/dist/chunk-W6ROKCY5.js.map +0 -1
- package/dist/chunk-WYSY75U7.js +0 -156
- package/dist/chunk-WYSY75U7.js.map +0 -1
- package/dist/chunk-YNNDBMNR.js +0 -113
- package/dist/chunk-YNNDBMNR.js.map +0 -1
- package/dist/chunk-YNQNHCRS.js +0 -198
- package/dist/chunk-YNQNHCRS.js.map +0 -1
- package/dist/chunk-YQDQX4BT.js +0 -624
- package/dist/chunk-YQDQX4BT.js.map +0 -1
- package/dist/cli/commands/capabilities-explain.d.ts +0 -3
- package/dist/cli/commands/capabilities-explain.js +0 -10
- package/dist/cli/commands/capabilities-explain.js.map +0 -1
- package/dist/cli/commands/capabilities-list.d.ts +0 -3
- package/dist/cli/commands/capabilities-list.js +0 -10
- package/dist/cli/commands/capabilities-list.js.map +0 -1
- package/dist/cli/commands/doctor.d.ts +0 -3
- package/dist/cli/commands/doctor.js +0 -7
- package/dist/cli/commands/doctor.js.map +0 -1
- package/dist/cli/commands/routes.d.ts +0 -3
- package/dist/cli/commands/routes.js +0 -7
- package/dist/cli/commands/routes.js.map +0 -1
- package/dist/cli/commands/run.d.ts +0 -3
- package/dist/cli/commands/run.js +0 -31
- package/dist/cli/commands/run.js.map +0 -1
- package/dist/cli/commands/setup.d.ts +0 -3
- package/dist/cli/commands/setup.js +0 -7
- package/dist/cli/commands/setup.js.map +0 -1
- package/dist/cli/formatters/json.d.ts +0 -3
- package/dist/cli/formatters/json.js +0 -8
- package/dist/cli/formatters/json.js.map +0 -1
- package/dist/cli/formatters/table.d.ts +0 -3
- package/dist/cli/formatters/table.js +0 -8
- package/dist/cli/formatters/table.js.map +0 -1
- package/dist/core/contracts/envelope.js +0 -1
- package/dist/core/contracts/envelope.js.map +0 -1
- package/dist/core/contracts/task.d.ts +0 -7
- package/dist/core/contracts/task.js +0 -1
- package/dist/core/contracts/task.js.map +0 -1
- package/dist/core/contracts/tasks/check_run.annotations.list.d.ts +0 -5
- package/dist/core/contracts/tasks/check_run.annotations.list.js +0 -8
- package/dist/core/contracts/tasks/check_run.annotations.list.js.map +0 -1
- package/dist/core/contracts/tasks/issue.comments.list.d.ts +0 -5
- package/dist/core/contracts/tasks/issue.comments.list.js +0 -8
- package/dist/core/contracts/tasks/issue.comments.list.js.map +0 -1
- package/dist/core/contracts/tasks/issue.list.d.ts +0 -5
- package/dist/core/contracts/tasks/issue.list.js +0 -8
- package/dist/core/contracts/tasks/issue.list.js.map +0 -1
- package/dist/core/contracts/tasks/issue.view.d.ts +0 -5
- package/dist/core/contracts/tasks/issue.view.js +0 -8
- package/dist/core/contracts/tasks/issue.view.js.map +0 -1
- package/dist/core/contracts/tasks/pr.checks.get_failed.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.checks.get_failed.js +0 -8
- package/dist/core/contracts/tasks/pr.checks.get_failed.js.map +0 -1
- package/dist/core/contracts/tasks/pr.comment.reply.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.comment.reply.js +0 -8
- package/dist/core/contracts/tasks/pr.comment.reply.js.map +0 -1
- package/dist/core/contracts/tasks/pr.comment.resolve.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.comment.resolve.js +0 -8
- package/dist/core/contracts/tasks/pr.comment.resolve.js.map +0 -1
- package/dist/core/contracts/tasks/pr.comment.unresolve.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.comment.unresolve.js +0 -8
- package/dist/core/contracts/tasks/pr.comment.unresolve.js.map +0 -1
- package/dist/core/contracts/tasks/pr.comments.list.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.comments.list.js +0 -8
- package/dist/core/contracts/tasks/pr.comments.list.js.map +0 -1
- package/dist/core/contracts/tasks/pr.diff.list_files.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.diff.list_files.js +0 -8
- package/dist/core/contracts/tasks/pr.diff.list_files.js.map +0 -1
- package/dist/core/contracts/tasks/pr.list.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.list.js +0 -8
- package/dist/core/contracts/tasks/pr.list.js.map +0 -1
- package/dist/core/contracts/tasks/pr.mergeability.view.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.mergeability.view.js +0 -8
- package/dist/core/contracts/tasks/pr.mergeability.view.js.map +0 -1
- package/dist/core/contracts/tasks/pr.ready_for_review.set.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.ready_for_review.set.js +0 -8
- package/dist/core/contracts/tasks/pr.ready_for_review.set.js.map +0 -1
- package/dist/core/contracts/tasks/pr.reviews.list.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.reviews.list.js +0 -8
- package/dist/core/contracts/tasks/pr.reviews.list.js.map +0 -1
- package/dist/core/contracts/tasks/pr.status.checks.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.status.checks.js +0 -8
- package/dist/core/contracts/tasks/pr.status.checks.js.map +0 -1
- package/dist/core/contracts/tasks/pr.view.d.ts +0 -5
- package/dist/core/contracts/tasks/pr.view.js +0 -8
- package/dist/core/contracts/tasks/pr.view.js.map +0 -1
- package/dist/core/contracts/tasks/repo.view.d.ts +0 -5
- package/dist/core/contracts/tasks/repo.view.js +0 -8
- package/dist/core/contracts/tasks/repo.view.js.map +0 -1
- package/dist/core/contracts/tasks/workflow_job.logs.analyze.d.ts +0 -5
- package/dist/core/contracts/tasks/workflow_job.logs.analyze.js +0 -8
- package/dist/core/contracts/tasks/workflow_job.logs.analyze.js.map +0 -1
- package/dist/core/contracts/tasks/workflow_job.logs.get.d.ts +0 -5
- package/dist/core/contracts/tasks/workflow_job.logs.get.js +0 -8
- package/dist/core/contracts/tasks/workflow_job.logs.get.js.map +0 -1
- package/dist/core/contracts/tasks/workflow_run.jobs.list.d.ts +0 -5
- package/dist/core/contracts/tasks/workflow_run.jobs.list.js +0 -8
- package/dist/core/contracts/tasks/workflow_run.jobs.list.js.map +0 -1
- package/dist/core/contracts/tasks/workflow_runs.list.d.ts +0 -5
- package/dist/core/contracts/tasks/workflow_runs.list.js +0 -8
- package/dist/core/contracts/tasks/workflow_runs.list.js.map +0 -1
- package/dist/core/errors/codes.d.ts +0 -13
- package/dist/core/errors/codes.js +0 -7
- package/dist/core/errors/codes.js.map +0 -1
- package/dist/core/errors/map-error.d.ts +0 -5
- package/dist/core/errors/map-error.js +0 -8
- package/dist/core/errors/map-error.js.map +0 -1
- package/dist/core/errors/retryability.d.ts +0 -3
- package/dist/core/errors/retryability.js +0 -8
- package/dist/core/errors/retryability.js.map +0 -1
- package/dist/core/execute/execute.d.ts +0 -28
- package/dist/core/execute/execute.js +0 -11
- package/dist/core/execute/execute.js.map +0 -1
- package/dist/core/execution/adapters/cli-adapter.d.ts +0 -22
- package/dist/core/execution/adapters/cli-adapter.js +0 -69
- package/dist/core/execution/adapters/cli-adapter.js.map +0 -1
- package/dist/core/execution/adapters/cli-capability-adapter.d.ts +0 -16
- package/dist/core/execution/adapters/cli-capability-adapter.js +0 -11
- package/dist/core/execution/adapters/cli-capability-adapter.js.map +0 -1
- package/dist/core/execution/adapters/graphql-adapter.d.ts +0 -25
- package/dist/core/execution/adapters/graphql-adapter.js +0 -44
- package/dist/core/execution/adapters/graphql-adapter.js.map +0 -1
- package/dist/core/execution/adapters/graphql-capability-adapter.d.ts +0 -20
- package/dist/core/execution/adapters/graphql-capability-adapter.js +0 -11
- package/dist/core/execution/adapters/graphql-capability-adapter.js.map +0 -1
- package/dist/core/execution/adapters/rest-adapter.d.ts +0 -3
- package/dist/core/execution/adapters/rest-adapter.js +0 -8
- package/dist/core/execution/adapters/rest-adapter.js.map +0 -1
- package/dist/core/execution/cli/safe-runner.d.ts +0 -12
- package/dist/core/execution/cli/safe-runner.js +0 -7
- package/dist/core/execution/cli/safe-runner.js.map +0 -1
- package/dist/core/execution/normalizer.d.ts +0 -13
- package/dist/core/execution/normalizer.js +0 -9
- package/dist/core/execution/normalizer.js.map +0 -1
- package/dist/core/execution/preflight.d.ts +0 -24
- package/dist/core/execution/preflight.js +0 -8
- package/dist/core/execution/preflight.js.map +0 -1
- package/dist/core/registry/index.d.ts +0 -15
- package/dist/core/registry/index.js +0 -12
- package/dist/core/registry/index.js.map +0 -1
- package/dist/core/registry/operation-card-schema.d.ts +0 -167
- package/dist/core/registry/operation-card-schema.js +0 -7
- package/dist/core/registry/operation-card-schema.js.map +0 -1
- package/dist/core/registry/schema-validator.d.ts +0 -16
- package/dist/core/registry/schema-validator.js +0 -9
- package/dist/core/registry/schema-validator.js.map +0 -1
- package/dist/core/registry/types.d.ts +0 -51
- package/dist/core/registry/types.js +0 -1
- package/dist/core/registry/types.js.map +0 -1
- package/dist/core/routing/capability-registry.d.ts +0 -8
- package/dist/core/routing/capability-registry.js +0 -15
- package/dist/core/routing/capability-registry.js.map +0 -1
- package/dist/core/routing/engine.d.ts +0 -32
- package/dist/core/routing/engine.js +0 -23
- package/dist/core/routing/engine.js.map +0 -1
- package/dist/core/routing/policy.d.ts +0 -3
- package/dist/core/routing/policy.js +0 -7
- package/dist/core/routing/policy.js.map +0 -1
- package/dist/core/routing/reason-codes.d.ts +0 -4
- package/dist/core/routing/reason-codes.js +0 -15
- package/dist/core/routing/reason-codes.js.map +0 -1
- package/dist/core/telemetry/logger.d.ts +0 -8
- package/dist/core/telemetry/logger.js +0 -9
- package/dist/core/telemetry/logger.js.map +0 -1
- package/dist/core/telemetry/metrics.d.ts +0 -7
- package/dist/core/telemetry/metrics.js +0 -1
- package/dist/core/telemetry/metrics.js.map +0 -1
- package/dist/gql/client.d.ts +0 -183
- package/dist/gql/client.js +0 -17
- package/dist/gql/client.js.map +0 -1
- package/dist/gql/generated/common-types.d.ts +0 -36
- package/dist/gql/generated/common-types.js +0 -1
- package/dist/gql/generated/common-types.js.map +0 -1
- package/dist/gql/operations/issue-comments-list.generated.d.ts +0 -59
- package/dist/gql/operations/issue-comments-list.generated.js +0 -9
- package/dist/gql/operations/issue-comments-list.generated.js.map +0 -1
- package/dist/gql/operations/issue-list.generated.d.ts +0 -40
- package/dist/gql/operations/issue-list.generated.js +0 -9
- package/dist/gql/operations/issue-list.generated.js.map +0 -1
- package/dist/gql/operations/issue-view.generated.d.ts +0 -31
- package/dist/gql/operations/issue-view.generated.js +0 -9
- package/dist/gql/operations/issue-view.generated.js.map +0 -1
- package/dist/gql/operations/pr-comment-reply.generated.d.ts +0 -26
- package/dist/gql/operations/pr-comment-reply.generated.js +0 -25
- package/dist/gql/operations/pr-comment-reply.generated.js.map +0 -1
- package/dist/gql/operations/pr-comment-resolve.generated.d.ts +0 -26
- package/dist/gql/operations/pr-comment-resolve.generated.js +0 -24
- package/dist/gql/operations/pr-comment-resolve.generated.js.map +0 -1
- package/dist/gql/operations/pr-comment-unresolve.generated.d.ts +0 -26
- package/dist/gql/operations/pr-comment-unresolve.generated.js +0 -24
- package/dist/gql/operations/pr-comment-unresolve.generated.js.map +0 -1
- package/dist/gql/operations/pr-comments-list.generated.d.ts +0 -84
- package/dist/gql/operations/pr-comments-list.generated.js +0 -58
- package/dist/gql/operations/pr-comments-list.generated.js.map +0 -1
- package/dist/gql/operations/pr-diff-list-files.generated.d.ts +0 -42
- package/dist/gql/operations/pr-diff-list-files.generated.js +0 -9
- package/dist/gql/operations/pr-diff-list-files.generated.js.map +0 -1
- package/dist/gql/operations/pr-list.generated.d.ts +0 -40
- package/dist/gql/operations/pr-list.generated.js +0 -9
- package/dist/gql/operations/pr-list.generated.js.map +0 -1
- package/dist/gql/operations/pr-reviews-list.generated.d.ts +0 -64
- package/dist/gql/operations/pr-reviews-list.generated.js +0 -9
- package/dist/gql/operations/pr-reviews-list.generated.js.map +0 -1
- package/dist/gql/operations/pr-view.generated.d.ts +0 -31
- package/dist/gql/operations/pr-view.generated.js +0 -9
- package/dist/gql/operations/pr-view.generated.js.map +0 -1
- package/dist/gql/operations/repo-view.generated.d.ts +0 -33
- package/dist/gql/operations/repo-view.generated.js +0 -9
- package/dist/gql/operations/repo-view.generated.js.map +0 -1
- package/dist/shared/constants.d.ts +0 -3
- package/dist/shared/constants.js +0 -6
- package/dist/shared/constants.js.map +0 -1
- package/dist/shared/types.d.ts +0 -3
- package/dist/shared/types.js +0 -1
- package/dist/shared/types.js.map +0 -1
- package/dist/shared/utils.d.ts +0 -3
- package/dist/shared/utils.js +0 -8
- package/dist/shared/utils.js.map +0 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
capability_id: issue.comments.list
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: List comments for one issue.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, issueNumber, first]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
issueNumber: { type: integer, minimum: 1 }
|
|
11
|
+
first: { type: integer, minimum: 1 }
|
|
12
|
+
after: { type: [string, "null"] }
|
|
13
|
+
additionalProperties: false
|
|
14
|
+
output_schema:
|
|
15
|
+
type: object
|
|
16
|
+
required: [items, pageInfo]
|
|
17
|
+
properties:
|
|
18
|
+
items:
|
|
19
|
+
type: array
|
|
20
|
+
items:
|
|
21
|
+
type: object
|
|
22
|
+
required: [id, body, authorLogin, url, createdAt]
|
|
23
|
+
properties:
|
|
24
|
+
id: { type: string, minLength: 1 }
|
|
25
|
+
body: { type: string }
|
|
26
|
+
authorLogin: { type: [string, "null"] }
|
|
27
|
+
url: { type: string, minLength: 1 }
|
|
28
|
+
createdAt: { type: string, minLength: 1 }
|
|
29
|
+
additionalProperties: false
|
|
30
|
+
pageInfo:
|
|
31
|
+
type: object
|
|
32
|
+
required: [hasNextPage, endCursor]
|
|
33
|
+
properties:
|
|
34
|
+
hasNextPage: { type: boolean }
|
|
35
|
+
endCursor: { type: [string, "null"] }
|
|
36
|
+
additionalProperties: false
|
|
37
|
+
additionalProperties: false
|
|
38
|
+
routing:
|
|
39
|
+
preferred: graphql
|
|
40
|
+
fallbacks: [cli]
|
|
41
|
+
notes:
|
|
42
|
+
- Prefer GraphQL for typed issue-comment pagination and stable cursor handling.
|
|
43
|
+
- CLI fallback uses gh api graphql with bounded cursor pagination for comments.
|
|
44
|
+
graphql:
|
|
45
|
+
operationName: IssueCommentsList
|
|
46
|
+
documentPath: src/gql/operations/issue-comments-list.graphql
|
|
47
|
+
cli:
|
|
48
|
+
command: api graphql
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
capability_id: issue.create
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Create a new issue.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, title]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
title: { type: string, minLength: 1 }
|
|
11
|
+
body: { type: string }
|
|
12
|
+
additionalProperties: false
|
|
13
|
+
output_schema:
|
|
14
|
+
type: object
|
|
15
|
+
required: [id, number]
|
|
16
|
+
properties:
|
|
17
|
+
id: { type: string, minLength: 1 }
|
|
18
|
+
number: { type: integer, minimum: 1 }
|
|
19
|
+
title: { type: string }
|
|
20
|
+
state: { type: string }
|
|
21
|
+
url: { type: string, minLength: 1 }
|
|
22
|
+
additionalProperties: false
|
|
23
|
+
routing:
|
|
24
|
+
preferred: graphql
|
|
25
|
+
fallbacks: []
|
|
26
|
+
graphql:
|
|
27
|
+
operationName: IssueCreate
|
|
28
|
+
documentPath: src/gql/operations/issue-create.graphql
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
capability_id: issue.delete
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Delete an issue.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [issueId]
|
|
7
|
+
properties:
|
|
8
|
+
issueId: { type: string, minLength: 1 }
|
|
9
|
+
additionalProperties: false
|
|
10
|
+
output_schema:
|
|
11
|
+
type: object
|
|
12
|
+
required: [id, number, deleted]
|
|
13
|
+
properties:
|
|
14
|
+
id: { type: string, minLength: 1 }
|
|
15
|
+
number: { type: integer, minimum: 0 }
|
|
16
|
+
deleted: { type: boolean }
|
|
17
|
+
additionalProperties: false
|
|
18
|
+
routing:
|
|
19
|
+
preferred: graphql
|
|
20
|
+
fallbacks: []
|
|
21
|
+
graphql:
|
|
22
|
+
operationName: IssueDelete
|
|
23
|
+
documentPath: src/gql/operations/issue-delete.graphql
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
capability_id: issue.labels.update
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Replace issue labels.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [issueId, labels]
|
|
7
|
+
properties:
|
|
8
|
+
issueId: { type: string, minLength: 1 }
|
|
9
|
+
labels:
|
|
10
|
+
type: array
|
|
11
|
+
items: { type: string, minLength: 1 }
|
|
12
|
+
additionalProperties: false
|
|
13
|
+
output_schema:
|
|
14
|
+
type: object
|
|
15
|
+
required: [id, labels]
|
|
16
|
+
properties:
|
|
17
|
+
id: { type: string, minLength: 1 }
|
|
18
|
+
labels:
|
|
19
|
+
type: array
|
|
20
|
+
items: { type: string, minLength: 1 }
|
|
21
|
+
additionalProperties: false
|
|
22
|
+
routing:
|
|
23
|
+
preferred: graphql
|
|
24
|
+
fallbacks: []
|
|
25
|
+
graphql:
|
|
26
|
+
operationName: IssueLabelsUpdate
|
|
27
|
+
documentPath: src/gql/operations/issue-labels-update.graphql
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
capability_id: issue.linked_prs.list
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: List pull requests linked to an issue.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, issueNumber]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
issueNumber: { type: integer, minimum: 1 }
|
|
11
|
+
additionalProperties: false
|
|
12
|
+
output_schema:
|
|
13
|
+
type: object
|
|
14
|
+
required: [items]
|
|
15
|
+
properties:
|
|
16
|
+
items:
|
|
17
|
+
type: array
|
|
18
|
+
items:
|
|
19
|
+
type: object
|
|
20
|
+
required: [id, number, title, state, url]
|
|
21
|
+
properties:
|
|
22
|
+
id: { type: string, minLength: 1 }
|
|
23
|
+
number: { type: integer, minimum: 1 }
|
|
24
|
+
title: { type: string }
|
|
25
|
+
state: { type: string }
|
|
26
|
+
url: { type: string }
|
|
27
|
+
additionalProperties: false
|
|
28
|
+
additionalProperties: false
|
|
29
|
+
routing:
|
|
30
|
+
preferred: graphql
|
|
31
|
+
fallbacks: []
|
|
32
|
+
graphql:
|
|
33
|
+
operationName: IssueLinkedPrsList
|
|
34
|
+
documentPath: src/gql/operations/issue-linked-prs-list.graphql
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
capability_id: issue.list
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: List repository issues.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
state: { type: string, minLength: 1 }
|
|
11
|
+
first: { type: integer, minimum: 1 }
|
|
12
|
+
after: { type: [string, "null"] }
|
|
13
|
+
additionalProperties: false
|
|
14
|
+
output_schema:
|
|
15
|
+
type: object
|
|
16
|
+
required: [items, pageInfo]
|
|
17
|
+
properties:
|
|
18
|
+
items:
|
|
19
|
+
type: array
|
|
20
|
+
items:
|
|
21
|
+
type: object
|
|
22
|
+
required: [id, number, title, state, url]
|
|
23
|
+
properties:
|
|
24
|
+
id: { type: string, minLength: 1 }
|
|
25
|
+
number: { type: integer, minimum: 1 }
|
|
26
|
+
title: { type: string }
|
|
27
|
+
state: { type: string }
|
|
28
|
+
url: { type: string, minLength: 1 }
|
|
29
|
+
additionalProperties: false
|
|
30
|
+
pageInfo:
|
|
31
|
+
type: object
|
|
32
|
+
required: [hasNextPage, endCursor]
|
|
33
|
+
properties:
|
|
34
|
+
hasNextPage: { type: boolean }
|
|
35
|
+
endCursor: { type: [string, "null"] }
|
|
36
|
+
additionalProperties: false
|
|
37
|
+
additionalProperties: false
|
|
38
|
+
routing:
|
|
39
|
+
preferred: cli
|
|
40
|
+
fallbacks: [graphql]
|
|
41
|
+
notes:
|
|
42
|
+
- Prefer CLI for low-latency structured fetches when gh authentication is available.
|
|
43
|
+
graphql:
|
|
44
|
+
operationName: IssueList
|
|
45
|
+
documentPath: src/gql/operations/issue-list.graphql
|
|
46
|
+
cli:
|
|
47
|
+
command: issue list
|
|
48
|
+
jsonFields: [id, number, title, state, url]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
capability_id: issue.milestone.set
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Set issue milestone number or clear with null.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [issueId, milestoneNumber]
|
|
7
|
+
properties:
|
|
8
|
+
issueId: { type: string, minLength: 1 }
|
|
9
|
+
milestoneNumber: { type: [integer, "null"], minimum: 1 }
|
|
10
|
+
additionalProperties: false
|
|
11
|
+
output_schema:
|
|
12
|
+
type: object
|
|
13
|
+
required: [id, milestoneNumber]
|
|
14
|
+
properties:
|
|
15
|
+
id: { type: string, minLength: 1 }
|
|
16
|
+
milestoneNumber: { type: [integer, "null"] }
|
|
17
|
+
additionalProperties: false
|
|
18
|
+
routing:
|
|
19
|
+
preferred: graphql
|
|
20
|
+
fallbacks: []
|
|
21
|
+
graphql:
|
|
22
|
+
operationName: IssueMilestoneSet
|
|
23
|
+
documentPath: src/gql/operations/issue-milestone-set.graphql
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
capability_id: issue.parent.remove
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Remove an issue parent relation.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [issueId]
|
|
7
|
+
properties:
|
|
8
|
+
issueId: { type: string, minLength: 1 }
|
|
9
|
+
additionalProperties: false
|
|
10
|
+
output_schema:
|
|
11
|
+
type: object
|
|
12
|
+
required: [issueId, parentRemoved]
|
|
13
|
+
properties:
|
|
14
|
+
issueId: { type: string, minLength: 1 }
|
|
15
|
+
parentRemoved: { type: boolean }
|
|
16
|
+
additionalProperties: false
|
|
17
|
+
routing:
|
|
18
|
+
preferred: graphql
|
|
19
|
+
fallbacks: []
|
|
20
|
+
graphql:
|
|
21
|
+
operationName: IssueParentRemove
|
|
22
|
+
documentPath: src/gql/operations/issue-parent-remove.graphql
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
capability_id: issue.parent.set
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Set an issue parent relation.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [issueId, parentIssueId]
|
|
7
|
+
properties:
|
|
8
|
+
issueId: { type: string, minLength: 1 }
|
|
9
|
+
parentIssueId: { type: string, minLength: 1 }
|
|
10
|
+
additionalProperties: false
|
|
11
|
+
output_schema:
|
|
12
|
+
type: object
|
|
13
|
+
required: [issueId, parentIssueId]
|
|
14
|
+
properties:
|
|
15
|
+
issueId: { type: string, minLength: 1 }
|
|
16
|
+
parentIssueId: { type: string, minLength: 1 }
|
|
17
|
+
additionalProperties: false
|
|
18
|
+
routing:
|
|
19
|
+
preferred: graphql
|
|
20
|
+
fallbacks: []
|
|
21
|
+
graphql:
|
|
22
|
+
operationName: IssueParentSet
|
|
23
|
+
documentPath: src/gql/operations/issue-parent-set.graphql
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
capability_id: issue.relations.get
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Get issue parent/children/blocking relations.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, issueNumber]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
issueNumber: { type: integer, minimum: 1 }
|
|
11
|
+
additionalProperties: false
|
|
12
|
+
output_schema:
|
|
13
|
+
type: object
|
|
14
|
+
required: [issue, parent, children, blockedBy]
|
|
15
|
+
properties:
|
|
16
|
+
issue:
|
|
17
|
+
type: object
|
|
18
|
+
required: [id, number]
|
|
19
|
+
properties:
|
|
20
|
+
id: { type: string, minLength: 1 }
|
|
21
|
+
number: { type: integer, minimum: 1 }
|
|
22
|
+
additionalProperties: false
|
|
23
|
+
parent:
|
|
24
|
+
type: [object, "null"]
|
|
25
|
+
required: [id, number]
|
|
26
|
+
properties:
|
|
27
|
+
id: { type: string, minLength: 1 }
|
|
28
|
+
number: { type: integer, minimum: 1 }
|
|
29
|
+
additionalProperties: false
|
|
30
|
+
children:
|
|
31
|
+
type: array
|
|
32
|
+
items:
|
|
33
|
+
type: object
|
|
34
|
+
required: [id, number]
|
|
35
|
+
properties:
|
|
36
|
+
id: { type: string, minLength: 1 }
|
|
37
|
+
number: { type: integer, minimum: 1 }
|
|
38
|
+
additionalProperties: false
|
|
39
|
+
blockedBy:
|
|
40
|
+
type: array
|
|
41
|
+
items:
|
|
42
|
+
type: object
|
|
43
|
+
required: [id, number]
|
|
44
|
+
properties:
|
|
45
|
+
id: { type: string, minLength: 1 }
|
|
46
|
+
number: { type: integer, minimum: 1 }
|
|
47
|
+
additionalProperties: false
|
|
48
|
+
additionalProperties: false
|
|
49
|
+
routing:
|
|
50
|
+
preferred: graphql
|
|
51
|
+
fallbacks: []
|
|
52
|
+
graphql:
|
|
53
|
+
operationName: IssueRelationsGet
|
|
54
|
+
documentPath: src/gql/operations/issue-relations-get.graphql
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
capability_id: issue.reopen
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Reopen a closed issue.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [issueId]
|
|
7
|
+
properties:
|
|
8
|
+
issueId: { type: string, minLength: 1 }
|
|
9
|
+
additionalProperties: false
|
|
10
|
+
output_schema:
|
|
11
|
+
type: object
|
|
12
|
+
required: [id, number, state, reopened]
|
|
13
|
+
properties:
|
|
14
|
+
id: { type: string, minLength: 1 }
|
|
15
|
+
number: { type: integer, minimum: 1 }
|
|
16
|
+
state: { type: string }
|
|
17
|
+
reopened: { type: boolean }
|
|
18
|
+
additionalProperties: false
|
|
19
|
+
routing:
|
|
20
|
+
preferred: graphql
|
|
21
|
+
fallbacks: []
|
|
22
|
+
graphql:
|
|
23
|
+
operationName: IssueReopen
|
|
24
|
+
documentPath: src/gql/operations/issue-reopen.graphql
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
capability_id: issue.update
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Update issue title and/or body.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [issueId]
|
|
7
|
+
properties:
|
|
8
|
+
issueId: { type: string, minLength: 1 }
|
|
9
|
+
title: { type: string }
|
|
10
|
+
body: { type: string }
|
|
11
|
+
additionalProperties: false
|
|
12
|
+
output_schema:
|
|
13
|
+
type: object
|
|
14
|
+
required: [id, number]
|
|
15
|
+
properties:
|
|
16
|
+
id: { type: string, minLength: 1 }
|
|
17
|
+
number: { type: integer, minimum: 1 }
|
|
18
|
+
title: { type: string }
|
|
19
|
+
state: { type: string }
|
|
20
|
+
url: { type: string, minLength: 1 }
|
|
21
|
+
additionalProperties: false
|
|
22
|
+
routing:
|
|
23
|
+
preferred: graphql
|
|
24
|
+
fallbacks: []
|
|
25
|
+
graphql:
|
|
26
|
+
operationName: IssueUpdate
|
|
27
|
+
documentPath: src/gql/operations/issue-update.graphql
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
capability_id: issue.view
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Fetch one issue by number.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, issueNumber]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
issueNumber: { type: integer, minimum: 1 }
|
|
11
|
+
additionalProperties: false
|
|
12
|
+
output_schema:
|
|
13
|
+
type: object
|
|
14
|
+
required: [id, number, title, state, url]
|
|
15
|
+
properties:
|
|
16
|
+
id: { type: string, minLength: 1 }
|
|
17
|
+
number: { type: integer, minimum: 1 }
|
|
18
|
+
title: { type: string }
|
|
19
|
+
state: { type: string }
|
|
20
|
+
url: { type: string, minLength: 1 }
|
|
21
|
+
additionalProperties: false
|
|
22
|
+
routing:
|
|
23
|
+
preferred: cli
|
|
24
|
+
fallbacks: [graphql]
|
|
25
|
+
notes:
|
|
26
|
+
- Prefer CLI for low-latency structured fetches when gh authentication is available.
|
|
27
|
+
graphql:
|
|
28
|
+
operationName: IssueView
|
|
29
|
+
documentPath: src/gql/operations/issue-view.graphql
|
|
30
|
+
cli:
|
|
31
|
+
command: issue view
|
|
32
|
+
jsonFields: [id, number, title, state, url]
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
capability_id: pr.assignees.update
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Update pull request assignees.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, prNumber]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
prNumber: { type: integer, minimum: 1 }
|
|
11
|
+
add:
|
|
12
|
+
type: array
|
|
13
|
+
items: { type: string, minLength: 1 }
|
|
14
|
+
remove:
|
|
15
|
+
type: array
|
|
16
|
+
items: { type: string, minLength: 1 }
|
|
17
|
+
anyOf:
|
|
18
|
+
- required: [add]
|
|
19
|
+
- required: [remove]
|
|
20
|
+
additionalProperties: false
|
|
21
|
+
output_schema:
|
|
22
|
+
type: object
|
|
23
|
+
required: [prNumber, add, remove, updated]
|
|
24
|
+
properties:
|
|
25
|
+
prNumber: { type: integer, minimum: 1 }
|
|
26
|
+
add:
|
|
27
|
+
type: array
|
|
28
|
+
items: { type: string, minLength: 1 }
|
|
29
|
+
remove:
|
|
30
|
+
type: array
|
|
31
|
+
items: { type: string, minLength: 1 }
|
|
32
|
+
updated: { type: boolean }
|
|
33
|
+
additionalProperties: false
|
|
34
|
+
routing:
|
|
35
|
+
preferred: cli
|
|
36
|
+
fallbacks: []
|
|
37
|
+
cli:
|
|
38
|
+
command: pr edit
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
capability_id: pr.branch.update
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Update pull request branch with latest base branch changes.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, prNumber]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
prNumber: { type: integer, minimum: 1 }
|
|
11
|
+
additionalProperties: false
|
|
12
|
+
output_schema:
|
|
13
|
+
type: object
|
|
14
|
+
required: [prNumber, updated]
|
|
15
|
+
properties:
|
|
16
|
+
prNumber: { type: integer, minimum: 1 }
|
|
17
|
+
updated: { type: boolean }
|
|
18
|
+
additionalProperties: false
|
|
19
|
+
routing:
|
|
20
|
+
preferred: cli
|
|
21
|
+
fallbacks: []
|
|
22
|
+
cli:
|
|
23
|
+
command: pr update-branch
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
capability_id: pr.checks.get_failed
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: List failed pull request checks.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, prNumber]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
prNumber: { type: integer, minimum: 1 }
|
|
11
|
+
additionalProperties: false
|
|
12
|
+
output_schema:
|
|
13
|
+
type: object
|
|
14
|
+
required: [items, summary]
|
|
15
|
+
properties:
|
|
16
|
+
items:
|
|
17
|
+
type: array
|
|
18
|
+
items:
|
|
19
|
+
type: object
|
|
20
|
+
required: [name, state, workflow, link]
|
|
21
|
+
properties:
|
|
22
|
+
name: { type: [string, "null"] }
|
|
23
|
+
state: { type: [string, "null"] }
|
|
24
|
+
workflow: { type: [string, "null"] }
|
|
25
|
+
link: { type: [string, "null"] }
|
|
26
|
+
additionalProperties: false
|
|
27
|
+
summary:
|
|
28
|
+
type: object
|
|
29
|
+
required: [total, failed, pending, passed]
|
|
30
|
+
properties:
|
|
31
|
+
total: { type: integer, minimum: 0 }
|
|
32
|
+
failed: { type: integer, minimum: 0 }
|
|
33
|
+
pending: { type: integer, minimum: 0 }
|
|
34
|
+
passed: { type: integer, minimum: 0 }
|
|
35
|
+
additionalProperties: false
|
|
36
|
+
additionalProperties: false
|
|
37
|
+
routing:
|
|
38
|
+
preferred: cli
|
|
39
|
+
fallbacks: []
|
|
40
|
+
cli:
|
|
41
|
+
command: pr checks
|
|
42
|
+
jsonFields: [name, state, workflow, link]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
capability_id: pr.checks.rerun_all
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Rerun all pull request workflow checks for a selected run.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, prNumber, runId]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
prNumber: { type: integer, minimum: 1 }
|
|
11
|
+
runId: { type: integer, minimum: 1 }
|
|
12
|
+
additionalProperties: false
|
|
13
|
+
output_schema:
|
|
14
|
+
type: object
|
|
15
|
+
required: [prNumber, runId, mode, queued]
|
|
16
|
+
properties:
|
|
17
|
+
prNumber: { type: integer, minimum: 1 }
|
|
18
|
+
runId: { type: integer, minimum: 1 }
|
|
19
|
+
mode: { type: string, const: all }
|
|
20
|
+
queued: { type: boolean }
|
|
21
|
+
additionalProperties: false
|
|
22
|
+
routing:
|
|
23
|
+
preferred: cli
|
|
24
|
+
fallbacks: []
|
|
25
|
+
cli:
|
|
26
|
+
command: run rerun
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
capability_id: pr.checks.rerun_failed
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Rerun failed pull request workflow checks for a selected run.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, prNumber, runId]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
prNumber: { type: integer, minimum: 1 }
|
|
11
|
+
runId: { type: integer, minimum: 1 }
|
|
12
|
+
additionalProperties: false
|
|
13
|
+
output_schema:
|
|
14
|
+
type: object
|
|
15
|
+
required: [prNumber, runId, mode, queued]
|
|
16
|
+
properties:
|
|
17
|
+
prNumber: { type: integer, minimum: 1 }
|
|
18
|
+
runId: { type: integer, minimum: 1 }
|
|
19
|
+
mode: { type: string, const: failed }
|
|
20
|
+
queued: { type: boolean }
|
|
21
|
+
additionalProperties: false
|
|
22
|
+
routing:
|
|
23
|
+
preferred: cli
|
|
24
|
+
fallbacks: []
|
|
25
|
+
cli:
|
|
26
|
+
command: run rerun
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
capability_id: pr.comment.reply
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Reply to a pull request review thread.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [threadId, body]
|
|
7
|
+
properties:
|
|
8
|
+
threadId: { type: string, minLength: 1 }
|
|
9
|
+
body: { type: string, minLength: 1 }
|
|
10
|
+
additionalProperties: false
|
|
11
|
+
output_schema:
|
|
12
|
+
type: object
|
|
13
|
+
required: [id, isResolved]
|
|
14
|
+
properties:
|
|
15
|
+
id: { type: string, minLength: 1 }
|
|
16
|
+
isResolved: { type: boolean }
|
|
17
|
+
additionalProperties: false
|
|
18
|
+
routing:
|
|
19
|
+
preferred: graphql
|
|
20
|
+
fallbacks: []
|
|
21
|
+
graphql:
|
|
22
|
+
operationName: PrCommentReply
|
|
23
|
+
documentPath: src/gql/operations/pr-comment-reply.graphql
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
capability_id: pr.comment.resolve
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Resolve a pull request review thread.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [threadId]
|
|
7
|
+
properties:
|
|
8
|
+
threadId: { type: string, minLength: 1 }
|
|
9
|
+
additionalProperties: false
|
|
10
|
+
output_schema:
|
|
11
|
+
type: object
|
|
12
|
+
required: [id, isResolved]
|
|
13
|
+
properties:
|
|
14
|
+
id: { type: string, minLength: 1 }
|
|
15
|
+
isResolved: { type: boolean }
|
|
16
|
+
additionalProperties: false
|
|
17
|
+
routing:
|
|
18
|
+
preferred: graphql
|
|
19
|
+
fallbacks: []
|
|
20
|
+
graphql:
|
|
21
|
+
operationName: PrCommentResolve
|
|
22
|
+
documentPath: src/gql/operations/pr-comment-resolve.graphql
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
capability_id: pr.comment.unresolve
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Unresolve a pull request review thread.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [threadId]
|
|
7
|
+
properties:
|
|
8
|
+
threadId: { type: string, minLength: 1 }
|
|
9
|
+
additionalProperties: false
|
|
10
|
+
output_schema:
|
|
11
|
+
type: object
|
|
12
|
+
required: [id, isResolved]
|
|
13
|
+
properties:
|
|
14
|
+
id: { type: string, minLength: 1 }
|
|
15
|
+
isResolved: { type: boolean }
|
|
16
|
+
additionalProperties: false
|
|
17
|
+
routing:
|
|
18
|
+
preferred: graphql
|
|
19
|
+
fallbacks: []
|
|
20
|
+
graphql:
|
|
21
|
+
operationName: PrCommentUnresolve
|
|
22
|
+
documentPath: src/gql/operations/pr-comment-unresolve.graphql
|