@osfactory/har 0.55.0 → 0.56.1

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.
Files changed (2) hide show
  1. package/dist/index.js +35 -2
  2. 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),
@@ -54195,7 +54228,7 @@ var init_otel_hooks = __esm({
54195
54228
  path48 = __toESM(require("path"));
54196
54229
  init_control_config();
54197
54230
  init_telemetry_config();
54198
- OTEL_HOOKS_PACKAGE = "@osfactory/otel-hook@0.1.2";
54231
+ OTEL_HOOKS_PACKAGE = "@osfactory/otel-hook@0.2.0";
54199
54232
  OTEL_HOOKS_PROVIDERS = [
54200
54233
  { id: "cursor", label: "cursor" },
54201
54234
  { id: "claude-code", label: "claude" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osfactory/har",
3
- "version": "0.55.0",
3
+ "version": "0.56.1",
4
4
  "description": "Open harness for reproducible multi-agent coding workflows",
5
5
  "keywords": [
6
6
  "har",