@angelmsger/fx 0.13.0 → 0.15.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.
Files changed (64) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/defaults/tools.yaml +9 -0
  3. package/dist/adapters/channel/wecom-channel-cli/provider.js +27 -0
  4. package/dist/adapters/channel/wecom-channel-cli/provider.js.map +1 -0
  5. package/dist/adapters/git/system-git.js +24 -4
  6. package/dist/adapters/git/system-git.js.map +1 -1
  7. package/dist/adapters/manifest-source/git-repo.js +8 -5
  8. package/dist/adapters/manifest-source/git-repo.js.map +1 -1
  9. package/dist/application/init/standalone.js +5 -18
  10. package/dist/application/init/standalone.js.map +1 -1
  11. package/dist/application/release/repo.js +4 -2
  12. package/dist/application/release/repo.js.map +1 -1
  13. package/dist/application/self/update.js +84 -27
  14. package/dist/application/self/update.js.map +1 -1
  15. package/dist/application/skill/copies.js +19 -2
  16. package/dist/application/skill/copies.js.map +1 -1
  17. package/dist/application/skill/standalone-targets.js +8 -4
  18. package/dist/application/skill/standalone-targets.js.map +1 -1
  19. package/dist/application/skill/standalone.js +24 -2
  20. package/dist/application/skill/standalone.js.map +1 -1
  21. package/dist/application/skill/tool-skills.js +26 -0
  22. package/dist/application/skill/tool-skills.js.map +1 -1
  23. package/dist/application/sync/index.js +29 -15
  24. package/dist/application/sync/index.js.map +1 -1
  25. package/dist/application/tool/install.js +10 -22
  26. package/dist/application/tool/install.js.map +1 -1
  27. package/dist/application/tool/with-skills.js +68 -0
  28. package/dist/application/tool/with-skills.js.map +1 -0
  29. package/dist/application/update/notices.js +1 -1
  30. package/dist/application/update/notices.js.map +1 -1
  31. package/dist/cli/commands/index.js +2 -0
  32. package/dist/cli/commands/index.js.map +1 -1
  33. package/dist/cli/commands/skill/update.js +17 -0
  34. package/dist/cli/commands/skill/update.js.map +1 -0
  35. package/dist/cli/preparation-view.js +2 -0
  36. package/dist/cli/preparation-view.js.map +1 -1
  37. package/dist/cli/render/exceptional.js +1 -0
  38. package/dist/cli/render/exceptional.js.map +1 -1
  39. package/dist/cli/render/tone.js +1 -0
  40. package/dist/cli/render/tone.js.map +1 -1
  41. package/dist/cli/skill-command.js +1 -1
  42. package/dist/cli/skill-command.js.map +1 -1
  43. package/dist/cli/tool-command.js +10 -5
  44. package/dist/cli/tool-command.js.map +1 -1
  45. package/dist/composition/registry.js +2 -0
  46. package/dist/composition/registry.js.map +1 -1
  47. package/dist/composition/tool-install.js +9 -0
  48. package/dist/composition/tool-install.js.map +1 -1
  49. package/dist/composition/update.js +2 -0
  50. package/dist/composition/update.js.map +1 -1
  51. package/dist/domain/capability.js +2 -0
  52. package/dist/domain/capability.js.map +1 -1
  53. package/dist/domain/release/version.js +5 -3
  54. package/dist/domain/release/version.js.map +1 -1
  55. package/dist/domain/semver.js +3 -28
  56. package/dist/domain/semver.js.map +1 -1
  57. package/dist/domain/workspace/state.js +11 -1
  58. package/dist/domain/workspace/state.js.map +1 -1
  59. package/dist/ports/git.js +2 -1
  60. package/dist/ports/git.js.map +1 -1
  61. package/package.json +1 -1
  62. package/skills/fx-workspace/SKILL.md +1 -1
  63. package/skills/fx-workspace/references/commands.md +8 -3
  64. package/skills/fx-workspace/references/workspace-tasks.md +6 -3
