Skip to content

Comments

chore: version packages#50

Open
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main
Open

chore: version packages#50
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 19, 2026

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. New ghx 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.action pattern. Key renames include:

    • pr.comments.listpr.thread.list, pr.comment.replypr.thread.reply, pr.comment.resolvepr.thread.resolve, pr.comment.unresolvepr.thread.unresolve
    • pr.mergeability.viewpr.merge.status, pr.merge.executepr.merge
    • pr.status.checkspr.checks.list, pr.checks.get_failedpr.checks.failed
    • pr.reviews.listpr.review.list, pr.reviewers.requestpr.review.request
    • pr.review.submit_approve/submit_comment/submit_request_changes → unified pr.review.submit with event parameter
    • pr.diff.list_filespr.diff.files, pr.ready_for_review.set → removed (replaced by pr.update)
    • workflow_run.getworkflow.run.view, workflow_runs.listworkflow.runs.list, workflow_run.*workflow.run.*
    • workflow_job.logs.getworkflow.job.logs.raw, workflow_job.logs.analyzeworkflow.job.logs.get
    • Removed redundant workflow.run.jobs.list capability

    New capabilities

    • pr.diff.view — view PR diff content
    • issue.labels.add — add labels to an issue (non-destructive; complements issue.labels.update)
    • pr.create — create a pull request
    • pr.update — update PR title/body/base
    • workflow.run.view (renamed from workflow_run.get) — now includes GraphQL routing

    GraphQL improvements

    • Extracted 3 shared GraphQL fragments (PageInfoFields, IssueCoreFields, PrCoreFields) reducing field duplication across 10 operation files
    • Routed pr.merge.status and repo.view through GraphQL (preferred) with CLI fallback
    • Added fetchPrMergeStatus to the GraphQL client

    Capabilities list enrichment

    • capabilities list now returns required_inputs per capability — agents can skip explain calls
    • --domain filter for ghx capabilities list (e.g., --domain pr)
    • Slimmed SKILL.md to reference required_inputs in list output

    stdin input support

    • ghx run <task> --input - reads JSON input from stdin with 10s timeout

    Integration tests

    • 58 new integration tests covering all previously untested capabilities
  • 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_allpr.checks.rerun.all
    • pr.checks.rerun_failedpr.checks.rerun.failed
    • workflow.getworkflow.view
    • workflow.dispatch.runworkflow.dispatch
    • workflow.run.rerun_allworkflow.run.rerun.all
    • workflow.run.rerun_failedworkflow.run.rerun.failed
    • workflow.job.logs.getworkflow.job.logs.view
    • project_v2.org.getproject_v2.org.view
    • project_v2.user.getproject_v2.user.view
    • project_v2.item.add_issueproject_v2.items.issue.add
    • project_v2.item.field.updateproject_v2.items.field.update
    • release.getrelease.view
    • release.create_draftrelease.create
    • release.publish_draftrelease.publish
    • issue.labels.updateissue.labels.set
    • issue.assignees.updateissue.assignees.set
    • issue.relations.getissue.relations.view
    • issue.linked_prs.listissue.relations.prs.list
    • issue.parent.setissue.relations.parent.set
    • issue.parent.removeissue.relations.parent.remove
    • issue.blocked_by.addissue.relations.blocked_by.add
    • issue.blocked_by.removeissue.relations.blocked_by.remove

    New capabilities:

    • issue.labels.remove — remove specific labels from an issue
    • issue.assignees.add — add assignees without replacing existing
    • issue.assignees.remove — remove specific assignees
    • issue.milestone.clear — remove milestone from an issue
    • pr.assignees.add — add assignees to a PR
    • pr.assignees.remove — remove assignees from a PR
    • project_v2.items.issue.remove — remove an issue from a Projects v2 project

    Retired capabilities:

    • pr.checks.failed — merged into pr.checks.list (use state: "failed" filter)
    • check_run.annotations.list — annotations now inline in pr.checks.list output
    • pr.assignees.update — replaced by pr.assignees.add + pr.assignees.remove
    • pr.threads.composite, issue.triage.composite, issue.update.composite — composite infrastructure removed

    Output schema changes:

    • All rerun capabilities now return { runId: integer, queued: boolean } (normalized)
    • pr.threads.reply output now includes commentId and commentUrl
    • issue.relations.parent.set output now includes updated: boolean
    • issue.relations.blocked_by.add output now includes added: boolean
    • issue.milestone.set no longer accepts null (use issue.milestone.clear instead)
  • 0b0335b: Add Claude Code plugin infrastructure for native plugin installation.

    • Move skill to skills/using-ghx/SKILL.md with plugin frontmatter, serving both ghx setup and Claude Code plugin
    • Add .claude-plugin/plugin.json (package) and .claude-plugin/marketplace.json (repo root)
    • Add sync-plugin-manifests.mjs to generate plugin manifests from package.json with --check mode for CI
    • Remove redundant dist/skills copy (skills ship via files array at package root)
  • 871d369: Remove @ghx-dev/core/agent subpath export. All agent tools (createExecuteTool, explainCapability, listCapabilities) are now exported from @ghx-dev/core. The MAIN_SKILL_TEXT constant has been removed.

Patch Changes

  • fb05c12: Refactor CLI capability adapter into domain modules with full unit test coverage.

    Refactoring:

    • Split monolithic cli-capability-adapter.ts (2200+ lines) into focused domain modules under core/execution/adapters/cli/domains/: repo.ts, issue.ts, pr.ts, workflow.ts, project-v2.ts, release.ts
    • Extracted shared arg-building helpers to cli/helpers.ts (buildRepoArg, buildPaginationArgs, buildFieldsFlag, etc.)
    • Added cli/capability-registry.ts — auto-discovers all handlers by spreading domain handlers maps; cli-capability-adapter.ts becomes a thin dispatcher

    Bug fixes:

    • pr.ts: Use rerunAllResult.exitCode (not result.exitCode) in handlePrChecksRerunFailed fallback error path
    • project-v2.ts: Remove unreachable SyntaxError catch branch in handleProjectV2ItemFieldUpdate (no JSON parsing on the success path)
    • release.ts: Fix misleading error message — owner/name are already validated by requireRepo; only releaseId can be invalid at that point
    • workflow.ts: Track total error/warning counts independently of the 10-line collection cap in handleWorkflowJobLogsGet; type-narrow artifact id field consistently with other normalized fields

    Tests:

    • Added comprehensive unit test suites for all six domain modules (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 coverage
    • Refactored e2e tests to use proper afterEach/afterAll lifecycle hooks instead of ESLint rule suppressions

    Docs:

    • Updated docs/architecture/adapters.md and docs/architecture/repository-structure.md to reflect the new domain module layout
  • c4fbcaa: 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

@github-actions github-actions bot force-pushed the changeset-release/main branch 9 times, most recently from 2a9574f to d3564e2 Compare February 20, 2026 00:15
@github-actions github-actions bot force-pushed the changeset-release/main branch from 037d194 to a38e812 Compare February 20, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants