@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.
Files changed (129) hide show
  1. package/README.md +87 -73
  2. package/dist/cli/commands/mcp.d.ts +0 -34
  3. package/dist/cli/commands/mcp.js +246 -45
  4. package/dist/cli/commands/method.js +261 -15
  5. package/dist/cli/commands/prep.js +61 -16
  6. package/dist/cli/commands/runs.js +103 -9
  7. package/dist/cli/commands/status.js +4 -2
  8. package/dist/cli/commands/test.d.ts +10 -0
  9. package/dist/cli/commands/{verify.js → test.js} +16 -18
  10. package/dist/cli/commands/web.js +82 -8
  11. package/dist/cli/commands/wizard.js +36 -37
  12. package/dist/cli/index.d.ts +2 -2
  13. package/dist/cli/index.js +3 -3
  14. package/dist/compiler-ui/404.html +1 -1
  15. package/dist/compiler-ui/__next.__PAGE__.txt +5 -5
  16. package/dist/compiler-ui/__next._full.txt +13 -12
  17. package/dist/compiler-ui/__next._head.txt +3 -3
  18. package/dist/compiler-ui/__next._index.txt +5 -4
  19. package/dist/compiler-ui/__next._tree.txt +4 -3
  20. package/dist/compiler-ui/_next/static/chunks/01646j7yi.w5a.css +1 -0
  21. package/dist/compiler-ui/_next/static/chunks/{0n51hrfoufc7g.js → 02f_.8.ebn556.js} +1 -1
  22. package/dist/compiler-ui/_next/static/chunks/02r7siaw-_p5w.js +1 -0
  23. package/dist/compiler-ui/_next/static/chunks/{08m7vf5asqlsm.js → 04d0ly-7xb~-j.js} +10 -10
  24. package/dist/compiler-ui/_next/static/chunks/0fhs9psnxqd8s.js +1 -0
  25. package/dist/compiler-ui/_next/static/chunks/0mssmhpbifj15.css +2 -0
  26. package/dist/compiler-ui/_next/static/chunks/0nypu~ddwxari.js +116 -0
  27. package/dist/compiler-ui/_next/static/chunks/0p3s8iyhgcww2.js +31 -0
  28. package/dist/compiler-ui/_next/static/chunks/0tjf-vu_rz8s0.css +1 -0
  29. package/dist/compiler-ui/_next/static/chunks/0u6p3fpbbfgtl.js +1 -0
  30. package/dist/compiler-ui/_next/static/chunks/0wpx5..8dnh0w.js +1 -0
  31. package/dist/compiler-ui/_next/static/chunks/0y0uj160p0ts~.js +1 -0
  32. package/dist/compiler-ui/_next/static/chunks/10t8l~_oenf.c.js +1 -0
  33. package/dist/compiler-ui/_next/static/chunks/13gz9e7z~imx1.js +5 -0
  34. package/dist/compiler-ui/_next/static/chunks/156xed-b6czaw.js +1 -0
  35. package/dist/compiler-ui/_next/static/chunks/{turbopack-0.uq1k8c0j4s..js → turbopack-02-3e_c-yz~5g.js} +1 -1
  36. package/dist/compiler-ui/_next/static/chunks/{turbopack-10e~t1yzi4svj.js → turbopack-0apv8vb-nczuy.js} +1 -1
  37. package/dist/compiler-ui/_not-found/__next._full.txt +10 -9
  38. package/dist/compiler-ui/_not-found/__next._head.txt +3 -3
  39. package/dist/compiler-ui/_not-found/__next._index.txt +5 -4
  40. package/dist/compiler-ui/_not-found/__next._not-found.__PAGE__.txt +2 -2
  41. package/dist/compiler-ui/_not-found/__next._not-found.txt +3 -3
  42. package/dist/compiler-ui/_not-found/__next._tree.txt +3 -2
  43. package/dist/compiler-ui/_not-found.html +1 -1
  44. package/dist/compiler-ui/_not-found.txt +10 -9
  45. package/dist/compiler-ui/index.html +1 -1
  46. package/dist/compiler-ui/index.txt +13 -12
  47. package/dist/packages/contracts/lib/schema.d.ts +4 -0
  48. package/dist/packages/contracts/lib/schema.js +2 -1
  49. package/dist/packages/engine/action-definitions.d.ts +174 -13
  50. package/dist/packages/engine/action-definitions.js +125 -122
  51. package/dist/packages/engine/action-planner.js +4 -11
  52. package/dist/packages/engine/agents/lib/shells.d.ts +3 -1
  53. package/dist/packages/engine/agents/lib/shells.js +8 -4
  54. package/dist/packages/engine/agents/role-executors.js +1 -1
  55. package/dist/packages/engine/compile/compiled-paths.js +6 -6
  56. package/dist/packages/engine/connection-config.js +1 -1
  57. package/dist/packages/engine/execution/lib/schema.d.ts +10 -0
  58. package/dist/packages/engine/instance-paths.d.ts +15 -9
  59. package/dist/packages/engine/instance-paths.js +15 -9
  60. package/dist/packages/engine/lib/schema.d.ts +686 -30
  61. package/dist/packages/engine/lib/schema.js +48 -21
  62. package/dist/packages/engine/native-run-handlers.js +10 -8
  63. package/dist/packages/engine/preparation-store.d.ts +9 -13
  64. package/dist/packages/engine/preparation-store.js +12 -0
  65. package/dist/packages/engine/requested-artifacts.d.ts +5 -0
  66. package/dist/packages/engine/requested-artifacts.js +36 -0
  67. package/dist/packages/engine/routes.d.ts +1 -1
  68. package/dist/packages/engine/routes.js +1 -1
  69. package/dist/packages/engine/run-observability.js +3 -2
  70. package/dist/packages/engine/runtime-proposal-helpers.d.ts +2 -2
  71. package/dist/packages/engine/runtime-proposal-helpers.js +5 -7
  72. package/dist/packages/engine/runtime-resource-builders.d.ts +5 -0
  73. package/dist/packages/engine/runtime-resource-builders.js +13 -2
  74. package/dist/packages/engine/runtime.d.ts +3 -1
  75. package/dist/packages/engine/runtime.js +146 -21
  76. package/dist/packages/engine/server.js +104 -52
  77. package/dist/packages/engine/verify/verify-execution.js +1 -1
  78. package/dist/packages/engine/wire-schemas.d.ts +5 -1
  79. package/dist/packages/engine/wire-schemas.js +1 -1
  80. package/dist/packages/methods/authoring/method-authoring.d.ts +3 -1
  81. package/dist/packages/methods/authoring/method-authoring.js +5 -36
  82. package/dist/packages/methods/package/builtin-compiled-method.js +1 -1
  83. package/dist/packages/methods/package/local-methods.d.ts +1 -0
  84. package/dist/packages/methods/package/local-methods.js +19 -4
  85. package/dist/packages/methods/package/method-definitions.js +1 -1
  86. package/dist/packages/project/interf-detect.js +6 -6
  87. package/dist/packages/project/lib/schema.d.ts +193 -0
  88. package/dist/packages/project/lib/schema.js +46 -1
  89. package/dist/packages/project/source-config.js +4 -0
  90. package/dist/packages/project/source-folders.js +1 -1
  91. package/package.json +7 -8
  92. package/public-repo/CONTRIBUTING.md +47 -0
  93. package/public-repo/LICENSE.md +1 -0
  94. package/public-repo/README.md +325 -0
  95. package/public-repo/SECURITY.md +67 -0
  96. package/public-repo/TRADEMARKS.md +8 -0
  97. package/{builtin-methods → public-repo/methods}/interf-default/README.md +4 -0
  98. package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/shape/SKILL.md +4 -8
  99. package/{builtin-methods → public-repo/methods}/interf-default/method.json +1 -1
  100. package/public-repo/methods/interf-default/use/query/SKILL.md +23 -0
  101. package/public-repo/plugins/README.md +9 -0
  102. package/public-repo/plugins/interf/.claude-plugin/plugin.json +21 -0
  103. package/public-repo/plugins/interf/.mcp.json +12 -0
  104. package/public-repo/plugins/interf/README.md +29 -0
  105. package/public-repo/plugins/interf/skills/interf/SKILL.md +477 -0
  106. package/public-repo/skills/interf/SKILL.md +477 -0
  107. package/agent-skills/interf-actions/SKILL.md +0 -185
  108. package/agent-skills/interf-actions/references/cli.md +0 -243
  109. package/builtin-methods/interf-default/use/query/SKILL.md +0 -28
  110. package/dist/cli/commands/verify.d.ts +0 -10
  111. package/dist/compiler-ui/_next/static/chunks/06yhdspx~ca5-.js +0 -5
  112. package/dist/compiler-ui/_next/static/chunks/06z~l3kwb891e.js +0 -1
  113. package/dist/compiler-ui/_next/static/chunks/08g7lvje.te.u.js +0 -1
  114. package/dist/compiler-ui/_next/static/chunks/0_c_tvh-cukjz.css +0 -3
  115. package/dist/compiler-ui/_next/static/chunks/0_i-3_5l9t2qe.js +0 -1
  116. package/dist/compiler-ui/_next/static/chunks/0b-ywny_j0g~0.js +0 -1
  117. package/dist/compiler-ui/_next/static/chunks/0b52v41o1gixx.js +0 -1
  118. package/dist/compiler-ui/_next/static/chunks/0f_geuwdesg_c.js +0 -114
  119. package/dist/compiler-ui/_next/static/chunks/0gpzgsv0w.q~m.js +0 -31
  120. package/dist/compiler-ui/_next/static/chunks/0ilwfezfvu6~-.js +0 -1
  121. package/dist/compiler-ui/_next/static/chunks/0xxmf45eskdt~.css +0 -1
  122. package/dist/compiler-ui/_next/static/chunks/14wtz~vq25~qq.js +0 -1
  123. /package/dist/compiler-ui/_next/static/{6qyE1u9m_oBUkvAhhoCmO → tYHMLL9oKds1yDoNYgkPV}/_buildManifest.js +0 -0
  124. /package/dist/compiler-ui/_next/static/{6qyE1u9m_oBUkvAhhoCmO → tYHMLL9oKds1yDoNYgkPV}/_clientMiddlewareManifest.js +0 -0
  125. /package/dist/compiler-ui/_next/static/{6qyE1u9m_oBUkvAhhoCmO → tYHMLL9oKds1yDoNYgkPV}/_ssgManifest.js +0 -0
  126. /package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/structure/SKILL.md +0 -0
  127. /package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/summarize/SKILL.md +0 -0
  128. /package/{builtin-methods → public-repo/methods}/interf-default/improve/SKILL.md +0 -0
  129. /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 Folder + Method binding so future runs can be invoked by name.";
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 Method";
51
- readonly description: "Run the chosen Method against this Source Folder and write portable context.";
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 Method";
57
- readonly description: "Choose which Method this saved binding should use for future runs.";
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 Method";
63
- readonly description: "Draft a reusable local Method that captures a repeatable agent-work pattern.";
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: "Method Change";
69
- readonly description: "Modify, duplicate, or remove an existing Method.";
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 Method";
99
- readonly description: "Use readiness evidence to refine the Method this saved binding uses.";
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: string;
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: string;
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
  };