@re-cinq/floor-contracts 0.1.4 → 0.1.6
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 +1 -1
- package/dist/views.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type { AgentDefinitionBody, AgentSettings, Brief, Item, ItemKind, LineArgSpec, LineBody, LineEdge, LineNode, LineNodeReport, LineStart, ModelPrice, NeedSpec, ProduceSpec, Report, ScheduleBody, StationBody, StationKind, WhenValue, } from "./definitions.js";
|
|
2
2
|
export type { BlobRef, BriefConversation, BriefNeed, BriefSettings, ClaimedEvent, DefinitionKind, ExecutorSettings, FileNeed, GitCredential, GitNeed, McpServerSettings, PodResources, MigrationBody, Problem, PutResult, ValueNeed, VisitBrief, } from "./wire.js";
|
|
3
|
-
export type { CostsRow, DefinitionRowFields, DefinitionRowView, FloorEventFields, FloorEventView, LiveFrame, RecordKind, RunFields, RunView, StationRunRecordFields, StationRunRecordView, VisitFields, VisitView, } from "./views.js";
|
|
3
|
+
export type { CostsRow, DefinitionRowFields, DefinitionRowView, FloorEventFields, FloorEventView, FloorFrame, LiveFrame, RecordKind, RunFields, RunView, StationRunRecordFields, StationRunRecordView, VisitFields, VisitView, } from "./views.js";
|
package/dist/views.d.ts
CHANGED
|
@@ -101,3 +101,13 @@ export type LiveFrame = {
|
|
|
101
101
|
} | {
|
|
102
102
|
type: "unsupported";
|
|
103
103
|
};
|
|
104
|
+
/** One frame of `GET /assembly-runs/live`: ids only, the reader reads what they name; `resync` is the first frame of every connection and follows any gap. */
|
|
105
|
+
export type FloorFrame = {
|
|
106
|
+
type: "run_started";
|
|
107
|
+
runId: string;
|
|
108
|
+
} | {
|
|
109
|
+
type: "run_changed";
|
|
110
|
+
runId: string;
|
|
111
|
+
} | {
|
|
112
|
+
type: "resync";
|
|
113
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@re-cinq/floor-contracts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
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": {
|