@osfactory/otel-hook 0.1.1 → 0.1.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/cli.js +55 -10
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +37 -9
- package/dist/index.js.map +1 -1
- package/dist/install.js +6 -1
- package/dist/install.js.map +1 -1
- package/dist/integration.js +7 -2
- package/dist/integration.js.map +1 -1
- package/dist/lifecycle.js +1 -1
- package/dist/lifecycle.js.map +1 -1
- package/dist/providers.js +36 -8
- package/dist/providers.js.map +1 -1
- package/dist/runtime.js +6 -1
- package/dist/runtime.js.map +1 -1
- package/dist/telemetry.js +1 -1
- package/dist/telemetry.js.map +1 -1
- package/dist/testing.js +36 -8
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/dist/install.js
CHANGED
|
@@ -842,7 +842,12 @@ var usageFields = {
|
|
|
842
842
|
cache_write_tokens: z4.number().int().min(0).optional()
|
|
843
843
|
};
|
|
844
844
|
var envelopeShape = {
|
|
845
|
-
|
|
845
|
+
// Not `.min(1)`: see `cursorSessionId`. A payload naming neither
|
|
846
|
+
// `conversation_id` nor `session_id` is still rejected — by
|
|
847
|
+
// `recognizeCursorPayload`'s post-parse check — but rejecting it here would
|
|
848
|
+
// fail the whole discriminated union on a field the adapter can source from
|
|
849
|
+
// either name.
|
|
850
|
+
conversation_id: z4.string().optional(),
|
|
846
851
|
generation_id: z4.string().optional(),
|
|
847
852
|
session_id: z4.string().optional(),
|
|
848
853
|
model: z4.string().optional(),
|