@nklisch/pi-enhanced 0.1.2 → 0.1.4
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 +7 -0
- package/README.md +3 -2
- package/node_modules/@nklisch/pi-clearance/README.md +10 -5
- package/node_modules/@nklisch/pi-clearance/docs/ARCHITECTURE.md +12 -7
- package/node_modules/@nklisch/pi-clearance/docs/CONFIGURATION.md +25 -35
- package/node_modules/@nklisch/pi-clearance/docs/DEVELOPER_GUIDE.md +30 -30
- package/node_modules/@nklisch/pi-clearance/docs/PACK_AUTHORING.md +5 -4
- package/node_modules/@nklisch/pi-clearance/docs/PRINCIPLES.md +14 -10
- package/node_modules/@nklisch/pi-clearance/docs/REFERENCE_PATTERNS.md +1 -1
- package/node_modules/@nklisch/pi-clearance/docs/REVIEWER_PROMPTS.md +12 -8
- package/node_modules/@nklisch/pi-clearance/docs/RULE_PACKS.md +1 -1
- package/node_modules/@nklisch/pi-clearance/docs/SPEC.md +7 -6
- package/node_modules/@nklisch/pi-clearance/docs/TUNE.md +2 -2
- package/node_modules/@nklisch/pi-clearance/docs/USER_GUIDE.md +7 -3
- package/node_modules/@nklisch/pi-clearance/docs/VISION.md +3 -3
- package/node_modules/@nklisch/pi-clearance/native/clearance-core.darwin-arm64.node +0 -0
- package/node_modules/@nklisch/pi-clearance/native/clearance-core.darwin-x64.node +0 -0
- package/node_modules/@nklisch/pi-clearance/native/clearance-core.linux-arm64-gnu.node +0 -0
- package/node_modules/@nklisch/pi-clearance/native/clearance-core.linux-x64-gnu.node +0 -0
- package/node_modules/@nklisch/pi-clearance/native/clearance-core.win32-arm64-msvc.node +0 -0
- package/node_modules/@nklisch/pi-clearance/native/clearance-core.win32-x64-msvc.node +0 -0
- package/node_modules/@nklisch/pi-clearance/package.json +9 -5
- package/node_modules/@nklisch/pi-clearance/src/config/config-command-plans.ts +79 -3
- package/node_modules/@nklisch/pi-clearance/src/config/config-command-writer.ts +7 -1
- package/node_modules/@nklisch/pi-clearance/src/config/defaults.ts +42 -0
- package/node_modules/@nklisch/pi-clearance/src/config/gated-tools.ts +7 -0
- package/node_modules/@nklisch/pi-clearance/src/config/loader.ts +7 -1
- package/node_modules/@nklisch/pi-clearance/src/config/pack-enablement-writer.ts +1 -0
- package/node_modules/@nklisch/pi-clearance/src/config/paths.ts +14 -3
- package/node_modules/@nklisch/pi-clearance/src/config/persistence.ts +135 -0
- package/node_modules/@nklisch/pi-clearance/src/config/schema.ts +74 -26
- package/node_modules/@nklisch/pi-clearance/src/contracts/AdversarialCase.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/AdversarialCaseCategory.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/AdversarialCaseExpectation.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/AdversarialCaseResult.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/AdversarialCaseResultOutcome.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/AdversarialCaseSource.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/AdversarialValidationReport.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/AdversarialValidationStatus.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashBlock.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashCommandShape.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashConditionalArm.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashControlConstruct.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashFlag.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashForLoopKeywordSpans.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashIteratorEntry.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashIteratorEntryKind.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashListOperator.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashLoopVariableReference.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashPathFact.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashPathFactContext.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashPathFactProvenance.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashPathFactProvenanceEntry.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashPathFacts.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashPipeline.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashStage.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BashStageProgram.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/BlockOperator.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CapturedOutcome.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CommandFamilyKey.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CommandFamilySummary.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CompileError.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CompositionOperator.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CompoundBodyReason.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CompoundFeatureReason.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CompoundForm.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CompoundIteratorReason.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CorpusEntry.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CorpusExpectedLabel.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CorpusFidelity.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CorpusQueryModel.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CorpusQuerySummary.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CorpusQuerySummarySnapshot.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CorpusRecord.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CorpusSource.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/CountByLabel.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/Decision.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/DecisionEffect.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/DecisionProvenance.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/DecisionSource.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/DiagnosticSeverity.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/EffectivePolicy.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/EmbeddedShellProjection.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/EnvironmentAssignment.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/IteratorSourceKind.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/LoopQuoteKind.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/LoopVariableUnknownReason.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/MatcherExpr.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/MutationShapeKind.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/MutationTrustBoundaryClassification.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/MutationTrustBoundaryKind.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PackCompileResult.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PackWarningLevel.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ParsedEvidence.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ParsedShapeSummary.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PathAccess.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PathFactProjectScope.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PathFactsRequirement.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PathFactsResolvedConfig.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PathNormalization.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PathScope.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PathScopeMatcherExpr.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PathScopeMatcherMode.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PathUnknownReason.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PathUsageKind.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PiBuiltinToolOperation.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PiBuiltinToolPathInput.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PiBuiltinToolShape.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PiBuiltinToolSpec.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PiFileMutationToolName.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PiToolMutationFacts.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PolicyPack.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PolicyPackDocLink.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PolicyPackExample.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PolicyPackMetadata.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PolicyPackWarning.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/PolicyRule.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ProposalNotRunReason.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ProposalNotRunSeverity.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/QuoteKind.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/Redirect.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/RedirectStream.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/RedirectTargetKind.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayCorpus.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayDelta.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayDeltaBlockedSummary.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayDeltaChangedRecord.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayDeltaFamily.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayDeltaImprovement.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayDeltaRegression.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayDeltaStatus.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayDeltaTransitionCount.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayPathFacts.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayReviewerMode.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayReviewerOutcome.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayStatus.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ReplayedDecision.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ShapeDiagnostic.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/SourceFidelity.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/SourceSpan.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/Substitution.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/SubstitutionKind.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ToolCallIdentity.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ToolPathAccess.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ToolPathFact.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ToolPathFactContext.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ToolPathFacts.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ToolPathUsage.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/ToolShape.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/UnknownPathBehavior.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/UnknownToolShape.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/contracts/index.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/index.ts +33 -2
- package/node_modules/@nklisch/pi-clearance/src/native/loader.ts +29 -42
- package/node_modules/@nklisch/pi-clearance/src/replay/reviewer-config-proposals.ts +7 -4
- package/node_modules/@nklisch/pi-clearance/src/runtime/allow-request-message.ts +21 -0
- package/node_modules/@nklisch/pi-clearance/src/runtime/auto-reviewer-read-models.ts +165 -8
- package/node_modules/@nklisch/pi-clearance/src/runtime/command-registry.ts +1 -1
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/allow.ts +26 -2
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/packs.ts +6 -6
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/scope.ts +5 -5
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/settings/actions.ts +11 -0
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/settings/dispatcher.ts +274 -1
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/settings/model-options.ts +52 -0
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/settings/native-ui.ts +54 -67
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/settings/panels/reviewer.ts +19 -3
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/settings/panels/scope.ts +2 -11
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/settings/panels.ts +10 -1
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/settings/read-model.ts +47 -13
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/settings.ts +32 -37
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/status.ts +3 -0
- package/node_modules/@nklisch/pi-clearance/src/runtime/config-commands/types.ts +14 -5
- package/node_modules/@nklisch/pi-clearance/src/runtime/handler.ts +36 -0
- package/node_modules/@nklisch/pi-clearance/src/runtime/mode-prompt.ts +0 -1
- package/node_modules/@nklisch/pi-clearance/src/runtime/model-adapter.ts +5 -1
- package/node_modules/@nklisch/pi-clearance/src/runtime/reviewer-context.ts +73 -10
- package/node_modules/@nklisch/pi-clearance/src/runtime/reviewer-prompts.ts +186 -175
- package/node_modules/@nklisch/pi-clearance/src/runtime/reviewer.ts +26 -6
- package/node_modules/@nklisch/pi-plugins/dist/infrastructure/state/local-lock-filesystem.d.ts +23 -1
- package/node_modules/@nklisch/pi-plugins/dist/infrastructure/state/local-lock-filesystem.js +46 -50
- package/node_modules/@nklisch/pi-plugins/dist/infrastructure/state/local-lock-filesystem.js.map +1 -1
- package/node_modules/@nklisch/pi-plugins/dist/runtime/mcp/pi-mcp-adapter-package.js +2 -2
- package/node_modules/@nklisch/pi-plugins/dist/runtime/mcp/pi-mcp-adapter-runtime.js +2 -2
- package/node_modules/@nklisch/pi-plugins/dist/runtime/subagents/pi-subagents-lifecycle.js +1 -1
- package/node_modules/@nklisch/pi-plugins/dist/runtime/subagents/pi-subagents-package.js +2 -2
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/README.md +41 -31
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/dist/public.d.ts +2 -1
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/docs/FORK-MAINTENANCE.md +17 -11
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/docs/VISION.md +14 -7
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/docs/architecture/architecture.md +11 -19
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/docs/comparison-with-upstream.md +58 -53
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/package.json +2 -2
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/config/agent-type-resolution.ts +43 -0
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/config/agent-types.ts +11 -6
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/config/custom-agents.ts +13 -6
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/config/default-agents.ts +0 -52
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/config/thinking-levels.ts +12 -0
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/handlers/interrupt.ts +5 -2
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/handlers/lifecycle.ts +3 -3
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/index.ts +7 -6
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/lifecycle/create-subagent-session.ts +7 -2
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/lifecycle/parent-snapshot.ts +11 -3
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/lifecycle/subagent-manager.ts +26 -56
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/lifecycle/subagent-session.ts +48 -9
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/lifecycle/subagent-state.ts +32 -0
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/lifecycle/subagent.ts +105 -17
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/observation/composite-subagent-observer.ts +4 -0
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/observation/notification.ts +50 -46
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/observation/renderer.ts +1 -1
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/observation/subagent-events-observer.ts +15 -0
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/runtime.ts +2 -0
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/service/service-adapter.ts +35 -6
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/service/service.ts +1 -0
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/session/model-label.ts +19 -0
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/session/prompts.ts +24 -1
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/session/session-config.ts +11 -6
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/settings.ts +70 -3
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/tools/agent-tool.ts +27 -10
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/tools/background-spawner.ts +6 -2
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/tools/foreground-runner.ts +12 -3
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/tools/get-result-report.ts +17 -3
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/tools/get-result-tool.ts +13 -20
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/tools/result-renderer.ts +6 -1
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/tools/spawn-config.ts +16 -16
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/tools/steer-tool.ts +12 -4
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/types.ts +2 -2
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/ui/agent-widget.ts +24 -11
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/ui/display.ts +10 -7
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/ui/glyphs.ts +7 -0
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/ui/session-navigation.ts +34 -25
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/ui/session-navigator.ts +30 -10
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/ui/subagents-settings.ts +58 -13
- package/node_modules/@nklisch/pi-plugins/node_modules/@nklisch/pi-subagents/src/ui/widget-renderer.ts +32 -19
- package/node_modules/@nklisch/pi-plugins/package.json +3 -3
- package/package.json +1 -1
- package/test/verify-bundle.mjs +28 -1
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { type Static, type TSchema, Type } from "@sinclair/typebox";
|
|
2
2
|
import { Value } from "@sinclair/typebox/value";
|
|
3
3
|
|
|
4
|
+
import {
|
|
5
|
+
DEFAULT_PROJECT_SCOPE_BEHAVIOR,
|
|
6
|
+
DEFAULT_REVIEWER_CONTEXT_MODE,
|
|
7
|
+
DEFAULT_REVIEWER_ESCALATION,
|
|
8
|
+
DEFAULT_REVIEWER_PROMPT_POSTURE,
|
|
9
|
+
DEFAULT_REVIEWER_RECENT_CONTEXT,
|
|
10
|
+
DEFAULT_REVIEWER_TOKEN_BUDGET,
|
|
11
|
+
DEFAULT_REVIEW_NOTE_DISPLAY,
|
|
12
|
+
DEFAULT_UNKNOWN_TOOL_POSTURE,
|
|
13
|
+
} from "./defaults.ts";
|
|
14
|
+
import { EXACT_NON_BASH_TOOL_NAME_PATTERN } from "./gated-tools.ts";
|
|
15
|
+
|
|
4
16
|
export const CONFIG_SCHEMA_VERSION = 1 as const;
|
|
5
17
|
|
|
6
18
|
const STRICT_OBJECT_OPTIONS = { additionalProperties: false } as const;
|
|
@@ -148,9 +160,11 @@ export const PolicyPackSchema = Type.Object(
|
|
|
148
160
|
|
|
149
161
|
export const ReviewNoteDisplaySchema = Type.Object(
|
|
150
162
|
{
|
|
151
|
-
mode: reviewNoteModeLiteral({ default:
|
|
152
|
-
showModelLabel: Type.Boolean({
|
|
153
|
-
|
|
163
|
+
mode: reviewNoteModeLiteral({ default: DEFAULT_REVIEW_NOTE_DISPLAY.mode }),
|
|
164
|
+
showModelLabel: Type.Boolean({
|
|
165
|
+
default: DEFAULT_REVIEW_NOTE_DISPLAY.showModelLabel,
|
|
166
|
+
}),
|
|
167
|
+
accent: Type.Boolean({ default: DEFAULT_REVIEW_NOTE_DISPLAY.accent }),
|
|
154
168
|
},
|
|
155
169
|
{ ...STRICT_OBJECT_OPTIONS, default: {} },
|
|
156
170
|
);
|
|
@@ -162,7 +176,7 @@ export const DisplayConfigSchema = Type.Object(
|
|
|
162
176
|
|
|
163
177
|
export const ReviewerConfigSchema = Type.Object(
|
|
164
178
|
{
|
|
165
|
-
promptPosture: Type.String({ default:
|
|
179
|
+
promptPosture: Type.String({ default: DEFAULT_REVIEWER_PROMPT_POSTURE }),
|
|
166
180
|
promptAppends: Type.Array(Type.String(), { default: [] }),
|
|
167
181
|
projectPromptAppends: Type.Array(Type.String(), { default: [] }),
|
|
168
182
|
promptOverride: Type.Union([Type.String(), Type.Null()], { default: null }),
|
|
@@ -171,41 +185,58 @@ export const ReviewerConfigSchema = Type.Object(
|
|
|
171
185
|
}),
|
|
172
186
|
tokenBudget: Type.Object(
|
|
173
187
|
{
|
|
174
|
-
window: Type.String({ default:
|
|
175
|
-
limit: Type.Union([Type.Number(), Type.Null()], {
|
|
188
|
+
window: Type.String({ default: DEFAULT_REVIEWER_TOKEN_BUDGET.window }),
|
|
189
|
+
limit: Type.Union([Type.Number(), Type.Null()], {
|
|
190
|
+
default: DEFAULT_REVIEWER_TOKEN_BUDGET.limit,
|
|
191
|
+
}),
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
...STRICT_OBJECT_OPTIONS,
|
|
195
|
+
default: DEFAULT_REVIEWER_TOKEN_BUDGET,
|
|
176
196
|
},
|
|
177
|
-
{ ...STRICT_OBJECT_OPTIONS, default: { window: "24h", limit: null } },
|
|
178
197
|
),
|
|
179
198
|
contextMode: Type.Union(
|
|
180
199
|
[Type.Literal("minimal"), Type.Literal("recentContext")],
|
|
181
|
-
{ default:
|
|
200
|
+
{ default: DEFAULT_REVIEWER_CONTEXT_MODE },
|
|
182
201
|
),
|
|
183
202
|
recentContext: Type.Object(
|
|
184
203
|
{
|
|
185
|
-
decisionLimit: Type.Integer({
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
204
|
+
decisionLimit: Type.Integer({
|
|
205
|
+
default: DEFAULT_REVIEWER_RECENT_CONTEXT.decisionLimit,
|
|
206
|
+
}),
|
|
207
|
+
decisionWindow: Type.String({
|
|
208
|
+
default: DEFAULT_REVIEWER_RECENT_CONTEXT.decisionWindow,
|
|
209
|
+
}),
|
|
210
|
+
conversationTurns: Type.Integer({
|
|
211
|
+
default: DEFAULT_REVIEWER_RECENT_CONTEXT.conversationTurns,
|
|
212
|
+
}),
|
|
213
|
+
userTurns: Type.Integer({
|
|
214
|
+
default: DEFAULT_REVIEWER_RECENT_CONTEXT.userTurns,
|
|
215
|
+
}),
|
|
216
|
+
conversationCharLimit: Type.Integer({
|
|
217
|
+
default: DEFAULT_REVIEWER_RECENT_CONTEXT.conversationCharLimit,
|
|
218
|
+
}),
|
|
189
219
|
},
|
|
190
220
|
{
|
|
191
221
|
...STRICT_OBJECT_OPTIONS,
|
|
192
222
|
default: {
|
|
193
|
-
|
|
194
|
-
decisionWindow: "2h",
|
|
195
|
-
conversationTurns: 3,
|
|
196
|
-
conversationCharLimit: 6000,
|
|
223
|
+
...DEFAULT_REVIEWER_RECENT_CONTEXT,
|
|
197
224
|
},
|
|
198
225
|
},
|
|
199
226
|
),
|
|
200
227
|
escalation: Type.Object(
|
|
201
228
|
{
|
|
202
|
-
enabled: Type.Boolean({
|
|
203
|
-
|
|
204
|
-
|
|
229
|
+
enabled: Type.Boolean({
|
|
230
|
+
default: DEFAULT_REVIEWER_ESCALATION.enabled,
|
|
231
|
+
}),
|
|
232
|
+
denialLimit: Type.Integer({
|
|
233
|
+
default: DEFAULT_REVIEWER_ESCALATION.denialLimit,
|
|
234
|
+
}),
|
|
235
|
+
window: Type.String({ default: DEFAULT_REVIEWER_ESCALATION.window }),
|
|
205
236
|
},
|
|
206
237
|
{
|
|
207
238
|
...STRICT_OBJECT_OPTIONS,
|
|
208
|
-
default:
|
|
239
|
+
default: DEFAULT_REVIEWER_ESCALATION,
|
|
209
240
|
},
|
|
210
241
|
),
|
|
211
242
|
},
|
|
@@ -227,14 +258,25 @@ export const PackEnablementSchema = Type.Object(
|
|
|
227
258
|
{ ...STRICT_OBJECT_OPTIONS, default: {} },
|
|
228
259
|
);
|
|
229
260
|
|
|
261
|
+
const GatedToolName = Type.String({
|
|
262
|
+
minLength: 1,
|
|
263
|
+
// Tool opt-in is deliberately exact-name only. Keep the field a strict
|
|
264
|
+
// schema boundary so wildcard/future-tool consent cannot slip into config.
|
|
265
|
+
pattern: EXACT_NON_BASH_TOOL_NAME_PATTERN,
|
|
266
|
+
});
|
|
267
|
+
|
|
230
268
|
export const GlobalConfigSchema = Type.Object(
|
|
231
269
|
{
|
|
232
270
|
version: Type.Literal(CONFIG_SCHEMA_VERSION),
|
|
233
271
|
mode: ClearanceModeLiteral,
|
|
272
|
+
gatedTools: Type.Array(GatedToolName, {
|
|
273
|
+
default: [],
|
|
274
|
+
uniqueItems: true,
|
|
275
|
+
}),
|
|
234
276
|
unknownToolPosture: Type.Optional(
|
|
235
277
|
Type.Union(
|
|
236
278
|
[Type.Literal("allow"), Type.Literal("deny"), Type.Literal("review")],
|
|
237
|
-
{ default:
|
|
279
|
+
{ default: DEFAULT_UNKNOWN_TOOL_POSTURE },
|
|
238
280
|
),
|
|
239
281
|
),
|
|
240
282
|
packs: Type.Array(PolicyPackSchema, { default: [] }),
|
|
@@ -263,13 +305,19 @@ export const ProjectScopeSchema = Type.Object(
|
|
|
263
305
|
tempDirectories: pathListSchema(),
|
|
264
306
|
deniedDirectories: pathListSchema(),
|
|
265
307
|
safeHomeDirectories: pathListSchema(),
|
|
266
|
-
safeHomeUseDefaults: Type.Boolean({
|
|
308
|
+
safeHomeUseDefaults: Type.Boolean({
|
|
309
|
+
default: DEFAULT_PROJECT_SCOPE_BEHAVIOR.safeHomeUseDefaults,
|
|
310
|
+
}),
|
|
267
311
|
/** Optional custom Pi support roots; built-in roots remain enabled by default. */
|
|
268
312
|
agentSupportDirectories: Type.Optional(pathListSchema()),
|
|
269
|
-
agentSupportUseDefaults: Type.Optional(
|
|
313
|
+
agentSupportUseDefaults: Type.Optional(
|
|
314
|
+
Type.Boolean({
|
|
315
|
+
default: DEFAULT_PROJECT_SCOPE_BEHAVIOR.agentSupportUseDefaults,
|
|
316
|
+
}),
|
|
317
|
+
),
|
|
270
318
|
unknownPathBehavior: Type.Union(
|
|
271
319
|
[Type.Literal("review"), Type.Literal("deny")],
|
|
272
|
-
{ default:
|
|
320
|
+
{ default: DEFAULT_PROJECT_SCOPE_BEHAVIOR.unknownPathBehavior },
|
|
273
321
|
),
|
|
274
322
|
/**
|
|
275
323
|
* Behavior for paths the engine classifies as sensitive home
|
|
@@ -278,7 +326,7 @@ export const ProjectScopeSchema = Type.Object(
|
|
|
278
326
|
*/
|
|
279
327
|
sensitivePathBehavior: Type.Union(
|
|
280
328
|
[Type.Literal("review"), Type.Literal("deny")],
|
|
281
|
-
{ default:
|
|
329
|
+
{ default: DEFAULT_PROJECT_SCOPE_BEHAVIOR.sensitivePathBehavior },
|
|
282
330
|
),
|
|
283
331
|
/**
|
|
284
332
|
* `"review"` claws back baseline home-scope read auto-allows so any
|
|
@@ -286,7 +334,7 @@ export const ProjectScopeSchema = Type.Object(
|
|
|
286
334
|
*/
|
|
287
335
|
homePathBehavior: Type.Union(
|
|
288
336
|
[Type.Literal("allow"), Type.Literal("review")],
|
|
289
|
-
{ default:
|
|
337
|
+
{ default: DEFAULT_PROJECT_SCOPE_BEHAVIOR.homePathBehavior },
|
|
290
338
|
),
|
|
291
339
|
},
|
|
292
340
|
{ ...STRICT_OBJECT_OPTIONS, default: {} },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { AdversarialCaseCategory } from "./AdversarialCaseCategory.ts";
|
|
4
4
|
import type { AdversarialCaseExpectation } from "./AdversarialCaseExpectation.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type AdversarialCaseCategory =
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type AdversarialCaseExpectation =
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { AdversarialCaseCategory } from "./AdversarialCaseCategory.ts";
|
|
4
4
|
import type { AdversarialCaseExpectation } from "./AdversarialCaseExpectation.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type AdversarialCaseResultOutcome =
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type AdversarialCaseSource =
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { AdversarialCase } from "./AdversarialCase.ts";
|
|
4
4
|
import type { AdversarialCaseResult } from "./AdversarialCaseResult.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type AdversarialValidationStatus = "not-run" | "passed" | "failed";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BashListOperator } from "./BashListOperator.ts";
|
|
4
4
|
import type { BashPipeline } from "./BashPipeline.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BashBlock } from "./BashBlock.ts";
|
|
4
4
|
import type { BashPathFacts } from "./BashPathFacts.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BashBlock } from "./BashBlock.ts";
|
|
4
4
|
import type { BashPipeline } from "./BashPipeline.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type BashControlConstruct =
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { SourceSpan } from "./SourceSpan.ts";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { SourceSpan } from "./SourceSpan.ts";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BashIteratorEntryKind } from "./BashIteratorEntryKind.ts";
|
|
4
4
|
import type { QuoteKind } from "./QuoteKind.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type BashIteratorEntryKind = "literal-word" | "literal-glob";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type BashListOperator = "and" | "or" | "seq";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { LoopQuoteKind } from "./LoopQuoteKind.ts";
|
|
4
4
|
import type { SourceSpan } from "./SourceSpan.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BashPathFactProvenance } from "./BashPathFactProvenance.ts";
|
|
4
4
|
import type { PathAccess } from "./PathAccess.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { PathFactProjectScope } from "./PathFactProjectScope.ts";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BashPathFactProvenanceEntry } from "./BashPathFactProvenanceEntry.ts";
|
|
4
4
|
import type { IteratorSourceKind } from "./IteratorSourceKind.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { PathScope } from "./PathScope.ts";
|
|
4
4
|
import type { PathUnknownReason } from "./PathUnknownReason.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BashPathFact } from "./BashPathFact.ts";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BashStage } from "./BashStage.ts";
|
|
4
4
|
import type { SourceSpan } from "./SourceSpan.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BashBlock } from "./BashBlock.ts";
|
|
4
4
|
import type { BashConditionalArm } from "./BashConditionalArm.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BashFlag } from "./BashFlag.ts";
|
|
4
4
|
import type { BashLoopVariableReference } from "./BashLoopVariableReference.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type BlockOperator = "and" | "or" | "seq" | "background";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { CorpusExpectedLabel } from "./CorpusExpectedLabel.ts";
|
|
4
4
|
import type { DecisionEffect } from "./DecisionEffect.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { PiBuiltinToolOperation } from "./PiBuiltinToolOperation.ts";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { CommandFamilyKey } from "./CommandFamilyKey.ts";
|
|
4
4
|
import type { CorpusSource } from "./CorpusSource.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type CompileError = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type CompositionOperator = "and" | "seq";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type CompoundBodyReason =
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type CompoundFeatureReason =
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type CompoundForm = "for" | "brace-group" | "if";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type CompoundIteratorReason =
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { CorpusExpectedLabel } from "./CorpusExpectedLabel.ts";
|
|
4
4
|
import type { CorpusFidelity } from "./CorpusFidelity.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type CorpusExpectedLabel = "fast_path" | "review" | "hard_block";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type CorpusFidelity = "high" | "redacted";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { CommandFamilySummary } from "./CommandFamilySummary.ts";
|
|
4
4
|
import type { CorpusQuerySummary } from "./CorpusQuerySummary.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { CountByLabel } from "./CountByLabel.ts";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type CorpusQuerySummarySnapshot = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { CapturedOutcome } from "./CapturedOutcome.ts";
|
|
4
4
|
import type { CommandFamilyKey } from "./CommandFamilyKey.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type CorpusSource = "session" | "audit" | "corpus";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type CountByLabel = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { DecisionEffect } from "./DecisionEffect.ts";
|
|
4
4
|
import type { DecisionProvenance } from "./DecisionProvenance.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type DecisionEffect = "allow" | "deny" | "review";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { DecisionSource } from "./DecisionSource.ts";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type DecisionSource =
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type DiagnosticSeverity = "error" | "warning" | "info";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { PolicyRule } from "./PolicyRule.ts";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BashCommandShape } from "./BashCommandShape.ts";
|
|
4
4
|
import type { ShapeDiagnostic } from "./ShapeDiagnostic.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { SourceSpan } from "./SourceSpan.ts";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type IteratorSourceKind =
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type LoopQuoteKind = "none" | "single" | "double";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
|
|
4
4
|
export type LoopVariableUnknownReason =
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by ts-rs; do not edit. Run `
|
|
1
|
+
// @generated by ts-rs; do not edit. Run `npm run contracts:generate`.
|
|
2
2
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
3
3
|
import type { BlockOperator } from "./BlockOperator.ts";
|
|
4
4
|
import type { CompositionOperator } from "./CompositionOperator.ts";
|