Open
Conversation
2a9574f to
d3564e2
Compare
037d194 to
a38e812
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@ghx-dev/core@0.2.0
Minor Changes
a38e812: Add atomic capability chaining:
executeTasks()function that executes multiple capabilities in a single GraphQL batch with ≤2 API round-trips. Newghx chain --steps '<json-array>'CLI command. Supersedes the unused composite capability system which has been removed.de1c7a1: ### Capability naming overhaul
Renamed all capabilities to follow a consistent
domain.resource.actionpattern. Key renames include:pr.comments.list→pr.thread.list,pr.comment.reply→pr.thread.reply,pr.comment.resolve→pr.thread.resolve,pr.comment.unresolve→pr.thread.unresolvepr.mergeability.view→pr.merge.status,pr.merge.execute→pr.mergepr.status.checks→pr.checks.list,pr.checks.get_failed→pr.checks.failedpr.reviews.list→pr.review.list,pr.reviewers.request→pr.review.requestpr.review.submit_approve/submit_comment/submit_request_changes→ unifiedpr.review.submitwitheventparameterpr.diff.list_files→pr.diff.files,pr.ready_for_review.set→ removed (replaced bypr.update)workflow_run.get→workflow.run.view,workflow_runs.list→workflow.runs.list,workflow_run.*→workflow.run.*workflow_job.logs.get→workflow.job.logs.raw,workflow_job.logs.analyze→workflow.job.logs.getworkflow.run.jobs.listcapabilityNew capabilities
pr.diff.view— view PR diff contentissue.labels.add— add labels to an issue (non-destructive; complementsissue.labels.update)pr.create— create a pull requestpr.update— update PR title/body/baseworkflow.run.view(renamed fromworkflow_run.get) — now includes GraphQL routingGraphQL improvements
PageInfoFields,IssueCoreFields,PrCoreFields) reducing field duplication across 10 operation filespr.merge.statusandrepo.viewthrough GraphQL (preferred) with CLI fallbackfetchPrMergeStatusto the GraphQL clientCapabilities list enrichment
capabilities listnow returnsrequired_inputsper capability — agents can skipexplaincalls--domainfilter forghx capabilities list(e.g.,--domain pr)required_inputsin list outputstdin input support
ghx run <task> --input -reads JSON input from stdin with 10s timeoutIntegration tests
d3564e2: Standardize all capability IDs to consistent naming conventions.
Renamed capabilities:
pr.thread.*→pr.threads.*(list, reply, resolve, unresolve)pr.review.*→pr.reviews.*(list, request, submit)pr.checks.rerun_all→pr.checks.rerun.allpr.checks.rerun_failed→pr.checks.rerun.failedworkflow.get→workflow.viewworkflow.dispatch.run→workflow.dispatchworkflow.run.rerun_all→workflow.run.rerun.allworkflow.run.rerun_failed→workflow.run.rerun.failedworkflow.job.logs.get→workflow.job.logs.viewproject_v2.org.get→project_v2.org.viewproject_v2.user.get→project_v2.user.viewproject_v2.item.add_issue→project_v2.items.issue.addproject_v2.item.field.update→project_v2.items.field.updaterelease.get→release.viewrelease.create_draft→release.createrelease.publish_draft→release.publishissue.labels.update→issue.labels.setissue.assignees.update→issue.assignees.setissue.relations.get→issue.relations.viewissue.linked_prs.list→issue.relations.prs.listissue.parent.set→issue.relations.parent.setissue.parent.remove→issue.relations.parent.removeissue.blocked_by.add→issue.relations.blocked_by.addissue.blocked_by.remove→issue.relations.blocked_by.removeNew capabilities:
issue.labels.remove— remove specific labels from an issueissue.assignees.add— add assignees without replacing existingissue.assignees.remove— remove specific assigneesissue.milestone.clear— remove milestone from an issuepr.assignees.add— add assignees to a PRpr.assignees.remove— remove assignees from a PRproject_v2.items.issue.remove— remove an issue from a Projects v2 projectRetired capabilities:
pr.checks.failed— merged intopr.checks.list(usestate: "failed"filter)check_run.annotations.list— annotations now inline inpr.checks.listoutputpr.assignees.update— replaced bypr.assignees.add+pr.assignees.removepr.threads.composite,issue.triage.composite,issue.update.composite— composite infrastructure removedOutput schema changes:
{ runId: integer, queued: boolean }(normalized)pr.threads.replyoutput now includescommentIdandcommentUrlissue.relations.parent.setoutput now includesupdated: booleanissue.relations.blocked_by.addoutput now includesadded: booleanissue.milestone.setno longer acceptsnull(useissue.milestone.clearinstead)0b0335b: Add Claude Code plugin infrastructure for native plugin installation.
skills/using-ghx/SKILL.mdwith plugin frontmatter, serving bothghx setupand Claude Code plugin.claude-plugin/plugin.json(package) and.claude-plugin/marketplace.json(repo root)sync-plugin-manifests.mjsto generate plugin manifests frompackage.jsonwith--checkmode for CIdist/skillscopy (skills ship viafilesarray at package root)871d369: Remove
@ghx-dev/core/agentsubpath export. All agent tools (createExecuteTool,explainCapability,listCapabilities) are now exported from@ghx-dev/core. TheMAIN_SKILL_TEXTconstant has been removed.Patch Changes
fb05c12: Refactor CLI capability adapter into domain modules with full unit test coverage.
Refactoring:
cli-capability-adapter.ts(2200+ lines) into focused domain modules undercore/execution/adapters/cli/domains/:repo.ts,issue.ts,pr.ts,workflow.ts,project-v2.ts,release.tscli/helpers.ts(buildRepoArg,buildPaginationArgs,buildFieldsFlag, etc.)cli/capability-registry.ts— auto-discovers all handlers by spreading domainhandlersmaps;cli-capability-adapter.tsbecomes a thin dispatcherBug fixes:
pr.ts: UsererunAllResult.exitCode(notresult.exitCode) inhandlePrChecksRerunFailedfallback error pathproject-v2.ts: Remove unreachableSyntaxErrorcatch branch inhandleProjectV2ItemFieldUpdate(no JSON parsing on the success path)release.ts: Fix misleading error message —owner/nameare already validated byrequireRepo; onlyreleaseIdcan be invalid at that pointworkflow.ts: Track total error/warning counts independently of the 10-line collection cap inhandleWorkflowJobLogsGet; type-narrow artifactidfield consistently with other normalized fieldsTests:
cli-domains-*.test.ts) and for the shared helpers (cli-helpers.test.ts) and capability registry (cli-capability-registry.test.ts) — all modified files at ≥90% branch coverageafterEach/afterAlllifecycle hooks instead of ESLint rule suppressionsDocs:
docs/architecture/adapters.mdanddocs/architecture/repository-structure.mdto reflect the new domain module layoutc4fbcaa: Refactor GQL layer: split monolithic client.ts into lazy-loaded domain modules, add capability registry dispatch, and rename common-types.ts to follow .generated convention. Import cost reduced from ~2,284 lines to ~220 lines via dynamic imports.
89344ca: Replace deep relative imports with
@core/*path aliases for improved readability and maintainability.@ghx-dev/benchmark@0.2.2
Patch Changes