@ghx-dev/core 0.1.0-beta.0 → 0.1.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/README.md +169 -114
- package/dist/agent-interface/tools/explain-tool.js +2 -2
- package/dist/agent-interface/tools/list-capabilities-tool.js +2 -2
- package/dist/agent.js +3 -3
- 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-GPU4P7UG.js → chunk-22WWCK6A.js} +3 -3
- package/dist/{chunk-Q4RTT3DV.js → chunk-3MRJX72M.js} +5 -5
- package/dist/{chunk-MMG6CIKK.js → chunk-4PLVKNCF.js} +2 -2
- package/dist/{chunk-3RJCF42N.js → chunk-GMTG7X2L.js} +2 -2
- package/dist/{chunk-BJHVAFTN.js → chunk-HQ2VRCH7.js} +2 -2
- package/dist/{chunk-MT4U5DYD.js → chunk-JH6GM6XU.js} +47 -2
- package/dist/chunk-JH6GM6XU.js.map +1 -0
- package/dist/chunk-JLDU462R.js +1352 -0
- package/dist/chunk-JLDU462R.js.map +1 -0
- package/dist/{chunk-YNQNHCRS.js → chunk-MGNGSGMF.js} +8 -3
- package/dist/chunk-MGNGSGMF.js.map +1 -0
- package/dist/chunk-SA2D4A5U.js +1496 -0
- package/dist/chunk-SA2D4A5U.js.map +1 -0
- package/dist/{chunk-WYSY75U7.js → chunk-SD7U4BNA.js} +32 -14
- package/dist/chunk-SD7U4BNA.js.map +1 -0
- package/dist/{chunk-QX34GTH6.js → chunk-SJR2SACI.js} +2 -2
- package/dist/chunk-XNMM64WU.js +221 -0
- package/dist/chunk-XNMM64WU.js.map +1 -0
- package/dist/cli/commands/capabilities-explain.js +3 -3
- package/dist/cli/commands/capabilities-list.js +3 -3
- package/dist/cli/commands/run.js +14 -14
- package/dist/cli/commands/setup.js +1 -1
- package/dist/cli/index.js +21 -21
- package/dist/core/contracts/tasks/issue.assignees.update.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.assignees.update.js +8 -0
- package/dist/core/contracts/tasks/issue.assignees.update.js.map +1 -0
- package/dist/core/contracts/tasks/issue.blocked_by.add.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.blocked_by.add.js +8 -0
- package/dist/core/contracts/tasks/issue.blocked_by.add.js.map +1 -0
- package/dist/core/contracts/tasks/issue.blocked_by.remove.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.blocked_by.remove.js +8 -0
- package/dist/core/contracts/tasks/issue.blocked_by.remove.js.map +1 -0
- package/dist/core/contracts/tasks/issue.close.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.close.js +8 -0
- package/dist/core/contracts/tasks/issue.close.js.map +1 -0
- package/dist/core/contracts/tasks/issue.comments.create.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.comments.create.js +8 -0
- package/dist/core/contracts/tasks/issue.comments.create.js.map +1 -0
- package/dist/core/contracts/tasks/issue.create.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.create.js +8 -0
- package/dist/core/contracts/tasks/issue.create.js.map +1 -0
- package/dist/core/contracts/tasks/issue.delete.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.delete.js +8 -0
- package/dist/core/contracts/tasks/issue.delete.js.map +1 -0
- package/dist/core/contracts/tasks/issue.labels.update.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.labels.update.js +8 -0
- package/dist/core/contracts/tasks/issue.labels.update.js.map +1 -0
- package/dist/core/contracts/tasks/issue.linked_prs.list.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.linked_prs.list.js +8 -0
- package/dist/core/contracts/tasks/issue.linked_prs.list.js.map +1 -0
- package/dist/core/contracts/tasks/issue.milestone.set.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.milestone.set.js +8 -0
- package/dist/core/contracts/tasks/issue.milestone.set.js.map +1 -0
- package/dist/core/contracts/tasks/issue.parent.remove.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.parent.remove.js +8 -0
- package/dist/core/contracts/tasks/issue.parent.remove.js.map +1 -0
- package/dist/core/contracts/tasks/issue.parent.set.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.parent.set.js +8 -0
- package/dist/core/contracts/tasks/issue.parent.set.js.map +1 -0
- package/dist/core/contracts/tasks/issue.relations.get.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.relations.get.js +8 -0
- package/dist/core/contracts/tasks/issue.relations.get.js.map +1 -0
- package/dist/core/contracts/tasks/issue.reopen.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.reopen.js +8 -0
- package/dist/core/contracts/tasks/issue.reopen.js.map +1 -0
- package/dist/core/contracts/tasks/issue.update.d.ts +5 -0
- package/dist/core/contracts/tasks/issue.update.js +8 -0
- package/dist/core/contracts/tasks/issue.update.js.map +1 -0
- package/dist/core/contracts/tasks/pr.assignees.update.d.ts +5 -0
- package/dist/core/contracts/tasks/pr.assignees.update.js +8 -0
- package/dist/core/contracts/tasks/pr.assignees.update.js.map +1 -0
- package/dist/core/contracts/tasks/pr.branch.update.d.ts +5 -0
- package/dist/core/contracts/tasks/pr.branch.update.js +8 -0
- package/dist/core/contracts/tasks/pr.branch.update.js.map +1 -0
- package/dist/core/contracts/tasks/pr.checks.rerun_all.d.ts +5 -0
- package/dist/core/contracts/tasks/pr.checks.rerun_all.js +8 -0
- package/dist/core/contracts/tasks/pr.checks.rerun_all.js.map +1 -0
- package/dist/core/contracts/tasks/pr.checks.rerun_failed.d.ts +5 -0
- package/dist/core/contracts/tasks/pr.checks.rerun_failed.js +8 -0
- package/dist/core/contracts/tasks/pr.checks.rerun_failed.js.map +1 -0
- package/dist/core/contracts/tasks/pr.merge.execute.d.ts +5 -0
- package/dist/core/contracts/tasks/pr.merge.execute.js +8 -0
- package/dist/core/contracts/tasks/pr.merge.execute.js.map +1 -0
- package/dist/core/contracts/tasks/pr.review.submit_approve.d.ts +5 -0
- package/dist/core/contracts/tasks/pr.review.submit_approve.js +8 -0
- package/dist/core/contracts/tasks/pr.review.submit_approve.js.map +1 -0
- package/dist/core/contracts/tasks/pr.review.submit_comment.d.ts +5 -0
- package/dist/core/contracts/tasks/pr.review.submit_comment.js +8 -0
- package/dist/core/contracts/tasks/pr.review.submit_comment.js.map +1 -0
- package/dist/core/contracts/tasks/pr.review.submit_request_changes.d.ts +5 -0
- package/dist/core/contracts/tasks/pr.review.submit_request_changes.js +8 -0
- package/dist/core/contracts/tasks/pr.review.submit_request_changes.js.map +1 -0
- package/dist/core/contracts/tasks/pr.reviewers.request.d.ts +5 -0
- package/dist/core/contracts/tasks/pr.reviewers.request.js +8 -0
- package/dist/core/contracts/tasks/pr.reviewers.request.js.map +1 -0
- package/dist/core/contracts/tasks/project_v2.fields.list.d.ts +5 -0
- package/dist/core/contracts/tasks/project_v2.fields.list.js +8 -0
- package/dist/core/contracts/tasks/project_v2.fields.list.js.map +1 -0
- package/dist/core/contracts/tasks/project_v2.item.add_issue.d.ts +5 -0
- package/dist/core/contracts/tasks/project_v2.item.add_issue.js +8 -0
- package/dist/core/contracts/tasks/project_v2.item.add_issue.js.map +1 -0
- package/dist/core/contracts/tasks/project_v2.item.field.update.d.ts +5 -0
- package/dist/core/contracts/tasks/project_v2.item.field.update.js +8 -0
- package/dist/core/contracts/tasks/project_v2.item.field.update.js.map +1 -0
- package/dist/core/contracts/tasks/project_v2.items.list.d.ts +5 -0
- package/dist/core/contracts/tasks/project_v2.items.list.js +8 -0
- package/dist/core/contracts/tasks/project_v2.items.list.js.map +1 -0
- package/dist/core/contracts/tasks/project_v2.org.get.d.ts +5 -0
- package/dist/core/contracts/tasks/project_v2.org.get.js +8 -0
- package/dist/core/contracts/tasks/project_v2.org.get.js.map +1 -0
- package/dist/core/contracts/tasks/project_v2.user.get.d.ts +5 -0
- package/dist/core/contracts/tasks/project_v2.user.get.js +8 -0
- package/dist/core/contracts/tasks/project_v2.user.get.js.map +1 -0
- package/dist/core/contracts/tasks/release.create_draft.d.ts +5 -0
- package/dist/core/contracts/tasks/release.create_draft.js +8 -0
- package/dist/core/contracts/tasks/release.create_draft.js.map +1 -0
- package/dist/core/contracts/tasks/release.get.d.ts +5 -0
- package/dist/core/contracts/tasks/release.get.js +8 -0
- package/dist/core/contracts/tasks/release.get.js.map +1 -0
- package/dist/core/contracts/tasks/release.list.d.ts +5 -0
- package/dist/core/contracts/tasks/release.list.js +8 -0
- package/dist/core/contracts/tasks/release.list.js.map +1 -0
- package/dist/core/contracts/tasks/release.publish_draft.d.ts +5 -0
- package/dist/core/contracts/tasks/release.publish_draft.js +8 -0
- package/dist/core/contracts/tasks/release.publish_draft.js.map +1 -0
- package/dist/core/contracts/tasks/release.update.d.ts +5 -0
- package/dist/core/contracts/tasks/release.update.js +8 -0
- package/dist/core/contracts/tasks/release.update.js.map +1 -0
- package/dist/core/contracts/tasks/repo.issue_types.list.d.ts +5 -0
- package/dist/core/contracts/tasks/repo.issue_types.list.js +8 -0
- package/dist/core/contracts/tasks/repo.issue_types.list.js.map +1 -0
- package/dist/core/contracts/tasks/repo.labels.list.d.ts +5 -0
- package/dist/core/contracts/tasks/repo.labels.list.js +8 -0
- package/dist/core/contracts/tasks/repo.labels.list.js.map +1 -0
- package/dist/core/contracts/tasks/workflow.get.d.ts +5 -0
- package/dist/core/contracts/tasks/workflow.get.js +8 -0
- package/dist/core/contracts/tasks/workflow.get.js.map +1 -0
- package/dist/core/contracts/tasks/workflow.list.d.ts +5 -0
- package/dist/core/contracts/tasks/workflow.list.js +8 -0
- package/dist/core/contracts/tasks/workflow.list.js.map +1 -0
- package/dist/core/contracts/tasks/workflow_dispatch.run.d.ts +5 -0
- package/dist/core/contracts/tasks/workflow_dispatch.run.js +8 -0
- package/dist/core/contracts/tasks/workflow_dispatch.run.js.map +1 -0
- package/dist/core/contracts/tasks/workflow_run.artifacts.list.d.ts +5 -0
- package/dist/core/contracts/tasks/workflow_run.artifacts.list.js +8 -0
- package/dist/core/contracts/tasks/workflow_run.artifacts.list.js.map +1 -0
- package/dist/core/contracts/tasks/workflow_run.cancel.d.ts +5 -0
- package/dist/core/contracts/tasks/workflow_run.cancel.js +8 -0
- package/dist/core/contracts/tasks/workflow_run.cancel.js.map +1 -0
- package/dist/core/contracts/tasks/workflow_run.get.d.ts +5 -0
- package/dist/core/contracts/tasks/workflow_run.get.js +8 -0
- package/dist/core/contracts/tasks/workflow_run.get.js.map +1 -0
- package/dist/core/contracts/tasks/workflow_run.rerun_all.d.ts +5 -0
- package/dist/core/contracts/tasks/workflow_run.rerun_all.js +8 -0
- package/dist/core/contracts/tasks/workflow_run.rerun_all.js.map +1 -0
- package/dist/core/contracts/tasks/workflow_run.rerun_failed.d.ts +5 -0
- package/dist/core/contracts/tasks/workflow_run.rerun_failed.js +8 -0
- package/dist/core/contracts/tasks/workflow_run.rerun_failed.js.map +1 -0
- package/dist/core/execute/execute.js +2 -2
- package/dist/core/execution/adapters/cli-adapter.js +4 -4
- package/dist/core/execution/adapters/cli-capability-adapter.d.ts +1 -1
- package/dist/core/execution/adapters/cli-capability-adapter.js +2 -2
- package/dist/core/execution/adapters/graphql-adapter.js +4 -4
- package/dist/core/execution/adapters/graphql-capability-adapter.d.ts +2 -2
- package/dist/core/execution/adapters/graphql-capability-adapter.js +2 -2
- 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/registry/index.js +1 -1
- package/dist/core/routing/capability-registry.js +1 -1
- package/dist/core/routing/engine.js +9 -9
- package/dist/gql/client.d.ts +132 -1
- package/dist/gql/client.js +6 -4
- package/dist/gql/operations/issue-assignees-update.generated.d.ts +33 -0
- package/dist/gql/operations/issue-assignees-update.generated.js +28 -0
- package/dist/gql/operations/issue-assignees-update.generated.js.map +1 -0
- package/dist/gql/operations/issue-blocked-by-add.generated.d.ts +30 -0
- package/dist/gql/operations/issue-blocked-by-add.generated.js +26 -0
- package/dist/gql/operations/issue-blocked-by-add.generated.js.map +1 -0
- package/dist/gql/operations/issue-blocked-by-remove.generated.d.ts +30 -0
- package/dist/gql/operations/issue-blocked-by-remove.generated.js +26 -0
- package/dist/gql/operations/issue-blocked-by-remove.generated.js.map +1 -0
- package/dist/gql/operations/issue-close.generated.d.ts +27 -0
- package/dist/gql/operations/issue-close.generated.js +25 -0
- package/dist/gql/operations/issue-close.generated.js.map +1 -0
- package/dist/gql/operations/issue-comment-create.generated.d.ts +31 -0
- package/dist/gql/operations/issue-comment-create.generated.js +27 -0
- package/dist/gql/operations/issue-comment-create.generated.js.map +1 -0
- package/dist/gql/operations/issue-create.generated.d.ts +31 -0
- package/dist/gql/operations/issue-create.generated.js +27 -0
- package/dist/gql/operations/issue-create.generated.js.map +1 -0
- package/dist/gql/operations/issue-delete.generated.d.ts +22 -0
- package/dist/gql/operations/issue-delete.generated.js +21 -0
- package/dist/gql/operations/issue-delete.generated.js.map +1 -0
- package/dist/gql/operations/issue-labels-update.generated.d.ts +33 -0
- package/dist/gql/operations/issue-labels-update.generated.js +28 -0
- package/dist/gql/operations/issue-labels-update.generated.js.map +1 -0
- package/dist/gql/operations/issue-linked-prs-list.generated.d.ts +132 -0
- package/dist/gql/operations/issue-linked-prs-list.generated.js +39 -0
- package/dist/gql/operations/issue-linked-prs-list.generated.js.map +1 -0
- package/dist/gql/operations/issue-milestone-set.generated.d.ts +30 -0
- package/dist/gql/operations/issue-milestone-set.generated.js +26 -0
- package/dist/gql/operations/issue-milestone-set.generated.js.map +1 -0
- package/dist/gql/operations/issue-parent-remove.generated.d.ts +30 -0
- package/dist/gql/operations/issue-parent-remove.generated.js +26 -0
- package/dist/gql/operations/issue-parent-remove.generated.js.map +1 -0
- package/dist/gql/operations/issue-parent-set.generated.d.ts +30 -0
- package/dist/gql/operations/issue-parent-set.generated.js +26 -0
- package/dist/gql/operations/issue-parent-set.generated.js.map +1 -0
- package/dist/gql/operations/issue-relations-get.generated.d.ts +49 -0
- package/dist/gql/operations/issue-relations-get.generated.js +40 -0
- package/dist/gql/operations/issue-relations-get.generated.js.map +1 -0
- package/dist/gql/operations/issue-reopen.generated.d.ts +27 -0
- package/dist/gql/operations/issue-reopen.generated.js +25 -0
- package/dist/gql/operations/issue-reopen.generated.js.map +1 -0
- package/dist/gql/operations/issue-update.generated.d.ts +31 -0
- package/dist/gql/operations/issue-update.generated.js +27 -0
- package/dist/gql/operations/issue-update.generated.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -13
- package/package.json +42 -15
- package/dist/chunk-3RAT5BCB.js +0 -584
- package/dist/chunk-3RAT5BCB.js.map +0 -1
- package/dist/chunk-MT4U5DYD.js.map +0 -1
- 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.map +0 -1
- package/dist/chunk-YQDQX4BT.js +0 -624
- package/dist/chunk-YQDQX4BT.js.map +0 -1
- /package/dist/{chunk-GPU4P7UG.js.map → chunk-22WWCK6A.js.map} +0 -0
- /package/dist/{chunk-Q4RTT3DV.js.map → chunk-3MRJX72M.js.map} +0 -0
- /package/dist/{chunk-MMG6CIKK.js.map → chunk-4PLVKNCF.js.map} +0 -0
- /package/dist/{chunk-3RJCF42N.js.map → chunk-GMTG7X2L.js.map} +0 -0
- /package/dist/{chunk-BJHVAFTN.js.map → chunk-HQ2VRCH7.js.map} +0 -0
- /package/dist/{chunk-QX34GTH6.js.map → chunk-SJR2SACI.js.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runGraphqlCapability
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-QEAMC4IJ.js";
|
|
3
|
+
} from "../../../chunk-XNMM64WU.js";
|
|
5
4
|
import "../../../chunk-B6RLMKS4.js";
|
|
6
5
|
import "../../../chunk-573MDG3I.js";
|
|
6
|
+
import "../../../chunk-QEAMC4IJ.js";
|
|
7
7
|
import "../../../chunk-UOJWOHRM.js";
|
|
8
8
|
export {
|
|
9
9
|
runGraphqlCapability
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
capability_id: issue.assignees.update
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Replace issue assignees.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [issueId, assignees]
|
|
7
|
+
properties:
|
|
8
|
+
issueId: { type: string, minLength: 1 }
|
|
9
|
+
assignees:
|
|
10
|
+
type: array
|
|
11
|
+
items: { type: string, minLength: 1 }
|
|
12
|
+
additionalProperties: false
|
|
13
|
+
output_schema:
|
|
14
|
+
type: object
|
|
15
|
+
required: [id, assignees]
|
|
16
|
+
properties:
|
|
17
|
+
id: { type: string, minLength: 1 }
|
|
18
|
+
assignees:
|
|
19
|
+
type: array
|
|
20
|
+
items: { type: string, minLength: 1 }
|
|
21
|
+
additionalProperties: false
|
|
22
|
+
routing:
|
|
23
|
+
preferred: graphql
|
|
24
|
+
fallbacks: []
|
|
25
|
+
graphql:
|
|
26
|
+
operationName: IssueAssigneesUpdate
|
|
27
|
+
documentPath: src/gql/operations/issue-assignees-update.graphql
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
capability_id: issue.blocked_by.add
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Add a blocked-by relation for an issue.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [issueId, blockedByIssueId]
|
|
7
|
+
properties:
|
|
8
|
+
issueId: { type: string, minLength: 1 }
|
|
9
|
+
blockedByIssueId: { type: string, minLength: 1 }
|
|
10
|
+
additionalProperties: false
|
|
11
|
+
output_schema:
|
|
12
|
+
type: object
|
|
13
|
+
required: [issueId, blockedByIssueId]
|
|
14
|
+
properties:
|
|
15
|
+
issueId: { type: string, minLength: 1 }
|
|
16
|
+
blockedByIssueId: { type: string, minLength: 1 }
|
|
17
|
+
additionalProperties: false
|
|
18
|
+
routing:
|
|
19
|
+
preferred: graphql
|
|
20
|
+
fallbacks: []
|
|
21
|
+
graphql:
|
|
22
|
+
operationName: IssueBlockedByAdd
|
|
23
|
+
documentPath: src/gql/operations/issue-blocked-by-add.graphql
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
capability_id: issue.blocked_by.remove
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Remove a blocked-by relation for an issue.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [issueId, blockedByIssueId]
|
|
7
|
+
properties:
|
|
8
|
+
issueId: { type: string, minLength: 1 }
|
|
9
|
+
blockedByIssueId: { type: string, minLength: 1 }
|
|
10
|
+
additionalProperties: false
|
|
11
|
+
output_schema:
|
|
12
|
+
type: object
|
|
13
|
+
required: [issueId, blockedByIssueId, removed]
|
|
14
|
+
properties:
|
|
15
|
+
issueId: { type: string, minLength: 1 }
|
|
16
|
+
blockedByIssueId: { type: string, minLength: 1 }
|
|
17
|
+
removed: { type: boolean }
|
|
18
|
+
additionalProperties: false
|
|
19
|
+
routing:
|
|
20
|
+
preferred: graphql
|
|
21
|
+
fallbacks: []
|
|
22
|
+
graphql:
|
|
23
|
+
operationName: IssueBlockedByRemove
|
|
24
|
+
documentPath: src/gql/operations/issue-blocked-by-remove.graphql
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
capability_id: issue.close
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Close 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, state, closed]
|
|
13
|
+
properties:
|
|
14
|
+
id: { type: string, minLength: 1 }
|
|
15
|
+
number: { type: integer, minimum: 1 }
|
|
16
|
+
state: { type: string }
|
|
17
|
+
closed: { type: boolean }
|
|
18
|
+
additionalProperties: false
|
|
19
|
+
routing:
|
|
20
|
+
preferred: graphql
|
|
21
|
+
fallbacks: []
|
|
22
|
+
graphql:
|
|
23
|
+
operationName: IssueClose
|
|
24
|
+
documentPath: src/gql/operations/issue-close.graphql
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
capability_id: issue.comments.create
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Create an issue comment.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [issueId, body]
|
|
7
|
+
properties:
|
|
8
|
+
issueId: { type: string, minLength: 1 }
|
|
9
|
+
body: { type: string, minLength: 1 }
|
|
10
|
+
additionalProperties: false
|
|
11
|
+
output_schema:
|
|
12
|
+
type: object
|
|
13
|
+
required: [id, body, url]
|
|
14
|
+
properties:
|
|
15
|
+
id: { type: string, minLength: 1 }
|
|
16
|
+
body: { type: string }
|
|
17
|
+
url: { type: string }
|
|
18
|
+
additionalProperties: false
|
|
19
|
+
routing:
|
|
20
|
+
preferred: graphql
|
|
21
|
+
fallbacks: []
|
|
22
|
+
graphql:
|
|
23
|
+
operationName: IssueCommentCreate
|
|
24
|
+
documentPath: src/gql/operations/issue-comment-create.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,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,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,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,29 @@
|
|
|
1
|
+
capability_id: pr.merge.execute
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Execute a pull request merge.
|
|
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
|
+
method:
|
|
12
|
+
type: string
|
|
13
|
+
enum: [merge, squash, rebase]
|
|
14
|
+
deleteBranch: { type: boolean }
|
|
15
|
+
additionalProperties: false
|
|
16
|
+
output_schema:
|
|
17
|
+
type: object
|
|
18
|
+
required: [prNumber, method, queued, deleteBranch]
|
|
19
|
+
properties:
|
|
20
|
+
prNumber: { type: integer, minimum: 1 }
|
|
21
|
+
method: { type: string, enum: [merge, squash, rebase] }
|
|
22
|
+
queued: { type: boolean }
|
|
23
|
+
deleteBranch: { type: boolean }
|
|
24
|
+
additionalProperties: false
|
|
25
|
+
routing:
|
|
26
|
+
preferred: cli
|
|
27
|
+
fallbacks: []
|
|
28
|
+
cli:
|
|
29
|
+
command: pr merge
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
capability_id: pr.review.submit_approve
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Submit an approving pull request review.
|
|
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
|
+
body: { type: string, minLength: 1 }
|
|
12
|
+
additionalProperties: false
|
|
13
|
+
output_schema:
|
|
14
|
+
type: object
|
|
15
|
+
required: [prNumber, event, submitted, body]
|
|
16
|
+
properties:
|
|
17
|
+
prNumber: { type: integer, minimum: 1 }
|
|
18
|
+
event: { type: string, const: APPROVE }
|
|
19
|
+
submitted: { type: boolean }
|
|
20
|
+
body: { type: [string, "null"] }
|
|
21
|
+
additionalProperties: false
|
|
22
|
+
routing:
|
|
23
|
+
preferred: cli
|
|
24
|
+
fallbacks: []
|
|
25
|
+
cli:
|
|
26
|
+
command: pr review
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
capability_id: pr.review.submit_comment
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Submit a comment-only pull request review.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, prNumber, body]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
prNumber: { type: integer, minimum: 1 }
|
|
11
|
+
body: { type: string, minLength: 1 }
|
|
12
|
+
additionalProperties: false
|
|
13
|
+
output_schema:
|
|
14
|
+
type: object
|
|
15
|
+
required: [prNumber, event, submitted, body]
|
|
16
|
+
properties:
|
|
17
|
+
prNumber: { type: integer, minimum: 1 }
|
|
18
|
+
event: { type: string, const: COMMENT }
|
|
19
|
+
submitted: { type: boolean }
|
|
20
|
+
body: { type: string, minLength: 1 }
|
|
21
|
+
additionalProperties: false
|
|
22
|
+
routing:
|
|
23
|
+
preferred: cli
|
|
24
|
+
fallbacks: []
|
|
25
|
+
cli:
|
|
26
|
+
command: pr review
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
capability_id: pr.review.submit_request_changes
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Submit a pull request review requesting changes.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, name, prNumber, body]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
name: { type: string, minLength: 1 }
|
|
10
|
+
prNumber: { type: integer, minimum: 1 }
|
|
11
|
+
body: { type: string, minLength: 1 }
|
|
12
|
+
additionalProperties: false
|
|
13
|
+
output_schema:
|
|
14
|
+
type: object
|
|
15
|
+
required: [prNumber, event, submitted, body]
|
|
16
|
+
properties:
|
|
17
|
+
prNumber: { type: integer, minimum: 1 }
|
|
18
|
+
event: { type: string, const: REQUEST_CHANGES }
|
|
19
|
+
submitted: { type: boolean }
|
|
20
|
+
body: { type: string, minLength: 1 }
|
|
21
|
+
additionalProperties: false
|
|
22
|
+
routing:
|
|
23
|
+
preferred: cli
|
|
24
|
+
fallbacks: []
|
|
25
|
+
cli:
|
|
26
|
+
command: pr review
|