@withandeo/cli 0.19.5 → 0.19.6
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/api.d.ts +4 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js.map +1 -1
- package/dist/errors.d.ts +2 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +3 -1
- package/dist/errors.js.map +1 -1
- package/dist/git-outcome.d.ts +12 -0
- package/dist/git-outcome.d.ts.map +1 -1
- package/dist/git-outcome.js +54 -14
- package/dist/git-outcome.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +15 -6
- package/dist/main.js.map +1 -1
- package/dist/workflow-config.d.ts +2 -0
- package/dist/workflow-config.d.ts.map +1 -1
- package/dist/workflow-config.js +15 -4
- package/dist/workflow-config.js.map +1 -1
- package/dist/workflow-contract.d.ts +14 -2
- package/dist/workflow-contract.d.ts.map +1 -1
- package/dist/workflow-contract.js +47 -3
- package/dist/workflow-contract.js.map +1 -1
- package/dist/workflow-dev-host.d.ts +1 -1
- package/dist/workflow-dev-host.d.ts.map +1 -1
- package/dist/workflow-dev-host.js +10 -5
- package/dist/workflow-dev-host.js.map +1 -1
- package/dist/workflow-dev.d.ts.map +1 -1
- package/dist/workflow-dev.js +16 -12
- package/dist/workflow-dev.js.map +1 -1
- package/dist/workflow-egress.d.ts +10 -0
- package/dist/workflow-egress.d.ts.map +1 -0
- package/dist/workflow-egress.js +96 -0
- package/dist/workflow-egress.js.map +1 -0
- package/dist/workflow-package.d.ts.map +1 -1
- package/dist/workflow-package.js +3 -2
- package/dist/workflow-package.js.map +1 -1
- package/package.json +1 -1
- package/skill/tender-accounts/references/workflows.md +16 -1
|
@@ -37,7 +37,22 @@ export class CustomerActivity extends WorkflowEntrypoint<{}, { runId: string }>
|
|
|
37
37
|
// return Response.json({ runId: await run.id }, { status: 202 });
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
The CLI packages code for Andeo's Dynamic Workflow hosts. Do not deploy a separate Cloudflare workflow.
|
|
40
|
+
The CLI packages code for Andeo's Dynamic Workflow hosts. Do not deploy a separate Cloudflare workflow. Public network is denied by default. To permit direct HTTPS, create `andeo.workflow-egress.json` beside the Wrangler configuration with schema `andeo.workflow-egress/v1` and one entry for every declared logical workflow:
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{
|
|
44
|
+
"schema": "andeo.workflow-egress/v1",
|
|
45
|
+
"workflows": {
|
|
46
|
+
"customer-activity": {
|
|
47
|
+
"https": [{ "hostname": "gateway.example.com", "port": 443 }]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
An omitted file gives every workflow an empty allowlist. When the file exists, every declared workflow name must be present; use `"https": []` for workflows with no direct public fetches. Destinations are exact HTTPS hostname/443 pairs—never wildcards, IP literals, internal names, credentials, or alternate ports. Redirected GET/HEAD requests are revalidated against the same policy; redirects for mutations are denied. Keep variable URLs constrained to the retained allowlist and bound timeouts and response sizes.
|
|
54
|
+
|
|
55
|
+
The allowlist covers only direct global `fetch()` from workflow code. It does not list connected service bindings. Put secret-backed provider calls, provider SDKs, and operations needing credentials behind an approved service contract; do not add that provider's public hostname unless the workflow itself fetches it directly. Make external effects idempotent because durable steps retry. A callback that only knows a run ID is a demo receipt, not sender authentication; use secret-backed verification for trusted callbacks.
|
|
41
56
|
|
|
42
57
|
## Environment and services
|
|
43
58
|
|