@usine/orchestrator 0.6.1-next.756.g1c8bcea.1.1 → 0.7.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/operator/http.d.ts +20 -20
- package/package.json +11 -11
package/dist/operator/http.d.ts
CHANGED
|
@@ -220,26 +220,7 @@ export declare class ConfigurationRevertRefusal extends ConfigurationRevertRefus
|
|
|
220
220
|
* It returns 409 `WorkerPreflightRejectedError` while an attempt or another preflight uses
|
|
221
221
|
* that worker. The result updates configuration, overview, and desk reads without a restart.
|
|
222
222
|
*/
|
|
223
|
-
export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.HttpApiGroup<"conversation", HttpApiEndpoint.HttpApiEndpoint<"
|
|
224
|
-
readonly anchor: Schema.optionalKey<Schema.compose<Schema.brand<Schema.String, "AnchorKey">, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>;
|
|
225
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
226
|
-
readonly conversations: Schema.$Array<Schema.Struct<{
|
|
227
|
-
readonly conversation: typeof import("@usine/core/conversation").Conversation;
|
|
228
|
-
readonly lastTurn: Schema.NullOr<Schema.Struct<{
|
|
229
|
-
readonly id: Schema.brand<Schema.NonEmptyString, "TurnId">;
|
|
230
|
-
readonly conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
|
|
231
|
-
readonly member: typeof import("@usine/core/conversation").TurnMember;
|
|
232
|
-
readonly message: Schema.brand<Schema.Int, "MessageSequence">;
|
|
233
|
-
readonly reply: Schema.brand<Schema.NonEmptyString, "MessageFormat">;
|
|
234
|
-
readonly queuedAt: Schema.DateTimeUtc;
|
|
235
|
-
readonly state: Schema.Union<readonly [typeof import("@usine/core/conversation").Queued, typeof import("@usine/core/conversation").Running, typeof import("@usine/core/conversation").Succeeded, typeof import("@usine/core/conversation").Failed, typeof import("@usine/core/conversation").Canceled]>;
|
|
236
|
-
}>>;
|
|
237
|
-
readonly lastMessage: Schema.brand<Schema.Int, "MessageSequence">;
|
|
238
|
-
readonly lastActivity: Schema.DateTimeUtc;
|
|
239
|
-
readonly preview: Schema.String;
|
|
240
|
-
readonly unread: Schema.NullOr<Schema.Boolean>;
|
|
241
|
-
}>>;
|
|
242
|
-
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"startConversation", "POST", "/api/conversations", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
223
|
+
export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.HttpApiGroup<"conversation", HttpApiEndpoint.HttpApiEndpoint<"startConversation", "POST", "/api/conversations", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
243
224
|
readonly scope: Schema.Union<readonly [typeof import("@usine/core/access").InstanceScope, typeof import("@usine/core/access").ProjectScope]>;
|
|
244
225
|
readonly anchor: Schema.optionalKey<Schema.Struct<{
|
|
245
226
|
readonly kind: Schema.brand<Schema.NonEmptyString, "AnchorKind">;
|
|
@@ -282,6 +263,25 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
|
|
|
282
263
|
readonly reportedIn: Schema.NullOr<Schema.brand<Schema.NonEmptyString, "TurnId">>;
|
|
283
264
|
readonly answerable: Schema.Boolean;
|
|
284
265
|
}>>;
|
|
266
|
+
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"conversations", "GET", "/api/conversations", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
267
|
+
readonly anchor: Schema.optionalKey<Schema.compose<Schema.brand<Schema.String, "AnchorKey">, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>;
|
|
268
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
269
|
+
readonly conversations: Schema.$Array<Schema.Struct<{
|
|
270
|
+
readonly conversation: typeof import("@usine/core/conversation").Conversation;
|
|
271
|
+
readonly lastTurn: Schema.NullOr<Schema.Struct<{
|
|
272
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "TurnId">;
|
|
273
|
+
readonly conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
|
|
274
|
+
readonly member: typeof import("@usine/core/conversation").TurnMember;
|
|
275
|
+
readonly message: Schema.brand<Schema.Int, "MessageSequence">;
|
|
276
|
+
readonly reply: Schema.brand<Schema.NonEmptyString, "MessageFormat">;
|
|
277
|
+
readonly queuedAt: Schema.DateTimeUtc;
|
|
278
|
+
readonly state: Schema.Union<readonly [typeof import("@usine/core/conversation").Queued, typeof import("@usine/core/conversation").Running, typeof import("@usine/core/conversation").Succeeded, typeof import("@usine/core/conversation").Failed, typeof import("@usine/core/conversation").Canceled]>;
|
|
279
|
+
}>>;
|
|
280
|
+
readonly lastMessage: Schema.brand<Schema.Int, "MessageSequence">;
|
|
281
|
+
readonly lastActivity: Schema.DateTimeUtc;
|
|
282
|
+
readonly preview: Schema.String;
|
|
283
|
+
readonly unread: Schema.NullOr<Schema.Boolean>;
|
|
284
|
+
}>>;
|
|
285
285
|
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"conversation", "GET", "/api/conversations/:conversation", Schema.toCodecStringTree<Schema.Struct<{
|
|
286
286
|
conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
|
|
287
287
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usine/orchestrator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "The embeddable usine composition: the full engine as an Effect layer, startable in-process.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -134,14 +134,14 @@
|
|
|
134
134
|
"dependencies": {
|
|
135
135
|
"@effect/platform-node": "4.1.7",
|
|
136
136
|
"@effect/platform-node-shared": "4.1.7",
|
|
137
|
-
"@usine/agents": "0.
|
|
138
|
-
"@usine/config": "0.
|
|
139
|
-
"@usine/
|
|
140
|
-
"@usine/
|
|
141
|
-
"@usine/
|
|
142
|
-
"@usine/expression": "0.
|
|
143
|
-
"@usine/github": "0.
|
|
144
|
-
"@usine/
|
|
137
|
+
"@usine/agents": "0.8.0",
|
|
138
|
+
"@usine/config": "0.7.0",
|
|
139
|
+
"@usine/durable": "0.4.0",
|
|
140
|
+
"@usine/core": "0.8.0",
|
|
141
|
+
"@usine/executor": "0.7.0",
|
|
142
|
+
"@usine/expression": "0.7.0",
|
|
143
|
+
"@usine/github": "0.6.0",
|
|
144
|
+
"@usine/engine": "0.8.0"
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
147
|
"@effect/sql-sqlite-node": "4.1.7",
|
|
@@ -150,8 +150,8 @@
|
|
|
150
150
|
"typescript": "7.0.2",
|
|
151
151
|
"undici": "^8.14.0",
|
|
152
152
|
"vitest": "5.1.2",
|
|
153
|
-
"@usine/
|
|
154
|
-
"@usine/
|
|
153
|
+
"@usine/gateway": "0.4.0",
|
|
154
|
+
"@usine/tsconfig": "0.0.0"
|
|
155
155
|
},
|
|
156
156
|
"peerDependencies": {
|
|
157
157
|
"effect": "4.1.7"
|