@noetic-tools/types 1.0.2 → 1.0.3
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/types/runtime.d.ts +7 -0
- package/package.json +1 -1
package/dist/types/runtime.d.ts
CHANGED
|
@@ -62,6 +62,13 @@ interface CallModelRequestBase {
|
|
|
62
62
|
* so model/tool spans nest under the root `workflow.run` span.
|
|
63
63
|
*/
|
|
64
64
|
parentSpan?: Span;
|
|
65
|
+
/**
|
|
66
|
+
* @internal Id of the workflow node driving this call. Set by
|
|
67
|
+
* `parseAndRunWorkflow` (from the executing step's id) so the `llm.call` and
|
|
68
|
+
* `tool.call` spans this request produces carry `NoeticAttr.NODE_ID`, linking
|
|
69
|
+
* each span back to its node in the declared DAG.
|
|
70
|
+
*/
|
|
71
|
+
nodeId?: string;
|
|
65
72
|
}
|
|
66
73
|
/** @public Request shape when tools are provided — ctx is required for tool execution callbacks. */
|
|
67
74
|
interface CallModelRequestWithTools extends CallModelRequestBase {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noetic-tools/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Foundational type contracts and primitives shared across the Noetic framework (items, LLM config, adapters, steering, errors).",
|
|
6
6
|
"license": "Apache-2.0",
|