orknux

Marketplace

GitHub

Webhook checks, search, files, builds and comments against GitHub.

By
Michał Jakub Szymański
Version
1.13.0
Tags
agentscicode-reviewsource-control
Published
28 November 2026
Downloads
17

Changelog

  1. 1.13.0

    GitHub 1.13.0: GitHub is a connection

    The plugin declares a connection kind of its own, GitHub, and reaches GitHub through the connection its new github parameter names: the connection's address is the API root - https://api.github.com, the default, or https://ghes.example.com/api/v3 for an Enterprise Server - and its Bearer token is the credential. A workspace keeps its GitHub hosts where it keeps every other host, encrypted and one row each, so github.com and an Enterprise Server can sit side by side. The connection's check signs in and says whose token it is.

    The classic-token fallback buildStatus uses moved too: githubClassic names a second GitHub connection holding a classic repo-scope token. A second connection rather than a second field, because a connection holds one secret.

    Before, the API root and both tokens were the plugin's own parameters - apiUrl, token and classicToken - so a workspace reached exactly one GitHub and its credentials sat on the plugin's page.

    Nothing has to change on update: the three old parameters are still read while github is unset, and are marked deprecated; they will go in a later release. To move: make a GitHub connection with the API root that was in apiUrl (or the default) and the token that was in token, point github at it, and clear the old two. If classicToken was set, make a second connection with it and point githubClassic there.

    Co-Authored-By: Claude Opus 5.5 [email protected] Claude-Session: https://claude.ai/code/session_0143ghSZytUwwFgPcEoX4GG3

  2. 1.12.0

    GitHub 1.12.0: compare pages its commits

    compare takes a page, from 1, and answers which page it is and how many there are, so a deploy of more than a hundred commits can be read whole rather than cut. limit is the page size, a hundred at most as GitHub allows; the newest commits are on the last page.

  3. 1.11.0

    GitHub 1.11.0: compare two commits, branches or tags

    A new compare tool says what lies between two refs: whether head is ahead of base (a forward deploy), behind it (a rollback) or diverged, by how many commits, the commits themselves oldest first - the newest kept when there are more than asked for - and the files changed, with their patches. It reads through the plugin's GitHub connection, so a workspace no longer needs a function of its own with a token parameter to answer "what went out in this deploy".

  4. 1.10.0

    GitHub 1.10.0: an agent finds a line by its number instead of counting to it

    Before this, openFile answered a file as raw text and nothing else. An agent that needed line 312 of a 476-line file had only one way to get there: count every line in its own reasoning, which cost thousands of tokens and was often off by a few. Then, having found the place, it rewrote the whole file to change a few lines of it.

    openFile takes three new optional arguments. fromLine and toLine (1-based, inclusive; toLine 0 reads to the end) read only that stretch, and numbered prefixes every line with its number, as " 12| text". Asking for either puts a first line in the answer saying which lines these are and how many the file has. Asking for neither answers exactly what it always did, so a workflow already calling openFile is unaffected.

    findInFile is new, as a function and as a tool: given a pattern - plain text, or a regular expression with regex true - it answers the file's total line count, how many lines matched, and each match with its line number, its text and, with context, the lines around it. limit caps how many are listed.

    The skills on reviewing a pull request, on reviewing Copilot's work and on getting a build green now say to find a line that way rather than by counting, and two of them say that changing a file means cloning the repository into a box and editing it there with orkbox_edit, not sending the whole file back.

  5. 1.9.0

    GitHub 1.9.0: a Copilot task can be given its model, and the models listed

    createAgentTask takes a model, as listAgentModels spells it. Left empty it uses the new defaultModel setting, and with that empty too GitHub chooses, as before. listAgentModels answers the chat models Copilot offers the token's plan, read from Copilot's own API because the agent-tasks API has no list. That address, api.githubcopilot.com, has to be allowed by the installation's proxy rules.

    A task now asks for its pull request outright. GitHub's reference defaults create_pull_request to false, and everything this plugin teaches after starting a task assumes a draft pull request exists.

  6. 1.8.0

    GitHub 1.8.0: review threads can be read, a PR approved, and Copilot's finished drafts sent for review

    An agent could post comments on a pull request's diff but not read them back, so it could not tell whether anybody had left an objection nobody answered. pullComments now reads every comment on the diff grouped into threads - the file, the line, whether the thread is resolved, whether the code it was about has since changed - and the comments under the conversation, with unresolved counting the threads still open. It reads through GraphQL, because only GraphQL knows a thread is resolved. Each comment's id is what replyToComment takes.

    approve submits an approving review, with an optional note, as whoever the token belongs to. GitHub refuses an approval of a pull request the token's own account opened. It answers the review the way reviews lists one.

    The skill for working with the Copilot coding agent now says two things it did not:

    • Say what you did first, then watch. Handing work to Copilot is followed at once by two or three lines to whoever asked - what was done and the session or comment link - before the first wait, because a wait ends the turn and what is written with it is a note to the agent itself, not a reply.
    • Take a finished draft out of draft. Copilot opens drafts, and a draft asks nobody for review. Once its task is completed, the build on the current head is green, the whole diff has been read with nothing to object to and no review thread is left unresolved, the agent marks it ready for review and says so only after GitHub answers draft false. Anything short of that goes back to Copilot on the same pull request, and it stays a draft.

    Getting a build green follows the same rules: it reports the hand-off before waiting, and on green takes a Copilot draft that passes the same review out of draft.

  7. 1.7.0

    GitHub 1.7.0: a pull request's title and description can be edited

    An agent could read a pull request's title and description with openPull but had no way to change them, so fixing a misleading title or filling in an empty description meant asking a person to do it.

    editPull changes the title, the description, or both. Leave either out and it stays as it is - only what is given is sent, so retitling a pull request cannot wipe its description, and a call with nothing to change is refused rather than sent. The description is replaced whole, not appended to; the tool says to read it with openPull first when only part of it should change. It answers the number, title, description and url as they stand afterwards.

    It needs nothing the token did not already have for commenting: write on pull requests.

  8. 1.6.0

    GitHub 1.6.0: a draft pull request can be sent for review, and back

    An agent asked to put a pull request up for review could open it, comment on it and read its draft flag, but not change it: GitHub's REST API reads draft and silently ignores a request to set it. So the agent could only leave a comment asking somebody to press the button, and say it had not.

    markReadyForReview does what the site's "Ready for review" button does, and convertToDraft does the reverse. Both answer the number, whether it is a draft now and its url, so draft false is proof it moved rather than a claim. A pull request already where it was asked to be is answered as it is; a merged or closed one is refused with a sentence saying which.

    They go through GitHub's GraphQL mutations, the only way GitHub offers, and need nothing the token did not already have for commenting: write on pull requests. On an Enterprise Server the GraphQL endpoint is found beside /api/v3, at /api/graphql.

  9. 1.5.3

    GitHub 1.5.3: a fix to a Copilot pull request goes to its session

    The Copilot skill said how to steer a task but not what to do when a pull request Copilot opened needs a fix, so an agent could open a second PR or start a new task for it. It now says: messageAgentTask on that pull request, never a new PR or createAgentTask, and a person's PR gets a comment instead.

  10. 1.5.2

    Slack 1.23.2, GitHub 1.5.2: a skill shows the call the way a model has to send it

    Every example in every skill was written as a signature - positional, in single quotes:

    slack_post(connection, channel, text, '', [])
    { channel, ts } = slack_post(conn, channel, text, '', [])
    

    That is how a workflow node calls a function, and it is the wrong thing to put in front of an agent, which sends a name and a JSON object with double-quoted argument names. What the page taught has no valid rendering: '' is not a JSON string, { channel, ts } is not a JSON object, and an assignment is not a call at all. A model copying any of it writes arguments no parser takes - which is what came back from one run, a call cut off at {"id":" and a 500 reading "invalid string: missing closing quote".

    The new-thread skill carried two of the three, which is the page a loop kept following.

    So they are written as calls now - the tool's name and an object, double quotes throughout, argument names spelled as the tool spells them. Five examples across the two plugins: post to a channel, the upload that takes the answered ts, the picture by key, finish_answer with its wake-up, and the message that steers Copilot.

    AGENTS.md says it as a rule, next to the one about not naming another skill: a signature belongs in the README, where a workflow author reads it, and never in a page an agent is going to imitate.