@lumpcode/cli-types 0.0.11 → 0.0.12
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/index.d.ts +3 -2
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ type ContextOptionsFn = (contextWithoutOptions: Omit<Context, 'options'>) => May
|
|
|
47
47
|
|
|
48
48
|
type LumpJsConfigSteps = Array<LumpJsConfigStep | ((input: Exclude<PromptFnInput, 'stepVariables'>) => MaybePromise<LumpJsConfigSteps>) | LumpJsConfigStep['promptTemplate']>;
|
|
49
49
|
|
|
50
|
+
type LumpJsConfigSoloStep = LumpJsConfigStep | LumpJsConfigStep['promptTemplate'] | LumpJsConfigStep['promptFn'];
|
|
50
51
|
type LumpJsConfig<V extends LumpVariables = LumpVariables> = MergeObjs<Omit<{
|
|
51
52
|
[K in keyof RunLumpInput<V>]?: NonNullable<RunLumpInput<V>[K]> extends Function ? (RunLumpInput<V>[K] | FilePath) : RunLumpInput<V>[K];
|
|
52
53
|
}, 'gitCommitMessageFn' | 'projectRoot' | 'branchFn' | 'baseBranch' | 'setupWorkspaceFn' | 'teardownWorkspaceFn' | 'gitAddCommandFn' | 'gitCommitCommandFn' | 'gitPushCommandFn'>, {
|
|
@@ -59,8 +60,8 @@ type LumpJsConfig<V extends LumpVariables = LumpVariables> = MergeObjs<Omit<{
|
|
|
59
60
|
contextOptionsFn?: FilePath | ContextOptionsFn;
|
|
60
61
|
disabled?: boolean | (() => MaybePromise<boolean>) | FilePath;
|
|
61
62
|
maximumNumberOfConcurrentBranches?: number;
|
|
62
|
-
prompt?:
|
|
63
|
-
steps?: LumpJsConfigSteps;
|
|
63
|
+
prompt?: LumpJsConfigSoloStep;
|
|
64
|
+
steps?: LumpJsConfigSteps | LumpJsConfigSoloStep;
|
|
64
65
|
registerCommands?: string[];
|
|
65
66
|
keepHistory?: boolean;
|
|
66
67
|
verbose?: boolean;
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumpcode/cli-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "Types and defineX helpers for Lumpcode CLI lump config and command modules",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lumpcode",
|
|
7
7
|
"typescript",
|
|
8
8
|
"types",
|
|
9
9
|
"cli",
|
|
10
|
+
"loop-engineering",
|
|
10
11
|
"agent-loop",
|
|
11
12
|
"coding-agent",
|
|
12
13
|
"lump-config"
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
"build": "rollup -c"
|
|
37
38
|
},
|
|
38
39
|
"dependencies": {
|
|
39
|
-
"@lumpcode/core": "^0.0.
|
|
40
|
+
"@lumpcode/core": "^0.0.12"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@rollup/plugin-commonjs": "^28.0.1",
|