@llm4ts/shell 0.6.1 → 0.6.2
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/flows/modernize-bench.js
CHANGED
|
@@ -31,6 +31,7 @@ import { packageVersion } from "@llm4ts/flow/Package";
|
|
|
31
31
|
import { stage } from "@llm4ts/flow/PlanExecution";
|
|
32
32
|
import { mergeReviewResults } from "@llm4ts/flow/Review";
|
|
33
33
|
import { coverage, coverageUnits, features, matchingFiles } from "@llm4ts/flow/SpecChecks";
|
|
34
|
+
import { legacySourceWorkspaceLimits, workspaceLimitsFromEnv } from "@llm4ts/flow/Workspace";
|
|
34
35
|
import { ProgramArtifacts, ProgramUnit, extractProgramsResumably } from "@llm4ts/modernize/Artifacts";
|
|
35
36
|
import { asReadOnly, coderFromEnv } from "@llm4ts/runner/Connectors";
|
|
36
37
|
import { resolveFlowInput } from "@llm4ts/runner/FlowArgs";
|
|
@@ -79,7 +80,7 @@ const program = Effect.gen(function* () {
|
|
|
79
80
|
reasoning: asReadOnly(coder),
|
|
80
81
|
environment: process.env
|
|
81
82
|
}, (context) => Effect.scoped(Effect.gen(function* () {
|
|
82
|
-
const estate = yield* makeNodeWorkspace(input.workDir);
|
|
83
|
+
const estate = yield* makeNodeWorkspace(input.workDir, workspaceLimitsFromEnv(process.env, legacySourceWorkspaceLimits));
|
|
83
84
|
const { pack } = yield* stage(context.events, "pack", openPack({
|
|
84
85
|
environment: process.env,
|
|
85
86
|
launchDir: input.workspace,
|
|
@@ -30,6 +30,7 @@ import { FlowAborted, FlowLlmError } from "@llm4ts/flow/FlowError";
|
|
|
30
30
|
import { Info } from "@llm4ts/flow/FlowEvents";
|
|
31
31
|
import { makeChat } from "@llm4ts/flow/Chat";
|
|
32
32
|
import { loadPatternCards, matchingPatternCards } from "@llm4ts/flow/Patterns";
|
|
33
|
+
import { legacySourceWorkspaceLimits, workspaceLimitsFromEnv } from "@llm4ts/flow/Workspace";
|
|
33
34
|
import { stage } from "@llm4ts/flow/PlanExecution";
|
|
34
35
|
import { defaultPlanInstructions, planFrom } from "@llm4ts/flow/Planner";
|
|
35
36
|
import { ReviewIssue, ReviewResult, mergeReviewResults } from "@llm4ts/flow/Review";
|
|
@@ -173,7 +174,7 @@ const program = Effect.gen(function* () {
|
|
|
173
174
|
reasoning: asReadOnly(coder),
|
|
174
175
|
environment: process.env
|
|
175
176
|
}, (context) => Effect.gen(function* () {
|
|
176
|
-
const repo = yield* makeNodeWorkspace(input.workDir);
|
|
177
|
+
const repo = yield* makeNodeWorkspace(input.workDir, workspaceLimitsFromEnv(process.env, legacySourceWorkspaceLimits));
|
|
177
178
|
const opened = yield* stage(context.events, "pack", openPack({
|
|
178
179
|
environment: process.env,
|
|
179
180
|
launchDir: input.workspace,
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llm4ts/shell",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Interactive shell and CLI for llm4ts: flow discovery, run-a-flow, and view",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@effect/platform-node": "^4.0.0-beta.102",
|
|
52
|
-
"@llm4ts/
|
|
53
|
-
"@llm4ts/
|
|
54
|
-
"@llm4ts/modernize": "0.6.
|
|
55
|
-
"@llm4ts/
|
|
52
|
+
"@llm4ts/core": "0.6.2",
|
|
53
|
+
"@llm4ts/flow": "0.6.2",
|
|
54
|
+
"@llm4ts/modernize": "0.6.2",
|
|
55
|
+
"@llm4ts/runner": "0.6.2"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"effect": "^4.0.0-beta.102"
|