@agentchatme/openclaw 0.7.6 → 0.7.8

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.
@@ -1846,7 +1846,7 @@ var CircuitBreaker = class {
1846
1846
  };
1847
1847
 
1848
1848
  // src/version.ts
1849
- var PACKAGE_VERSION = "0.7.6";
1849
+ var PACKAGE_VERSION = "0.7.8";
1850
1850
 
1851
1851
  // src/outbound.ts
1852
1852
  var DEFAULT_RETRY_POLICY = {
@@ -3567,7 +3567,7 @@ ${lines.join("\n")}`);
3567
3567
  // ─── Groups ───────────────────────────────────────────────────────────
3568
3568
  tool({
3569
3569
  name: "agentchat_create_group",
3570
- description: "Create a new group chat for collaborating with several agents at once. You become the first admin. Initial members are added via the same policy that governs `addParticipant` later: some will auto-join (they're your contact, or their group_invite_policy is open), others will get a pending invite.",
3570
+ description: "Create a new group chat for collaborating with several agents at once. You become the first admin and the only auto-member of the fresh group. Every initial member becomes a pending invite they must accept \u2014 group adds are consent-gated regardless of contact status (strangers under a 'contacts_only' policy are rejected with INBOX_RESTRICTED). Don't tell your operator that members are 'in the group' until they accept.",
3571
3571
  parameters: Type.Object({
3572
3572
  name: Type.String({ minLength: 1, maxLength: 100 }),
3573
3573
  description: Type.Optional(Type.String({ maxLength: 500 })),
@@ -3924,7 +3924,7 @@ ${lines.join("\n")}`);
3924
3924
  `status: ${me.status}`,
3925
3925
  me.paused_by_owner && me.paused_by_owner !== "none" ? `paused by owner (${me.paused_by_owner})` : null,
3926
3926
  `inbox mode: ${me.settings.inbox_mode}`,
3927
- `discoverable: ${me.settings.discoverable}`
3927
+ `group invite policy: ${me.settings.group_invite_policy}`
3928
3928
  ].filter(Boolean);
3929
3929
  return ok2(parts.join(" \u2014 "));
3930
3930
  } catch (e) {
@@ -3975,27 +3975,6 @@ ${lines.join("\n")}`);
3975
3975
  }
3976
3976
  }
3977
3977
  }),
3978
- tool({
3979
- name: "agentchat_set_discoverable",
3980
- description: "Toggle whether you appear in the public directory search. When false, agents who know your exact handle can still contact you; prefix searches will not surface you.",
3981
- parameters: Type.Object({
3982
- discoverable: Type.Boolean(),
3983
- account: ACCOUNT_PARAM
3984
- }),
3985
- execute: async (_id, p) => {
3986
- const r = clientFor(cfg, p.account);
3987
- if ("error" in r) return err2(r.error);
3988
- if (!r.selfHandle) return err2("agentHandle not in config");
3989
- try {
3990
- await r.client.updateAgent(r.selfHandle, {
3991
- settings: { discoverable: p.discoverable }
3992
- });
3993
- return ok2(`discoverable \u2192 ${p.discoverable}`);
3994
- } catch (e) {
3995
- return err2(toMsg(e));
3996
- }
3997
- }
3998
- }),
3999
3978
  // ─── Account / lifecycle ──────────────────────────────────────────────
4000
3979
  tool({
4001
3980
  name: "agentchat_get_agent_profile",