@ghx-dev/core 0.1.2 → 0.2.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/.claude-plugin/plugin.json +21 -0
- package/README.md +49 -45
- package/dist/cards/issue.assignees.add.yaml +51 -0
- package/dist/cards/issue.assignees.remove.yaml +51 -0
- package/dist/cards/issue.assignees.set.yaml +48 -0
- package/dist/cards/issue.close.yaml +17 -2
- package/dist/cards/issue.comments.create.yaml +17 -2
- package/dist/cards/issue.comments.list.yaml +1 -0
- package/dist/cards/issue.create.yaml +12 -0
- package/dist/cards/issue.delete.yaml +17 -2
- package/dist/cards/issue.labels.add.yaml +49 -0
- package/dist/cards/issue.labels.remove.yaml +51 -0
- package/dist/cards/issue.labels.set.yaml +48 -0
- package/dist/cards/issue.list.yaml +1 -0
- package/dist/cards/issue.milestone.clear.yaml +41 -0
- package/dist/cards/issue.milestone.set.yaml +24 -4
- package/dist/{core/registry/cards/issue.blocked_by.add.yaml → cards/issue.relations.blocked_by.add.yaml} +4 -2
- package/dist/cards/{issue.blocked_by.remove.yaml → issue.relations.blocked_by.remove.yaml} +2 -1
- package/dist/cards/{issue.parent.remove.yaml → issue.relations.parent.remove.yaml} +12 -1
- package/dist/{core/registry/cards/issue.parent.set.yaml → cards/issue.relations.parent.set.yaml} +4 -2
- package/dist/{core/registry/cards/issue.linked_prs.list.yaml → cards/issue.relations.prs.list.yaml} +2 -1
- package/dist/cards/{issue.relations.get.yaml → issue.relations.view.yaml} +2 -1
- package/dist/cards/issue.reopen.yaml +17 -2
- package/dist/cards/issue.update.yaml +17 -2
- package/dist/cards/issue.view.yaml +8 -5
- package/dist/cards/pr.assignees.add.yaml +33 -0
- package/dist/cards/pr.assignees.remove.yaml +33 -0
- package/dist/cards/pr.branch.update.yaml +6 -2
- package/dist/{core/registry/cards/pr.status.checks.yaml → cards/pr.checks.list.yaml} +15 -2
- package/dist/{core/registry/cards/pr.checks.rerun_all.yaml → cards/pr.checks.rerun.all.yaml} +2 -4
- package/dist/{core/registry/cards/pr.checks.rerun_failed.yaml → cards/pr.checks.rerun.failed.yaml} +3 -5
- package/dist/cards/pr.create.yaml +34 -0
- package/dist/cards/{pr.diff.list_files.yaml → pr.diff.files.yaml} +2 -1
- package/dist/cards/{pr.ready_for_review.set.yaml → pr.diff.view.yaml} +6 -8
- package/dist/cards/pr.list.yaml +1 -0
- package/dist/{core/registry/cards/pr.mergeability.view.yaml → cards/pr.merge.status.yaml} +7 -3
- package/dist/{core/registry/cards/pr.merge.execute.yaml → cards/pr.merge.yaml} +10 -4
- package/dist/cards/pr.reviews.list.yaml +2 -1
- package/dist/cards/{pr.reviewers.request.yaml → pr.reviews.request.yaml} +7 -4
- package/dist/cards/pr.reviews.submit.yaml +68 -0
- package/dist/cards/{pr.comments.list.yaml → pr.threads.list.yaml} +3 -2
- package/dist/cards/{pr.comment.reply.yaml → pr.threads.reply.yaml} +5 -2
- package/dist/{core/registry/cards/pr.comment.resolve.yaml → cards/pr.threads.resolve.yaml} +2 -1
- package/dist/cards/{pr.comment.unresolve.yaml → pr.threads.unresolve.yaml} +2 -1
- package/dist/cards/pr.update.yaml +34 -0
- package/dist/cards/pr.view.yaml +8 -5
- package/dist/cards/project_v2.fields.list.yaml +18 -2
- package/dist/cards/{project_v2.item.field.update.yaml → project_v2.items.field.update.yaml} +9 -6
- package/dist/cards/{project_v2.item.add_issue.yaml → project_v2.items.issue.add.yaml} +10 -6
- package/dist/cards/project_v2.items.issue.remove.yaml +26 -0
- package/dist/cards/project_v2.items.list.yaml +8 -2
- package/dist/{core/registry/cards/project_v2.org.get.yaml → cards/project_v2.org.view.yaml} +7 -3
- package/dist/cards/{project_v2.user.get.yaml → project_v2.user.view.yaml} +7 -3
- package/dist/{core/registry/cards/release.create_draft.yaml → cards/release.create.yaml} +1 -1
- package/dist/cards/release.list.yaml +8 -3
- package/dist/cards/{release.publish_draft.yaml → release.publish.yaml} +1 -1
- package/dist/cards/{release.get.yaml → release.view.yaml} +9 -5
- package/dist/cards/repo.issue_types.list.yaml +7 -3
- package/dist/cards/repo.labels.list.yaml +7 -2
- package/dist/cards/repo.view.yaml +3 -4
- package/dist/cards/{workflow_dispatch.run.yaml → workflow.dispatch.yaml} +1 -1
- package/dist/cards/{workflow_job.logs.get.yaml → workflow.job.logs.raw.yaml} +2 -2
- package/dist/{core/registry/cards/workflow_job.logs.analyze.yaml → cards/workflow.job.logs.view.yaml} +1 -1
- package/dist/{core/registry/cards/workflow_run.artifacts.list.yaml → cards/workflow.run.artifacts.list.yaml} +1 -1
- package/dist/cards/{workflow_run.cancel.yaml → workflow.run.cancel.yaml} +1 -1
- package/dist/cards/{workflow_run.rerun_all.yaml → workflow.run.rerun.all.yaml} +3 -3
- package/dist/{core/registry/cards/workflow_run.rerun_failed.yaml → cards/workflow.run.rerun.failed.yaml} +3 -3
- package/dist/{core/registry/cards/workflow_run.get.yaml → cards/workflow.run.view.yaml} +19 -4
- package/dist/cards/{workflow_runs.list.yaml → workflow.runs.list.yaml} +1 -1
- package/dist/cards/{workflow.get.yaml → workflow.view.yaml} +2 -2
- package/dist/chunk-3DU2WHXF.js +15 -0
- package/dist/chunk-3DU2WHXF.js.map +1 -0
- package/dist/chunk-7HUKYNI2.js +536 -0
- package/dist/chunk-7HUKYNI2.js.map +1 -0
- package/dist/chunk-GQO6BHJV.js +98 -0
- package/dist/chunk-GQO6BHJV.js.map +1 -0
- package/dist/chunk-H7CLZHRO.js +280 -0
- package/dist/chunk-H7CLZHRO.js.map +1 -0
- package/dist/chunk-HEHONZTO.js +121 -0
- package/dist/chunk-HEHONZTO.js.map +1 -0
- package/dist/chunk-M5PJLKL5.js +6132 -0
- package/dist/chunk-M5PJLKL5.js.map +1 -0
- package/dist/chunk-NQ53ETYV.js +128 -0
- package/dist/chunk-NQ53ETYV.js.map +1 -0
- package/dist/chunk-OQWLEFAH.js +436 -0
- package/dist/chunk-OQWLEFAH.js.map +1 -0
- package/dist/chunk-Q2NW7DJE.js +878 -0
- package/dist/chunk-Q2NW7DJE.js.map +1 -0
- package/dist/chunk-QRHKAMRY.js +211 -0
- package/dist/chunk-QRHKAMRY.js.map +1 -0
- package/dist/chunk-R3CBGJZX.js +12 -0
- package/dist/chunk-R3CBGJZX.js.map +1 -0
- package/dist/chunk-TGL33GEA.js +132 -0
- package/dist/chunk-TGL33GEA.js.map +1 -0
- package/dist/chunk-TPQYVCAS.js +15 -0
- package/dist/chunk-TPQYVCAS.js.map +1 -0
- package/dist/chunk-ZGBVX2VG.js +32 -0
- package/dist/chunk-ZGBVX2VG.js.map +1 -0
- package/dist/cli/index.js +268 -22
- package/dist/cli/index.js.map +1 -1
- package/dist/core/registry/cards/issue.assignees.add.yaml +51 -0
- package/dist/core/registry/cards/issue.assignees.remove.yaml +51 -0
- package/dist/core/registry/cards/issue.assignees.set.yaml +48 -0
- package/dist/core/registry/cards/issue.close.yaml +17 -2
- package/dist/core/registry/cards/issue.comments.create.yaml +17 -2
- package/dist/core/registry/cards/issue.comments.list.yaml +1 -0
- package/dist/core/registry/cards/issue.create.yaml +12 -0
- package/dist/core/registry/cards/issue.delete.yaml +17 -2
- package/dist/core/registry/cards/issue.labels.add.yaml +49 -0
- package/dist/core/registry/cards/issue.labels.remove.yaml +51 -0
- package/dist/core/registry/cards/issue.labels.set.yaml +48 -0
- package/dist/core/registry/cards/issue.list.yaml +1 -0
- package/dist/core/registry/cards/issue.milestone.clear.yaml +41 -0
- package/dist/core/registry/cards/issue.milestone.set.yaml +24 -4
- package/dist/{cards/issue.blocked_by.add.yaml → core/registry/cards/issue.relations.blocked_by.add.yaml} +4 -2
- package/dist/core/registry/cards/{issue.blocked_by.remove.yaml → issue.relations.blocked_by.remove.yaml} +2 -1
- package/dist/core/registry/cards/{issue.parent.remove.yaml → issue.relations.parent.remove.yaml} +12 -1
- package/dist/{cards/issue.parent.set.yaml → core/registry/cards/issue.relations.parent.set.yaml} +4 -2
- package/dist/{cards/issue.linked_prs.list.yaml → core/registry/cards/issue.relations.prs.list.yaml} +2 -1
- package/dist/core/registry/cards/{issue.relations.get.yaml → issue.relations.view.yaml} +2 -1
- package/dist/core/registry/cards/issue.reopen.yaml +17 -2
- package/dist/core/registry/cards/issue.update.yaml +17 -2
- package/dist/core/registry/cards/issue.view.yaml +8 -5
- package/dist/core/registry/cards/pr.assignees.add.yaml +33 -0
- package/dist/core/registry/cards/pr.assignees.remove.yaml +33 -0
- package/dist/core/registry/cards/pr.branch.update.yaml +6 -2
- package/dist/{cards/pr.status.checks.yaml → core/registry/cards/pr.checks.list.yaml} +15 -2
- package/dist/{cards/pr.checks.rerun_all.yaml → core/registry/cards/pr.checks.rerun.all.yaml} +2 -4
- package/dist/{cards/pr.checks.rerun_failed.yaml → core/registry/cards/pr.checks.rerun.failed.yaml} +3 -5
- package/dist/core/registry/cards/pr.create.yaml +34 -0
- package/dist/core/registry/cards/{pr.diff.list_files.yaml → pr.diff.files.yaml} +2 -1
- package/dist/core/registry/cards/{pr.ready_for_review.set.yaml → pr.diff.view.yaml} +6 -8
- package/dist/core/registry/cards/pr.list.yaml +1 -0
- package/dist/{cards/pr.mergeability.view.yaml → core/registry/cards/pr.merge.status.yaml} +7 -3
- package/dist/{cards/pr.merge.execute.yaml → core/registry/cards/pr.merge.yaml} +10 -4
- package/dist/core/registry/cards/pr.reviews.list.yaml +2 -1
- package/dist/core/registry/cards/{pr.reviewers.request.yaml → pr.reviews.request.yaml} +7 -4
- package/dist/core/registry/cards/pr.reviews.submit.yaml +68 -0
- package/dist/core/registry/cards/{pr.comments.list.yaml → pr.threads.list.yaml} +3 -2
- package/dist/core/registry/cards/{pr.comment.reply.yaml → pr.threads.reply.yaml} +5 -2
- package/dist/{cards/pr.comment.resolve.yaml → core/registry/cards/pr.threads.resolve.yaml} +2 -1
- package/dist/core/registry/cards/{pr.comment.unresolve.yaml → pr.threads.unresolve.yaml} +2 -1
- package/dist/core/registry/cards/pr.update.yaml +34 -0
- package/dist/core/registry/cards/pr.view.yaml +8 -5
- package/dist/core/registry/cards/project_v2.fields.list.yaml +18 -2
- package/dist/core/registry/cards/{project_v2.item.field.update.yaml → project_v2.items.field.update.yaml} +9 -6
- package/dist/core/registry/cards/{project_v2.item.add_issue.yaml → project_v2.items.issue.add.yaml} +10 -6
- package/dist/core/registry/cards/project_v2.items.issue.remove.yaml +26 -0
- package/dist/core/registry/cards/project_v2.items.list.yaml +8 -2
- package/dist/{cards/project_v2.org.get.yaml → core/registry/cards/project_v2.org.view.yaml} +7 -3
- package/dist/core/registry/cards/{project_v2.user.get.yaml → project_v2.user.view.yaml} +7 -3
- package/dist/{cards/release.create_draft.yaml → core/registry/cards/release.create.yaml} +1 -1
- package/dist/core/registry/cards/release.list.yaml +8 -3
- package/dist/core/registry/cards/{release.publish_draft.yaml → release.publish.yaml} +1 -1
- package/dist/core/registry/cards/{release.get.yaml → release.view.yaml} +9 -5
- package/dist/core/registry/cards/repo.issue_types.list.yaml +7 -3
- package/dist/core/registry/cards/repo.labels.list.yaml +7 -2
- package/dist/core/registry/cards/repo.view.yaml +3 -4
- package/dist/core/registry/cards/{workflow_dispatch.run.yaml → workflow.dispatch.yaml} +1 -1
- package/dist/core/registry/cards/{workflow_job.logs.get.yaml → workflow.job.logs.raw.yaml} +2 -2
- package/dist/{cards/workflow_job.logs.analyze.yaml → core/registry/cards/workflow.job.logs.view.yaml} +1 -1
- package/dist/{cards/workflow_run.artifacts.list.yaml → core/registry/cards/workflow.run.artifacts.list.yaml} +1 -1
- package/dist/core/registry/cards/{workflow_run.cancel.yaml → workflow.run.cancel.yaml} +1 -1
- package/dist/core/registry/cards/{workflow_run.rerun_all.yaml → workflow.run.rerun.all.yaml} +3 -3
- package/dist/{cards/workflow_run.rerun_failed.yaml → core/registry/cards/workflow.run.rerun.failed.yaml} +3 -3
- package/dist/{cards/workflow_run.get.yaml → core/registry/cards/workflow.run.view.yaml} +19 -4
- package/dist/core/registry/cards/{workflow_runs.list.yaml → workflow.runs.list.yaml} +1 -1
- package/dist/core/registry/cards/{workflow.get.yaml → workflow.view.yaml} +2 -2
- package/dist/index.d.ts +671 -35
- package/dist/index.js +41 -5
- package/dist/index.js.map +1 -1
- package/dist/issue-mutations-OW464JP3.js +645 -0
- package/dist/issue-mutations-OW464JP3.js.map +1 -0
- package/dist/issue-queries-ORG3VPK4.js +93 -0
- package/dist/issue-queries-ORG3VPK4.js.map +1 -0
- package/dist/pr-mutations-WOTG6FAB.js +484 -0
- package/dist/pr-mutations-WOTG6FAB.js.map +1 -0
- package/dist/pr-queries-6CJJW7BT.js +143 -0
- package/dist/pr-queries-6CJJW7BT.js.map +1 -0
- package/dist/project-QFSCYDDW.js +429 -0
- package/dist/project-QFSCYDDW.js.map +1 -0
- package/dist/release-33236BBA.js +57 -0
- package/dist/release-33236BBA.js.map +1 -0
- package/dist/repo-M6DKCWBG.js +82 -0
- package/dist/repo-M6DKCWBG.js.map +1 -0
- package/package.json +19 -16
- package/skills/using-ghx/SKILL.md +127 -0
- package/dist/agent.d.ts +0 -32
- package/dist/agent.js +0 -36
- package/dist/agent.js.map +0 -1
- package/dist/cards/check_run.annotations.list.yaml +0 -35
- package/dist/cards/issue.assignees.update.yaml +0 -27
- package/dist/cards/issue.labels.update.yaml +0 -27
- package/dist/cards/pr.assignees.update.yaml +0 -38
- package/dist/cards/pr.checks.get_failed.yaml +0 -42
- package/dist/cards/pr.review.submit_approve.yaml +0 -26
- package/dist/cards/pr.review.submit_comment.yaml +0 -26
- package/dist/cards/pr.review.submit_request_changes.yaml +0 -26
- package/dist/cards/workflow_run.jobs.list.yaml +0 -35
- package/dist/chunk-2FCPR3XZ.js +0 -54
- package/dist/chunk-2FCPR3XZ.js.map +0 -1
- package/dist/chunk-RDUPMVHG.js +0 -4139
- package/dist/chunk-RDUPMVHG.js.map +0 -1
- package/dist/chunk-UN5YHUNK.js +0 -245
- package/dist/chunk-UN5YHUNK.js.map +0 -1
- package/dist/cli/assets/skills/ghx/SKILL.md +0 -57
- package/dist/core/registry/cards/check_run.annotations.list.yaml +0 -35
- package/dist/core/registry/cards/issue.assignees.update.yaml +0 -27
- package/dist/core/registry/cards/issue.labels.update.yaml +0 -27
- package/dist/core/registry/cards/pr.assignees.update.yaml +0 -38
- package/dist/core/registry/cards/pr.checks.get_failed.yaml +0 -42
- package/dist/core/registry/cards/pr.review.submit_approve.yaml +0 -26
- package/dist/core/registry/cards/pr.review.submit_comment.yaml +0 -26
- package/dist/core/registry/cards/pr.review.submit_request_changes.yaml +0 -26
- package/dist/core/registry/cards/workflow_run.jobs.list.yaml +0 -35
- package/dist/envelope-BpF6MNCv.d.ts +0 -55
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
capability_id: pr.
|
|
1
|
+
capability_id: pr.threads.list
|
|
2
2
|
version: "1.0.0"
|
|
3
|
-
description: List pull request review threads
|
|
3
|
+
description: List pull request review threads (unresolved only by default; pass unresolvedOnly:false to include resolved).
|
|
4
4
|
input_schema:
|
|
5
5
|
type: object
|
|
6
6
|
required: [owner, name, prNumber]
|
|
@@ -93,6 +93,7 @@ routing:
|
|
|
93
93
|
- Prefer GraphQL for review-thread semantics and unresolved filtering.
|
|
94
94
|
graphql:
|
|
95
95
|
operationName: PrCommentsList
|
|
96
|
+
operationType: query
|
|
96
97
|
documentPath: src/gql/operations/pr-comments-list.graphql
|
|
97
98
|
cli:
|
|
98
99
|
command: api graphql
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
capability_id: pr.
|
|
1
|
+
capability_id: pr.threads.reply
|
|
2
2
|
version: "1.0.0"
|
|
3
3
|
description: Reply to a pull request review thread.
|
|
4
4
|
input_schema:
|
|
@@ -10,14 +10,17 @@ input_schema:
|
|
|
10
10
|
additionalProperties: false
|
|
11
11
|
output_schema:
|
|
12
12
|
type: object
|
|
13
|
-
required: [id, isResolved]
|
|
13
|
+
required: [id, isResolved, commentId, commentUrl]
|
|
14
14
|
properties:
|
|
15
15
|
id: { type: string, minLength: 1 }
|
|
16
16
|
isResolved: { type: boolean }
|
|
17
|
+
commentId: { type: string }
|
|
18
|
+
commentUrl: { type: string }
|
|
17
19
|
additionalProperties: false
|
|
18
20
|
routing:
|
|
19
21
|
preferred: graphql
|
|
20
22
|
fallbacks: []
|
|
21
23
|
graphql:
|
|
22
24
|
operationName: PrCommentReply
|
|
25
|
+
operationType: mutation
|
|
23
26
|
documentPath: src/gql/operations/pr-comment-reply.graphql
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
capability_id: pr.
|
|
1
|
+
capability_id: pr.threads.resolve
|
|
2
2
|
version: "1.0.0"
|
|
3
3
|
description: Resolve a pull request review thread.
|
|
4
4
|
input_schema:
|
|
@@ -19,4 +19,5 @@ routing:
|
|
|
19
19
|
fallbacks: []
|
|
20
20
|
graphql:
|
|
21
21
|
operationName: PrCommentResolve
|
|
22
|
+
operationType: mutation
|
|
22
23
|
documentPath: src/gql/operations/pr-comment-resolve.graphql
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
capability_id: pr.
|
|
1
|
+
capability_id: pr.threads.unresolve
|
|
2
2
|
version: "1.0.0"
|
|
3
3
|
description: Unresolve a pull request review thread.
|
|
4
4
|
input_schema:
|
|
@@ -19,4 +19,5 @@ routing:
|
|
|
19
19
|
fallbacks: []
|
|
20
20
|
graphql:
|
|
21
21
|
operationName: PrCommentUnresolve
|
|
22
|
+
operationType: mutation
|
|
22
23
|
documentPath: src/gql/operations/pr-comment-unresolve.graphql
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
capability_id: pr.update
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Update pull request metadata (title, body, draft status).
|
|
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
|
+
title: { type: string, minLength: 1 }
|
|
12
|
+
body: { type: string }
|
|
13
|
+
draft: { type: boolean }
|
|
14
|
+
additionalProperties: false
|
|
15
|
+
output_schema:
|
|
16
|
+
type: object
|
|
17
|
+
required: [number, url, title, state, draft]
|
|
18
|
+
properties:
|
|
19
|
+
number: { type: integer, minimum: 1 }
|
|
20
|
+
url: { type: string, minLength: 1 }
|
|
21
|
+
title: { type: string }
|
|
22
|
+
state: { type: string }
|
|
23
|
+
draft: { type: boolean }
|
|
24
|
+
additionalProperties: false
|
|
25
|
+
routing:
|
|
26
|
+
preferred: graphql
|
|
27
|
+
fallbacks: [cli]
|
|
28
|
+
graphql:
|
|
29
|
+
# GQL limitation: draft-only updates fall back to CLI
|
|
30
|
+
operationName: PrUpdate
|
|
31
|
+
operationType: mutation
|
|
32
|
+
documentPath: src/gql/operations/pr-update.graphql
|
|
33
|
+
cli:
|
|
34
|
+
command: pr edit
|
package/dist/cards/pr.view.yaml
CHANGED
|
@@ -11,22 +11,25 @@ input_schema:
|
|
|
11
11
|
additionalProperties: false
|
|
12
12
|
output_schema:
|
|
13
13
|
type: object
|
|
14
|
-
required: [id, number, title, state, url]
|
|
14
|
+
required: [id, number, title, state, url, body, labels]
|
|
15
15
|
properties:
|
|
16
16
|
id: { type: string, minLength: 1 }
|
|
17
17
|
number: { type: integer, minimum: 1 }
|
|
18
18
|
title: { type: string }
|
|
19
19
|
state: { type: string }
|
|
20
20
|
url: { type: string, minLength: 1 }
|
|
21
|
+
body: { type: string }
|
|
22
|
+
labels: { type: array, items: { type: string } }
|
|
21
23
|
additionalProperties: false
|
|
22
24
|
routing:
|
|
23
|
-
preferred:
|
|
24
|
-
fallbacks: [
|
|
25
|
+
preferred: graphql
|
|
26
|
+
fallbacks: [cli]
|
|
25
27
|
notes:
|
|
26
|
-
- Prefer
|
|
28
|
+
- Prefer GraphQL for structured fetch; CLI fallback if gh auth unavailable.
|
|
27
29
|
graphql:
|
|
28
30
|
operationName: PrView
|
|
31
|
+
operationType: query
|
|
29
32
|
documentPath: src/gql/operations/pr-view.graphql
|
|
30
33
|
cli:
|
|
31
34
|
command: pr view
|
|
32
|
-
jsonFields: [id, number, title, state, url]
|
|
35
|
+
jsonFields: [id, number, title, state, url, body, labels]
|
|
@@ -7,6 +7,8 @@ input_schema:
|
|
|
7
7
|
properties:
|
|
8
8
|
owner: { type: string, minLength: 1 }
|
|
9
9
|
projectNumber: { type: integer, minimum: 1 }
|
|
10
|
+
first: { type: integer, minimum: 1 }
|
|
11
|
+
after: { type: [string, "null"] }
|
|
10
12
|
additionalProperties: false
|
|
11
13
|
output_schema:
|
|
12
14
|
type: object
|
|
@@ -21,6 +23,15 @@ output_schema:
|
|
|
21
23
|
id: { type: [string, "null"] }
|
|
22
24
|
name: { type: [string, "null"] }
|
|
23
25
|
dataType: { type: [string, "null"] }
|
|
26
|
+
options:
|
|
27
|
+
type: [array, "null"]
|
|
28
|
+
items:
|
|
29
|
+
type: object
|
|
30
|
+
required: [id, name]
|
|
31
|
+
properties:
|
|
32
|
+
id: { type: string }
|
|
33
|
+
name: { type: string }
|
|
34
|
+
additionalProperties: false
|
|
24
35
|
additionalProperties: false
|
|
25
36
|
pageInfo:
|
|
26
37
|
type: object
|
|
@@ -31,7 +42,12 @@ output_schema:
|
|
|
31
42
|
additionalProperties: false
|
|
32
43
|
additionalProperties: false
|
|
33
44
|
routing:
|
|
34
|
-
preferred:
|
|
35
|
-
fallbacks: []
|
|
45
|
+
preferred: graphql
|
|
46
|
+
fallbacks: [cli]
|
|
47
|
+
graphql:
|
|
48
|
+
# GQL limitation: user fallback handled in domain handler
|
|
49
|
+
operationName: ProjectV2FieldsListOrg
|
|
50
|
+
operationType: query
|
|
51
|
+
documentPath: src/gql/operations/project-v2-fields-list-org.graphql
|
|
36
52
|
cli:
|
|
37
53
|
command: project field-list
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
capability_id: project_v2.
|
|
1
|
+
capability_id: project_v2.items.field.update
|
|
2
2
|
version: "1.0.0"
|
|
3
3
|
description: Update a field on a Projects v2 project item.
|
|
4
4
|
input_schema:
|
|
@@ -17,13 +17,16 @@ input_schema:
|
|
|
17
17
|
additionalProperties: false
|
|
18
18
|
output_schema:
|
|
19
19
|
type: object
|
|
20
|
-
required: [itemId
|
|
20
|
+
required: [itemId]
|
|
21
21
|
properties:
|
|
22
|
-
itemId: { type:
|
|
23
|
-
updated: { type: boolean }
|
|
22
|
+
itemId: { type: string }
|
|
24
23
|
additionalProperties: false
|
|
25
24
|
routing:
|
|
26
|
-
preferred:
|
|
27
|
-
fallbacks: []
|
|
25
|
+
preferred: graphql
|
|
26
|
+
fallbacks: [cli]
|
|
27
|
+
graphql:
|
|
28
|
+
operationName: UpdateProjectV2ItemField
|
|
29
|
+
operationType: mutation
|
|
30
|
+
documentPath: src/gql/operations/project-v2-item-field-update.graphql
|
|
28
31
|
cli:
|
|
29
32
|
command: project item-edit
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
capability_id: project_v2.
|
|
1
|
+
capability_id: project_v2.items.issue.add
|
|
2
2
|
version: "1.0.0"
|
|
3
3
|
description: Add an issue to a Projects v2 project.
|
|
4
4
|
input_schema:
|
|
@@ -11,13 +11,17 @@ input_schema:
|
|
|
11
11
|
additionalProperties: false
|
|
12
12
|
output_schema:
|
|
13
13
|
type: object
|
|
14
|
-
required: [itemId,
|
|
14
|
+
required: [itemId, itemType]
|
|
15
15
|
properties:
|
|
16
|
-
itemId: { type:
|
|
17
|
-
|
|
16
|
+
itemId: { type: string }
|
|
17
|
+
itemType: { type: [string, "null"] }
|
|
18
18
|
additionalProperties: false
|
|
19
19
|
routing:
|
|
20
|
-
preferred:
|
|
21
|
-
fallbacks: []
|
|
20
|
+
preferred: graphql
|
|
21
|
+
fallbacks: [cli]
|
|
22
|
+
graphql:
|
|
23
|
+
operationName: AddProjectV2Item
|
|
24
|
+
operationType: mutation
|
|
25
|
+
documentPath: src/gql/operations/project-v2-item-add.graphql
|
|
22
26
|
cli:
|
|
23
27
|
command: project item-add
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
capability_id: project_v2.items.issue.remove
|
|
2
|
+
version: "1.0.0"
|
|
3
|
+
description: Remove an issue from a Projects v2 project.
|
|
4
|
+
input_schema:
|
|
5
|
+
type: object
|
|
6
|
+
required: [owner, projectNumber, itemId]
|
|
7
|
+
properties:
|
|
8
|
+
owner: { type: string, minLength: 1 }
|
|
9
|
+
projectNumber: { type: integer, minimum: 1 }
|
|
10
|
+
itemId: { type: string, minLength: 1 }
|
|
11
|
+
additionalProperties: false
|
|
12
|
+
output_schema:
|
|
13
|
+
type: object
|
|
14
|
+
required: [deletedItemId]
|
|
15
|
+
properties:
|
|
16
|
+
deletedItemId: { type: string, minLength: 1 }
|
|
17
|
+
additionalProperties: false
|
|
18
|
+
routing:
|
|
19
|
+
preferred: graphql
|
|
20
|
+
fallbacks: [cli]
|
|
21
|
+
graphql:
|
|
22
|
+
operationName: RemoveProjectV2Item
|
|
23
|
+
operationType: mutation
|
|
24
|
+
documentPath: src/gql/operations/project-v2-item-remove.graphql
|
|
25
|
+
cli:
|
|
26
|
+
command: project item-delete
|
|
@@ -8,6 +8,7 @@ input_schema:
|
|
|
8
8
|
owner: { type: string, minLength: 1 }
|
|
9
9
|
projectNumber: { type: integer, minimum: 1 }
|
|
10
10
|
first: { type: integer, minimum: 1 }
|
|
11
|
+
after: { type: [string, "null"] }
|
|
11
12
|
additionalProperties: false
|
|
12
13
|
output_schema:
|
|
13
14
|
type: object
|
|
@@ -33,7 +34,12 @@ output_schema:
|
|
|
33
34
|
additionalProperties: false
|
|
34
35
|
additionalProperties: false
|
|
35
36
|
routing:
|
|
36
|
-
preferred:
|
|
37
|
-
fallbacks: []
|
|
37
|
+
preferred: graphql
|
|
38
|
+
fallbacks: [cli]
|
|
39
|
+
graphql:
|
|
40
|
+
# GQL limitation: user fallback handled in domain handler
|
|
41
|
+
operationName: ProjectV2ItemsListOrg
|
|
42
|
+
operationType: query
|
|
43
|
+
documentPath: src/gql/operations/project-v2-items-list-org.graphql
|
|
38
44
|
cli:
|
|
39
45
|
command: project item-list
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
capability_id: project_v2.org.
|
|
1
|
+
capability_id: project_v2.org.view
|
|
2
2
|
version: "1.0.0"
|
|
3
3
|
description: Get an organization Projects v2 project.
|
|
4
4
|
input_schema:
|
|
@@ -20,7 +20,11 @@ output_schema:
|
|
|
20
20
|
url: { type: [string, "null"] }
|
|
21
21
|
additionalProperties: false
|
|
22
22
|
routing:
|
|
23
|
-
preferred:
|
|
24
|
-
fallbacks: []
|
|
23
|
+
preferred: graphql
|
|
24
|
+
fallbacks: [cli]
|
|
25
|
+
graphql:
|
|
26
|
+
operationName: ProjectV2OrgView
|
|
27
|
+
operationType: query
|
|
28
|
+
documentPath: src/gql/operations/project-v2-org-view.graphql
|
|
25
29
|
cli:
|
|
26
30
|
command: project view
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
capability_id: project_v2.user.
|
|
1
|
+
capability_id: project_v2.user.view
|
|
2
2
|
version: "1.0.0"
|
|
3
3
|
description: Get a user Projects v2 project.
|
|
4
4
|
input_schema:
|
|
@@ -20,7 +20,11 @@ output_schema:
|
|
|
20
20
|
url: { type: [string, "null"] }
|
|
21
21
|
additionalProperties: false
|
|
22
22
|
routing:
|
|
23
|
-
preferred:
|
|
24
|
-
fallbacks: []
|
|
23
|
+
preferred: graphql
|
|
24
|
+
fallbacks: [cli]
|
|
25
|
+
graphql:
|
|
26
|
+
operationName: ProjectV2UserView
|
|
27
|
+
operationType: query
|
|
28
|
+
documentPath: src/gql/operations/project-v2-user-view.graphql
|
|
25
29
|
cli:
|
|
26
30
|
command: project view
|
|
@@ -8,6 +8,7 @@ input_schema:
|
|
|
8
8
|
owner: { type: string, minLength: 1 }
|
|
9
9
|
name: { type: string, minLength: 1 }
|
|
10
10
|
first: { type: integer, minimum: 1 }
|
|
11
|
+
after: { type: [string, "null"] }
|
|
11
12
|
additionalProperties: false
|
|
12
13
|
output_schema:
|
|
13
14
|
type: object
|
|
@@ -19,7 +20,7 @@ output_schema:
|
|
|
19
20
|
type: object
|
|
20
21
|
required: [id, tagName, name, isDraft, isPrerelease, url, targetCommitish, createdAt, publishedAt]
|
|
21
22
|
properties:
|
|
22
|
-
id: { type: integer, minimum: 0 }
|
|
23
|
+
id: { type: ["integer", "null"], minimum: 0 }
|
|
23
24
|
tagName: { type: [string, "null"] }
|
|
24
25
|
name: { type: [string, "null"] }
|
|
25
26
|
isDraft: { type: boolean }
|
|
@@ -38,7 +39,11 @@ output_schema:
|
|
|
38
39
|
additionalProperties: false
|
|
39
40
|
additionalProperties: false
|
|
40
41
|
routing:
|
|
41
|
-
preferred:
|
|
42
|
-
fallbacks: []
|
|
42
|
+
preferred: graphql
|
|
43
|
+
fallbacks: [cli]
|
|
44
|
+
graphql:
|
|
45
|
+
operationName: ReleaseList
|
|
46
|
+
operationType: query
|
|
47
|
+
documentPath: src/gql/operations/release-list.graphql
|
|
43
48
|
cli:
|
|
44
49
|
command: api
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
capability_id: release.
|
|
1
|
+
capability_id: release.view
|
|
2
2
|
version: "1.0.0"
|
|
3
3
|
description: Get release details by tag name.
|
|
4
4
|
input_schema:
|
|
@@ -13,8 +13,8 @@ output_schema:
|
|
|
13
13
|
type: object
|
|
14
14
|
required: [id, tagName, name, isDraft, isPrerelease, url, targetCommitish, createdAt, publishedAt]
|
|
15
15
|
properties:
|
|
16
|
-
id: { type: integer, minimum: 0 }
|
|
17
|
-
tagName: { type:
|
|
16
|
+
id: { type: ["integer", "null"], minimum: 0 }
|
|
17
|
+
tagName: { type: string }
|
|
18
18
|
name: { type: [string, "null"] }
|
|
19
19
|
isDraft: { type: boolean }
|
|
20
20
|
isPrerelease: { type: boolean }
|
|
@@ -24,7 +24,11 @@ output_schema:
|
|
|
24
24
|
publishedAt: { type: [string, "null"] }
|
|
25
25
|
additionalProperties: false
|
|
26
26
|
routing:
|
|
27
|
-
preferred:
|
|
28
|
-
fallbacks: []
|
|
27
|
+
preferred: graphql
|
|
28
|
+
fallbacks: [cli]
|
|
29
|
+
graphql:
|
|
30
|
+
operationName: ReleaseView
|
|
31
|
+
operationType: query
|
|
32
|
+
documentPath: src/gql/operations/release-view.graphql
|
|
29
33
|
cli:
|
|
30
34
|
command: api
|
|
@@ -8,7 +8,7 @@ input_schema:
|
|
|
8
8
|
owner: { type: string, minLength: 1 }
|
|
9
9
|
name: { type: string, minLength: 1 }
|
|
10
10
|
first: { type: integer, minimum: 1 }
|
|
11
|
-
after: { type: string,
|
|
11
|
+
after: { type: [string, "null"] }
|
|
12
12
|
additionalProperties: false
|
|
13
13
|
output_schema:
|
|
14
14
|
type: object
|
|
@@ -34,7 +34,11 @@ output_schema:
|
|
|
34
34
|
additionalProperties: false
|
|
35
35
|
additionalProperties: false
|
|
36
36
|
routing:
|
|
37
|
-
preferred:
|
|
38
|
-
fallbacks: []
|
|
37
|
+
preferred: graphql
|
|
38
|
+
fallbacks: [cli]
|
|
39
|
+
graphql:
|
|
40
|
+
operationName: RepoIssueTypesList
|
|
41
|
+
operationType: query
|
|
42
|
+
documentPath: src/gql/operations/repo-issue-types-list.graphql
|
|
39
43
|
cli:
|
|
40
44
|
command: api graphql
|
|
@@ -8,6 +8,7 @@ input_schema:
|
|
|
8
8
|
owner: { type: string, minLength: 1 }
|
|
9
9
|
name: { type: string, minLength: 1 }
|
|
10
10
|
first: { type: integer, minimum: 1 }
|
|
11
|
+
after: { type: [string, "null"] }
|
|
11
12
|
additionalProperties: false
|
|
12
13
|
output_schema:
|
|
13
14
|
type: object
|
|
@@ -34,8 +35,12 @@ output_schema:
|
|
|
34
35
|
additionalProperties: false
|
|
35
36
|
additionalProperties: false
|
|
36
37
|
routing:
|
|
37
|
-
preferred:
|
|
38
|
-
fallbacks: []
|
|
38
|
+
preferred: graphql
|
|
39
|
+
fallbacks: [cli]
|
|
40
|
+
graphql:
|
|
41
|
+
operationName: RepoLabelsList
|
|
42
|
+
operationType: query
|
|
43
|
+
documentPath: src/gql/operations/repo-labels-list.graphql
|
|
39
44
|
cli:
|
|
40
45
|
command: label list
|
|
41
46
|
jsonFields: [id,name,description,color,isDefault]
|
|
@@ -22,12 +22,11 @@ output_schema:
|
|
|
22
22
|
defaultBranch: { type: [string, "null"] }
|
|
23
23
|
additionalProperties: false
|
|
24
24
|
routing:
|
|
25
|
-
preferred:
|
|
26
|
-
fallbacks: [
|
|
27
|
-
notes:
|
|
28
|
-
- Prefer CLI for low-latency structured fetches when gh authentication is available.
|
|
25
|
+
preferred: graphql
|
|
26
|
+
fallbacks: [cli]
|
|
29
27
|
graphql:
|
|
30
28
|
operationName: RepoView
|
|
29
|
+
operationType: query
|
|
31
30
|
documentPath: src/gql/operations/repo-view.graphql
|
|
32
31
|
cli:
|
|
33
32
|
command: repo view
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
capability_id:
|
|
1
|
+
capability_id: workflow.job.logs.raw
|
|
2
2
|
version: "1.0.0"
|
|
3
|
-
description: Fetch logs for a workflow job.
|
|
3
|
+
description: Fetch raw (unprocessed) logs for a workflow job.
|
|
4
4
|
input_schema:
|
|
5
5
|
type: object
|
|
6
6
|
required: [owner, name, jobId]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
capability_id:
|
|
1
|
+
capability_id: workflow.run.rerun.all
|
|
2
2
|
version: "1.0.0"
|
|
3
3
|
description: Rerun all jobs in a workflow run.
|
|
4
4
|
input_schema:
|
|
@@ -11,10 +11,10 @@ input_schema:
|
|
|
11
11
|
additionalProperties: false
|
|
12
12
|
output_schema:
|
|
13
13
|
type: object
|
|
14
|
-
required: [runId,
|
|
14
|
+
required: [runId, queued]
|
|
15
15
|
properties:
|
|
16
16
|
runId: { type: integer, minimum: 1 }
|
|
17
|
-
|
|
17
|
+
queued: { type: boolean }
|
|
18
18
|
additionalProperties: false
|
|
19
19
|
routing:
|
|
20
20
|
preferred: cli
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
capability_id:
|
|
1
|
+
capability_id: workflow.run.rerun.failed
|
|
2
2
|
version: "1.0.0"
|
|
3
3
|
description: Rerun failed jobs for a workflow run.
|
|
4
4
|
input_schema:
|
|
@@ -11,10 +11,10 @@ input_schema:
|
|
|
11
11
|
additionalProperties: false
|
|
12
12
|
output_schema:
|
|
13
13
|
type: object
|
|
14
|
-
required: [runId,
|
|
14
|
+
required: [runId, queued]
|
|
15
15
|
properties:
|
|
16
16
|
runId: { type: integer, minimum: 1 }
|
|
17
|
-
|
|
17
|
+
queued: { type: boolean }
|
|
18
18
|
additionalProperties: false
|
|
19
19
|
routing:
|
|
20
20
|
preferred: cli
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
capability_id:
|
|
1
|
+
capability_id: workflow.run.view
|
|
2
2
|
version: "1.0.0"
|
|
3
|
-
description:
|
|
3
|
+
description: View a workflow run with its jobs.
|
|
4
4
|
input_schema:
|
|
5
5
|
type: object
|
|
6
6
|
required: [owner, name, runId]
|
|
@@ -11,7 +11,7 @@ input_schema:
|
|
|
11
11
|
additionalProperties: false
|
|
12
12
|
output_schema:
|
|
13
13
|
type: object
|
|
14
|
-
required: [id, workflowName, status, conclusion, headBranch, headSha, event, createdAt, updatedAt, startedAt, url]
|
|
14
|
+
required: [id, workflowName, status, conclusion, headBranch, headSha, event, createdAt, updatedAt, startedAt, url, attempt, jobs]
|
|
15
15
|
properties:
|
|
16
16
|
id: { type: integer, minimum: 0 }
|
|
17
17
|
workflowName: { type: [string, "null"] }
|
|
@@ -24,10 +24,25 @@ output_schema:
|
|
|
24
24
|
updatedAt: { type: [string, "null"] }
|
|
25
25
|
startedAt: { type: [string, "null"] }
|
|
26
26
|
url: { type: [string, "null"] }
|
|
27
|
+
attempt: { type: integer, minimum: 1 }
|
|
28
|
+
jobs:
|
|
29
|
+
type: array
|
|
30
|
+
items:
|
|
31
|
+
type: object
|
|
32
|
+
required: [id, name, status, conclusion, startedAt, completedAt, url]
|
|
33
|
+
properties:
|
|
34
|
+
id: { type: integer, minimum: 0 }
|
|
35
|
+
name: { type: [string, "null"] }
|
|
36
|
+
status: { type: [string, "null"] }
|
|
37
|
+
conclusion: { type: [string, "null"] }
|
|
38
|
+
startedAt: { type: [string, "null"] }
|
|
39
|
+
completedAt: { type: [string, "null"] }
|
|
40
|
+
url: { type: [string, "null"] }
|
|
41
|
+
additionalProperties: false
|
|
27
42
|
additionalProperties: false
|
|
28
43
|
routing:
|
|
29
44
|
preferred: cli
|
|
30
45
|
fallbacks: []
|
|
31
46
|
cli:
|
|
32
47
|
command: run view
|
|
33
|
-
jsonFields: [databaseId,workflowName,status,conclusion,headBranch,headSha,url,event,createdAt,updatedAt,startedAt]
|
|
48
|
+
jsonFields: [databaseId,workflowName,status,conclusion,headBranch,headSha,url,event,createdAt,updatedAt,startedAt,attempt,jobs]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/gql/operations/fragments/issue-core-fields.generated.ts
|
|
2
|
+
var IssueCoreFieldsFragmentDoc = `
|
|
3
|
+
fragment IssueCoreFields on Issue {
|
|
4
|
+
id
|
|
5
|
+
number
|
|
6
|
+
title
|
|
7
|
+
state
|
|
8
|
+
url
|
|
9
|
+
}
|
|
10
|
+
`;
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
IssueCoreFieldsFragmentDoc
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=chunk-3DU2WHXF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/gql/operations/fragments/issue-core-fields.generated.ts"],"sourcesContent":["import type { GraphQLClient, RequestOptions } from \"graphql-request\"\nimport type * as Types from \"../base-types.js\"\n\ntype GraphQLClientRequestHeaders = RequestOptions[\"requestHeaders\"]\nexport type IssueCoreFieldsFragment = {\n __typename?: \"Issue\"\n id: string\n number: number\n title: string\n state: Types.IssueState\n url: any\n}\n\nexport const IssueCoreFieldsFragmentDoc = `\n fragment IssueCoreFields on Issue {\n id\n number\n title\n state\n url\n}\n `\n\nexport type SdkFunctionWrapper = <T>(\n action: (requestHeaders?: Record<string, string>) => Promise<T>,\n operationName: string,\n operationType?: string,\n variables?: any,\n) => Promise<T>\n\nconst defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType, _variables) =>\n action()\n\nexport function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) {\n return {}\n}\nexport type Sdk = ReturnType<typeof getSdk>\n"],"mappings":";AAaO,IAAM,6BAA6B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
|