ec.fdk 0.9.8 → 0.9.9

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 (2) hide show
  1. package/package.json +1 -1
  2. package/skill/SKILL.md +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ec.fdk",
3
- "version": "0.9.8",
3
+ "version": "0.9.9",
4
4
  "description": "ec frontend sdk",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {
package/skill/SKILL.md CHANGED
@@ -263,6 +263,7 @@ Filters map to entrecode filter query params:
263
263
  - **Partial PUT on editDatamanager/editAccountClient/editInvite** — these are full PUT operations, pass the complete resource
264
264
  - **Forgetting `jq`** — always pipe through `jq` to keep output concise
265
265
  - **Wrong ID type** — `--dm` takes shortID, `--id` takes UUID for datamanager commands
266
+ - **Using DM title as shortID** — when looking up a datamanager by title, always fetch both `shortID` and `dataManagerID` (UUID) in the first call, since entry commands need the shortID and model commands need the UUID. Example: `ec.fdk dmList -f title=HO | jq '.items[0] | {shortID, dataManagerID}'`
266
267
 
267
268
  ## ec.editor4 URLs
268
269
 
@@ -300,3 +301,5 @@ When the user asks to "open" a resource, output the full editor URL. Use `open <
300
301
  - Status/error messages go to stderr, data goes to stdout — piping always works cleanly
301
302
  - `editDatamanager`, `editAccountClient`, and `editInvite` are full PUT operations — pass the complete resource
302
303
  - `--data` accepts JSON via flag or stdin pipe (e.g. `echo '{}' | ec.fdk createEntry ...`)
304
+ - **Keeping skill files in sync** — when updating this skill file, always apply the same changes to the source copy at `~/entrecode/ec.fdk/packages/ec.fdk/skill/SKILL.md`
305
+ - **Publishing after updates** — after updating the skill file, prompt the user to run `cd ~/entrecode/ec.fdk/packages/ec.fdk && ./publish.sh` to publish the changes. Do not run this command yourself.