omkit 0.8.14 → 0.8.16
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/README.md +411 -411
- package/dist/core/ExecutionTree.js +1 -0
- package/dist/core/step.js +1 -0
- package/dist/core/types.d.ts +2 -0
- package/dist/output/writers/report/report.css +480 -376
- package/dist/output/writers/report/report.js +2366 -1981
- package/dist/output/writers/views.d.ts +2 -0
- package/package.json +1 -1
|
@@ -417,6 +417,7 @@ export class ExecutionTree {
|
|
|
417
417
|
...(meta.description === undefined ? {} : { description: { ...meta.description } }),
|
|
418
418
|
...(meta.mcp === undefined ? {} : { mcp: { ...meta.mcp } }),
|
|
419
419
|
...(inputSchema === undefined ? {} : { inputSchema }),
|
|
420
|
+
...("inline" in meta && meta.inline ? { kind: "step" } : {}),
|
|
420
421
|
};
|
|
421
422
|
}
|
|
422
423
|
/** Test seam: the projected run view (same object written to result.json). */
|
package/dist/core/step.js
CHANGED
|
@@ -18,6 +18,7 @@ export function step(name, fn) {
|
|
|
18
18
|
body: fn,
|
|
19
19
|
definedAt: site,
|
|
20
20
|
calledAt: site,
|
|
21
|
+
meta: { inline: true },
|
|
21
22
|
};
|
|
22
23
|
// `.result` already resolves the value and rejects on failure/cancel — exactly step's contract.
|
|
23
24
|
return ExecutionTree.require().launch(spec).result;
|
package/dist/core/types.d.ts
CHANGED
|
@@ -254,4 +254,6 @@ export interface ActionMeta {
|
|
|
254
254
|
readonly mcp?: ResolvedMcpExposure;
|
|
255
255
|
/** Converts the declared args schema; called once, at finalize. */
|
|
256
256
|
readonly describeArgs?: () => DescribedArgs;
|
|
257
|
+
/** Launched by `step(…)` — an inline action with no reusable definition. */
|
|
258
|
+
readonly inline?: boolean;
|
|
257
259
|
}
|