@passioncode-ai/fabric-agent-adapter 0.8.2 → 0.9.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.
Files changed (23) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/README.md +14 -3
  3. package/package.json +1 -1
  4. package/plugins/fabric-agent-adapter/.claude-plugin/plugin.json +1 -1
  5. package/plugins/fabric-agent-adapter/hooks/hooks.json +17 -0
  6. package/plugins/fabric-agent-adapter/skills/adapting-projects-to-fabric/SKILL.md +13 -6
  7. package/plugins/fabric-agent-adapter/skills/adapting-projects-to-fabric/scripts/adapt_project.py +2 -2
  8. package/plugins/fabric-agent-adapter/skills/building-fabric-services/SKILL.md +21 -8
  9. package/plugins/fabric-agent-adapter/skills/building-fabric-services/assets/dashboard-kit/demo.html +110 -0
  10. package/plugins/fabric-agent-adapter/skills/building-fabric-services/assets/dashboard-kit/fabric-dashboard.css +198 -0
  11. package/plugins/fabric-agent-adapter/skills/building-fabric-services/assets/dashboard-kit/fabric-dashboard.js +253 -0
  12. package/plugins/fabric-agent-adapter/skills/building-fabric-services/assets/dashboard-kit/kit.json +28 -0
  13. package/plugins/fabric-agent-adapter/skills/building-fabric-services/assets/dashboard-kit/themes.json +350 -0
  14. package/plugins/fabric-agent-adapter/skills/building-fabric-services/references/dashboard-kit.md +133 -0
  15. package/plugins/fabric-agent-adapter/skills/building-fabric-services/references/dashboard.md +4 -3
  16. package/plugins/fabric-agent-adapter/skills/building-fabric-services/references/protocol.md +18 -8
  17. package/plugins/fabric-agent-adapter/skills/building-fabric-services/scripts/check_dashboard_layout.mjs +295 -0
  18. package/plugins/fabric-agent-adapter/skills/building-fabric-services/scripts/check_service.py +31 -0
  19. package/plugins/fabric-agent-adapter/skills/building-fabric-services/scripts/dashboard_kit.py +437 -0
  20. package/plugins/fabric-agent-adapter/skills/building-fabric-services/scripts/fabric-service.mjs +51 -1
  21. package/plugins/fabric-agent-adapter/skills/building-fabric-services/scripts/fabric_service.py +65 -2
  22. package/plugins/fabric-agent-adapter/skills/building-fabric-services/scripts/sample_service.py +21 -3
  23. package/plugins/fabric-agent-adapter/skills/creating-fabric-agents/SKILL.md +13 -6
@@ -5,9 +5,9 @@ license: AGPL-3.0-only OR LicenseRef-PassionCode-Commercial
5
5
  compatibility: Requires filesystem access and Python 3.9+. Exact schema checks additionally need git, Node.js, pnpm, and the pinned fabric-agent-contract checkout (a public repository). Works without those tools in an explicitly degraded structural-check mode. Ships in one plugin with adapting-projects-to-fabric, whose scripts it reuses.
6
6
  metadata:
7
7
  author: PassionCode.ai
8
- version: "0.8.2"
8
+ version: "0.9.0"
9
9
  contract-version: "0.1.0"
10
- contract-commit: "78b2da018d2c4bd9ac1bde1dc3b7f1a110a175f5"
10
+ contract-commit: "a83bec6b47776af688402c18efec507143061f68"
11
11
  ---
12
12
 
13
13
  # Creating Fabric-compatible agents
@@ -119,7 +119,7 @@ python3 <plugin-dir>/skills/adapting-projects-to-fabric/scripts/adapt_project.py
119
119
  --schema-base <immutable-base-uri>
120
120
  ```
121
121
 
122
- Pin exactly contract `0.1.0` at commit `78b2da018d2c4bd9ac1bde1dc3b7f1a110a175f5` and
122
+ Pin exactly contract `0.1.0` at commit `a83bec6b47776af688402c18efec507143061f68` and
123
123
  read the pinned guide before implementing protocol details. If this skill is installed
124
124
  without its sibling, the scaffolder is absent: create the bundle by hand from the pinned
125
125
  contract's `docs/guides/connecting-compatible-agents.md` and mark the structural check
@@ -179,11 +179,18 @@ operator's four steps:
179
179
  3. run the agent's link command;
180
180
  4. type the code it shows in the chat with the bot.
181
181
 
182
+ In a group shared with other bots the channel follows OC-14…OC-17 (DEC-0035): it stays silent
183
+ unless addressed — `/command@ThisBot`, a reply to its own message or a press of its own button; a
184
+ bare `/command` in a group is not addressed — and a channel nobody receives on is `degraded`
185
+ (`receiver-missing`). Say so in the proposal when the operator means to bind a shared group.
186
+
182
187
  Record the answer — `accepted`, `declined` or `later` — in the agent's state and in the
183
- report, and do not ask again. Creating the bot, storing the token and enabling the channel are the
188
+ report, and do not ask again; an agent that serves `surfaces.operatorChannel` also shows it as
189
+ `proposal` in its status document. Creating the bot, storing the token and enabling the channel are the
184
190
  operator's action: never create the bot, ask for or store the token's value, or enable the
185
- channel yourself. DEC-0034 is newer than the default pin: cite it by that path and id, and keep
186
- channel conformance `NOT_RUN` until the pin carries it. An agent with neither stops nor notify
191
+ channel yourself. The default pin carries DEC-0034 and DEC-0035: a served status document is checked against
192
+ the pinned `schemas/operator-channel-status.schema.json`; the channel's runtime rules have no
193
+ probe rule here yet, so report them `NOT_RUN`. An agent with neither stops nor notify
187
194
  events skips this step.
188
195
 
189
196
  ## Completion format