@kortyx/hooks 0.18.0 → 0.19.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 +15 -0
- package/README.md +28 -0
- package/dist/index.d.ts +64 -4
- package/dist/index.js +248 -3
- package/dist/index.js.map +1 -1
- package/dist/internal.d.ts +2 -2
- package/dist/{tracing-DeYHBpY1.d.ts → tracing-BI6YKHSf.d.ts} +4 -1
- package/package.json +3 -3
package/dist/internal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProviderModelRef, KortyxReasoningOptions, KortyxResponseFormat, KortyxToolDefinition, KortyxPromptMessage, KortyxUsage, KortyxFinishReason, KortyxToolCall, KortyxProviderMetadata, KortyxWarning } from '@kortyx/providers';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { a as KortyxTraceMetadata, R as ReasonTraceAdapter } from './tracing-BI6YKHSf.js';
|
|
3
|
+
export { K as KortyxTelemetryConfig, j as KortyxTraceAdapter } from './tracing-BI6YKHSf.js';
|
|
4
4
|
import '@kortyx/telemetry-contracts';
|
|
5
5
|
|
|
6
6
|
interface RunReasonEngineArgs {
|
|
@@ -69,6 +69,9 @@ interface KortyxTelemetryReporter {
|
|
|
69
69
|
}) => string | undefined;
|
|
70
70
|
}
|
|
71
71
|
type KortyxTelemetryCorrelation = {
|
|
72
|
+
invocationId?: string | undefined;
|
|
73
|
+
parentInvocationId?: string | undefined;
|
|
74
|
+
branchId?: string | undefined;
|
|
72
75
|
runId?: string | undefined;
|
|
73
76
|
sessionId?: string | undefined;
|
|
74
77
|
workflowId?: string | undefined;
|
|
@@ -88,4 +91,4 @@ type KortyxTelemetryConfig = {
|
|
|
88
91
|
captureContent?: KortyxTelemetryContentCapture | undefined;
|
|
89
92
|
};
|
|
90
93
|
|
|
91
|
-
export type { EnsureWorkflowTopologyRequest as E,
|
|
94
|
+
export type { EnsureWorkflowTopologyRequest as E, KortyxTelemetryConfig as K, ReasonTraceAdapter as R, KortyxTraceMetadata as a, KortyxTelemetryEventType as b, EnsureWorkflowTopologyResponse as c, KortyxTelemetryContentCapture as d, KortyxTelemetryCorrelation as e, KortyxTelemetryEvent as f, KortyxTelemetryPrompt as g, KortyxTelemetryReporter as h, KortyxTelemetryService as i, KortyxTraceAdapter as j, ReasonTraceAttributes as k, ReasonTraceSpan as l, ReasonTraceSpanEndArgs as m, ReasonTraceSpanStartArgs as n };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kortyx/hooks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Lifecycle hooks and extension points for Kortyx.",
|
|
6
6
|
"keywords": [
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"zod": "^4.3.6",
|
|
40
|
-
"@kortyx/core": "0.
|
|
40
|
+
"@kortyx/core": "0.6.0",
|
|
41
41
|
"@kortyx/providers": "0.5.0",
|
|
42
|
-
"@kortyx/telemetry-contracts": "0.
|
|
42
|
+
"@kortyx/telemetry-contracts": "0.3.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"turbo": "2.6.1",
|