@peasant-labs/schema 0.1.0-rc10
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 +66 -0
- package/dist/fixtures/quality.d.ts +81 -0
- package/dist/fixtures/quality.js +36 -0
- package/dist/fixtures/timeline.d.ts +53 -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 +3441 -0
- package/dist/internal/generated/contract/zod.gen.js +1623 -0
- package/dist/internal/generated/enums.gen.d.ts +406 -0
- package/dist/internal/generated/enums.gen.js +445 -0
- package/dist/internal/generated/local-api.d.ts +1047 -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 +1554 -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 +652 -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 +75 -0
|
@@ -0,0 +1,406 @@
|
|
|
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 AssociationConclusion as AssociationConclusionContract } from "./contract/zod.gen.js";
|
|
7
|
+
import { type AssociationEvidenceKind as AssociationEvidenceKindContract } from "./contract/zod.gen.js";
|
|
8
|
+
import { type BuiltinCommand as BuiltinCommandContract } from "./contract/zod.gen.js";
|
|
9
|
+
import { type ChangeBinding as ChangeBindingContract } from "./contract/zod.gen.js";
|
|
10
|
+
import { type ChannelTopic as ChannelTopicContract } from "./contract/zod.gen.js";
|
|
11
|
+
import { type Confidence as ConfidenceContract } from "./contract/zod.gen.js";
|
|
12
|
+
import { type ContentKind as ContentKindContract } from "./contract/zod.gen.js";
|
|
13
|
+
import { type DecayLevel as DecayLevelContract } from "./contract/zod.gen.js";
|
|
14
|
+
import { type DiffLineKind as DiffLineKindContract } from "./contract/zod.gen.js";
|
|
15
|
+
import { type EdgeViolationKind as EdgeViolationKindContract } from "./contract/zod.gen.js";
|
|
16
|
+
import { type EntryType as EntryTypeContract } from "./contract/zod.gen.js";
|
|
17
|
+
import { type FileChangeStatus as FileChangeStatusContract } from "./contract/zod.gen.js";
|
|
18
|
+
import { type Harness as HarnessContract } from "./contract/zod.gen.js";
|
|
19
|
+
import { type InsightKind as InsightKindContract } from "./contract/zod.gen.js";
|
|
20
|
+
import { type InsightProvenance as InsightProvenanceContract } from "./contract/zod.gen.js";
|
|
21
|
+
import { type InteractionType as InteractionTypeContract } from "./contract/zod.gen.js";
|
|
22
|
+
import { type License as LicenseContract } from "./contract/zod.gen.js";
|
|
23
|
+
import { type MapNodeKind as MapNodeKindContract } from "./contract/zod.gen.js";
|
|
24
|
+
import { type MessageType as MessageTypeContract } from "./contract/zod.gen.js";
|
|
25
|
+
import { type ReadAttributionState as ReadAttributionStateContract } from "./contract/zod.gen.js";
|
|
26
|
+
import { type ReadStateGrade as ReadStateGradeContract } from "./contract/zod.gen.js";
|
|
27
|
+
import { type RewriteMethod as RewriteMethodContract } from "./contract/zod.gen.js";
|
|
28
|
+
import { type RewriteResolution as RewriteResolutionContract } from "./contract/zod.gen.js";
|
|
29
|
+
import { type Role as RoleContract } from "./contract/zod.gen.js";
|
|
30
|
+
import { type ScaleKind as ScaleKindContract } from "./contract/zod.gen.js";
|
|
31
|
+
import { type SessionOutcome as SessionOutcomeContract } from "./contract/zod.gen.js";
|
|
32
|
+
import { type SourceFormat as SourceFormatContract } from "./contract/zod.gen.js";
|
|
33
|
+
import { type StopReason as StopReasonContract } from "./contract/zod.gen.js";
|
|
34
|
+
import { type TargetKind as TargetKindContract } from "./contract/zod.gen.js";
|
|
35
|
+
import { type ToolCallKind as ToolCallKindContract } from "./contract/zod.gen.js";
|
|
36
|
+
import { type TypeOrigin as TypeOriginContract } from "./contract/zod.gen.js";
|
|
37
|
+
import { type ValueDomainKind as ValueDomainKindContract } from "./contract/zod.gen.js";
|
|
38
|
+
import { type Visibility as VisibilityContract } from "./contract/zod.gen.js";
|
|
39
|
+
export type AnnotationAxis = AnnotationAxisContract;
|
|
40
|
+
export declare const AnnotationAxis: Readonly<{
|
|
41
|
+
readonly Type: "type" | "session" | "project";
|
|
42
|
+
readonly Session: "type" | "session" | "project";
|
|
43
|
+
readonly Project: "type" | "session" | "project";
|
|
44
|
+
}>;
|
|
45
|
+
export declare const AllAnnotationAxes: readonly AnnotationAxis[];
|
|
46
|
+
export declare function isAnnotationAxis(value: unknown): value is AnnotationAxis;
|
|
47
|
+
export type AnnotationDatatype = AnnotationDatatypeContract;
|
|
48
|
+
export declare const AnnotationDatatype: Readonly<{
|
|
49
|
+
readonly Text: "boolean" | "real" | "text" | "integer";
|
|
50
|
+
readonly Integer: "boolean" | "real" | "text" | "integer";
|
|
51
|
+
readonly Real: "boolean" | "real" | "text" | "integer";
|
|
52
|
+
readonly Boolean: "boolean" | "real" | "text" | "integer";
|
|
53
|
+
}>;
|
|
54
|
+
export declare const AllAnnotationDatatypes: readonly AnnotationDatatype[];
|
|
55
|
+
export declare function isAnnotationDatatype(value: unknown): value is AnnotationDatatype;
|
|
56
|
+
export type AnnotationPushStatus = AnnotationPushStatusContract;
|
|
57
|
+
export declare const AnnotationPushStatus: Readonly<{
|
|
58
|
+
readonly Created: "skipped" | "error" | "created" | "updated";
|
|
59
|
+
readonly Updated: "skipped" | "error" | "created" | "updated";
|
|
60
|
+
readonly Skipped: "skipped" | "error" | "created" | "updated";
|
|
61
|
+
readonly Error: "skipped" | "error" | "created" | "updated";
|
|
62
|
+
}>;
|
|
63
|
+
export declare const AllAnnotationPushStatuses: readonly AnnotationPushStatus[];
|
|
64
|
+
export declare function isAnnotationPushStatus(value: unknown): value is AnnotationPushStatus;
|
|
65
|
+
export type AnnotationStatus = AnnotationStatusContract;
|
|
66
|
+
export declare const AnnotationStatus: Readonly<{
|
|
67
|
+
readonly Proposed: "active" | "deprecated" | "proposed" | "retired";
|
|
68
|
+
readonly Active: "active" | "deprecated" | "proposed" | "retired";
|
|
69
|
+
readonly Deprecated: "active" | "deprecated" | "proposed" | "retired";
|
|
70
|
+
readonly Retired: "active" | "deprecated" | "proposed" | "retired";
|
|
71
|
+
}>;
|
|
72
|
+
export declare const AllAnnotationStatuses: readonly AnnotationStatus[];
|
|
73
|
+
export declare function isAnnotationStatus(value: unknown): value is AnnotationStatus;
|
|
74
|
+
export type AnnotatorKind = AnnotatorKindContract;
|
|
75
|
+
export declare const AnnotatorKind: Readonly<{
|
|
76
|
+
readonly Human: "human" | "agent" | "rule";
|
|
77
|
+
readonly Agent: "human" | "agent" | "rule";
|
|
78
|
+
readonly Rule: "human" | "agent" | "rule";
|
|
79
|
+
}>;
|
|
80
|
+
export declare const AllAnnotatorKinds: readonly AnnotatorKind[];
|
|
81
|
+
export declare function isAnnotatorKind(value: unknown): value is AnnotatorKind;
|
|
82
|
+
export type AssociationConclusion = AssociationConclusionContract;
|
|
83
|
+
export declare const AssociationConclusion: Readonly<{
|
|
84
|
+
readonly Confirmed: "candidate" | "confirmed";
|
|
85
|
+
readonly Candidate: "candidate" | "confirmed";
|
|
86
|
+
}>;
|
|
87
|
+
export declare const AllAssociationConclusions: readonly AssociationConclusion[];
|
|
88
|
+
export declare function isAssociationConclusion(value: unknown): value is AssociationConclusion;
|
|
89
|
+
export type AssociationEvidenceKind = AssociationEvidenceKindContract;
|
|
90
|
+
export declare const AssociationEvidenceKind: Readonly<{
|
|
91
|
+
readonly RecordedCommit: "recorded_commit" | "touched_file" | "branch_membership" | "time_window";
|
|
92
|
+
readonly TouchedFile: "recorded_commit" | "touched_file" | "branch_membership" | "time_window";
|
|
93
|
+
readonly BranchMembership: "recorded_commit" | "touched_file" | "branch_membership" | "time_window";
|
|
94
|
+
readonly TimeWindow: "recorded_commit" | "touched_file" | "branch_membership" | "time_window";
|
|
95
|
+
}>;
|
|
96
|
+
export declare const AllAssociationEvidenceKinds: readonly AssociationEvidenceKind[];
|
|
97
|
+
export declare function isAssociationEvidenceKind(value: unknown): value is AssociationEvidenceKind;
|
|
98
|
+
export type BuiltinCommand = BuiltinCommandContract;
|
|
99
|
+
export declare const BuiltinCommand: Readonly<{
|
|
100
|
+
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";
|
|
101
|
+
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";
|
|
102
|
+
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";
|
|
103
|
+
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";
|
|
104
|
+
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";
|
|
105
|
+
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";
|
|
106
|
+
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";
|
|
107
|
+
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";
|
|
108
|
+
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";
|
|
109
|
+
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";
|
|
110
|
+
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";
|
|
111
|
+
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";
|
|
112
|
+
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";
|
|
113
|
+
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";
|
|
114
|
+
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";
|
|
115
|
+
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";
|
|
116
|
+
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";
|
|
117
|
+
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";
|
|
118
|
+
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";
|
|
119
|
+
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";
|
|
120
|
+
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";
|
|
121
|
+
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";
|
|
122
|
+
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";
|
|
123
|
+
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";
|
|
124
|
+
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";
|
|
125
|
+
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";
|
|
126
|
+
}>;
|
|
127
|
+
export declare const AllClaudeBuiltinCmds: readonly BuiltinCommand[];
|
|
128
|
+
export declare function isBuiltinCommand(value: unknown): value is BuiltinCommand;
|
|
129
|
+
export type ChangeBinding = ChangeBindingContract;
|
|
130
|
+
export declare const ChangeBinding: Readonly<{
|
|
131
|
+
readonly Bound: "candidate" | "bound";
|
|
132
|
+
readonly Candidate: "candidate" | "bound";
|
|
133
|
+
}>;
|
|
134
|
+
export declare const AllChangeBindings: readonly ChangeBinding[];
|
|
135
|
+
export declare function isChangeBinding(value: unknown): value is ChangeBinding;
|
|
136
|
+
export type ChannelTopic = ChannelTopicContract;
|
|
137
|
+
export declare const ChannelTopic: Readonly<{
|
|
138
|
+
readonly Dashboard: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
139
|
+
readonly Sessions: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
140
|
+
readonly SessionDetail: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
141
|
+
readonly Trends: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
142
|
+
readonly Quality: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
143
|
+
readonly Annotations: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
144
|
+
readonly ProjectFamiliarity: "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity";
|
|
145
|
+
}>;
|
|
146
|
+
export declare const AllChannelTopics: readonly ChannelTopic[];
|
|
147
|
+
export declare function isChannelTopic(value: unknown): value is ChannelTopic;
|
|
148
|
+
export type Confidence = ConfidenceContract;
|
|
149
|
+
export declare const Confidence: Readonly<{
|
|
150
|
+
readonly High: "high" | "low" | "medium";
|
|
151
|
+
readonly Medium: "high" | "low" | "medium";
|
|
152
|
+
readonly Low: "high" | "low" | "medium";
|
|
153
|
+
}>;
|
|
154
|
+
export declare const AllConfidences: readonly Confidence[];
|
|
155
|
+
export declare function isConfidence(value: unknown): value is Confidence;
|
|
156
|
+
export type ContentKind = ContentKindContract;
|
|
157
|
+
export declare const ContentKind: Readonly<{
|
|
158
|
+
readonly SessionDetail: "session_detail";
|
|
159
|
+
}>;
|
|
160
|
+
export declare const AllContentKinds: readonly ContentKind[];
|
|
161
|
+
export declare function isContentKind(value: unknown): value is ContentKind;
|
|
162
|
+
export type DecayLevel = DecayLevelContract;
|
|
163
|
+
export declare const DecayLevel: Readonly<{
|
|
164
|
+
readonly Fresh: "fresh" | "fading" | "stale" | "unexplored";
|
|
165
|
+
readonly Fading: "fresh" | "fading" | "stale" | "unexplored";
|
|
166
|
+
readonly Stale: "fresh" | "fading" | "stale" | "unexplored";
|
|
167
|
+
readonly Unexplored: "fresh" | "fading" | "stale" | "unexplored";
|
|
168
|
+
}>;
|
|
169
|
+
export declare const AllDecayLevels: readonly DecayLevel[];
|
|
170
|
+
export declare function isDecayLevel(value: unknown): value is DecayLevel;
|
|
171
|
+
export type DiffLineKind = DiffLineKindContract;
|
|
172
|
+
export declare const DiffLineKind: Readonly<{
|
|
173
|
+
readonly Context: "add" | "del" | "context";
|
|
174
|
+
readonly Add: "add" | "del" | "context";
|
|
175
|
+
readonly Delete: "add" | "del" | "context";
|
|
176
|
+
}>;
|
|
177
|
+
export declare const AllDiffLineKinds: readonly DiffLineKind[];
|
|
178
|
+
export declare function isDiffLineKind(value: unknown): value is DiffLineKind;
|
|
179
|
+
export type EdgeViolationKind = EdgeViolationKindContract;
|
|
180
|
+
export declare const EdgeViolationKind: Readonly<{
|
|
181
|
+
readonly Cycle: "cycle" | "wrong_way";
|
|
182
|
+
readonly WrongWay: "cycle" | "wrong_way";
|
|
183
|
+
}>;
|
|
184
|
+
export declare const AllEdgeViolationKinds: readonly EdgeViolationKind[];
|
|
185
|
+
export declare function isEdgeViolationKind(value: unknown): value is EdgeViolationKind;
|
|
186
|
+
export type EntryType = EntryTypeContract;
|
|
187
|
+
export declare const EntryType: Readonly<{
|
|
188
|
+
readonly Text: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
189
|
+
readonly ToolUse: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
190
|
+
readonly ToolResult: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
191
|
+
readonly Thinking: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
192
|
+
readonly System: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
193
|
+
readonly Error: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
194
|
+
readonly Result: "error" | "text" | "tool_use" | "tool_result" | "thinking" | "system" | "result";
|
|
195
|
+
}>;
|
|
196
|
+
export declare const AllEntryTypes: readonly EntryType[];
|
|
197
|
+
export declare function isEntryType(value: unknown): value is EntryType;
|
|
198
|
+
export type FileChangeStatus = FileChangeStatusContract;
|
|
199
|
+
export declare const FileChangeStatus: Readonly<{
|
|
200
|
+
readonly Modified: "M" | "A" | "D" | "R";
|
|
201
|
+
readonly Added: "M" | "A" | "D" | "R";
|
|
202
|
+
readonly Deleted: "M" | "A" | "D" | "R";
|
|
203
|
+
readonly Renamed: "M" | "A" | "D" | "R";
|
|
204
|
+
}>;
|
|
205
|
+
export declare const AllFileChangeStatuses: readonly FileChangeStatus[];
|
|
206
|
+
export declare function isFileChangeStatus(value: unknown): value is FileChangeStatus;
|
|
207
|
+
export type Harness = HarnessContract;
|
|
208
|
+
export declare const Harness: Readonly<{
|
|
209
|
+
readonly ClaudeCode: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
210
|
+
readonly GeminiCLI: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
211
|
+
readonly Codex: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
212
|
+
readonly OpenCode: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
213
|
+
readonly Cursor: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
214
|
+
readonly Antigravity: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
215
|
+
readonly Strike: "strike" | "cursor" | "claude-code" | "gemini-cli" | "codex" | "opencode" | "antigravity";
|
|
216
|
+
}>;
|
|
217
|
+
/**
|
|
218
|
+
* AllHarnesses is the ingestion-supported subset of Harness, not the full
|
|
219
|
+
* canonical set (mirrors types.go's AllHarnesses doc comment). Every Harness
|
|
220
|
+
* member remains individually valid and accepted by isHarness.
|
|
221
|
+
*/
|
|
222
|
+
export declare const AllHarnesses: readonly Harness[];
|
|
223
|
+
export declare function isHarness(value: unknown): value is Harness;
|
|
224
|
+
export type InsightKind = InsightKindContract;
|
|
225
|
+
export declare const InsightKind: Readonly<{
|
|
226
|
+
readonly Decision: "decision" | "friction" | "unusual" | "retry_loop";
|
|
227
|
+
readonly Friction: "decision" | "friction" | "unusual" | "retry_loop";
|
|
228
|
+
readonly Unusual: "decision" | "friction" | "unusual" | "retry_loop";
|
|
229
|
+
readonly RetryLoop: "decision" | "friction" | "unusual" | "retry_loop";
|
|
230
|
+
}>;
|
|
231
|
+
export declare const AllInsightKinds: readonly InsightKind[];
|
|
232
|
+
export declare function isInsightKind(value: unknown): value is InsightKind;
|
|
233
|
+
export type InsightProvenance = InsightProvenanceContract;
|
|
234
|
+
export declare const InsightProvenance: Readonly<{
|
|
235
|
+
readonly Mechanical: "mechanical" | "mined";
|
|
236
|
+
readonly Mined: "mechanical" | "mined";
|
|
237
|
+
}>;
|
|
238
|
+
export declare const AllInsightProvenances: readonly InsightProvenance[];
|
|
239
|
+
export declare function isInsightProvenance(value: unknown): value is InsightProvenance;
|
|
240
|
+
export type InteractionType = InteractionTypeContract;
|
|
241
|
+
export declare const InteractionType: Readonly<{
|
|
242
|
+
readonly Mentioned: "mentioned" | "read" | "discussed" | "questioned";
|
|
243
|
+
readonly Read: "mentioned" | "read" | "discussed" | "questioned";
|
|
244
|
+
readonly Discussed: "mentioned" | "read" | "discussed" | "questioned";
|
|
245
|
+
readonly Questioned: "mentioned" | "read" | "discussed" | "questioned";
|
|
246
|
+
}>;
|
|
247
|
+
export declare const AllInteractionTypes: readonly InteractionType[];
|
|
248
|
+
export declare function isInteractionType(value: unknown): value is InteractionType;
|
|
249
|
+
export type License = LicenseContract;
|
|
250
|
+
export declare const License: Readonly<{
|
|
251
|
+
readonly CC0: "CC0-1.0" | "CC-BY-4.0" | "CC-BY-SA-4.0";
|
|
252
|
+
readonly CCBY: "CC0-1.0" | "CC-BY-4.0" | "CC-BY-SA-4.0";
|
|
253
|
+
readonly CCBYSA: "CC0-1.0" | "CC-BY-4.0" | "CC-BY-SA-4.0";
|
|
254
|
+
}>;
|
|
255
|
+
export declare const AllLicenses: readonly License[];
|
|
256
|
+
export declare function isLicense(value: unknown): value is License;
|
|
257
|
+
export type MapNodeKind = MapNodeKindContract;
|
|
258
|
+
export declare const MapNodeKind: Readonly<{
|
|
259
|
+
readonly Module: "file" | "module" | "package";
|
|
260
|
+
readonly Package: "file" | "module" | "package";
|
|
261
|
+
readonly File: "file" | "module" | "package";
|
|
262
|
+
}>;
|
|
263
|
+
export declare const AllMapNodeKinds: readonly MapNodeKind[];
|
|
264
|
+
export declare function isMapNodeKind(value: unknown): value is MapNodeKind;
|
|
265
|
+
export type MessageType = MessageTypeContract;
|
|
266
|
+
export declare const MessageType: Readonly<{
|
|
267
|
+
readonly Subscribe: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
268
|
+
readonly Unsubscribe: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
269
|
+
readonly Dashboard: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
270
|
+
readonly Sessions: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
271
|
+
readonly SessionDetail: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
272
|
+
readonly Trends: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
273
|
+
readonly Quality: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
274
|
+
readonly Annotations: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
275
|
+
readonly ProjectFamiliarity: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
276
|
+
readonly Connected: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
277
|
+
readonly Error: "error" | "connected" | "quality" | "dashboard" | "sessions" | "session_detail" | "trends" | "annotations" | "project_familiarity" | "subscribe" | "unsubscribe";
|
|
278
|
+
}>;
|
|
279
|
+
export declare const AllMessageTypes: readonly MessageType[];
|
|
280
|
+
export declare function isMessageType(value: unknown): value is MessageType;
|
|
281
|
+
export type ReadAttributionState = ReadAttributionStateContract;
|
|
282
|
+
export declare const ReadAttributionState: Readonly<{
|
|
283
|
+
readonly Complete: "complete" | "partial" | "unavailable";
|
|
284
|
+
readonly Partial: "complete" | "partial" | "unavailable";
|
|
285
|
+
readonly Unavailable: "complete" | "partial" | "unavailable";
|
|
286
|
+
}>;
|
|
287
|
+
export declare const AllReadAttributionStates: readonly ReadAttributionState[];
|
|
288
|
+
export declare function isReadAttributionState(value: unknown): value is ReadAttributionState;
|
|
289
|
+
export type ReadStateGrade = ReadStateGradeContract;
|
|
290
|
+
export declare const ReadStateGrade: Readonly<{
|
|
291
|
+
readonly None: "none" | "viewed" | "reviewed" | "reviewed_in_detail";
|
|
292
|
+
readonly Viewed: "none" | "viewed" | "reviewed" | "reviewed_in_detail";
|
|
293
|
+
readonly Reviewed: "none" | "viewed" | "reviewed" | "reviewed_in_detail";
|
|
294
|
+
readonly ReviewedInDetail: "none" | "viewed" | "reviewed" | "reviewed_in_detail";
|
|
295
|
+
}>;
|
|
296
|
+
export declare const AllReadStateGrades: readonly ReadStateGrade[];
|
|
297
|
+
export declare function isReadStateGrade(value: unknown): value is ReadStateGrade;
|
|
298
|
+
export type RewriteMethod = RewriteMethodContract;
|
|
299
|
+
export declare const RewriteMethod: Readonly<{
|
|
300
|
+
readonly Hash: "none" | "hash" | "patch_id" | "author_identity" | "message_embedded" | "temporal";
|
|
301
|
+
readonly PatchID: "none" | "hash" | "patch_id" | "author_identity" | "message_embedded" | "temporal";
|
|
302
|
+
readonly AuthorIdentity: "none" | "hash" | "patch_id" | "author_identity" | "message_embedded" | "temporal";
|
|
303
|
+
readonly MessageEmbedded: "none" | "hash" | "patch_id" | "author_identity" | "message_embedded" | "temporal";
|
|
304
|
+
readonly Temporal: "none" | "hash" | "patch_id" | "author_identity" | "message_embedded" | "temporal";
|
|
305
|
+
readonly None: "none" | "hash" | "patch_id" | "author_identity" | "message_embedded" | "temporal";
|
|
306
|
+
}>;
|
|
307
|
+
export declare const AllRewriteMethods: readonly RewriteMethod[];
|
|
308
|
+
export declare function isRewriteMethod(value: unknown): value is RewriteMethod;
|
|
309
|
+
export type RewriteResolution = RewriteResolutionContract;
|
|
310
|
+
export declare const RewriteResolution: Readonly<{
|
|
311
|
+
readonly Live: "live" | "rewritten" | "unresolved";
|
|
312
|
+
readonly Rewritten: "live" | "rewritten" | "unresolved";
|
|
313
|
+
readonly Unresolved: "live" | "rewritten" | "unresolved";
|
|
314
|
+
}>;
|
|
315
|
+
export declare const AllRewriteResolutions: readonly RewriteResolution[];
|
|
316
|
+
export declare function isRewriteResolution(value: unknown): value is RewriteResolution;
|
|
317
|
+
export type Role = RoleContract;
|
|
318
|
+
export declare const Role: Readonly<{
|
|
319
|
+
readonly User: "user" | "system" | "assistant" | "tool";
|
|
320
|
+
readonly Assistant: "user" | "system" | "assistant" | "tool";
|
|
321
|
+
readonly Tool: "user" | "system" | "assistant" | "tool";
|
|
322
|
+
readonly System: "user" | "system" | "assistant" | "tool";
|
|
323
|
+
}>;
|
|
324
|
+
export declare const AllRoles: readonly Role[];
|
|
325
|
+
export declare function isRole(value: unknown): value is Role;
|
|
326
|
+
export type ScaleKind = ScaleKindContract;
|
|
327
|
+
export declare const ScaleKind: Readonly<{
|
|
328
|
+
readonly Nominal: "ordinal" | "nominal" | "continuous";
|
|
329
|
+
readonly Ordinal: "ordinal" | "nominal" | "continuous";
|
|
330
|
+
readonly Continuous: "ordinal" | "nominal" | "continuous";
|
|
331
|
+
}>;
|
|
332
|
+
export declare const AllScaleKinds: readonly ScaleKind[];
|
|
333
|
+
export declare function isScaleKind(value: unknown): value is ScaleKind;
|
|
334
|
+
export type SessionOutcome = SessionOutcomeContract;
|
|
335
|
+
export declare const SessionOutcome: Readonly<{
|
|
336
|
+
readonly Resolved: "failed" | "partial" | "resolved";
|
|
337
|
+
readonly Partial: "failed" | "partial" | "resolved";
|
|
338
|
+
readonly Failed: "failed" | "partial" | "resolved";
|
|
339
|
+
}>;
|
|
340
|
+
export declare const AllOutcomes: readonly SessionOutcome[];
|
|
341
|
+
export declare function isSessionOutcome(value: unknown): value is SessionOutcome;
|
|
342
|
+
export type SourceFormat = SourceFormatContract;
|
|
343
|
+
export declare const SourceFormat: Readonly<{
|
|
344
|
+
readonly JSONL: "json" | "jsonl";
|
|
345
|
+
readonly JSON: "json" | "jsonl";
|
|
346
|
+
}>;
|
|
347
|
+
export declare const AllSourceFormats: readonly SourceFormat[];
|
|
348
|
+
export declare function isSourceFormat(value: unknown): value is SourceFormat;
|
|
349
|
+
export type StopReason = StopReasonContract;
|
|
350
|
+
export declare const StopReason: Readonly<{
|
|
351
|
+
readonly EndTurn: "end_turn" | "cancelled" | "max_tokens" | "max_turn_requests" | "refusal";
|
|
352
|
+
readonly Cancelled: "end_turn" | "cancelled" | "max_tokens" | "max_turn_requests" | "refusal";
|
|
353
|
+
readonly MaxTokens: "end_turn" | "cancelled" | "max_tokens" | "max_turn_requests" | "refusal";
|
|
354
|
+
readonly MaxTurnRequests: "end_turn" | "cancelled" | "max_tokens" | "max_turn_requests" | "refusal";
|
|
355
|
+
readonly Refusal: "end_turn" | "cancelled" | "max_tokens" | "max_turn_requests" | "refusal";
|
|
356
|
+
}>;
|
|
357
|
+
export declare const AllStopReasons: readonly StopReason[];
|
|
358
|
+
export declare function isStopReason(value: unknown): value is StopReason;
|
|
359
|
+
export type TargetKind = TargetKindContract;
|
|
360
|
+
export declare const TargetKind: Readonly<{
|
|
361
|
+
readonly Session: "session" | "annotation" | "project" | "entry" | "file_version" | "association";
|
|
362
|
+
readonly Entry: "session" | "annotation" | "project" | "entry" | "file_version" | "association";
|
|
363
|
+
readonly Annotation: "session" | "annotation" | "project" | "entry" | "file_version" | "association";
|
|
364
|
+
readonly Project: "session" | "annotation" | "project" | "entry" | "file_version" | "association";
|
|
365
|
+
readonly FileVersion: "session" | "annotation" | "project" | "entry" | "file_version" | "association";
|
|
366
|
+
readonly Association: "session" | "annotation" | "project" | "entry" | "file_version" | "association";
|
|
367
|
+
}>;
|
|
368
|
+
export declare const AllTargetKinds: readonly TargetKind[];
|
|
369
|
+
export declare function isTargetKind(value: unknown): value is TargetKind;
|
|
370
|
+
export type ToolCallKind = ToolCallKindContract;
|
|
371
|
+
export declare const ToolCallKind: Readonly<{
|
|
372
|
+
readonly Read: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
373
|
+
readonly Edit: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
374
|
+
readonly Delete: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
375
|
+
readonly Move: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
376
|
+
readonly Search: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
377
|
+
readonly Execute: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
378
|
+
readonly Think: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
379
|
+
readonly Fetch: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
380
|
+
readonly Other: "search" | "other" | "move" | "fetch" | "delete" | "read" | "edit" | "execute" | "think";
|
|
381
|
+
}>;
|
|
382
|
+
export declare const AllToolCallKinds: readonly ToolCallKind[];
|
|
383
|
+
export declare function isToolCallKind(value: unknown): value is ToolCallKind;
|
|
384
|
+
export type TypeOrigin = TypeOriginContract;
|
|
385
|
+
export declare const TypeOrigin: Readonly<{
|
|
386
|
+
readonly System: "user" | "group" | "system";
|
|
387
|
+
readonly User: "user" | "group" | "system";
|
|
388
|
+
readonly Group: "user" | "group" | "system";
|
|
389
|
+
}>;
|
|
390
|
+
export declare const AllTypeOrigins: readonly TypeOrigin[];
|
|
391
|
+
export declare function isTypeOrigin(value: unknown): value is TypeOrigin;
|
|
392
|
+
export type ValueDomainKind = ValueDomainKindContract;
|
|
393
|
+
export declare const ValueDomainKind: Readonly<{
|
|
394
|
+
readonly Enumerated: "enumerated" | "described";
|
|
395
|
+
readonly Described: "enumerated" | "described";
|
|
396
|
+
}>;
|
|
397
|
+
export declare const AllValueDomainKinds: readonly ValueDomainKind[];
|
|
398
|
+
export declare function isValueDomainKind(value: unknown): value is ValueDomainKind;
|
|
399
|
+
export type Visibility = VisibilityContract;
|
|
400
|
+
export declare const Visibility: Readonly<{
|
|
401
|
+
readonly Private: "private" | "public" | "group";
|
|
402
|
+
readonly Group: "private" | "public" | "group";
|
|
403
|
+
readonly Public: "private" | "public" | "group";
|
|
404
|
+
}>;
|
|
405
|
+
export declare const AllVisibilities: readonly Visibility[];
|
|
406
|
+
export declare function isVisibility(value: unknown): value is Visibility;
|