From 9d7817ac942beb4fb7ec698e76888e3ecc4bdb74 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 27 Oct 2026 18:43:50 +0000 Subject: [PATCH 1/2] fix(ui): the action key inventory lists disabledReason SPEC_ACTION_KEYS restates every key ActionSchema declares. The spec half of the disabledReason card added the key to ActionSchema, so the inventory pin on main reports it missing. One row restores it. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufzfhobWEgUUrjz4rrbh --- ui/.changeset/26619-action-keys-disabled-reason.md | 8 ++++++++ ui/packages/core/src/actions/actionKeys.ts | 1 + 2 files changed, 9 insertions(+) create mode 100644 ui/.changeset/26619-action-keys-disabled-reason.md diff --git a/ui/.changeset/26619-action-keys-disabled-reason.md b/ui/.changeset/26619-action-keys-disabled-reason.md new file mode 100644 index 00000000000..e1de2c18216 --- /dev/null +++ b/ui/.changeset/26619-action-keys-disabled-reason.md @@ -0,0 +1,8 @@ +--- +'@object-ui/core': patch +--- + +`SPEC_ACTION_KEYS` lists `disabledReason`, the key `@objectstack/spec` added to `ActionSchema` beside `disabled` (objectstack#26786). An action that carries it is no longer counted as having an unknown key, and the inventory pin is green again. + +Clause-②: no +Metadata-protocol: none diff --git a/ui/packages/core/src/actions/actionKeys.ts b/ui/packages/core/src/actions/actionKeys.ts index 9184acb74c2..100c1f5a63c 100644 --- a/ui/packages/core/src/actions/actionKeys.ts +++ b/ui/packages/core/src/actions/actionKeys.ts @@ -246,6 +246,7 @@ export const SPEC_ACTION_KEYS = [ // key, which is the only thing the inventory is consulted for. 'description', 'disabled', + 'disabledReason', 'errorMessage', // No `execute`: its spec-17 tombstone (`retiredKey()`, objectstack#3855) aged // out of `ActionSchema` at objectstack#25767 — the spec now refuses it as an From 24f4bed218779e5cdca492962ea78a3982fef462 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 27 Oct 2026 18:47:35 +0000 Subject: [PATCH 2/2] chore(changeset): the action-key row's changeset goes in the root .changeset ui/.changeset is the imported objectui directory, which the changeset gate does not count. Packages under ui/ release through the root .changeset. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufzfhobWEgUUrjz4rrbh --- .../26619-action-keys-disabled-reason.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ui/.changeset => .changeset}/26619-action-keys-disabled-reason.md (100%) diff --git a/ui/.changeset/26619-action-keys-disabled-reason.md b/.changeset/26619-action-keys-disabled-reason.md similarity index 100% rename from ui/.changeset/26619-action-keys-disabled-reason.md rename to .changeset/26619-action-keys-disabled-reason.md