Define provider action bar suggestions

This commit is contained in:
Meta Vens 2026-07-17 05:13:45 +01:00
commit 4b2975955f
8 changed files with 18 additions and 0 deletions

View file

@ -9,6 +9,11 @@ keyboard chords, axes, and ordered gamepad D-pad sequences are gesture kinds,
not separate execution systems. The action bar is a compact editor over the
same binding document; its controls are chosen by the player.
An action may set `actionBar` to suggest that generic clients expose it in the
initial action palette. This is not a binding or a gameplay decision. Client
profiles and user overrides still own physical controls, slot order, and
whether the suggested action remains visible.
Actions may be derived from live state such as equipped modules, weapon groups,
cargo consumables, role, docking state, or mode. A binding whose action is not
currently available remains dormant so it can recover when that semantic action

View file

@ -26,6 +26,7 @@ export interface EveInputCapability {
context?: string;
category?: string;
iconRef?: string;
actionBar?: boolean;
availability: ("available" | "dormant" | "unavailable");
sourceRef?: string;
payload?: {

View file

@ -674,6 +674,9 @@ export declare const eveContractSchemas: {
readonly iconRef: {
readonly type: "string";
};
readonly actionBar: {
readonly type: "boolean";
};
readonly availability: {
readonly enum: readonly ["available", "dormant", "unavailable"];
};

View file

@ -809,6 +809,9 @@ export const eveContractSchemas = {
"iconRef": {
"type": "string"
},
"actionBar": {
"type": "boolean"
},
"availability": {
"enum": [
"available",

View file

@ -29,6 +29,7 @@ operation: string
context?: string
category?: string
iconRef?: string
actionBar?: boolean
availability: ("available" | "dormant" | "unavailable")
sourceRef?: string
payload?: {

View file

@ -809,6 +809,9 @@ export const eveContractSchemas = {
"iconRef": {
"type": "string"
},
"actionBar": {
"type": "boolean"
},
"availability": {
"enum": [
"available",

View file

@ -112,6 +112,7 @@ test("validates scalar and view-direction input value models", () => {
label: "Target Temperature",
operation: "equipment.set-temperature",
availability: "available",
actionBar: true,
inputValue: {
model: "scalar.v1",
payloadKey: "scalarValue",

View file

@ -21,6 +21,7 @@
"context": { "type": "string" },
"category": { "type": "string" },
"iconRef": { "type": "string" },
"actionBar": { "type": "boolean" },
"availability": { "enum": ["available", "dormant", "unavailable"] },
"sourceRef": { "type": "string" },
"payload": { "type": "object", "additionalProperties": { "type": "string" } },