@knpkv/herdr-coordinator 0.3.6 → 0.3.8
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/chat.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare const makeCoordinatorChat: (options: CoordinatorChatOptions) => E
|
|
|
44
44
|
readonly url: string;
|
|
45
45
|
};
|
|
46
46
|
})[];
|
|
47
|
-
}, ChatHistoryError | import("@knpkv/herdr-fleet").FleetJobNotFoundError | import("@knpkv/herdr-fleet").FleetStoreError, never>;
|
|
47
|
+
}, ChatHistoryError | import("@knpkv/herdr-fleet").FleetJobNotFoundError | import("@knpkv/herdr-fleet").FleetStoreBusyError | import("@knpkv/herdr-fleet").FleetStoreError, never>;
|
|
48
48
|
run: (jobId: string) => Effect.Effect<{
|
|
49
49
|
readonly id: string;
|
|
50
50
|
readonly createdAt: number;
|
|
@@ -231,7 +231,7 @@ export declare const makeCoordinatorChat: (options: CoordinatorChatOptions) => E
|
|
|
231
231
|
readonly url: string;
|
|
232
232
|
};
|
|
233
233
|
readonly workerTerminalObservedAt?: number | null;
|
|
234
|
-
}, ChatHistoryError | import("@knpkv/herdr-fleet").FleetApprovalError | import("@knpkv/herdr-fleet").FleetJobNotFoundError | import("@knpkv/herdr-fleet").FleetOperationError | import("@knpkv/herdr-fleet").FleetStoreError | import("@knpkv/herdr-fleet").FleetTransitionConflictError | import("@knpkv/herdr-fleet").FleetValidationError, never>;
|
|
234
|
+
}, ChatHistoryError | import("@knpkv/herdr-fleet").FleetApprovalError | import("@knpkv/herdr-fleet").FleetJobNotFoundError | import("@knpkv/herdr-fleet").FleetOperationError | import("@knpkv/herdr-fleet").FleetStoreBusyError | import("@knpkv/herdr-fleet").FleetStoreError | import("@knpkv/herdr-fleet").FleetTransitionConflictError | import("@knpkv/herdr-fleet").FleetValidationError, never>;
|
|
235
235
|
submit: (request: ChatRequest, actor: string) => Effect.Effect<{
|
|
236
236
|
entry: {
|
|
237
237
|
createdAt: number;
|
|
@@ -267,7 +267,7 @@ export declare const makeCoordinatorChat: (options: CoordinatorChatOptions) => E
|
|
|
267
267
|
};
|
|
268
268
|
jobId: string;
|
|
269
269
|
queued: boolean;
|
|
270
|
-
}, ChatHistoryError | import("@knpkv/herdr-fleet").FleetJobConflictError | import("@knpkv/herdr-fleet").FleetOperationError | import("@knpkv/herdr-fleet").FleetOperationUnavailableError | import("@knpkv/herdr-fleet").FleetStoreError | import("@knpkv/herdr-fleet").FleetValidationError, never>;
|
|
270
|
+
}, ChatHistoryError | import("@knpkv/herdr-fleet").FleetJobConflictError | import("@knpkv/herdr-fleet").FleetOperationError | import("@knpkv/herdr-fleet").FleetOperationUnavailableError | import("@knpkv/herdr-fleet").FleetStoreBusyError | import("@knpkv/herdr-fleet").FleetStoreError | import("@knpkv/herdr-fleet").FleetValidationError, never>;
|
|
271
271
|
}, never, Crypto.Crypto>;
|
|
272
272
|
export type CoordinatorChat = Effect.Success<ReturnType<typeof makeCoordinatorChat>>;
|
|
273
273
|
//# sourceMappingURL=chat.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Context, Effect, Layer } from "effect";
|
|
2
2
|
import * as EvidenceModel from "./pull-request-evidence-model.js";
|
|
3
3
|
export interface PullRequestEvidenceSourceService {
|
|
4
4
|
/** Reads all fields in one bounded provider observation, sampling the head before and after the read. */
|
|
@@ -14,6 +14,6 @@ declare const PullRequestEvidenceProvider_base: Context.ServiceClass<PullRequest
|
|
|
14
14
|
export declare class PullRequestEvidenceProvider extends PullRequestEvidenceProvider_base {
|
|
15
15
|
}
|
|
16
16
|
/** Supplies exact-head evidence from one atomic source observation. */
|
|
17
|
-
export declare const pullRequestEvidenceLayer: Layer.Layer<PullRequestEvidenceProvider, never, PullRequestEvidenceSource
|
|
17
|
+
export declare const pullRequestEvidenceLayer: Layer.Layer<PullRequestEvidenceProvider, never, PullRequestEvidenceSource>;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=pull-request-evidence.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pull-request-evidence.d.ts","sourceRoot":"","sources":["../src/pull-request-evidence.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"pull-request-evidence.d.ts","sourceRoot":"","sources":["../src/pull-request-evidence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,OAAO,EAAE,MAAM,EAAE,KAAK,EAAU,MAAM,QAAQ,CAAA;AAC9D,OAAO,KAAK,aAAa,MAAM,kCAAkC,CAAA;AAIjE,MAAM,WAAW,gCAAgC;IAC/C,yGAAyG;IACzG,QAAQ,CAAC,OAAO,EAAE,CAChB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,KAChB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,4BAA4B,EAAE,aAAa,CAAC,8BAA8B,CAAC,CAAA;CAC7G;;AAED,qBAAa,yBAA0B,SAAQ,8BAGU;CAAG;AAE5D,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,qBAAqB,EAAE,CAC9B,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,aAAa,CAAC,SAAS,KAClC,MAAM,CAAC,MAAM,CAChB,aAAa,CAAC,oBAAoB,EAChC,aAAa,CAAC,8BAA8B,GAC5C,aAAa,CAAC,0BAA0B,GACxC,aAAa,CAAC,wBAAwB,CACzC,CAAA;CACF;;AAED,qBAAa,2BAA4B,SAAQ,gCAGU;CAAG;AAyH9D,uEAAuE;AACvE,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,KAAK,CAChD,2BAA2B,EAC3B,KAAK,EACL,yBAAyB,CACmD,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knpkv/herdr-coordinator",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"description": "Persistent coordinator chat contracts for Herdr fleet jobs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "knpkv",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@effect/platform-node": "4.0.0",
|
|
38
38
|
"@effect/sql-sqlite-node": "4.0.0",
|
|
39
39
|
"effect": "4.0.0",
|
|
40
|
-
"@knpkv/herdr-fleet": "^0.
|
|
41
|
-
"@knpkv/herdr-work": "^0.9.
|
|
40
|
+
"@knpkv/herdr-fleet": "^0.9.0",
|
|
41
|
+
"@knpkv/herdr-work": "^0.9.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@effect/vitest": "4.0.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "rimraf dist && tsc -b --force",
|
|
52
|
-
"check": "tsc -b tsconfig.json",
|
|
52
|
+
"check": "tsc -b tsconfig.json && tsc -p test/tsconfig.json --noEmit",
|
|
53
53
|
"clean": "rimraf dist *.tsbuildinfo",
|
|
54
54
|
"lint": "eslint \"{src,test}/**/*.ts\"",
|
|
55
55
|
"pack:deterministic": "pnpm build && node ../../scripts/pack-herdr.mjs .",
|