@standardagents/spec 0.41.9 → 0.41.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -909,6 +909,12 @@ interface CredentialGrant {
909
909
  tools?: string[];
910
910
  endpoints?: string[];
911
911
  userEndpoints?: string[];
912
+ /**
913
+ * Room definitions by registry key (for example `my_package/room`). When
914
+ * absent, rooms are matched against `userEndpoints`, so a policy that
915
+ * names the room there works too.
916
+ */
917
+ userRooms?: string[];
912
918
  agents?: string[];
913
919
  };
914
920
  /** Non-secret metadata: account label, scopes, expiry. */
@@ -955,6 +961,13 @@ interface UserRoomPresenceEvent {
955
961
  * race a mutation. At most one room definition is active per project.
956
962
  */
957
963
  interface UserRoomDefinition {
964
+ /**
965
+ * The user endpoint this room fronts, by policy name (for example
966
+ * `standard/account`). Room executions then run as that endpoint for
967
+ * credential grant policies, since they exercise the same code and
968
+ * authority; without it a room is policy-named by its own registry key.
969
+ */
970
+ endpoint?: string;
958
971
  /**
959
972
  * Keys under this prefix are room-owned: the runtime keeps them out of
960
973
  * client-writable value routes and does not raise `user_value_changed`