@walkeros/cli 4.9.0-next-1793116456867 → 4.9.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.
- package/CHANGELOG.md +32 -7
- package/dist/cli.js +1599 -1460
- package/dist/examples/README.md +7 -5
- package/dist/examples/customers/README.md +3 -3
- package/dist/examples/flow-complete.json +55 -25
- package/dist/examples/flow-complete.md +48 -19
- package/dist/examples/flow-selfhost-test.json +3 -1
- package/dist/examples/index.d.ts +25 -1
- package/dist/examples/index.js +86 -32
- package/dist/examples/index.js.map +1 -1
- package/dist/examples/server-collect.json +1 -2
- package/dist/examples/shared/README.md +3 -0
- package/dist/examples/shared/products/SKU-1 +1 -0
- package/dist/examples/shared/products/SKU-2 +1 -0
- package/dist/examples/web-serve.json +4 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/validate.js +1 -1
- package/examples/README.md +7 -5
- package/examples/customers/README.md +3 -3
- package/examples/flow-complete.json +55 -25
- package/examples/flow-complete.md +48 -19
- package/examples/flow-selfhost-test.json +3 -1
- package/examples/server-collect.json +1 -2
- package/examples/shared/README.md +3 -0
- package/examples/shared/products/SKU-1 +1 -0
- package/examples/shared/products/SKU-2 +1 -0
- package/examples/web-serve.json +4 -0
- package/package.json +30 -30
- package/src/telemetry/flow.json +1 -1
|
@@ -6,6 +6,9 @@ Files the server flow of `flow-complete.json` serves first party.
|
|
|
6
6
|
- The `assets` store (`@walkeros/server-store-fs`,
|
|
7
7
|
`basePath: "$env.ASSETS_DIR:./shared"`) reads from it, and the `file`
|
|
8
8
|
transformer answers `GET /walker.js` with it.
|
|
9
|
+
- `products/SKU-1` and `products/SKU-2` are the demo products of the order
|
|
10
|
+
example as JSON (name and price, no personal data); the `productApi`
|
|
11
|
+
transformer answers `GET /demo/products/SKU-1` with them.
|
|
9
12
|
- `walker.js` is generated, not committed. Build the web flow straight into this
|
|
10
13
|
folder (web builds ignore root `include`):
|
|
11
14
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"Trail Runner","price":129.9}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"Running Socks","price":9.95}
|
|
@@ -59,15 +59,19 @@
|
|
|
59
59
|
"bundle": {
|
|
60
60
|
"packages": {
|
|
61
61
|
"@walkeros/collector": {
|
|
62
|
+
"version": "latest",
|
|
62
63
|
"imports": ["startFlow"]
|
|
63
64
|
},
|
|
64
65
|
"@walkeros/source-demo": {
|
|
66
|
+
"version": "latest",
|
|
65
67
|
"imports": ["sourceDemo"]
|
|
66
68
|
},
|
|
67
69
|
"@walkeros/destination-demo": {
|
|
70
|
+
"version": "latest",
|
|
68
71
|
"imports": ["destinationDemo"]
|
|
69
72
|
},
|
|
70
73
|
"@walkeros/web-destination-api": {
|
|
74
|
+
"version": "latest",
|
|
71
75
|
"imports": ["destinationAPI"]
|
|
72
76
|
}
|
|
73
77
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ declare function resolveExportName(flow: Flow, kind: ComponentKind, id: string):
|
|
|
62
62
|
*
|
|
63
63
|
* Platform-derived defaults:
|
|
64
64
|
* - web: format=iife, target=es2020, platform=browser
|
|
65
|
-
* - server: format=esm, target=
|
|
65
|
+
* - server: format=esm, target=node20, platform=node
|
|
66
66
|
*/
|
|
67
67
|
interface CLIBuildOptions extends Pick<BuildOptions$1, 'external'> {
|
|
68
68
|
/**
|
|
@@ -1386,7 +1386,8 @@ interface ClientContext {
|
|
|
1386
1386
|
/**
|
|
1387
1387
|
* Set the client context used to identify this process to the walkerOS app.
|
|
1388
1388
|
*
|
|
1389
|
-
* The CLI binary calls this at startup
|
|
1389
|
+
* The CLI binary calls this at startup. The MCP server does not, so its
|
|
1390
|
+
* requests carry no client headers.
|
|
1390
1391
|
* The `WALKEROS_CLIENT_TYPE` env var overrides the resolved type (env wins
|
|
1391
1392
|
* over `input.type`).
|
|
1392
1393
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1964,7 +1964,7 @@ async function assertConsumerDepsSatisfied(root, logger) {
|
|
|
1964
1964
|
};
|
|
1965
1965
|
violations.push(violation);
|
|
1966
1966
|
logger.warn(
|
|
1967
|
-
`Bundler dep mismatch: ${violation.consumerName}@${violation.consumerVersion} declares ${depName}@${declaredRange} but resolved to ${installed.version} at ${installed.dir}. If this surfaces at runtime, add an
|
|
1967
|
+
`Bundler dep mismatch: ${violation.consumerName}@${violation.consumerVersion} declares ${depName}@${declaredRange} but resolved to ${installed.version} at ${installed.dir}. If this surfaces at runtime, add an entry to config.bundle.overrides in the flow file.`
|
|
1968
1968
|
);
|
|
1969
1969
|
}
|
|
1970
1970
|
}
|
|
@@ -6515,7 +6515,7 @@ async function readStepPackageInfo(resolved, options) {
|
|
|
6515
6515
|
}
|
|
6516
6516
|
|
|
6517
6517
|
// src/commands/validate/validators/settings.ts
|
|
6518
|
-
var CLIENT_HEADER = "walkeros-cli/4.9.0
|
|
6518
|
+
var CLIENT_HEADER = "walkeros-cli/4.9.0";
|
|
6519
6519
|
var LOGGER = createLogger();
|
|
6520
6520
|
function createSettingsContext(configDir) {
|
|
6521
6521
|
return { configDir, cache: /* @__PURE__ */ new Map(), compiled: /* @__PURE__ */ new Map() };
|