jsfe 1.7.10 → 1.7.11
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.
|
@@ -77,8 +77,8 @@ function compose(registries, kind) {
|
|
|
77
77
|
// Composition preserves authored JSON; the engine compiles only after
|
|
78
78
|
// all selected sets are available. Mirror the builder's conventional alias.
|
|
79
79
|
const name = identity(authored && entry.name === undefined ? id.split(/[-:]/).map(part => part.charAt(0).toUpperCase() + part.slice(1)).join('') : entry.name, kind + ' name');
|
|
80
|
-
if (kind === 'flows' && !Array.isArray(entry.steps) && !(authored && (entry.form || entry.provides || entry.performs)))
|
|
81
|
-
fail('flow ' + id + ' needs steps or a declarative form/provider/performer');
|
|
80
|
+
if (kind === 'flows' && !Array.isArray(entry.steps) && !(authored && (entry.form || entry.provides || entry.performs || entry.call || Array.isArray(entry.before) && entry.before.length)))
|
|
81
|
+
fail('flow ' + id + ' needs steps or a declarative form/provider/performer/worker');
|
|
82
82
|
const bytes = JSON.stringify(canonical(entry));
|
|
83
83
|
if (definitions.has(id)) {
|
|
84
84
|
if (definitions.get(id) !== bytes)
|
package/dist/runtime-identity.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const JSFE_RUNTIME_FINGERPRINT = "sha256:
|
|
1
|
+
export const JSFE_RUNTIME_FINGERPRINT = "sha256:03d7af5aa4392435f4f0da80f48ba539208f8de48caa41528a6e1f0a4ad8e9e8";
|
|
@@ -85,8 +85,10 @@ Reviewed acceptance: 89 SDK test files; 142 legacy and 142 native flow suites; 6
|
|
|
85
85
|
Owner authorized publication, exact pins in both consumers, dev host deployment and matching shared/ai-ar-ql activation in all three dev configs with session-only actions. Production deployment and activation are excluded. Shopify Policy remains unchanged with its later review recorded as a tenant TODO. Match runtime, host and regenerated definitions before activation; existing uncertain work must retain its hold.
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
## 1.7.
|
|
88
|
+
## 1.7.11 — self-contained JSON authoring
|
|
89
89
|
|
|
90
90
|
Version-1 JSON flow declarations compile inside JSFE. Tenant JSON contains its forms, providers, performers, workers and ordinary named JavaScript functions; source snapshots remain detached from executable state. Named functions use explicit session arguments and normal JavaScript loops/callbacks. `phrases` and provider `description` are the authoring names; existing executable `words`/`gloss` inputs retain compatibility. Continuation safety revisions are generated internally from source declarations and preserve unknown action holds. The single authoring specification is `docs/copilot-reference.md`, also consumed by the Lambda CoPilot.
|
|
91
91
|
|
|
92
92
|
Owner authorized publication, exact pins in both consumers, dev host deployment and matching shared/ai-ar-ql activation on all three dev configurations with session-only actions. Native Shopify remains composed and Shopify Policy remains unchanged. Production is outside this authorization. Full execution/model replay follows the matched dev activation; local focused results are not relabelled as full published-runtime acceptance.
|
|
93
|
+
|
|
94
|
+
The 1.7.10 publication workflow was stopped before publication after the host-composition preflight rejected call-only declarative workers. Its tag is retained unchanged. The corrected 1.7.11 candidate includes actual registry-composition-to-engine execution coverage.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsfe",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.11",
|
|
4
4
|
"description": "TypeScript workflow engine for conversational/automation apps: multi-flow orchestration, interrupt/resume, stack-based control, robust errors, and flexible tool/REST integration.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ron Pinkas",
|