@rulvar/core 1.53.0 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +339 -4
- package/dist/index.js +1041 -28
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2958,6 +2958,26 @@ type CoreEvents = {
|
|
|
2958
2958
|
* charge. Absent means every contributing turn reported exact usage.
|
|
2959
2959
|
*/
|
|
2960
2960
|
usageApprox?: boolean;
|
|
2961
|
+
/**
|
|
2962
|
+
* The semantic completion lift (RV-207 tail): present when the
|
|
2963
|
+
* workflow reported semantic completion through the completion
|
|
2964
|
+
* envelope contract: an `ok`/`exhausted` run whose result value is
|
|
2965
|
+
* an object carrying a valid `completion` literal, or an `error`
|
|
2966
|
+
* run whose typed error data carries one (the orchestrator
|
|
2967
|
+
* acceptance path emits both). Transport status says whether the
|
|
2968
|
+
* run ran; completion says whether the work is COMPLETE: an
|
|
2969
|
+
* accepted degraded run is `status: 'ok'` with `completion:
|
|
2970
|
+
* 'partial'`. Replay recomputes the same value from the re-executed
|
|
2971
|
+
* workflow, so the field is identical live and replayed. Absent
|
|
2972
|
+
* when the workflow makes no completion claim.
|
|
2973
|
+
*/
|
|
2974
|
+
completion?: "complete" | "partial" | "rejected";
|
|
2975
|
+
/**
|
|
2976
|
+
* Settled child statuses by status name, lifted from the same
|
|
2977
|
+
* envelope (or typed error data) when it carries a valid record of
|
|
2978
|
+
* nonnegative integers. Absent otherwise.
|
|
2979
|
+
*/
|
|
2980
|
+
childStatusCounts?: Record<string, number>;
|
|
2961
2981
|
} | {
|
|
2962
2982
|
type: "phase:start";
|
|
2963
2983
|
phase: string;
|
|
@@ -3013,6 +3033,10 @@ interface ExplorationSummary {
|
|
|
3013
3033
|
deniedRepeats: number;
|
|
3014
3034
|
/** Executions per tool name. */
|
|
3015
3035
|
byTool: Record<string, number>;
|
|
3036
|
+
/** Calls denied by maxCallsPerTool; present when that limit is configured. */
|
|
3037
|
+
deniedToolCap?: number;
|
|
3038
|
+
/** Weighted tool units spent; present when toolUnits is configured. */
|
|
3039
|
+
toolUnitsUsed?: number;
|
|
3016
3040
|
}
|
|
3017
3041
|
/**
|
|
3018
3042
|
* Agent lifecycle. One logical agent dispatch emits EXACTLY ONE
|
|
@@ -3387,6 +3411,45 @@ declare class NoProgressDetector {
|
|
|
3387
3411
|
describe(): string;
|
|
3388
3412
|
}
|
|
3389
3413
|
//#endregion
|
|
3414
|
+
//#region src/tools/progress.d.ts
|
|
3415
|
+
/** The stock progress tool name the engine scans terminals for. */
|
|
3416
|
+
declare const PROGRESS_REPORT_TOOL_NAME = "report_progress";
|
|
3417
|
+
/**
|
|
3418
|
+
* One progress report: what the agent has established so far. Captured
|
|
3419
|
+
* as {@link AgentResult.partial} (normalized: absent arrays become
|
|
3420
|
+
* empty) when the invocation terminates with status 'limit'.
|
|
3421
|
+
*/
|
|
3422
|
+
interface ProgressReport {
|
|
3423
|
+
/** New facts established, each a standalone claim line. */
|
|
3424
|
+
facts: string[];
|
|
3425
|
+
/** Evidence references backing the facts (file:line or recorded ids). */
|
|
3426
|
+
evidence: string[];
|
|
3427
|
+
/** Remaining unresolved questions. */
|
|
3428
|
+
questions: string[];
|
|
3429
|
+
/** Optional short status note. */
|
|
3430
|
+
note?: string;
|
|
3431
|
+
}
|
|
3432
|
+
/**
|
|
3433
|
+
* The stock progress-report tool. Stateless and deterministic: the
|
|
3434
|
+
* result echoes the counts, so a verbatim repeated report is a
|
|
3435
|
+
* duplicate result digest to the exploration guards. The value is the
|
|
3436
|
+
* side contract: the engine captures the LAST successful call of this
|
|
3437
|
+
* tool as the structured terminal partial of a 'limit' invocation, so
|
|
3438
|
+
* an agent that reports after every batch never loses its collected
|
|
3439
|
+
* work to a budget expiry.
|
|
3440
|
+
*/
|
|
3441
|
+
declare function progressReportTool(): ToolDef;
|
|
3442
|
+
/**
|
|
3443
|
+
* The deterministic terminal scan: pairs `report_progress` tool calls
|
|
3444
|
+
* with their SUCCESSFUL results by id (a denied or failed call never
|
|
3445
|
+
* counts, mirroring the exploration guard's restore) and normalizes the
|
|
3446
|
+
* last one into a {@link ProgressReport}. Pure over the message window
|
|
3447
|
+
* it is given: the live loop hands its own history, the replay path
|
|
3448
|
+
* hands the terminal checkpoint's messages, and a compaction naturally
|
|
3449
|
+
* narrows the window to what the model itself still sees.
|
|
3450
|
+
*/
|
|
3451
|
+
declare function latestProgressReport(messages: readonly Msg[]): ProgressReport | undefined;
|
|
3452
|
+
//#endregion
|
|
3390
3453
|
//#region src/runtime/usage-limits.d.ts
|
|
3391
3454
|
interface UsageLimits {
|
|
3392
3455
|
/** Default 32. */
|
|
@@ -3429,6 +3492,29 @@ interface UsageLimits {
|
|
|
3429
3492
|
* default.
|
|
3430
3493
|
*/
|
|
3431
3494
|
maxNoNewEvidenceCalls?: number;
|
|
3495
|
+
/**
|
|
3496
|
+
* Per-tool execution caps by tool NAME (RV-210 close-out): the call
|
|
3497
|
+
* that would exceed its tool's cap is denied with a typed error tool
|
|
3498
|
+
* result instead of dispatched (visible to the model, never terminal),
|
|
3499
|
+
* and the denial does not consume maxToolCalls or tool units. A cap of
|
|
3500
|
+
* 0 bans the tool for the invocation; names absent from the record are
|
|
3501
|
+
* unlimited. Per layer the whole record replaces (no per-key merge),
|
|
3502
|
+
* like every other UsageLimits field.
|
|
3503
|
+
*/
|
|
3504
|
+
maxCallsPerTool?: Record<string, number>;
|
|
3505
|
+
/**
|
|
3506
|
+
* The weighted tool budget (RV-210 close-out): every EXECUTED call of
|
|
3507
|
+
* tool T costs `costs[T] ?? 1` units (a cost of 0 makes bookkeeping
|
|
3508
|
+
* tools free), and once the spent units reach `max` the invocation
|
|
3509
|
+
* terminates as status 'limit' exactly like maxToolCalls (paid partial
|
|
3510
|
+
* work; executed results stand). Denied calls cost nothing. On resume
|
|
3511
|
+
* the spent units rebuild from the restored transcript's successful
|
|
3512
|
+
* executions, the same conservative window the exploration guards use.
|
|
3513
|
+
*/
|
|
3514
|
+
toolUnits?: {
|
|
3515
|
+
max: number;
|
|
3516
|
+
costs?: Record<string, number>;
|
|
3517
|
+
};
|
|
3432
3518
|
}
|
|
3433
3519
|
declare const DEFAULT_MAX_TURNS = 32;
|
|
3434
3520
|
declare const DEFAULT_STREAM_IDLE_TIMEOUT_MS = 12e4;
|
|
@@ -3444,6 +3530,11 @@ interface EffectiveUsageLimits {
|
|
|
3444
3530
|
toolBudgetNotices?: boolean;
|
|
3445
3531
|
maxRepeatedToolSignature?: number;
|
|
3446
3532
|
maxNoNewEvidenceCalls?: number;
|
|
3533
|
+
maxCallsPerTool?: Record<string, number>;
|
|
3534
|
+
toolUnits?: {
|
|
3535
|
+
max: number;
|
|
3536
|
+
costs?: Record<string, number>;
|
|
3537
|
+
};
|
|
3447
3538
|
}
|
|
3448
3539
|
/**
|
|
3449
3540
|
* Limits merge per spawn: AgentOpts.limits over profile limits over engine
|
|
@@ -3554,6 +3645,18 @@ interface AgentResult<T> {
|
|
|
3554
3645
|
* transportRetries.
|
|
3555
3646
|
*/
|
|
3556
3647
|
exploration?: ExplorationSummary;
|
|
3648
|
+
/**
|
|
3649
|
+
* The structured terminal partial (RV-210 close-out): the LAST
|
|
3650
|
+
* successful `report_progress` call of the invocation, present only on
|
|
3651
|
+
* a 'limit' terminal (cap expiry or an engine-decided abort) whose
|
|
3652
|
+
* transcript recorded at least one report. Derived deterministically
|
|
3653
|
+
* from the message window: live from the loop's own history (a final
|
|
3654
|
+
* boundary checkpoint is written so the window is durable), on replay
|
|
3655
|
+
* from the terminal checkpoint, so both read the same bytes. This is
|
|
3656
|
+
* what lets a caller salvage a limit child's collected work instead of
|
|
3657
|
+
* seeing a bare 'terminal status limit'.
|
|
3658
|
+
*/
|
|
3659
|
+
partial?: ProgressReport;
|
|
3557
3660
|
}
|
|
3558
3661
|
type EscalatedResult<T> = AgentResult<T> & {
|
|
3559
3662
|
status: "escalated";
|
|
@@ -5313,6 +5416,48 @@ declare function hashRunArgs(args: unknown): string | undefined;
|
|
|
5313
5416
|
declare function hashRunOutput(value: unknown): string | undefined;
|
|
5314
5417
|
declare function createEngine(options: CreateEngineOptions): Engine;
|
|
5315
5418
|
//#endregion
|
|
5419
|
+
//#region src/orchestrator/claims.d.ts
|
|
5420
|
+
/**
|
|
5421
|
+
* Repeated-claim deduplication (RV-211 remainder): a PURE, deterministic
|
|
5422
|
+
* fold that removes byte-repeated claim lines across children BEFORE any
|
|
5423
|
+
* model call, so the synthesis invocation never spends context re-reading
|
|
5424
|
+
* what several children reported identically. Matching is deliberately
|
|
5425
|
+
* conservative: lines compare by whitespace-collapsed exact equality
|
|
5426
|
+
* (trim, inner runs of whitespace to one space), never fuzzily, so two
|
|
5427
|
+
* DISTINCT claims can never merge; the first occurrence survives verbatim
|
|
5428
|
+
* and every later occurrence is dropped and indexed. Empty lines are
|
|
5429
|
+
* structure, not claims: they always survive.
|
|
5430
|
+
*
|
|
5431
|
+
* Public docs: https://docs.rulvar.com/guide/orchestration-modes
|
|
5432
|
+
*/
|
|
5433
|
+
/** One claim reported more than once across the input rows. */
|
|
5434
|
+
interface RepeatedClaim {
|
|
5435
|
+
/** The first-seen line, verbatim. */
|
|
5436
|
+
claim: string;
|
|
5437
|
+
/** Reporters in input order; the first entry made the surviving copy. */
|
|
5438
|
+
nodeIds: string[];
|
|
5439
|
+
/** Total occurrences across all rows, the surviving one included. */
|
|
5440
|
+
count: number;
|
|
5441
|
+
}
|
|
5442
|
+
interface DedupedClaims {
|
|
5443
|
+
/** The input rows with every repeated line's later occurrences removed. */
|
|
5444
|
+
rows: {
|
|
5445
|
+
nodeId: string;
|
|
5446
|
+
text: string;
|
|
5447
|
+
}[];
|
|
5448
|
+
/** Claims seen more than once, in first-occurrence order. */
|
|
5449
|
+
repeated: RepeatedClaim[];
|
|
5450
|
+
}
|
|
5451
|
+
/**
|
|
5452
|
+
* Removes later occurrences of repeated claim lines across the rows and
|
|
5453
|
+
* indexes each repeated claim with its reporters. Deterministic: output
|
|
5454
|
+
* depends only on the input order and bytes.
|
|
5455
|
+
*/
|
|
5456
|
+
declare function dedupeRepeatedClaims(rows: {
|
|
5457
|
+
nodeId: string;
|
|
5458
|
+
text: string;
|
|
5459
|
+
}[]): DedupedClaims;
|
|
5460
|
+
//#endregion
|
|
5316
5461
|
//#region src/orchestrator/finish-validators.d.ts
|
|
5317
5462
|
/**
|
|
5318
5463
|
* One child as the finish validators see it (the RV-202 provenance
|
|
@@ -5457,8 +5602,10 @@ interface TaskDigest {
|
|
|
5457
5602
|
* when the output IS a string, else its JCS-independent `JSON.stringify`)
|
|
5458
5603
|
* for a settled ok child, or the child's `errorMessage` otherwise, so the
|
|
5459
5604
|
* orchestrator can read WHY a child failed as readily as what it
|
|
5460
|
-
* produced
|
|
5461
|
-
*
|
|
5605
|
+
* produced; a limit child carrying a structured terminal partial serves
|
|
5606
|
+
* `{ error, partial }` instead (RV-210 close-out), so the collected work
|
|
5607
|
+
* is pageable in full. Everything here is a pure read of already durable
|
|
5608
|
+
* journal state, so a resume reproduces it with no new spend.
|
|
5462
5609
|
*/
|
|
5463
5610
|
interface ChildResultPage {
|
|
5464
5611
|
handle: number;
|
|
@@ -5936,6 +6083,21 @@ interface OrchestrateAcceptance {
|
|
|
5936
6083
|
childPolicy: "all-ok" | {
|
|
5937
6084
|
minSuccessful: number;
|
|
5938
6085
|
};
|
|
6086
|
+
/**
|
|
6087
|
+
* The partial-child salvage switch (RV-210 close-out; default false).
|
|
6088
|
+
* When true, a child that settled 'limit' WITH a structured terminal
|
|
6089
|
+
* partial (it recorded progress through the stock `report_progress`
|
|
6090
|
+
* tool before the budget expired) counts as a successful child for the
|
|
6091
|
+
* policy: under 'all-ok' it no longer rejects the run, and under
|
|
6092
|
+
* { minSuccessful: N } it counts toward N. The acceptance verdict then
|
|
6093
|
+
* reports completion 'partial' (never 'complete'), lists the salvaged
|
|
6094
|
+
* children in `salvagedPartialChildren` on the result envelope, and
|
|
6095
|
+
* keeps a per-child note in degradedReasons. A limit child WITHOUT a
|
|
6096
|
+
* partial gave the caller nothing to salvage and still counts against
|
|
6097
|
+
* the policy. The whole fold is journaled in the single acceptance
|
|
6098
|
+
* decision, so a resume rolls the same verdict forward.
|
|
6099
|
+
*/
|
|
6100
|
+
acceptPartialChildren?: boolean;
|
|
5939
6101
|
}
|
|
5940
6102
|
/** How many rejected finishes are repaired by default: the plan's repair once. */
|
|
5941
6103
|
declare const DEFAULT_FINISH_MAX_REPAIRS = 1;
|
|
@@ -5945,6 +6107,12 @@ declare const DEFAULT_FINISH_MAX_REPAIRS = 1;
|
|
|
5945
6107
|
*/
|
|
5946
6108
|
declare const DEFAULT_SYNTHESIS_MAX_TURNS = 4;
|
|
5947
6109
|
/**
|
|
6110
|
+
* Default maxTurns of ONE incremental synthesis note (RV-211 remainder):
|
|
6111
|
+
* a note summarizes a single settled child into a bounded finish call,
|
|
6112
|
+
* so it needs less headroom than the full synthesis invocation.
|
|
6113
|
+
*/
|
|
6114
|
+
declare const DEFAULT_SYNTHESIS_NOTE_MAX_TURNS = 2;
|
|
6115
|
+
/**
|
|
5948
6116
|
* The opt in deterministic validation of the orchestrator finish result
|
|
5949
6117
|
* (the v1.40.0 improvement plan's RV-204 slice). Every SCHEMA valid
|
|
5950
6118
|
* finish({ result }) call first passes the configured host validators;
|
|
@@ -6075,9 +6243,71 @@ interface OrchestrateSynthesis {
|
|
|
6075
6243
|
* Admission estimate for the synthesize invocation, like
|
|
6076
6244
|
* AgentOpts.estCost: under a tight orchestrator cap the default
|
|
6077
6245
|
* reserve (full maxOutputTokens pricing) can refuse the dispatch; an
|
|
6078
|
-
* explicit estimate is the host speaking.
|
|
6246
|
+
* explicit estimate is the host speaking. In 'incremental' mode the
|
|
6247
|
+
* estimate applies to EACH note invocation.
|
|
6079
6248
|
*/
|
|
6080
6249
|
estCost?: number;
|
|
6250
|
+
/**
|
|
6251
|
+
* The synthesis shape (RV-211 remainder). Default 'single': one
|
|
6252
|
+
* post-fan-in synthesize invocation composes the final result from the
|
|
6253
|
+
* draft and the whole settled digest. 'incremental': every settled
|
|
6254
|
+
* child triggers ONE bounded synthesize-role NOTE invocation as soon
|
|
6255
|
+
* as it settles (concurrent with the still-running fan-out, which is
|
|
6256
|
+
* what moves synthesis wall time off the post-fan-in critical path),
|
|
6257
|
+
* and the FINAL result is a DETERMINISTIC reconciliation, never
|
|
6258
|
+
* another model call: an {@link IncrementalSynthesisResult} envelope
|
|
6259
|
+
* composed from the draft and the notes in spawn order. The tradeoffs
|
|
6260
|
+
* are explicit: notes are paid DURING the run, so an acceptance
|
|
6261
|
+
* rejection can no longer guarantee "a rejected run never paid for
|
|
6262
|
+
* synthesis"; and because the reconciliation has no model-composed
|
|
6263
|
+
* finish, `finishValidation` cannot bind it: configuring both is a
|
|
6264
|
+
* ConfigError at intake. A note that dies falls back to the child's
|
|
6265
|
+
* raw digest summary under a journaled per-child
|
|
6266
|
+
* 'orchestrator_synthesis_note_fallback' decision and a warn log.
|
|
6267
|
+
* Cap paths are unchanged: a capped run settles through the reserved
|
|
6268
|
+
* finalizer and never reconciles.
|
|
6269
|
+
*/
|
|
6270
|
+
mode?: "single" | "incremental";
|
|
6271
|
+
/**
|
|
6272
|
+
* Deduplicate repeated claim lines across children BEFORE any model
|
|
6273
|
+
* call (RV-211 remainder; default false, and the prompt stays byte
|
|
6274
|
+
* identical when unset). In 'single' mode the digest entering the
|
|
6275
|
+
* synthesis prompt keeps only the FIRST occurrence of every repeated
|
|
6276
|
+
* line and a REPEATED CLAIMS index (each claim with its reporters)
|
|
6277
|
+
* rides the prompt beside it. In 'incremental' mode the deterministic
|
|
6278
|
+
* reconciliation dedupes the note texts the same way and the envelope
|
|
6279
|
+
* carries the `repeatedClaims` index. Matching is whitespace-collapsed
|
|
6280
|
+
* exact line equality: nothing fuzzy ever merges two distinct claims.
|
|
6281
|
+
*/
|
|
6282
|
+
dedupeClaims?: boolean;
|
|
6283
|
+
/**
|
|
6284
|
+
* UsageLimits of ONE incremental note invocation; default
|
|
6285
|
+
* { maxTurns: 2 }. Ignored in 'single' mode.
|
|
6286
|
+
*/
|
|
6287
|
+
noteLimits?: UsageLimits;
|
|
6288
|
+
}
|
|
6289
|
+
/**
|
|
6290
|
+
* The deterministic reconciliation envelope an 'incremental' synthesis
|
|
6291
|
+
* returns as the run result (RV-211 remainder): the coordination draft
|
|
6292
|
+
* plus one section per settled child in spawn order, each carrying the
|
|
6293
|
+
* child's terminal status and its note (the note invocation's finish
|
|
6294
|
+
* output, or the child's raw digest summary when the note fell back).
|
|
6295
|
+
* With `dedupeClaims`, repeated claim lines keep their first occurrence
|
|
6296
|
+
* only and the `repeatedClaims` index lists each with its reporters.
|
|
6297
|
+
* Everything here derives from journaled state, so a resume reproduces
|
|
6298
|
+
* the envelope byte for byte with zero paid calls.
|
|
6299
|
+
*/
|
|
6300
|
+
interface IncrementalSynthesisResult {
|
|
6301
|
+
synthesis: "incremental";
|
|
6302
|
+
draft: unknown;
|
|
6303
|
+
sections: {
|
|
6304
|
+
nodeId: string;
|
|
6305
|
+
logicalTaskId: string; /** The child's terminal status. */
|
|
6306
|
+
status: string; /** The note invocation's terminal status ('ok' unless it fell back). */
|
|
6307
|
+
noteStatus: string;
|
|
6308
|
+
note: string;
|
|
6309
|
+
}[];
|
|
6310
|
+
repeatedClaims?: RepeatedClaim[];
|
|
6081
6311
|
}
|
|
6082
6312
|
declare const ORCHESTRATE_WORKFLOW_NAME = "rulvar-orchestrate";
|
|
6083
6313
|
/**
|
|
@@ -6990,6 +7220,111 @@ declare class GitWorktreeProvider implements IsolationProvider {
|
|
|
6990
7220
|
}>;
|
|
6991
7221
|
}
|
|
6992
7222
|
//#endregion
|
|
7223
|
+
//#region src/tools/research.d.ts
|
|
7224
|
+
interface RepositoryResearchToolsetOptions {
|
|
7225
|
+
/** The confining directory root; everything resolves under it. */
|
|
7226
|
+
root: string;
|
|
7227
|
+
/** Rows per list/search/evidence page; default 50. */
|
|
7228
|
+
pageSize?: number;
|
|
7229
|
+
/** Content budget of one read_file page in characters; default 4000. */
|
|
7230
|
+
readPageChars?: number;
|
|
7231
|
+
/** Files larger than this many bytes are refused; default 262144. */
|
|
7232
|
+
maxFileBytes?: number;
|
|
7233
|
+
/** Walk ceiling per call (files visited); default 20000. */
|
|
7234
|
+
maxScannedFiles?: number;
|
|
7235
|
+
/**
|
|
7236
|
+
* Extra ignored basenames (files and directories), merged over the
|
|
7237
|
+
* always-on defaults '.git' and 'node_modules'.
|
|
7238
|
+
*/
|
|
7239
|
+
ignore?: string[];
|
|
7240
|
+
/** Walk dot-entries too; default false. */
|
|
7241
|
+
includeHidden?: boolean;
|
|
7242
|
+
}
|
|
7243
|
+
/** One verified evidence entry recorded by `record_evidence`. */
|
|
7244
|
+
interface ResearchEvidenceEntry {
|
|
7245
|
+
claim: string;
|
|
7246
|
+
/** Root-relative POSIX path, verified to exist at record time. */
|
|
7247
|
+
file: string;
|
|
7248
|
+
/** 'N' or 'N-M', 1-based, verified inside the file's line count. */
|
|
7249
|
+
lines?: string;
|
|
7250
|
+
/** Verified verbatim substring of the file at record time. */
|
|
7251
|
+
quote?: string;
|
|
7252
|
+
}
|
|
7253
|
+
interface RepositoryResearchToolset {
|
|
7254
|
+
/** list_files, search_files, read_file, record_evidence, list_evidence. */
|
|
7255
|
+
tools: ToolDef[];
|
|
7256
|
+
/** Snapshot copy of the evidence collected so far, in record order. */
|
|
7257
|
+
evidence(): ResearchEvidenceEntry[];
|
|
7258
|
+
}
|
|
7259
|
+
declare function repositoryResearchToolset(options: RepositoryResearchToolsetOptions): RepositoryResearchToolset;
|
|
7260
|
+
//#endregion
|
|
7261
|
+
//#region src/engine/profile-templates.d.ts
|
|
7262
|
+
/**
|
|
7263
|
+
* The research template's stop conditions: a weighted unit budget over
|
|
7264
|
+
* the research tools (bookkeeping tools are free), per-tool caps, both
|
|
7265
|
+
* repetition guards, and soft budget notices. Exported so hosts and
|
|
7266
|
+
* tests can read the exact defaults they are overriding.
|
|
7267
|
+
*/
|
|
7268
|
+
declare const RESEARCH_PROFILE_LIMITS: UsageLimits;
|
|
7269
|
+
/** The implementation template's stop conditions. */
|
|
7270
|
+
declare const IMPLEMENTATION_PROFILE_LIMITS: UsageLimits;
|
|
7271
|
+
/** The review template's stop conditions. */
|
|
7272
|
+
declare const REVIEW_PROFILE_LIMITS: UsageLimits;
|
|
7273
|
+
/** Options shared by the implementation and review templates. */
|
|
7274
|
+
interface AgentProfileTemplateOptions {
|
|
7275
|
+
/** Advertised profile description; the template provides a default. */
|
|
7276
|
+
description?: string;
|
|
7277
|
+
/** Per-key overrides over the template's limits. */
|
|
7278
|
+
limits?: UsageLimits;
|
|
7279
|
+
/** The task tools; the stock report_progress tool is always prepended. */
|
|
7280
|
+
tools?: ToolDef[];
|
|
7281
|
+
}
|
|
7282
|
+
/** Options of {@link researchAgentProfile}: the toolset knobs plus template overrides. */
|
|
7283
|
+
interface ResearchAgentProfileOptions extends RepositoryResearchToolsetOptions {
|
|
7284
|
+
/** Advertised profile description; the template provides a default. */
|
|
7285
|
+
description?: string;
|
|
7286
|
+
/** Per-key overrides over {@link RESEARCH_PROFILE_LIMITS}. */
|
|
7287
|
+
limits?: UsageLimits;
|
|
7288
|
+
/** Extra tools appended after the research toolset. */
|
|
7289
|
+
extraTools?: ToolDef[];
|
|
7290
|
+
}
|
|
7291
|
+
/** What {@link researchAgentProfile} returns: the profile plus the evidence accessor. */
|
|
7292
|
+
interface ResearchAgentProfileResult {
|
|
7293
|
+
profile: AgentProfile;
|
|
7294
|
+
/**
|
|
7295
|
+
* The research kit's host-side evidence snapshot. One kit instance
|
|
7296
|
+
* backs the profile, so children spawned from the SAME registered
|
|
7297
|
+
* profile pool their verified evidence here (and see each other's
|
|
7298
|
+
* entries through list_evidence); construct one template per fan-out
|
|
7299
|
+
* run, or per child, when isolation matters.
|
|
7300
|
+
*/
|
|
7301
|
+
evidence: () => ResearchEvidenceEntry[];
|
|
7302
|
+
}
|
|
7303
|
+
/**
|
|
7304
|
+
* The batteries-included research child: the confined
|
|
7305
|
+
* {@link repositoryResearchToolset} over `root`, the stock
|
|
7306
|
+
* report_progress tool, and {@link RESEARCH_PROFILE_LIMITS} as the stop
|
|
7307
|
+
* conditions. A child spawned from this profile that runs out of budget
|
|
7308
|
+
* settles 'limit' WITH its last progress report as the structured
|
|
7309
|
+
* partial, and the recorded evidence stays readable host-side through
|
|
7310
|
+
* `evidence()`.
|
|
7311
|
+
*/
|
|
7312
|
+
declare function researchAgentProfile(options: ResearchAgentProfileOptions): ResearchAgentProfileResult;
|
|
7313
|
+
/**
|
|
7314
|
+
* The implementation child template: the caller's task tools plus the
|
|
7315
|
+
* progress contract, with {@link IMPLEMENTATION_PROFILE_LIMITS} as the
|
|
7316
|
+
* stop conditions (a no-progress detector instead of the research
|
|
7317
|
+
* no-new-evidence guard: implementation legitimately re-reads state).
|
|
7318
|
+
*/
|
|
7319
|
+
declare function implementationAgentProfile(options?: AgentProfileTemplateOptions): AgentProfile;
|
|
7320
|
+
/**
|
|
7321
|
+
* The review child template: the caller's task tools plus the progress
|
|
7322
|
+
* contract, with {@link REVIEW_PROFILE_LIMITS} as the stop conditions
|
|
7323
|
+
* (a tighter turn budget and the no-new-evidence guard: a reviewer
|
|
7324
|
+
* circling over the same pages should stop, not spin).
|
|
7325
|
+
*/
|
|
7326
|
+
declare function reviewAgentProfile(options?: AgentProfileTemplateOptions): AgentProfile;
|
|
7327
|
+
//#endregion
|
|
6993
7328
|
//#region src/journal/scope.d.ts
|
|
6994
7329
|
/**
|
|
6995
7330
|
* Scope-path grammar (M1-T04): deterministic structural paths, independent
|
|
@@ -7756,4 +8091,4 @@ interface SandboxBridge {
|
|
|
7756
8091
|
declare const SANDBOX_AGENT_OPT_KEYS: readonly string[];
|
|
7757
8092
|
declare function createSandboxBridge(ctx: Ctx<never>, options: SandboxBridgeOptions): SandboxBridge;
|
|
7758
8093
|
//#endregion
|
|
7759
|
-
export { AWAIT_SCHEMA, AbandonAttempt, AbandonFold, AbandonPayload, AbandonedSpendView, AbortClass, type AdaptiveEvents, AdmissionController, AdmissionDecision, AdmissionRejectedError, AdmissionStatsBefore, AdmitLineage, AdmitRejectReason, AdmitSpec, AdmitVerdict, AgentCallError, AgentError, type AgentEvents, AgentIdentityInput, type AgentInvocationRow, AgentOpts, AgentProfile, AgentProfilePermissions, AgentResult, AgentResultMeta, AgentStatus, ApproachSignatureInputs, ApprovalDecision, ApprovalIdentityInput, Artifact, AttemptOutcomeClass, AuditRunsOptions, BUDGET_ABORT_REASON, BaseAppend, BriefOpts, BudgetAccountView, BudgetDefaults, BudgetExhaustedError, BudgetExhaustionDiagnostics, BudgetHooks, BudgetReserve, type Bytes, CANCEL_AGENT_SCHEMA, CHECKPOINT_FORMAT_V1, CLAIM_STATEMENT_MAX_CHARS, CLAIM_TTL_DAYS, COMPACTION_SUMMARY_PREFIX, CURRENT_HASH_VERSION, CacheHint, CacheTtl, CanUseTool, CanonicalId, CanonicalIdentity, CanonicalLadderSpec, CanonicalModelSpec, ChatEvent, ChatRequest, CheckpointState, ChildArtifactPage, ChildIdentityInput, ChildResultPage, type ClaimClass, type ClaimOp, type ClaimStatus, ClaimValidationOptions, CollectOpts, CollectedTurn, CompactionConfig, CompiledPermissionChain, CompiledWorkflow, ConfigError, type CoreEvents, CostAttribution, CostAttributionFacts, CostReport, CreateEngineOptions, type CriticalPath, Ctx, DEFAULT_CHILD_BUDGET_FRACTION, DEFAULT_CHILD_RESULT_PAGE_CHARS, DEFAULT_CITATION_PATTERN, DEFAULT_COMPACTION_THRESHOLD, DEFAULT_ESCALATION_LIMITS, DEFAULT_EVIDENCE_MIN_SHARE, DEFAULT_FINISH_MAX_REPAIRS, DEFAULT_FLAT_RESERVE_USD, DEFAULT_MAX_CHILDREN_PER_NODE, DEFAULT_MAX_DEPTH, DEFAULT_MAX_OSCILLATIONS_PER_KEY, DEFAULT_MAX_PINNED_WORKTREES, DEFAULT_MAX_REVISIONS_PER_RUN, DEFAULT_MAX_TOTAL_SPAWNS, DEFAULT_MAX_TURNS, DEFAULT_MODEL_RETRY_ATTEMPTS, DEFAULT_NO_PROGRESS_TURNS, DEFAULT_PER_RUN_CONCURRENCY, DEFAULT_RETRY_POLICY, DEFAULT_STREAM_IDLE_TIMEOUT_MS, DEFAULT_SYNTHESIS_MAX_TURNS, DebitResult, DeclaredLadder, DedupIndex, DedupNote, DerivedKey, DeriverRegistry, type DeterminismConfig, DeterminismError, type DeterminismEvents, type DeterminismMode, DispositionRule, DispositionTable, DonorCandidate, DonorRef, DroppedItem, EMIT_RESULT_TOOL, EMPTY_SCHEMA_HASH, EMPTY_TOOLSET_HASH, ESCALATE_TOOL_NAME, ESCALATION_REPORT_SCHEMA, ESCALATION_REQUEST_SCHEMA, EVENT_SEGMENT_STRIDE, EffectiveUsageLimits, Effort, Engine, EngineDefaults, EntryKind, EntryRef, EntryStatus, ErrorClass, ErrorCode, ErrorPolicy, EscalatedResult, EscalationDecision, EscalationDecisionAbortedError, EscalationDigest, EscalationKind, EscalationLimits, EscalationOptions, EscalationReport, EscalationRequest, EventBus, type EvidenceRef, type ExplorationSummary, ExtensionAppendInput, ExtensionDispatchSpec, ExternalIdentityInput, ExternalRegistry, ExtractNecessityInput, FINALIZE_SYNTHESIS_INSTRUCTION, FINISH_SCHEMA, FINISH_TOOL_NAME, FailRunError, FailoverTarget, FailoverTrigger, FallbackField, FallbackTrigger, FileModelKnowledgeStore, FileModelKnowledgeStoreOptions, FileTranscriptStore, FinishInfo, FinishValidationChild, FinishValidationInput, FinishValidationSpec, FinishValidationVerdict, FinishValidator, GET_CHILD_RESULT_SCHEMA, GET_CHILD_RESULT_TOOL_NAME, Gate, GateAudit, type GateRecord, GitWorktreeProvider, GitWorktreeProviderOptions, GraftBoot, HashVersion, HookVerdict, INBOX_PROPOSAL_TTL_DAYS, IdentityInput, InMemoryStore, InMemoryTranscriptStore, InProcessRunner, InvalidResolutionError, InvocationRole, type InvocationTable, type IsolationProvider, type IsolationSpec, Issue$1 as Issue, JournalCompatSubCode, JournalCompatibilityError, JournalEntry, JournalMatcher, JournalMissError, JournalOperation, JournalOrderViolation, JournalSerializationHook, type JournalStore, type Json, JsonSchema, JsonlFileStore, KB_ACTIVE_CLAIMS_CAP, KB_CARD_RENDER_BUDGET_CHARS, type KbProposal, type KbProposalTrigger, KeyDeriver, KeyRing, KeyedLimiter, KnowledgeCasError, type KnowledgeSnapshot, LARGE_VALUE_WARN_BYTES, LEGACY_LTID_PREFIX, LEGACY_SIGNATURE_INPUTS, LINEAGE_SIG_VERSION, LadderSpec, type LeasableStore, type Lease, LeaseHeldError, Ledger, LineageCounters, LineageIndex, LineageRef, LineageRelation, LineageStats, LogicalTaskId, MASKED_SECRET, MAX_CHILD_RESULT_PAGE_CHARS, MAX_DEPTH_CEILING, MatchResult, McpConfig, McpToolSource, MechanicalGateProfile, MechanicalGateVerdict, type MetaLookupStore, type ModelCaps, ModelChoice, type ModelClaim, ModelEpochInputs, type ModelKnowledgeHandle, type ModelKnowledgeStore, ModelListConstraint, ModelRef, ModelRetry, ModelSpec, Msg, NoProgressDetector, NodeId, NodeLinkValue, NonSerializableValueError, ORCHESTRATE_WORKFLOW_NAME, OnEscalation, OperationDisposition, OrchestrateAcceptance, OrchestrateOptions, OrchestrateSynthesis, OrchestratorBudgetSpec, OrchestratorCapConfigError, OrchestratorExtension, OrchestratorExtensionIO, OrchestratorRuntime, Out, PARALLEL_AGENTS_SCHEMA, ParallelSiteCounter, Part, PendingExternal, PendingToolTurn, PermissionConfig, PermissionGate, PermissionHook, PermissionPreset, PermissionRule, PermissionVerdict, type PhaseRow, PhaseTarget, PipelineCollected, PipelineOpts, PlanInvariantError, PriceTable, PricedUsage, type Pricing, type PricingTier, type ProviderAdapter, QualityFloors, READ_CHILD_ARTIFACT_SCHEMA, READ_CHILD_ARTIFACT_TOOL_NAME, ROLE_EFFORT_DEFAULTS, ROOT_ACCOUNT, ROOT_SCOPE, RUN_PROFILES, RUN_SETTLE_DECISION_TYPE, RandIdentityInput, RandPayload, ReconcileOptions, ReconcileResult, RefEntryAppender, RefEntryClassification, RefusalInfo, ReplayDisposition, ReplayMode, ReplayPlanHashMismatch, Replayer, ResolutionArbiter, ResolutionAttempt, ResolutionBy, ResolutionFold, ResolutionLayer, ResolutionOutcome, ResolutionPayload, ResolvedInvocation, ResolvedToolset, ResumeHandle, ResumeOptions, ResumePreview, ResumeReport, RetryClass, RetryPolicy, ReuseConfig, RiskRuleValue, Role, RulvarError, RulvarErrorCode, RunAgentOptions, RunAuditVerdict, RunBudget, RunEventSink, type RunFilter, RunHandle, RunInternals, type RunMeta, RunOptions, RunOutcome, RunProfile, RunStateAudit, RunStatus, RuntimeEventSink, SANDBOX_AGENT_OPT_KEYS, SPAWN_AGENT_SCHEMA, SandboxBridge, SandboxBridgeOptions, SandboxError, SandboxHostToWorker, SandboxMethod, SandboxWorkerToHost, SchemaPair, SchemaSpec, SchemaValidationResult, ScopeSegment, ScriptRejected, ScriptRunner, ScrubNote, Semaphore, SerializationHook, Settled, ShellPatternRules, ShellSegment, ShellVerdict, SinglePhaseAppend, SpanMinter, SpanRegistry, SpawnAdmissionValue, SpawnAgentParams, SpawnKey, SpawnLineage, SpawnLineageOpt, SpawnOrigin, SpawnRecord, Spend, Stage, type StandardJSONSchemaV1, type StandardSchemaV1, StepIdentityInput, StructuredOutputTier, SuspendedAppend, SuspensionState, TOOL_NAME_PATTERN, type TaskClass, TaskDigest, TaskSpec, TerminalPatch, TerminationAccount, TerminationAccountSnapshot, TerminationDeniedValue, TerminationDeniedWriter, TerminationInitValue, TerminationLimits, TerminationResource, ToolCallRequest, ToolChoice, type ToolContext, ToolContextSeed, ToolContract, type ToolDef, type ToolEvents, type ToolExecutor, ToolInit, type ToolRisk, ToolRuntime, type ToolSource, type ToolSourceSession, ToolsOption, TranscriptSerializationHook, type TranscriptStore, TriggerClass, TtlState, Usage, UsageLimits, UsageSlice, VerifiedRecommendation, WAIT_FOR_EVENTS_SCHEMA, WAIT_FOR_EVENTS_TOOL_NAME, WAKE_SUMMARY_RENDER_BUDGET_CHARS, WakeBudgetBlock, WakeDigest, WakeTrigger, WireError, Workflow, WorkflowCallOpts, type WorkflowEvent, type WorkflowEventBody, WorkflowRegistry, admissionReserveUsd, affordableOutputTokens, agentErrorFromWire, agentErrorToWire, agentResultWire, agentScope, applyClaimOps, applyStructuredOutputTier, approachSigCoarse, approachSigOf, archiveDeprecatedModelOps, assertFencedWrites, atCompactionThreshold, auditRun, auditRuns, buildAbandonFold, buildAdapterRegistry, buildCostReport, buildDeriverRegistry, buildOrchestratorTools, buildTerminationInitValue, buildToolContext, canRideLoopTurn, canonicalIsolationTag, canonicalizeLadder, canonicalizeSchema, capIssues, capsHashOf, checkFloors, checkpointRefFor, childCoveragePrefix, claimExpired, claimExpiry, claimIssues, claimOpIssues, classifyAgentError, classifyAttemptOutcome, collectDeclaredLadders, compactMessages, compilePermissionChain, compilePermissionPreset, compileVerifiedLayer, costReportFromJournal, countsAgainstLimit, createCanonicalIdMinter, createCtx, createEngine, createSandboxBridge, currentOnlyKeyRing, decodeCheckpoint, defineWorkflow, deriveContentKey, deriverV1, deriverV2, digestOf, dispositionHook, emptyDigestBlocks, emptyToolset, encodeCheckpoint, entryUsageSlices, escalateTool, evaluatePermission, evaluateReuse, evidencePreservedValidator, executeWorkflow, exhaustionCodeOf, extractCandidate, failoverTriggerOf, fallbackTriggerOf, filterClaimsForRun, finalizeFires, foldTermination, formatRePrompt, formatScopePath, hasFencedWrites, hasMetaLookup, hashRunArgs, hashRunOutput, hashWorkflowBody, hashWorkflowSource, identityJcs, isEscalated, isSchemaPairSpec, isStandardSchemaSpec, isStrictCompatibleSchema, kMaxOf, knowledgeHash, ladderLengthOf, ladderRungChoice, lastRunSettle, lexShellCommand, liftRetainedParts, lineageWeightOf, makeOrchestratorWorkflow, maskSecrets, maskSecretsDeep, maskSecretsJson, matchArgvPattern, matchShellCommand, mcp, mergeUsageLimits, metaMatchesFilter, minMatchesValidator, modelEpochOf, modelKnowledgeCard, modelSpecIdentity, needsSeparateExtract, nextFailover, nodeLinkKey, normalizeApproachTag, normalizeEntry, normalizeFallbacks, orchestrate, parallelScope, parseModelRef, parseScopePath, phiInitialOf, pipelineScope, planNodeScope, priceEntryUsage, priceUsdOf, profileCard, profileRegistrySnapshotHash, projectHistory, projectIdentity, projectToJsonSchema, proposalStatement, providerOf, readRunMeta, readTerminationInit, reconcileRunMeta, reduceCriticalPath, reduceInvocationTable, registryKeyRing, remeasureQueue, replayDisposition, requiredFieldsValidator, requiredSectionsValidator, resolveModelInvocation, resolvePricing, resolveToolset, retryClassOf, retryDelayMs, roleConfiguredInRouting, roundOneDisposition, runAgent, runProfile, sanitizeTerminalText, sanitizeTokenCount, sanitizeUsage, sanitizeUsageDelta, scanJournalCompatibility, schemaHash, schemaHashOfSpec, selectStructuredOutputTier, shouldCompact, snapshotUsage, spawnDepthOf, summarizeInstruction, summarizeOutput, terminationConfigDrift, tierWithinCaps, toApprovalDecision, toJournalValue, tool, toolContract, toolsetHash, ttlState, usageViolations, validateEditorialCommit, validateEntryShape, validateEscalationLimits, validateEscalationReport, validateRetryPolicy, validateSchemaSpec, validateTerminationLimits, validateUsageLimits, workflowScope, workflowSourceRef, wrapJournalStore, wrapTranscriptStore };
|
|
8094
|
+
export { AWAIT_SCHEMA, AbandonAttempt, AbandonFold, AbandonPayload, AbandonedSpendView, AbortClass, type AdaptiveEvents, AdmissionController, AdmissionDecision, AdmissionRejectedError, AdmissionStatsBefore, AdmitLineage, AdmitRejectReason, AdmitSpec, AdmitVerdict, AgentCallError, AgentError, type AgentEvents, AgentIdentityInput, type AgentInvocationRow, AgentOpts, AgentProfile, AgentProfilePermissions, AgentProfileTemplateOptions, AgentResult, AgentResultMeta, AgentStatus, ApproachSignatureInputs, ApprovalDecision, ApprovalIdentityInput, Artifact, AttemptOutcomeClass, AuditRunsOptions, BUDGET_ABORT_REASON, BaseAppend, BriefOpts, BudgetAccountView, BudgetDefaults, BudgetExhaustedError, BudgetExhaustionDiagnostics, BudgetHooks, BudgetReserve, type Bytes, CANCEL_AGENT_SCHEMA, CHECKPOINT_FORMAT_V1, CLAIM_STATEMENT_MAX_CHARS, CLAIM_TTL_DAYS, COMPACTION_SUMMARY_PREFIX, CURRENT_HASH_VERSION, CacheHint, CacheTtl, CanUseTool, CanonicalId, CanonicalIdentity, CanonicalLadderSpec, CanonicalModelSpec, ChatEvent, ChatRequest, CheckpointState, ChildArtifactPage, ChildIdentityInput, ChildResultPage, type ClaimClass, type ClaimOp, type ClaimStatus, ClaimValidationOptions, CollectOpts, CollectedTurn, CompactionConfig, CompiledPermissionChain, CompiledWorkflow, ConfigError, type CoreEvents, CostAttribution, CostAttributionFacts, CostReport, CreateEngineOptions, type CriticalPath, Ctx, DEFAULT_CHILD_BUDGET_FRACTION, DEFAULT_CHILD_RESULT_PAGE_CHARS, DEFAULT_CITATION_PATTERN, DEFAULT_COMPACTION_THRESHOLD, DEFAULT_ESCALATION_LIMITS, DEFAULT_EVIDENCE_MIN_SHARE, DEFAULT_FINISH_MAX_REPAIRS, DEFAULT_FLAT_RESERVE_USD, DEFAULT_MAX_CHILDREN_PER_NODE, DEFAULT_MAX_DEPTH, DEFAULT_MAX_OSCILLATIONS_PER_KEY, DEFAULT_MAX_PINNED_WORKTREES, DEFAULT_MAX_REVISIONS_PER_RUN, DEFAULT_MAX_TOTAL_SPAWNS, DEFAULT_MAX_TURNS, DEFAULT_MODEL_RETRY_ATTEMPTS, DEFAULT_NO_PROGRESS_TURNS, DEFAULT_PER_RUN_CONCURRENCY, DEFAULT_RETRY_POLICY, DEFAULT_STREAM_IDLE_TIMEOUT_MS, DEFAULT_SYNTHESIS_MAX_TURNS, DEFAULT_SYNTHESIS_NOTE_MAX_TURNS, DebitResult, DeclaredLadder, DedupIndex, DedupNote, DedupedClaims, DerivedKey, DeriverRegistry, type DeterminismConfig, DeterminismError, type DeterminismEvents, type DeterminismMode, DispositionRule, DispositionTable, DonorCandidate, DonorRef, DroppedItem, EMIT_RESULT_TOOL, EMPTY_SCHEMA_HASH, EMPTY_TOOLSET_HASH, ESCALATE_TOOL_NAME, ESCALATION_REPORT_SCHEMA, ESCALATION_REQUEST_SCHEMA, EVENT_SEGMENT_STRIDE, EffectiveUsageLimits, Effort, Engine, EngineDefaults, EntryKind, EntryRef, EntryStatus, ErrorClass, ErrorCode, ErrorPolicy, EscalatedResult, EscalationDecision, EscalationDecisionAbortedError, EscalationDigest, EscalationKind, EscalationLimits, EscalationOptions, EscalationReport, EscalationRequest, EventBus, type EvidenceRef, type ExplorationSummary, ExtensionAppendInput, ExtensionDispatchSpec, ExternalIdentityInput, ExternalRegistry, ExtractNecessityInput, FINALIZE_SYNTHESIS_INSTRUCTION, FINISH_SCHEMA, FINISH_TOOL_NAME, FailRunError, FailoverTarget, FailoverTrigger, FallbackField, FallbackTrigger, FileModelKnowledgeStore, FileModelKnowledgeStoreOptions, FileTranscriptStore, FinishInfo, FinishValidationChild, FinishValidationInput, FinishValidationSpec, FinishValidationVerdict, FinishValidator, GET_CHILD_RESULT_SCHEMA, GET_CHILD_RESULT_TOOL_NAME, Gate, GateAudit, type GateRecord, GitWorktreeProvider, GitWorktreeProviderOptions, GraftBoot, HashVersion, HookVerdict, IMPLEMENTATION_PROFILE_LIMITS, INBOX_PROPOSAL_TTL_DAYS, IdentityInput, InMemoryStore, InMemoryTranscriptStore, InProcessRunner, IncrementalSynthesisResult, InvalidResolutionError, InvocationRole, type InvocationTable, type IsolationProvider, type IsolationSpec, Issue$1 as Issue, JournalCompatSubCode, JournalCompatibilityError, JournalEntry, JournalMatcher, JournalMissError, JournalOperation, JournalOrderViolation, JournalSerializationHook, type JournalStore, type Json, JsonSchema, JsonlFileStore, KB_ACTIVE_CLAIMS_CAP, KB_CARD_RENDER_BUDGET_CHARS, type KbProposal, type KbProposalTrigger, KeyDeriver, KeyRing, KeyedLimiter, KnowledgeCasError, type KnowledgeSnapshot, LARGE_VALUE_WARN_BYTES, LEGACY_LTID_PREFIX, LEGACY_SIGNATURE_INPUTS, LINEAGE_SIG_VERSION, LadderSpec, type LeasableStore, type Lease, LeaseHeldError, Ledger, LineageCounters, LineageIndex, LineageRef, LineageRelation, LineageStats, LogicalTaskId, MASKED_SECRET, MAX_CHILD_RESULT_PAGE_CHARS, MAX_DEPTH_CEILING, MatchResult, McpConfig, McpToolSource, MechanicalGateProfile, MechanicalGateVerdict, type MetaLookupStore, type ModelCaps, ModelChoice, type ModelClaim, ModelEpochInputs, type ModelKnowledgeHandle, type ModelKnowledgeStore, ModelListConstraint, ModelRef, ModelRetry, ModelSpec, Msg, NoProgressDetector, NodeId, NodeLinkValue, NonSerializableValueError, ORCHESTRATE_WORKFLOW_NAME, OnEscalation, OperationDisposition, OrchestrateAcceptance, OrchestrateOptions, OrchestrateSynthesis, OrchestratorBudgetSpec, OrchestratorCapConfigError, OrchestratorExtension, OrchestratorExtensionIO, OrchestratorRuntime, Out, PARALLEL_AGENTS_SCHEMA, PROGRESS_REPORT_TOOL_NAME, ParallelSiteCounter, Part, PendingExternal, PendingToolTurn, PermissionConfig, PermissionGate, PermissionHook, PermissionPreset, PermissionRule, PermissionVerdict, type PhaseRow, PhaseTarget, PipelineCollected, PipelineOpts, PlanInvariantError, PriceTable, PricedUsage, type Pricing, type PricingTier, ProgressReport, type ProviderAdapter, QualityFloors, READ_CHILD_ARTIFACT_SCHEMA, READ_CHILD_ARTIFACT_TOOL_NAME, RESEARCH_PROFILE_LIMITS, REVIEW_PROFILE_LIMITS, ROLE_EFFORT_DEFAULTS, ROOT_ACCOUNT, ROOT_SCOPE, RUN_PROFILES, RUN_SETTLE_DECISION_TYPE, RandIdentityInput, RandPayload, ReconcileOptions, ReconcileResult, RefEntryAppender, RefEntryClassification, RefusalInfo, RepeatedClaim, ReplayDisposition, ReplayMode, ReplayPlanHashMismatch, Replayer, RepositoryResearchToolset, RepositoryResearchToolsetOptions, ResearchAgentProfileOptions, ResearchAgentProfileResult, ResearchEvidenceEntry, ResolutionArbiter, ResolutionAttempt, ResolutionBy, ResolutionFold, ResolutionLayer, ResolutionOutcome, ResolutionPayload, ResolvedInvocation, ResolvedToolset, ResumeHandle, ResumeOptions, ResumePreview, ResumeReport, RetryClass, RetryPolicy, ReuseConfig, RiskRuleValue, Role, RulvarError, RulvarErrorCode, RunAgentOptions, RunAuditVerdict, RunBudget, RunEventSink, type RunFilter, RunHandle, RunInternals, type RunMeta, RunOptions, RunOutcome, RunProfile, RunStateAudit, RunStatus, RuntimeEventSink, SANDBOX_AGENT_OPT_KEYS, SPAWN_AGENT_SCHEMA, SandboxBridge, SandboxBridgeOptions, SandboxError, SandboxHostToWorker, SandboxMethod, SandboxWorkerToHost, SchemaPair, SchemaSpec, SchemaValidationResult, ScopeSegment, ScriptRejected, ScriptRunner, ScrubNote, Semaphore, SerializationHook, Settled, ShellPatternRules, ShellSegment, ShellVerdict, SinglePhaseAppend, SpanMinter, SpanRegistry, SpawnAdmissionValue, SpawnAgentParams, SpawnKey, SpawnLineage, SpawnLineageOpt, SpawnOrigin, SpawnRecord, Spend, Stage, type StandardJSONSchemaV1, type StandardSchemaV1, StepIdentityInput, StructuredOutputTier, SuspendedAppend, SuspensionState, TOOL_NAME_PATTERN, type TaskClass, TaskDigest, TaskSpec, TerminalPatch, TerminationAccount, TerminationAccountSnapshot, TerminationDeniedValue, TerminationDeniedWriter, TerminationInitValue, TerminationLimits, TerminationResource, ToolCallRequest, ToolChoice, type ToolContext, ToolContextSeed, ToolContract, type ToolDef, type ToolEvents, type ToolExecutor, ToolInit, type ToolRisk, ToolRuntime, type ToolSource, type ToolSourceSession, ToolsOption, TranscriptSerializationHook, type TranscriptStore, TriggerClass, TtlState, Usage, UsageLimits, UsageSlice, VerifiedRecommendation, WAIT_FOR_EVENTS_SCHEMA, WAIT_FOR_EVENTS_TOOL_NAME, WAKE_SUMMARY_RENDER_BUDGET_CHARS, WakeBudgetBlock, WakeDigest, WakeTrigger, WireError, Workflow, WorkflowCallOpts, type WorkflowEvent, type WorkflowEventBody, WorkflowRegistry, admissionReserveUsd, affordableOutputTokens, agentErrorFromWire, agentErrorToWire, agentResultWire, agentScope, applyClaimOps, applyStructuredOutputTier, approachSigCoarse, approachSigOf, archiveDeprecatedModelOps, assertFencedWrites, atCompactionThreshold, auditRun, auditRuns, buildAbandonFold, buildAdapterRegistry, buildCostReport, buildDeriverRegistry, buildOrchestratorTools, buildTerminationInitValue, buildToolContext, canRideLoopTurn, canonicalIsolationTag, canonicalizeLadder, canonicalizeSchema, capIssues, capsHashOf, checkFloors, checkpointRefFor, childCoveragePrefix, claimExpired, claimExpiry, claimIssues, claimOpIssues, classifyAgentError, classifyAttemptOutcome, collectDeclaredLadders, compactMessages, compilePermissionChain, compilePermissionPreset, compileVerifiedLayer, costReportFromJournal, countsAgainstLimit, createCanonicalIdMinter, createCtx, createEngine, createSandboxBridge, currentOnlyKeyRing, decodeCheckpoint, dedupeRepeatedClaims, defineWorkflow, deriveContentKey, deriverV1, deriverV2, digestOf, dispositionHook, emptyDigestBlocks, emptyToolset, encodeCheckpoint, entryUsageSlices, escalateTool, evaluatePermission, evaluateReuse, evidencePreservedValidator, executeWorkflow, exhaustionCodeOf, extractCandidate, failoverTriggerOf, fallbackTriggerOf, filterClaimsForRun, finalizeFires, foldTermination, formatRePrompt, formatScopePath, hasFencedWrites, hasMetaLookup, hashRunArgs, hashRunOutput, hashWorkflowBody, hashWorkflowSource, identityJcs, implementationAgentProfile, isEscalated, isSchemaPairSpec, isStandardSchemaSpec, isStrictCompatibleSchema, kMaxOf, knowledgeHash, ladderLengthOf, ladderRungChoice, lastRunSettle, latestProgressReport, lexShellCommand, liftRetainedParts, lineageWeightOf, makeOrchestratorWorkflow, maskSecrets, maskSecretsDeep, maskSecretsJson, matchArgvPattern, matchShellCommand, mcp, mergeUsageLimits, metaMatchesFilter, minMatchesValidator, modelEpochOf, modelKnowledgeCard, modelSpecIdentity, needsSeparateExtract, nextFailover, nodeLinkKey, normalizeApproachTag, normalizeEntry, normalizeFallbacks, orchestrate, parallelScope, parseModelRef, parseScopePath, phiInitialOf, pipelineScope, planNodeScope, priceEntryUsage, priceUsdOf, profileCard, profileRegistrySnapshotHash, progressReportTool, projectHistory, projectIdentity, projectToJsonSchema, proposalStatement, providerOf, readRunMeta, readTerminationInit, reconcileRunMeta, reduceCriticalPath, reduceInvocationTable, registryKeyRing, remeasureQueue, replayDisposition, repositoryResearchToolset, requiredFieldsValidator, requiredSectionsValidator, researchAgentProfile, resolveModelInvocation, resolvePricing, resolveToolset, retryClassOf, retryDelayMs, reviewAgentProfile, roleConfiguredInRouting, roundOneDisposition, runAgent, runProfile, sanitizeTerminalText, sanitizeTokenCount, sanitizeUsage, sanitizeUsageDelta, scanJournalCompatibility, schemaHash, schemaHashOfSpec, selectStructuredOutputTier, shouldCompact, snapshotUsage, spawnDepthOf, summarizeInstruction, summarizeOutput, terminationConfigDrift, tierWithinCaps, toApprovalDecision, toJournalValue, tool, toolContract, toolsetHash, ttlState, usageViolations, validateEditorialCommit, validateEntryShape, validateEscalationLimits, validateEscalationReport, validateRetryPolicy, validateSchemaSpec, validateTerminationLimits, validateUsageLimits, workflowScope, workflowSourceRef, wrapJournalStore, wrapTranscriptStore };
|