@peasant-labs/schema 0.1.0-rc6
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/LICENSE +13 -0
- package/README.md +56 -0
- package/dist/fixtures/quality.d.ts +81 -0
- package/dist/fixtures/quality.js +36 -0
- package/dist/fixtures/timeline.d.ts +22 -0
- package/dist/fixtures/timeline.js +2 -0
- package/dist/fixtures.d.ts +2 -0
- package/dist/fixtures.js +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +36 -0
- package/dist/internal/generated/contract/zod.gen.d.ts +2740 -0
- package/dist/internal/generated/contract/zod.gen.js +1196 -0
- package/dist/internal/generated/enums.gen.d.ts +318 -0
- package/dist/internal/generated/enums.gen.js +348 -0
- package/dist/internal/generated/local-api.d.ts +946 -0
- package/dist/internal/generated/local-api.js +1 -0
- package/dist/internal/generated/public-contract.gen.d.ts +2 -0
- package/dist/internal/generated/public-contract.gen.js +2 -0
- package/dist/internal/generated/quality-fixtures.gen.d.ts +2 -0
- package/dist/internal/generated/quality-fixtures.gen.js +367 -0
- package/dist/internal/generated/testcase.gen.d.ts +17 -0
- package/dist/internal/generated/testcase.gen.js +20 -0
- package/dist/internal/generated/timeline-fixtures.gen.d.ts +2 -0
- package/dist/internal/generated/timeline-fixtures.gen.js +542 -0
- package/dist/internal/generated/versions.gen.d.ts +4 -0
- package/dist/internal/generated/versions.gen.js +5 -0
- package/dist/internal/generated/village-api.d.ts +585 -0
- package/dist/internal/generated/village-api.js +1 -0
- package/dist/local-api.d.ts +4 -0
- package/dist/local-api.js +1 -0
- package/dist/testcase.d.ts +32 -0
- package/dist/testcase.js +144 -0
- package/dist/types.d.ts +2 -0
- package/dist/types.js +2 -0
- package/dist/village-api.d.ts +4 -0
- package/dist/village-api.js +1 -0
- package/package.json +71 -0
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import { type AnnotationAxis as AnnotationAxisContract } from "./contract/zod.gen.js";
|
|
2
|
+
import { type AnnotationDatatype as AnnotationDatatypeContract } from "./contract/zod.gen.js";
|
|
3
|
+
import { type AnnotationPushStatus as AnnotationPushStatusContract } from "./contract/zod.gen.js";
|
|
4
|
+
import { type AnnotationStatus as AnnotationStatusContract } from "./contract/zod.gen.js";
|
|
5
|
+
import { type AnnotatorKind as AnnotatorKindContract } from "./contract/zod.gen.js";
|
|
6
|
+
import { type BuiltinCommand as BuiltinCommandContract } from "./contract/zod.gen.js";
|
|
7
|
+
import { type ChangeBinding as ChangeBindingContract } from "./contract/zod.gen.js";
|
|
8
|
+
import { type ChannelTopic as ChannelTopicContract } from "./contract/zod.gen.js";
|
|
9
|
+
import { type ContentKind as ContentKindContract } from "./contract/zod.gen.js";
|
|
10
|
+
import { type DecayLevel as DecayLevelContract } from "./contract/zod.gen.js";
|
|
11
|
+
import { type DiffLineKind as DiffLineKindContract } from "./contract/zod.gen.js";
|
|
12
|
+
import { type EdgeViolationKind as EdgeViolationKindContract } from "./contract/zod.gen.js";
|
|
13
|
+
import { type EntryType as EntryTypeContract } from "./contract/zod.gen.js";
|
|
14
|
+
import { type FileChangeStatus as FileChangeStatusContract } from "./contract/zod.gen.js";
|
|
15
|
+
import { type Harness as HarnessContract } from "./contract/zod.gen.js";
|
|
16
|
+
import { type InteractionType as InteractionTypeContract } from "./contract/zod.gen.js";
|
|
17
|
+
import { type License as LicenseContract } from "./contract/zod.gen.js";
|
|
18
|
+
import { type MapNodeKind as MapNodeKindContract } from "./contract/zod.gen.js";
|
|
19
|
+
import { type MessageType as MessageTypeContract } from "./contract/zod.gen.js";
|
|
20
|
+
import { type Role as RoleContract } from "./contract/zod.gen.js";
|
|
21
|
+
import { type ScaleKind as ScaleKindContract } from "./contract/zod.gen.js";
|
|
22
|
+
import { type SessionOutcome as SessionOutcomeContract } from "./contract/zod.gen.js";
|
|
23
|
+
import { type SourceFormat as SourceFormatContract } from "./contract/zod.gen.js";
|
|
24
|
+
import { type StopReason as StopReasonContract } from "./contract/zod.gen.js";
|
|
25
|
+
import { type TargetKind as TargetKindContract } from "./contract/zod.gen.js";
|
|
26
|
+
import { type ToolCallKind as ToolCallKindContract } from "./contract/zod.gen.js";
|
|
27
|
+
import { type TypeOrigin as TypeOriginContract } from "./contract/zod.gen.js";
|
|
28
|
+
import { type ValueDomainKind as ValueDomainKindContract } from "./contract/zod.gen.js";
|
|
29
|
+
import { type Visibility as VisibilityContract } from "./contract/zod.gen.js";
|
|
30
|
+
export type AnnotationAxis = AnnotationAxisContract;
|
|
31
|
+
export declare const AnnotationAxis: Readonly<{
|
|
32
|
+
readonly Type: "type" | "session" | "project";
|
|
33
|
+
readonly Session: "type" | "session" | "project";
|
|
34
|
+
readonly Project: "type" | "session" | "project";
|
|
35
|
+
}>;
|
|
36
|
+
export declare const AllAnnotationAxes: readonly AnnotationAxis[];
|
|
37
|
+
export declare function isAnnotationAxis(value: unknown): value is AnnotationAxis;
|
|
38
|
+
export type AnnotationDatatype = AnnotationDatatypeContract;
|
|
39
|
+
export declare const AnnotationDatatype: Readonly<{
|
|
40
|
+
readonly Text: "boolean" | "real" | "text" | "integer";
|
|
41
|
+
readonly Integer: "boolean" | "real" | "text" | "integer";
|
|
42
|
+
readonly Real: "boolean" | "real" | "text" | "integer";
|
|
43
|
+
readonly Boolean: "boolean" | "real" | "text" | "integer";
|
|
44
|
+
}>;
|
|
45
|
+
export declare const AllAnnotationDatatypes: readonly AnnotationDatatype[];
|
|
46
|
+
export declare function isAnnotationDatatype(value: unknown): value is AnnotationDatatype;
|
|
47
|
+
export type AnnotationPushStatus = AnnotationPushStatusContract;
|
|
48
|
+
export declare const AnnotationPushStatus: Readonly<{
|
|
49
|
+
readonly Created: "skipped" | "error" | "created" | "updated";
|
|
50
|
+
readonly Updated: "skipped" | "error" | "created" | "updated";
|
|
51
|
+
readonly Skipped: "skipped" | "error" | "created" | "updated";
|
|
52
|
+
readonly Error: "skipped" | "error" | "created" | "updated";
|
|
53
|
+
}>;
|
|
54
|
+
export declare const AllAnnotationPushStatuses: readonly AnnotationPushStatus[];
|
|
55
|
+
export declare function isAnnotationPushStatus(value: unknown): value is AnnotationPushStatus;
|
|
56
|
+
export type AnnotationStatus = AnnotationStatusContract;
|
|
57
|
+
export declare const AnnotationStatus: Readonly<{
|
|
58
|
+
readonly Proposed: "active" | "deprecated" | "proposed" | "retired";
|
|
59
|
+
readonly Active: "active" | "deprecated" | "proposed" | "retired";
|
|
60
|
+
readonly Deprecated: "active" | "deprecated" | "proposed" | "retired";
|
|
61
|
+
readonly Retired: "active" | "deprecated" | "proposed" | "retired";
|
|
62
|
+
}>;
|
|
63
|
+
export declare const AllAnnotationStatuses: readonly AnnotationStatus[];
|
|
64
|
+
export declare function isAnnotationStatus(value: unknown): value is AnnotationStatus;
|
|
65
|
+
export type AnnotatorKind = AnnotatorKindContract;
|
|
66
|
+
export declare const AnnotatorKind: Readonly<{
|
|
67
|
+
readonly Human: "human" | "agent" | "rule";
|
|
68
|
+
readonly Agent: "human" | "agent" | "rule";
|
|
69
|
+
readonly Rule: "human" | "agent" | "rule";
|
|
70
|
+
}>;
|
|
71
|
+
export declare const AllAnnotatorKinds: readonly AnnotatorKind[];
|
|
72
|
+
export declare function isAnnotatorKind(value: unknown): value is AnnotatorKind;
|
|
73
|
+
export type BuiltinCommand = BuiltinCommandContract;
|
|
74
|
+
export declare const BuiltinCommand: Readonly<{
|
|
75
|
+
readonly Exit: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
76
|
+
readonly Compact: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
77
|
+
readonly Clear: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
78
|
+
readonly New: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
79
|
+
readonly Model: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
80
|
+
readonly Usage: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
81
|
+
readonly Cost: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
82
|
+
readonly Context: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
83
|
+
readonly Plugin: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
84
|
+
readonly Permissions: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
85
|
+
readonly Login: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
86
|
+
readonly Resume: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
87
|
+
readonly Plan: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
88
|
+
readonly Fast: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
89
|
+
readonly Voice: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
90
|
+
readonly Todos: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
91
|
+
readonly ReloadPlugins: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
92
|
+
readonly Sandbox: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
93
|
+
readonly Config: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
94
|
+
readonly Statusline: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
95
|
+
readonly Upgrade: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
96
|
+
readonly ExtraUsage: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
97
|
+
readonly RateLimitOptions: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
98
|
+
readonly PrivacySettings: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
99
|
+
readonly Help: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
100
|
+
readonly Commands: "new" | "clear" | "resume" | "exit" | "compact" | "config" | "model" | "usage" | "cost" | "context" | "plugin" | "permissions" | "login" | "plan" | "fast" | "voice" | "todos" | "reload-plugins" | "sandbox" | "statusline" | "upgrade" | "extra-usage" | "rate-limit-options" | "privacy-settings" | "help" | "commands";
|
|
101
|
+
}>;
|
|
102
|
+
export declare const AllClaudeBuiltinCmds: readonly BuiltinCommand[];
|
|
103
|
+
export declare function isBuiltinCommand(value: unknown): value is BuiltinCommand;
|
|
104
|
+
export type ChangeBinding = ChangeBindingContract;
|
|
105
|
+
export declare const ChangeBinding: Readonly<{
|
|
106
|
+
readonly Bound: "candidate" | "bound";
|
|
107
|
+
readonly Candidate: "candidate" | "bound";
|
|
108
|
+
}>;
|
|
109
|
+
export declare const AllChangeBindings: readonly ChangeBinding[];
|
|
110
|
+
export declare function isChangeBinding(value: unknown): value is ChangeBinding;
|
|
111
|
+
export type ChannelTopic = ChannelTopicContract;
|
|
112
|
+
export declare const ChannelTopic: Readonly<{
|
|
113
|
+
readonly Dashboard: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
114
|
+
readonly Sessions: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
115
|
+
readonly SessionDetail: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
116
|
+
readonly Trends: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
117
|
+
readonly Quality: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
118
|
+
readonly Annotations: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
119
|
+
readonly ProjectFamiliarity: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
120
|
+
}>;
|
|
121
|
+
export declare const AllChannelTopics: readonly ChannelTopic[];
|
|
122
|
+
export declare function isChannelTopic(value: unknown): value is ChannelTopic;
|
|
123
|
+
export type ContentKind = ContentKindContract;
|
|
124
|
+
export declare const ContentKind: Readonly<{
|
|
125
|
+
readonly SessionDetail: "session_detail";
|
|
126
|
+
}>;
|
|
127
|
+
export declare const AllContentKinds: readonly ContentKind[];
|
|
128
|
+
export declare function isContentKind(value: unknown): value is ContentKind;
|
|
129
|
+
export type DecayLevel = DecayLevelContract;
|
|
130
|
+
export declare const DecayLevel: Readonly<{
|
|
131
|
+
readonly Fresh: "fresh" | "fading" | "stale" | "unexplored";
|
|
132
|
+
readonly Fading: "fresh" | "fading" | "stale" | "unexplored";
|
|
133
|
+
readonly Stale: "fresh" | "fading" | "stale" | "unexplored";
|
|
134
|
+
readonly Unexplored: "fresh" | "fading" | "stale" | "unexplored";
|
|
135
|
+
}>;
|
|
136
|
+
export declare const AllDecayLevels: readonly DecayLevel[];
|
|
137
|
+
export declare function isDecayLevel(value: unknown): value is DecayLevel;
|
|
138
|
+
export type DiffLineKind = DiffLineKindContract;
|
|
139
|
+
export declare const DiffLineKind: Readonly<{
|
|
140
|
+
readonly Context: "add" | "del" | "context";
|
|
141
|
+
readonly Add: "add" | "del" | "context";
|
|
142
|
+
readonly Delete: "add" | "del" | "context";
|
|
143
|
+
}>;
|
|
144
|
+
export declare const AllDiffLineKinds: readonly DiffLineKind[];
|
|
145
|
+
export declare function isDiffLineKind(value: unknown): value is DiffLineKind;
|
|
146
|
+
export type EdgeViolationKind = EdgeViolationKindContract;
|
|
147
|
+
export declare const EdgeViolationKind: Readonly<{
|
|
148
|
+
readonly Cycle: "cycle" | "wrong_way";
|
|
149
|
+
readonly WrongWay: "cycle" | "wrong_way";
|
|
150
|
+
}>;
|
|
151
|
+
export declare const AllEdgeViolationKinds: readonly EdgeViolationKind[];
|
|
152
|
+
export declare function isEdgeViolationKind(value: unknown): value is EdgeViolationKind;
|
|
153
|
+
export type EntryType = EntryTypeContract;
|
|
154
|
+
export declare const EntryType: Readonly<{
|
|
155
|
+
readonly Text: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
156
|
+
readonly ToolUse: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
157
|
+
readonly ToolResult: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
158
|
+
readonly Thinking: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
159
|
+
readonly System: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
160
|
+
readonly Error: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
161
|
+
readonly Result: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
162
|
+
}>;
|
|
163
|
+
export declare const AllEntryTypes: readonly EntryType[];
|
|
164
|
+
export declare function isEntryType(value: unknown): value is EntryType;
|
|
165
|
+
export type FileChangeStatus = FileChangeStatusContract;
|
|
166
|
+
export declare const FileChangeStatus: Readonly<{
|
|
167
|
+
readonly Modified: "M" | "A" | "D" | "R";
|
|
168
|
+
readonly Added: "M" | "A" | "D" | "R";
|
|
169
|
+
readonly Deleted: "M" | "A" | "D" | "R";
|
|
170
|
+
readonly Renamed: "M" | "A" | "D" | "R";
|
|
171
|
+
}>;
|
|
172
|
+
export declare const AllFileChangeStatuses: readonly FileChangeStatus[];
|
|
173
|
+
export declare function isFileChangeStatus(value: unknown): value is FileChangeStatus;
|
|
174
|
+
export type Harness = HarnessContract;
|
|
175
|
+
export declare const Harness: Readonly<{
|
|
176
|
+
readonly ClaudeCode: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
177
|
+
readonly GeminiCLI: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
178
|
+
readonly Codex: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
179
|
+
readonly OpenCode: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
180
|
+
readonly Cursor: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
181
|
+
readonly Antigravity: "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
182
|
+
}>;
|
|
183
|
+
/**
|
|
184
|
+
* AllHarnesses is the ingestion-supported subset of Harness, not the full
|
|
185
|
+
* canonical set (mirrors types.go's AllHarnesses doc comment). Every Harness
|
|
186
|
+
* member remains individually valid and accepted by isHarness.
|
|
187
|
+
*/
|
|
188
|
+
export declare const AllHarnesses: readonly Harness[];
|
|
189
|
+
export declare function isHarness(value: unknown): value is Harness;
|
|
190
|
+
export type InteractionType = InteractionTypeContract;
|
|
191
|
+
export declare const InteractionType: Readonly<{
|
|
192
|
+
readonly Mentioned: "mentioned" | "read" | "discussed" | "questioned";
|
|
193
|
+
readonly Read: "mentioned" | "read" | "discussed" | "questioned";
|
|
194
|
+
readonly Discussed: "mentioned" | "read" | "discussed" | "questioned";
|
|
195
|
+
readonly Questioned: "mentioned" | "read" | "discussed" | "questioned";
|
|
196
|
+
}>;
|
|
197
|
+
export declare const AllInteractionTypes: readonly InteractionType[];
|
|
198
|
+
export declare function isInteractionType(value: unknown): value is InteractionType;
|
|
199
|
+
export type License = LicenseContract;
|
|
200
|
+
export declare const License: Readonly<{
|
|
201
|
+
readonly CC0: "CC0-1.0" | "CC-BY-4.0" | "CC-BY-SA-4.0";
|
|
202
|
+
readonly CCBY: "CC0-1.0" | "CC-BY-4.0" | "CC-BY-SA-4.0";
|
|
203
|
+
readonly CCBYSA: "CC0-1.0" | "CC-BY-4.0" | "CC-BY-SA-4.0";
|
|
204
|
+
}>;
|
|
205
|
+
export declare const AllLicenses: readonly License[];
|
|
206
|
+
export declare function isLicense(value: unknown): value is License;
|
|
207
|
+
export type MapNodeKind = MapNodeKindContract;
|
|
208
|
+
export declare const MapNodeKind: Readonly<{
|
|
209
|
+
readonly Module: "file" | "module" | "package";
|
|
210
|
+
readonly Package: "file" | "module" | "package";
|
|
211
|
+
readonly File: "file" | "module" | "package";
|
|
212
|
+
}>;
|
|
213
|
+
export declare const AllMapNodeKinds: readonly MapNodeKind[];
|
|
214
|
+
export declare function isMapNodeKind(value: unknown): value is MapNodeKind;
|
|
215
|
+
export type MessageType = MessageTypeContract;
|
|
216
|
+
export declare const MessageType: Readonly<{
|
|
217
|
+
readonly Subscribe: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
218
|
+
readonly Unsubscribe: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
219
|
+
readonly Dashboard: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
220
|
+
readonly Sessions: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
221
|
+
readonly SessionDetail: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
222
|
+
readonly Trends: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
223
|
+
readonly Quality: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
224
|
+
readonly Annotations: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
225
|
+
readonly ProjectFamiliarity: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
226
|
+
readonly Connected: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
227
|
+
readonly Error: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
228
|
+
}>;
|
|
229
|
+
export declare const AllMessageTypes: readonly MessageType[];
|
|
230
|
+
export declare function isMessageType(value: unknown): value is MessageType;
|
|
231
|
+
export type Role = RoleContract;
|
|
232
|
+
export declare const Role: Readonly<{
|
|
233
|
+
readonly User: "user" | "system" | "assistant" | "tool";
|
|
234
|
+
readonly Assistant: "user" | "system" | "assistant" | "tool";
|
|
235
|
+
readonly Tool: "user" | "system" | "assistant" | "tool";
|
|
236
|
+
readonly System: "user" | "system" | "assistant" | "tool";
|
|
237
|
+
}>;
|
|
238
|
+
export declare const AllRoles: readonly Role[];
|
|
239
|
+
export declare function isRole(value: unknown): value is Role;
|
|
240
|
+
export type ScaleKind = ScaleKindContract;
|
|
241
|
+
export declare const ScaleKind: Readonly<{
|
|
242
|
+
readonly Nominal: "ordinal" | "nominal" | "continuous";
|
|
243
|
+
readonly Ordinal: "ordinal" | "nominal" | "continuous";
|
|
244
|
+
readonly Continuous: "ordinal" | "nominal" | "continuous";
|
|
245
|
+
}>;
|
|
246
|
+
export declare const AllScaleKinds: readonly ScaleKind[];
|
|
247
|
+
export declare function isScaleKind(value: unknown): value is ScaleKind;
|
|
248
|
+
export type SessionOutcome = SessionOutcomeContract;
|
|
249
|
+
export declare const SessionOutcome: Readonly<{
|
|
250
|
+
readonly Resolved: "failed" | "partial" | "resolved";
|
|
251
|
+
readonly Partial: "failed" | "partial" | "resolved";
|
|
252
|
+
readonly Failed: "failed" | "partial" | "resolved";
|
|
253
|
+
}>;
|
|
254
|
+
export declare const AllOutcomes: readonly SessionOutcome[];
|
|
255
|
+
export declare function isSessionOutcome(value: unknown): value is SessionOutcome;
|
|
256
|
+
export type SourceFormat = SourceFormatContract;
|
|
257
|
+
export declare const SourceFormat: Readonly<{
|
|
258
|
+
readonly JSONL: "json" | "jsonl";
|
|
259
|
+
readonly JSON: "json" | "jsonl";
|
|
260
|
+
}>;
|
|
261
|
+
export declare const AllSourceFormats: readonly SourceFormat[];
|
|
262
|
+
export declare function isSourceFormat(value: unknown): value is SourceFormat;
|
|
263
|
+
export type StopReason = StopReasonContract;
|
|
264
|
+
export declare const StopReason: Readonly<{
|
|
265
|
+
readonly EndTurn: "end_turn" | "cancelled" | "max_tokens" | "max_turn_requests" | "refusal";
|
|
266
|
+
readonly Cancelled: "end_turn" | "cancelled" | "max_tokens" | "max_turn_requests" | "refusal";
|
|
267
|
+
readonly MaxTokens: "end_turn" | "cancelled" | "max_tokens" | "max_turn_requests" | "refusal";
|
|
268
|
+
readonly MaxTurnRequests: "end_turn" | "cancelled" | "max_tokens" | "max_turn_requests" | "refusal";
|
|
269
|
+
readonly Refusal: "end_turn" | "cancelled" | "max_tokens" | "max_turn_requests" | "refusal";
|
|
270
|
+
}>;
|
|
271
|
+
export declare const AllStopReasons: readonly StopReason[];
|
|
272
|
+
export declare function isStopReason(value: unknown): value is StopReason;
|
|
273
|
+
export type TargetKind = TargetKindContract;
|
|
274
|
+
export declare const TargetKind: Readonly<{
|
|
275
|
+
readonly Session: "session" | "annotation" | "project" | "entry";
|
|
276
|
+
readonly Entry: "session" | "annotation" | "project" | "entry";
|
|
277
|
+
readonly Annotation: "session" | "annotation" | "project" | "entry";
|
|
278
|
+
readonly Project: "session" | "annotation" | "project" | "entry";
|
|
279
|
+
}>;
|
|
280
|
+
export declare const AllTargetKinds: readonly TargetKind[];
|
|
281
|
+
export declare function isTargetKind(value: unknown): value is TargetKind;
|
|
282
|
+
export type ToolCallKind = ToolCallKindContract;
|
|
283
|
+
export declare const ToolCallKind: Readonly<{
|
|
284
|
+
readonly Read: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
285
|
+
readonly Edit: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
286
|
+
readonly Delete: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
287
|
+
readonly Move: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
288
|
+
readonly Search: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
289
|
+
readonly Execute: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
290
|
+
readonly Think: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
291
|
+
readonly Fetch: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
292
|
+
readonly Other: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
293
|
+
}>;
|
|
294
|
+
export declare const AllToolCallKinds: readonly ToolCallKind[];
|
|
295
|
+
export declare function isToolCallKind(value: unknown): value is ToolCallKind;
|
|
296
|
+
export type TypeOrigin = TypeOriginContract;
|
|
297
|
+
export declare const TypeOrigin: Readonly<{
|
|
298
|
+
readonly System: "user" | "group" | "system";
|
|
299
|
+
readonly User: "user" | "group" | "system";
|
|
300
|
+
readonly Group: "user" | "group" | "system";
|
|
301
|
+
}>;
|
|
302
|
+
export declare const AllTypeOrigins: readonly TypeOrigin[];
|
|
303
|
+
export declare function isTypeOrigin(value: unknown): value is TypeOrigin;
|
|
304
|
+
export type ValueDomainKind = ValueDomainKindContract;
|
|
305
|
+
export declare const ValueDomainKind: Readonly<{
|
|
306
|
+
readonly Enumerated: "enumerated" | "described";
|
|
307
|
+
readonly Described: "enumerated" | "described";
|
|
308
|
+
}>;
|
|
309
|
+
export declare const AllValueDomainKinds: readonly ValueDomainKind[];
|
|
310
|
+
export declare function isValueDomainKind(value: unknown): value is ValueDomainKind;
|
|
311
|
+
export type Visibility = VisibilityContract;
|
|
312
|
+
export declare const Visibility: Readonly<{
|
|
313
|
+
readonly Private: "private" | "public" | "group";
|
|
314
|
+
readonly Group: "private" | "public" | "group";
|
|
315
|
+
readonly Public: "private" | "public" | "group";
|
|
316
|
+
}>;
|
|
317
|
+
export declare const AllVisibilities: readonly Visibility[];
|
|
318
|
+
export declare function isVisibility(value: unknown): value is Visibility;
|