SD-M2a: mesh-broker's Held says the entry's state and why, so show says why an entry is in its state
Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
This commit is contained in:
@@ -99,10 +99,14 @@ export interface Held {
|
||||
"options"?: Record<string, unknown>;
|
||||
/** the settings the bus holds */
|
||||
"settings"?: Record<string, unknown>;
|
||||
/** the entry's state: held as asked, refused, waiting to be made, drifted from what is asked, full, or orphaned (no manifest asks it) */
|
||||
"state"?: "held" | "refused" | "waiting" | "drifted" | "full" | "orphaned";
|
||||
/** how the bus keeps it */
|
||||
"storage-type": "stream" | "key-value" | "object-store" | "ledger";
|
||||
/** its template; empty for a configuration of its own */
|
||||
"template"?: "state" | "events" | "work-queue" | "log" | "objects" | "ledger" | "";
|
||||
/** why it is in its state, in plain words; empty when held as asked */
|
||||
"why"?: string;
|
||||
}
|
||||
|
||||
export interface Named {
|
||||
|
||||
@@ -218,6 +218,18 @@ export const list: readonly Seat[] = [
|
||||
"description": "the settings the bus holds",
|
||||
"type": "object"
|
||||
},
|
||||
"state": {
|
||||
"description": "the entry's state: held as asked, refused, waiting to be made, drifted from what is asked, full, or orphaned (no manifest asks it)",
|
||||
"enum": [
|
||||
"held",
|
||||
"refused",
|
||||
"waiting",
|
||||
"drifted",
|
||||
"full",
|
||||
"orphaned"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"storage-type": {
|
||||
"description": "how the bus keeps it",
|
||||
"enum": [
|
||||
@@ -240,6 +252,10 @@ export const list: readonly Seat[] = [
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"why": {
|
||||
"description": "why it is in its state, in plain words; empty when held as asked",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -329,6 +345,18 @@ export const list: readonly Seat[] = [
|
||||
"description": "the settings the bus holds",
|
||||
"type": "object"
|
||||
},
|
||||
"state": {
|
||||
"description": "the entry's state: held as asked, refused, waiting to be made, drifted from what is asked, full, or orphaned (no manifest asks it)",
|
||||
"enum": [
|
||||
"held",
|
||||
"refused",
|
||||
"waiting",
|
||||
"drifted",
|
||||
"full",
|
||||
"orphaned"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"storage-type": {
|
||||
"description": "how the bus keeps it",
|
||||
"enum": [
|
||||
@@ -351,6 +379,10 @@ export const list: readonly Seat[] = [
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"why": {
|
||||
"description": "why it is in its state, in plain words; empty when held as asked",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -479,6 +511,18 @@ export const list: readonly Seat[] = [
|
||||
"description": "the settings the bus holds",
|
||||
"type": "object"
|
||||
},
|
||||
"state": {
|
||||
"description": "the entry's state: held as asked, refused, waiting to be made, drifted from what is asked, full, or orphaned (no manifest asks it)",
|
||||
"enum": [
|
||||
"held",
|
||||
"refused",
|
||||
"waiting",
|
||||
"drifted",
|
||||
"full",
|
||||
"orphaned"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"storage-type": {
|
||||
"description": "how the bus keeps it",
|
||||
"enum": [
|
||||
@@ -501,6 +545,10 @@ export const list: readonly Seat[] = [
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"why": {
|
||||
"description": "why it is in its state, in plain words; empty when held as asked",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -623,6 +671,18 @@ export const list: readonly Seat[] = [
|
||||
"description": "the settings the bus holds",
|
||||
"type": "object"
|
||||
},
|
||||
"state": {
|
||||
"description": "the entry's state: held as asked, refused, waiting to be made, drifted from what is asked, full, or orphaned (no manifest asks it)",
|
||||
"enum": [
|
||||
"held",
|
||||
"refused",
|
||||
"waiting",
|
||||
"drifted",
|
||||
"full",
|
||||
"orphaned"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"storage-type": {
|
||||
"description": "how the bus keeps it",
|
||||
"enum": [
|
||||
@@ -645,6 +705,10 @@ export const list: readonly Seat[] = [
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"why": {
|
||||
"description": "why it is in its state, in plain words; empty when held as asked",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -726,6 +790,18 @@ export const list: readonly Seat[] = [
|
||||
"description": "the settings the bus holds",
|
||||
"type": "object"
|
||||
},
|
||||
"state": {
|
||||
"description": "the entry's state: held as asked, refused, waiting to be made, drifted from what is asked, full, or orphaned (no manifest asks it)",
|
||||
"enum": [
|
||||
"held",
|
||||
"refused",
|
||||
"waiting",
|
||||
"drifted",
|
||||
"full",
|
||||
"orphaned"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"storage-type": {
|
||||
"description": "how the bus keeps it",
|
||||
"enum": [
|
||||
@@ -748,6 +824,10 @@ export const list: readonly Seat[] = [
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"why": {
|
||||
"description": "why it is in its state, in plain words; empty when held as asked",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -839,6 +919,18 @@ export const list: readonly Seat[] = [
|
||||
"description": "the settings the bus holds",
|
||||
"type": "object"
|
||||
},
|
||||
"state": {
|
||||
"description": "the entry's state: held as asked, refused, waiting to be made, drifted from what is asked, full, or orphaned (no manifest asks it)",
|
||||
"enum": [
|
||||
"held",
|
||||
"refused",
|
||||
"waiting",
|
||||
"drifted",
|
||||
"full",
|
||||
"orphaned"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"storage-type": {
|
||||
"description": "how the bus keeps it",
|
||||
"enum": [
|
||||
@@ -861,6 +953,10 @@ export const list: readonly Seat[] = [
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"why": {
|
||||
"description": "why it is in its state, in plain words; empty when held as asked",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
Reference in New Issue
Block a user