argsbarg 6.3.1 → 6.3.2
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
|
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [6.3.2] - 2026-08-07
|
|
11
|
+
|
|
12
|
+
|
|
10
13
|
## [6.3.1] - 2026-08-07
|
|
11
14
|
|
|
12
15
|
|
|
@@ -24,7 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
24
27
|
### Changed
|
|
25
28
|
|
|
26
29
|
- **Breaking: `configure --sync` → `configure --refresh`** — renames the non-interactive agent-artifact refresh flag (skills, MCP, config bootstrap). No `--sync` alias. Copy-template justfiles no longer ship a `refresh-artifacts` recipe; run `configure --refresh --yes` directly.
|
|
27
|
-
- **Copy-template justfiles** — `install-local`
|
|
30
|
+
- **Copy-template justfiles** — `install-local` depends on `uninstall` then `build` (`brew reinstall || brew install --force`). Dropped `uninstall-artifacts`, `uninstall-formula`, `uninstall-release`, and `uninstall-release-tap` (use `uninstall` + `uninstall-config`). Brew recipes prefix `HOMEBREW_NO_ASK=1`.
|
|
28
31
|
|
|
29
32
|
## [6.2.2] - 2026-08-07
|
|
30
33
|
|
|
@@ -922,7 +925,8 @@ const cli = { ... } satisfies CliProgram; // or : CliProgram
|
|
|
922
925
|
- Migrate schemas: rename every `children` property to **`commands`**; move positional definitions to **`CliPositional`** objects on `positionals` and strip `positional` / `argMin` / `argMax` from flag definitions under `options` (flags only carry `name`, `description`, `kind`, and optional `shortName`).
|
|
923
926
|
- Imports: use `CliPositional` where needed; replace `CliOptionDef` with `CliOption` or `CliPositional` as appropriate.
|
|
924
927
|
|
|
925
|
-
[Unreleased]: https://github.com/bdombro/bun-argsbarg/compare/v6.3.
|
|
928
|
+
[Unreleased]: https://github.com/bdombro/bun-argsbarg/compare/v6.3.2...HEAD
|
|
929
|
+
[6.3.2]: https://github.com/bdombro/bun-argsbarg/releases/tag/v6.3.2
|
|
926
930
|
[6.3.1]: https://github.com/bdombro/bun-argsbarg/releases/tag/v6.3.1
|
|
927
931
|
[6.3.0]: https://github.com/bdombro/bun-argsbarg/releases/tag/v6.3.0
|
|
928
932
|
[6.2.2]: https://github.com/bdombro/bun-argsbarg/releases/tag/v6.2.2
|
package/docs/configure.md
CHANGED
|
@@ -32,10 +32,10 @@ To remove app config only (keep skills/MCP), run `configure --remove-config --ye
|
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
34
|
just build
|
|
35
|
-
just install-local #
|
|
35
|
+
just install-local # uninstall, then build + brew install (`just install` is an alias)
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Dev flow matches release: formula `
|
|
38
|
+
Dev flow matches release: `install-local` runs `uninstall` first (keg + untap; formula hook runs `configure --remove-all`), then stages the dev formula and installs. `post_install` runs `<key> configure --refresh --yes` for skills/MCP. Use `just reinstall-local` to swap the binary into Cellar during tight edit cycles (skips completions and `post_install`). Run `<key> configure --refresh --yes` (or `just run configure --refresh --yes`) to refresh agent artifacts without touching the binary.
|
|
39
39
|
|
|
40
40
|
## Quick reference
|
|
41
41
|
|
|
@@ -116,7 +116,7 @@ ArgsBarg provides an optimized workflow for developers to build, package, and te
|
|
|
116
116
|
# 1. Build the local release binary
|
|
117
117
|
just build
|
|
118
118
|
|
|
119
|
-
# 2.
|
|
119
|
+
# 2. Uninstall any existing formula/tap, stage and install locally (bypasses GitHub, uses file://)
|
|
120
120
|
just install-local
|
|
121
121
|
|
|
122
122
|
# 3. Swap updated binaries quickly during tight edit cycles
|
|
@@ -130,9 +130,10 @@ just uninstall
|
|
|
130
130
|
|
|
131
131
|
To ensure you test the exact formula that will be shipped to production, `just install-local` runs:
|
|
132
132
|
|
|
133
|
-
1. `
|
|
134
|
-
2. `
|
|
135
|
-
3. `
|
|
133
|
+
1. `just uninstall` — Remove any existing keg and untap (formula `uninstall` hook runs `configure --remove-all`).
|
|
134
|
+
2. `bun scripts/dev-formula.ts install` — Safely backs up your production formula and writes a temporary local dev formula using a `file://` URL pointing to your build directory.
|
|
135
|
+
3. `brew reinstall || brew install --force` — Installs the package locally using Homebrew.
|
|
136
|
+
4. `bun scripts/dev-formula.ts reset` — Automatically restores your production formula on disk.
|
|
136
137
|
|
|
137
138
|
---
|
|
138
139
|
|
|
@@ -67,12 +67,11 @@ http:
|
|
|
67
67
|
install: install-local
|
|
68
68
|
|
|
69
69
|
# Dev install: build, stage dev formula, brew install, restore release formula
|
|
70
|
-
install-local: build
|
|
71
|
-
@NONINTERACTIVE=1 brew untap {{tap}} 2>/dev/null || true
|
|
70
|
+
install-local: uninstall build
|
|
72
71
|
mkdir -p {{tap_parent}}
|
|
73
72
|
ln -sfn '{{justfile_directory()}}' {{tap_path}}
|
|
74
73
|
bun scripts/dev-formula.ts install
|
|
75
|
-
|
|
74
|
+
HOMEBREW_NO_ASK=1 brew reinstall --formula {{tap}}/{{cli_key}} || HOMEBREW_NO_ASK=1 brew install --force --formula {{tap}}/{{cli_key}}
|
|
76
75
|
bun scripts/dev-formula.ts reset
|
|
77
76
|
@echo ""
|
|
78
77
|
@echo "Next: {{cli_key}} configure"
|
|
@@ -117,10 +116,10 @@ release *ARGS:
|
|
|
117
116
|
|
|
118
117
|
# Install release formula from tap and run formula test
|
|
119
118
|
test-release:
|
|
120
|
-
|
|
119
|
+
HOMEBREW_NO_ASK=1 brew untap {{tap}} 2>/dev/null || true
|
|
121
120
|
mkdir -p {{tap_parent}}
|
|
122
121
|
ln -sfn '{{justfile_directory()}}' {{tap_path}}
|
|
123
|
-
|
|
122
|
+
HOMEBREW_NO_ASK=1 brew uninstall --formula {{tap}}/{{cli_key}} 2>/dev/null || true
|
|
124
123
|
brew install --formula {{tap}}/{{cli_key}}
|
|
125
124
|
brew test {{cli_key}}
|
|
126
125
|
|
|
@@ -128,28 +127,12 @@ test-release:
|
|
|
128
127
|
typecheck:
|
|
129
128
|
bun run tsc --noEmit
|
|
130
129
|
|
|
131
|
-
# Undo
|
|
132
|
-
uninstall:
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
just run configure --remove-all --yes
|
|
130
|
+
# Undo dev/Homebrew install (formula uninstall hook runs configure --remove-all)
|
|
131
|
+
uninstall:
|
|
132
|
+
@HOMEBREW_NO_ASK=1 brew uninstall --formula {{tap}}/{{cli_key}} 2>/dev/null || true
|
|
133
|
+
@HOMEBREW_NO_ASK=1 brew uninstall --formula {{tap}}/{{cli_key}}-local 2>/dev/null || true
|
|
134
|
+
@HOMEBREW_NO_ASK=1 brew untap {{tap}} 2>/dev/null || true
|
|
137
135
|
|
|
138
136
|
# Remove app config file only
|
|
139
137
|
uninstall-config:
|
|
140
138
|
just run configure --remove-config --yes
|
|
141
|
-
|
|
142
|
-
# Remove formula and untap
|
|
143
|
-
uninstall-formula:
|
|
144
|
-
@NONINTERACTIVE=1 brew uninstall --formula {{tap}}/{{cli_key}} 2>/dev/null || true
|
|
145
|
-
@NONINTERACTIVE=1 brew uninstall --formula {{tap}}/{{cli_key}}-local 2>/dev/null || true
|
|
146
|
-
@NONINTERACTIVE=1 brew untap {{tap}} 2>/dev/null || true
|
|
147
|
-
|
|
148
|
-
# Remove release formula (does not untap)
|
|
149
|
-
uninstall-release:
|
|
150
|
-
@NONINTERACTIVE=1 brew uninstall --formula {{tap}}/{{cli_key}} 2>/dev/null || true
|
|
151
|
-
|
|
152
|
-
# Remove release formula and untap
|
|
153
|
-
uninstall-release-tap:
|
|
154
|
-
@NONINTERACTIVE=1 brew uninstall --formula {{tap}}/{{cli_key}} 2>/dev/null || true
|
|
155
|
-
@NONINTERACTIVE=1 brew untap {{tap}} 2>/dev/null || true
|
|
@@ -77,12 +77,11 @@ http:
|
|
|
77
77
|
install: install-local
|
|
78
78
|
|
|
79
79
|
# Dev install: build, stage dev formula, brew install, restore release formula
|
|
80
|
-
install-local: build
|
|
81
|
-
@NONINTERACTIVE=1 brew untap {{tap}} 2>/dev/null || true
|
|
80
|
+
install-local: uninstall build
|
|
82
81
|
mkdir -p {{tap_parent}}
|
|
83
82
|
ln -sfn '{{justfile_directory()}}' {{tap_path}}
|
|
84
83
|
bun scripts/dev-formula.ts install
|
|
85
|
-
|
|
84
|
+
HOMEBREW_NO_ASK=1 brew reinstall --formula {{tap}}/{{cli_key}} || HOMEBREW_NO_ASK=1 brew install --force --formula {{tap}}/{{cli_key}}
|
|
86
85
|
bun scripts/dev-formula.ts reset
|
|
87
86
|
@echo ""
|
|
88
87
|
@echo "Next: {{cli_key}} configure"
|
|
@@ -129,10 +128,10 @@ release *ARGS:
|
|
|
129
128
|
|
|
130
129
|
# Install release formula from tap and run formula test
|
|
131
130
|
test-release:
|
|
132
|
-
|
|
131
|
+
HOMEBREW_NO_ASK=1 brew untap {{tap}} 2>/dev/null || true
|
|
133
132
|
mkdir -p {{tap_parent}}
|
|
134
133
|
ln -sfn '{{justfile_directory()}}' {{tap_path}}
|
|
135
|
-
|
|
134
|
+
HOMEBREW_NO_ASK=1 brew uninstall --formula {{tap}}/{{cli_key}} 2>/dev/null || true
|
|
136
135
|
brew install --formula {{tap}}/{{cli_key}}
|
|
137
136
|
brew test {{cli_key}}
|
|
138
137
|
|
|
@@ -140,28 +139,12 @@ test-release:
|
|
|
140
139
|
typecheck:
|
|
141
140
|
bun run tsc --noEmit
|
|
142
141
|
|
|
143
|
-
# Undo
|
|
144
|
-
uninstall:
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
just run configure --remove-all --yes
|
|
142
|
+
# Undo dev/Homebrew install (formula uninstall hook runs configure --remove-all)
|
|
143
|
+
uninstall:
|
|
144
|
+
@HOMEBREW_NO_ASK=1 brew uninstall --formula {{tap}}/{{cli_key}} 2>/dev/null || true
|
|
145
|
+
@HOMEBREW_NO_ASK=1 brew uninstall --formula {{tap}}/{{cli_key}}-local 2>/dev/null || true
|
|
146
|
+
@HOMEBREW_NO_ASK=1 brew untap {{tap}} 2>/dev/null || true
|
|
149
147
|
|
|
150
148
|
# Remove app config file only
|
|
151
149
|
uninstall-config:
|
|
152
150
|
just run configure --remove-config --yes
|
|
153
|
-
|
|
154
|
-
# Remove formula and untap
|
|
155
|
-
uninstall-formula:
|
|
156
|
-
@NONINTERACTIVE=1 brew uninstall --formula {{tap}}/{{cli_key}} 2>/dev/null || true
|
|
157
|
-
@NONINTERACTIVE=1 brew uninstall --formula {{tap}}/{{cli_key}}-local 2>/dev/null || true
|
|
158
|
-
@NONINTERACTIVE=1 brew untap {{tap}} 2>/dev/null || true
|
|
159
|
-
|
|
160
|
-
# Remove release formula (does not untap)
|
|
161
|
-
uninstall-release:
|
|
162
|
-
@NONINTERACTIVE=1 brew uninstall --formula {{tap}}/{{cli_key}} 2>/dev/null || true
|
|
163
|
-
|
|
164
|
-
# Remove release formula and untap
|
|
165
|
-
uninstall-release-tap:
|
|
166
|
-
@NONINTERACTIVE=1 brew uninstall --formula {{tap}}/{{cli_key}} 2>/dev/null || true
|
|
167
|
-
@NONINTERACTIVE=1 brew untap {{tap}} 2>/dev/null || true
|