@dhzh/foundry 11.3.1 → 11.5.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 +2 -0
- package/dist/index.mjs +5 -5
- package/dist/skills/foundry/SKILL.md +1 -1
- package/dist/skills/foundry/references/skills.md +26 -2
- package/dist/web/assets/{code-editor-CtQzOEql.js → code-editor-YF9gNfN1.js} +3 -3
- package/dist/web/assets/{freemarker2-DBsyOEyw.js → freemarker2-BK-OiiAx.js} +1 -1
- package/dist/web/assets/{handlebars-W9WYCAy1.js → handlebars-BUwXV45a.js} +1 -1
- package/dist/web/assets/{html-6nrZu9iW.js → html-CXsFLKGB.js} +1 -1
- package/dist/web/assets/{index-B-NQl0ZA.js → index-RlfP9eIp.js} +91 -82
- package/dist/web/assets/{javascript-D4CrBxx5.js → javascript-Y_X3V72k.js} +1 -1
- package/dist/web/assets/{jsonMode-DpDBFbN6.js → jsonMode-CaATTrPS.js} +1 -1
- package/dist/web/assets/{liquid-D-MNcHk5.js → liquid-BsbVwgwO.js} +1 -1
- package/dist/web/assets/{mdx-BLpIkdYm.js → mdx-CXoIMvVj.js} +1 -1
- package/dist/web/assets/{python-D8gXK07F.js → python-5rrcKFZw.js} +1 -1
- package/dist/web/assets/{razor-C7ZLx6ca.js → razor-BisWohB-.js} +1 -1
- package/dist/web/assets/{typescript-Dz5wGpka.js → typescript-RLonLSrX.js} +1 -1
- package/dist/web/assets/{xml-Dz6MGmV6.js → xml-CvWpnmZP.js} +1 -1
- package/dist/web/assets/{yaml-4c38m5TE.js → yaml-BwPqT32L.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
|
@@ -208,6 +208,8 @@ 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
|
|
212
|
+
foundry agents skills delete chatgpt --skill hello
|
|
211
213
|
foundry agents skills assign chatgpt --skill hello
|
|
212
214
|
foundry agents skills unassign chatgpt --skill hello
|
|
213
215
|
```
|
|
@@ -217,10 +219,32 @@ foundry agents skills unassign chatgpt --skill hello
|
|
|
217
219
|
It shows persisted assignments even if a link was removed externally.
|
|
218
220
|
`installed` scans each agent's actual Skills directory and returns an array with
|
|
219
221
|
`id`, `name`, `icon`, `directory`, and `skills`; each installed skill contains
|
|
220
|
-
`directoryName`, metadata `name`, and `
|
|
221
|
-
|
|
222
|
+
`directoryName`, metadata `name`, `description`, and `isManaged`. `isManaged`
|
|
223
|
+
is true when the entry resolves to the same directory as the Foundry library
|
|
224
|
+
Skill with that directory name. Symbolic-link entries also contain `originPath`,
|
|
225
|
+
the direct link target; non-link entries omit it.
|
|
222
226
|
It is independent of saved assignments and ignores entries without valid
|
|
223
227
|
`SKILL.md` frontmatter. The optional agent ID filters the array.
|
|
228
|
+
|
|
229
|
+
`bring-in` treats one installed directory name as the Skill name. If Foundry
|
|
230
|
+
does not already have that name, it copies the resolved origin into the Foundry
|
|
231
|
+
library; a symbolic-link origin is copied without modifying the origin itself.
|
|
232
|
+
If Foundry already has the name, the Foundry version wins and the agent version
|
|
233
|
+
is not copied. It then saves the assignment for the selected agent only,
|
|
234
|
+
replaces that agent's same-name entry with a symlink to the Foundry library, and
|
|
235
|
+
prints the complete Foundry Skill. Other agents and entries stay unchanged.
|
|
236
|
+
An entry already managed by Foundry returns `SKILL_ALREADY_MANAGED`; metadata
|
|
237
|
+
whose name does not match the directory is rejected.
|
|
238
|
+
|
|
239
|
+
`delete` removes one installed entry from the selected agent's Skills directory.
|
|
240
|
+
A symbolic link is unlinked without deleting its target; an ordinary file or
|
|
241
|
+
folder is deleted with all contents. Only a link that resolves to the same-name
|
|
242
|
+
Foundry library Skill clears that agent's saved assignment. Other links and
|
|
243
|
+
ordinary entries leave saved state unchanged. Other entries, agents, and Foundry
|
|
244
|
+
library sources stay unchanged.
|
|
245
|
+
It prints `{ "agentId", "directoryName", "kind" }`, where `kind` is `link`,
|
|
246
|
+
`file`, or `directory`.
|
|
247
|
+
|
|
224
248
|
`assign` requires an existing library Skill. It adds its name once to the
|
|
225
249
|
selected agent record and creates a directory symlink at
|
|
226
250
|
`<agent-skill-directory>/<skill-name>`. An existing entry at that exact name
|