WIP: DreamWeave: declare the Dereth Network chat tab #6

Draft
AwfulWaffle wants to merge 2 commits from AwfulWaffle/RynthServers:chat/dreamweave-network-tab into main
First-time contributor

DreamWeave declares a default Network chat tab for the Dereth Network. Needs RynthCore rynth/RynthCore#15 (the chatTabs manifest key). Older engines ignore the key, so this is safe to take first.

What it does

  • ServerPackInfo.ChatTabs: a new property. BuildSectionsJson writes it as chatTabs, after windows, only when it is non-empty.
  • DreamWeave's entry: id dereth-network, name Network, pinned, Global-room fallback Roleplay, three copy rules:
    • incoming tells from a network address: ^[^"]+@[a-z0-9-]+( \(discord\))? tells you, " on type 3. This also catches name@channel channel lines.
    • your tells to a network address: ^You tell [^"]+@[a-z0-9-]+( \(discord\))?, " on type 4.
    • the Global room: the engine fills in the room's pattern, learned from chat.
  • Network: the entry declares "network": { "kind": "dereth", "command": "derethnetwork" } (new optional ServerChatNetwork, written only when set). DreamWeave's mod uses /derethnetwork because DreamWeave's own /dn is its Drift Network recall. The engine uses this for the Join/Leave bar and Network tab sends (RynthCore rynth/RynthCore#17).

Tests

  • Tools/RynthServerPack.Tests: 112 tests, 3911 checks, 0 failed. The new SectionsJson_ChatTabs test sends the JSON through the engine's own parser and checks both patterns byte for byte.
  • The plugin Release build has 0 errors.

🤖 Generated with Claude Code

DreamWeave declares a default **Network** chat tab for the Dereth Network. **Needs RynthCore rynth/RynthCore#15** (the `chatTabs` manifest key). Older engines ignore the key, so this is safe to take first. ## What it does - **`ServerPackInfo.ChatTabs`:** a new property. `BuildSectionsJson` writes it as `chatTabs`, after `windows`, only when it is non-empty. - **DreamWeave's entry:** id `dereth-network`, name `Network`, pinned, Global-room fallback `Roleplay`, three copy rules: - incoming tells from a network address: `^[^"]+@[a-z0-9-]+( \(discord\))? tells you, "` on type 3. This also catches `name@channel` channel lines. - your tells to a network address: `^You tell [^"]+@[a-z0-9-]+( \(discord\))?, "` on type 4. - the Global room: the engine fills in the room's pattern, learned from chat. - **Network:** the entry declares `"network": { "kind": "dereth", "command": "derethnetwork" }` (new optional `ServerChatNetwork`, written only when set). DreamWeave's mod uses `/derethnetwork` because DreamWeave's own `/dn` is its Drift Network recall. The engine uses this for the Join/Leave bar and Network tab sends (RynthCore rynth/RynthCore#17). ## Tests - `Tools/RynthServerPack.Tests`: 112 tests, 3911 checks, 0 failed. The new `SectionsJson_ChatTabs` test sends the JSON through the engine's own parser and checks both patterns byte for byte. - The plugin Release build has 0 errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ServerPackInfo gains ChatTabs (ServerChatTab / ServerChatRule records);
BuildSectionsJson writes "chatTabs" after "windows" only when non-empty.
DreamWeave declares the pinned Network tab: tells from name@world
speakers (in and out) plus the discovered Global room. Needs the RynthCore
chatTabs manifest parser (branch chat/server-tabs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ServerChatTab gains an optional ServerChatNetwork (kind, command);
BuildSectionsJson writes "network" inside the entry only when set.
DreamWeave sets ("dereth", "derethnetwork").

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This pull request has changes conflicting with the target branch.
  • Plugins/RynthCore.Plugin.RynthDreamWeave/ServerData.cs
  • Plugins/Shared/ServerPack/ServerPackInfo.cs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u chat/dreamweave-network-tab:AwfulWaffle-chat/dreamweave-network-tab
git switch AwfulWaffle-chat/dreamweave-network-tab

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff AwfulWaffle-chat/dreamweave-network-tab
git switch AwfulWaffle-chat/dreamweave-network-tab
git rebase main
git switch main
git merge --ff-only AwfulWaffle-chat/dreamweave-network-tab
git switch AwfulWaffle-chat/dreamweave-network-tab
git rebase main
git switch main
git merge --no-ff AwfulWaffle-chat/dreamweave-network-tab
git switch main
git merge --squash AwfulWaffle-chat/dreamweave-network-tab
git switch main
git merge --ff-only AwfulWaffle-chat/dreamweave-network-tab
git switch main
git merge AwfulWaffle-chat/dreamweave-network-tab
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rynth/RynthServers!6
No description provided.