@oneharness/sdk 0.26.1 → 0.27.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/README.md +1 -1
- package/dist/generated/capabilities.d.ts +113 -0
- package/dist/generated/capabilities.js +134 -0
- package/dist/generated/compact-options.d.ts +26 -0
- package/dist/generated/compact-options.js +2 -0
- package/dist/generated/compact-outcome.d.ts +72 -0
- package/dist/generated/compact-outcome.js +2 -0
- package/dist/generated/config-report.d.ts +42 -24
- package/dist/generated/contracts.d.ts +74 -6
- package/dist/generated/history-line.d.ts +29 -23
- package/dist/generated/history-show-entries.d.ts +26 -20
- package/dist/generated/history-stream-envelope.d.ts +27 -21
- package/dist/generated/history.d.ts +26 -20
- package/dist/generated/options.d.ts +30 -0
- package/dist/generated/registry.d.ts +32 -0
- package/dist/generated/run-stream-envelope.d.ts +73 -5
- package/dist/generated/schemas.json +1004 -100
- package/dist/generated/zod.d.ts +12 -3
- package/dist/generated/zod.js +202 -27
- package/dist/index.d.ts +13 -0
- package/dist/index.js +12 -1
- package/package.json +2 -2
package/dist/generated/zod.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import type { CompactOptions } from "./compact-options.js";
|
|
3
|
+
import type { CompactOutcome, CompactStatus } from "./compact-outcome.js";
|
|
2
4
|
import type { ConfigOptions } from "./config-options.js";
|
|
3
|
-
import type { AppServerMode, ConfigReport, Field, Field10, Field11, Field2, Field3, Field4, Field5, Field6, Field7, Field8, Field9, HarnessReport, HookEntry, VariantReport } from "./config-report.js";
|
|
4
|
-
import type { ActionEvent, AppServerReport, BatchReport, ControlEvent, ControlReason, ControlReport, ControlVerb, ExecutionTelemetry, FailureKind, FallThrough, FallThroughReason, FallbackReport, RunReport, RunResult, RunWork, SessionReport, Status, TimingSource, ToolCallStatus, Usage, UtcInstant } from "./contracts.js";
|
|
5
|
+
import type { AppServerMode, ConfigReport, Field, Field10, Field11, Field12, Field2, Field3, Field4, Field5, Field6, Field7, Field8, Field9, HarnessReport, HookEntry, VariantReport } from "./config-report.js";
|
|
6
|
+
import type { ActionEvent, AppServerReport, BatchReport, ControlEvent, ControlReason, ControlReport, ControlVerb, Diagnostic, ExecutionTelemetry, FailureKind, FallThrough, FallThroughReason, FallbackReport, RunReport, RunResult, RunWork, SessionReport, Setting, Status, TimingSource, ToolCallStatus, Usage, UtcInstant } from "./contracts.js";
|
|
5
7
|
import type { DetectOptions } from "./detect-options.js";
|
|
6
8
|
import type { DetectInfo, DetectReport } from "./detection.js";
|
|
7
9
|
import type { GateOptions } from "./gate-options.js";
|
|
@@ -25,7 +27,7 @@ import type { InitOptions } from "./init-options.js";
|
|
|
25
27
|
import type { InterruptOptions } from "./interrupt-options.js";
|
|
26
28
|
import type { InterruptResponse } from "./interrupt-response.js";
|
|
27
29
|
import type { MockOptions } from "./mock-options.js";
|
|
28
|
-
import type { HistoryLabels, OutputFormat, PermissionMode, RunMode, RunOptions } from "./options.js";
|
|
30
|
+
import type { HistoryLabels, OutputFormat, PermissionMode, RunMode, RunOptions, ToolClass } from "./options.js";
|
|
29
31
|
import type { HarnessInfo, ListReport, ModeInfo, VariantInfo } from "./registry.js";
|
|
30
32
|
import type { RunStreamEnvelope } from "./run-stream-envelope.js";
|
|
31
33
|
import type { SyncOptions } from "./sync-options.js";
|
|
@@ -48,6 +50,9 @@ export declare const AppServerReportSchema: z.ZodType<AppServerReport>;
|
|
|
48
50
|
export declare const AuthModeSchema: z.ZodType<AuthMode>;
|
|
49
51
|
export declare const BatchReportSchema: z.ZodType<BatchReport>;
|
|
50
52
|
export declare const BatchStrategySchema: z.ZodType<BatchStrategy>;
|
|
53
|
+
export declare const CompactOptionsSchema: z.ZodType<CompactOptions>;
|
|
54
|
+
export declare const CompactOutcomeSchema: z.ZodType<CompactOutcome>;
|
|
55
|
+
export declare const CompactStatusSchema: z.ZodType<CompactStatus>;
|
|
51
56
|
export declare const ConfigOptionsSchema: z.ZodType<ConfigOptions>;
|
|
52
57
|
export declare const ConfigReportSchema: z.ZodType<ConfigReport>;
|
|
53
58
|
export declare const ControlEventSchema: z.ZodType<ControlEvent>;
|
|
@@ -58,6 +63,7 @@ export declare const ControlVerbSchema: z.ZodType<ControlVerb>;
|
|
|
58
63
|
export declare const DetectInfoSchema: z.ZodType<DetectInfo>;
|
|
59
64
|
export declare const DetectOptionsSchema: z.ZodType<DetectOptions>;
|
|
60
65
|
export declare const DetectReportSchema: z.ZodType<DetectReport>;
|
|
66
|
+
export declare const DiagnosticSchema: z.ZodType<Diagnostic>;
|
|
61
67
|
export declare const ExecutionTelemetrySchema: z.ZodType<ExecutionTelemetry>;
|
|
62
68
|
export declare const FailureKindSchema: z.ZodType<FailureKind>;
|
|
63
69
|
export declare const FallThroughSchema: z.ZodType<FallThrough>;
|
|
@@ -66,6 +72,7 @@ export declare const FallbackReportSchema: z.ZodType<FallbackReport>;
|
|
|
66
72
|
export declare const FieldSchema: z.ZodType<Field>;
|
|
67
73
|
export declare const Field10Schema: z.ZodType<Field10>;
|
|
68
74
|
export declare const Field11Schema: z.ZodType<Field11>;
|
|
75
|
+
export declare const Field12Schema: z.ZodType<Field12>;
|
|
69
76
|
export declare const Field2Schema: z.ZodType<Field2>;
|
|
70
77
|
export declare const Field3Schema: z.ZodType<Field3>;
|
|
71
78
|
export declare const Field4Schema: z.ZodType<Field4>;
|
|
@@ -136,6 +143,7 @@ export declare const RunWorkSchema: z.ZodType<RunWork>;
|
|
|
136
143
|
export declare const SegmentReindexSummarySchema: z.ZodType<SegmentReindexSummary>;
|
|
137
144
|
export declare const SessionPhaseSchema: z.ZodType<SessionPhase>;
|
|
138
145
|
export declare const SessionReportSchema: z.ZodType<SessionReport>;
|
|
146
|
+
export declare const SettingSchema: z.ZodType<Setting>;
|
|
139
147
|
export declare const StatusSchema: z.ZodType<Status>;
|
|
140
148
|
export declare const SyncOptionsSchema: z.ZodType<SyncOptions>;
|
|
141
149
|
export declare const SyncReportSchema: z.ZodType<SyncReport>;
|
|
@@ -143,6 +151,7 @@ export declare const SyncResultSchema: z.ZodType<SyncResult>;
|
|
|
143
151
|
export declare const SyncStatusSchema: z.ZodType<SyncStatus>;
|
|
144
152
|
export declare const TimingSourceSchema: z.ZodType<TimingSource>;
|
|
145
153
|
export declare const ToolCallStatusSchema: z.ZodType<ToolCallStatus>;
|
|
154
|
+
export declare const ToolClassSchema: z.ZodType<ToolClass>;
|
|
146
155
|
export declare const UnavailableReasonSchema: z.ZodType<UnavailableReason>;
|
|
147
156
|
export declare const UnknownReasonSchema: z.ZodType<UnknownReason>;
|
|
148
157
|
export declare const UnmappedRuleSchema: z.ZodType<UnmappedRule>;
|