@osfactory/har 0.55.0 → 0.56.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/dist/index.js +34 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4248,7 +4248,7 @@ var init_zod = __esm({
|
|
|
4248
4248
|
});
|
|
4249
4249
|
|
|
4250
4250
|
// packages/schemas/src/schema.ts
|
|
4251
|
-
var HAR_STAGE_KINDS, HAR_AGENT_SLOT_MIN, AgentSkillTargetSchema, ScaffoldedAgentFileSchema, HarnessManifestSchema, HarnessStageKindSchema, HarnessArtifactKindSchema, HarnessArtifactSchema, HarnessStageIdSchema, HarnessStageSchema, HarnessAgentSlotsSchema, CommitGateConfigSchema, OnboardingPreferencesSchema, HarnessStageRegistrySchema, HarnessVerificationStepSchema, ShellRunOutputSchema, HarnessVerificationResultSchema, HarnessStageRunStatusSchema, HarnessStageLogSchema, HarnessStageUrlSchema, HarnessStageRunResultSchema, StageKindSchema, VerificationResultSchema, StageResultSchema, RunRecordTriggerSchema, WorkUnitIdSchema, WorkAttemptIdSchema, WorkUnitMetadataSchema, WorkUnitOutcomeSchema, WorkUnitRecordSchema, WorkAttemptRecordSchema, RunRecordSchema, SlotRegistryEntrySchema, AgentSlotHarnessUsageSchema, PreflightBlockerSchema, SlotReadinessSchema, AgentSlotStatusSchema, EnvironmentStatusSchema, RegisterRepoInputSchema, UnregisterRepoInputSchema, UnregisterWorktreeResultSchema, UnregisterRepoResultSchema, ResetMissionControlInputSchema, HarnessScrubResultSchema, ResetMissionControlResultSchema, DeleteWorktreesInputSchema, DeleteWorktreeResultSchema, DeleteWorktreesResultSchema, SyncRunsInputSchema, SyncSlotsInputSchema, SyncWorkUnitsInputSchema, ChangedFileStatusSchema, ChangedFileSchema, ValidationRecordSchema, SyncValidationsInputSchema, ValidationBindingRecordSchema, SyncValidationBindingsInputSchema, AgentToolSchema, UsageSourceSchema, AgentSessionUsageSchema, SyncUsageInputSchema, AgentSessionEventSchema, SyncSessionEventsInputSchema;
|
|
4251
|
+
var HAR_STAGE_KINDS, HAR_AGENT_SLOT_MIN, AgentSkillTargetSchema, ScaffoldedAgentFileSchema, HarnessManifestSchema, HarnessStageKindSchema, HarnessArtifactKindSchema, HarnessArtifactSchema, HarnessStageIdSchema, HarnessStageSchema, HarnessAgentSlotsSchema, CommitGateConfigSchema, OnboardingPreferencesSchema, HarnessStageRegistrySchema, HarnessVerificationStepSchema, ShellRunOutputSchema, HarnessVerificationResultSchema, HarnessStageRunStatusSchema, HarnessStageLogSchema, HarnessStageUrlSchema, HarnessStageRunResultSchema, StageKindSchema, VerificationResultSchema, StageResultSchema, RunRecordTriggerSchema, WorkUnitIdSchema, WorkAttemptIdSchema, WorkUnitMetadataSchema, WorkUnitOutcomeSchema, WorkUnitRecordSchema, WorkAttemptRecordSchema, RunRecordSchema, SlotRegistryEntrySchema, AgentSlotHarnessUsageSchema, PreflightBlockerSchema, SlotReadinessSchema, AgentSlotStatusSchema, EnvironmentStatusSchema, RegisterRepoInputSchema, UnregisterRepoInputSchema, UnregisterWorktreeResultSchema, UnregisterRepoResultSchema, ResetMissionControlInputSchema, HarnessScrubResultSchema, ResetMissionControlResultSchema, DeleteWorktreesInputSchema, DeleteWorktreeResultSchema, DeleteWorktreesResultSchema, SyncRunsInputSchema, SyncSlotsInputSchema, SyncWorkUnitsInputSchema, ChangedFileStatusSchema, ChangedFileSchema, ValidationRecordSchema, SyncValidationsInputSchema, ValidationBindingRecordSchema, SyncValidationBindingsInputSchema, AgentToolSchema, UsageSourceSchema, AgentTrajectorySourceSchema, AgentTrajectoryContentDisclosureSchema, AgentTrajectoryRecordV1Schema, AgentSessionUsageSchema, SyncUsageInputSchema, AgentSessionEventSchema, SyncSessionEventsInputSchema;
|
|
4252
4252
|
var init_schema = __esm({
|
|
4253
4253
|
"packages/schemas/src/schema.ts"() {
|
|
4254
4254
|
"use strict";
|
|
@@ -4693,6 +4693,39 @@ var init_schema = __esm({
|
|
|
4693
4693
|
});
|
|
4694
4694
|
AgentToolSchema = external_exports.enum(["claude_code", "codex", "cursor"]);
|
|
4695
4695
|
UsageSourceSchema = external_exports.enum(["otel", "harvest"]);
|
|
4696
|
+
AgentTrajectorySourceSchema = external_exports.enum(["otel", "harvest", "har"]);
|
|
4697
|
+
AgentTrajectoryContentDisclosureSchema = external_exports.enum([
|
|
4698
|
+
"full",
|
|
4699
|
+
"redacted",
|
|
4700
|
+
"masked",
|
|
4701
|
+
"truncated",
|
|
4702
|
+
"withheld",
|
|
4703
|
+
"metadata_only"
|
|
4704
|
+
]);
|
|
4705
|
+
AgentTrajectoryRecordV1Schema = external_exports.object({
|
|
4706
|
+
version: external_exports.literal(1),
|
|
4707
|
+
source: AgentTrajectorySourceSchema,
|
|
4708
|
+
sourceEventId: external_exports.string().min(1),
|
|
4709
|
+
contentKey: external_exports.string().min(1),
|
|
4710
|
+
sessionKey: external_exports.string().min(1),
|
|
4711
|
+
agentId: external_exports.number().int().min(HAR_AGENT_SLOT_MIN),
|
|
4712
|
+
agentTool: AgentToolSchema,
|
|
4713
|
+
eventType: external_exports.string().min(1),
|
|
4714
|
+
sequence: external_exports.number().int().nonnegative(),
|
|
4715
|
+
timestamp: external_exports.string(),
|
|
4716
|
+
payload: external_exports.record(external_exports.unknown()),
|
|
4717
|
+
contentKind: external_exports.string().min(1),
|
|
4718
|
+
contentDisclosure: AgentTrajectoryContentDisclosureSchema,
|
|
4719
|
+
contentLabel: external_exports.string().optional(),
|
|
4720
|
+
traceId: external_exports.string().optional(),
|
|
4721
|
+
spanId: external_exports.string().optional(),
|
|
4722
|
+
parentSpanId: external_exports.string().optional(),
|
|
4723
|
+
generationId: external_exports.string().optional(),
|
|
4724
|
+
toolCallId: external_exports.string().optional(),
|
|
4725
|
+
correlationId: external_exports.string().optional(),
|
|
4726
|
+
workUnitId: WorkUnitIdSchema.optional(),
|
|
4727
|
+
attemptId: WorkAttemptIdSchema.optional()
|
|
4728
|
+
}).passthrough();
|
|
4696
4729
|
AgentSessionUsageSchema = external_exports.object({
|
|
4697
4730
|
sessionKey: external_exports.string().min(1),
|
|
4698
4731
|
agentId: external_exports.number().int().min(HAR_AGENT_SLOT_MIN),
|