@re-cinq/floor-contracts 0.11.4 → 0.13.0
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/definitions.d.ts +6 -0
- package/package.json +1 -1
package/dist/definitions.d.ts
CHANGED
|
@@ -85,6 +85,10 @@ export interface ProduceSpec {
|
|
|
85
85
|
path?: string;
|
|
86
86
|
/** Agent kind, `file` only: the file is what the agent said last, whole, and not something it wrote to `path`. How a prompt that answers in its output, as lore's do, hands that answer on. */
|
|
87
87
|
from?: "output";
|
|
88
|
+
/** What the item holds, for a person who fills it in or reads it. The floor keeps it and acts on nothing in it. */
|
|
89
|
+
description?: string;
|
|
90
|
+
/** `value` only: the values the item may hold. */
|
|
91
|
+
enum?: string[];
|
|
88
92
|
}
|
|
89
93
|
export interface StationBody {
|
|
90
94
|
kind: StationKind;
|
|
@@ -95,6 +99,8 @@ export interface StationBody {
|
|
|
95
99
|
conversation?: "new" | "continue";
|
|
96
100
|
conversationKey?: string;
|
|
97
101
|
outcomes: string[];
|
|
102
|
+
/** Outcome to what picking it means, for a person who reports for the station. */
|
|
103
|
+
outcomeDescriptions?: Record<string, string>;
|
|
98
104
|
mustChange?: boolean;
|
|
99
105
|
/** Agent kind only: an agent that ends with neither a `LORE_NODE_RESULT:` line nor a `REVIEW_RESULT:` verdict has failed its visit, instead of being read as `success`. */
|
|
100
106
|
resultRequired?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@re-cinq/floor-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "The floor's wire, as types: what its HTTP routes and its live socket take and answer, and nothing else. No runtime, no dependencies.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|