@whittlelabs/sifter 0.42.6 → 0.42.8
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/bin.js +16 -3
- package/bin.js.map +2 -2
- package/package.json +1 -1
package/bin.js
CHANGED
|
@@ -3568,9 +3568,15 @@ var require_nodes = __commonJS({
|
|
|
3568
3568
|
"../../packages/loom/dist/builder/nodes.js"(exports2) {
|
|
3569
3569
|
"use strict";
|
|
3570
3570
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3571
|
+
exports2.sessionOutputSchema = void 0;
|
|
3572
|
+
exports2.isSessionOutputSchema = isSessionOutputSchema;
|
|
3571
3573
|
exports2.promptNode = promptNode;
|
|
3572
3574
|
exports2.httpNode = httpNode;
|
|
3573
3575
|
exports2.jobsCreateNode = jobsCreateNode;
|
|
3576
|
+
exports2.sessionOutputSchema = Object.freeze({ source: "session" });
|
|
3577
|
+
function isSessionOutputSchema(value) {
|
|
3578
|
+
return value === exports2.sessionOutputSchema;
|
|
3579
|
+
}
|
|
3574
3580
|
function promptNode(name2, options) {
|
|
3575
3581
|
return { name: name2, entryBehavior: "loom.prompt", promptOptions: options };
|
|
3576
3582
|
}
|
|
@@ -9606,6 +9612,7 @@ var require_canonicalise = __commonJS({
|
|
|
9606
9612
|
}
|
|
9607
9613
|
var errors_1 = require_errors2();
|
|
9608
9614
|
var resolvers_1 = require_resolvers();
|
|
9615
|
+
var nodes_1 = require_nodes();
|
|
9609
9616
|
var transitions_1 = require_transitions();
|
|
9610
9617
|
async function canonicaliseWorkflow(workflow, opts) {
|
|
9611
9618
|
const nodes = [];
|
|
@@ -9664,7 +9671,7 @@ var require_canonicalise = __commonJS({
|
|
|
9664
9671
|
jobPoolRef: promptDescriptor,
|
|
9665
9672
|
promptTemplate: templateText,
|
|
9666
9673
|
promptTemplatePath: promptOptions.promptTemplate,
|
|
9667
|
-
outputSchema: toJsonSchema(promptOptions.outputSchema),
|
|
9674
|
+
...(0, nodes_1.isSessionOutputSchema)(promptOptions.outputSchema) ? { outputSchemaSource: "session" } : { outputSchema: toJsonSchema(promptOptions.outputSchema) },
|
|
9668
9675
|
...promptOptions.outputGates ? { outputGates: promptOptions.outputGates } : {},
|
|
9669
9676
|
...promptOptions.answerFiles ? { answerFiles: promptOptions.answerFiles } : {},
|
|
9670
9677
|
outputLabel,
|
|
@@ -9871,7 +9878,7 @@ var require_dist = __commonJS({
|
|
|
9871
9878
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
9872
9879
|
};
|
|
9873
9880
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9874
|
-
exports2.SeedWorkflowsError = exports2.WorkflowBuilderError = exports2.seedWorkflows = exports2.canonicaliseWorkflow = exports2.synthesiseLinearChain = exports2.describeJobPoolRef = exports2.literalJobPool = exports2.principalJobPool = exports2.jobsCreateNode = exports2.httpNode = exports2.promptNode = exports2.defineWorkflow = exports2.promptExecutionTags = exports2.buildPromptExecutionInputs = void 0;
|
|
9881
|
+
exports2.SeedWorkflowsError = exports2.WorkflowBuilderError = exports2.seedWorkflows = exports2.canonicaliseWorkflow = exports2.synthesiseLinearChain = exports2.describeJobPoolRef = exports2.literalJobPool = exports2.principalJobPool = exports2.isSessionOutputSchema = exports2.sessionOutputSchema = exports2.jobsCreateNode = exports2.httpNode = exports2.promptNode = exports2.defineWorkflow = exports2.promptExecutionTags = exports2.buildPromptExecutionInputs = void 0;
|
|
9875
9882
|
__exportStar(require_runtime(), exports2);
|
|
9876
9883
|
var prompt_execution_1 = require_prompt_execution2();
|
|
9877
9884
|
Object.defineProperty(exports2, "buildPromptExecutionInputs", { enumerable: true, get: function() {
|
|
@@ -9894,6 +9901,12 @@ var require_dist = __commonJS({
|
|
|
9894
9901
|
Object.defineProperty(exports2, "jobsCreateNode", { enumerable: true, get: function() {
|
|
9895
9902
|
return nodes_1.jobsCreateNode;
|
|
9896
9903
|
} });
|
|
9904
|
+
Object.defineProperty(exports2, "sessionOutputSchema", { enumerable: true, get: function() {
|
|
9905
|
+
return nodes_1.sessionOutputSchema;
|
|
9906
|
+
} });
|
|
9907
|
+
Object.defineProperty(exports2, "isSessionOutputSchema", { enumerable: true, get: function() {
|
|
9908
|
+
return nodes_1.isSessionOutputSchema;
|
|
9909
|
+
} });
|
|
9897
9910
|
var resolvers_1 = require_resolvers();
|
|
9898
9911
|
Object.defineProperty(exports2, "principalJobPool", { enumerable: true, get: function() {
|
|
9899
9912
|
return resolvers_1.principalJobPool;
|
|
@@ -76001,7 +76014,7 @@ var import_path = require("path");
|
|
|
76001
76014
|
var import_promises = require("fs/promises");
|
|
76002
76015
|
var import_yaml = __toESM(require_dist5());
|
|
76003
76016
|
var import_shuttle = __toESM(require_dist8());
|
|
76004
|
-
var buildVersion = true ? "0.42.
|
|
76017
|
+
var buildVersion = true ? "0.42.8" : pkg.version;
|
|
76005
76018
|
var AGENT_EXECUTORS = ["claude-code", "codex", "copilot"];
|
|
76006
76019
|
var sifterBrand = {
|
|
76007
76020
|
product: {
|