@1aboveio/skills 0.12.1 → 0.13.0

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
@@ -45,15 +45,18 @@ npx @1aboveio/skills install --group engineering-workflow
45
45
  npx @1aboveio/skills update --group engineering-workflow
46
46
  ```
47
47
 
48
- Running `install` with no `--group` opens the interactive bundle picker. The automation flags:
48
+ Running `install` with no `--group` opens the interactive bundle picker; `update` with no
49
+ `--group` replays the remembered selection instead (see Updating). The automation flags:
49
50
 
50
51
  - `--group <id>` — select one group; repeat the flag, or pass a comma-separated list, for several.
51
52
  - `--all` — select every group in the catalog below. Mutually exclusive with `--group`.
52
- - `--dry-run` — print the planned native commands, in order, and run none of them.
53
- - `--yes` — answer the native CLI's prompts, including the overwrite prompt, with yes.
53
+ - `--dry-run` — print the planned buckets and native commands, in order, and run none of them.
54
+ - `--yes` — answer the native CLI's prompts, including the overwrite prompt, with yes, and accept
55
+ every newly declared group member without prompting.
54
56
 
55
- Selecting several groups (interactive picker, repeated `--group`, or `--all`) coalesces their
56
- first-party members into one native `skills add` from the unpacked package.
57
+ Selecting several groups (interactive picker, repeated `--group`, or `--all`) installs their
58
+ members as one native `skills add` per skill from the unpacked package, so one skill's failure is
59
+ reported by name and never aborts the rest of the selection.
57
60
 
58
61
  Without `--yes`, an existing same-named skill produces the native overwrite summary and a prompt.
59
62
  Declining leaves the existing content and its links exactly as they were.
@@ -71,7 +74,34 @@ They are an implementation detail of those groups, so `list` and the picker do n
71
74
 
72
75
  ## Updating
73
76
 
74
- `update` reruns the selected group's install recipe from the @1aboveio/skills version you
77
+ `update` with no `--group` replays the selection remembered in
78
+ `${XDG_STATE_HOME:-~/.local/state}/1aboveio-skills/selection.json` from the last run that
79
+ recorded one. A repository checkout and this
80
+ package share that one file, so switching transports keeps the same groups. Missing or corrupt memory
81
+ is an error — the coordinator never infers groups from the filesystem — and remembered groups that are
82
+ no longer selectable are dropped with a warning.
83
+
84
+ An accepted skill whose installed content already matches this package version's published digest is
85
+ skipped entirely: no native add, no overwrite prompt. When everything remembered is unchanged and no
86
+ new skill is accepted, the run exits 0 as an explicit no-op. `--dry-run` prints the unchanged,
87
+ would-refresh, and would-add buckets without writing state or invoking the native CLI.
88
+
89
+ When the version you invoke declares a member your remembered group has not accepted — a skill that
90
+ joined the group after your remembered acceptance was last recorded — update asks about that skill
91
+ by name before adding it. Each new-member prompt defaults to No; `--yes` accepts every new member
92
+ non-interactively.
93
+ Declined skills are never uninstalled by the coordinator and stay out of the remembered acceptance,
94
+ so the next update asks again.
95
+
96
+ Install and update are best-effort per skill: they continue after a single skill failure, summarize
97
+ every skill as succeeded, unchanged, declined, or failed, and exit non-zero if anything failed. There
98
+ is no rollback or transactional group update; the native CLI remains the sole write and
99
+ overwrite-consent authority. Selection memory follows the same per-skill rule: it is rewritten when
100
+ at least one user-facing member succeeded or was already unchanged, holding exactly those members —
101
+ failed and declined members are omitted — and a run with no user-facing success leaves the prior
102
+ file untouched.
103
+
104
+ `update --group ...` refreshes an explicit selection from the @1aboveio/skills version you
75
105
  invoke, so the installed result is whatever that exact version carries. Public first-party
76
106
  content follows the package version you select, not a branch: pin a version and rerunning it
77
107
  reproduces the same installation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1aboveio/skills",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "Install the 1AboveIO first-party skill groups through the native Skills CLI.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -8,7 +8,7 @@
8
8
  "id": "first-party",
9
9
  "type": "first-party",
10
10
  "package": "@1aboveio/skills",
11
- "version": "0.12.1",
11
+ "version": "0.13.0",
12
12
  "updatePolicy": "pinned-npm-version",
13
13
  "members": [
14
14
  {
@@ -184,7 +184,7 @@
184
184
  "sourceId": "first-party",
185
185
  "sourceType": "first-party",
186
186
  "package": "@1aboveio/skills",
187
- "version": "0.12.1",
187
+ "version": "0.13.0",
188
188
  "installPath": null,
189
189
  "members": [
190
190
  "harness-runtime",
@@ -218,7 +218,7 @@
218
218
  "sourceId": "first-party",
219
219
  "sourceType": "first-party",
220
220
  "package": "@1aboveio/skills",
221
- "version": "0.12.1",
221
+ "version": "0.13.0",
222
222
  "installPath": null,
223
223
  "members": [
224
224
  "harness-runtime",
@@ -262,7 +262,7 @@
262
262
  "sourceId": "first-party",
263
263
  "sourceType": "first-party",
264
264
  "package": "@1aboveio/skills",
265
- "version": "0.12.1",
265
+ "version": "0.13.0",
266
266
  "installPath": null,
267
267
  "members": [
268
268
  "harness-runtime",
@@ -295,7 +295,7 @@
295
295
  "sourceId": "first-party",
296
296
  "sourceType": "first-party",
297
297
  "package": "@1aboveio/skills",
298
- "version": "0.12.1",
298
+ "version": "0.13.0",
299
299
  "installPath": null,
300
300
  "members": [
301
301
  "harness-runtime",
@@ -338,7 +338,7 @@
338
338
  "sourceId": "first-party",
339
339
  "sourceType": "first-party",
340
340
  "package": "@1aboveio/skills",
341
- "version": "0.12.1",
341
+ "version": "0.13.0",
342
342
  "installPath": null,
343
343
  "members": [
344
344
  "harness-runtime",
@@ -368,7 +368,7 @@
368
368
  "sourceId": "first-party",
369
369
  "sourceType": "first-party",
370
370
  "package": "@1aboveio/skills",
371
- "version": "0.12.1",
371
+ "version": "0.13.0",
372
372
  "installPath": null,
373
373
  "members": [
374
374
  "harness-runtime",
@@ -408,7 +408,7 @@
408
408
  "sourceId": "first-party",
409
409
  "sourceType": "first-party",
410
410
  "package": "@1aboveio/skills",
411
- "version": "0.12.1",
411
+ "version": "0.13.0",
412
412
  "installPath": null,
413
413
  "members": [
414
414
  "harness-runtime",
@@ -440,7 +440,7 @@
440
440
  "sourceId": "first-party",
441
441
  "sourceType": "first-party",
442
442
  "package": "@1aboveio/skills",
443
- "version": "0.12.1",
443
+ "version": "0.13.0",
444
444
  "installPath": null,
445
445
  "members": [
446
446
  "harness-runtime",
@@ -480,7 +480,7 @@
480
480
  "sourceId": "first-party",
481
481
  "sourceType": "first-party",
482
482
  "package": "@1aboveio/skills",
483
- "version": "0.12.1",
483
+ "version": "0.13.0",
484
484
  "installPath": null,
485
485
  "members": [
486
486
  "harness-runtime"
@@ -506,7 +506,7 @@
506
506
  "sourceId": "first-party",
507
507
  "sourceType": "first-party",
508
508
  "package": "@1aboveio/skills",
509
- "version": "0.12.1",
509
+ "version": "0.13.0",
510
510
  "installPath": null,
511
511
  "members": [
512
512
  "harness-runtime"
@@ -538,7 +538,7 @@
538
538
  "sourceId": "first-party",
539
539
  "sourceType": "first-party",
540
540
  "package": "@1aboveio/skills",
541
- "version": "0.12.1",
541
+ "version": "0.13.0",
542
542
  "installPath": null,
543
543
  "members": [
544
544
  "harness-runtime",
@@ -589,7 +589,7 @@
589
589
  "sourceId": "first-party",
590
590
  "sourceType": "first-party",
591
591
  "package": "@1aboveio/skills",
592
- "version": "0.12.1",
592
+ "version": "0.13.0",
593
593
  "installPath": null,
594
594
  "members": [
595
595
  "harness-runtime",