@llm4ts/shell 3.2.5 → 3.3.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/Cli.d.ts +11 -3
- package/dist/Cli.d.ts.map +1 -1
- package/dist/Cli.js +125 -38
- package/dist/Cli.js.map +1 -1
- package/dist/Config.d.ts +238 -0
- package/dist/Config.d.ts.map +1 -0
- package/dist/Config.js +594 -0
- package/dist/Config.js.map +1 -0
- package/dist/ConfigCommand.d.ts +180 -0
- package/dist/ConfigCommand.d.ts.map +1 -0
- package/dist/ConfigCommand.js +903 -0
- package/dist/ConfigCommand.js.map +1 -0
- package/dist/ConfigEdit.d.ts +79 -0
- package/dist/ConfigEdit.d.ts.map +1 -0
- package/dist/ConfigEdit.js +110 -0
- package/dist/ConfigEdit.js.map +1 -0
- package/dist/ConfigTrust.d.ts +45 -0
- package/dist/ConfigTrust.d.ts.map +1 -0
- package/dist/ConfigTrust.js +72 -0
- package/dist/ConfigTrust.js.map +1 -0
- package/dist/FlowLaunch.d.ts +2 -3
- package/dist/FlowLaunch.d.ts.map +1 -1
- package/dist/FlowLaunch.js +1 -5
- package/dist/FlowLaunch.js.map +1 -1
- package/dist/FlowProcess.d.ts +3 -1
- package/dist/FlowProcess.d.ts.map +1 -1
- package/dist/FlowProcess.js.map +1 -1
- package/dist/Menu.d.ts +1 -1
- package/dist/Menu.d.ts.map +1 -1
- package/dist/Menu.js +33 -6
- package/dist/Menu.js.map +1 -1
- package/dist/RunSupervisor.d.ts +4 -3
- package/dist/RunSupervisor.d.ts.map +1 -1
- package/dist/RunSupervisor.js +26 -13
- package/dist/RunSupervisor.js.map +1 -1
- package/kits/j2ee-nextjs/README.md +2 -1
- package/kits/j2ee-nextjs/fixtures/demo-bank/RUNBOOK.md +32 -14
- package/kits/j2ee-nextjs/fixtures/demo-bank/reset-demo.mjs +3 -1
- package/package.json +8 -4
- package/src/Cli.ts +173 -45
- package/src/Config.ts +868 -0
- package/src/ConfigCommand.ts +1423 -0
- package/src/ConfigEdit.ts +180 -0
- package/src/ConfigTrust.ts +145 -0
- package/src/FlowLaunch.ts +3 -8
- package/src/FlowProcess.ts +3 -1
- package/src/Menu.ts +40 -7
- package/src/RunSupervisor.ts +26 -14
package/dist/Config.d.ts
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import * as Brand from "effect/Brand";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import * as Result from "effect/Result";
|
|
4
|
+
import * as Schema from "effect/Schema";
|
|
5
|
+
import type { PlainFileStoreShape } from "@llm4ts/flow/Persistence";
|
|
6
|
+
import { type Environment, type SettingFacts, type SettingName } from "@llm4ts/flow/Settings";
|
|
7
|
+
import { type ProjectTrust } from "./ConfigTrust.ts";
|
|
8
|
+
import { ShellUsageError } from "./ShellErrors.ts";
|
|
9
|
+
export type FileLayer = "project" | "global";
|
|
10
|
+
export type Source = {
|
|
11
|
+
readonly layer: "flag";
|
|
12
|
+
readonly flag: string;
|
|
13
|
+
} | {
|
|
14
|
+
readonly layer: "environment";
|
|
15
|
+
} | {
|
|
16
|
+
readonly layer: FileLayer;
|
|
17
|
+
readonly path: string;
|
|
18
|
+
readonly line: number;
|
|
19
|
+
};
|
|
20
|
+
export type ProblemSeverity = "error" | "warning" | "note";
|
|
21
|
+
export type ProblemKind = "malformed" | "unknown" | "unreadable" | "misplaced" | "duplicate" | "conflict" | "shadowed" | "untrusted";
|
|
22
|
+
export interface ConfigProblem {
|
|
23
|
+
readonly severity: ProblemSeverity;
|
|
24
|
+
readonly kind: ProblemKind;
|
|
25
|
+
/** Starts with where the problem is; never holds a value. */
|
|
26
|
+
readonly message: string;
|
|
27
|
+
readonly name?: string;
|
|
28
|
+
/** For an unknown name: the setting it most likely meant. */
|
|
29
|
+
readonly closest?: SettingName;
|
|
30
|
+
readonly source?: Source;
|
|
31
|
+
}
|
|
32
|
+
export type ConfigLine = {
|
|
33
|
+
readonly _tag: "Entry";
|
|
34
|
+
readonly line: number;
|
|
35
|
+
readonly name: string;
|
|
36
|
+
readonly value: string;
|
|
37
|
+
} | {
|
|
38
|
+
readonly _tag: "Other";
|
|
39
|
+
readonly line: number;
|
|
40
|
+
} | {
|
|
41
|
+
readonly _tag: "Malformed";
|
|
42
|
+
readonly line: number;
|
|
43
|
+
};
|
|
44
|
+
export interface ConfigFile {
|
|
45
|
+
readonly path: string;
|
|
46
|
+
readonly lines: ReadonlyArray<ConfigLine>;
|
|
47
|
+
readonly problems: ReadonlyArray<ConfigProblem>;
|
|
48
|
+
}
|
|
49
|
+
export interface FlagAssignment {
|
|
50
|
+
readonly name: string;
|
|
51
|
+
readonly value: string;
|
|
52
|
+
/** The flag that supplied it: `--set`, `--pack`. */
|
|
53
|
+
readonly flag: string;
|
|
54
|
+
}
|
|
55
|
+
/** One layer's value for a setting; a file's path value is already absolute. */
|
|
56
|
+
export interface Layered {
|
|
57
|
+
readonly source: Source;
|
|
58
|
+
readonly raw: string;
|
|
59
|
+
}
|
|
60
|
+
export interface ResolvedSetting extends Layered {
|
|
61
|
+
readonly name: SettingName;
|
|
62
|
+
/** Lower layers that also set it, highest first. */
|
|
63
|
+
readonly shadowed: ReadonlyArray<Layered>;
|
|
64
|
+
/** Renderers print "set", never `raw`. */
|
|
65
|
+
readonly secret: boolean;
|
|
66
|
+
}
|
|
67
|
+
export interface Resolution {
|
|
68
|
+
readonly facts: ReadonlyArray<SettingFacts>;
|
|
69
|
+
/** Settings some layer sets, in registry order; the rest are at their fallback. */
|
|
70
|
+
readonly settings: ReadonlyMap<SettingName, ResolvedSetting>;
|
|
71
|
+
readonly problems: ReadonlyArray<ConfigProblem>;
|
|
72
|
+
}
|
|
73
|
+
declare const ConfigFileError_base: Schema.Class<ConfigFileError, Schema.TaggedStruct<"ConfigFileError", {
|
|
74
|
+
readonly path: Schema.String;
|
|
75
|
+
readonly message: Schema.String;
|
|
76
|
+
}>, import("effect/Cause").YieldableError>;
|
|
77
|
+
export declare class ConfigFileError extends ConfigFileError_base {
|
|
78
|
+
}
|
|
79
|
+
/** Every registry entry, in registry order. */
|
|
80
|
+
export declare const registryFacts: ReadonlyArray<SettingFacts>;
|
|
81
|
+
export declare const homeOf: (environment: Environment) => string;
|
|
82
|
+
/** `${XDG_CONFIG_HOME:-~/.config}/llm4ts/config.env`. */
|
|
83
|
+
export declare const globalConfigPath: (environment: Environment) => string;
|
|
84
|
+
/** `<repo>/.llm4ts/config.env`: local to the clone, above the global file. */
|
|
85
|
+
export declare const projectConfigPath: (repo: string) => string;
|
|
86
|
+
export declare const describeSource: (source: Source) => string;
|
|
87
|
+
/**
|
|
88
|
+
* The strict dotenv subset: blank, `#` comment, or `[export ]NAME=value[ # comment]`
|
|
89
|
+
* with the value unquoted or wholly quoted. No escapes, no interpolation, no
|
|
90
|
+
* multi-line values; anything else is a malformed line.
|
|
91
|
+
*/
|
|
92
|
+
export declare const parseConfigFile: (text: string, path: string) => ConfigFile;
|
|
93
|
+
/** A leading `~/` expanded, then made absolute against `base`. */
|
|
94
|
+
export declare const expandPath: (raw: string, base: string, home: string) => string;
|
|
95
|
+
export declare const unknownText: (name: string, closest: SettingName | undefined) => string;
|
|
96
|
+
export interface ResolveInput {
|
|
97
|
+
readonly facts: ReadonlyArray<SettingFacts>;
|
|
98
|
+
readonly flags: ReadonlyArray<FlagAssignment>;
|
|
99
|
+
readonly environment: Environment;
|
|
100
|
+
/** `undefined`: the file is absent. */
|
|
101
|
+
readonly project: ConfigFile | undefined;
|
|
102
|
+
readonly global: ConfigFile | undefined;
|
|
103
|
+
/** Relative paths in the project file resolve against it. */
|
|
104
|
+
readonly repo: string;
|
|
105
|
+
/** `~/` and relative paths in the global file resolve against it. */
|
|
106
|
+
readonly home: string;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Pure: flag > environment > project file > global file. Judges each
|
|
110
|
+
* assignment against the registry and keeps what each winner shadows. An
|
|
111
|
+
* empty value counts as unset unless the grammar gives empty a meaning. A
|
|
112
|
+
* value the grammar does not read is dropped from a flag or a file (an
|
|
113
|
+
* error) and kept from the environment (a warning): an export keeps the
|
|
114
|
+
* meaning it has today.
|
|
115
|
+
*/
|
|
116
|
+
export declare const resolveConfig: (input: ResolveInput) => Resolution;
|
|
117
|
+
/** The only environment a flow child may get; only `flowEnvironment` makes one. */
|
|
118
|
+
export type FlowEnvironment = Environment & Brand.Brand<"@llm4ts/shell/FlowEnvironment">;
|
|
119
|
+
/**
|
|
120
|
+
* What an in-process verb reads: `base`, plus each value a file or a flag
|
|
121
|
+
* supplies (never a default). A value that comes from the environment is
|
|
122
|
+
* left exactly as `base` holds it.
|
|
123
|
+
*/
|
|
124
|
+
export declare const resolvedEnvironment: (resolution: Resolution, base: Environment) => Environment;
|
|
125
|
+
/** The child's environment: the resolved one, minus `shellOnly` settings, plus `extra`. */
|
|
126
|
+
export declare const flowEnvironment: (resolution: Resolution, base: Environment, extra?: Environment) => FlowEnvironment;
|
|
127
|
+
/** The settings `flow` cannot start without that no layer sets. */
|
|
128
|
+
export declare const missingRequired: (resolution: Resolution, flow: string) => ReadonlyArray<SettingFacts>;
|
|
129
|
+
export interface ConfigChange {
|
|
130
|
+
readonly name: string;
|
|
131
|
+
/** `undefined` removes the name. */
|
|
132
|
+
readonly value: string | undefined;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Pure: `text` after setting or removing names. A set rewrites the name's
|
|
136
|
+
* last line in place, keeping its `export` and its comment, or appends a
|
|
137
|
+
* line; a removal drops every line of the name. Every other line stays byte
|
|
138
|
+
* for byte, and setting the current value returns `text` itself. The
|
|
139
|
+
* failure names the setting and the reason, never the value.
|
|
140
|
+
*/
|
|
141
|
+
export declare const editConfigText: (text: string, changes: ReadonlyArray<ConfigChange>) => Result.Result<string, string>;
|
|
142
|
+
export interface PlannedSet {
|
|
143
|
+
readonly name: SettingName;
|
|
144
|
+
readonly value: string;
|
|
145
|
+
/** The file `config set` writes it to. */
|
|
146
|
+
readonly target: FileLayer;
|
|
147
|
+
}
|
|
148
|
+
/** Why no file may hold the setting; `undefined` when one may. */
|
|
149
|
+
export declare const storeRefusal: (fact: SettingFacts) => string | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* Pure: `config set` pairs checked against the registry and routed to a
|
|
152
|
+
* file: a global setting to the global file, a project setting to the
|
|
153
|
+
* project file, unless `target` forces one. Every refusal is reported, not
|
|
154
|
+
* only the first.
|
|
155
|
+
*/
|
|
156
|
+
export declare const planSet: (facts: ReadonlyArray<SettingFacts>, assignments: ReadonlyArray<{
|
|
157
|
+
readonly name: string;
|
|
158
|
+
readonly value: string;
|
|
159
|
+
}>, target?: FileLayer) => Result.Result<ReadonlyArray<PlannedSet>, ReadonlyArray<string>>;
|
|
160
|
+
export interface LoadedConfig {
|
|
161
|
+
readonly resolution: Resolution;
|
|
162
|
+
/** `undefined`: the file is absent, or it is not trusted and none of it is read. */
|
|
163
|
+
readonly project: ConfigFile | undefined;
|
|
164
|
+
readonly global: ConfigFile | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* How the project file stands against the user's trust list. Only a
|
|
167
|
+
* `trusted` file reaches the resolution: the file can set commands llm4ts
|
|
168
|
+
* runs, and anyone who hands over a directory can put one in it.
|
|
169
|
+
*/
|
|
170
|
+
readonly projectTrust: ProjectTrust;
|
|
171
|
+
/** The hash of the project file as it was read; `undefined` when absent. */
|
|
172
|
+
readonly projectHash: string | undefined;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Reads both files for `repo`, parses and resolves. An absent file is no
|
|
176
|
+
* problem. The project file is hashed from the text that is then parsed, so
|
|
177
|
+
* the content that was judged is the content that is used.
|
|
178
|
+
*/
|
|
179
|
+
export declare const loadConfig: (options: {
|
|
180
|
+
readonly repo: string;
|
|
181
|
+
readonly environment: Environment;
|
|
182
|
+
readonly flags: ReadonlyArray<FlagAssignment>;
|
|
183
|
+
readonly files: PlainFileStoreShape;
|
|
184
|
+
}) => Effect.Effect<LoadedConfig, ConfigFileError, never>;
|
|
185
|
+
/** `convert-page` for `/flows/convert-page.ts`: the name `requiredBy` and `LLM4TS_FLOW` carry. */
|
|
186
|
+
export declare const flowNameOf: (flowPath: string) => string;
|
|
187
|
+
/**
|
|
188
|
+
* Pure: what a launch refuses over (every error) and what it prints first:
|
|
189
|
+
* each warning, and each environment value that overrides a file. An unknown
|
|
190
|
+
* environment name with no close setting stays silent: a user's own flow may
|
|
191
|
+
* read it.
|
|
192
|
+
*/
|
|
193
|
+
export declare const launchProblems: (resolution: Resolution) => {
|
|
194
|
+
readonly blocking: ReadonlyArray<string>;
|
|
195
|
+
readonly notices: ReadonlyArray<string>;
|
|
196
|
+
};
|
|
197
|
+
/** Pure: what `flow` lacks, with each setting's doc and the two ways to set it. */
|
|
198
|
+
export declare const renderMissing: (flow: string, repo: string, missing: ReadonlyArray<SettingFacts>) => string;
|
|
199
|
+
/** Pure: why a launch for `repo` stops over its project file; `undefined` when it may go on. */
|
|
200
|
+
export declare const launchTrustRefusal: (loaded: LoadedConfig, repo: string) => string | undefined;
|
|
201
|
+
export interface LaunchPlan {
|
|
202
|
+
readonly resolution: Resolution;
|
|
203
|
+
/** Printed to stderr before the child starts. */
|
|
204
|
+
readonly notices: ReadonlyArray<string>;
|
|
205
|
+
readonly environment: FlowEnvironment;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* The one way to a flow child's environment: loads the config for `repo`,
|
|
209
|
+
* refuses on a project file that is not trusted, on any error or on a
|
|
210
|
+
* setting `flow` cannot start without, and
|
|
211
|
+
* projects the rest, naming the flow in `LLM4TS_FLOW`.
|
|
212
|
+
*/
|
|
213
|
+
export declare const prepareLaunch: (options: {
|
|
214
|
+
readonly repo: string;
|
|
215
|
+
readonly flow: string;
|
|
216
|
+
readonly base: Environment;
|
|
217
|
+
readonly flags: ReadonlyArray<FlagAssignment>;
|
|
218
|
+
readonly files: PlainFileStoreShape;
|
|
219
|
+
readonly extra?: Environment;
|
|
220
|
+
}) => Effect.Effect<LaunchPlan, ShellUsageError, never>;
|
|
221
|
+
/**
|
|
222
|
+
* Applies `changes` to the file at `path` and replaces it atomically; the
|
|
223
|
+
* first write under a `.llm4ts/` directory leaves its `.gitignore`, as a
|
|
224
|
+
* run's first write does. Succeeds with the text written, or `undefined`
|
|
225
|
+
* when nothing changed: setting the current values writes nothing. With
|
|
226
|
+
* `expect`, a file whose content is not the one that was judged (its hash,
|
|
227
|
+
* `undefined` for absent) is left alone.
|
|
228
|
+
*/
|
|
229
|
+
export declare const writeConfig: (options: {
|
|
230
|
+
readonly files: PlainFileStoreShape;
|
|
231
|
+
readonly path: string;
|
|
232
|
+
readonly changes: ReadonlyArray<ConfigChange>;
|
|
233
|
+
readonly expect?: {
|
|
234
|
+
readonly hash: string | undefined;
|
|
235
|
+
};
|
|
236
|
+
}) => Effect.Effect<string | undefined, ConfigFileError, never>;
|
|
237
|
+
export {};
|
|
238
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../src/Config.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AACrC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAEnE,OAAO,EAKL,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAQL,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAA;AAE5C,MAAM,MAAM,MAAM,GACd;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,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