gh-axi 0.1.22 → 0.1.23

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/README.md CHANGED
@@ -75,6 +75,7 @@ gh-axi setup hooks
75
75
 
76
76
  This installs a `SessionStart` hook for **Claude Code**, **Codex**, and **OpenCode** that surfaces the current repo state and usage guidance at the start of each session.
77
77
  **Restart your agent session after running this** so the new hook takes effect.
78
+ For global installs, run `gh-axi update --check` to see whether a newer release is available, or `gh-axi update` to upgrade.
78
79
 
79
80
  ## Usage
80
81
 
@@ -87,6 +88,8 @@ gh-axi run list -R owner/repo # list workflow runs for a specific repo
87
88
  gh-axi run view 123456 --job 789012 # inspect a single job within a run
88
89
  gh-axi run view --job 789012 --log-failed # show failed log lines for one job
89
90
  gh-axi setup hooks # install optional agent session hooks
91
+ gh-axi update --check # check whether a newer release exists
92
+ gh-axi update # upgrade a global install
90
93
  ```
91
94
 
92
95
  For multi-line issue, PR, review, or comment text, write Markdown to a UTF-8 file and pass `--body-file <path>` anywhere `--body` is accepted.
@@ -109,6 +112,7 @@ When truncation happens, gh-axi best-effort saves the complete log to a temp fil
109
112
  | `search` | Search issues, PRs, repos, commits, code |
110
113
  | `api` | Raw GitHub API access |
111
114
  | `setup` | Install optional agent session hooks |
115
+ | `update` | Built-in self-update command inherited from `axi-sdk-js` |
112
116
 
113
117
  ### Global flags
114
118
 
package/dist/src/skill.js CHANGED
@@ -73,6 +73,10 @@ Use gh-axi whenever a task touches GitHub: listing, filing, or editing issues; v
73
73
  ${extractCommandsBlock()}
74
74
  \`\`\`
75
75
 
76
+ Installed copies also inherit the SDK built-in \`update\` command.
77
+ Run \`gh-axi update --check\` to compare the installed version with npm, or \`gh-axi update\` to upgrade.
78
+ When using \`npx -y gh-axi\`, npx already resolves the package on demand.
79
+
76
80
  Run \`npx -y gh-axi --help\` for global flags, or \`npx -y gh-axi <command> --help\` for per-command usage.
77
81
 
78
82
  ## Tips
@@ -1 +1 @@
1
- {"version":3,"file":"skill.js","sourceRoot":"","sources":["../../src/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEjD,sFAAsF;AACtF,wEAAwE;AACxE,MAAM,CAAC,MAAM,iBAAiB,GAC5B,2FAA2F;IAC3F,0FAA0F;IAC1F,wFAAwF;IACxF,uCAAuC,CAAC;AAE1C,MAAM,CAAC,MAAM,YAAY,GAAG,wBAAwB,CAAC;AAErD,oEAAoE;AACpE,2EAA2E;AAC3E,yEAAyE;AACzE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,CAAC,CAAC;AAChF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC;AAExC,SAAS,eAAe,CAAC,KAAa;IACpC,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAC/B,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,oBAAoB;IAClC,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC;IACpE,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;IAC/D,CAAC;IACD,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAC5B,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,mBAAmB;IACjC,OAAO;;eAEM,eAAe,CAAC,iBAAiB,CAAC;;UAEvC,YAAY;;;aAGT,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;gBACnB,eAAe;;;;;EAK7B,WAAW;;;;;;;;;;;;;;;;;;;;;;;EAuBX,oBAAoB,EAAE;;;;;;;;;;;;CAYvB,CAAC;AACF,CAAC"}
1
+ {"version":3,"file":"skill.js","sourceRoot":"","sources":["../../src/skill.ts"],"names":[],"mappings":"AAAA,OAAO,E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wrapper — token-efficient TOON output, contextual suggestions, idempotent mutations",
6
6
  "type": "module",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@toon-format/toon": "^2.1.0",
45
- "axi-sdk-js": "^0.1.7"
45
+ "axi-sdk-js": "^0.1.8"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@eslint/js": "^10.0.1",
@@ -38,6 +38,10 @@ commands[11]:
38
38
  (none)=dashboard, issue, pr, run, workflow, release, repo, label, search, api, setup
39
39
  ```
40
40
 
41
+ Installed copies also inherit the SDK built-in `update` command.
42
+ Run `gh-axi update --check` to compare the installed version with npm, or `gh-axi update` to upgrade.
43
+ When using `npx -y gh-axi`, npx already resolves the package on demand.
44
+
41
45
  Run `npx -y gh-axi --help` for global flags, or `npx -y gh-axi <command> --help` for per-command usage.
42
46
 
43
47
  ## Tips