@bli-cockpit/telemetry-core 0.1.45 → 0.1.46

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.
@@ -507,6 +507,8 @@ export declare const AgentSessionSourceSchema: z.ZodDefault<z.ZodEnum<{
507
507
  }>>;
508
508
  export type AgentSessionSource = z.infer<typeof AgentSessionSourceSchema>;
509
509
  export declare const CodexSessionAttributionSchema: z.ZodObject<{
510
+ ticket_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
511
+ ticket_binding_source: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"explicit_bind">>>;
510
512
  codex_session_id: z.ZodString;
511
513
  source: z.ZodDefault<z.ZodEnum<{
512
514
  codex: "codex";
@@ -576,6 +578,8 @@ export declare const CodexSessionAttributionReportRequestSchema: z.ZodObject<{
576
578
  work_context_id: z.ZodString;
577
579
  }, z.core.$strict>;
578
580
  sessions: z.ZodArray<z.ZodObject<{
581
+ ticket_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
582
+ ticket_binding_source: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"explicit_bind">>>;
579
583
  codex_session_id: z.ZodString;
580
584
  source: z.ZodDefault<z.ZodEnum<{
581
585
  codex: "codex";
@@ -273,6 +273,8 @@ export const AgentSessionSourceSchema = z
273
273
  .default("codex");
274
274
  export const CodexSessionAttributionSchema = z
275
275
  .object({
276
+ ticket_id: NonEmptyStringSchema.max(120).nullable().optional(),
277
+ ticket_binding_source: z.literal("explicit_bind").nullable().optional(),
276
278
  codex_session_id: NonEmptyStringSchema.max(120),
277
279
  source: AgentSessionSourceSchema,
278
280
  observed_at: IsoDateTimeSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bli-cockpit/telemetry-core",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",