@m8t-stack/cli 0.2.34 → 0.2.36

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 CHANGED
@@ -121,12 +121,14 @@ Key flags: `--client-id <appId>` (reuse an existing app reg + skip **all** Micro
121
121
 
122
122
  ## Binding management — `m8t bind`
123
123
 
124
- Wire channel bots (Telegram, Slack, Teams) to Foundry workers. F4 ships
125
- the management API + CLI scaffolding; the actual adapters (which deliver
126
- inbound messages from each channel) ship in later features.
124
+ Wire channel bots (Telegram, Slack, Teams) to Foundry workers. The binding
125
+ management API + CLI cover all three channels; a channel can only complete
126
+ a bind once its adapter (which delivers inbound messages from that
127
+ channel) is registered at gateway startup — Telegram ships built in, Slack
128
+ and Teams adapters are not registered yet.
127
129
 
128
130
  ```bash
129
- # Create a binding (requires the channel adapter Telegram ships in F6)
131
+ # Create a binding (Telegram's adapter ships built in)
130
132
  m8t bind add telegram \
131
133
  --worker cmo \
132
134
  --bot-token <from-botfather> \
@@ -152,17 +154,18 @@ m8t bind cleanup --all-orphaned
152
154
 
153
155
  > `--worker` is the **case-sensitive, lowercase** Foundry agent name as deployed (e.g. `cmo`). A wrong name isn't rejected at bind time — it surfaces later as an orphaned binding on the first message.
154
156
 
155
- ### Pre-F6 behavior
157
+ ### Binding a channel with no registered adapter
156
158
 
157
- `m8t bind add telegram ...` currently fails with:
159
+ `m8t bind add slack ...` (or `teams`) currently fails with:
158
160
 
159
161
  ```text
160
- error: no adapter for channel 'telegram'. This is expected for F4 alone;
161
- the channel-specific adapter ships in a later feature.
162
+ error: no adapter for channel 'slack'. The channel-specific adapter is not
163
+ registered in this build.
162
164
  ```
163
165
 
164
- This is correct. F6 (Telegram adapter) will register the adapter at
165
- startup and unlock the create flow.
166
+ This is correct Slack and Teams adapters aren't registered yet. Once a
167
+ channel's adapter registers at gateway startup, binding creation for that
168
+ channel unlocks.
166
169
 
167
170
  ### Cascade-delete idempotency
168
171