@noppu-labs/opencode-permission-reviewer 3.2.3 → 3.3.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/CHANGELOG.md +51 -1
- package/README.md +28 -16
- package/dist/explain.d.ts +1 -3
- package/dist/explain.js +305 -314
- package/dist/index.d.ts +0 -90
- package/dist/index.js +543 -687
- package/dist/rpc.d.ts +1 -3
- package/dist/rpc.js +1 -2
- package/dist/tui/modules/config/models/openrouter-decision-models.ts +44 -0
- package/dist/tui/modules/config/models/system-one-providers.ts +154 -0
- package/dist/tui/modules/config/services/reviewer-model.ts +24 -14
- package/dist/tui/modules/config/services/system-one-routing.ts +16 -5
- package/dist/tui/ui/attribution.ts +15 -15
- package/dist/tui/ui/config-notices.ts +23 -7
- package/dist/tui/ui/manual-toast.ts +4 -4
- package/package.json +11 -10
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import "@opencode/client";
|
|
|
2
2
|
import { Plugin } from "@opencode-ai/plugin";
|
|
3
3
|
import { Plugin as Plugin$1 } from "@opencode/plugin";
|
|
4
4
|
import "@opencode/plugin/promise/permission";
|
|
5
|
-
//#region src/kernel/review-decision.d.ts
|
|
6
5
|
type RiskLevel = "low" | "medium" | "high" | "critical";
|
|
7
6
|
type UserAuthorization = "high" | "medium" | "low" | "unknown";
|
|
8
7
|
type ReviewOutcome = "allow" | "deny" | "escalate";
|
|
@@ -28,8 +27,6 @@ interface ApprovedAnnotation {
|
|
|
28
27
|
sessionID: string;
|
|
29
28
|
decision: ReviewDecision;
|
|
30
29
|
}
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/kernel/reviewer-config.d.ts
|
|
33
30
|
/** How final escalations are disposed after reviewer/policy/fail-safe produce them. */
|
|
34
31
|
type EscalationMode = "manual" | "deny";
|
|
35
32
|
/** Where an escalation that starts at Jev goes; `reasoning-first` sends every one to the escalation reviewer. */
|
|
@@ -185,12 +182,8 @@ interface ReviewerConfig {
|
|
|
185
182
|
type ActorProfile = "read-only" | "validation" | "workspace" | "operator" | "reviewer" | "unknown";
|
|
186
183
|
/** High-level classification of what the action does. */
|
|
187
184
|
type CapabilityActionClass = "read-only" | "workspace-write" | "temporary-write" | "external-write" | "destruction" | "code-execution" | "package-management" | "git-mutation" | "network" | "remote-operation" | "service-management" | "persistence" | "privilege-escalation" | "unknown";
|
|
188
|
-
//#endregion
|
|
189
|
-
//#region src/utils/logger.d.ts
|
|
190
185
|
/** A diagnostic log sink: a message and optional structured details. */
|
|
191
186
|
type Logger = (message: string, details?: unknown) => void;
|
|
192
|
-
//#endregion
|
|
193
|
-
//#region src/kernel/actor-context-types.d.ts
|
|
194
187
|
/** Reliability of a derived fact. */
|
|
195
188
|
type EvidenceConfidence = "confirmed" | "high" | "medium" | "low" | "unknown";
|
|
196
189
|
/** Every non-trivial derived fact carries provenance so the LLM and audit can
|
|
@@ -297,8 +290,6 @@ interface ActionPurpose {
|
|
|
297
290
|
source: "agent-context" | "intent-derived" | "unavailable";
|
|
298
291
|
confidence: EvidenceConfidence;
|
|
299
292
|
}
|
|
300
|
-
//#endregion
|
|
301
|
-
//#region src/kernel/review-result.d.ts
|
|
302
293
|
/** Effective disposition applied to an internal escalate result. */
|
|
303
294
|
type EscalationDisposition = "manual" | "deny";
|
|
304
295
|
/** Why a System One (Jev) result was handed to the reasoning reviewer. */
|
|
@@ -385,8 +376,6 @@ interface SystemOneScores {
|
|
|
385
376
|
contradictions: string[];
|
|
386
377
|
reasoningRecommended: boolean;
|
|
387
378
|
}
|
|
388
|
-
//#endregion
|
|
389
|
-
//#region src/modules/audit/models/audit-record.d.ts
|
|
390
379
|
interface ReviewAuditRecord {
|
|
391
380
|
/**
|
|
392
381
|
* Audit schema version. Present on every record; readers default a missing
|
|
@@ -539,16 +528,10 @@ interface ReviewAuditRecord {
|
|
|
539
528
|
answer: string;
|
|
540
529
|
}>;
|
|
541
530
|
}
|
|
542
|
-
//#endregion
|
|
543
|
-
//#region src/modules/audit/services/audit.d.ts
|
|
544
531
|
export declare const DEFAULT_AUDIT_PATH = "~/.local/share/opencode/permission-reviewer-audit.jsonl";
|
|
545
532
|
export declare function createAuditWriter(config: ReviewerConfig, logger?: Logger): ((record: ReviewAuditRecord) => Promise<void>) | undefined;
|
|
546
|
-
//#endregion
|
|
547
|
-
//#region src/modules/config/services/sources.d.ts
|
|
548
533
|
/** The host passing an options object does not attest who authored it. */
|
|
549
534
|
type InlineOptionsTrust = "trusted" | "project" | "unknown";
|
|
550
|
-
//#endregion
|
|
551
|
-
//#region src/modules/config/services/loader.d.ts
|
|
552
535
|
interface LoadOptions {
|
|
553
536
|
/** Off for a caller that shows `configWarnings` another way, such as the TUI
|
|
554
537
|
* from server statuses. */
|
|
@@ -565,8 +548,6 @@ interface LoadOptions {
|
|
|
565
548
|
* When no global or project files exist (the common case), the result is
|
|
566
549
|
* byte-identical to calling `resolveConfig(inlineOptions)` directly. */
|
|
567
550
|
export declare function loadResolvedConfig(inlineOptions: Record<string, unknown> | undefined, directory?: string, inlineTrust?: InlineOptionsTrust, { printConfigWarnings }?: LoadOptions): ReviewerConfig;
|
|
568
|
-
//#endregion
|
|
569
|
-
//#region src/kernel/permission-request.d.ts
|
|
570
551
|
interface PermissionToolSource {
|
|
571
552
|
messageID: string;
|
|
572
553
|
callID: string;
|
|
@@ -580,8 +561,6 @@ interface PermissionRequest {
|
|
|
580
561
|
always: string[];
|
|
581
562
|
tool?: PermissionToolSource;
|
|
582
563
|
}
|
|
583
|
-
//#endregion
|
|
584
|
-
//#region src/modules/evidence/ssh/verified-ssh-script.d.ts
|
|
585
564
|
interface VerifiedScriptEvidence {
|
|
586
565
|
sha256: string;
|
|
587
566
|
destination: string;
|
|
@@ -592,8 +571,6 @@ interface VerifiedScriptEvidence {
|
|
|
592
571
|
text: string;
|
|
593
572
|
cacheKey?: string;
|
|
594
573
|
}
|
|
595
|
-
//#endregion
|
|
596
|
-
//#region src/modules/analysis/shell/shell-token.d.ts
|
|
597
574
|
/** A run of a token's value that shares one quoting. `opaque` marks text the
|
|
598
575
|
* lexer kept whole from a substitution (an unquoted backtick form): it is
|
|
599
576
|
* the substitution's command, not the outer command's, so no operator in it
|
|
@@ -634,8 +611,6 @@ interface ShellSegment {
|
|
|
634
611
|
* segment. */
|
|
635
612
|
precededBy?: string;
|
|
636
613
|
}
|
|
637
|
-
//#endregion
|
|
638
|
-
//#region src/modules/analysis/walk/walk-sink.d.ts
|
|
639
614
|
/** A command the walk resolves, wrapper or not: its basename, the words of
|
|
640
615
|
* its level and its index among them, and whether it runs inside the
|
|
641
616
|
* remote command of an ssh, mosh or autossh. */
|
|
@@ -645,8 +620,6 @@ interface PeeledHead {
|
|
|
645
620
|
index: number;
|
|
646
621
|
remote: boolean;
|
|
647
622
|
}
|
|
648
|
-
//#endregion
|
|
649
|
-
//#region src/modules/analysis/capability/models/capability-types.d.ts
|
|
650
623
|
/** How completely the command could be statically analyzed. */
|
|
651
624
|
type ParserCompleteness =
|
|
652
625
|
/** Fully parsed: no variables, globs, substitutions, or heredoc bodies. */
|
|
@@ -774,8 +747,6 @@ interface CapabilityAssessment {
|
|
|
774
747
|
/** Free-form warnings about analysis limitations. */
|
|
775
748
|
analysisWarnings: string[];
|
|
776
749
|
}
|
|
777
|
-
//#endregion
|
|
778
|
-
//#region src/modules/evidence/ssh/ssh-evidence.d.ts
|
|
779
750
|
interface SshAuditSummary {
|
|
780
751
|
destination: string;
|
|
781
752
|
port?: string;
|
|
@@ -790,8 +761,6 @@ interface SshEnrichmentResult {
|
|
|
790
761
|
preflightDenial?: string;
|
|
791
762
|
}
|
|
792
763
|
export declare function enrichSshEvidence(request: PermissionRequest, directory: string, worktree: string, maxChars: number): Promise<SshEnrichmentResult>;
|
|
793
|
-
//#endregion
|
|
794
|
-
//#region src/modules/context/models/review-envelope.d.ts
|
|
795
764
|
interface ReviewEnvelope {
|
|
796
765
|
request: PermissionRequest;
|
|
797
766
|
directory: string;
|
|
@@ -837,12 +806,8 @@ interface ReviewEnvelope {
|
|
|
837
806
|
* prompt (USER_ASK_DECISIONS) and audit, never into enforcement. */
|
|
838
807
|
askDecisions?: AskDecision[];
|
|
839
808
|
}
|
|
840
|
-
//#endregion
|
|
841
|
-
//#region src/modules/review/models/contracts.d.ts
|
|
842
809
|
/** Receiving an approval does not prove that a tool executed. */
|
|
843
810
|
type ApplicationResult = "evaluation-returned" | "reply-accepted" | "human-pending" | "superseded" | "cancelled" | "unknown";
|
|
844
|
-
//#endregion
|
|
845
|
-
//#region src/kernel/review-attempt.d.ts
|
|
846
811
|
/** What the reviewer needs from a review attempt: its cancellation, its
|
|
847
812
|
* remaining budget, and a wait that rejects once it is no longer active. */
|
|
848
813
|
interface ReviewAttemptView {
|
|
@@ -851,8 +816,6 @@ interface ReviewAttemptView {
|
|
|
851
816
|
active(): boolean;
|
|
852
817
|
wait<T>(operation: Promise<T>): Promise<T>;
|
|
853
818
|
}
|
|
854
|
-
//#endregion
|
|
855
|
-
//#region src/modules/review/services/review-attempt.d.ts
|
|
856
819
|
type AttemptState = "reviewing" | "finished" | "cancelled" | "expired";
|
|
857
820
|
/** One invocation owns its deadline, identity, and terminal transition. */
|
|
858
821
|
declare class ReviewAttempt implements ReviewAttemptView {
|
|
@@ -883,8 +846,6 @@ declare class ReviewAttempt implements ReviewAttemptView {
|
|
|
883
846
|
/** Abort the wait even if a host operation cannot cancel its transport. */
|
|
884
847
|
wait<T>(operation: Promise<T>): Promise<T>;
|
|
885
848
|
}
|
|
886
|
-
//#endregion
|
|
887
|
-
//#region src/kernel/review-handoff.d.ts
|
|
888
849
|
/** Jev's hand-off to the reasoning reviewer, on the second "reviewing" status
|
|
889
850
|
* and on the result of a handed-off review. */
|
|
890
851
|
interface HandoffInfo {
|
|
@@ -897,8 +858,6 @@ interface HandoffInfo {
|
|
|
897
858
|
/** Called at most once per review, right before the reasoning reviewer is
|
|
898
859
|
* invoked; never on the budget-floor or inactive-attempt paths. */
|
|
899
860
|
type OnHandoff = (handoff: HandoffInfo) => void;
|
|
900
|
-
//#endregion
|
|
901
|
-
//#region src/modules/status/services/ui-status-extras.d.ts
|
|
902
861
|
interface StatusExtrasOptions {
|
|
903
862
|
handoff?: HandoffInfo;
|
|
904
863
|
resolution?: ManualResolution;
|
|
@@ -906,8 +865,6 @@ interface StatusExtrasOptions {
|
|
|
906
865
|
configWarnings?: readonly string[];
|
|
907
866
|
configDegraded?: readonly string[];
|
|
908
867
|
}
|
|
909
|
-
//#endregion
|
|
910
|
-
//#region src/modules/status/models/ui-protocol.d.ts
|
|
911
868
|
type ReviewUiPhase = "reviewing" | "approved" | "denied" | "manual" | "unknown";
|
|
912
869
|
/** One command of a shell action as the server split it, for the TUI to fit
|
|
913
870
|
* to its width. Built by `src/modules/status/services/ui-action-segments.ts`. */
|
|
@@ -976,8 +933,6 @@ type UiStatusOptions = {
|
|
|
976
933
|
export declare function createUiStatus(request: PermissionRequest, phase: ReviewUiPhase, options: UiStatusOptions): ReviewUiStatus;
|
|
977
934
|
export declare function encodeUiStatus(status: ReviewUiStatus): string;
|
|
978
935
|
export declare function decodeUiStatus(command: string): ReviewUiStatus | undefined;
|
|
979
|
-
//#endregion
|
|
980
|
-
//#region src/modules/context/services/ask-decisions.d.ts
|
|
981
936
|
/**
|
|
982
937
|
* Captures user answers to agent ask dialogs (the `question` tool) from the
|
|
983
938
|
* OpenCode event stream and exposes them as compact, session-scoped
|
|
@@ -1036,14 +991,8 @@ export declare class AskDecisionRegistry implements AskDecisionSource {
|
|
|
1036
991
|
private onRejected;
|
|
1037
992
|
private store;
|
|
1038
993
|
}
|
|
1039
|
-
//#endregion
|
|
1040
|
-
//#region src/adapters/opencode/v2/server-state.d.ts
|
|
1041
994
|
type Context = Parameters<Plugin$1.Plugin["setup"]>[0];
|
|
1042
|
-
//#endregion
|
|
1043
|
-
//#region src/adapters/opencode/v2/server.d.ts
|
|
1044
995
|
declare function setup(ctx: Context): Promise<() => Promise<void>>;
|
|
1045
|
-
//#endregion
|
|
1046
|
-
//#region src/adapters/opencode/event-normalizer.d.ts
|
|
1047
996
|
/**
|
|
1048
997
|
* Normalize a raw OpenCode event into a {@link PermissionRequest}.
|
|
1049
998
|
*
|
|
@@ -1052,8 +1001,6 @@ declare function setup(ctx: Context): Promise<() => Promise<void>>;
|
|
|
1052
1001
|
* inspecting their shape.
|
|
1053
1002
|
*/
|
|
1054
1003
|
export declare function extractPermissionRequest(event: unknown): PermissionRequest | undefined;
|
|
1055
|
-
//#endregion
|
|
1056
|
-
//#region src/modules/evidence/providers/provider.d.ts
|
|
1057
1004
|
/**
|
|
1058
1005
|
* A single piece of evidence gathered about a permission request. The runtime
|
|
1059
1006
|
* only consumes `text`, `audit`, and `preflightDenial` today; the remaining
|
|
@@ -1085,8 +1032,6 @@ interface EvidenceProvider {
|
|
|
1085
1032
|
readonly id: string;
|
|
1086
1033
|
collect(input: EvidenceProviderInput): Promise<EvidenceFragment>;
|
|
1087
1034
|
}
|
|
1088
|
-
//#endregion
|
|
1089
|
-
//#region src/modules/context/ports.d.ts
|
|
1090
1035
|
/** Host-independent reads used to recover actor identity and intent. */
|
|
1091
1036
|
interface ContextReader {
|
|
1092
1037
|
messages(sessionID: string, directory: string, limit: number): Promise<unknown>;
|
|
@@ -1094,8 +1039,6 @@ interface ContextReader {
|
|
|
1094
1039
|
intentMessages?(sessionID: string, directory: string, limit: number): Promise<unknown>;
|
|
1095
1040
|
session(sessionID: string, directory: string): Promise<unknown>;
|
|
1096
1041
|
}
|
|
1097
|
-
//#endregion
|
|
1098
|
-
//#region src/modules/review/ports.d.ts
|
|
1099
1042
|
/** A host call's outcome: failures arrive as `error`, not as a rejection. */
|
|
1100
1043
|
interface HostResponse {
|
|
1101
1044
|
error?: unknown;
|
|
@@ -1123,8 +1066,6 @@ interface ReviewHost {
|
|
|
1123
1066
|
/** Whether a reply error means another source already resolved the request. */
|
|
1124
1067
|
isAlreadyResolvedError(error: unknown): boolean;
|
|
1125
1068
|
}
|
|
1126
|
-
//#endregion
|
|
1127
|
-
//#region src/modules/review/services/review-coordinator.d.ts
|
|
1128
1069
|
/**
|
|
1129
1070
|
* Owns the review lifecycle for permission requests: orchestration, the
|
|
1130
1071
|
* supersede state machine, and the model call. The adapter (transport) and the
|
|
@@ -1153,8 +1094,6 @@ declare class ReviewCoordinator {
|
|
|
1153
1094
|
metadata?: unknown;
|
|
1154
1095
|
}): void;
|
|
1155
1096
|
}
|
|
1156
|
-
//#endregion
|
|
1157
|
-
//#region src/adapters/opencode/adapter.d.ts
|
|
1158
1097
|
/** What the plugin learned about the host client at startup. */
|
|
1159
1098
|
interface OpenCodeCapabilities {
|
|
1160
1099
|
/** A public SDK method to answer a permission request exists. */
|
|
@@ -1176,8 +1115,6 @@ interface OpenCodeCapabilities {
|
|
|
1176
1115
|
/** `client.tui.publish` is available for status broadcasting. */
|
|
1177
1116
|
tuiPublish: boolean;
|
|
1178
1117
|
}
|
|
1179
|
-
//#endregion
|
|
1180
|
-
//#region src/adapters/opencode/types.d.ts
|
|
1181
1118
|
interface ClientResponse<T> {
|
|
1182
1119
|
data?: T;
|
|
1183
1120
|
error?: unknown;
|
|
@@ -1221,20 +1158,12 @@ interface RuntimeContext {
|
|
|
1221
1158
|
* the developer's HOME. */
|
|
1222
1159
|
reviewerDirectoryBase?: string;
|
|
1223
1160
|
}
|
|
1224
|
-
//#endregion
|
|
1225
|
-
//#region src/adapters/opencode/v1/review-host.d.ts
|
|
1226
1161
|
/** The review coordinator on a V1 host, built from the host's runtime context. */
|
|
1227
1162
|
declare class V1ReviewCoordinator extends ReviewCoordinator {
|
|
1228
1163
|
constructor(ctx: RuntimeContext, config: ReviewerConfig, logger?: Logger, providers?: EvidenceProvider[], askDecisions?: AskDecisionSource);
|
|
1229
1164
|
}
|
|
1230
|
-
//#endregion
|
|
1231
|
-
//#region src/modules/analysis/brake/emergency-brake.d.ts
|
|
1232
1165
|
export declare function emergencyBrakeReason(request: PermissionRequest): string | undefined;
|
|
1233
|
-
//#endregion
|
|
1234
|
-
//#region src/modules/config/services/config.d.ts
|
|
1235
1166
|
export declare function resolveConfig(options: Record<string, unknown> | undefined): ReviewerConfig;
|
|
1236
|
-
//#endregion
|
|
1237
|
-
//#region src/modules/context/models/message.d.ts
|
|
1238
1167
|
interface MessageWithParts {
|
|
1239
1168
|
info: Record<string, unknown> & {
|
|
1240
1169
|
id?: string;
|
|
@@ -1243,14 +1172,8 @@ interface MessageWithParts {
|
|
|
1243
1172
|
};
|
|
1244
1173
|
parts: Array<Record<string, unknown>>;
|
|
1245
1174
|
}
|
|
1246
|
-
//#endregion
|
|
1247
|
-
//#region src/modules/decision/decision.d.ts
|
|
1248
1175
|
export declare function parseDecision(value: unknown): ReviewDecision | undefined;
|
|
1249
|
-
//#endregion
|
|
1250
|
-
//#region src/modules/decision/decision-gates.d.ts
|
|
1251
1176
|
export declare function enforceDecision(decision: ReviewDecision, config: ReviewerConfig): ReviewExecutionResult;
|
|
1252
|
-
//#endregion
|
|
1253
|
-
//#region src/modules/decision/decision-schema.d.ts
|
|
1254
1177
|
export declare const DECISION_SCHEMA: {
|
|
1255
1178
|
readonly type: "object";
|
|
1256
1179
|
readonly additionalProperties: false;
|
|
@@ -1303,8 +1226,6 @@ export declare const DECISION_SCHEMA: {
|
|
|
1303
1226
|
};
|
|
1304
1227
|
};
|
|
1305
1228
|
};
|
|
1306
|
-
//#endregion
|
|
1307
|
-
//#region src/modules/decision/escalation.d.ts
|
|
1308
1229
|
/**
|
|
1309
1230
|
* Categories that can be hardened independently of the global escalation mode
|
|
1310
1231
|
* via `riskPolicy.onInvalidDecision` / `riskPolicy.onReviewerFailure`.
|
|
@@ -1336,22 +1257,16 @@ export declare function resolveEscalationDisposition(result: ReviewExecutionResu
|
|
|
1336
1257
|
* decision actually existed.
|
|
1337
1258
|
*/
|
|
1338
1259
|
export declare function applyEscalationDisposition(result: ReviewExecutionResult, config: ReviewerConfig, category?: EscalationCategory): ReviewExecutionResult;
|
|
1339
|
-
//#endregion
|
|
1340
|
-
//#region src/modules/evidence/git/git-evidence.d.ts
|
|
1341
1260
|
interface GitEnrichmentResult {
|
|
1342
1261
|
text: string;
|
|
1343
1262
|
}
|
|
1344
1263
|
export declare function enrichGitEvidence(request: PermissionRequest, directory: string, maxChars: number, worktree?: string): Promise<GitEnrichmentResult>;
|
|
1345
|
-
//#endregion
|
|
1346
|
-
//#region src/modules/evidence/local-script/local-script-evidence.d.ts
|
|
1347
1264
|
interface LocalScriptEnrichmentResult {
|
|
1348
1265
|
text: string;
|
|
1349
1266
|
}
|
|
1350
1267
|
/** `rootDirectory` is the approved evidence root, which can sit above
|
|
1351
1268
|
* `directory` (package-script expansion passes the session directory). */
|
|
1352
1269
|
export declare function enrichLocalScriptEvidence(request: PermissionRequest, directory: string, worktree: string, maxChars: number, rootDirectory?: string): Promise<LocalScriptEnrichmentResult>;
|
|
1353
|
-
//#endregion
|
|
1354
|
-
//#region src/modules/status/services/ui-state.d.ts
|
|
1355
1270
|
interface UiStateOptions {
|
|
1356
1271
|
model: string;
|
|
1357
1272
|
variant: string;
|
|
@@ -1372,16 +1287,11 @@ export declare class ReviewUiState {
|
|
|
1372
1287
|
expire(now?: number): ReviewUiStatus[];
|
|
1373
1288
|
dismissResults(now?: number): string[];
|
|
1374
1289
|
}
|
|
1375
|
-
//#endregion
|
|
1376
|
-
//#region src/utils/redact.d.ts
|
|
1377
1290
|
export declare function redactSecrets(input: string): string;
|
|
1378
|
-
//#endregion
|
|
1379
|
-
//#region src/index.d.ts
|
|
1380
1291
|
export declare const server: Plugin;
|
|
1381
1292
|
declare const module: {
|
|
1382
1293
|
id: string;
|
|
1383
1294
|
server: Plugin;
|
|
1384
1295
|
setup: typeof setup;
|
|
1385
1296
|
};
|
|
1386
|
-
//#endregion
|
|
1387
1297
|
export { type ActionPurpose, type ActorContext, type ActorProfile, V1ReviewCoordinator as ApprovalReviewerRuntime, type ApprovedAnnotation, type AskDecision, type CapabilityActionClass, type CapabilityAssessment, type DecisionSource, type EffectivePermissionSummary, type EscalatedFrom, type EscalationDisposition, type EscalationMode, type EscalationReviewerConfig, type EvidenceCompleteness, type EvidenceConfidence, type EvidenceSufficiency, type HandoffTrigger, type HeredocRecord, type IntentBlock, type IntentContext, type ManualResolution, type MessageWithParts, type ParsedCommand, type ParserCompleteness, type PermissionRequest, type PermissionToolSource, type PolicyCondition, type PolicyRule, type PolicyTrace, type Provenanced, type Redirection, type RepositoryTrust, type ReviewAuditRecord, type ReviewDecision, type ReviewEnvelope, type ReviewExecutionResult, type ReviewOutcome, type ReviewerConfig, type ReviewerOutputFormat, type RiskLevel, type RiskPolicy, type SYSTEM_ONE_BASES, type ScopeAlignment, type SessionLineage, type SessionNode, type SystemOneChoiceScore, type SystemOneEscalationMode, type SystemOnePrimaryBasis, type SystemOneScores, type SystemOneSignals, type UserAuthorization, module as default };
|