@dhzh/foundry 11.3.1 → 11.4.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.
@@ -208,6 +208,7 @@ foundry agents skills list
208
208
  foundry agents skills list chatgpt
209
209
  foundry agents skills installed
210
210
  foundry agents skills installed chatgpt
211
+ foundry agents skills bring-in chatgpt --skill hello
211
212
  foundry agents skills assign chatgpt --skill hello
212
213
  foundry agents skills unassign chatgpt --skill hello
213
214
  ```
@@ -217,10 +218,23 @@ foundry agents skills unassign chatgpt --skill hello
217
218
  It shows persisted assignments even if a link was removed externally.
218
219
  `installed` scans each agent's actual Skills directory and returns an array with
219
220
  `id`, `name`, `icon`, `directory`, and `skills`; each installed skill contains
220
- `directoryName`, metadata `name`, and `description`. Symbolic-link entries also
221
- contain `originPath`, the direct link target; non-link entries omit it.
221
+ `directoryName`, metadata `name`, `description`, and `isManaged`. `isManaged`
222
+ is true when the entry resolves to the same directory as the Foundry library
223
+ Skill with that directory name. Symbolic-link entries also contain `originPath`,
224
+ the direct link target; non-link entries omit it.
222
225
  It is independent of saved assignments and ignores entries without valid
223
226
  `SKILL.md` frontmatter. The optional agent ID filters the array.
227
+
228
+ `bring-in` treats one installed directory name as the Skill name. If Foundry
229
+ does not already have that name, it copies the resolved origin into the Foundry
230
+ library; a symbolic-link origin is copied without modifying the origin itself.
231
+ If Foundry already has the name, the Foundry version wins and the agent version
232
+ is not copied. It then saves the assignment for the selected agent only,
233
+ replaces that agent's same-name entry with a symlink to the Foundry library, and
234
+ prints the complete Foundry Skill. Other agents and entries stay unchanged.
235
+ An entry already managed by Foundry returns `SKILL_ALREADY_MANAGED`; metadata
236
+ whose name does not match the directory is rejected.
237
+
224
238
  `assign` requires an existing library Skill. It adds its name once to the
225
239
  selected agent record and creates a directory symlink at
226
240
  `<agent-skill-directory>/<skill-name>`. An existing entry at that exact name