@dhzh/foundry 11.0.0 → 11.2.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 +8 -8
- package/dist/skills/foundry/SKILL.md +3 -8
- package/dist/skills/foundry/references/agents.md +3 -3
- package/dist/skills/foundry/references/instructions.md +6 -15
- package/dist/skills/foundry/references/skills.md +7 -0
- package/dist/web/assets/{code-editor-nzWSuQtM.js → code-editor-CL0sQ6qH.js} +3 -3
- package/dist/web/assets/{freemarker2-DHQoHiPb.js → freemarker2-Maq8GTkh.js} +1 -1
- package/dist/web/assets/{handlebars-DXczUGF6.js → handlebars--DsCUlVg.js} +1 -1
- package/dist/web/assets/{html-DcesQGzC.js → html-De59lsbW.js} +1 -1
- package/dist/web/assets/index-BnNdZ-0R.js +257 -0
- package/dist/web/assets/index-CImNq_-o.css +1 -0
- package/dist/web/assets/{javascript-vAZsUsqM.js → javascript-DZATUEGG.js} +1 -1
- package/dist/web/assets/{jsonMode-DMcEdUDm.js → jsonMode-CXI3MOCA.js} +1 -1
- package/dist/web/assets/{liquid-CHCQdCnk.js → liquid-CMM2I-WW.js} +1 -1
- package/dist/web/assets/{mdx-7MupVbKD.js → mdx-CFAWGwPe.js} +1 -1
- package/dist/web/assets/{python-QHvruH3i.js → python-DwWP5M5h.js} +1 -1
- package/dist/web/assets/{razor-CMwZtfAe.js → razor-BgUFR-no.js} +1 -1
- package/dist/web/assets/{typescript-Ce8ibwuy.js → typescript-uSSm7OAz.js} +1 -1
- package/dist/web/assets/{xml-CVHaNyVN.js → xml-BMW6gwJ9.js} +1 -1
- package/dist/web/assets/{yaml-zhZ-tRNi.js → yaml-CRJgfrXl.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/web/assets/index-CLgPnrAm.css +0 -1
- package/dist/web/assets/index-w6dNh3TV.js +0 -254
|
@@ -20,7 +20,7 @@ Use this reference when the task is to inspect agent state, assign or reorder
|
|
|
20
20
|
instructions, turn instruction writing on or off, recover a managed block, or
|
|
21
21
|
open an agent's instruction file. Read [Instructions](instructions.md) first
|
|
22
22
|
when the needed instruction does not exist yet.
|
|
23
|
-
For Skill distribution, use `foundry agents skills list/assign/unassign`;
|
|
23
|
+
For Skill distribution, use `foundry agents skills list/installed/assign/unassign`;
|
|
24
24
|
see [Skill assignments](skills.md#external-symbolic-links) for command arguments,
|
|
25
25
|
persisted state, and symlink behavior.
|
|
26
26
|
|
|
@@ -148,8 +148,8 @@ Semantics:
|
|
|
148
148
|
preserving all other file content.
|
|
149
149
|
- Enabling an agent whose file does not exist creates the file with only the
|
|
150
150
|
managed block. Disabling a missing file does not create it.
|
|
151
|
-
- Editing an instruction
|
|
152
|
-
|
|
151
|
+
- Editing an instruction rewrites every enabled agent that uses it. Disabled
|
|
152
|
+
agents and their external files remain unchanged.
|
|
153
153
|
|
|
154
154
|
## Open the file
|
|
155
155
|
|
|
@@ -98,7 +98,7 @@ instead.
|
|
|
98
98
|
foundry instructions list
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
The command prints a JSON array ordered by
|
|
101
|
+
The command prints a JSON array ordered by name. Each item
|
|
102
102
|
has the same shape as the creation result, including the full Markdown content.
|
|
103
103
|
Both timestamps are Unix epoch milliseconds as numbers.
|
|
104
104
|
|
|
@@ -136,18 +136,9 @@ foundry instructions edit <id> \
|
|
|
136
136
|
|
|
137
137
|
Both `--name` and `--content` are required. Edit replaces both fields, uses the
|
|
138
138
|
same validation rules as creation, keeps the instruction ID and `createdAt`,
|
|
139
|
-
and advances `updatedAt`. It prints the updated record as JSON.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
content from their previous write until the affected agent is reapplied:
|
|
143
|
-
|
|
144
|
-
```bash
|
|
145
|
-
foundry agents instructions reapply chatgpt
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
Read the current assignment first with
|
|
149
|
-
`foundry agents instructions list <agent>` when it is unclear which agents use
|
|
150
|
-
the instruction.
|
|
139
|
+
and advances `updatedAt`. It prints the updated record as JSON. Every enabled
|
|
140
|
+
agent that uses the instruction has its managed block rewritten immediately;
|
|
141
|
+
disabled agents and their external files are unchanged.
|
|
151
142
|
|
|
152
143
|
## Delete an instruction
|
|
153
144
|
|
|
@@ -224,7 +215,7 @@ foundry agents instructions enable claude-code
|
|
|
224
215
|
- Verify the changelog"
|
|
225
216
|
```
|
|
226
217
|
|
|
227
|
-
3.
|
|
218
|
+
3. Enabled agents that use the instruction are synchronized automatically.
|
|
228
219
|
|
|
229
220
|
Agent assignments reference the stable ID, so editing does not require
|
|
230
221
|
reassigning the instruction. To remove the record instead, clear all
|
|
@@ -297,7 +288,7 @@ updatedAt: 1795801802798
|
|
|
297
288
|
| CLI reports a missing required option | `--name` or `--content` omitted | Add both flags |
|
|
298
289
|
| `Invalid instruction file: ...` | A stored Markdown file is malformed or its ID/filename mismatch | Inspect that file in `<home>/.foundry/instructions`; do not guess which record is broken |
|
|
299
290
|
| Created instruction is not active in an agent | Creation does not assign or enable it | Use `agents instructions assign` and `enable` |
|
|
300
|
-
| Edited content is missing from an agent file |
|
|
291
|
+
| Edited content is missing from an enabled agent file | The managed block was changed outside Foundry or the agent file changed later | Run `agents instructions reapply` for that agent |
|
|
301
292
|
|
|
302
293
|
## Backup boundary
|
|
303
294
|
|
|
@@ -206,6 +206,8 @@ Both the Web library and CLI can assign each Skill to individual agents:
|
|
|
206
206
|
```bash
|
|
207
207
|
foundry agents skills list
|
|
208
208
|
foundry agents skills list chatgpt
|
|
209
|
+
foundry agents skills installed
|
|
210
|
+
foundry agents skills installed chatgpt
|
|
209
211
|
foundry agents skills assign chatgpt --skill hello
|
|
210
212
|
foundry agents skills unassign chatgpt --skill hello
|
|
211
213
|
```
|
|
@@ -213,6 +215,11 @@ foundry agents skills unassign chatgpt --skill hello
|
|
|
213
215
|
`list` returns an array of registered Skill agents with `id`, `name`, `icon`,
|
|
214
216
|
`directory`, and saved `skillNames`; the optional agent ID filters the array.
|
|
215
217
|
It shows persisted assignments even if a link was removed externally.
|
|
218
|
+
`installed` scans each agent's actual Skills directory and returns an array with
|
|
219
|
+
`id`, `name`, `icon`, `directory`, and `skills`; each installed skill contains
|
|
220
|
+
`directoryName`, metadata `name`, and `description`. It is independent of saved
|
|
221
|
+
assignments and ignores entries without valid `SKILL.md` frontmatter. The
|
|
222
|
+
optional agent ID filters the array.
|
|
216
223
|
`assign` requires an existing library Skill. It adds its name once to the
|
|
217
224
|
selected agent record and creates a directory symlink at
|
|
218
225
|
`<agent-skill-directory>/<skill-name>`. An existing entry at that exact name
|