@shivaedev/work-board 0.14.2 → 0.16.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/CHANGELOG.md +26 -0
- package/README.md +1 -1
- package/assets/agent.js +1 -1
- package/assets/native.js +25 -25
- package/assets/react.css +1 -1
- package/assets/react.js +37 -36
- package/dist/browser/diagnostics/schema.d.ts +15 -12
- package/dist/browser/diagnostics/schema.d.ts.map +1 -1
- package/dist/browser/diagnostics/schema.js +12 -2
- package/dist/browser/diagnostics/schema.js.map +1 -1
- package/dist/browser/views/remaining.d.ts +20 -12
- package/dist/browser/views/remaining.d.ts.map +1 -1
- package/dist/client/client.d.ts +1 -0
- package/dist/client/client.d.ts.map +1 -1
- package/dist/client/client.js +1 -1
- package/dist/client/client.js.map +1 -1
- package/dist/client/document/Mermaid.d.ts.map +1 -1
- package/dist/client/document/Mermaid.js +4 -10
- package/dist/client/document/Mermaid.js.map +1 -1
- package/dist/client/document/View.js +1 -1
- package/dist/client/document/View.js.map +1 -1
- package/dist/client/formStatus.d.ts +12 -0
- package/dist/client/formStatus.d.ts.map +1 -0
- package/dist/client/formStatus.js +27 -0
- package/dist/client/formStatus.js.map +1 -0
- package/dist/client/react/BoardShell.d.ts.map +1 -1
- package/dist/client/react/BoardShell.js +36 -37
- package/dist/client/react/BoardShell.js.map +1 -1
- package/dist/client/react/DocumentContext.d.ts.map +1 -1
- package/dist/client/react/DocumentContext.js +12 -7
- package/dist/client/react/DocumentContext.js.map +1 -1
- package/dist/client/react/FormContext.d.ts +5 -0
- package/dist/client/react/FormContext.d.ts.map +1 -0
- package/dist/client/react/FormContext.js +10 -0
- package/dist/client/react/FormContext.js.map +1 -0
- package/dist/client/react/LiveControls.d.ts +4 -3
- package/dist/client/react/LiveControls.d.ts.map +1 -1
- package/dist/client/react/LiveControls.js +5 -24
- package/dist/client/react/LiveControls.js.map +1 -1
- package/dist/client/react/MainLocationContext.d.ts +3 -0
- package/dist/client/react/MainLocationContext.d.ts.map +1 -0
- package/dist/client/react/MainLocationContext.js +7 -0
- package/dist/client/react/MainLocationContext.js.map +1 -0
- package/dist/client/react/PhoneNavigation.d.ts +3 -1
- package/dist/client/react/PhoneNavigation.d.ts.map +1 -1
- package/dist/client/react/PhoneNavigation.js +8 -13
- package/dist/client/react/PhoneNavigation.js.map +1 -1
- package/dist/client/react/ProjectionFrame.d.ts +1 -2
- package/dist/client/react/ProjectionFrame.d.ts.map +1 -1
- package/dist/client/react/ProjectionFrame.js +10 -4
- package/dist/client/react/ProjectionFrame.js.map +1 -1
- package/dist/client/react/ReadingLibrary.d.ts.map +1 -1
- package/dist/client/react/ReadingLibrary.js +9 -14
- package/dist/client/react/ReadingLibrary.js.map +1 -1
- package/dist/client/react/ReadingReadyContext.d.ts +6 -0
- package/dist/client/react/ReadingReadyContext.d.ts.map +1 -0
- package/dist/client/react/ReadingReadyContext.js +7 -0
- package/dist/client/react/ReadingReadyContext.js.map +1 -0
- package/dist/client/react/SessionContext.d.ts +3 -0
- package/dist/client/react/SessionContext.d.ts.map +1 -0
- package/dist/client/react/SessionContext.js +3 -0
- package/dist/client/react/SessionContext.js.map +1 -0
- package/dist/client/react/SystemMain.d.ts.map +1 -1
- package/dist/client/react/SystemMain.js +3 -1
- package/dist/client/react/SystemMain.js.map +1 -1
- package/dist/client/react/SystemPage.d.ts.map +1 -1
- package/dist/client/react/SystemPage.js +2 -1
- package/dist/client/react/SystemPage.js.map +1 -1
- package/dist/client/react/ThemeContext.d.ts +2 -0
- package/dist/client/react/ThemeContext.d.ts.map +1 -0
- package/dist/client/react/ThemeContext.js +3 -0
- package/dist/client/react/ThemeContext.js.map +1 -0
- package/dist/client/react/TodayOptions.d.ts.map +1 -1
- package/dist/client/react/TodayOptions.js +23 -14
- package/dist/client/react/TodayOptions.js.map +1 -1
- package/dist/client/react/VisualViewer.d.ts.map +1 -1
- package/dist/client/react/VisualViewer.js +6 -5
- package/dist/client/react/VisualViewer.js.map +1 -1
- package/dist/client/react/boardRouter.d.ts +3 -2
- package/dist/client/react/boardRouter.d.ts.map +1 -1
- package/dist/client/react/boardRouter.js +2 -1
- package/dist/client/react/boardRouter.js.map +1 -1
- package/dist/client/react/createResponse.d.ts +32 -4
- package/dist/client/react/createResponse.d.ts.map +1 -1
- package/dist/client/react/createResponse.js +7 -28
- package/dist/client/react/createResponse.js.map +1 -1
- package/dist/client/react/diagnosticsValues.d.ts.map +1 -1
- package/dist/client/react/diagnosticsValues.js +5 -7
- package/dist/client/react/diagnosticsValues.js.map +1 -1
- package/dist/client/react/entry.d.ts.map +1 -1
- package/dist/client/react/entry.js +2 -34
- package/dist/client/react/entry.js.map +1 -1
- package/dist/client/react/githubLimited.d.ts +3 -0
- package/dist/client/react/githubLimited.d.ts.map +1 -0
- package/dist/client/react/githubLimited.js +4 -0
- package/dist/client/react/githubLimited.js.map +1 -0
- package/dist/client/react/loadProjection.d.ts +135 -135
- package/dist/client/react/loadRemaining.d.ts +20 -12
- package/dist/client/react/loadRemaining.d.ts.map +1 -1
- package/dist/client/react/mainLocation.d.ts +4 -2
- package/dist/client/react/mainLocation.d.ts.map +1 -1
- package/dist/client/react/mainLocation.js +1 -8
- package/dist/client/react/mainLocation.js.map +1 -1
- package/dist/client/react/mountBoard.d.ts +3 -0
- package/dist/client/react/mountBoard.d.ts.map +1 -0
- package/dist/client/react/mountBoard.js +45 -0
- package/dist/client/react/mountBoard.js.map +1 -0
- package/dist/client/react/navigationLocation.d.ts +3 -1
- package/dist/client/react/navigationLocation.d.ts.map +1 -1
- package/dist/client/react/navigationLocation.js +11 -1
- package/dist/client/react/navigationLocation.js.map +1 -1
- package/dist/client/react/retryPage.d.ts +2 -1
- package/dist/client/react/retryPage.d.ts.map +1 -1
- package/dist/client/react/retryPage.js +3 -4
- package/dist/client/react/retryPage.js.map +1 -1
- package/dist/client/react/scheduleReading.d.ts.map +1 -1
- package/dist/client/react/scheduleReading.js +1 -10
- package/dist/client/react/scheduleReading.js.map +1 -1
- package/dist/client/react/useAppearance.d.ts +2 -1
- package/dist/client/react/useAppearance.d.ts.map +1 -1
- package/dist/client/react/useAppearance.js +1 -2
- package/dist/client/react/useAppearance.js.map +1 -1
- package/dist/client/react/useBoardNavigation.d.ts +1 -1
- package/dist/client/react/useBoardNavigation.d.ts.map +1 -1
- package/dist/client/react/useBoardNavigation.js +28 -22
- package/dist/client/react/useBoardNavigation.js.map +1 -1
- package/dist/client/react/useDiagnosticsPolling.d.ts +4 -1
- package/dist/client/react/useDiagnosticsPolling.d.ts.map +1 -1
- package/dist/client/react/useDiagnosticsPolling.js +9 -7
- package/dist/client/react/useDiagnosticsPolling.js.map +1 -1
- package/dist/client/react/useDocumentPage.d.ts +1 -1
- package/dist/client/react/useDocumentPage.d.ts.map +1 -1
- package/dist/client/react/useDocumentPage.js +9 -6
- package/dist/client/react/useDocumentPage.js.map +1 -1
- package/dist/client/react/useHandoffForm.d.ts +56 -30
- package/dist/client/react/useHandoffForm.d.ts.map +1 -1
- package/dist/client/react/useHandoffForm.js +19 -30
- package/dist/client/react/useHandoffForm.js.map +1 -1
- package/dist/client/react/useResponseForm.d.ts +72 -43
- package/dist/client/react/useResponseForm.d.ts.map +1 -1
- package/dist/client/react/useResponseForm.js +20 -17
- package/dist/client/react/useResponseForm.js.map +1 -1
- package/dist/client/react/useSidebar.d.ts.map +1 -1
- package/dist/client/react/useSidebar.js +5 -3
- package/dist/client/react/useSidebar.js.map +1 -1
- package/dist/client/react/visualSources.d.ts.map +1 -1
- package/dist/client/react/visualSources.js +10 -8
- package/dist/client/react/visualSources.js.map +1 -1
- package/dist/client/saveFailure.d.ts +8 -0
- package/dist/client/saveFailure.d.ts.map +1 -0
- package/dist/client/saveFailure.js +8 -0
- package/dist/client/saveFailure.js.map +1 -0
- package/dist/diagnostics/daemonContract.d.ts +65 -38
- package/dist/diagnostics/daemonContract.d.ts.map +1 -1
- package/dist/diagnostics/daemonContract.js +2 -1
- package/dist/diagnostics/daemonContract.js.map +1 -1
- package/dist/diagnostics/health.d.ts +10 -0
- package/dist/diagnostics/health.d.ts.map +1 -1
- package/dist/diagnostics/health.js +2 -0
- package/dist/diagnostics/health.js.map +1 -1
- package/dist/diagnostics/source.d.ts +55 -36
- package/dist/diagnostics/source.d.ts.map +1 -1
- package/dist/diagnostics/source.js +1 -2
- package/dist/diagnostics/source.js.map +1 -1
- package/dist/render/{failed.d.ts → Failed.d.ts} +1 -1
- package/dist/render/Failed.d.ts.map +1 -0
- package/dist/render/{failed.js → Failed.js} +1 -1
- package/dist/render/Failed.js.map +1 -0
- package/dist/render/code.d.ts +2 -2
- package/dist/render/code.d.ts.map +1 -1
- package/dist/render/code.js +15 -13
- package/dist/render/code.js.map +1 -1
- package/dist/render/footnoteIds.d.ts +3 -0
- package/dist/render/footnoteIds.d.ts.map +1 -0
- package/dist/render/{footnotes.js → footnoteIds.js} +11 -9
- package/dist/render/footnoteIds.js.map +1 -0
- package/dist/rpc/contract.d.ts +2346 -2322
- package/dist/rpc/contract.d.ts.map +1 -1
- package/dist/rpc/handoffContract.d.ts +33 -33
- package/dist/rpc/responseContract.d.ts +56 -56
- package/dist/server/board.d.ts +1 -1
- package/dist/server/diagnostics/daemon.d.ts +41 -25
- package/dist/server/diagnostics/daemon.d.ts.map +1 -1
- package/dist/server/diagnostics/fleetHealth.d.ts +10 -0
- package/dist/server/diagnostics/fleetHealth.d.ts.map +1 -1
- package/dist/server/diagnostics/githubLimits.d.ts +12 -13
- package/dist/server/diagnostics/githubLimits.d.ts.map +1 -1
- package/dist/server/diagnostics/githubLimits.js +6 -6
- package/dist/server/diagnostics/githubLimits.js.map +1 -1
- package/dist/server/integration/diagnostics.d.ts +74 -38
- package/dist/server/integration/diagnostics.d.ts.map +1 -1
- package/dist/server/mcp/client.d.ts +1155 -1147
- package/dist/server/mcp/client.d.ts.map +1 -1
- package/dist/server/mcp/queries.d.ts +60 -36
- package/dist/server/mcp/queries.d.ts.map +1 -1
- package/dist/server/metadata/fields.js +1 -1
- package/dist/server/metadata/fields.js.map +1 -1
- package/dist/server/packageInfo.d.ts +1 -1
- package/dist/server/packageInfo.js +1 -1
- package/dist/server/render/Highlighter.d.ts +1 -1
- package/dist/server/render/Highlighter.js +1 -1
- package/dist/server/render/markdown.d.ts +1 -1
- package/dist/server/render/markdown.js +2 -2
- package/dist/server/render/markdown.js.map +1 -1
- package/dist/server/serve.d.ts +1 -1
- package/dist/server/views/remainingQueries.d.ts +20 -12
- package/dist/server/views/remainingQueries.d.ts.map +1 -1
- package/package.json +9 -39
- package/src/browser/diagnostics/schema.ts +12 -2
- package/src/client/client.ts +2 -1
- package/src/client/document/Mermaid.ts +4 -10
- package/src/client/document/View.ts +1 -1
- package/src/client/formStatus.ts +35 -0
- package/src/client/react/BoardShell.tsx +49 -43
- package/src/client/react/DocumentContext.tsx +12 -7
- package/src/client/react/FormContext.ts +13 -0
- package/src/client/react/LiveControls.tsx +5 -38
- package/src/client/react/MainLocationContext.ts +8 -0
- package/src/client/react/PhoneNavigation.tsx +20 -15
- package/src/client/react/ProjectionFrame.tsx +13 -5
- package/src/client/react/ReadingLibrary.tsx +9 -14
- package/src/client/react/ReadingReadyContext.ts +11 -0
- package/src/client/react/SessionContext.ts +4 -0
- package/src/client/react/SystemMain.tsx +3 -1
- package/src/client/react/SystemPage.tsx +2 -1
- package/src/client/react/ThemeContext.ts +3 -0
- package/src/client/react/TodayOptions.tsx +40 -33
- package/src/client/react/VisualViewer.tsx +6 -6
- package/src/client/react/boardRouter.ts +3 -2
- package/src/client/react/createResponse.ts +10 -35
- package/src/client/react/diagnosticsValues.tsx +20 -12
- package/src/client/react/entry.tsx +2 -37
- package/src/client/react/githubLimited.ts +5 -0
- package/src/client/react/mainLocation.ts +5 -8
- package/src/client/react/mountBoard.tsx +49 -0
- package/src/client/react/navigationLocation.ts +14 -2
- package/src/client/react/retryPage.ts +4 -4
- package/src/client/react/scheduleReading.ts +1 -10
- package/src/client/react/useAppearance.ts +2 -3
- package/src/client/react/useBoardNavigation.ts +30 -23
- package/src/client/react/useDiagnosticsPolling.ts +14 -7
- package/src/client/react/useDocumentPage.ts +12 -6
- package/src/client/react/useHandoffForm.ts +25 -33
- package/src/client/react/useResponseForm.ts +20 -18
- package/src/client/react/useSidebar.ts +5 -3
- package/src/client/react/visualSources.ts +10 -8
- package/src/client/saveFailure.ts +14 -0
- package/src/diagnostics/daemonContract.ts +2 -1
- package/src/diagnostics/health.ts +2 -0
- package/src/diagnostics/source.ts +1 -2
- package/src/render/code.ts +3 -4
- package/src/render/{footnotes.ts → footnoteIds.ts} +12 -10
- package/src/server/board.ts +1 -1
- package/src/server/diagnostics/githubLimits.ts +9 -11
- package/src/server/metadata/fields.ts +1 -1
- package/src/server/packageInfo.ts +1 -1
- package/src/server/render/Highlighter.ts +1 -1
- package/src/server/render/markdown.ts +2 -2
- package/dist/client/handoffs/failureStatus.d.ts +0 -2
- package/dist/client/handoffs/failureStatus.d.ts.map +0 -1
- package/dist/client/handoffs/failureStatus.js +0 -7
- package/dist/client/handoffs/failureStatus.js.map +0 -1
- package/dist/client/responses/failure.d.ts +0 -5
- package/dist/client/responses/failure.d.ts.map +0 -1
- package/dist/client/responses/failure.js +0 -13
- package/dist/client/responses/failure.js.map +0 -1
- package/dist/render/failed.d.ts.map +0 -1
- package/dist/render/failed.js.map +0 -1
- package/dist/render/footnotes.d.ts +0 -3
- package/dist/render/footnotes.d.ts.map +0 -1
- package/dist/render/footnotes.js.map +0 -1
- package/dist/server/diagnostics/readCommand.d.ts +0 -4
- package/dist/server/diagnostics/readCommand.d.ts.map +0 -1
- package/dist/server/diagnostics/readCommand.js +0 -20
- package/dist/server/diagnostics/readCommand.js.map +0 -1
- package/src/client/handoffs/failureStatus.ts +0 -6
- package/src/client/responses/failure.ts +0 -13
- package/src/server/diagnostics/readCommand.ts +0 -24
- /package/src/render/{failed.ts → Failed.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/rpc/contract.ts"],"names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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAA8D,CAAC"}
|
|
@@ -96,37 +96,14 @@ export declare const handoffContract: import("@shivaedev/effect-contract/contrac
|
|
|
96
96
|
PublicationUncertain: typeof import("#rpc/rejections.ts").PublicationUncertain;
|
|
97
97
|
ServiceUnavailable: typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable;
|
|
98
98
|
Unanswered: typeof import("#rpc/rejections.ts").Unanswered;
|
|
99
|
-
}>], import("effect/rpc/Rpc").Rpc<"work-board.
|
|
100
|
-
|
|
101
|
-
readonly goal: Schema.String;
|
|
102
|
-
readonly id: Schema.String;
|
|
103
|
-
readonly item: Schema.String;
|
|
104
|
-
readonly nextAction: Schema.String;
|
|
105
|
-
readonly recipient: Schema.String;
|
|
106
|
-
readonly revision: Schema.String;
|
|
107
|
-
readonly source: Schema.String;
|
|
99
|
+
}>], import("effect/rpc/Rpc").Rpc<"work-board.handoffSource", Schema.Struct<{
|
|
100
|
+
item: Schema.String;
|
|
108
101
|
}>, Schema.Struct<{
|
|
109
102
|
readonly context: Schema.String;
|
|
110
|
-
readonly file: Schema.String;
|
|
111
|
-
readonly handoff: Schema.encodeKeys<Schema.Struct<{
|
|
112
|
-
readonly by: Schema.optional<Schema.String>;
|
|
113
|
-
readonly constraints: Schema.String;
|
|
114
|
-
readonly goal: Schema.String;
|
|
115
|
-
readonly item: Schema.String;
|
|
116
|
-
readonly nextAction: Schema.String;
|
|
117
|
-
readonly note: Schema.optional<Schema.String>;
|
|
118
|
-
readonly preparedAt: Schema.Number;
|
|
119
|
-
readonly recipient: Schema.String;
|
|
120
|
-
readonly reviewedRevision: Schema.String;
|
|
121
|
-
readonly source: Schema.String;
|
|
122
|
-
readonly state: Schema.Literals<readonly ["requested", "acknowledged", "rejected", "unavailable"]>;
|
|
123
|
-
}>, {
|
|
124
|
-
readonly nextAction: "next_action";
|
|
125
|
-
readonly preparedAt: "prepared_at";
|
|
126
|
-
readonly reviewedRevision: "reviewed_revision";
|
|
127
|
-
}>;
|
|
128
103
|
readonly id: Schema.String;
|
|
129
|
-
readonly
|
|
104
|
+
readonly item: Schema.String;
|
|
105
|
+
readonly reviewedRevision: Schema.String;
|
|
106
|
+
readonly source: Schema.String;
|
|
130
107
|
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.handoffs", Schema.Struct<{
|
|
131
108
|
item: Schema.String;
|
|
132
109
|
}>, Schema.Struct<{
|
|
@@ -154,13 +131,36 @@ export declare const handoffContract: import("@shivaedev/effect-contract/contrac
|
|
|
154
131
|
readonly prompt: Schema.String;
|
|
155
132
|
}>>;
|
|
156
133
|
readonly unknown: Schema.$Array<Schema.String>;
|
|
157
|
-
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
readonly context: Schema.String;
|
|
134
|
+
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.prepareHandoff", Schema.Struct<{
|
|
135
|
+
readonly constraints: Schema.String;
|
|
136
|
+
readonly goal: Schema.String;
|
|
161
137
|
readonly id: Schema.String;
|
|
162
138
|
readonly item: Schema.String;
|
|
163
|
-
readonly
|
|
139
|
+
readonly nextAction: Schema.String;
|
|
140
|
+
readonly recipient: Schema.String;
|
|
141
|
+
readonly revision: Schema.String;
|
|
164
142
|
readonly source: Schema.String;
|
|
143
|
+
}>, Schema.Struct<{
|
|
144
|
+
readonly context: Schema.String;
|
|
145
|
+
readonly file: Schema.String;
|
|
146
|
+
readonly handoff: Schema.encodeKeys<Schema.Struct<{
|
|
147
|
+
readonly by: Schema.optional<Schema.String>;
|
|
148
|
+
readonly constraints: Schema.String;
|
|
149
|
+
readonly goal: Schema.String;
|
|
150
|
+
readonly item: Schema.String;
|
|
151
|
+
readonly nextAction: Schema.String;
|
|
152
|
+
readonly note: Schema.optional<Schema.String>;
|
|
153
|
+
readonly preparedAt: Schema.Number;
|
|
154
|
+
readonly recipient: Schema.String;
|
|
155
|
+
readonly reviewedRevision: Schema.String;
|
|
156
|
+
readonly source: Schema.String;
|
|
157
|
+
readonly state: Schema.Literals<readonly ["requested", "acknowledged", "rejected", "unavailable"]>;
|
|
158
|
+
}>, {
|
|
159
|
+
readonly nextAction: "next_action";
|
|
160
|
+
readonly preparedAt: "prepared_at";
|
|
161
|
+
readonly reviewedRevision: "reviewed_revision";
|
|
162
|
+
}>;
|
|
163
|
+
readonly id: Schema.String;
|
|
164
|
+
readonly prompt: Schema.String;
|
|
165
165
|
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never>, readonly []>;
|
|
166
166
|
//# sourceMappingURL=handoffContract.d.ts.map
|
|
@@ -173,53 +173,7 @@ export declare const responseContract: import("@shivaedev/effect-contract/contra
|
|
|
173
173
|
PublicationUncertain: typeof import("#rpc/rejections.ts").PublicationUncertain;
|
|
174
174
|
ServiceUnavailable: typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable;
|
|
175
175
|
Unanswered: typeof import("#rpc/rejections.ts").Unanswered;
|
|
176
|
-
}>], import("effect/rpc/Rpc").Rpc<"work-board.
|
|
177
|
-
after: Schema.optional<Schema.String>;
|
|
178
|
-
question: Schema.String;
|
|
179
|
-
}>, Schema.Struct<{
|
|
180
|
-
readonly expired: Schema.Boolean;
|
|
181
|
-
readonly question: Schema.Struct<{
|
|
182
|
-
readonly context: Schema.String;
|
|
183
|
-
readonly id: Schema.String;
|
|
184
|
-
readonly question: Schema.Struct<{
|
|
185
|
-
readonly deadline: Schema.Number;
|
|
186
|
-
readonly item: Schema.String;
|
|
187
|
-
readonly reason: Schema.String;
|
|
188
|
-
readonly registeredAt: Schema.Number;
|
|
189
|
-
readonly request: Schema.String;
|
|
190
|
-
readonly reviewedRevision: Schema.String;
|
|
191
|
-
readonly source: Schema.String;
|
|
192
|
-
}>;
|
|
193
|
-
}>;
|
|
194
|
-
readonly response: Schema.optional<Schema.Struct<{
|
|
195
|
-
readonly body: Schema.String;
|
|
196
|
-
readonly id: Schema.String;
|
|
197
|
-
readonly response: Schema.Struct<{
|
|
198
|
-
readonly answers: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
199
|
-
readonly prompt: Schema.String;
|
|
200
|
-
readonly selected: Schema.$Array<Schema.String>;
|
|
201
|
-
readonly text: Schema.String;
|
|
202
|
-
}>>>;
|
|
203
|
-
readonly author: Schema.String;
|
|
204
|
-
readonly question: Schema.String;
|
|
205
|
-
readonly recordedAt: Schema.Number;
|
|
206
|
-
readonly reviewedRevision: Schema.String;
|
|
207
|
-
readonly supersedes: Schema.optional<Schema.String>;
|
|
208
|
-
readonly type: Schema.Literals<readonly ["answer", "clarify", "not_now"]>;
|
|
209
|
-
}>;
|
|
210
|
-
}>>;
|
|
211
|
-
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.question", Schema.Struct<{
|
|
212
|
-
item: Schema.String;
|
|
213
|
-
request: Schema.String;
|
|
214
|
-
}>, Schema.Struct<{
|
|
215
|
-
readonly context: Schema.String;
|
|
216
|
-
readonly id: Schema.String;
|
|
217
|
-
readonly item: Schema.String;
|
|
218
|
-
readonly reason: Schema.String;
|
|
219
|
-
readonly request: Schema.String;
|
|
220
|
-
readonly reviewedRevision: Schema.String;
|
|
221
|
-
readonly source: Schema.String;
|
|
222
|
-
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.recordResponse", Schema.Struct<{
|
|
176
|
+
}>], import("effect/rpc/Rpc").Rpc<"work-board.recordResponse", Schema.Struct<{
|
|
223
177
|
readonly answers: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
224
178
|
readonly prompt: Schema.String;
|
|
225
179
|
readonly selected: Schema.$Array<Schema.String>;
|
|
@@ -247,22 +201,52 @@ export declare const responseContract: import("@shivaedev/effect-contract/contra
|
|
|
247
201
|
readonly supersedes: Schema.optional<Schema.String>;
|
|
248
202
|
readonly type: Schema.Literals<readonly ["answer", "clarify", "not_now"]>;
|
|
249
203
|
}>;
|
|
250
|
-
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.
|
|
204
|
+
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.question", Schema.Struct<{
|
|
251
205
|
item: Schema.String;
|
|
252
206
|
request: Schema.String;
|
|
253
|
-
revision: Schema.String;
|
|
254
207
|
}>, Schema.Struct<{
|
|
255
208
|
readonly context: Schema.String;
|
|
256
209
|
readonly id: Schema.String;
|
|
210
|
+
readonly item: Schema.String;
|
|
211
|
+
readonly reason: Schema.String;
|
|
212
|
+
readonly request: Schema.String;
|
|
213
|
+
readonly reviewedRevision: Schema.String;
|
|
214
|
+
readonly source: Schema.String;
|
|
215
|
+
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.awaitResponse", Schema.Struct<{
|
|
216
|
+
after: Schema.optional<Schema.String>;
|
|
217
|
+
question: Schema.String;
|
|
218
|
+
}>, Schema.Struct<{
|
|
219
|
+
readonly expired: Schema.Boolean;
|
|
257
220
|
readonly question: Schema.Struct<{
|
|
258
|
-
readonly
|
|
259
|
-
readonly
|
|
260
|
-
readonly
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
221
|
+
readonly context: Schema.String;
|
|
222
|
+
readonly id: Schema.String;
|
|
223
|
+
readonly question: Schema.Struct<{
|
|
224
|
+
readonly deadline: Schema.Number;
|
|
225
|
+
readonly item: Schema.String;
|
|
226
|
+
readonly reason: Schema.String;
|
|
227
|
+
readonly registeredAt: Schema.Number;
|
|
228
|
+
readonly request: Schema.String;
|
|
229
|
+
readonly reviewedRevision: Schema.String;
|
|
230
|
+
readonly source: Schema.String;
|
|
231
|
+
}>;
|
|
265
232
|
}>;
|
|
233
|
+
readonly response: Schema.optional<Schema.Struct<{
|
|
234
|
+
readonly body: Schema.String;
|
|
235
|
+
readonly id: Schema.String;
|
|
236
|
+
readonly response: Schema.Struct<{
|
|
237
|
+
readonly answers: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
238
|
+
readonly prompt: Schema.String;
|
|
239
|
+
readonly selected: Schema.$Array<Schema.String>;
|
|
240
|
+
readonly text: Schema.String;
|
|
241
|
+
}>>>;
|
|
242
|
+
readonly author: Schema.String;
|
|
243
|
+
readonly question: Schema.String;
|
|
244
|
+
readonly recordedAt: Schema.Number;
|
|
245
|
+
readonly reviewedRevision: Schema.String;
|
|
246
|
+
readonly supersedes: Schema.optional<Schema.String>;
|
|
247
|
+
readonly type: Schema.Literals<readonly ["answer", "clarify", "not_now"]>;
|
|
248
|
+
}>;
|
|
249
|
+
}>>;
|
|
266
250
|
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.responses", Schema.Struct<{
|
|
267
251
|
question: Schema.String;
|
|
268
252
|
}>, Schema.Struct<{
|
|
@@ -296,5 +280,21 @@ export declare const responseContract: import("@shivaedev/effect-contract/contra
|
|
|
296
280
|
readonly type: Schema.Literals<readonly ["answer", "clarify", "not_now"]>;
|
|
297
281
|
}>;
|
|
298
282
|
}>>;
|
|
283
|
+
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.registerQuestion", Schema.Struct<{
|
|
284
|
+
item: Schema.String;
|
|
285
|
+
request: Schema.String;
|
|
286
|
+
revision: Schema.String;
|
|
287
|
+
}>, Schema.Struct<{
|
|
288
|
+
readonly context: Schema.String;
|
|
289
|
+
readonly id: Schema.String;
|
|
290
|
+
readonly question: Schema.Struct<{
|
|
291
|
+
readonly deadline: Schema.Number;
|
|
292
|
+
readonly item: Schema.String;
|
|
293
|
+
readonly reason: Schema.String;
|
|
294
|
+
readonly registeredAt: Schema.Number;
|
|
295
|
+
readonly request: Schema.String;
|
|
296
|
+
readonly reviewedRevision: Schema.String;
|
|
297
|
+
readonly source: Schema.String;
|
|
298
|
+
}>;
|
|
299
299
|
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | typeof import("#rpc/rejections.ts").PublicationUncertain | typeof import("#rpc/rejections.ts").Unanswered)[]>, typeof RequestTracing, never>, readonly []>;
|
|
300
300
|
//# sourceMappingURL=responseContract.d.ts.map
|
package/dist/server/board.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FileSystem, Layer, type Path, type PlatformError } from "effect";
|
|
2
2
|
import { HttpRouter } from "effect/http";
|
|
3
3
|
import type { InternalServerError } from "@shivaedev/platform/errors/taxonomy.ts";
|
|
4
|
-
import type { RenderFailed } from "#render/
|
|
4
|
+
import type { RenderFailed } from "#render/Failed.ts";
|
|
5
5
|
import type { HomeMissing } from "#server/files/home.ts";
|
|
6
6
|
import type { MermaidMissing } from "#server/http/assets.ts";
|
|
7
7
|
export interface BoardOptions {
|
|
@@ -27,6 +27,16 @@ declare function makeDaemonClient(): Effect.Effect<RpcClient.RpcClient.Flat<impo
|
|
|
27
27
|
readonly state: import("effect/Schema").Literal<"ready">;
|
|
28
28
|
readonly value: import("effect/Schema").Struct<{
|
|
29
29
|
readonly concurrency: import("effect/Schema").Int;
|
|
30
|
+
readonly github: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
31
|
+
readonly limit: import("effect/Schema").Int;
|
|
32
|
+
readonly limitedBy: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["rate-limit", "reserve"]>>;
|
|
33
|
+
readonly limitedUntil: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
34
|
+
readonly observedAt: import("effect/Schema").Number;
|
|
35
|
+
readonly remaining: import("effect/Schema").Int;
|
|
36
|
+
readonly reset: import("effect/Schema").Int;
|
|
37
|
+
readonly resource: import("effect/Schema").String;
|
|
38
|
+
readonly used: import("effect/Schema").Int;
|
|
39
|
+
}>>>;
|
|
30
40
|
readonly lastCapacityRejection: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
31
41
|
readonly at: import("effect/Schema").Number;
|
|
32
42
|
readonly cause: import("effect/Schema").String;
|
|
@@ -51,18 +61,16 @@ declare function makeDaemonClient(): Effect.Effect<RpcClient.RpcClient.Flat<impo
|
|
|
51
61
|
readonly github: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
52
62
|
readonly observedAt: import("effect/Schema").Number;
|
|
53
63
|
readonly state: import("effect/Schema").Literal<"ready">;
|
|
54
|
-
readonly value: import("effect/Schema").Struct<{
|
|
55
|
-
readonly
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
readonly
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}>;
|
|
65
|
-
}>;
|
|
64
|
+
readonly value: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
65
|
+
readonly limit: import("effect/Schema").Int;
|
|
66
|
+
readonly limitedBy: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["rate-limit", "reserve"]>>;
|
|
67
|
+
readonly limitedUntil: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
68
|
+
readonly observedAt: import("effect/Schema").Number;
|
|
69
|
+
readonly remaining: import("effect/Schema").Int;
|
|
70
|
+
readonly reset: import("effect/Schema").Int;
|
|
71
|
+
readonly resource: import("effect/Schema").String;
|
|
72
|
+
readonly used: import("effect/Schema").Int;
|
|
73
|
+
}>>;
|
|
66
74
|
}>, import("effect/Schema").Struct<{
|
|
67
75
|
readonly cause: import("effect/Schema").String;
|
|
68
76
|
readonly observedAt: import("effect/Schema").Number;
|
|
@@ -86,7 +94,7 @@ declare function makeDaemonClient(): Effect.Effect<RpcClient.RpcClient.Flat<impo
|
|
|
86
94
|
readonly updatedAt: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
87
95
|
readonly workId: import("effect/Schema").String;
|
|
88
96
|
}>>;
|
|
89
|
-
}>, import("effect/Schema").
|
|
97
|
+
}>, import("effect/Schema").Union<readonly typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable[]>, never, never>, RpcClientError>, never, RpcClient.Protocol | import("effect/Scope").Scope>;
|
|
90
98
|
type DaemonClient = Effect.Success<ReturnType<typeof makeDaemonClient>>;
|
|
91
99
|
export declare function daemonUnavailableReason(error: unknown, port: number): string;
|
|
92
100
|
export declare function readDaemon<A, E>(port: number, read: (client: DaemonClient) => Effect.Effect<A, E>): Effect.Effect<A, E | import("effect/Cause").TimeoutError, never>;
|
|
@@ -116,6 +124,16 @@ export declare function daemonDiagnostics(port?: number | null): Effect.Effect<{
|
|
|
116
124
|
readonly state: "ready";
|
|
117
125
|
readonly value: {
|
|
118
126
|
readonly concurrency: number;
|
|
127
|
+
readonly github?: readonly {
|
|
128
|
+
readonly limit: number;
|
|
129
|
+
readonly limitedBy: "rate-limit" | "reserve" | null;
|
|
130
|
+
readonly limitedUntil: number | null;
|
|
131
|
+
readonly observedAt: number;
|
|
132
|
+
readonly remaining: number;
|
|
133
|
+
readonly reset: number;
|
|
134
|
+
readonly resource: string;
|
|
135
|
+
readonly used: number;
|
|
136
|
+
}[] | undefined;
|
|
119
137
|
readonly lastCapacityRejection: {
|
|
120
138
|
readonly at: number;
|
|
121
139
|
readonly cause: string;
|
|
@@ -140,18 +158,16 @@ export declare function daemonDiagnostics(port?: number | null): Effect.Effect<{
|
|
|
140
158
|
readonly github: {
|
|
141
159
|
readonly observedAt: number;
|
|
142
160
|
readonly state: "ready";
|
|
143
|
-
readonly value: {
|
|
144
|
-
readonly
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
readonly
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
};
|
|
154
|
-
};
|
|
161
|
+
readonly value: readonly {
|
|
162
|
+
readonly limit: number;
|
|
163
|
+
readonly limitedBy: "rate-limit" | "reserve" | null;
|
|
164
|
+
readonly limitedUntil: number | null;
|
|
165
|
+
readonly observedAt: number;
|
|
166
|
+
readonly remaining: number;
|
|
167
|
+
readonly reset: number;
|
|
168
|
+
readonly resource: string;
|
|
169
|
+
readonly used: number;
|
|
170
|
+
}[];
|
|
155
171
|
} | {
|
|
156
172
|
readonly cause: string;
|
|
157
173
|
readonly observedAt: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daemon.d.ts","sourceRoot":"","sources":["../../../src/server/diagnostics/daemon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,MAAM,EAAS,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAoB,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,iBAAS,gBAAgB
|
|
1
|
+
{"version":3,"file":"daemon.d.ts","sourceRoot":"","sources":["../../../src/server/diagnostics/daemon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,MAAM,EAAS,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAoB,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,iBAAS,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oNAExB;AACD,KAAK,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;AAExE,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,UAKnE;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,oEAcjG;AAED,wBAAgB,iBAAiB,CAAC,IAAI,GAAE,MAAM,GAAG,IAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAcuD,OAAO;;;;;;;;;;;;iBAKhI"}
|
|
@@ -2,6 +2,16 @@ import { Effect } from "effect";
|
|
|
2
2
|
import { SourceFailure } from "#diagnostics/source.ts";
|
|
3
3
|
export declare function fleetHealth(root: string): Effect.Effect<{
|
|
4
4
|
readonly concurrency: number;
|
|
5
|
+
readonly github?: readonly {
|
|
6
|
+
readonly limit: number;
|
|
7
|
+
readonly limitedBy: "rate-limit" | "reserve" | null;
|
|
8
|
+
readonly limitedUntil: number | null;
|
|
9
|
+
readonly observedAt: number;
|
|
10
|
+
readonly remaining: number;
|
|
11
|
+
readonly reset: number;
|
|
12
|
+
readonly resource: string;
|
|
13
|
+
readonly used: number;
|
|
14
|
+
}[] | undefined;
|
|
5
15
|
readonly lastCapacityRejection: {
|
|
6
16
|
readonly at: number;
|
|
7
17
|
readonly cause: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fleetHealth.d.ts","sourceRoot":"","sources":["../../../src/server/diagnostics/fleetHealth.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAkCvD,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"fleetHealth.d.ts","sourceRoot":"","sources":["../../../src/server/diagnostics/fleetHealth.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAkCvD,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA8BvC"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}, SourceFailure, never>;
|
|
2
|
+
import type { FleetHealth } from "#diagnostics/health.ts";
|
|
3
|
+
import { type Source, SourceFailure } from "#diagnostics/source.ts";
|
|
4
|
+
export declare function githubLimits(fleet: Source<FleetHealth>): Effect.Effect<readonly {
|
|
5
|
+
readonly limit: number;
|
|
6
|
+
readonly limitedBy: "rate-limit" | "reserve" | null;
|
|
7
|
+
readonly limitedUntil: number | null;
|
|
8
|
+
readonly observedAt: number;
|
|
9
|
+
readonly remaining: number;
|
|
10
|
+
readonly reset: number;
|
|
11
|
+
readonly resource: string;
|
|
12
|
+
readonly used: number;
|
|
13
|
+
}[], SourceFailure, never>;
|
|
15
14
|
//# sourceMappingURL=githubLimits.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"githubLimits.d.ts","sourceRoot":"","sources":["../../../src/server/diagnostics/githubLimits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"githubLimits.d.ts","sourceRoot":"","sources":["../../../src/server/diagnostics/githubLimits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,MAAM,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEpE,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC;;;;;;;;;2BAQtD"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Effect
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { Effect } from "effect";
|
|
2
|
+
import { SourceFailure } from "#diagnostics/source.ts";
|
|
3
|
+
export function githubLimits(fleet) {
|
|
4
|
+
return fleet.pipe(Effect.flatMap(({ github }) => github === undefined || github.length === 0
|
|
5
|
+
? Effect.fail(new SourceFailure({ kind: "not-configured", message: "Fleet has not recorded a GitHub response yet" }))
|
|
6
|
+
: Effect.succeed(github)));
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=githubLimits.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"githubLimits.js","sourceRoot":"","sources":["../../../src/server/diagnostics/githubLimits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"githubLimits.js","sourceRoot":"","sources":["../../../src/server/diagnostics/githubLimits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAe,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEpE,MAAM,UAAU,YAAY,CAAC,KAA0B;IACtD,OAAO,KAAK,CAAC,IAAI,CAChB,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAC7B,MAAM,KAAK,SAAS,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAC1C,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,8CAA8C,EAAE,CAAC,CAAC;QACrH,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CACzB,CACD,CAAC;AACH,CAAC"}
|