@@ -339,8 +339,9 @@ copies. Foreign replacements require confirmation and backup. Uninstall removes
339
339
  recognized copies after confirmation (`--yes` for noninteractive execution), keeps
340
340
  foreign paths and leaves agent selection unchanged; later sync can reinstall a copy.
341
341
 
342
- `skill install/uninstall` return collection rows with `action`, `status`, `version`
343
- and target fields. Status is `planned` for previews; execution distinguishes
342
+ `skill install/update/uninstall` return collection rows with `action`, `status`,
343
+ `version` and target fields; update's `action` is `refresh` for an older copy and
344
+ `skip` for every other target. Status is `planned` for previews; execution distinguishes
344
345
  `installed`, `removed`, `not_installed`, `foreign`, `skipped`, `failed` and
345
346
  `not_started`. On interruption, stdout retains the partial collection with each
346
347
  row's `observed` state and failure envelope; stderr preserves the original error.
@@ -409,7 +410,11 @@ available `failure` and `next_steps` fields.
409
410
  After resolving the blocker, repeat the same invocation: setup verifies current
410
411
  state before rerunning actions. Parse stdout on a nonzero exit whenever it is
411
412
  present. `self update` also captures installer output so its stdout remains
412
- parseable; inspect the returned installer `code`.
413
+ parseable; inspect the returned installer `code`, and `skill_refresh` for the new
414
+ installation's refresh of this Skill. `tool install/update` rows add `skill`:
415
+ `installed`, `planned`, `failed`, `not_started` (an earlier Skill command could not
416
+ start; the error's partial result keeps these rows), `blocked` (awaiting approval) or
417
+ `none`.
413
418
 
414
419
  Retain the original task, repository/environment and readiness query while
415
420
  repairing prerequisites. Authorization already given in this session persists;
@@ -122,7 +122,7 @@ stand in for `fx`; `self update` cannot repair an entry that cannot execute.
122
122
  | Find service diagnostics | `fx where <repo> --env <env>` |
123
123
  | Check tools/access | `fx can <capability-or-tool>`; `fx doctor --tool <tool>` |
124
124
  | Inspect repository release criteria | `fx release check <repo> --only merge --details` |
125
- | Install/update a companion | `fx tool install <tool> --dry-run`; `fx tool update <tool> --dry-run` |
125
+ | Install/update a companion and its Skill | `fx tool install <tool> --dry-run`; `fx tool update <tool>\|--all --dry-run` |
126
126
  | Review tool provenance | `fx tool history [tool]`; `fx tool inventory` |
127
127
  | Inspect host resources | `fx agent skills`; `fx hook list`; `fx mcp list/show` |
128
128
  | Inspect declarations | `fx manifest validate --strict`; `fx manifest explain '<path>'`; `fx manifest providers` |
@@ -160,6 +160,9 @@ It never checks out, resets, stashes, merges or rebases. Dirty or diverged work
160
160
  reported as `skip_dirty` / `skip_diverged`; inspect repository and resource outcomes.
161
161
  An empty upstream is skipped with outcome `empty_remote`; one lacking the tracked branch
162
162
  is skipped with `no_remote_branch` and still blocks readiness. Neither is a failure.
163
+ An update that would replace local untracked or ignored files (for example `.env`) is
164
+ skipped with `local_files_in_the_way`, lists them in `files_in_the_way` and blocks
165
+ readiness; ask before moving them aside.
163
166
 
164
167
  The workspace root is a plain directory. Do not initialize or run Git there.
165
168
  Write output that belongs to no repository under `.workbench/` as the derived
@@ -215,5 +218,5 @@ native context conflicts and scoped login.
215
218
  `self info` reports the Registry fx updates from and its `registry_source`;
216
219
  [update notices](commands.md#update-notices) explains how it is chosen.
217
220
  `FX_OUTDATED` and `MANIFEST_OUTDATED` are advisory. Update within the user's scope,
218
- then rediscover the running version and read its bundled Skill. `fx skill install`
219
- refreshes installed copies explicitly.
221
+ then rediscover the running version and read its bundled Skill. `fx self update`
222
+ refreshes the installed copies of this Skill; `fx skill update` does so on its own.