@zhivex-ai/harness 0.8.0 → 0.10.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.d.ts CHANGED
@@ -7,14 +7,16 @@ export type { StreamRunResultSource } from "./cli-stream.js";
7
7
  export { HARNESS_SESSION_INDEX_FILE, HARNESS_SESSION_SCHEMA_VERSION, SESSION_RUN_STATUSES, TERMINAL_SESSION_RUN_STATUSES, openCliSessionStore, openSessionStore } from "./sessions.js";
8
8
  export type { AppendSessionRunInput, CliSession, CliSessionStore, CliSessionSummary, CreateSessionInput, ForkSessionInput, ListSessionsQuery, OpenSessionStoreOptions, SessionRetentionResult, SessionRunReference, SessionRunStatus, UpdateSessionInput, UpdateSessionRunInput } from "./sessions.js";
9
9
  export { CliOciRuntimeAdapter, HARNESS_EXECUTION_ARTIFACT_SCHEMA_VERSION, HARNESS_OCI_LABEL, HARNESS_OCI_LABEL_VALUE, cleanupHarnessExecutionArtifacts, createHarnessOciExecutionEnvironment, describeOciCommand, executionFingerprintInput, harnessExecutionSession } from "./execution-environment.js";
10
- export type { CreateHarnessOciEnvironmentOptions, EnvironmentPatchImportResult, EnvironmentPatchInspection, ExecutionArtifactCleanupResult, HarnessExecutionSession, HarnessOciExecutionEnvironment, HarnessOciRuntimeAdapter, OciImageInspection, OciCommandResult, OciRunRequest } from "./execution-environment.js";
10
+ export type { CreateHarnessOciEnvironmentOptions, EnvironmentPatchImportResult, EnvironmentPatchInspection, ExecutionArtifactCleanupResult, HarnessCommandResult, HarnessEnvironmentStatus, HarnessExecutionIoMetrics, HarnessExecutionSession, HarnessOciExecutionEnvironment, HarnessOciRuntimeAdapter, OciCommandBatchResult, OciImageInspection, OciCommandResult, OciPhaseLatencies, OciRunBatchRequest, OciRunRequest } from "./execution-environment.js";
11
11
  export { assertHarnessModelCapabilities, inspectHarnessModelCapabilities, selectHarnessModel } from "./capabilities.js";
12
12
  export type { HarnessModelCandidate, HarnessModelCapabilityReport, HarnessModelSelection } from "./capabilities.js";
13
13
  export { HARNESS_MCP_CONFIG_SCHEMA_VERSION, HARNESS_MCP_PERMISSIONS, createHarnessMcpTools, createHttpMcpClient, loadHarnessMcpConfiguration, normalizeHarnessMcpConfiguration } from "./mcp.js";
14
14
  export type { HarnessMcpClients, HarnessMcpConfiguration, HarnessMcpPermission, HarnessMcpServerConfig, HarnessMcpTransport, McpClient, McpListedTool } from "./mcp.js";
15
15
  export { HARNESS_SUBAGENT_PROFILE_DESCRIPTORS, createHarnessSubagents, runHarnessReviewGroup } from "./orchestration.js";
16
16
  export type { HarnessReviewGroupResult, HarnessSubagentProfileDescriptor, HarnessSubagentRuntime } from "./orchestration.js";
