projecta-rrr 1.24.1 → 1.24.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 +5 -0
- package/package.json +1 -1
- package/rrr/lib/team-mode/manager.js +11 -7
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to RRR will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
6
|
|
|
7
|
+
## [1.24.2] - 2026-05-12
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- **Sprite exec apply path** — provisioning now inserts `--` before remote commands so Sprite does not parse `bash -lc`, `npx --global`, or setup flags as Sprite CLI flags.
|
|
11
|
+
|
|
7
12
|
## [1.24.1] - 2026-05-12
|
|
8
13
|
|
|
9
14
|
### Added
|
package/package.json
CHANGED
|
@@ -227,11 +227,11 @@ function buildSpriteProvisionPlan(projectRoot, options) {
|
|
|
227
227
|
checks,
|
|
228
228
|
commands: [
|
|
229
229
|
`sprite create ${teamConfig.sprite} --skip-console`,
|
|
230
|
-
`sprite exec -s ${teamConfig.sprite} mkdir -p /home/sprite/work`,
|
|
231
|
-
`sprite exec -s ${teamConfig.sprite} bash -lc 'test -d ${workdir}/.git || ${cloneCommand}'`,
|
|
232
|
-
`sprite exec -s ${teamConfig.sprite} --dir ${workdir} bash -lc '${checkoutCommand}'`,
|
|
233
|
-
`sprite exec -s ${teamConfig.sprite} --dir ${workdir} npx projecta-rrr@latest --global --yes`,
|
|
234
|
-
...setup.map(cmd => `sprite exec -s ${teamConfig.sprite} --dir ${workdir} bash -lc '${cmd}'`),
|
|
230
|
+
`sprite exec -s ${teamConfig.sprite} -- mkdir -p /home/sprite/work`,
|
|
231
|
+
`sprite exec -s ${teamConfig.sprite} -- bash -lc 'test -d ${workdir}/.git || ${cloneCommand}'`,
|
|
232
|
+
`sprite exec -s ${teamConfig.sprite} --dir ${workdir} -- bash -lc '${checkoutCommand}'`,
|
|
233
|
+
`sprite exec -s ${teamConfig.sprite} --dir ${workdir} -- npx projecta-rrr@latest --global --yes`,
|
|
234
|
+
...setup.map(cmd => `sprite exec -s ${teamConfig.sprite} --dir ${workdir} -- bash -lc '${cmd}'`),
|
|
235
235
|
`sprite checkpoint create -s ${teamConfig.sprite} --comment "rrr clean-ready ${config.milestone} ${team}"`
|
|
236
236
|
]
|
|
237
237
|
});
|
|
@@ -323,11 +323,12 @@ function applySpriteProvisionPlan(projectRoot, options) {
|
|
|
323
323
|
const teamResults = [];
|
|
324
324
|
const create = execCapture('sprite', ['create', row.sprite, '--skip-console']);
|
|
325
325
|
teamResults.push({ step: 'create', ...create });
|
|
326
|
-
execCapture('sprite', ['exec', '-s', row.sprite, 'mkdir', '-p', '/home/sprite/work']);
|
|
326
|
+
execCapture('sprite', ['exec', '-s', row.sprite, '--', 'mkdir', '-p', '/home/sprite/work']);
|
|
327
327
|
const clone = execCapture('sprite', [
|
|
328
328
|
'exec',
|
|
329
329
|
'-s',
|
|
330
330
|
row.sprite,
|
|
331
|
+
'--',
|
|
331
332
|
'bash',
|
|
332
333
|
'-lc',
|
|
333
334
|
`test -d ${row.workdir}/.git || gh repo clone ${row.repo} ${row.workdir}`
|
|
@@ -339,6 +340,7 @@ function applySpriteProvisionPlan(projectRoot, options) {
|
|
|
339
340
|
row.sprite,
|
|
340
341
|
'--dir',
|
|
341
342
|
row.workdir,
|
|
343
|
+
'--',
|
|
342
344
|
'bash',
|
|
343
345
|
'-lc',
|
|
344
346
|
`git fetch origin && git checkout -B ${row.branch} origin/${plan.config.github.base_branch}`
|
|
@@ -350,6 +352,7 @@ function applySpriteProvisionPlan(projectRoot, options) {
|
|
|
350
352
|
row.sprite,
|
|
351
353
|
'--dir',
|
|
352
354
|
row.workdir,
|
|
355
|
+
'--',
|
|
353
356
|
'npx',
|
|
354
357
|
'projecta-rrr@latest',
|
|
355
358
|
'--global',
|
|
@@ -357,7 +360,7 @@ function applySpriteProvisionPlan(projectRoot, options) {
|
|
|
357
360
|
]);
|
|
358
361
|
teamResults.push({ step: 'rrr-install', ...rrr });
|
|
359
362
|
for (const command of row.setup || []) {
|
|
360
|
-
const setup = execCapture('sprite', ['exec', '-s', row.sprite, '--dir', row.workdir, 'bash', '-lc', command]);
|
|
363
|
+
const setup = execCapture('sprite', ['exec', '-s', row.sprite, '--dir', row.workdir, '--', 'bash', '-lc', command]);
|
|
361
364
|
teamResults.push({ step: `setup: ${command}`, ...setup });
|
|
362
365
|
}
|
|
363
366
|
const checkpoint = execCapture('sprite', [
|
|
@@ -402,6 +405,7 @@ function readSpriteStatus(projectRoot, options) {
|
|
|
402
405
|
row.sprite,
|
|
403
406
|
'--dir',
|
|
404
407
|
row.workdir,
|
|
408
|
+
'--',
|
|
405
409
|
'bash',
|
|
406
410
|
'-lc',
|
|
407
411
|
'printf "branch="; git branch --show-current; printf "\\nhead="; git rev-parse --short HEAD; printf "\\nclaude="; claude --version 2>/dev/null || true; printf "\\ngsd="; gsd-browser --version 2>/dev/null || true'
|