@craftsamo/github-tools 0.4.0 → 0.4.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-tools",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "GitHub tools for coding agents: issues, project boards, pull requests, repositories, releases and Actions.",
5
5
  "author": {
6
6
  "name": "craftsamo",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-tools",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "GitHub tools for coding agents: issues, project boards, pull requests, repositories, releases and Actions.",
5
5
  "author": {
6
6
  "name": "craftsamo",
package/README.md CHANGED
@@ -179,7 +179,7 @@ one, otherwise a `type:<kind>` label.
179
179
  | `github_project_item_unarchive` | bring an archived item back | overwrite |
180
180
  | `github_project_item_convert` | turn a draft into an issue, with its kind, labels and milestone | add |
181
181
 
182
- The toolset is off by default: add `projects` to `toolsets`. The skill is
182
+ The skill is
183
183
  [`github-projects`](skills/github-projects/SKILL.md), shown as
184
184
  `github-tools:github-projects` in Claude Code and `github-tools:projects` in
185
185
  Hermes. A board is named by its number, `owner/N`, URL or title (`Roadmap` when
@@ -221,13 +221,13 @@ Where a write is asked about, and where it is not:
221
221
  Every entry point takes the same settings. A flag wins over its environment
222
222
  variable, and an option or setting wins over the variable too.
223
223
 
224
- | Setting | Flag | Variable | Meaning |
225
- | --------------- | ----------------- | ---------------------------- | -------------------------------------------------------------------------------------------------------------------- |
226
- | `toolsets` | `--toolsets` | `GITHUB_TOOLS_TOOLSETS` | `issues`, `pull_requests`, `projects`, `repos`, `releases`, `actions` or `all`; default `issues` and `pull_requests` |
227
- | `read_only` | `--read-only` | `GITHUB_TOOLS_READ_ONLY` | registers no tool that writes; wins over every other setting |
228
- | `tools` | `--tools` | `GITHUB_TOOLS_TOOLS` | single tools to add by ID, whatever their toolset |
229
- | `exclude_tools` | `--exclude-tools` | `GITHUB_TOOLS_EXCLUDE_TOOLS` | single tools to remove by ID; wins over `tools` and `toolsets` |
230
- | `confirm` | `--confirm` | `GITHUB_TOOLS_CONFIRM` | MCP server only: `harness` (default) or `elicitation`, as `docs/conventions.md` describes |
224
+ | Setting | Flag | Variable | Meaning |
225
+ | --------------- | ----------------- | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
226
+ | `toolsets` | `--toolsets` | `GITHUB_TOOLS_TOOLSETS` | `issues`, `pull_requests`, `projects`, `repos`, `releases`, `actions` or `all`; default `issues`, `pull_requests` and `projects` |
227
+ | `read_only` | `--read-only` | `GITHUB_TOOLS_READ_ONLY` | registers no tool that writes; wins over every other setting |
228
+ | `tools` | `--tools` | `GITHUB_TOOLS_TOOLS` | single tools to add by ID, whatever their toolset |
229
+ | `exclude_tools` | `--exclude-tools` | `GITHUB_TOOLS_EXCLUDE_TOOLS` | single tools to remove by ID; wins over `tools` and `toolsets` |
230
+ | `confirm` | `--confirm` | `GITHUB_TOOLS_CONFIRM` | MCP server only: `harness` (default) or `elicitation`, as `docs/conventions.md` describes |
231
231
 
232
232
  Lists are comma-separated in a flag or a variable. GitHub Actions does not let a
233
233
  secret or configuration variable be named `GITHUB_*`, so in a workflow pass a
package/dist/cli.js CHANGED
@@ -20713,7 +20713,7 @@ function ghIssueRef(issue2, target) {
20713
20713
 
20714
20714
  // src/core/tool.ts
20715
20715
  var TOOLSETS = ["issues", "pull_requests", "projects", "repos", "releases", "actions"];
20716
- var DEFAULT_TOOLSETS = ["issues", "pull_requests"];
20716
+ var DEFAULT_TOOLSETS = ["issues", "pull_requests", "projects"];
20717
20717
  var TOOL_ID_PATTERN = /^github_[a-z]+(?:_[a-z]+)+$/;
20718
20718
  var MAX_TOOL_ID_LENGTH = 40;
20719
20719
  var READ_TOOL_SUFFIX = "_read";
package/dist/mcp.js CHANGED
@@ -29396,7 +29396,7 @@ async function readBoardItemBoard(itemId, ctx) {
29396
29396
 
29397
29397
  // src/core/tool.ts
29398
29398
  var TOOLSETS = ["issues", "pull_requests", "projects", "repos", "releases", "actions"];
29399
- var DEFAULT_TOOLSETS = ["issues", "pull_requests"];
29399
+ var DEFAULT_TOOLSETS = ["issues", "pull_requests", "projects"];
29400
29400
  var REQUIRES_USER_INTERACTION = "anthropic/requiresUserInteraction";
29401
29401
  var TOOL_ID_PATTERN = /^github_[a-z]+(?:_[a-z]+)+$/;
29402
29402
  var MAX_TOOL_ID_LENGTH = 40;
@@ -34791,7 +34791,7 @@ async function main() {
34791
34791
  const settings = parseSettings(process.argv.slice(2), process.env);
34792
34792
  server = createServer(ALL_TOOLS, settings, {
34793
34793
  ownDir: packageRoot(import.meta.url),
34794
- version: true ? "0.4.0" : void 0
34794
+ version: true ? "0.4.1" : void 0
34795
34795
  });
34796
34796
  } catch (error62) {
34797
34797
  if (!isToolError(error62)) throw error62;
package/dist/opencode.js CHANGED
@@ -20712,7 +20712,7 @@ function ghIssueRef(issue2, target) {
20712
20712
 
20713
20713
  // src/core/tool.ts
20714
20714
  var TOOLSETS = ["issues", "pull_requests", "projects", "repos", "releases", "actions"];
20715
- var DEFAULT_TOOLSETS = ["issues", "pull_requests"];
20715
+ var DEFAULT_TOOLSETS = ["issues", "pull_requests", "projects"];
20716
20716
  var TOOL_ID_PATTERN = /^github_[a-z]+(?:_[a-z]+)+$/;
20717
20717
  var MAX_TOOL_ID_LENGTH = 40;
20718
20718
  var READ_TOOL_SUFFIX = "_read";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@craftsamo/github-tools",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "GitHub tools for coding agents: issues, project boards, pull requests, repositories, releases and Actions.",
5
5
  "author": "craftsamo",
6
6
  "license": "MIT",
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "github-tools",
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "description": "GitHub tools for coding agents: issues, project boards, pull requests, repositories, releases and Actions.",
6
6
  "author": {
7
7
  "name": "craftsamo",
package/plugin.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  name: github-tools
2
- version: 0.4.0
2
+ version: 0.4.1
3
3
  description: "GitHub tools for coding agents: issues, project boards, pull requests, repositories, releases and Actions."
4
4
  manifest_version: 1
5
5
  requires_hermes: ">=0.22"
@@ -28,7 +28,7 @@ provides_hooks:
28
28
  - pre_tool_call
29
29
  config_schema:
30
30
  toolsets:
31
- description: 'The toolsets that are on: a list of issues, pull_requests, projects, repos, releases and actions, or "all". Defaults to issues and pull_requests.'
31
+ description: 'The toolsets that are on: a list of issues, pull_requests, projects, repos, releases and actions, or "all". Defaults to issues, pull_requests and projects.'
32
32
  read_only:
33
33
  type: bool
34
34
  description: Registers no tool that writes. Wins over every other setting.