17
- export { BUN_ENGINE_RANGE, HARNESS_VERSION } from "./version.js";
17
+ export { BUN_ENGINE_RANGE, HARNESS_VERSION, NODE_ENGINE_RANGE } from "./version.js";
18
+ export { CHANGE_ENVELOPE_DIGEST_ALGORITHM, CHANGE_ENVELOPE_SCHEMA_VERSION, MAX_CHANGE_ENVELOPE_APPROVALS, MAX_CHANGE_ENVELOPE_APPROVAL_SCOPES, MAX_CHANGE_ENVELOPE_ATTESTATIONS, MAX_CHANGE_ENVELOPE_CHECKS, canonicalizeChangeEnvelope, changeEnvelopeApprovalSchema, changeEnvelopeBaseSchema, changeEnvelopeCheckSchema, changeEnvelopeEvidenceSchema, changeEnvelopeFingerprintsSchema, changeEnvelopeInputSchema, changeEnvelopePatchSchema, changeEnvelopePreconditionsSchema, changeEnvelopeSchema, computeChangeEnvelopeDigest, computeChangeEnvelopeEvidenceDigest, createChangeEnvelope, digestChangeEnvelopeArtifact, externalAttestationReferenceSchema, verifyChangeEnvelope } from "./change-envelope.js";
19
+ export type { ChangeEnvelope, ChangeEnvelopeApproval, ChangeEnvelopeCheck, ChangeEnvelopeEvidence, ChangeEnvelopePreconditions, ChangeEnvelopeVerificationIssue, ChangeEnvelopeVerificationIssueCode, ChangeEnvelopeVerificationOptions, ChangeEnvelopeVerificationResult, CreateChangeEnvelopeInput, ExternalAttestationReference } from "./change-envelope.js";
18
20
  export { EDIT_CONTRACT_SCHEMA_VERSION, EDIT_DIGEST_ALGORITHM, MAX_EDIT_CHANGES, MAX_EDIT_FILE_BYTES, MAX_EDIT_PROPOSAL_BYTES, applyEditProposalInputSchema, createEditProposal, editContractDocument, editChangeSchema, editChangesSchema, editProposalInputSchema, editProposalChangeSchema, editProposalSchema, fileDigestSchema, moveFileInputSchema, mutationAuditEntrySchema, mutationOperationSchema, quarantineFileInputSchema, restoreFileInputSchema, validateEditProposal, workspaceFilePathSchema } from "./edit-contracts.js";
19
21
  export type { ApplyEditProposalInput, ApplyPatchResult, EditContractDocument, EditChange, EditProposal, EditProposalChange, FileDigest, MoveFileInput, MoveFileResult, MutationAuditEntry, MutationOperation, QuarantineFileInput, QuarantineFileResult, RestoreFileInput, RestoreFileResult } from "./edit-contracts.js";
20
22
  export { HARNESS_INSTRUCTIONS, appendUserMessage, compactHarnessMessages, createExecutionEnvironmentTools, createHarness, estimateMessageTokens, runHarness } from "./harness.js";
@@ -23,4 +25,6 @@ export { validateStateDirectory } from "./state-directory.js";
23
25
  export type { HarnessMigrationResult, HarnessPersistence, HarnessRunQuery } from "./operations.js";
24
26
  export type { CreateHarnessOptions, HarnessRunOptions, ZhivexHarness } from "./harness.js";
25
27
  export { Workspace } from "./workspace.js";
26
- export type { CommandResult, HarnessCheck, ListFilesOptions, SearchFilesOptions, SearchMatch, WorkspaceFile } from "./workspace.js";
28
+ export type { CommandResult, HarnessCheck, ListFilesOptions, ListFilesResult, ReadFilesRequest, SearchFilesOptions, SearchManyOptions, SearchManyQuery, SearchMatch, WorkspaceFile, WorkspaceTopologyFile, WorkspaceIndexDiagnostics } from "./workspace.js";
29
+ export { DEFAULT_TIME_TO_SAFE_FIX_GOAL, TIME_TO_SAFE_FIX_CARRIERS, TIME_TO_SAFE_FIX_FAILURE_STAGES, TIME_TO_SAFE_FIX_GOALS, TIME_TO_SAFE_FIX_PROFILES, TIME_TO_SAFE_FIX_SCHEMA_VERSION, classifyTimeToSafeFixFailure, createTimeToSafeFixCases, createTimeToSafeFixReport, createTimeToSafeFixSample, injectTimeToSafeFixAttack, timeToSafeFixDriverResultSchema, timeToSafeFixLatencyStatistics, timeToSafeFixTaskSchema } from "./time-to-safe-fix.js";
30
+ export type { TimeToSafeFixAggregate, TimeToSafeFixCarrier, TimeToSafeFixCase, TimeToSafeFixDriverResult, TimeToSafeFixFailureStage, TimeToSafeFixGoal, TimeToSafeFixLatencyStatistics, TimeToSafeFixProfile, TimeToSafeFixRate, TimeToSafeFixRatioStatistics, TimeToSafeFixReport, TimeToSafeFixSample, TimeToSafeFixTask } from "./time-to-safe-fix.js";