@agimon-ai/po-workflow 0.0.0-alpha.50 → 0.0.0-alpha.52
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/{RecoverWorkflowService-CtCn90bm.mjs → RecoverWorkflowService-BH836ddP.mjs} +7 -2
- package/dist/RecoverWorkflowService-BH836ddP.mjs.map +1 -0
- package/dist/{RecoverWorkflowService-B5oWGIN6.cjs → RecoverWorkflowService-DrHOy-Vz.cjs} +7 -2
- package/dist/RecoverWorkflowService-DrHOy-Vz.cjs.map +1 -0
- package/dist/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/extensions/server.cjs +9 -4
- package/dist/extensions/server.cjs.map +1 -1
- package/dist/extensions/server.mjs +9 -4
- package/dist/extensions/server.mjs.map +1 -1
- package/package.json +8 -8
- package/dist/RecoverWorkflowService-B5oWGIN6.cjs.map +0 -1
- package/dist/RecoverWorkflowService-CtCn90bm.mjs.map +0 -1
|
@@ -543,6 +543,7 @@ const WorkflowSchema = z.object({
|
|
|
543
543
|
commands: z.record(z.string(), CommandTemplateSchema).optional().describe("Command templates a templated interactiveRun selects with --command."),
|
|
544
544
|
choices: z.record(z.string(), ChoiceSchema).optional().describe("Model compositions a launch selects with --choice; \"default\" is used when none is named."),
|
|
545
545
|
runConfig: RunConfigSchema.optional().describe("Defaults laid under the runConfig of every interactiveRun and customRun step; a step key wins."),
|
|
546
|
+
sessionConfig: z.object({ majorMode: z.string().trim().min(1).optional().describe("Major mode of the workflow session that owns the run; steps keep their runConfig.majorMode.") }).strict().optional().describe("Settings for the workflow session a launch creates, not for its step sessions."),
|
|
546
547
|
imports: z.array(z.string()).optional(),
|
|
547
548
|
"system-prompt": z.string().optional(),
|
|
548
549
|
"max-workflows": z.number().int().positive().optional(),
|
|
@@ -1179,7 +1180,7 @@ var WorkflowParserService = class {
|
|
|
1179
1180
|
* - jobs: imported template jobs (dot-prefixed) merged in, main overrides
|
|
1180
1181
|
* - system-prompt: concatenated (imported + main)
|
|
1181
1182
|
* - commands, choices: merged per name (main overrides imported)
|
|
1182
|
-
* - runConfig: merged per key (main overrides imported)
|
|
1183
|
+
* - runConfig, sessionConfig: merged per key (main overrides imported)
|
|
1183
1184
|
* Imports are processed in order; later imports override earlier ones.
|
|
1184
1185
|
* Circular imports are detected and throw an error.
|
|
1185
1186
|
*/
|
|
@@ -1236,6 +1237,10 @@ var WorkflowParserService = class {
|
|
|
1236
1237
|
...imported.runConfig,
|
|
1237
1238
|
...workflow.runConfig
|
|
1238
1239
|
};
|
|
1240
|
+
if (imported.sessionConfig) workflow.sessionConfig = {
|
|
1241
|
+
...imported.sessionConfig,
|
|
1242
|
+
...workflow.sessionConfig
|
|
1243
|
+
};
|
|
1239
1244
|
if (imported["run-directory"]) workflow["run-directory"] = this.mergeRunDirectories(imported["run-directory"], workflow["run-directory"]);
|
|
1240
1245
|
if (imported.repair && !workflow.repair) workflow.repair = imported.repair;
|
|
1241
1246
|
if (imported["system-prompt"]) {
|
|
@@ -10940,4 +10945,4 @@ var RecoverWorkflowService = class {
|
|
|
10940
10945
|
//#endregion
|
|
10941
10946
|
export { listWorkflows as A, diagnoseWorkflow as C, workflowShellOutput as D, createWorkflowRuntime as E, readWorkflowCatalog as O, resolveWorkflowCliPath as S, WorkflowParserService as T, connectNativeTerminal as _, readWorkflowProgress as a, createWorkflowHost as b, workflowRunPhase as c, WORKFLOW_DECISION_STEERING_HOST as d, gateStepDecision as f, NativeTerminalService as g, RunDirectoryService as h, WorkflowRegistryService as i, summarizeWorkflow as k, WORKFLOW_DECISION_FILE_ENV as l, recordStepDecision as m, RunWorkflowService as n, readWorkflowProgressFrom as o, readStepDecision as p, createEmbeddedRunWorkflowService as r, summarizeWorkflowProgress as s, RecoverWorkflowService as t, WORKFLOW_DECISION_STEERING_ENV as u, serveNativeTerminal as v, diagnoseWorkflows as w, readWorkflowPackageVersion as x, terminalSocketPath as y };
|
|
10942
10947
|
|
|
10943
|
-
//# sourceMappingURL=RecoverWorkflowService-
|
|
10948
|
+
//# sourceMappingURL=RecoverWorkflowService-BH836ddP.mjs.map
|