feat: namespace plugin identity

Adopt canonical plugin id/slug manifest fields, vendor-prefixed OTP app naming, and fully-qualified capability ids for Aether.
This commit is contained in:
2026-05-27 19:05:51 +02:00
parent 44b9c6caba
commit b4b8c83ddb
12 changed files with 51 additions and 34 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ defmodule TribeOne.TribesPlugin.Aether.Chat do
"""
use Ash.Domain,
otp_app: :aether
otp_app: :tribe_one_aether
require Ash.Query
+1 -1
View File
@@ -4,7 +4,7 @@ defmodule TribeOne.TribesPlugin.Aether.Chat.Channel do
"""
use Ash.Resource,
otp_app: :aether,
otp_app: :tribe_one_aether,
domain: TribeOne.TribesPlugin.Aether.Chat,
data_layer: AshPostgres.DataLayer,
extensions: [AshNostrSync]
+1 -1
View File
@@ -4,7 +4,7 @@ defmodule TribeOne.TribesPlugin.Aether.Chat.Message do
"""
use Ash.Resource,
otp_app: :aether,
otp_app: :tribe_one_aether,
domain: TribeOne.TribesPlugin.Aether.Chat,
data_layer: AshPostgres.DataLayer,
extensions: [AshNostrSync]
+1 -1
View File
@@ -4,7 +4,7 @@ defmodule TribeOne.TribesPlugin.Aether.Chat.Participant do
"""
use Ash.Resource,
otp_app: :aether,
otp_app: :tribe_one_aether,
domain: TribeOne.TribesPlugin.Aether.Chat,
data_layer: AshPostgres.DataLayer,
extensions: [AshNostrSync]
+2 -2
View File
@@ -3,7 +3,7 @@ defmodule TribeOne.TribesPlugin.Aether.Plugin do
Tribes plugin entry point.
"""
use Tribes.Plugin.Base, otp_app: :aether
use Tribes.Plugin.Base, otp_app: :tribe_one_aether
@behaviour Tribes.Capabilities.Chat.V1
@@ -94,7 +94,7 @@ defmodule TribeOne.TribesPlugin.Aether.Plugin do
TribeOne.TribesPlugin.AetherWeb.ChatPanelComponent,
Keyword.get(opts, :id, "aether-chat-panel-#{slug}"),
assigns,
capability: "chat@1",
capability: "org.tribe-one.caps.chat@1",
provider: __MODULE__
)}
end
@@ -1,6 +1,6 @@
defmodule TribeOne.TribesPlugin.AetherWeb.ChatRecipientPickerComponent do
@moduledoc """
Recipient picker exposed as part of Aether's `chat@1` UI contract.
Recipient picker exposed as part of Aether's `org.tribe-one.caps.chat@1` UI contract.
"""
use Phoenix.LiveComponent