Skip to content

Share a Bot with an existing friend from Sharing - #516

Merged
Birfy merged 1 commit into
ThinkFlowLab:mainfrom
Birfy:feat/500-share-with-friend
Oct 20, 2026
Merged

Birfy merged 1 commit into
ThinkFlowLab:mainfrom
Birfy:feat/500-share-with-friend

Conversation

@Birfy

@Birfy Birfy commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

Fixes #500

What changed

Sharing gains Share with a friend: lists current friends who do not yet have this Bot and grants it in one click. Invite links for new people stay. The new share shows up in People with access and can be Revoked / declined as today.

  • plugins/social/src/mcp-client.js: grantBotToFriend → MCP grant_bot_to_friend (REST POST /v1/bots/:id/grants/to-friend fallback); returns { unavailable: true } on older servers.
  • plugins/social/src/social.js: social/share-friends + social/share-with-friend (friend_home + optional friend_owner_id).
  • plugins/social/client.js: Sharing card between Invite and People with access.
  • Docs + changelog.d/500-share-with-friend.added.md.

Depends on Birfy/bot-social#34 (grant_bot_to_friend). Until that lands, the UI shows that Bot Social needs an update; invite links still work.

Verification at the tip

Tip SHA: ab5fc92
Ran:

  • ARCH_DOCS_BASE=origin/main TZ=UTC npm run verify (incl. plugin lint): pass, 0 failures
    Not run:
  • live two-home share against Bot Social prod (companion API not merged yet)
  • smoke bench

Risk tier: T3 (estimate; the controller sets the label)

)

Adds Sharing → Share with a friend: lists friends who do not yet have
this Bot and grants it in one click via Bot Social grant_bot_to_friend
(companion Birfy/bot-social#34). Invite links for new people stay.
@Birfy Birfy added agent-pr Pull request opened by an agent enhancement New feature or request labels Oct 20, 2026
@Birfy Birfy self-assigned this Oct 20, 2026
@Birfy Birfy added area:social Friends, invites, grants, Bot Social area:ui Web/desktop UI and copy labels Oct 20, 2026
@Birfy

Birfy commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

Self-review: PASS
Tip SHA: ab5fc92
Ran:

@Birfy Birfy added the awaiting-approval PR is green and waits for the maintainer's approval (T2/T3) or a review PASS at its tip label Oct 20, 2026

@Birfy Birfy left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review: PASS
Tip SHA: ab5fc92
Ran:

  • ARCH_DOCS_BASE=origin/main TZ=UTC npm run verify passed; CI tests-ok green.
    Not run:
  • Live two-home share against prod (needs bot-social #34 deployed).
    Notes: Depends on Birfy/bot-social#34 grant_bot_to_friend. Risk tier T3.

@Birfy
Birfy added this pull request to the merge queue Oct 20, 2026
Merged via the queue into ThinkFlowLab:main with commit aec6428 Oct 20, 2026
8 checks passed
@Birfy
Birfy deleted the feat/500-share-with-friend branch October 20, 2026 07:47
Birfy added a commit to Birfy/FlyBot that referenced this pull request Oct 20, 2026
Resolve social.md and social client with main's Share with a friend (ThinkFlowLab#500/ThinkFlowLab#516)
kept under OwnBotSharing alongside ThinkFlowLab#499 inviteControls and revoke hint.
Regenerate core client bundle and ds-bot patches. Update ThinkFlowLab#499 test for the
extra ShareWithFriend child.
Birfy added a commit to Birfy/FlyBot that referenced this pull request Oct 20, 2026
Keep ThinkFlowLab#506 Sharing → Copy invite link naming and ThinkFlowLab#499 OwnBotSharing polish;
wire main's Share with a friend (ThinkFlowLab#500/ThinkFlowLab#516) into OwnBotSharing. Regenerate
client bundle and ds-bot patches.
@Birfy Birfy removed awaiting-approval PR is green and waits for the maintainer's approval (T2/T3) or a review PASS at its tip agent-pr Pull request opened by an agent labels Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:social Friends, invites, grants, Bot Social area:ui Web/desktop UI and copy enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Share a Bot with an existing friend without an invite link

1 participant