@madarco/agentbox 0.11.2 → 0.11.3

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/CHANGELOG.md CHANGED
@@ -9,6 +9,22 @@ Entries are generated from the commit history with `/release-notes` and then
9
9
  hand-reviewed — they describe what changed for someone using the `agentbox`
10
10
  CLI, not the raw commits.
11
11
 
12
+ ## [0.11.3] - 2026-05-31
13
+
14
+ ### Changed
15
+
16
+ - `agentbox self-update` now refreshes the host skill files in `~/.claude`
17
+ (and the Codex / OpenCode copies) as part of the update, so an updated CLI
18
+ no longer keeps serving stale skill content until you separately ran
19
+ `agentbox install --skills-only`. Pass `--skip-skills` to opt out.
20
+
21
+ ### Fixed
22
+
23
+ - The `agentbox` host reference skill was out of date — it omitted the Vercel
24
+ provider, still described `-i` background runs as docker-only, and was
25
+ missing the PR-through-relay (`agentbox-ctl git pr`) and HTTPS-origin push
26
+ notes. It now reflects the current feature set.
27
+
12
28
  ## [0.11.2] - 2026-05-31
13
29
 
14
30
  ### Added
package/dist/index.js CHANGED
@@ -221,8 +221,8 @@ import {
221
221
  import "./chunk-G3H2L3O2.js";
222
222
 
223
223
  // src/version.ts
224
- var AGENTBOX_VERSION = true ? "0.11.2" : "0.0.0-dev";
225
- var AGENTBOX_COMMIT = true ? "3683063c" : "dev";
224
+ var AGENTBOX_VERSION = true ? "0.11.3" : "0.0.0-dev";
225
+ var AGENTBOX_COMMIT = true ? "c74f16c4" : "dev";
226
226
 
227
227
  // src/index.ts
228
228
  import { Command as Command46 } from "commander";
@@ -12099,8 +12099,8 @@ function runInherit(cmd, args) {
12099
12099
  });
12100
12100
  }
12101
12101
  var updateCommand = new Command43("self-update").description(
12102
- "Update agentbox: self-update via npm/pnpm (unless run via npx), wipe the box image so it rebuilds, and reload the relay"
12103
- ).option("-y, --yes", "skip the confirmation prompt").option("--dry-run", "show what would happen, don't change anything").option("--skip-self", "skip the package self-update; only refresh the image + relay").action(async (opts) => {
12102
+ "Update agentbox: self-update via npm/pnpm (unless run via npx), refresh the host skills, wipe the box image so it rebuilds, and reload the relay"
12103
+ ).option("-y, --yes", "skip the confirmation prompt").option("--dry-run", "show what would happen, don't change anything").option("--skip-self", "skip the package self-update; only refresh the skills + image + relay").option("--skip-skills", "skip refreshing the host skill files in ~/.claude, ~/.codex, ~/.config/opencode").action(async (opts) => {
12104
12104
  try {
12105
12105
  const method = detectExecutionMethod({
12106
12106
  userAgent: process.env.npm_config_user_agent,
@@ -12108,10 +12108,12 @@ var updateCommand = new Command43("self-update").description(
12108
12108
  });
12109
12109
  intro8("agentbox self-update");
12110
12110
  const selfStep = opts.skipSelf ? "self-update: skipped (--skip-self)" : describeSelfUpdate(method);
12111
+ const skillsStep = opts.skipSkills ? "skills: skipped (--skip-skills)" : "skills: refresh agentbox-managed host skill files in ~/.claude (and Codex/OpenCode)";
12111
12112
  log41.info(
12112
12113
  [
12113
12114
  "plan:",
12114
12115
  ` ${selfStep}`,
12116
+ ` ${skillsStep}`,
12115
12117
  ` image: docker image rm -f ${DEFAULT_BOX_IMAGE} (rebuilds on next create/claude)`,
12116
12118
  " relay: stop, then respawn unless a self-update ran"
12117
12119
  ].join("\n")
@@ -12144,6 +12146,36 @@ var updateCommand = new Command43("self-update").description(
12144
12146
  log41.success(`updated ${PKG} via ${cmd.cmd}`);
12145
12147
  }
12146
12148
  }
12149
+ if (opts.skipSkills) {
12150
+ log41.info("skipping skills refresh (--skip-skills)");
12151
+ } else if (selfUpdated) {
12152
+ const code = await runInherit("agentbox", ["install", "--skills-only"]);
12153
+ if (code === 0) {
12154
+ log41.success("refreshed host skills (via updated build)");
12155
+ } else {
12156
+ log41.warn(
12157
+ `host skills not refreshed (agentbox install --skills-only exited ${String(code)}) \u2014 run it manually to pick up the new versions`
12158
+ );
12159
+ }
12160
+ } else {
12161
+ try {
12162
+ const res = installHostSkills({ quiet: true });
12163
+ if (res.written.length > 0) {
12164
+ log41.success(`refreshed host skills (${String(res.written.length)} file(s))`);
12165
+ } else {
12166
+ log41.info(`host skills already current (${String(res.skipped)} skipped)`);
12167
+ }
12168
+ if (res.blocked.length > 0) {
12169
+ log41.warn(
12170
+ `user-modified skill file(s) left in place: ${res.blocked.join(", ")} \u2014 run \`agentbox install --skills-only --force\` to overwrite`
12171
+ );
12172
+ }
12173
+ } catch (err) {
12174
+ log41.warn(
12175
+ `host skills not refreshed (${err instanceof Error ? err.message : String(err)})`
12176
+ );
12177
+ }
12178
+ }
12147
12179
  const s = spinner10();
12148
12180
  s.start(`removing image ${DEFAULT_BOX_IMAGE}`);
12149
12181
  const removed = await removeImage(DEFAULT_BOX_IMAGE);