@systemfsoftware/agent-pr-review 0.1.0-beta.192 → 0.1.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.
|
@@ -219,13 +219,13 @@ declare const makeReviewer: <Provider, ModelProvides, ModelRequires>(options: Re
|
|
|
219
219
|
readonly success: typeof ReviewFileList;
|
|
220
220
|
readonly failure: typeof ReviewContextError;
|
|
221
221
|
readonly failureMode: "return";
|
|
222
|
-
}, never>;
|
|
222
|
+
}, never, Tool.Execution>;
|
|
223
223
|
readonly list_sources: Tool.Tool<"list_sources", {
|
|
224
224
|
readonly parameters: Tool.EmptyParams;
|
|
225
225
|
readonly success: Schema.$Array<typeof ReviewDependencySource>;
|
|
226
226
|
readonly failure: Schema.Never;
|
|
227
227
|
readonly failureMode: "error";
|
|
228
|
-
}, never>;
|
|
228
|
+
}, never, Tool.Execution>;
|
|
229
229
|
readonly read_file: Tool.Tool<"read_file", {
|
|
230
230
|
readonly parameters: Schema.Struct<{
|
|
231
231
|
readonly source: Schema.optionalKey<Schema.NonEmptyString>;
|
|
@@ -237,7 +237,7 @@ declare const makeReviewer: <Provider, ModelProvides, ModelRequires>(options: Re
|
|
|
237
237
|
readonly success: typeof ReviewSource;
|
|
238
238
|
readonly failure: typeof ReviewContextError;
|
|
239
239
|
readonly failureMode: "return";
|
|
240
|
-
}, never>;
|
|
240
|
+
}, never, Tool.Execution>;
|
|
241
241
|
readonly search_code: Tool.Tool<"search_code", {
|
|
242
242
|
readonly parameters: Schema.Struct<{
|
|
243
243
|
readonly source: Schema.optionalKey<Schema.NonEmptyString>;
|
|
@@ -249,7 +249,7 @@ declare const makeReviewer: <Provider, ModelProvides, ModelRequires>(options: Re
|
|
|
249
249
|
readonly success: typeof ReviewSearchResult;
|
|
250
250
|
readonly failure: typeof ReviewContextError;
|
|
251
251
|
readonly failureMode: "return";
|
|
252
|
-
}, never>;
|
|
252
|
+
}, never, Tool.Execution>;
|
|
253
253
|
}>>, import("effect/Scope").Scope> | Exclude<Exclude<Exclude<Exclude<Exclude<(Agent.ModelServices extends ModelProvides | LanguageModel.LanguageModel | Model.ModelName | Model.ProviderName ? Model.Model<Provider, ModelProvides | LanguageModel.LanguageModel, ModelRequires> : never) extends (infer T_1) ? T_1 extends (Agent.ModelServices extends ModelProvides | LanguageModel.LanguageModel | Model.ModelName | Model.ProviderName ? Model.Model<Provider, ModelProvides | LanguageModel.LanguageModel, ModelRequires> : never) ? T_1 extends Layer.Layer<infer _Provides, infer _Error, infer Services> ? Services : never : never : never, AgentRuntime.EngineProvidedToolServices>, Tool.Handler<"delegate_research"> | Tool.Handler<"record_finding"> | Tool.Handler<"submit_review"> | Tool.HandlersFor<{
|
|
254
254
|
readonly new_context: Tool.Tool<"new_context", {
|
|
255
255
|
readonly parameters: Schema.Struct<{
|
|
@@ -260,7 +260,7 @@ declare const makeReviewer: <Provider, ModelProvides, ModelRequires>(options: Re
|
|
|
260
260
|
}>;
|
|
261
261
|
readonly failure: Schema.Never;
|
|
262
262
|
readonly failureMode: "error";
|
|
263
|
-
}, never>;
|
|
263
|
+
}, never, Tool.Execution>;
|
|
264
264
|
readonly read_diff: Tool.Tool<"read_diff", {
|
|
265
265
|
readonly parameters: Schema.Struct<{
|
|
266
266
|
readonly offset: Schema.Natural;
|
|
@@ -273,7 +273,7 @@ declare const makeReviewer: <Provider, ModelProvides, ModelRequires>(options: Re
|
|
|
273
273
|
}>;
|
|
274
274
|
readonly failure: typeof ReviewVerificationError;
|
|
275
275
|
readonly failureMode: "return";
|
|
276
|
-
}, never>;
|
|
276
|
+
}, never, Tool.Execution>;
|
|
277
277
|
readonly review_status: Tool.Tool<"review_status", {
|
|
278
278
|
readonly parameters: Schema.Struct<{
|
|
279
279
|
readonly cursor: Schema.optionalKey<Schema.Natural>;
|
|
@@ -296,7 +296,7 @@ declare const makeReviewer: <Provider, ModelProvides, ModelRequires>(options: Re
|
|
|
296
296
|
}>;
|
|
297
297
|
readonly failure: typeof ReviewVerificationError;
|
|
298
298
|
readonly failureMode: "return";
|
|
299
|
-
}, never>;
|
|
299
|
+
}, never, Tool.Execution>;
|
|
300
300
|
}>>, ContextCompactor>, ContextCompactor | import("@systemfsoftware/agent/run-options").RunContextPreparation | import("@systemfsoftware/agent/thread").Store | ThreadHistory | Tool.HandlersFor<{
|
|
301
301
|
readonly find_files: Tool.Tool<"find_files", {
|
|
302
302
|
readonly parameters: Schema.Struct<{
|
|
@@ -307,13 +307,13 @@ declare const makeReviewer: <Provider, ModelProvides, ModelRequires>(options: Re
|
|
|
307
307
|
readonly success: typeof ReviewFileList;
|
|
308
308
|
readonly failure: typeof ReviewContextError;
|
|
309
309
|
readonly failureMode: "return";
|
|
310
|
-
}, never>;
|
|
310
|
+
}, never, Tool.Execution>;
|
|
311
311
|
readonly list_sources: Tool.Tool<"list_sources", {
|
|
312
312
|
readonly parameters: Tool.EmptyParams;
|
|
313
313
|
readonly success: Schema.$Array<typeof ReviewDependencySource>;
|
|
314
314
|
readonly failure: Schema.Never;
|
|
315
315
|
readonly failureMode: "error";
|
|
316
|
-
}, never>;
|
|
316
|
+
}, never, Tool.Execution>;
|
|
317
317
|
readonly read_file: Tool.Tool<"read_file", {
|
|
318
318
|
readonly parameters: Schema.Struct<{
|
|
319
319
|
readonly source: Schema.optionalKey<Schema.NonEmptyString>;
|
|
@@ -325,7 +325,7 @@ declare const makeReviewer: <Provider, ModelProvides, ModelRequires>(options: Re
|
|
|
325
325
|
readonly success: typeof ReviewSource;
|
|
326
326
|
readonly failure: typeof ReviewContextError;
|
|
327
327
|
readonly failureMode: "return";
|
|
328
|
-
}, never>;
|
|
328
|
+
}, never, Tool.Execution>;
|
|
329
329
|
readonly search_code: Tool.Tool<"search_code", {
|
|
330
330
|
readonly parameters: Schema.Struct<{
|
|
331
331
|
readonly source: Schema.optionalKey<Schema.NonEmptyString>;
|
|
@@ -337,7 +337,7 @@ declare const makeReviewer: <Provider, ModelProvides, ModelRequires>(options: Re
|
|
|
337
337
|
readonly success: typeof ReviewSearchResult;
|
|
338
338
|
readonly failure: typeof ReviewContextError;
|
|
339
339
|
readonly failureMode: "return";
|
|
340
|
-
}, never>;
|
|
340
|
+
}, never, Tool.Execution>;
|
|
341
341
|
}>>, import("effect/Scope").Scope>>;
|
|
342
342
|
};
|
|
343
343
|
export { ReviewVerificationError as C, makeReviewer as D, isCommentableLine as E, ReviewUsage as S, ReviewerOptions as T, ReviewRequest as _, ReviewCategory as a, ReviewResolution as b, ReviewCompactionEvent as c, ReviewCostSnapshot as d, ReviewDiscussion as f, ReviewReport as g, ReviewOutcome as h, MAX_REVIEW_TOTAL_PATCH_CHARS as i, ReviewContextTokenLimit as l, ReviewFollowUp as m, MAX_REVIEW_FILES as n, ReviewChange as o, ReviewFinding as p, MAX_REVIEW_PATCH_CHARS as r, ReviewCompaction as s, MAX_REVIEW_DISCUSSION_CHARS as t, ReviewCostControl as u, ReviewResearchConcurrency as v, Review_d_exports as w, ReviewSeverity as x, ReviewResearchStats as y };
|
package/dist/Review.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ReviewVerificationError, D as makeReviewer, E as isCommentableLine, S as ReviewUsage, T as ReviewerOptions, _ as ReviewRequest, a as ReviewCategory, b as ReviewResolution, c as ReviewCompactionEvent, d as ReviewCostSnapshot, f as ReviewDiscussion, g as ReviewReport, h as ReviewOutcome, i as MAX_REVIEW_TOTAL_PATCH_CHARS, l as ReviewContextTokenLimit, m as ReviewFollowUp, n as MAX_REVIEW_FILES, o as ReviewChange, p as ReviewFinding, r as MAX_REVIEW_PATCH_CHARS, s as ReviewCompaction, t as MAX_REVIEW_DISCUSSION_CHARS, u as ReviewCostControl, v as ReviewResearchConcurrency, x as ReviewSeverity, y as ReviewResearchStats } from "./Review-
|
|
1
|
+
import { C as ReviewVerificationError, D as makeReviewer, E as isCommentableLine, S as ReviewUsage, T as ReviewerOptions, _ as ReviewRequest, a as ReviewCategory, b as ReviewResolution, c as ReviewCompactionEvent, d as ReviewCostSnapshot, f as ReviewDiscussion, g as ReviewReport, h as ReviewOutcome, i as MAX_REVIEW_TOTAL_PATCH_CHARS, l as ReviewContextTokenLimit, m as ReviewFollowUp, n as MAX_REVIEW_FILES, o as ReviewChange, p as ReviewFinding, r as MAX_REVIEW_PATCH_CHARS, s as ReviewCompaction, t as MAX_REVIEW_DISCUSSION_CHARS, u as ReviewCostControl, v as ReviewResearchConcurrency, x as ReviewSeverity, y as ReviewResearchStats } from "./Review-fIJPjy8Y.mjs";
|
|
2
2
|
export { MAX_REVIEW_DISCUSSION_CHARS, MAX_REVIEW_FILES, MAX_REVIEW_PATCH_CHARS, MAX_REVIEW_TOTAL_PATCH_CHARS, ReviewCategory, ReviewChange, ReviewCompaction, ReviewCompactionEvent, ReviewContextTokenLimit, ReviewCostControl, ReviewCostSnapshot, ReviewDiscussion, ReviewFinding, ReviewFollowUp, ReviewOutcome, ReviewReport, ReviewRequest, ReviewResearchConcurrency, ReviewResearchStats, ReviewResolution, ReviewSeverity, ReviewUsage, ReviewVerificationError, ReviewerOptions, isCommentableLine, makeReviewer };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { w as Review_d_exports } from "./Review-
|
|
1
|
+
import { w as Review_d_exports } from "./Review-fIJPjy8Y.mjs";
|
|
2
2
|
import { t as ReviewRepository_d_exports } from "./ReviewRepository-BiF-tlen.mjs";
|
|
3
3
|
export { Review_d_exports as Review, ReviewRepository_d_exports as ReviewRepository };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/agent-pr-review",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "A provider-neutral, source-backed pull-request reviewer.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"provenance": true
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@systemfsoftware/agent": "0.1.0
|
|
37
|
+
"@systemfsoftware/agent": "0.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
41
|
-
"@effect/vitest": "4.1.
|
|
42
|
-
"effect": "4.1.
|
|
41
|
+
"@effect/vitest": "4.1.5",
|
|
42
|
+
"effect": "4.1.5",
|
|
43
43
|
"tsdown": "^0.23.0",
|
|
44
44
|
"typescript": "7.0.2",
|
|
45
45
|
"vitest": "5.0.3"
|