@interf/compiler 0.18.0 → 0.21.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/README.md +87 -73
- package/dist/cli/commands/mcp.d.ts +0 -34
- package/dist/cli/commands/mcp.js +246 -45
- package/dist/cli/commands/method.js +261 -15
- package/dist/cli/commands/prep.js +61 -16
- package/dist/cli/commands/runs.js +103 -9
- package/dist/cli/commands/status.js +4 -2
- package/dist/cli/commands/test.d.ts +10 -0
- package/dist/cli/commands/{verify.js → test.js} +16 -18
- package/dist/cli/commands/web.js +82 -8
- package/dist/cli/commands/wizard.js +36 -37
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +3 -3
- package/dist/compiler-ui/404.html +1 -1
- package/dist/compiler-ui/__next.__PAGE__.txt +5 -5
- package/dist/compiler-ui/__next._full.txt +13 -12
- package/dist/compiler-ui/__next._head.txt +3 -3
- package/dist/compiler-ui/__next._index.txt +5 -4
- package/dist/compiler-ui/__next._tree.txt +4 -3
- package/dist/compiler-ui/_next/static/chunks/01646j7yi.w5a.css +1 -0
- package/dist/compiler-ui/_next/static/chunks/{0n51hrfoufc7g.js → 02f_.8.ebn556.js} +1 -1
- package/dist/compiler-ui/_next/static/chunks/02r7siaw-_p5w.js +1 -0
- package/dist/compiler-ui/_next/static/chunks/{08m7vf5asqlsm.js → 04d0ly-7xb~-j.js} +10 -10
- package/dist/compiler-ui/_next/static/chunks/0fhs9psnxqd8s.js +1 -0
- package/dist/compiler-ui/_next/static/chunks/0mssmhpbifj15.css +2 -0
- package/dist/compiler-ui/_next/static/chunks/0nypu~ddwxari.js +116 -0
- package/dist/compiler-ui/_next/static/chunks/0p3s8iyhgcww2.js +31 -0
- package/dist/compiler-ui/_next/static/chunks/0tjf-vu_rz8s0.css +1 -0
- package/dist/compiler-ui/_next/static/chunks/0u6p3fpbbfgtl.js +1 -0
- package/dist/compiler-ui/_next/static/chunks/0wpx5..8dnh0w.js +1 -0
- package/dist/compiler-ui/_next/static/chunks/0y0uj160p0ts~.js +1 -0
- package/dist/compiler-ui/_next/static/chunks/10t8l~_oenf.c.js +1 -0
- package/dist/compiler-ui/_next/static/chunks/13gz9e7z~imx1.js +5 -0
- package/dist/compiler-ui/_next/static/chunks/156xed-b6czaw.js +1 -0
- package/dist/compiler-ui/_next/static/chunks/{turbopack-0.uq1k8c0j4s..js → turbopack-02-3e_c-yz~5g.js} +1 -1
- package/dist/compiler-ui/_next/static/chunks/{turbopack-10e~t1yzi4svj.js → turbopack-0apv8vb-nczuy.js} +1 -1
- package/dist/compiler-ui/_not-found/__next._full.txt +10 -9
- package/dist/compiler-ui/_not-found/__next._head.txt +3 -3
- package/dist/compiler-ui/_not-found/__next._index.txt +5 -4
- package/dist/compiler-ui/_not-found/__next._not-found.__PAGE__.txt +2 -2
- package/dist/compiler-ui/_not-found/__next._not-found.txt +3 -3
- package/dist/compiler-ui/_not-found/__next._tree.txt +3 -2
- package/dist/compiler-ui/_not-found.html +1 -1
- package/dist/compiler-ui/_not-found.txt +10 -9
- package/dist/compiler-ui/index.html +1 -1
- package/dist/compiler-ui/index.txt +13 -12
- package/dist/packages/contracts/lib/schema.d.ts +4 -0
- package/dist/packages/contracts/lib/schema.js +2 -1
- package/dist/packages/engine/action-definitions.d.ts +174 -13
- package/dist/packages/engine/action-definitions.js +125 -122
- package/dist/packages/engine/action-planner.js +4 -11
- package/dist/packages/engine/agents/lib/shells.d.ts +3 -1
- package/dist/packages/engine/agents/lib/shells.js +8 -4
- package/dist/packages/engine/agents/role-executors.js +1 -1
- package/dist/packages/engine/compile/compiled-paths.js +6 -6
- package/dist/packages/engine/connection-config.js +1 -1
- package/dist/packages/engine/execution/lib/schema.d.ts +10 -0
- package/dist/packages/engine/instance-paths.d.ts +15 -9
- package/dist/packages/engine/instance-paths.js +15 -9
- package/dist/packages/engine/lib/schema.d.ts +686 -30
- package/dist/packages/engine/lib/schema.js +48 -21
- package/dist/packages/engine/native-run-handlers.js +10 -8
- package/dist/packages/engine/preparation-store.d.ts +9 -13
- package/dist/packages/engine/preparation-store.js +12 -0
- package/dist/packages/engine/requested-artifacts.d.ts +5 -0
- package/dist/packages/engine/requested-artifacts.js +36 -0
- package/dist/packages/engine/routes.d.ts +1 -1
- package/dist/packages/engine/routes.js +1 -1
- package/dist/packages/engine/run-observability.js +3 -2
- package/dist/packages/engine/runtime-proposal-helpers.d.ts +2 -2
- package/dist/packages/engine/runtime-proposal-helpers.js +5 -7
- package/dist/packages/engine/runtime-resource-builders.d.ts +5 -0
- package/dist/packages/engine/runtime-resource-builders.js +13 -2
- package/dist/packages/engine/runtime.d.ts +3 -1
- package/dist/packages/engine/runtime.js +146 -21
- package/dist/packages/engine/server.js +104 -52
- package/dist/packages/engine/verify/verify-execution.js +1 -1
- package/dist/packages/engine/wire-schemas.d.ts +5 -1
- package/dist/packages/engine/wire-schemas.js +1 -1
- package/dist/packages/methods/authoring/method-authoring.d.ts +3 -1
- package/dist/packages/methods/authoring/method-authoring.js +5 -36
- package/dist/packages/methods/package/builtin-compiled-method.js +1 -1
- package/dist/packages/methods/package/local-methods.d.ts +1 -0
- package/dist/packages/methods/package/local-methods.js +19 -4
- package/dist/packages/methods/package/method-definitions.js +1 -1
- package/dist/packages/project/interf-detect.js +6 -6
- package/dist/packages/project/lib/schema.d.ts +193 -0
- package/dist/packages/project/lib/schema.js +46 -1
- package/dist/packages/project/source-config.js +4 -0
- package/dist/packages/project/source-folders.js +1 -1
- package/package.json +7 -8
- package/public-repo/CONTRIBUTING.md +47 -0
- package/public-repo/LICENSE.md +1 -0
- package/public-repo/README.md +325 -0
- package/public-repo/SECURITY.md +67 -0
- package/public-repo/TRADEMARKS.md +8 -0
- package/{builtin-methods → public-repo/methods}/interf-default/README.md +4 -0
- package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/shape/SKILL.md +4 -8
- package/{builtin-methods → public-repo/methods}/interf-default/method.json +1 -1
- package/public-repo/methods/interf-default/use/query/SKILL.md +23 -0
- package/public-repo/plugins/README.md +9 -0
- package/public-repo/plugins/interf/.claude-plugin/plugin.json +21 -0
- package/public-repo/plugins/interf/.mcp.json +12 -0
- package/public-repo/plugins/interf/README.md +29 -0
- package/public-repo/plugins/interf/skills/interf/SKILL.md +477 -0
- package/public-repo/skills/interf/SKILL.md +477 -0
- package/agent-skills/interf-actions/SKILL.md +0 -185
- package/agent-skills/interf-actions/references/cli.md +0 -243
- package/builtin-methods/interf-default/use/query/SKILL.md +0 -28
- package/dist/cli/commands/verify.d.ts +0 -10
- package/dist/compiler-ui/_next/static/chunks/06yhdspx~ca5-.js +0 -5
- package/dist/compiler-ui/_next/static/chunks/06z~l3kwb891e.js +0 -1
- package/dist/compiler-ui/_next/static/chunks/08g7lvje.te.u.js +0 -1
- package/dist/compiler-ui/_next/static/chunks/0_c_tvh-cukjz.css +0 -3
- package/dist/compiler-ui/_next/static/chunks/0_i-3_5l9t2qe.js +0 -1
- package/dist/compiler-ui/_next/static/chunks/0b-ywny_j0g~0.js +0 -1
- package/dist/compiler-ui/_next/static/chunks/0b52v41o1gixx.js +0 -1
- package/dist/compiler-ui/_next/static/chunks/0f_geuwdesg_c.js +0 -114
- package/dist/compiler-ui/_next/static/chunks/0gpzgsv0w.q~m.js +0 -31
- package/dist/compiler-ui/_next/static/chunks/0ilwfezfvu6~-.js +0 -1
- package/dist/compiler-ui/_next/static/chunks/0xxmf45eskdt~.css +0 -1
- package/dist/compiler-ui/_next/static/chunks/14wtz~vq25~qq.js +0 -1
- /package/dist/compiler-ui/_next/static/{6qyE1u9m_oBUkvAhhoCmO → tYHMLL9oKds1yDoNYgkPV}/_buildManifest.js +0 -0
- /package/dist/compiler-ui/_next/static/{6qyE1u9m_oBUkvAhhoCmO → tYHMLL9oKds1yDoNYgkPV}/_clientMiddlewareManifest.js +0 -0
- /package/dist/compiler-ui/_next/static/{6qyE1u9m_oBUkvAhhoCmO → tYHMLL9oKds1yDoNYgkPV}/_ssgManifest.js +0 -0
- /package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/structure/SKILL.md +0 -0
- /package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/summarize/SKILL.md +0 -0
- /package/{builtin-methods → public-repo/methods}/interf-default/improve/SKILL.md +0 -0
- /package/{builtin-methods → public-repo/methods}/interf-default/method.schema.json +0 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { type RequestedArtifact, type SourceProfile } from "../project/lib/schema.js";
|
|
3
|
+
import { artifactRequirementsFromRequestedArtifacts } from "./requested-artifacts.js";
|
|
2
4
|
export declare const ActionValueIdPattern: RegExp;
|
|
3
5
|
export declare const ActionValueIdSchema: z.ZodString;
|
|
4
6
|
export declare const OptionalActionValueIdSchema: z.ZodString;
|
|
@@ -6,6 +8,56 @@ export declare const SourceReadinessCheckActionValueSchema: z.ZodObject<{
|
|
|
6
8
|
question: z.ZodString;
|
|
7
9
|
answer: z.ZodOptional<z.ZodString>;
|
|
8
10
|
}, z.core.$strict>;
|
|
11
|
+
export declare const RequestedArtifactActionValueSchema: z.ZodPreprocess<z.ZodObject<{
|
|
12
|
+
id: z.ZodOptional<z.ZodString>;
|
|
13
|
+
title: z.ZodString;
|
|
14
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
15
|
+
description: z.ZodOptional<z.ZodString>;
|
|
16
|
+
checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
17
|
+
label: z.ZodString;
|
|
18
|
+
}, z.core.$loose>]>>>;
|
|
19
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
path: z.ZodOptional<z.ZodString>;
|
|
21
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
kind: z.ZodLiteral<"path">;
|
|
23
|
+
path: z.ZodString;
|
|
24
|
+
artifact_kind: z.ZodEnum<{
|
|
25
|
+
file: "file";
|
|
26
|
+
directory: "directory";
|
|
27
|
+
}>;
|
|
28
|
+
}, z.core.$strict>>;
|
|
29
|
+
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
kind: z.ZodEnum<{
|
|
32
|
+
file_exists: "file_exists";
|
|
33
|
+
min_file_count: "min_file_count";
|
|
34
|
+
min_file_count_matches_source: "min_file_count_matches_source";
|
|
35
|
+
frontmatter_valid: "frontmatter_valid";
|
|
36
|
+
frontmatter_required_keys: "frontmatter_required_keys";
|
|
37
|
+
wikilinks_valid: "wikilinks_valid";
|
|
38
|
+
must_not_contain: "must_not_contain";
|
|
39
|
+
must_contain: "must_contain";
|
|
40
|
+
qa_match: "qa_match";
|
|
41
|
+
}>;
|
|
42
|
+
description: z.ZodOptional<z.ZodString>;
|
|
43
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
44
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
45
|
+
}, z.core.$strict>>>;
|
|
46
|
+
stage_hint: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, z.core.$strict>>;
|
|
48
|
+
}, z.core.$strict>>;
|
|
49
|
+
export declare const SourceProfileActionValueSchema: z.ZodObject<{
|
|
50
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
51
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
52
|
+
name: z.ZodOptional<z.ZodString>;
|
|
53
|
+
path: z.ZodOptional<z.ZodString>;
|
|
54
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
55
|
+
page_count: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
note: z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, z.core.$loose>>>;
|
|
58
|
+
observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
59
|
+
limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
60
|
+
}, z.core.$loose>;
|
|
9
61
|
export declare const PreparationSetupActionValuesSchema: z.ZodObject<{
|
|
10
62
|
name: z.ZodString;
|
|
11
63
|
path: z.ZodString;
|
|
@@ -15,6 +67,56 @@ export declare const PreparationSetupActionValuesSchema: z.ZodObject<{
|
|
|
15
67
|
question: z.ZodString;
|
|
16
68
|
answer: z.ZodOptional<z.ZodString>;
|
|
17
69
|
}, z.core.$strict>>>;
|
|
70
|
+
requested_artifacts: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
|
|
71
|
+
id: z.ZodOptional<z.ZodString>;
|
|
72
|
+
title: z.ZodString;
|
|
73
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
74
|
+
description: z.ZodOptional<z.ZodString>;
|
|
75
|
+
checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
76
|
+
label: z.ZodString;
|
|
77
|
+
}, z.core.$loose>]>>>;
|
|
78
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
79
|
+
path: z.ZodOptional<z.ZodString>;
|
|
80
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
81
|
+
kind: z.ZodLiteral<"path">;
|
|
82
|
+
path: z.ZodString;
|
|
83
|
+
artifact_kind: z.ZodEnum<{
|
|
84
|
+
file: "file";
|
|
85
|
+
directory: "directory";
|
|
86
|
+
}>;
|
|
87
|
+
}, z.core.$strict>>;
|
|
88
|
+
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
89
|
+
id: z.ZodString;
|
|
90
|
+
kind: z.ZodEnum<{
|
|
91
|
+
file_exists: "file_exists";
|
|
92
|
+
min_file_count: "min_file_count";
|
|
93
|
+
min_file_count_matches_source: "min_file_count_matches_source";
|
|
94
|
+
frontmatter_valid: "frontmatter_valid";
|
|
95
|
+
frontmatter_required_keys: "frontmatter_required_keys";
|
|
96
|
+
wikilinks_valid: "wikilinks_valid";
|
|
97
|
+
must_not_contain: "must_not_contain";
|
|
98
|
+
must_contain: "must_contain";
|
|
99
|
+
qa_match: "qa_match";
|
|
100
|
+
}>;
|
|
101
|
+
description: z.ZodOptional<z.ZodString>;
|
|
102
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
103
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
104
|
+
}, z.core.$strict>>>;
|
|
105
|
+
stage_hint: z.ZodOptional<z.ZodString>;
|
|
106
|
+
}, z.core.$strict>>;
|
|
107
|
+
}, z.core.$strict>>>>;
|
|
108
|
+
source_profile: z.ZodOptional<z.ZodObject<{
|
|
109
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
110
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
111
|
+
name: z.ZodOptional<z.ZodString>;
|
|
112
|
+
path: z.ZodOptional<z.ZodString>;
|
|
113
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
114
|
+
page_count: z.ZodOptional<z.ZodNumber>;
|
|
115
|
+
note: z.ZodOptional<z.ZodString>;
|
|
116
|
+
}, z.core.$loose>>>;
|
|
117
|
+
observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
118
|
+
limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
119
|
+
}, z.core.$loose>>;
|
|
18
120
|
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
19
121
|
max_loops: z.ZodOptional<z.ZodNumber>;
|
|
20
122
|
readiness_notes: z.ZodOptional<z.ZodString>;
|
|
@@ -32,6 +134,56 @@ export declare const MethodAuthoringActionValuesSchema: z.ZodObject<{
|
|
|
32
134
|
hint: z.ZodOptional<z.ZodString>;
|
|
33
135
|
task_prompt: z.ZodString;
|
|
34
136
|
portable_output: z.ZodOptional<z.ZodString>;
|
|
137
|
+
requested_artifacts: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
|
|
138
|
+
id: z.ZodOptional<z.ZodString>;
|
|
139
|
+
title: z.ZodString;
|
|
140
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
141
|
+
description: z.ZodOptional<z.ZodString>;
|
|
142
|
+
checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
143
|
+
label: z.ZodString;
|
|
144
|
+
}, z.core.$loose>]>>>;
|
|
145
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
146
|
+
path: z.ZodOptional<z.ZodString>;
|
|
147
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
148
|
+
kind: z.ZodLiteral<"path">;
|
|
149
|
+
path: z.ZodString;
|
|
150
|
+
artifact_kind: z.ZodEnum<{
|
|
151
|
+
file: "file";
|
|
152
|
+
directory: "directory";
|
|
153
|
+
}>;
|
|
154
|
+
}, z.core.$strict>>;
|
|
155
|
+
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
156
|
+
id: z.ZodString;
|
|
157
|
+
kind: z.ZodEnum<{
|
|
158
|
+
file_exists: "file_exists";
|
|
159
|
+
min_file_count: "min_file_count";
|
|
160
|
+
min_file_count_matches_source: "min_file_count_matches_source";
|
|
161
|
+
frontmatter_valid: "frontmatter_valid";
|
|
162
|
+
frontmatter_required_keys: "frontmatter_required_keys";
|
|
163
|
+
wikilinks_valid: "wikilinks_valid";
|
|
164
|
+
must_not_contain: "must_not_contain";
|
|
165
|
+
must_contain: "must_contain";
|
|
166
|
+
qa_match: "qa_match";
|
|
167
|
+
}>;
|
|
168
|
+
description: z.ZodOptional<z.ZodString>;
|
|
169
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
170
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
171
|
+
}, z.core.$strict>>>;
|
|
172
|
+
stage_hint: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, z.core.$strict>>;
|
|
174
|
+
}, z.core.$strict>>>>;
|
|
175
|
+
source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
176
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
177
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
178
|
+
name: z.ZodOptional<z.ZodString>;
|
|
179
|
+
path: z.ZodOptional<z.ZodString>;
|
|
180
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
181
|
+
page_count: z.ZodOptional<z.ZodNumber>;
|
|
182
|
+
note: z.ZodOptional<z.ZodString>;
|
|
183
|
+
}, z.core.$loose>>>;
|
|
184
|
+
observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
185
|
+
limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
186
|
+
}, z.core.$loose>>>;
|
|
35
187
|
readiness_notes: z.ZodOptional<z.ZodString>;
|
|
36
188
|
}, z.core.$strict>;
|
|
37
189
|
export type PreparationSetupActionValues = z.infer<typeof PreparationSetupActionValuesSchema>;
|
|
@@ -42,31 +194,31 @@ export declare const INTERF_SERVICE_ACTIONS: {
|
|
|
42
194
|
readonly id: "create-preparation";
|
|
43
195
|
readonly serviceAction: "preparation-setup";
|
|
44
196
|
readonly title: "Create Preparation";
|
|
45
|
-
readonly description: "Save a Source
|
|
197
|
+
readonly description: "Save a Source, requested Artifacts, Build Plan, and run history under one Preparation.";
|
|
46
198
|
};
|
|
47
199
|
readonly compileRun: {
|
|
48
200
|
readonly id: "compile-run";
|
|
49
201
|
readonly serviceAction: "compile";
|
|
50
|
-
readonly title: "Compile
|
|
51
|
-
readonly description: "Run the
|
|
202
|
+
readonly title: "Compile Artifacts";
|
|
203
|
+
readonly description: "Run the saved Build Plan against this Source and write portable context.";
|
|
52
204
|
};
|
|
53
205
|
readonly selectMethod: {
|
|
54
206
|
readonly id: "select-method";
|
|
55
207
|
readonly serviceAction: "preparation-setup";
|
|
56
|
-
readonly title: "Select
|
|
57
|
-
readonly description: "Choose
|
|
208
|
+
readonly title: "Select Build Plan";
|
|
209
|
+
readonly description: "Choose the Build Plan that will compile this Preparation's requested Artifacts.";
|
|
58
210
|
};
|
|
59
211
|
readonly createMethod: {
|
|
60
212
|
readonly id: "create-method";
|
|
61
213
|
readonly serviceAction: "method-authoring";
|
|
62
|
-
readonly title: "Draft
|
|
63
|
-
readonly description: "Draft a
|
|
214
|
+
readonly title: "Draft Build Plan";
|
|
215
|
+
readonly description: "Draft a Build Plan for the Artifacts this Preparation should compile.";
|
|
64
216
|
};
|
|
65
217
|
readonly methodChange: {
|
|
66
218
|
readonly id: "method-change";
|
|
67
219
|
readonly serviceAction: "method-change";
|
|
68
|
-
readonly title: "
|
|
69
|
-
readonly description: "Modify, duplicate, or remove an existing
|
|
220
|
+
readonly title: "Build Plan Change";
|
|
221
|
+
readonly description: "Modify, duplicate, or remove an existing Build Plan.";
|
|
70
222
|
};
|
|
71
223
|
readonly preparationChange: {
|
|
72
224
|
readonly id: "preparation-change";
|
|
@@ -95,8 +247,8 @@ export declare const INTERF_SERVICE_ACTIONS: {
|
|
|
95
247
|
readonly improvePreparation: {
|
|
96
248
|
readonly id: "improve-preparation";
|
|
97
249
|
readonly serviceAction: "method-improvement";
|
|
98
|
-
readonly title: "Improve
|
|
99
|
-
readonly description: "Use readiness evidence to refine the
|
|
250
|
+
readonly title: "Improve Build Plan";
|
|
251
|
+
readonly description: "Use readiness evidence to refine the Build Plan this Preparation uses.";
|
|
100
252
|
};
|
|
101
253
|
};
|
|
102
254
|
export type InterfServiceActionKey = keyof typeof INTERF_SERVICE_ACTIONS;
|
|
@@ -158,11 +310,13 @@ export type CompileRunActionContext = {
|
|
|
158
310
|
export type SelectMethodActionContext = {
|
|
159
311
|
about: string;
|
|
160
312
|
checks?: SourceReadinessCheckActionValue[];
|
|
161
|
-
currentMethodId
|
|
313
|
+
currentMethodId?: string | null;
|
|
162
314
|
maxAttempts?: number;
|
|
163
315
|
maxLoops?: number;
|
|
164
316
|
methods: MethodActionChoice[];
|
|
165
317
|
name: string;
|
|
318
|
+
requestedArtifacts?: RequestedArtifact[];
|
|
319
|
+
sourceProfile?: SourceProfile | null;
|
|
166
320
|
sourceFolderPath: string;
|
|
167
321
|
};
|
|
168
322
|
export type CreateMethodActionContext = {
|
|
@@ -202,9 +356,11 @@ export declare function preparationSetupRequestFromActionValues(input: unknown):
|
|
|
202
356
|
checks: SourceReadinessCheckActionValue[];
|
|
203
357
|
max_attempts?: number;
|
|
204
358
|
max_loops?: number;
|
|
205
|
-
method
|
|
359
|
+
method?: string;
|
|
206
360
|
name: string;
|
|
207
361
|
path: string;
|
|
362
|
+
requested_artifacts?: RequestedArtifact[];
|
|
363
|
+
source_profile?: SourceProfile;
|
|
208
364
|
};
|
|
209
365
|
prepare_after_setup: boolean;
|
|
210
366
|
setup_mode: "create" | "select-method";
|
|
@@ -212,8 +368,11 @@ export declare function preparationSetupRequestFromActionValues(input: unknown):
|
|
|
212
368
|
export declare function methodAuthoringRequestFromActionValues(input: unknown, context: {
|
|
213
369
|
checks?: SourceReadinessCheckActionValue[];
|
|
214
370
|
preparation?: string | null;
|
|
371
|
+
requestedArtifacts?: RequestedArtifact[];
|
|
372
|
+
sourceProfile?: SourceProfile | null;
|
|
215
373
|
sourceFolderPath: string;
|
|
216
374
|
}): {
|
|
375
|
+
artifact_requirements: ReturnType<typeof artifactRequirementsFromRequestedArtifacts>;
|
|
217
376
|
base_method_id?: string;
|
|
218
377
|
checks: SourceReadinessCheckActionValue[];
|
|
219
378
|
hint: string;
|
|
@@ -221,6 +380,8 @@ export declare function methodAuthoringRequestFromActionValues(input: unknown, c
|
|
|
221
380
|
method_id: string;
|
|
222
381
|
preparation?: string;
|
|
223
382
|
reference_method_id?: string;
|
|
383
|
+
requested_artifacts: RequestedArtifact[];
|
|
384
|
+
source_profile?: SourceProfile | null;
|
|
224
385
|
source_folder_path: string;
|
|
225
386
|
task_prompt: string;
|
|
226
387
|
};
|