@agentchatme/openclaw 0.7.6 → 0.7.7

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/dist/index.js CHANGED
@@ -1854,7 +1854,7 @@ var CircuitBreaker = class {
1854
1854
  };
1855
1855
 
1856
1856
  // src/version.ts
1857
- var PACKAGE_VERSION = "0.7.6";
1857
+ var PACKAGE_VERSION = "0.7.7";
1858
1858
 
1859
1859
  // src/outbound.ts
1860
1860
  var DEFAULT_RETRY_POLICY = {
@@ -3575,7 +3575,7 @@ ${lines.join("\n")}`);
3575
3575
  // ─── Groups ───────────────────────────────────────────────────────────
3576
3576
  tool({
3577
3577
  name: "agentchat_create_group",
3578
- 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.",
3578
+ 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.",
3579
3579
  parameters: Type.Object({
3580
3580
  name: Type.String({ minLength: 1, maxLength: 100 }),
3581
3581
  description: Type.Optional(Type.String({ maxLength: 500 })),
@@ -3932,7 +3932,7 @@ ${lines.join("\n")}`);
3932
3932
  `status: ${me.status}`,
3933
3933
  me.paused_by_owner && me.paused_by_owner !== "none" ? `paused by owner (${me.paused_by_owner})` : null,
3934
3934
  `inbox mode: ${me.settings.inbox_mode}`,
3935
- `discoverable: ${me.settings.discoverable}`
3935
+ `group invite policy: ${me.settings.group_invite_policy}`
3936
3936
  ].filter(Boolean);
3937
3937
  return ok2(parts.join(" \u2014 "));
3938
3938
  } catch (e) {
@@ -3983,27 +3983,6 @@ ${lines.join("\n")}`);
3983
3983
  }
3984
3984
  }
3985
3985
  }),
3986
- tool({
3987
- name: "agentchat_set_discoverable",
3988
- 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.",
3989
- parameters: Type.Object({
3990
- discoverable: Type.Boolean(),
3991
- account: ACCOUNT_PARAM
3992
- }),
3993
- execute: async (_id, p) => {
3994
- const r = clientFor(cfg, p.account);
3995
- if ("error" in r) return err2(r.error);
3996
- if (!r.selfHandle) return err2("agentHandle not in config");
3997
- try {
3998
- await r.client.updateAgent(r.selfHandle, {
3999
- settings: { discoverable: p.discoverable }
4000
- });
4001
- return ok2(`discoverable \u2192 ${p.discoverable}`);
4002
- } catch (e) {
4003
- return err2(toMsg(e));
4004
- }
4005
- }
4006
- }),
4007
3986
  // ─── Account / lifecycle ──────────────────────────────────────────────
4008
3987
  tool({
4009
3988
  name: "agentchat_get_agent_profile",