@bli-cockpit/telemetry-core 0.1.9 → 0.1.10
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/evidence-upload.d.ts +5 -0
- package/dist/evidence-upload.js +11 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/ticket-id.d.ts +1 -0
- package/dist/ticket-id.js +4 -0
- package/package.json +1 -1
|
@@ -342,13 +342,16 @@ export type RawEvidenceUploadCommitResponse = z.infer<typeof RawEvidenceUploadCo
|
|
|
342
342
|
* cwd basename/hash) instead of being duplicated into every repo's evidence
|
|
343
343
|
* pack or silently dropped. No content-bearing fields are allowed.
|
|
344
344
|
*/
|
|
345
|
+
export declare const CODEX_SESSION_ATTRIBUTION_STATES: readonly ["attributed", "attributed_fallback", "ambiguous", "unattributed", "skipped"];
|
|
345
346
|
export declare const CodexSessionAttributionStateSchema: z.ZodEnum<{
|
|
346
347
|
skipped: "skipped";
|
|
347
348
|
attributed: "attributed";
|
|
349
|
+
attributed_fallback: "attributed_fallback";
|
|
348
350
|
ambiguous: "ambiguous";
|
|
349
351
|
unattributed: "unattributed";
|
|
350
352
|
}>;
|
|
351
353
|
export type CodexSessionAttributionState = z.infer<typeof CodexSessionAttributionStateSchema>;
|
|
354
|
+
export declare const CODEX_SESSION_ATTRIBUTION_STATE_RANK: Record<CodexSessionAttributionState, number>;
|
|
352
355
|
export declare const CodexSessionUploadStateSchema: z.ZodEnum<{
|
|
353
356
|
uploaded: "uploaded";
|
|
354
357
|
reused_existing: "reused_existing";
|
|
@@ -377,6 +380,7 @@ export declare const CodexSessionAttributionSchema: z.ZodObject<{
|
|
|
377
380
|
attribution_state: z.ZodEnum<{
|
|
378
381
|
skipped: "skipped";
|
|
379
382
|
attributed: "attributed";
|
|
383
|
+
attributed_fallback: "attributed_fallback";
|
|
380
384
|
ambiguous: "ambiguous";
|
|
381
385
|
unattributed: "unattributed";
|
|
382
386
|
}>;
|
|
@@ -444,6 +448,7 @@ export declare const CodexSessionAttributionReportRequestSchema: z.ZodObject<{
|
|
|
444
448
|
attribution_state: z.ZodEnum<{
|
|
445
449
|
skipped: "skipped";
|
|
446
450
|
attributed: "attributed";
|
|
451
|
+
attributed_fallback: "attributed_fallback";
|
|
447
452
|
ambiguous: "ambiguous";
|
|
448
453
|
unattributed: "unattributed";
|
|
449
454
|
}>;
|
package/dist/evidence-upload.js
CHANGED
|
@@ -130,12 +130,21 @@ export const RawEvidenceUploadCommitResponseSchema = z
|
|
|
130
130
|
* cwd basename/hash) instead of being duplicated into every repo's evidence
|
|
131
131
|
* pack or silently dropped. No content-bearing fields are allowed.
|
|
132
132
|
*/
|
|
133
|
-
export const
|
|
133
|
+
export const CODEX_SESSION_ATTRIBUTION_STATES = [
|
|
134
134
|
"attributed",
|
|
135
|
+
"attributed_fallback",
|
|
135
136
|
"ambiguous",
|
|
136
137
|
"unattributed",
|
|
137
138
|
"skipped",
|
|
138
|
-
]
|
|
139
|
+
];
|
|
140
|
+
export const CodexSessionAttributionStateSchema = z.enum(CODEX_SESSION_ATTRIBUTION_STATES);
|
|
141
|
+
export const CODEX_SESSION_ATTRIBUTION_STATE_RANK = {
|
|
142
|
+
attributed: 4,
|
|
143
|
+
attributed_fallback: 3,
|
|
144
|
+
ambiguous: 2,
|
|
145
|
+
unattributed: 1,
|
|
146
|
+
skipped: 0,
|
|
147
|
+
};
|
|
139
148
|
export const CodexSessionUploadStateSchema = z.enum([
|
|
140
149
|
"uploaded",
|
|
141
150
|
"reused_existing",
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function parseTicketIdFromText(value: string): string | null;
|