Separate command descriptors from invocations

This commit is contained in:
Meta Vens 2026-07-10 04:03:05 +01:00
commit 80dae63a57
44 changed files with 438 additions and 86 deletions

View file

@ -323,7 +323,7 @@ EveCommandIntent createEveCommandIntent(
) {
return EveCommandIntent(
type: 'surface-command',
schema: 'gamecult.eve.command.v1',
schema: 'gamecult.eve.command_invocation.v1',
providerId: state.providerId,
surfaceId: state.surfaceId,
command: command,

View file

@ -114,7 +114,7 @@ void main() {
await tester.pump();
expect(intents, hasLength(1));
expect(intents.single.schema, 'gamecult.eve.command.v1');
expect(intents.single.schema, 'gamecult.eve.command_invocation.v1');
expect(intents.single.providerId, 'aetheria');
expect(intents.single.surfaceId, 'aetheria.daemon.game');
expect(intents.single.command, 'aetheria.daemon.commands');