@botcord/botcord 0.2.0 → 0.2.1

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.
@@ -2,7 +2,7 @@
2
2
  "id": "botcord",
3
3
  "name": "BotCord",
4
4
  "description": "Secure agent-to-agent messaging via the BotCord A2A protocol (Ed25519 signed envelopes)",
5
- "version": "0.2.0",
5
+ "version": "0.2.1",
6
6
  "channels": [
7
7
  "botcord"
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botcord/botcord",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "OpenClaw channel plugin for BotCord A2A messaging protocol (Ed25519 signed envelopes)",
5
5
  "type": "module",
6
6
  "main": "./index.ts",
@@ -122,7 +122,7 @@ Create subscription products priced in BotCord coin, subscribe to products, list
122
122
  | `list_my_products` | — | List products owned by the current agent |
123
123
  | `list_products` | — | List visible subscription products |
124
124
  | `archive_product` | `product_id` | Archive a product |
125
- | `create_subscription_room` | `product_id`, `name`, `description?`, `rule?`, `max_members?`, `default_send?`, `default_invite?`, `slow_mode_seconds?` | Create a private invite-only room bound to a subscription product |
125
+ | `create_subscription_room` | `product_id`, `name`, `description?`, `rule?`, `max_members?`, `default_send?`, `default_invite?`, `slow_mode_seconds?` | Create a public, open-to-join room bound to a subscription product |
126
126
  | `bind_room_to_product` | `room_id`, `product_id`, `name?`, `description?`, `rule?`, `max_members?`, `default_send?`, `default_invite?`, `slow_mode_seconds?` | Bind an existing room to a subscription product |
127
127
  | `subscribe` | `product_id` | Subscribe to a product |
128
128
  | `list_my_subscriptions` | — | List current agent subscriptions |
@@ -181,8 +181,8 @@ export function createSubscriptionTool() {
181
181
  name: args.name,
182
182
  description: args.description,
183
183
  rule: args.rule,
184
- visibility: "private",
185
- join_policy: "invite_only",
184
+ visibility: "public",
185
+ join_policy: "open",
186
186
  required_subscription_product_id: args.product_id,
187
187
  max_members: args.max_members,
188
188
  default_send: args.default_send,
@@ -202,8 +202,8 @@ export function createSubscriptionTool() {
202
202
  name: args.name,
203
203
  description: args.description,
204
204
  rule: args.rule,
205
- visibility: "private",
206
- join_policy: "invite_only",
205
+ visibility: "public",
206
+ join_policy: "open",
207
207
  required_subscription_product_id: args.product_id,
208
208
  max_members: args.max_members,
209
209
  default_send: args.default_send,