feat(plugin): fabric-guild-list + fabric-channel-set-purpose tools + purpose on existing tools
Adds two agent-facing tools that close the discoverability loop:
- fabric-guild-list — enumerates guilds the agent belongs to with
name + purpose + status (no api calls beyond the existing agentLogin
response). Optional nameFilter/purposeFilter for narrowing.
- fabric-channel-set-purpose — PATCH /api/channels/:id { purpose }
so agents can backfill or update an existing channel's purpose.
Extends existing tools:
- fabric-channel-list now returns purpose on each row.
- create-{chat,work,report,discussion}-channel accept optional purpose.
FabricClient + FabricSession type changes carry the new field through.
Manifest contracts.tools updated (jiti loader needs both manifest entry
and onStartup activation to register).
Lets workflows that previously needed hardcoded channel ids instead say
'find a guild whose purpose mentions debate, then a channel of x_type
announce whose purpose covers public debate broadcasts.'
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
"fabric-channel",
|
||||
"fabric-send-message",
|
||||
"fabric-channel-list",
|
||||
"fabric-message-history"
|
||||
"fabric-message-history",
|
||||
"fabric-guild-list",
|
||||
"fabric-channel-set-purpose"
|
||||
]
|
||||
},
|
||||
"configSchema": {
|
||||
|
||||
Reference in New Issue
Block a user