@basou/core 0.32.0 → 0.33.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 +174 -15
- package/dist/index.js +598 -403
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1747,6 +1747,141 @@ declare function replayEvents(sessionDir: string, options?: ReplayOptions): Asyn
|
|
|
1747
1747
|
*/
|
|
1748
1748
|
declare function readAllEvents(sessionDir: string, options?: ReplayOptions): Promise<Event[]>;
|
|
1749
1749
|
|
|
1750
|
+
/**
|
|
1751
|
+
* The language of the GENERATED-VIEW chrome (headings, labels, verdict prose)
|
|
1752
|
+
* in handoff.md / orientation.md / decisions.md / report output.
|
|
1753
|
+
*
|
|
1754
|
+
* This is deliberately narrower than the manifest's repo `language` axis
|
|
1755
|
+
* (`en | ja | en+ja`): a generated view has exactly one chrome language, so
|
|
1756
|
+
* `en+ja` resolves to `en`. User data (decision titles, notes, labels, file
|
|
1757
|
+
* paths) always passes through verbatim — only the tool-generated strings are
|
|
1758
|
+
* localized, which is exactly the split this type exists to keep honest.
|
|
1759
|
+
*/
|
|
1760
|
+
type ViewLanguage = "en" | "ja";
|
|
1761
|
+
/**
|
|
1762
|
+
* Resolve the generated-view language from a manifest: the workspace speaks
|
|
1763
|
+
* the language of its ANCHOR repo (the `repos[]` entry whose path is `.`).
|
|
1764
|
+
*
|
|
1765
|
+
* Rules (fixed by design):
|
|
1766
|
+
* - anchor declares `ja` -> `ja`
|
|
1767
|
+
* - anchor declares `en` / `en+ja` -> `en` (a bilingual surface renders one
|
|
1768
|
+
* chrome; en is the shared floor)
|
|
1769
|
+
* - no roster / no anchor entry / no declared language -> `en` (the default
|
|
1770
|
+
* for basou's English-first OSS surface)
|
|
1771
|
+
*
|
|
1772
|
+
* Binding the view to the anchor's language is a deliberate, documented
|
|
1773
|
+
* coupling: the anchor is the planning/trail home the views live in, so its
|
|
1774
|
+
* declared audience is the views' audience. Other repos' languages do not
|
|
1775
|
+
* participate.
|
|
1776
|
+
*/
|
|
1777
|
+
declare function resolveViewLanguage(manifest: Pick<Manifest, "repos"> | null): ViewLanguage;
|
|
1778
|
+
/**
|
|
1779
|
+
* Manifest-reading convenience for the renderers: resolve the view language
|
|
1780
|
+
* for a workspace, defaulting to `en` when the manifest is missing or
|
|
1781
|
+
* unreadable (mirrors the orientation renderer's tolerant source_roots read —
|
|
1782
|
+
* a broken manifest must never break a view render).
|
|
1783
|
+
*/
|
|
1784
|
+
declare function resolveViewLanguageFromPaths(paths: BasouPaths): Promise<ViewLanguage>;
|
|
1785
|
+
/**
|
|
1786
|
+
* Every localized string the four view renderers emit, grouped per renderer
|
|
1787
|
+
* with a small `common` set for lines that are byte-identical across views.
|
|
1788
|
+
* Parameterized lines are functions so the two languages can order their
|
|
1789
|
+
* parts naturally.
|
|
1790
|
+
*
|
|
1791
|
+
* This module is the SINGLE home for generated-view Japanese (the E-5
|
|
1792
|
+
* language-lint allowlist points here, not at the renderers), so "user data
|
|
1793
|
+
* language" and "tool chrome language" can never blur together again.
|
|
1794
|
+
*/
|
|
1795
|
+
type ViewStrings = {
|
|
1796
|
+
/** Localized relative age for prose lines, e.g. "3日4時間前" / "3d 4h ago". */
|
|
1797
|
+
relativeAge: (startedAt: string | null, now: Date) => string;
|
|
1798
|
+
common: {
|
|
1799
|
+
/** "最終 session" — the latest live session pointer. */
|
|
1800
|
+
lastSessionLabel: string;
|
|
1801
|
+
/** "直近の判断" — the latest recorded decision pointer. */
|
|
1802
|
+
latestDecisionLabel: string;
|
|
1803
|
+
/** "直近の変更ファイル" — the latest session's related files. */
|
|
1804
|
+
recentFilesLabel: string;
|
|
1805
|
+
/** "理由" — a track's rationale label. */
|
|
1806
|
+
trackWhyLabel: string;
|
|
1807
|
+
/** Note that the latest decision comes from a different session. */
|
|
1808
|
+
decisionOtherSessionNote: (shortSessionId: string) => string;
|
|
1809
|
+
};
|
|
1810
|
+
orientation: {
|
|
1811
|
+
headingWhere: string;
|
|
1812
|
+
headingRecent: (sessionCount: number) => string;
|
|
1813
|
+
headingInFlight: string;
|
|
1814
|
+
headingForward: string;
|
|
1815
|
+
headingCurrency: string;
|
|
1816
|
+
inFlightTasksHeading: (n: number) => string;
|
|
1817
|
+
pendingApprovalsHeading: (n: number) => string;
|
|
1818
|
+
suspectSessionsHeading: (n: number) => string;
|
|
1819
|
+
openTracksHeading: (n: number) => string;
|
|
1820
|
+
/** Stale-decision honesty note under 直近の判断. */
|
|
1821
|
+
decisionStaleNote: (activityAge: string) => string;
|
|
1822
|
+
outOfRootWarning: (count: number, files: string) => string;
|
|
1823
|
+
recentEmpty: string;
|
|
1824
|
+
recentDecisionsLabel: string;
|
|
1825
|
+
recentNextStepLabel: string;
|
|
1826
|
+
recentChangedLabel: string;
|
|
1827
|
+
trackCloseInstruction: string;
|
|
1828
|
+
nextStepRecordedLabel: (age: string) => string;
|
|
1829
|
+
noteStaleNote: (activityAge: string) => string;
|
|
1830
|
+
fallbackStaleDirection: string;
|
|
1831
|
+
fallbackStaleReferenceLabel: string;
|
|
1832
|
+
trackNudge: string;
|
|
1833
|
+
federatedFreshnessNote: string;
|
|
1834
|
+
bannerUnverifiable: (n: number) => string;
|
|
1835
|
+
bannerStale: (parts: string) => string;
|
|
1836
|
+
partNew: (n: number) => string;
|
|
1837
|
+
partUpdated: (n: number) => string;
|
|
1838
|
+
partsJoiner: string;
|
|
1839
|
+
verdictUnverifiable: (n: number) => [string, string];
|
|
1840
|
+
verdictStale: (parts: string) => [string, string];
|
|
1841
|
+
verdictUpdatedOnly: (n: number) => [string, string];
|
|
1842
|
+
verdictSuspectsAlso: (n: number) => string;
|
|
1843
|
+
verdictEmpty: [string, string];
|
|
1844
|
+
verdictUnprobed: (rel: string, tool: string) => [string, string];
|
|
1845
|
+
verdictCurrent: (rel: string, tool: string, hasHosts: boolean) => string;
|
|
1846
|
+
verdictSuspectsCaveat: (n: number) => string;
|
|
1847
|
+
verdictScopeDisclaimer: string;
|
|
1848
|
+
toolTerminal: string;
|
|
1849
|
+
toolHuman: string;
|
|
1850
|
+
toolImport: string;
|
|
1851
|
+
toolUnknown: string;
|
|
1852
|
+
};
|
|
1853
|
+
handoff: {
|
|
1854
|
+
headingCurrentState: string;
|
|
1855
|
+
headingRecentFiles: string;
|
|
1856
|
+
headingLatestDecision: string;
|
|
1857
|
+
headingOpenTracks: string;
|
|
1858
|
+
headingUnresolved: string;
|
|
1859
|
+
headingReadNext: string;
|
|
1860
|
+
headingNextWork: string;
|
|
1861
|
+
headingSessions: string;
|
|
1862
|
+
lastTaskLabel: string;
|
|
1863
|
+
decisionStaleNote: string;
|
|
1864
|
+
trackCloseInstruction: string;
|
|
1865
|
+
};
|
|
1866
|
+
decisions: {
|
|
1867
|
+
dateLabel: string;
|
|
1868
|
+
trackKindLine: string;
|
|
1869
|
+
decisionLabel: string;
|
|
1870
|
+
};
|
|
1871
|
+
report: {
|
|
1872
|
+
headingSummary: string;
|
|
1873
|
+
headingVolume: string;
|
|
1874
|
+
headingDecisions: string;
|
|
1875
|
+
headingApprovals: string;
|
|
1876
|
+
headingTasks: string;
|
|
1877
|
+
headingChangedFiles: string;
|
|
1878
|
+
headingSessions: string;
|
|
1879
|
+
headingIntegrity: string;
|
|
1880
|
+
};
|
|
1881
|
+
};
|
|
1882
|
+
/** Look up the string table for a resolved view language. */
|
|
1883
|
+
declare function viewStrings(language: ViewLanguage): ViewStrings;
|
|
1884
|
+
|
|
1750
1885
|
/** Session lifecycle states. */
|
|
1751
1886
|
declare const SessionStatusSchema: z.ZodEnum<{
|
|
1752
1887
|
initialized: "initialized";
|
|
@@ -2077,6 +2212,12 @@ type DecisionsRendererInput = {
|
|
|
2077
2212
|
nowIso: string;
|
|
2078
2213
|
onWarning?: (warning: ReplayWarning, sessionId: string) => void;
|
|
2079
2214
|
onSessionSkip?: (sessionId: string, reason: SessionSkipReason) => void;
|
|
2215
|
+
/**
|
|
2216
|
+
* Generated-view chrome language. Omitted (the normal path) = resolved from
|
|
2217
|
+
* the manifest's anchor repo via {@link resolveViewLanguageFromPaths}; the
|
|
2218
|
+
* override exists for tests and programmatic callers that already resolved it.
|
|
2219
|
+
*/
|
|
2220
|
+
language?: ViewLanguage;
|
|
2080
2221
|
};
|
|
2081
2222
|
type DecisionsRendererResult = {
|
|
2082
2223
|
/** Generated body WITHOUT BASOU:GENERATED markers. */
|
|
@@ -3343,6 +3484,12 @@ type HandoffRendererInput = {
|
|
|
3343
3484
|
onTaskSkip?: (taskId: string, reason: TaskSkipReason) => void;
|
|
3344
3485
|
/** Maximum related_files entries to display before `... +N more`. Default 20. */
|
|
3345
3486
|
relatedFilesLimit?: number;
|
|
3487
|
+
/**
|
|
3488
|
+
* Generated-view chrome language. Omitted (the normal path) = resolved from
|
|
3489
|
+
* the manifest's anchor repo via {@link resolveViewLanguageFromPaths}; the
|
|
3490
|
+
* override exists for tests and programmatic callers that already resolved it.
|
|
3491
|
+
*/
|
|
3492
|
+
language?: ViewLanguage;
|
|
3346
3493
|
};
|
|
3347
3494
|
type HandoffRendererResult = {
|
|
3348
3495
|
/** Generated body WITHOUT BASOU:GENERATED markers (markdown-store wraps them). */
|
|
@@ -3353,7 +3500,7 @@ type HandoffRendererResult = {
|
|
|
3353
3500
|
suspectCount: number;
|
|
3354
3501
|
/** Total number of task.md files successfully loaded. */
|
|
3355
3502
|
taskCount: number;
|
|
3356
|
-
/** Tasks whose status is `planned` or `in_progress` (= shown in
|
|
3503
|
+
/** Tasks whose status is `planned` or `in_progress` (= shown in the next-work section). */
|
|
3357
3504
|
pendingTaskCount: number;
|
|
3358
3505
|
};
|
|
3359
3506
|
/**
|
|
@@ -3363,16 +3510,16 @@ type HandoffRendererResult = {
|
|
|
3363
3510
|
* {@link loadSessionEntries} / {@link enumerateApprovals}). It assembles the
|
|
3364
3511
|
* the spec's `handoff.md` sections in order:
|
|
3365
3512
|
*
|
|
3366
|
-
* 1.
|
|
3367
|
-
* 2.
|
|
3513
|
+
* 1. Current state: latest live session (status not archived, source not import).
|
|
3514
|
+
* 2. Recently changed files: the most recent session's `related_files`, dedup +
|
|
3368
3515
|
* sorted asc + truncated to `relatedFilesLimit` (default 20).
|
|
3369
|
-
* 3.
|
|
3370
|
-
* 4.
|
|
3371
|
-
* 5.
|
|
3516
|
+
* 3. Latest decision: latest `decision_recorded` event (chronological).
|
|
3517
|
+
* 4. Unresolved items: pending-approval count + suspect-session count.
|
|
3518
|
+
* 5. Files to read next: `.basou/decisions.md` + top-3 related files
|
|
3372
3519
|
* (the same `displayedFiles` source is intentionally reused in two
|
|
3373
3520
|
* sections — overview vs. resume context).
|
|
3374
|
-
* 6.
|
|
3375
|
-
* 7.
|
|
3521
|
+
* 6. Work to do next: placeholder until task events land.
|
|
3522
|
+
* 7. Sessions: all sessions newest first with inline suspect labels.
|
|
3376
3523
|
*
|
|
3377
3524
|
* Session enumeration goes through {@link loadSessionEntries} so the set of
|
|
3378
3525
|
* sessions whose `decision_recorded` events we replay matches the
|
|
@@ -3595,7 +3742,7 @@ type OrientationRendererInput = {
|
|
|
3595
3742
|
/**
|
|
3596
3743
|
* Result of a read-only dry-run staleness probe (sessions a `basou refresh`
|
|
3597
3744
|
* would add or update), computed by the CLI which holds the import context.
|
|
3598
|
-
* Drives the plain "
|
|
3745
|
+
* Drives the plain "is this current" verdict. `null` / omitted = not probed, so
|
|
3599
3746
|
* the verdict says it cannot confirm freshness rather than claiming current.
|
|
3600
3747
|
*/
|
|
3601
3748
|
staleness?: {
|
|
@@ -3609,6 +3756,12 @@ type OrientationRendererInput = {
|
|
|
3609
3756
|
* reads as a verdict for a supervisor, not developer diagnostics.
|
|
3610
3757
|
*/
|
|
3611
3758
|
verbose?: boolean;
|
|
3759
|
+
/**
|
|
3760
|
+
* Generated-view chrome language. Omitted (the normal path) = resolved from
|
|
3761
|
+
* the manifest's anchor repo via {@link resolveViewLanguageFromPaths}; the
|
|
3762
|
+
* override exists for tests and programmatic callers that already resolved it.
|
|
3763
|
+
*/
|
|
3764
|
+
language?: ViewLanguage;
|
|
3612
3765
|
/**
|
|
3613
3766
|
* Additional trail stores to MERGE into this orientation, each a local path
|
|
3614
3767
|
* (an SSHFS mount / rsync mirror of another host's `.basou`) tagged with a
|
|
@@ -3664,8 +3817,8 @@ type NoteRecord = {
|
|
|
3664
3817
|
host: string | null;
|
|
3665
3818
|
};
|
|
3666
3819
|
/**
|
|
3667
|
-
* One recent session condensed to its direction signal, for the "
|
|
3668
|
-
*
|
|
3820
|
+
* One recent session condensed to its direction signal, for the "recent
|
|
3821
|
+
* direction" section. Across the last N non-archived sessions
|
|
3669
3822
|
* (newest first), this surfaces the ARC of recent intent — the decision titles
|
|
3670
3823
|
* and next-step notes recorded in EACH session — rather than orientation's
|
|
3671
3824
|
* single latest decision/note, which can be stale or missing. When a session
|
|
@@ -3748,7 +3901,7 @@ type OrientationSummary = {
|
|
|
3748
3901
|
decisionCount: number;
|
|
3749
3902
|
/**
|
|
3750
3903
|
* Open (non-voided) `kind: "track"` decisions — strategic, unfinished
|
|
3751
|
-
* directions that the forward section ("
|
|
3904
|
+
* directions that the forward section ("where you are heading") resurfaces every session
|
|
3752
3905
|
* until they are closed with `decision void` / supersede. Newest first. This
|
|
3753
3906
|
* is the intent-continuity layer: distinct from the single latest decision
|
|
3754
3907
|
* (point-in-time) and the recorded next step (`note`), an open track keeps
|
|
@@ -3758,12 +3911,12 @@ type OrientationSummary = {
|
|
|
3758
3911
|
openTracks: TrackRecord[];
|
|
3759
3912
|
/**
|
|
3760
3913
|
* Most recent `note_added` over non-archived sessions — the recorded next
|
|
3761
|
-
* step / handoff ("
|
|
3914
|
+
* step / handoff ("next step") surfaced in the forward section; null when none.
|
|
3762
3915
|
*/
|
|
3763
3916
|
latestNote: NoteRecord | null;
|
|
3764
3917
|
/**
|
|
3765
3918
|
* The last N non-archived sessions (newest first) condensed to their direction
|
|
3766
|
-
* signal — the "
|
|
3919
|
+
* signal — the "recent direction" arc. Distinct from the single
|
|
3767
3920
|
* latest decision/note: it shows the trajectory of intent across recent
|
|
3768
3921
|
* sessions, and falls back to each session's changed files when no decision or
|
|
3769
3922
|
* note was captured, so a resuming agent has grounding even when explicit
|
|
@@ -5549,6 +5702,12 @@ type ReportRendererInput = {
|
|
|
5549
5702
|
onWarning?: (warning: ReplayWarning, sessionId: string) => void;
|
|
5550
5703
|
onSessionSkip?: (sessionId: string, reason: SessionSkipReason) => void;
|
|
5551
5704
|
onTaskSkip?: (taskId: string, reason: TaskSkipReason) => void;
|
|
5705
|
+
/**
|
|
5706
|
+
* Generated-view chrome language. Omitted (the normal path) = resolved from
|
|
5707
|
+
* the manifest's anchor repo via {@link resolveViewLanguageFromPaths}; the
|
|
5708
|
+
* override exists for tests and programmatic callers that already resolved it.
|
|
5709
|
+
*/
|
|
5710
|
+
language?: ViewLanguage;
|
|
5552
5711
|
};
|
|
5553
5712
|
type ReportSessionItem = {
|
|
5554
5713
|
id: string;
|
|
@@ -6431,4 +6590,4 @@ declare function overwriteYamlFile(filePath: string, value: unknown): Promise<vo
|
|
|
6431
6590
|
*/
|
|
6432
6591
|
declare const BASOU_CORE_VERSION = "0.1.0";
|
|
6433
6592
|
|
|
6434
|
-
export { ACTIVE_GAP_CAP_MS, AGENT_INFRA_DIRS, type ActiveTimeBasis, type AdapterOutputEvent, type AdoptCandidate, type AdoptCandidateKind, type AnchorStarterInput, type AnchorStarterRepo, type AppendBasouGitignoreOptions, type AppendBasouGitignoreResult, type AppendEventToExistingInput, type AppendEventToExistingResult, type Approval, type ApprovalApprovedEvent, type ApprovalExpiredEvent, ApprovalIdSchema, type ApprovalLocation, type ApprovalRejectedEvent, type ApprovalRequestedEvent, ApprovalSchema, type ApprovalStatus, ApprovalStatusSchema, type ArchivePlan, type ArchiveTaskInput, type ArchiveTaskResult, type AttachTaskInput, type AttachUpdateTaskStatusInput, type AttachableStatus, BASOU_CORE_VERSION, type BasouPaths, type BuildStopHookCommandOptions, type BulkChainResult, CLAUDE_IMPORT_SOURCE, CODEX_IMPORT_SOURCE, type CaptureMode, type ChainBreakReason, type ChainTailState, type ChainVerdict, type ChainVerdictStatus, type ChainedEvents, ChildProcessRunner, type CitedReview, type ClaudeSettings, type ClaudeTranscriptRecord, type ClaudeTranscriptToPayloadOptions, type CodexCommandLookup, type CodexRolloutRecord, type CodexRolloutToPayloadOptions, type CommandExecutedEvent, type CommandLookup, type CreateAdHocSessionInput, type CreateAdHocSessionResult, type CreateAdHocTaskInput, type CreateManifestInput, type CreateTaskInput, type CreateTaskResult, DEFAULT_STOP_HOOK_MIN_EDITS, type DayWorkStats, DecisionIdSchema, type DecisionRecordedEvent, type DecisionsRendererInput, type DecisionsRendererResult, type DeleteTaskInput, type DeleteTaskResult, type DiffResult, type EditTaskInput, type EditTaskResult, type Event, EventIdSchema, EventSchema, EventSourceSchema, type ExistingViewLink, FailedToFinalizeError, type FederatedRoot, type FileChange, type FileChangeStatus, type FileChangedEvent, GENERATED_END, GENERATED_START, type GitSnapshot, type GitSnapshotEvent, type GitignorePlanSummary, type HandoffRendererInput, type HandoffRendererResult, ID_PREFIXES, type IdPrefix, type ImportSessionOptions, type ImportSessionResult, type IncompleteWiring, type InstructionFileFact, type InstructionSymlinkFact, type InstructionSymlinkState, IsoTimestampSchema, JSON_SCHEMA_VERSION, type JsonSchemaArtifact, type LoadFederatedOptions, type LoadSessionEntriesOptions, type LoadTaskEntriesOptions, type LoadedApproval, type LockHandle, type LockScope, type Manifest, ManifestSchema, type MarkerSection, type Markers, type MeasureAvailability, type MissingCanonical, type NoteAddedEvent, ORIENTATION_END, ORIENTATION_START, type OrientationRendererInput, type OrientationRendererResult, type OrientationSummary, PROTOCOL_END, PROTOCOL_START, type PrefixedId, type PresetAction, type PresetCollision, type PresetMarkerConflict, type PresetMarkerKind, type PresetPlanSummary, type PresetRepo, type ProcessRunner, type PublishKind, type PublishTarget, REVIEW_RECORD_NO_INPUT_HINT, type RechainOptions, type RechainResult, type ReconcileAllResult, type ReconcileAllTasksInput, type ReconcileAllTasksOptions, type ReconcileFailure, type ReconcileResult, type ReconcileTaskInput, type RefreshLinkageInput, type RefreshLinkageResult, type ReimportOptions, type ReimportResult, type RenamePlan, type ReplayOptions, type ReplayWarning, type RepoEntry, type RepoGitignoreFacts, type RepoGitignorePlan, type RepoInstructions, type RepoLanguage, type RepoPresetFacts, type RepoPresetPlan, type RepoSymlinkFacts, type RepoSymlinkPlan, type RepoVisibility, type RepoWiringFacts, type ReportApprovalItem, type ReportData, type ReportDecisionItem, type ReportRendererInput, type ReportRendererResult, type ReportSessionItem, type ReportTaskItem, type RetrofitAction, type RetrofitAgentsState, type RetrofitFacts, type RetrofitPlan, type RetrofitReason, type ReviewBlocked, type ReviewFinding, type ReviewGapRepoSummary, type ReviewGapUnit, type ReviewGapVerdict, type ReviewGapsInput, type ReviewGapsSummary, type ReviewGateResult, type ReviewGateSilentReason, type ReviewRecordBlockedInput, type ReviewRecordFindingInput, type ReviewRecordInput, type ReviewRecordedEvent, type RiskLevel, RiskLevelSchema, type RosterAdoptionPlan, type RosterDriftSummary, type RunOptions, type RunResult, STOP_HOOK_TIMEOUT_SECONDS, STUCK_THRESHOLD_MS, type SanitizePathOptions, type SanitizeRelatedFilesResult, SchemaVersionSchema, type Session, type SessionEndedEvent, type SessionEntry, SessionIdSchema, type SessionImportPayload, SessionImportPayloadSchema, type SessionInnerImportInput, SessionInnerImportSchema, type SessionIntegrity, SessionIntegritySchema, type SessionMetrics, SessionMetricsSchema, SessionSchema, type SessionSkipReason, type SessionSourceKind, SessionSourceKindSchema, type SessionStartedEvent, type SessionStatus, type SessionStatusChangedEvent, SessionStatusSchema, type SessionWorkStats, type SourceRootScope, type SourceRootsReconcile, type SourceWorkStats, type StatusCount, StatusSchema, type StatusSnapshot, type StopHookEvaluation, type StopHookEvaluationInput, type StopHookRemoval, type StopHookSilentReason, type StopHookUpsert, type SuspectReason, type SymlinkCollision, type SymlinkConflict, type SymlinkPlanSummary, type Task, type TaskArchivedEvent, type TaskCreatedEvent, type TaskDeletedEvent, type TaskDocument, TaskIdSchema, type TaskLinkageRefreshedEvent, type TaskReconciledEvent, TaskSchema, type TaskSkipReason, type TaskStatus, type TaskStatusChangedEvent, type TaskStatusCount, TaskStatusSchema, TaskWriteAfterEventError, type TaskWriteAfterEventPhase, type TokenTotals, type UpdateAdHocTaskStatusInput, type UpdateTaskStatusInput, type UpdateTaskStatusResult, type ViewCollision, type ViewConflict, type ViewLinkState, type ViewPresetInput, type ViewPresetRepo, type ViewRepoFact, type ViewStrayUnknown, type ViewWiringFacts, type WiringCollision, type WiringConflict, type WiringDriftSummary, type WiringRisk, type WiringSummary, type WorkStatsInput, type WorkStatsResult, type WorkStatsTotals, WorkspaceIdSchema, type WorkspaceViewPlan, type WriteEventsBulkOptions, type WriteTaskFileMode, acquireLock, appendBasouGitignore, appendChainedEvent, appendChainedEventLocked, appendEvent, appendEventToExistingSession, archiveTask, assertBasouRootSafe, basouPaths, buildJsonSchemas, buildReviewRecordLabel, buildReviewRecordedEvent, buildStatusSnapshot, buildStopHookCommand, chainEvents, chainRawJsonLines, classifyFilesBySourceRoot, classifyRetrofit, classifySuspect, claudeCodeAdapterMetadata, claudeTranscriptToImportPayload, codexAdapterMetadata, codexRolloutToImportPayload, computeWorkStats, createAdHocSessionWithEvent, createManifest, createTaskWithEvent, deleteTask, editTask, ensureBasouDirectory, enumerateApprovals, enumerateArchivedTaskIds, enumerateSessionDirs, enumerateTaskIds, evaluateStopHook, finalizeSessionYaml, findBasouStopHookCommand, findErrorCode, findReviewGaps, formatDurationMs, genesisHash, getDiff, getSnapshot, importSessionFromJson, inspectChainTail, instructionMode, isBasouStopHookCommand, isGitNotFound, isImportDerivedSource, isLazyExpired, isRenderable, isValidPrefixedId, lineHash, linkYamlFile, loadApproval, loadFederatedSessionEntries, loadSessionEntries, loadTaskEntries, normalizeRepoKey, normalizeRepoPath, overwriteYamlFile, parseDuration, parseMarkers, parseReviewRecordInput, pathBasename, planArchive, planGitignore, planRename, planRosterAdoption, planWorkspaceView, prefixedUlid, readAllEvents, readManifest, readMarkdownFile, readSessionYaml, readStatus, readTaskFile, readTaskFileWithArchiveFallback, readYamlFile, rechainSessionInPlace, reconcileAllTasks, reconcileSourceRoots, reconcileTask, refreshTaskLinkedSessions, reimportPreservingId, removeMarkerSection, removeStopHook, renderAnchorStarter, renderDecisions, renderHandoff, renderOrientation, renderPresetBlock, renderReport, renderViewPresetBlock, renderWithMarkers, replayEvents, resolveBasouRepositoryRoot, resolveClaudeCodeCommand, resolveCodexCommand, resolveRepositoryRoot, resolveSessionId, resolveTaskId, safeSimpleGit, sanitizePath, sanitizeRelatedFiles, sanitizeWorkingDirectory, seedMarkers, serializeEventLine, serializeJsonSchema, sessionWorkStatsFromEvents, summarizeAdapterOutput, summarizeOrientation, summarizePresetPlan, summarizeRosterDrift, summarizeSymlinkPlan, summarizeWiring, summarizeWiringDrift, tryRemoteUrl, ulid, unknownManifestKeys, updateTaskStatusWithEvent, upsertStopHook, verifyEventsChain, writeEventsBulk, writeManifest, writeMarkdownFile, writeStatus, writeTaskFile, writeYamlFile };
|
|
6593
|
+
export { ACTIVE_GAP_CAP_MS, AGENT_INFRA_DIRS, type ActiveTimeBasis, type AdapterOutputEvent, type AdoptCandidate, type AdoptCandidateKind, type AnchorStarterInput, type AnchorStarterRepo, type AppendBasouGitignoreOptions, type AppendBasouGitignoreResult, type AppendEventToExistingInput, type AppendEventToExistingResult, type Approval, type ApprovalApprovedEvent, type ApprovalExpiredEvent, ApprovalIdSchema, type ApprovalLocation, type ApprovalRejectedEvent, type ApprovalRequestedEvent, ApprovalSchema, type ApprovalStatus, ApprovalStatusSchema, type ArchivePlan, type ArchiveTaskInput, type ArchiveTaskResult, type AttachTaskInput, type AttachUpdateTaskStatusInput, type AttachableStatus, BASOU_CORE_VERSION, type BasouPaths, type BuildStopHookCommandOptions, type BulkChainResult, CLAUDE_IMPORT_SOURCE, CODEX_IMPORT_SOURCE, type CaptureMode, type ChainBreakReason, type ChainTailState, type ChainVerdict, type ChainVerdictStatus, type ChainedEvents, ChildProcessRunner, type CitedReview, type ClaudeSettings, type ClaudeTranscriptRecord, type ClaudeTranscriptToPayloadOptions, type CodexCommandLookup, type CodexRolloutRecord, type CodexRolloutToPayloadOptions, type CommandExecutedEvent, type CommandLookup, type CreateAdHocSessionInput, type CreateAdHocSessionResult, type CreateAdHocTaskInput, type CreateManifestInput, type CreateTaskInput, type CreateTaskResult, DEFAULT_STOP_HOOK_MIN_EDITS, type DayWorkStats, DecisionIdSchema, type DecisionRecordedEvent, type DecisionsRendererInput, type DecisionsRendererResult, type DeleteTaskInput, type DeleteTaskResult, type DiffResult, type EditTaskInput, type EditTaskResult, type Event, EventIdSchema, EventSchema, EventSourceSchema, type ExistingViewLink, FailedToFinalizeError, type FederatedRoot, type FileChange, type FileChangeStatus, type FileChangedEvent, GENERATED_END, GENERATED_START, type GitSnapshot, type GitSnapshotEvent, type GitignorePlanSummary, type HandoffRendererInput, type HandoffRendererResult, ID_PREFIXES, type IdPrefix, type ImportSessionOptions, type ImportSessionResult, type IncompleteWiring, type InstructionFileFact, type InstructionSymlinkFact, type InstructionSymlinkState, IsoTimestampSchema, JSON_SCHEMA_VERSION, type JsonSchemaArtifact, type LoadFederatedOptions, type LoadSessionEntriesOptions, type LoadTaskEntriesOptions, type LoadedApproval, type LockHandle, type LockScope, type Manifest, ManifestSchema, type MarkerSection, type Markers, type MeasureAvailability, type MissingCanonical, type NoteAddedEvent, ORIENTATION_END, ORIENTATION_START, type OrientationRendererInput, type OrientationRendererResult, type OrientationSummary, PROTOCOL_END, PROTOCOL_START, type PrefixedId, type PresetAction, type PresetCollision, type PresetMarkerConflict, type PresetMarkerKind, type PresetPlanSummary, type PresetRepo, type ProcessRunner, type PublishKind, type PublishTarget, REVIEW_RECORD_NO_INPUT_HINT, type RechainOptions, type RechainResult, type ReconcileAllResult, type ReconcileAllTasksInput, type ReconcileAllTasksOptions, type ReconcileFailure, type ReconcileResult, type ReconcileTaskInput, type RefreshLinkageInput, type RefreshLinkageResult, type ReimportOptions, type ReimportResult, type RenamePlan, type ReplayOptions, type ReplayWarning, type RepoEntry, type RepoGitignoreFacts, type RepoGitignorePlan, type RepoInstructions, type RepoLanguage, type RepoPresetFacts, type RepoPresetPlan, type RepoSymlinkFacts, type RepoSymlinkPlan, type RepoVisibility, type RepoWiringFacts, type ReportApprovalItem, type ReportData, type ReportDecisionItem, type ReportRendererInput, type ReportRendererResult, type ReportSessionItem, type ReportTaskItem, type RetrofitAction, type RetrofitAgentsState, type RetrofitFacts, type RetrofitPlan, type RetrofitReason, type ReviewBlocked, type ReviewFinding, type ReviewGapRepoSummary, type ReviewGapUnit, type ReviewGapVerdict, type ReviewGapsInput, type ReviewGapsSummary, type ReviewGateResult, type ReviewGateSilentReason, type ReviewRecordBlockedInput, type ReviewRecordFindingInput, type ReviewRecordInput, type ReviewRecordedEvent, type RiskLevel, RiskLevelSchema, type RosterAdoptionPlan, type RosterDriftSummary, type RunOptions, type RunResult, STOP_HOOK_TIMEOUT_SECONDS, STUCK_THRESHOLD_MS, type SanitizePathOptions, type SanitizeRelatedFilesResult, SchemaVersionSchema, type Session, type SessionEndedEvent, type SessionEntry, SessionIdSchema, type SessionImportPayload, SessionImportPayloadSchema, type SessionInnerImportInput, SessionInnerImportSchema, type SessionIntegrity, SessionIntegritySchema, type SessionMetrics, SessionMetricsSchema, SessionSchema, type SessionSkipReason, type SessionSourceKind, SessionSourceKindSchema, type SessionStartedEvent, type SessionStatus, type SessionStatusChangedEvent, SessionStatusSchema, type SessionWorkStats, type SourceRootScope, type SourceRootsReconcile, type SourceWorkStats, type StatusCount, StatusSchema, type StatusSnapshot, type StopHookEvaluation, type StopHookEvaluationInput, type StopHookRemoval, type StopHookSilentReason, type StopHookUpsert, type SuspectReason, type SymlinkCollision, type SymlinkConflict, type SymlinkPlanSummary, type Task, type TaskArchivedEvent, type TaskCreatedEvent, type TaskDeletedEvent, type TaskDocument, TaskIdSchema, type TaskLinkageRefreshedEvent, type TaskReconciledEvent, TaskSchema, type TaskSkipReason, type TaskStatus, type TaskStatusChangedEvent, type TaskStatusCount, TaskStatusSchema, TaskWriteAfterEventError, type TaskWriteAfterEventPhase, type TokenTotals, type UpdateAdHocTaskStatusInput, type UpdateTaskStatusInput, type UpdateTaskStatusResult, type ViewCollision, type ViewConflict, type ViewLanguage, type ViewLinkState, type ViewPresetInput, type ViewPresetRepo, type ViewRepoFact, type ViewStrayUnknown, type ViewStrings, type ViewWiringFacts, type WiringCollision, type WiringConflict, type WiringDriftSummary, type WiringRisk, type WiringSummary, type WorkStatsInput, type WorkStatsResult, type WorkStatsTotals, WorkspaceIdSchema, type WorkspaceViewPlan, type WriteEventsBulkOptions, type WriteTaskFileMode, acquireLock, appendBasouGitignore, appendChainedEvent, appendChainedEventLocked, appendEvent, appendEventToExistingSession, archiveTask, assertBasouRootSafe, basouPaths, buildJsonSchemas, buildReviewRecordLabel, buildReviewRecordedEvent, buildStatusSnapshot, buildStopHookCommand, chainEvents, chainRawJsonLines, classifyFilesBySourceRoot, classifyRetrofit, classifySuspect, claudeCodeAdapterMetadata, claudeTranscriptToImportPayload, codexAdapterMetadata, codexRolloutToImportPayload, computeWorkStats, createAdHocSessionWithEvent, createManifest, createTaskWithEvent, deleteTask, editTask, ensureBasouDirectory, enumerateApprovals, enumerateArchivedTaskIds, enumerateSessionDirs, enumerateTaskIds, evaluateStopHook, finalizeSessionYaml, findBasouStopHookCommand, findErrorCode, findReviewGaps, formatDurationMs, genesisHash, getDiff, getSnapshot, importSessionFromJson, inspectChainTail, instructionMode, isBasouStopHookCommand, isGitNotFound, isImportDerivedSource, isLazyExpired, isRenderable, isValidPrefixedId, lineHash, linkYamlFile, loadApproval, loadFederatedSessionEntries, loadSessionEntries, loadTaskEntries, normalizeRepoKey, normalizeRepoPath, overwriteYamlFile, parseDuration, parseMarkers, parseReviewRecordInput, pathBasename, planArchive, planGitignore, planRename, planRosterAdoption, planWorkspaceView, prefixedUlid, readAllEvents, readManifest, readMarkdownFile, readSessionYaml, readStatus, readTaskFile, readTaskFileWithArchiveFallback, readYamlFile, rechainSessionInPlace, reconcileAllTasks, reconcileSourceRoots, reconcileTask, refreshTaskLinkedSessions, reimportPreservingId, removeMarkerSection, removeStopHook, renderAnchorStarter, renderDecisions, renderHandoff, renderOrientation, renderPresetBlock, renderReport, renderViewPresetBlock, renderWithMarkers, replayEvents, resolveBasouRepositoryRoot, resolveClaudeCodeCommand, resolveCodexCommand, resolveRepositoryRoot, resolveSessionId, resolveTaskId, resolveViewLanguage, resolveViewLanguageFromPaths, safeSimpleGit, sanitizePath, sanitizeRelatedFiles, sanitizeWorkingDirectory, seedMarkers, serializeEventLine, serializeJsonSchema, sessionWorkStatsFromEvents, summarizeAdapterOutput, summarizeOrientation, summarizePresetPlan, summarizeRosterDrift, summarizeSymlinkPlan, summarizeWiring, summarizeWiringDrift, tryRemoteUrl, ulid, unknownManifestKeys, updateTaskStatusWithEvent, upsertStopHook, verifyEventsChain, viewStrings, writeEventsBulk, writeManifest, writeMarkdownFile, writeStatus, writeTaskFile, writeYamlFile };
|