Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/cef/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cef",
"description": "Author, test, build, push, and deploy CEF agents",
"version": "0.1.5",
"version": "0.2.0",
"author": { "name": "Cere / CEF-AI" },
"homepage": "https://github.com/CEF-AI/cef-plugins"
}
11 changes: 11 additions & 0 deletions plugins/cef/skills/develop/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,17 @@ export default class Echo {
- **No Node built-ins, no sync DB/network libs.** `fetch` for HTTP,
`ctx.cubby` for state, `globalThis.crypto` (WebCrypto) instead of `node:crypto`.
`cef build` bans `fs`/`net`/`http`/`child_process`/`pg`/`ws`/`axios`/… .
- **`ctx.cubby` is scratch; `ctx.memory` is the shared bank.** Ask: *who reads
this later, and does each row need its own visibility?* Only this agent →
cubby. People or other agents, per-row sensitivity → `ctx.memory.upsert(…
{scope, privacy})` / `.relation(…)`; read back with `.search` / `.get` /
`.neighbours` / `.countByType`. `privacy` is REQUIRED on every write, one of
`public|internal|private|restricted` — the record's classification, never
defaulted. `neighbours` rows are typed
(`{id, type, title, scope, privacy, edgeType}`). The alias `"memory"` is
reserved for the bank — `cef build` warns on a cubby wearing it. Requires
`@cef-ai/agent-sdk` ≥ 4.1.0 and an orchestrator that stages
`endpoints.vault.memory`.
- **Literals, statically read into the manifest.** `@OnEvent("...")`,
`ctx.publish("...", …)`, and `ctx.cubby("...")` first args must be inline string
literals; the cubby alias (and any `ctx.models.X`) must be **declared** in
Expand Down