elanous 0.3.5 → 0.3.9
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/catalog/sim-world-device-catalog-fragments/README.md +16 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-CONTRACT-SECRET-ENTROPY-TS.json +24 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-KILL-SWITCH-WORLD-TS.json +20 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-SCRATCH-BOOTSTRAP-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-UPGRADE-PATH-WORLD-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ARG-MACRO-CANVAS-SIM-TS.json +16 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ASIDE-FEEDBACK-LOOP-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-AUTHOR-REVIEWER-PRECHECK-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BACKEND-TIER-DEVICE-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BOOT-DAEMON-TOOLS-PTY-SHELL-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BROWSER-HAND-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BURST-READY-LADDER-SIM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CENSUS-ORACLE-AXIS-WORLD-TS.json +8 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CHAIN-LAND-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CLASSIC-TUI-SEAT-SCENARIOS-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CLI-CONFIG-AUDIT-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CODEX-WIRE-CAPTURE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-COMPUTER-USE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DASHBOARD-EVENT-LOOP-STALL-MONITOR-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DEVICE-CATALOG-SNAPSHOT-FRAGMENTS-TS.json +12 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DEVICE-FIDELITY-TS.json +31 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DRAFT-INVENTORY-BUILDER-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EDGE-CREATOR-NIGHTLY-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EDGE-CREATOR-TS.json +18 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EVENT-MONKEY-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ABSORB-INGEST-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ADB-PHONE-WORLD-TS.json +15 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-AGENT-HOOK-HOST-TS.json +6 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ANDROID-CLIENT-TS.json +10 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-AUTH-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DB-BACKUP-WORLD-TS.json +14 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DB-WORLD-TS.json +25 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DRIVE-WORLD-TS.json +23 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-FAILURES-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-HOST-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-REALTIME-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-SOURCE-CONCURRENT-WRITER-TS.json +23 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-SOURCE-WORLD-TS.json +23 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-STORAGE-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-TRAFFIC-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BIN-ARGS-SIM-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BIN-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BROWSER-PAGE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOCK-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOUD-BILLING-WORLD-TS.json +8 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOUD-VM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-DATA-GUARD-BOUNDARY-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-DNS-CERT-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ELEVENLABS-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FEEDS-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FETCH-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FLEET-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-GH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-GOOGLE-DRIVE-WORLD-TS.json +23 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-HERDR-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-HIGGSFIELD-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-KUBECTL-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LAND-QUEUE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LINEAR-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LLM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-MEMBER-OIDC-WORLD-TS.json +8 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-MOBILE-TOOLCHAIN-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-NEXUS-BOARD-SERVER-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-PAYMENT-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-PS-TS.json +30 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-RELAY-WORLD-TS.json +20 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-SSH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-STT-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TELEGRAM-OUTBOUND-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TELEGRAM-VIDEO-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TEMP-CLEANUP-TS.json +21 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-CRED-EXPIRY-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-GLM-NO-CREDENTIAL-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEEDS-HUMAN-REASON-REPAIR-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEXTMOVE-DISPATCH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEXUS-STALL-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-CHILD-RESULT-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-CODEX-503-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-DEATH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-REUSE-RESIDUE-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POOL-CAP-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-SCOPE-ESCAPE-LIFT-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-SQLITE-BUSY-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-TUI-400-AUTOHEAL-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FIXTURES-GIT-WORKTREE-ACCEL-LINUX-JSON.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FLUTTER-DEPLOY-JOURNEY-TS.json +10 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-IMAGE-LAYERED-DELTA-SIM-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-IMAGE-PREFLIGHT-RUNTIME-IDENTITY-FLOW-SIM-TS.json +13 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-ROSTER-SECOND-POOL-TS.json +28 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-SHARD-HOST-REROUTE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-STEADY-STATE-PROOF-SIM-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GIT-PUSH-TIMEOUT-PARTIAL-OUTCOME-REMOTE-VERIFY-TS.json +22 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GOAL-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GOAL-INTERIM-TRACE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-DIFF-APPLY-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-ENGINE-SIM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-EVENT-ENTRY-WORLD-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-PLACEMENT-LEASE-WORLD-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUN-LIFECYCLE-WORLD-TS.json +7 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUNTIME-OVERLAY-EVENT-PATH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUNTIME-OVERLAY-EVENT-PATH-WORKER-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-TRIGGER-HOOK-DEVICE-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-CHAOS-DRIVER-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-LEDGER-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-READY-TIERS-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HEADLESS-TUI-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HEAL-REAUTHOR-MATERIALIZED-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HOTSPOT-FILE-LEASE-WORLD-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HQ-MOVE-SIM-TS.json +30 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IN-PROCESS-CLI-539-FILE-ADOPTION-SIM-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IN-PROCESS-CLI-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INPUT-HISTORY-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INSTALL-CONSENT-DEVICE-TS.json +31 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INTERACTION-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IOS-CHAT-EDGE-ADAPTER-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-LINEAR-SECRETARY-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MAPREDUCE-MULTIHOST-SIM-TS.json +8 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-AUTHORING-FIRST-RUN-CHILD-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-AUTHORING-FIRST-RUN-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-DEVICE-REQUESTS-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SCENARIO-CATALOG-JSON.json +19 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SCENARIO-CATALOG-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-FRAME-CHILD-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-FRAME-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-SEQUENCE-CHILD-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-SEQUENCE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MULTI-ACTOR-WORLD-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MULTI-TENANT-RELAY-WORLD-TS.json +20 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NETWORK-SANDBOX-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-CORE-INPUT-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-ROUTE-DEVICE-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-SEAT-SCENARIOS-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NL-SCENARIO-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ONBOARDING-FIRST-RUN-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-OUTBOUND-GUARD-SIM-TS.json +7 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PLUGIN-RELEASE-OBSERVE-ROUTE-WORLD-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PLUGIN-YAML-GEN-WORLD-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-FEDERATION-SIM-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-PHASE-PREWARM-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-MATCH-BY-KIND-SIM-TS.json +25 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-SHARED-FAKE-BOUNDARY-TS.json +26 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-WORLD-TS.json +27 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PR-LAND-DRIFT-AUTOREPAIR-DEVICE-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PR-LAND-DRIFT-GATE-DEVICE-TS.json +26 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PTY-KEY-MODIFIERS-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PUBLIC-AUTH-PROVIDER-CLOUD-VM-SIM-TS.json +7 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PWA-PROVENANCE-BADGE-WORLD-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PWA-RETAINED-ROUTES-WORLD-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-READINESS-COUNTDOWN-TS.json +24 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-REAL-TARGET-SANDBOX-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-EVENT-TRACE-TS.json +28 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-PUBLISH-DEVICES-TS.json +28 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SAME-VERSION-RUN-ADOPTION-SIM-TS.json +15 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SIM-RIG-SEAT-GUARD-CHILD-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SIM-RIG-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RENDER-FRAME-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RESEARCH-DECISION-CHAIN-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RESUME-PICKER-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RLA-EVENT-RESPONSE-SCORECARD-TS.json +28 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RLA-MACROPHAGE-HEAL-TIMEOUT-STALE-OUTPUT-SIM-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SAFE-PUBLIC-COPY-PUBLISH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SCENARIO-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SECRET-CANARY-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SEMINAR-REHEARSAL-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SERVICE-KEY-SETUP-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SESSION-ID-SEED-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SIM-COVERAGE-TS.json +30 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SIM-RECEIPT-TS.json +8 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SKILLS-TOOLS-SHELL-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SLASH-MENU-FRAMES-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SMART-MERGE-WORLD-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SUBAGENT-TOOLS-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TA-LAND-COUNT-DISPATCHER-SIM-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-AGENT-PARENT-HOST-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-AGENT-REJUDGE-ON-HEAD-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-ORCHESTRATOR-SURFACES-SELF-IMPLEMENT-POD-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TEMP-GIT-REMOTE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TEMP-GIT-REPO-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TERM-SLASH-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TOOL-ASYNC-FAIL-LOOP-TS.json +30 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TOOL-ROUTER-WORLD-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TRAIN-MANAGER-DECISION-SIM-TS.json +18 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TRAIN-MANAGER-WORLD-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TTY-FOREGROUND-STEAL-CHILD-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TURN-STATES-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TURN-THROW-SIM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-USER-CONFIG-DEFAULT-SPARSE-SIM-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-USER-CONFIG-TUI-DIET-SIM-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-POOL-REUSE-SIM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-POOL-REUSE-SWITCH-SIM-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-SI-REUSE-SIM-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-CHAOS-RUNTIME-TS.json +31 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-HOST-CHAOS-TS.json +30 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-REGRESSION-SUITE-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-SCHEMA-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-SNAPSHOT-TS.json +31 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-STORE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-WATCH-TS.json +27 -0
- package/catalog/sim-world-device-catalog-fragments/metadata.json +3 -0
- package/catalog/ux-sim/fixtures/adaptive-graph-v1.yaml +18 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/README.md +15 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00010--scripts-tui-sim-bench-ts-adf79d7e.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00020--scripts-tui-sim-ts-c9bd7af7.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00030--scripts-ux-sim-ts-e5b4dead.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00040--scripts-voice-dogfood-sim-ts-0e5441cd.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00050--scripts-voice-pwa-sim-ts-831ba2c9.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00060--scripts-release-loop-gate-autoheal-sim-evidence--1dfbf6e9.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00070--scripts-release-loop-gate-node-sim-ts-bb18473a.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00080--scripts-release-loop-gate-bisect-ts-0a24b781.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00090--scripts-release-loop-gate-bisect-test-ts-93276556.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00100--scripts-release-loop-gate-bisect-sidecar-ts-8537597a.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00110--scripts-release-loop-tui-sim-node-ts-81456cc3.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00120--scripts-lib-pwa-scenarios-acp-replay-ts-f5b22233.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00130--scripts-lib-pwa-scenarios-cdp-driver-ts-f888fe21.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00140--scripts-lib-pwa-scenarios-runner-ts-482bae4e.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00150--scripts-lib-pwa-scenarios-scenarios-ts-b6642642.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00160--test-fixtures-acp-initialize-stub-ts-dda92993.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00170--test-fixtures-mock-lsp-server-ts-5607efec.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00180--test-helpers-intake-fake-repo-ts-313e4fab.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00190--test-ux-sim-aimock-local-ts-346e03cb.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00200--scenarios-dashboard-default-yaml-f2d56850.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00210--scenarios-heap-graph-yaml-d9d0d2a9.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00220--scenarios-iul-timeline-viewer-yaml-449a5fc2.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00230--scenarios-ux-sim-provider-4xx-no-provider-yaml-0d620991.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00240--scenarios-ux-sim-release-sim-rig-yaml-3ec55c14.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00250--tests-scenarios-4provider-feature-impl-yaml-d76ada66.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00260--tests-scenarios-capability-level-11-yaml-2f16c5ed.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00270--tests-scenarios-codex-baseline-yaml-8a635e8e.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00280--tests-scenarios-codex-opus-2way-yaml-5e0502d6.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00290--tests-scenarios-codex-variance-w5f-yaml-4ec32047.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00300--tests-scenarios-multi-turn-cache-rate-yaml-eb8a6f86.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00310--tests-scenarios-repl-rotation-chain-yaml-6e9a6646.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00320--tests-scenarios-repl-self-debug-arc-yaml-549e12af.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00330--tests-scenarios-repl-tool-doom-recovery-yaml-06a7412a.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00340--src-playground-scenario-default-scenarios-ts-45b5ee3e.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00350--src-playground-scenario-fake-harness-ts-870235f6.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00360--src-showroom-outbound-channels-stubs-ts-d2dee3b2.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00370--test-telegram-surface-hitl-test-ts-1a40e9ff.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00380--src-ux-sim-author-reviewer-precheck-device-ts-92e65331.json +12 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00390--src-ux-sim-safe-public-copy-publish-ts-fecca28c.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00400--src-ux-sim-seminar-rehearsal-test-ts-b7d04c41.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00410--src-ux-sim-aside-feedback-loop-ts-bc55d132.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00420--src-release-loop-macrophage-heal-ts-30c76fcb.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00430--src-ux-sim-pod-reuse-world-ts-d8ea8bc8.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00440--src-ux-sim-pr-land-drift-gate-device-ts-7046aa17.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00450--src-ux-sim-app-contract-secret-entropy-ts-096d587b.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00460--src-ux-sim-app-contract-secret-entropy-test-ts-20663c84.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00470--src-ux-sim-readiness-countdown-ts-7955f662.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00480--src-ux-sim-readiness-countdown-test-ts-74503e51.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00490--src-ux-sim-fake-app-drive-world-ts-0628e0fc.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00500--src-ux-sim-fake-app-drive-world-test-ts-5e5ccb70.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00510--src-ux-sim-fake-app-source-concurrent-writer-ts-d552ec7a.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00520--src-ux-sim-fake-app-source-world-ts-8decb8fc.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00530--src-ux-sim-fake-app-source-world-test-ts-62c86a9c.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00540--src-ux-sim-fake-google-drive-world-ts-ea35958c.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00550--src-ux-sim-fake-google-drive-world-test-ts-b1893a04.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00560--src-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-bfd2b9a0.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00570--src-ux-sim-fake-temp-cleanup-ts-78630a27.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00580--src-ux-sim-fake-temp-cleanup-test-ts-d0ed21bc.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00590--src-ux-sim-release-same-version-run-adoption-sim-ts-0a0b3e7e.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00600--src-ux-sim-release-same-version-run-adoption-sim-test-ts-e50288fb.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00610--src-ux-sim-graph-resume-any-entry-ts-f4e753c4.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00620--src-ux-sim-graph-resume-any-entry-test-ts-63d01d16.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00630--src-ux-sim-graph-compose-trigger-sim-test-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00640--src-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +9 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00650--src-ux-sim-graph-run-lifecycle-world-test-ts-9a932579.json +9 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00660--scripts-release-loop-gate-node-test-ts.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00010--scripts-release-loop-gate-node-test-ts.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00010--src-ux-sim-safe-public-copy-publish-ts-fecca28c.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00020--src-ux-sim-seminar-rehearsal-test-ts-b7d04c41.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00030--src-ux-sim-aside-feedback-loop-ts-bc55d132.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00040--scripts-release-loop-gate-bisect-ts-0a24b781.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00050--scripts-release-loop-gate-bisect-test-ts-93276556.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00060--scripts-release-loop-gate-bisect-sidecar-ts-8537597a.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00070--src-release-loop-macrophage-heal-ts-30c76fcb.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00080--src-ux-sim-pod-reuse-world-ts-d8ea8bc8.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00090--src-ux-sim-pr-land-drift-gate-device-ts-7046aa17.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00100--src-ux-sim-app-contract-secret-entropy-ts-096d587b.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00110--src-ux-sim-app-contract-secret-entropy-test-ts-20663c84.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00120--src-ux-sim-readiness-countdown-ts-7955f662.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00130--src-ux-sim-readiness-countdown-test-ts-74503e51.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00140--src-ux-sim-fake-app-drive-world-ts-0628e0fc.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00150--src-ux-sim-fake-app-drive-world-test-ts-5e5ccb70.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00160--src-ux-sim-fake-app-source-concurrent-writer-ts-d552ec7a.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00170--src-ux-sim-fake-app-source-world-ts-8decb8fc.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00180--src-ux-sim-fake-app-source-world-test-ts-62c86a9c.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00190--src-ux-sim-fake-google-drive-world-ts-ea35958c.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00200--src-ux-sim-fake-google-drive-world-test-ts-b1893a04.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00210--src-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-bfd2b9a0.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00220--src-ux-sim-fake-temp-cleanup-ts-78630a27.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00230--src-ux-sim-fake-temp-cleanup-test-ts-d0ed21bc.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00240--src-ux-sim-release-same-version-run-adoption-sim-ts-0a0b3e7e.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00250--src-ux-sim-release-same-version-run-adoption-sim-test-ts-e50288fb.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00260--src-ux-sim-graph-resume-any-entry-ts-f4e753c4.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00270--src-ux-sim-graph-resume-any-entry-test-ts-63d01d16.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00280--src-ux-sim-graph-compose-trigger-sim-test-ts.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00640--src-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00650--src-ux-sim-graph-run-lifecycle-world-test-ts-9a932579.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00000--multi-actor-world-20261110.json +38 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00010--sim-fake-providers-av-4883a32d.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00020--codex-wire-capture-1bb11a5e.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00030--fake-app-auth-a12b9d72.json +34 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00040--fake-app-traffic-10bb14b5.json +38 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00050--fake-app-realtime-b675ae5d.json +37 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00060--fake-llm-4e9d0461.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00070--fake-fetch-24e15acf.json +37 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00080--fake-data-guard-boundary-6d63fa1b.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00090--fake-executable-0d4932e9.json +52 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00100--fake-payment-36658cf7.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00110--git-worktree-accel-measure-f2e46787.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00120--fake-github-4447f89b.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00121--fake-cred.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00122--fake-feeds.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00130--fake-kubectl-1d602089.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00140--fault-nexus-stall-7854e333.json +29 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00150--warm-pool-reuse-sim-7748cb2f.json +45 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00160--fake-fleet-55e1776a.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00170--fake-herdr-61d3593c.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00180--fake-clock-89a347a7.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00190--fake-dns-cert-b17dcd51.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00200--fake-ssh-6012493b.json +29 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00210--fake-cloud-vm-990dc784.json +61 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00220--temp-git-remote-03a486eb.json +24 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00230--fake-land-queue-bc0138c9.json +39 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00240--world-runtime-d26d02c9.json +83 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00250--secret-canary-e8fd8f58.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00260--scenario-runner-a9afa458.json +42 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00270--sim-mailbox-d26bb613.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00280--draft-inventory-34f59a02.json +38 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00290--linear-secretary-ecf757fe.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00300--release-graph-rig-069c8c3b.json +133 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00310--graph-engine-selector-1b47d4df.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00320--sim-event-log-path-74a7df46.json +52 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00330--tui-interaction-8e9968ff.json +65 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00340--fault-injection-60e2a635.json +49 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00350--gate-receipt-file-closure-cas.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00350--grid-chaos-driver-312fbd1c.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00360--product-devices-b83cabdd.json +61 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00370--turn-throw-sim-fa6bd37b.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00380--first-run-and-seminar-f7ec0d9a.json +50 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00390--support-fakes-4ac8f28e.json +67 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00400--author-reviewer-precheck-29e760be.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00410--research-decision-chain-312201c5.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00420--sim-universe-world-lifecycle-0ccd91ce.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00430--sim-universe-world-yaml-schema-3a0c6c68.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00440--grid-ledger-95b7955f.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00450--telegram-video-receipt-3b9512a2.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00451--fake-telegram-outbound-briefing.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00460--aside-feedback-loop-4e4a0842.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00470--heal-reauthor-materialized-f16c0ffc.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00480--device-fidelity-b30563a6.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00490--install-consent-d43aab59.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00500--warm-si-reuse-sim-cd2ce529.json +44 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00510--pod-reuse-residue-fault-faeb368d.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00510--public-auth-provider-cloud-vm-sim-161386f5.json +43 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00510--warm-pool-declare-path-sim-553b1d90.json +37 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00520--fake-ps-d6df0bab.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00530--fake-app-storage-48587412.json +42 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00540--backend-tier-device-f32db49f.json +23 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00550--fake-higgsfield-b3207190.json +29 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00560--temp-git-repo-114a0526.json +23 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00570--rla-event-response-scorecard-a2c92bfd.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00580--app-contract-secret-entropy-e9beed1f.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00590--fake-app-drive-world-f2c3e58c.json +39 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00600--fake-app-source-world-445af8b0.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00610--fake-google-drive-world-c81301f3.json +40 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00620--fake-temp-cleanup-1d778211.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00630--git-push-timeout-partial-outcome-remote-verify-f90afeae.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00640--pod-reuse-match-by-kind-sim-ccc95426.json +37 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00650--pod-reuse-world-e1c91756.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00660--pr-land-drift-gate-31434d33.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00670--edge-creator-4d59199b.json +45 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00670--readiness-countdown-db1a7536.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00680--rla-context-release-status-arrival-event-740d889b.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00690--sim-catalog-manual-fragment-merge-sim-9a35f50d.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00700--git-fetch-fresh-skip-10e18190.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00700--smart-merge-world.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00710--pod-phase-prewarm-3bc0dd35.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00710--release-graph-receipt-audit.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00710--ta-land-count-dispatcher-sim.json +25 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00720--fake-bin-args-sim.json +29 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00730--pr-land-drift-autorepair-device.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00740--gate-closure-lazy-require-sim.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00890--worktree-deps-shared-store.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00900--fake-adb-phone-world.json +37 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--fake-android-client-b8b02ae9.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--gate-repair-multi-file-sim.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--phone-pwa-selfheal.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--release-same-version-run-adoption-sim-ff3df430.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00920--repo-git-maintenance.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01000--install-one-liner-failsafe.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01010--relay-edge-first-host-sim.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01010--seat-mail-wake-4e271489.json +38 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01020--control-serve-lease-default-sim.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01020--flutter-deploy-journey.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01020--pod-phase-prewarm-sim.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01030--pod-phase-prewarm-hit-sim.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--adaptive-graph-design.json +34 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--app-upgrade-path.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--fake-market-feed.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--graph-v2-lowering.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--light-rc-long-run-device-0d845681.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--sim-impact-unified-check-804f7466.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01041--plugin-yaml-gen.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01050--absorb-graph-v2-rungraph-4b5a6751.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01050--graph-policy-lint.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01050--mini-board-card-deb603f7.json +29 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01100--graph-trigger-hook-device.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01101--graph-trigger-registry-world.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01103--graph-event-entry-world.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01104--graph-placement-lease-world.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01110--sim-mapreduce-multihost.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01600--fake-absorb-ingest.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01610--graph-compose-trigger-sim.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01620--app-scratch-bootstrap.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01630--nl-scenario-proposal.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01650--network-sandbox.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01670--pod-federation-sim.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01680--fake-mobile-toolchain.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01690--fake-app-failures.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01700--sim-receipt-proof-658f05e1.json +38 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01700--world-regression-suite.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--fake-cloud-billing-world.json +41 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--fake-member-oidc-world.json +47 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--log-volume-world-4cfcdfcd.json +15 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--tool-router-world.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--train-manager-world.json +46 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01720--census-oracle-axis-world-6918999a.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01720--fake-agent-hook-host.json +39 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01720--next-tui-plugin-wizard.json +23 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01730--outbound-guard-sim-b65e7aca.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01740--graph-run-lifecycle-world-99feb920.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01750--hotspot-file-lease-world.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01850--pwa-static-swap.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01860--pwa-provenance-badge-world-6505d1f7.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01870--rla-macrophage-heal-timeout-stale-output.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/metadata.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00010--test-ux-sim-aimock-local-ts-346e03cb.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00020--test-telegram-surface-hitl-test-ts-1a40e9ff.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00030--src-ux-sim-safe-public-copy-publish-ts-fecca28c.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00040--src-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-bfd2b9a0.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00640--src-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00650--src-ux-sim-graph-run-lifecycle-world-test-ts-9a932579.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-1-fake-agent-hook-host--d684e4e6.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-1-graph-policy-lint--a3217972.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-mock-catalog-duplicate-36330--00a4c628.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-mock-catalog-glm-fallback-regression--3008ce2b.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-notify-capability--377e3b9b.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-sim-fake-app-failures-android-voice-photo-note--2cf7eecc.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-4-guardian-train-worker-lifecycle--81fc2727.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-4-simkit-receipt-badge--403f2c90.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-brief-graph-contract-36172--adebc8d7.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/gate-g2-36414-mapreduce-core--3d93d2ed.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/gate-g2-graph-instance-pause-cancel-fork--03ed48f5.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/gate-g2-mapreduce-core--8e0f99c7.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/graph-hook--6004207a.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/hotspot-file-lease-world--7a989baf.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-a-36129-numguard--6bf14d0e.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-b-graph-v2-lower--5cfb0e37.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-b-train-manager-world--d8aadd96.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-c-app-scratch-bootstrap-sim--5bc6aa66.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opc-next-tui-core-input--d3b85b0e.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opc-next-tui-fold-default--aee623bd.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opt-absorb-brief-graph-contract--322f06ec.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opt-sim-multi-actor--70a91caa.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-crawl-mock-catalog-4--6f2ee6aa.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-crawl-sim-fake-feeds--5f8bba8e.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-crawl-sim-real-target-sandbox--17a5454a.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-kaist-deploy-from-tui-pwa--e1c5986f.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-logvol-census-oracle-axis--eac8e1dd.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-logvol-gate-no-wallclock-1--a8ad27a8.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-logvol-log-volume-world--24e1d1ea.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-mkt-sim-regression-suite--c8633fb2.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-first-party-plugins-all--b202b190.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-graph-route-allowlist--565dc688.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-plugin-multi-active--a95dc218.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-search-only--f91a0e19.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-tool-router-world--4e6a7c56.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-warmpool-pod-warm-normalize--dc25fd37.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/sim-fake-cred--ef5d3497.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/tool-router-low-risk-native--4fcc1519.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/ux-mini-board-card-projection--1a257324.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/ux-resource-ledger-public-auth--9372a56f.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/ux-rla-pwa-formal-update--8b6d47f1.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/win-1-fake-cloud-billing-world--1dace52e.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/win-1-fake-market-feed-sim-impact-app-upgrade--7bbacec6.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/win-1-outbound-guard-sim--4c230f2f.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00010--ux-ms-01-73ee5d56.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00020--ux-ms-02-88d521fa.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00025--release-macrophage-heal-fd63c32d.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00030--release-graph-prepub-fanout-1beb8236.json +23 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00035--arg-macro-canvas-sim.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00036--release-graph-absorb-all-0307.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00040--release-macro-chain-e2e-1109.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00040--rla-rehearsal-cloud-resume-sim-1f54baa1.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00040--ux-ms-03-0888aa4c.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00050--ux-ms-04-46d9b0ff.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00060--ux-ms-05-d309d631.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00070--ux-ms-06-b87b5f50.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00080--ux-ms-07-45b8212b.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00090--ux-ms-08-d047fc5e.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00100--ux-ms-09-75e68cac.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00110--ux-ms-11-e621d4ea.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00120--ux-ms-12-af6a74c3.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00130--night-train-dead-pid-lock-9f67d397.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00140--author-precheck-applied-4a55eaf2.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00150--author-precheck-rejected-unprovable-08ab0402.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00160--safe-public-copy-publish-redaction-e80f0180.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00170--sw-freeze-d66deac8.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00180--sim-hq-move-7fc41ad6.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00190--sim-chain-land-c1305d4c.json +25 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00200--ux-ms-13-995bb160.json +25 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00210--app-contract-secret-entropy-bd4fecf8.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00220--app-source-snapshot-896a2618.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00230--app-web-drive-tenant-cd467e6c.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00240--git-push-timeout-partial-outcome-remote-verify-52419971.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00250--google-drive-list-readonly-90287835.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00250--ux-ms-pod-phase-prewarm.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00260--rla-launch-countdown-1107-f4b4bc86.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00260--ux-ms-pod-phase-prewarm-hit.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00270--task-temp-cleanup-a5f4b922.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00280--sim-release-same-version-run-adoption-0bc8d711.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00290--simkit-receipt-badge-dcacf46e.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01010--graph-resume-any-entry-sim-9bc2289f.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01020--flutter-deploy-journey.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01020--seat-mail-wake-all-addresses-365812cf.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01030--graph-run-lifecycle-pause-owner-death-6011d381.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01031--graph-run-lifecycle-cancel-owner-death-60832435.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01032--graph-run-lifecycle-fork-owner-death-b857f8a0.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01720--fake-agent-hook-host.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-exclusions/00010--scenarios-ux-sim-mk-ms-01-yaml-917748f2.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00010--md-ux-sim-aside-feedback-loop-ts-f21f1507.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00020--md-ux-sim-author-reviewer-precheck-device-ts-b2a9abd6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00030--md-ux-sim-backend-tier-device-ts-54b7fd84.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00040--md-ux-sim-boot-daemon-tools-pty-shell-device-ts-dd80678b.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00050--md-ux-sim-browser-hand-ts-d06db15a.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00060--md-ux-sim-burst-ready-ladder-sim-ts-6dad5f6c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00070--md-ux-sim-chain-land-ts-0343338c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00080--md-ux-sim-classic-tui-seat-scenarios-ts-20fee020.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00090--md-ux-sim-cli-config-audit-device-ts-ce53777f.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00100--md-ux-sim-codex-wire-capture-ts-8cda31a6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00110--md-ux-sim-computer-use-ts-ce46f504.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00120--md-ux-sim-dashboard-event-loop-stall-monitor-dev-aa29de9c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00130--md-ux-sim-device-fidelity-ts-f5cd1c2c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00140--md-ux-sim-draft-inventory-builder-ts-c942f9a2.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00150--md-ux-sim-event-monkey-ts-7a173131.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00160--md-ux-sim-fake-app-auth-ts-36fadfd1.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00170--md-ux-sim-fake-app-host-ts-f97c7aa0.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00180--md-ux-sim-fake-app-realtime-ts-25496e57.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00190--md-ux-sim-fake-app-storage-ts-4dd69d8d.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00200--md-ux-sim-fake-app-traffic-ts-f1f5e552.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00210--md-ux-sim-fake-bin-ts-cf8e7614.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00220--md-ux-sim-fake-browser-page-ts-cd408a66.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00230--md-ux-sim-fake-clock-ts-8ad5fbca.json +12 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00240--md-ux-sim-fake-cloud-vm-ts-6dd59466.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00250--md-ux-sim-fake-data-guard-boundary-ts-47048355.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00260--md-ux-sim-fake-dns-cert-ts-32045bf7.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00270--md-ux-sim-fake-elevenlabs-ts-35e342bf.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00280--md-ux-sim-fake-fetch-ts-65584925.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00290--md-ux-sim-fake-fleet-ts-1375b9f5.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00300--md-ux-sim-fake-gh-ts-7f98dfa3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00310--md-ux-sim-fake-herdr-ts-b888704c.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00320--md-ux-sim-fake-higgsfield-ts-998bff8d.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00330--md-ux-sim-fake-kubectl-ts-3c86b0f0.json +12 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00340--md-ux-sim-fake-land-queue-ts-8180eab3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00350--md-ux-sim-fake-linear-device-ts-b5add3d0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00360--md-ux-sim-fake-llm-ts-df79e477.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00370--md-ux-sim-fake-payment-ts-75de40a0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00380--md-ux-sim-fake-ps-ts-a0e17feb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00390--md-ux-sim-fake-ssh-ts-6a7a68f5.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00400--md-ux-sim-fake-stt-ts-a4be8d74.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00410--md-ux-sim-fake-telegram-video-ts-0a411065.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00420--md-ux-sim-fault-cred-expiry-ts-46ce5b1a.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00430--md-ux-sim-fault-glm-no-credential-ts-c9d22ea7.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00440--md-ux-sim-fault-needs-human-reason-repair-ts-79e657b4.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00450--md-ux-sim-fault-nextmove-dispatch-ts-732fedbb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00460--md-ux-sim-fault-nexus-stall-ts-a9476e07.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00470--md-ux-sim-fault-pod-child-result-ts-029c2b11.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00480--md-ux-sim-fault-pod-codex-503-ts-2095dc24.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00490--md-ux-sim-fault-pod-death-ts-c4332c01.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00500--md-ux-sim-fault-pod-reuse-residue-ts-f6ec0683.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00510--md-ux-sim-fault-pool-cap-ts-704a8fd1.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00520--md-ux-sim-fault-scope-escape-lift-ts-89d70ebb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00530--md-ux-sim-fault-sqlite-busy-ts-e55c6596.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00540--md-ux-sim-fault-tui-400-autoheal-ts-9c8c4c90.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00550--md-ux-sim-fixtures-git-worktree-accel-linux-json-292d13eb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00560--md-ux-sim-gate-roster-second-pool-ts-71ab79a0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00570--md-ux-sim-gate-shard-host-reroute-ts-d53fb003.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00580--md-ux-sim-goal-device-ts-081f27d5.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00590--md-ux-sim-goal-interim-trace-ts-a294f6eb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00600--md-ux-sim-graph-engine-sim-ts-b396d6cd.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00610--md-ux-sim-graph-runtime-overlay-event-path-ts-85e231ed.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00620--md-ux-sim-graph-runtime-overlay-event-path-worke-44d01497.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00630--md-ux-sim-grid-chaos-driver-ts-3aeaa007.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00640--md-ux-sim-grid-ledger-ts-47aa3bbf.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00650--md-ux-sim-grid-ready-tiers-ts-ce1a3d02.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00660--md-ux-sim-headless-tui-ts-efe53045.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00670--md-ux-sim-heal-reauthor-materialized-ts-f0885108.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00680--md-ux-sim-hq-move-sim-ts-3f87b093.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00690--md-ux-sim-in-process-cli-ts-a7cf98f0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00700--md-ux-sim-input-history-ts-373c28e3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00710--md-ux-sim-install-consent-device-ts-049427b0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00720--md-ux-sim-interaction-ts-1864df2b.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00730--md-ux-sim-linear-secretary-ts-325a38c0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00740--md-ux-sim-mock-authoring-first-run-child-ts-58346a8b.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00750--md-ux-sim-mock-authoring-first-run-ts-f6fa0f7c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00760--md-ux-sim-mock-device-requests-ts-eeefc29f.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00780--md-ux-sim-mock-scenario-catalog-ts-d5697910.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00790--md-ux-sim-mock-seat-pty-frame-child-ts-a918240e.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00800--md-ux-sim-mock-seat-pty-frame-ts-64ad26cd.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00810--md-ux-sim-mock-seat-pty-sequence-child-ts-942048e3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00820--md-ux-sim-mock-seat-pty-sequence-ts-6ea89eee.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00830--md-ux-sim-next-tui-seat-scenarios-ts-f6041f67.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00840--md-ux-sim-onboarding-first-run-device-ts-04866faf.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00850--md-ux-sim-pty-key-modifiers-device-ts-c223afb6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00860--md-ux-sim-release-event-trace-ts-2a3b45ba.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00870--md-ux-sim-release-publish-devices-ts-b6bcf64b.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00880--md-ux-sim-release-sim-rig-ts-05f20f16.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00890--md-ux-sim-render-frame-ts-275662e1.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00900--md-ux-sim-research-decision-chain-ts-9ba3915b.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00910--md-ux-sim-resume-picker-device-ts-9057ce38.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00920--md-ux-sim-rla-event-response-scorecard-ts-005ca7af.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00930--md-ux-sim-arg-macro-canvas-sim-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00930--md-ux-sim-safe-public-copy-publish-ts-b46b6ba6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00940--md-ux-sim-scenario-ts-409febfe.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00950--md-ux-sim-secret-canary-ts-b9d5f354.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00960--md-ux-sim-seminar-rehearsal-ts-c0dcc1cf.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00970--md-ux-sim-service-key-setup-ts-fc2578e7.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00980--md-ux-sim-session-id-seed-ts-12206acb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00990--md-ux-sim-sim-coverage-ts-fd46c0fe.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01000--md-ux-sim-skills-tools-shell-device-ts-a63ab153.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01010--md-ux-sim-slash-menu-frames-ts-fc04d9ce.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01020--md-ux-sim-flutter-deploy-journey-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01020--md-ux-sim-subagent-tools-device-ts-6ecdf005.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01030--md-ux-sim-task-agent-parent-host-device-ts-7a97b5f6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01040--md-ux-sim-task-agent-rejudge-on-head-device-ts-33893bfb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01050--md-ux-sim-task-orchestrator-surfaces-self-implem-18bdb425.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01060--md-ux-sim-temp-git-remote-ts-f64f9359.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01070--md-ux-sim-temp-git-repo-ts-cd68ece3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01080--md-ux-sim-term-slash-device-ts-e7ee79b6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01090--md-ux-sim-tool-async-fail-loop-ts-057c354d.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01100--md-ux-sim-tty-foreground-steal-child-ts-bfe16e86.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01110--md-ux-sim-turn-states-ts-c18238ab.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01120--md-ux-sim-turn-throw-sim-ts-36260397.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01130--md-ux-sim-warm-pool-reuse-sim-ts-47a18b34.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01140--md-ux-sim-warm-pool-reuse-switch-sim-ts-2b0a1583.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01150--md-ux-sim-warm-si-reuse-sim-ts-6e790b8d.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01160--md-ux-sim-world-chaos-runtime-ts-45e1a99c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01170--md-ux-sim-world-host-chaos-ts-9d61588e.json +12 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01180--md-ux-sim-world-schema-ts-7b596511.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01190--md-ux-sim-world-snapshot-ts-7d31ed92.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01200--md-ux-sim-world-store-ts-64cd54bf.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01210--md-ux-sim-world-ts-ad60826b.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01220--md-ux-sim-world-watch-ts-d45007fd.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01230--md-ux-sim-pod-reuse-world-ts-d8ea8bc8.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01240--md-ux-sim-app-contract-secret-entropy-ts-e4d19d66.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01250--md-ux-sim-app-kill-switch-world-ts-e89b604d.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01260--md-ux-sim-fake-app-db-world-ts-d394fe23.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01270--md-ux-sim-fake-app-drive-world-ts-f5bb931e.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01280--md-ux-sim-fake-app-source-concurrent-writer-ts-d342114a.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01290--md-ux-sim-fake-app-source-world-ts-4cdf1a61.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01300--md-ux-sim-fake-google-drive-world-ts-11b7f0da.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01310--md-ux-sim-fake-relay-world-ts-d4c096f5.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01320--md-ux-sim-fake-temp-cleanup-ts-299fbf77.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01330--md-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-c5185fb3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01340--md-ux-sim-multi-tenant-relay-world-ts-e2fc28d2.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01350--md-ux-sim-pod-reuse-match-by-kind-sim-ts-782c5911.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01360--md-ux-sim-pod-reuse-shared-fake-boundary-ts-a16285a5.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01370--md-ux-sim-pr-land-drift-gate-device-ts-3df0178e.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01380--md-ux-sim-readiness-countdown-ts-48cf04b4.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01390--md-ux-sim-train-manager-decision-sim-ts-9b4695ad.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01410--md-ux-sim-edge-creator-ts-b25cb517.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01420--md-ux-sim-pod-phase-prewarm-ts-a137c8d1.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01420--md-ux-sim-smart-merge-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01430--md-ux-sim-ta-land-count-dispatcher-sim-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01440--md-ux-sim-fake-bin-args-sim-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01450--md-ux-sim-pr-land-drift-autorepair-device-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01460--md-ux-sim-in-process-cli-539-file-adoption-sim-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01470--md-ux-sim-release-same-version-run-adoption-sim-ts-9e32e7d0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01480--md-ux-sim-fake-adb-phone-world-ts-76033333.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01490--md-ux-sim-fake-app-db-backup-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01500--md-ux-sim-gate-image-preflight-runtime-identity-flow-sim-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01510--md-ux-sim-device-catalog-snapshot-fragments-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01520--md-ux-sim-fake-android-client-ts-77f6d965.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01520--md-ux-sim-plugin-release-observe-route-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01530--md-ux-sim-pwa-retained-routes-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01540--md-ux-sim-gate-image-layered-delta-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01550--md-ux-sim-user-config-default-sparse-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01560--md-ux-sim-release-sim-rig-seat-guard-child-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01570--md-ux-sim-gate-steady-state-proof-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01580--md-ux-sim-user-config-tui-diet-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01590--md-ux-sim-edge-creator-nightly-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01600--md-ux-sim-fake-absorb-ingest-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01600--md-ux-sim-fake-telegram-outbound.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01610--md-ux-sim-app-upgrade-path-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01610--md-ux-sim-next-tui-core-input-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01611--md-ux-sim-plugin-yaml-gen-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01620--md-ux-sim-app-scratch-bootstrap-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01621--md-ux-sim-fake-nexus-board-server-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01622--md-ux-sim-graph-diff-apply-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01623--md-ux-sim-mapreduce-multihost.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01630--md-ux-sim-ios-chat-edge-adapter-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01640--md-ux-sim-nl-scenario-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01650--md-ux-sim-network-sandbox-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01660--md-ux-sim-next-tui-route-device-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01670--md-ux-sim-pod-federation-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01680--md-ux-sim-fake-mobile-toolchain-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01690--md-ux-sim-fake-feeds-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01690--md-ux-sim-multi-actor-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01690--md-ux-sim-sim-receipt-ts-fbac5ddd.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01691--md-ux-sim-fake-app-failures-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01700--md-ux-sim-world-regression-suite-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-fake-cloud-billing-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-fake-member-oidc-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-real-target-sandbox-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-tool-router-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-train-manager-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01720--md-ux-sim-census-oracle-axis-world-ts-0dd03008.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01720--md-ux-sim-fake-agent-hook-host-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01720--md-ux-sim-next-tui-plugin-wizard-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01730--md-ux-sim-outbound-guard-sim-ts-a885ec98.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01730--md-ux-sim-public-auth-provider-cloud-vm-sim-ts-6e424ea6.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01740--md-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01750--md-ux-sim-hotspot-file-lease-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01750--md-ux-sim-pwa-provenance-badge-world-ts-cf2acbfe.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01760--md-ux-sim-graph-trigger-hook-device-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01760--md-ux-sim-rla-macrophage-heal-timeout-stale-output-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01762--md-ux-sim-graph-event-entry-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01763--md-ux-sim-graph-placement-lease-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00010--ev-0042-8a37502e.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00020--ev-0107-09ba5618.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00030--hq-move-75a88e80.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00040--rla-er-01-68d954af.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00050--rla-er-02-1e5e64d1.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00060--rla-er-03-51a1b3d4.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00070--rla-er-04-8e22f866.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00080--rla-er-05-df87c68d.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00090--rla-er-06-ad13c028.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00100--rla-er-07-d2204757.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00110--rla-er-08-5ffce874.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00120--rla-er-09-f575779c.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00130--rla-er-10-ac9154fd.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00140--gate-pools-pinned-sweep-0c5e1f58.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00150--gate-mshq-unavailable-6f38fbd8.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00160--gate-both-unavailable-c4956825.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00170--gate-digest-mismatch-7b971872.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00180--gate-no-pinned-image-33bda9d9.json +5 -0
- package/graphs/apps/lecture-scrap-extract.yaml +10 -0
- package/graphs/apps/recipes.yaml +1 -0
- package/graphs/catalog/catalog.yaml +2 -2
- package/graphs/demo/kaist-key-feature/kaist-key-feature.yaml +30 -0
- package/graphs/demo/kaist-key-feature/recipes.yaml +1 -0
- package/graphs/demo/recipes.yaml +13 -0
- package/graphs/demo/solar-scene4.yaml +24 -0
- package/graphs/heal/heal-loop.yaml +10 -1
- package/graphs/heal/recipes.yaml +2 -0
- package/graphs/overlays/stop-heal-ladder.yaml +21 -0
- package/graphs/release/derive.json +37 -0
- package/graphs/release/macrophage-subscriber.yaml +21 -0
- package/graphs/release/node-command-bindings.json +18 -0
- package/graphs/release/plugin.json +34 -0
- package/graphs/release/recipes.yaml +78 -1
- package/graphs/release/release-edge-vocabulary.yaml +11 -0
- package/graphs/release/release-gate-domain-pack.yaml +9 -0
- package/graphs/release/release-graph.schema.yaml +7 -0
- package/graphs/release/release-loop-fanout.yaml +107 -0
- package/graphs/release/release-loop.yaml +84 -40
- package/graphs/release/rla/loop.yaml +30 -0
- package/graphs/release/rla/plugin.json +19 -0
- package/graphs/release/rla/recipes.yaml +11 -0
- package/graphs/release/rla/supervisor.yaml +23 -0
- package/graphs/templates/release/plugin.json +132 -0
- package/graphs/templates/release/recipes.yaml +20 -0
- package/graphs/templates/release/release-step.ts +27 -0
- package/graphs/templates/release/release.yaml +24 -0
- package/graphs/units/pod-reuse-prep.yaml +17 -0
- package/graphs/units/recipes.yaml +3 -0
- package/graphs/units/verbs/decide.yaml +19 -0
- package/graphs/units/verbs/make.yaml +19 -0
- package/graphs/units/verbs/recipes.yaml +10 -0
- package/graphs/units/verbs/watch.yaml +18 -0
- package/package.json +6 -1
- package/packs/gcp-architect-expand/content/decision-table.md +25 -0
- package/packs/gcp-architect-expand/content/security-decision-table.md +17 -0
- package/packs/gcp-architect-expand/knowledge-pack.json +12 -0
- package/plugins/absorb/graph/absorb-brief.yaml +63 -0
- package/plugins/absorb/graph/absorb-build.yaml +42 -0
- package/plugins/absorb/graph/absorb-ingest.yaml +18 -0
- package/plugins/absorb/graph/absorb-suggest-list.yaml +16 -0
- package/plugins/absorb/graph/recipes.yaml +1 -0
- package/plugins/absorb/graph/units/recipes.yaml +1 -0
- package/plugins/absorb/handlers/board-approval.ts +99 -0
- package/plugins/absorb/packs/member-apps/pack.yaml +14 -0
- package/plugins/absorb/plugin.json +276 -0
- package/plugins/absorb/plugin.yaml +102 -0
- package/plugins/absorb/sims/absorb-demo-world.yaml +44 -0
- package/plugins/absorb/skills/absorb/brief/SKILL.md +10 -0
- package/plugins/absorb/skills/absorb/build/SKILL.md +8 -0
- package/plugins/absorb/skills/absorb/card/SKILL.md +10 -0
- package/plugins/absorb/skills/absorb/suggest/SKILL.md +10 -0
- package/plugins/doc-draft/README.md +1 -1
- package/plugins/doc-draft/graphs/run-step.ts +7 -11
- package/plugins/elanous-app-deploy/plugin.json +34 -0
- package/plugins/elanous-app-deploy/skills/app-deploy/SKILL.md +5 -0
- package/plugins/elanous-observe/plugin.json +41 -0
- package/plugins/elanous-release/plugin.json +41 -0
- package/plugins/gcp-architect-expand/README.md +9 -0
- package/plugins/gcp-architect-expand/entitlements.json +28 -0
- package/plugins/gcp-architect-expand/graph.yaml +22 -0
- package/plugins/gcp-architect-expand/plugin.json +15 -0
- package/plugins/gcp-architect-expand/recipes.yaml +13 -0
- package/plugins/geo-check/README.md +2 -2
- package/plugins/geo-check/graphs/run-step.ts +6 -12
- package/plugins/graph-instance-view/fixtures/graph.view.json +24 -0
- package/plugins/graph-instance-view/fixtures/harness.view.json +21 -0
- package/plugins/graph-instance-view/fixtures/release.view.json +23 -0
- package/plugins/graph-instance-view/fixtures/resource.view.json +25 -0
- package/plugins/graph-instance-view/schema/view-model.v1.schema.json +126 -0
- package/plugins/iul-shared/materialize-intent-tool.ts +2 -1
- package/plugins/iul-shared/materializer.ts +2 -1
- package/plugins/kr-flow-composites/README.md +45 -0
- package/plugins/kr-flow-composites/graphs/battery-signal.yaml +22 -0
- package/plugins/kr-flow-composites/graphs/etf-price.yaml +12 -0
- package/plugins/kr-flow-composites/graphs/recipes.yaml +9 -0
- package/plugins/kr-flow-composites/graphs/sector-flow.yaml +18 -0
- package/plugins/kr-flow-composites/plugin.json +16 -0
- package/plugins/marketplace-market-data/graphs/units/market-ohlcv.yaml +23 -0
- package/plugins/marketplace-market-data/graphs/units/market-quote.yaml +21 -0
- package/plugins/marketplace-market-data/graphs/units/recipes.yaml +1 -0
- package/plugins/marketplace-market-data/plugin.json +23 -0
- package/plugins/marketplace-market-data/sims/n8n/execute-workflow-default.json +15 -0
- package/plugins/marketplace-market-data/sims/n8n/execute-workflow-explicit-contract.json +18 -0
- package/scripts/check-graph-declaration.ts +20 -2
- package/scripts/ci-android-unit-tests.ts +46 -2
- package/scripts/ci-pwa-build-gate.ts +22 -2
- package/scripts/ci-typecheck-changed.ts +22 -8
- package/scripts/cli-spawn-sites.ts +114 -0
- package/scripts/corpus-process-group.ts +55 -0
- package/scripts/corpus-worker-lifecycle.ts +2 -7
- package/scripts/cron-run.ts +1 -1
- package/scripts/device-real-drive.mjs +216 -0
- package/scripts/device-real-drive.test.mjs +168 -0
- package/scripts/docs/generate-cli-anatomy.ts +3 -4
- package/scripts/fixtures/nl-routing/corpus.jsonl +17 -0
- package/scripts/fleet/host-readiness-sim.sh +198 -0
- package/scripts/fleet/host-readiness.sh +218 -0
- package/scripts/fleet/node-setup.sh +9 -4
- package/scripts/fleet/wsl-node-setup.sh +1 -1
- package/scripts/gate-contract-shadow-collector.py +417 -0
- package/scripts/gate-contract-shadow-collector.test.py +176 -0
- package/scripts/generate-conductor-cell-map.ts +73 -0
- package/scripts/generate-mock-scenario-catalog.ts +26 -0
- package/scripts/generate-sim-world-device-catalogs.ts +38 -17
- package/scripts/generate-ux-sim-device-manual.ts +1 -1
- package/scripts/graph-dryrun-baseline.ts +166 -0
- package/scripts/heal/run-role.ts +8 -3
- package/scripts/hq-repo-maintenance-cycle.ts +24 -0
- package/scripts/import-graph-scc.ts +54 -8
- package/scripts/install.ps1 +234 -50
- package/scripts/install.sh +144 -10
- package/scripts/isolation-hardcode-baseline.txt +1 -1
- package/scripts/kr-flow-composites.ts +86 -0
- package/scripts/land-enqueue.test.sh +18 -4
- package/scripts/land-preflight.ts +103 -0
- package/scripts/lib/deterministic-env.ts +2 -5
- package/scripts/lib/install-test-package.ts +31 -0
- package/scripts/lib/install-test-tier.ts +13 -0
- package/scripts/lib/next-tui-budget.ts +189 -0
- package/scripts/lib/nl-routing-screening.ts +13 -0
- package/scripts/lib/tui-runtime-static-closure.ts +59 -0
- package/scripts/load/app-serve-burst.ts +203 -0
- package/scripts/load/app-serve-live.ts +68 -0
- package/scripts/load/members-signup-burst.ts +141 -0
- package/scripts/marketing/generate-feature-map.ts +14 -6
- package/scripts/measure-goal-grounding-corpus.ts +3 -4
- package/scripts/measure-nl-routing-corpus.ts +108 -12
- package/scripts/measure-tool-display-lines.ts +1 -1
- package/scripts/migrate-omni-market-secrets.ts +98 -0
- package/scripts/mission-request-judge.ts +6 -0
- package/scripts/morning-report.ts +2 -2
- package/scripts/next-tui-budget.ts +113 -0
- package/scripts/plugin-only-ratchet-baseline.json +267 -0
- package/scripts/plugin-only-ratchet.ts +213 -0
- package/scripts/plugins/generate-plugin-json.ts +95 -0
- package/scripts/public-leak-baseline.txt +0 -1
- package/scripts/qwen-pipeline-bench.ts +3 -7
- package/scripts/ratchets/test-interference-patterns.allowlist.txt +2 -22
- package/scripts/release-build.ts +5 -1
- package/scripts/release-loop/adaptive-gate-heal-adapter.ts +132 -0
- package/scripts/release-loop/adaptive-gate-heal.ts +191 -0
- package/scripts/release-loop/auto-approve-node.ts +35 -5
- package/scripts/release-loop/checklist-gate-node.ts +9 -1
- package/scripts/release-loop/contract-test-select.ts +127 -0
- package/scripts/release-loop/cut-branch.ts +248 -3
- package/scripts/release-loop/docs-node.ts +10 -10
- package/scripts/release-loop/emergency-publish-authorization.ts +29 -0
- package/scripts/release-loop/emergency-publish-gate-node.ts +129 -0
- package/scripts/release-loop/emergency-publish-switch-sim.ts +65 -0
- package/scripts/release-loop/emergency-publish-switch.ts +46 -0
- package/scripts/release-loop/export-check-node.ts +121 -11
- package/scripts/release-loop/export-check-remote.ts +146 -0
- package/scripts/release-loop/fixtures/gate-0307-key-diff.json +3293 -0
- package/scripts/release-loop/formal-receipt-radius.ts +32 -0
- package/scripts/release-loop/gate-api-leaf.ts +19 -0
- package/scripts/release-loop/gate-append-recheck-plan-node.ts +27 -0
- package/scripts/release-loop/gate-autoheal-sim-evidence.ts +2 -1
- package/scripts/release-loop/gate-baseline-isolated.ts +80 -0
- package/scripts/release-loop/gate-baseline-manifest.ts +12 -0
- package/scripts/release-loop/gate-baseline-receipt.ts +52 -14
- package/scripts/release-loop/gate-baseline.ts +14 -0
- package/scripts/release-loop/gate-bisect-owner-mail.ts +106 -0
- package/scripts/release-loop/gate-bisect-sidecar.ts +159 -0
- package/scripts/release-loop/gate-bisect.ts +146 -0
- package/scripts/release-loop/gate-closure.ts +771 -28
- package/scripts/release-loop/gate-constants.ts +2 -0
- package/scripts/release-loop/gate-contract-surfaces.json +150 -0
- package/scripts/release-loop/gate-cut-snapshot.ts +67 -0
- package/scripts/release-loop/gate-cutover-switch-node.ts +32 -0
- package/scripts/release-loop/gate-file-receipt-audit-node.ts +142 -0
- package/scripts/release-loop/gate-file-receipts.ts +195 -0
- package/scripts/release-loop/gate-git.ts +68 -0
- package/scripts/release-loop/gate-image-pin-handshake.ts +57 -0
- package/scripts/release-loop/gate-image-pin.ts +242 -3
- package/scripts/release-loop/gate-image-repair-node.ts +104 -0
- package/scripts/release-loop/gate-image-runtime-identity.ts +41 -0
- package/scripts/release-loop/gate-key-diff.ts +138 -0
- package/scripts/release-loop/gate-lazy-require-measure.ts +55 -0
- package/scripts/release-loop/gate-nightly-audits.ts +11 -0
- package/scripts/release-loop/gate-node-cli.ts +17 -0
- package/scripts/release-loop/gate-node-sim.ts +68 -16
- package/scripts/release-loop/gate-node.ts +5 -5157
- package/scripts/release-loop/gate-partial.ts +83 -2
- package/scripts/release-loop/gate-radius-live.ts +181 -22
- package/scripts/release-loop/gate-radius-shadow.ts +19 -4
- package/scripts/release-loop/gate-receipt-hash.ts +147 -0
- package/scripts/release-loop/gate-recheck-plan-node.ts +9 -4
- package/scripts/release-loop/gate-repair-node.ts +549 -0
- package/scripts/release-loop/gate-reuse-identity.ts +48 -0
- package/scripts/release-loop/gate-runtime.ts +5958 -0
- package/scripts/release-loop/gate-same-run-recheck-node.ts +102 -0
- package/scripts/release-loop/gate-shard-artifacts.ts +134 -0
- package/scripts/release-loop/gate-shard-dispatch.ts +158 -20
- package/scripts/release-loop/gate-shard-load-flaky.ts +84 -0
- package/scripts/release-loop/gate-shard-receipt-carry.ts +106 -0
- package/scripts/release-loop/gate-shard-receipts.ts +547 -30
- package/scripts/release-loop/gate-shard-shell.ts +227 -0
- package/scripts/release-loop/gate-skip-by-evidence-node.ts +80 -0
- package/scripts/release-loop/gate-stalled-evidence.ts +106 -0
- package/scripts/release-loop/gate-test-summary.ts +11 -0
- package/scripts/release-loop/gate-train-cas-adapter.ts +56 -0
- package/scripts/release-loop/gate-train-file-cas.ts +123 -0
- package/scripts/release-loop/gate-train-receipts.ts +24 -18
- package/scripts/release-loop/gate-triage-node.ts +427 -51
- package/scripts/release-loop/gate-triage-types.ts +51 -0
- package/scripts/release-loop/gate-types.ts +320 -0
- package/scripts/release-loop/gate-warm-artifacts.ts +48 -2
- package/scripts/release-loop/hand-response-node.ts +258 -0
- package/scripts/release-loop/import-graph-scc-run.ts +46 -1
- package/scripts/release-loop/import-graph-scc.ts +2 -1
- package/scripts/release-loop/known-issues-node.ts +2 -1
- package/scripts/release-loop/mac-smoke-node.ts +1 -1
- package/scripts/release-loop/node-verdict.ts +29 -3
- package/scripts/release-loop/preflight.ts +148 -51
- package/scripts/release-loop/publish-node.ts +43 -7
- package/scripts/release-loop/pwa-build-typecheck.ts +183 -0
- package/scripts/release-loop/pwa-formal-update-node.ts +19 -0
- package/scripts/release-loop/pwa-formal-update.ts +196 -0
- package/scripts/release-loop/pwa-remote.ts +29 -0
- package/scripts/release-loop/pwa-scenarios-node.ts +38 -4
- package/scripts/release-loop/regression-suite-node.ts +44 -0
- package/scripts/release-loop/release-readiness.ts +185 -5
- package/scripts/release-loop/remote-worktree-setup.sh +53 -0
- package/scripts/release-loop/render-warm-control-manifest.ts +33 -4
- package/scripts/release-loop/repair-pr-landed.ts +174 -0
- package/scripts/release-loop/resume-cap.ts +1 -1
- package/scripts/release-loop/resume-release.ts +302 -176
- package/scripts/release-loop/resume-types.ts +29 -0
- package/scripts/release-loop/resume.ts +38 -36
- package/scripts/release-loop/rla-event-response-scorecard-report.ts +277 -0
- package/scripts/release-loop/rolling-main-gate.ts +363 -0
- package/scripts/release-loop/sweep-cert.ts +300 -0
- package/scripts/release-loop/traffic-event-hook-sim.ts +26 -0
- package/scripts/release-loop/traffic-event-hook.ts +383 -0
- package/scripts/release-loop/train-verdict.ts +162 -0
- package/scripts/release-loop/unattended-release.ts +196 -7
- package/scripts/release-loop/version-node.ts +205 -25
- package/scripts/replay-phone-pwa-selfheal-trace.ts +16 -0
- package/scripts/resource-ledger-url.ts +60 -0
- package/scripts/seat-worktree-add.sh +32 -0
- package/scripts/signal-digest-photo.ts +1 -1
- package/scripts/sim-impact-check.ts +119 -0
- package/scripts/sim-impact.ts +413 -0
- package/scripts/sim-real-target-worker.ts +19 -0
- package/scripts/smoke-higgsfield-app-cli-session.ts +90 -0
- package/scripts/test-census/similar-search.ts +382 -0
- package/scripts/test-census-similar-search.ts +141 -0
- package/scripts/test-census.ts +570 -0
- package/scripts/test-deterministic.ts +64 -9
- package/scripts/test-diet/node.ts +1 -1
- package/scripts/tsc-diet-measure.ts +225 -0
- package/scripts/update-cli-spawn-allowlist.ts +46 -0
- package/scripts/update-tui-size-ratchet.ts +10 -0
- package/scripts/ux-sim/fixtures/op-snapshot-1109/gate-tier-lanes.py +170 -0
- package/scripts/ux-sim/fixtures/op-snapshot-1109/gate-tier.py +179 -0
- package/scripts/ux-sim/fixtures/op-snapshot-1109/train-batch-live.py +2881 -0
- package/scripts/ux-sim/fixtures/op-snapshot-1109/train-manager.py +1845 -0
- package/scripts/ux-sim/fixtures/train-gate-tier-1109/README.md +9 -0
- package/scripts/ux-sim/fixtures/train-gate-tier-1109/gate-tier.py +179 -0
- package/scripts/ux-sim/fixtures/train-gate-tier-1109/train-batch-live.py +2881 -0
- package/scripts/ux-sim/fixtures/train-gate-tier-1109/train-memory.py +102 -0
- package/scripts/ux-sim/sim-fake-bin-args-evidence.ts +179 -0
- package/scripts/ux-sim/test-train-edge-operational-replay.py +411 -0
- package/scripts/ux-sim/test-train-retry-file-map.py +71 -0
- package/scripts/ux-sim.ts +54 -3
- package/scripts/validate-graph-instance-view.ts +47 -0
- package/scripts/warm-pool-provider-config.ts +201 -23
- package/skills/omni-crawl/SKILL.md +31 -54
- package/skills/omni-crawl/scripts/main.ts +86 -276
- package/skills/omni-crawl/src/free.ts +1 -6
- package/skills/omni-crawl/src/registry.ts +124 -36
- package/skills/omni-crawl/src/router.ts +42 -85
- package/skills/omni-crawl/src/test-fetch-preload.ts +7 -0
- package/skills/omni-crawl/src/types.ts +5 -2
- package/src/acp/acp-surface-channels.ts +3 -2
- package/src/acp/client.ts +14 -14
- package/src/acp/codex-app-server-client.ts +157 -20
- package/src/acp/codex-elicitation-ask.ts +1 -4
- package/src/acp/core-turn-bridge.ts +3 -2
- package/src/acp/event-router.ts +5 -1
- package/src/acp/fs-roots.ts +1 -1
- package/src/acp/multi-llm-bridge.ts +2 -1
- package/src/acp/server.ts +52 -4
- package/src/acp/turn-runner.ts +1 -1
- package/src/ad-pipeline/fixtures/marketing-studio-video.schema.json +154 -0
- package/src/ad-pipeline/fixtures/seedance-2-0.schema.json +143 -0
- package/src/ad-pipeline/higgsfield-backend.ts +2 -1
- package/src/ad-pipeline/model-contracts.ts +1 -4
- package/src/ad-pipeline/product-video-command.ts +27 -0
- package/src/ad-pipeline/production-contract.ts +6 -0
- package/src/ad-pipeline/production.ts +1 -1
- package/src/ad-pipeline/qc.ts +1 -4
- package/src/ad-pipeline/run.ts +4 -6
- package/src/ad-pipeline/shoot-plan.ts +1 -1
- package/src/agent/agent-list-tool.ts +2 -1
- package/src/agent/agent-output-tool.ts +2 -1
- package/src/agent/agent-stop-tool.ts +2 -1
- package/src/agent/app-deploy-plugin.ts +237 -0
- package/src/agent/autonomous-tools.ts +2 -1
- package/src/agent/coding-core-tools.ts +2 -1
- package/src/agent/loader.ts +2 -1
- package/src/agent/monad-agent-turn.ts +1 -1
- package/src/agent/nest-depth.ts +2 -2
- package/src/agent/runner.ts +10 -8
- package/src/agent/shared-app-tools.ts +8 -4
- package/src/agent/subagent-callable.ts +2 -1
- package/src/agent/terminal-surface.ts +2 -1
- package/src/agent/types.ts +2 -1
- package/src/agent-mission/driver.ts +7 -4
- package/src/agent-substrate/acp-implementer.ts +1 -1
- package/src/agent-substrate/pr-reviewer.ts +3 -0
- package/src/agent-substrate/self-review-cli.ts +79 -11
- package/src/agent-team/team-tools.ts +2 -1
- package/src/approval-modal.ts +14 -4
- package/src/ask-user-question/inline-resolver.ts +2 -1
- package/src/ask-user-question/tool.ts +2 -1
- package/src/auth/setup-link-tokens.fixture.ts +10 -1
- package/src/auth/setup-link-tokens.ts +176 -0
- package/src/auto-research/auto-mode/tool-enter.ts +2 -1
- package/src/auto-research/auto-mode/tool-exit.ts +2 -1
- package/src/auto-research/question-ladder-contract.ts +2 -9
- package/src/auto-research/tools/budget.ts +2 -1
- package/src/auto-research/tools/question-queue.ts +2 -1
- package/src/auto-research/tools/research-plan.ts +2 -1
- package/src/auto-research/tools/termination-check.ts +2 -1
- package/src/autopilot/build/llm-conflict-merge.ts +1 -1
- package/src/autopilot/build/nocturnal-deps.ts +1 -1
- package/src/autopilot/elanous-builtin-runner.ts +3 -2
- package/src/autopilot/gh-rest-fallback.ts +8 -4
- package/src/autopilot/lineage/timeline.ts +1 -1
- package/src/autopilot/llm-control-brain.ts +1 -1
- package/src/autopilot/mission-arc-preflight.ts +7 -2
- package/src/autopilot/mission-briefing-live.ts +1 -1
- package/src/autopilot/mission-budget.ts +1 -1
- package/src/autopilot/mission-codebase-gate.ts +9 -17
- package/src/autopilot/mission-decide-tool.ts +2 -1
- package/src/autopilot/mission-engine.ts +1 -1
- package/src/autopilot/mission-grounding-ladder.ts +17 -329
- package/src/autopilot/mission-history.ts +1 -1
- package/src/autopilot/mission-incident-context.ts +2 -1
- package/src/autopilot/mission-loop-policy.ts +1 -1
- package/src/autopilot/mission-notify.ts +1 -1
- package/src/autopilot/mission-origin.ts +1 -1
- package/src/autopilot/mission-phase-budget.ts +1 -1
- package/src/autopilot/mission-registry.ts +3 -7
- package/src/autopilot/mission-route-decision.ts +1 -1
- package/src/autopilot/mission-se-bridge.ts +2 -1
- package/src/autopilot/mission-tool.ts +2 -1
- package/src/autopilot/mission-trace.ts +1 -1
- package/src/autopilot/pr-manager.ts +134 -10
- package/src/autopilot/reuse-existence-explorer.ts +1 -1
- package/src/autopilot/state-paths.ts +2 -2
- package/src/autopilot/tool-registry.ts +2 -1
- package/src/autopilot/track-agent.ts +1 -1
- package/src/autopilot/track-courier.ts +2 -1
- package/src/background-reasoning/patcher-llm-resolver.ts +1 -1
- package/src/boot/daemon-prompt-turn.ts +8 -2
- package/src/boot/daemon-tools/delegate-agent.ts +3 -2
- package/src/boot/daemon-tools/edit.ts +2 -1
- package/src/boot/daemon-tools/grep.ts +2 -1
- package/src/boot/daemon-tools/index.ts +4 -1
- package/src/boot/daemon-tools/plan.ts +2 -1
- package/src/boot/daemon-tools/pty-shell.ts +2 -1
- package/src/boot/daemon-tools/read.ts +2 -1
- package/src/boot/daemon-tools/self-implement.ts +2 -1
- package/src/boot/daemon-tools/types.ts +6 -1
- package/src/boot/daemon-tools/web-search.ts +2 -1
- package/src/boot/daemon-tools/web-terminal.ts +2 -1
- package/src/boot/daemon-tools/write.ts +2 -1
- package/src/briefing/brief-items.ts +3 -6
- package/src/briefing/claim-key.ts +4 -0
- package/src/budget/llm-cost.ts +6 -11
- package/src/capture/capture-tools.ts +2 -1
- package/src/capture/compare-panes.ts +2 -1
- package/src/capture/watch-pane.ts +2 -1
- package/src/cft/tools/andon-list.ts +2 -1
- package/src/cft/tools/emit-process-health.ts +2 -1
- package/src/cft/tools/escalate-ladder.ts +2 -1
- package/src/cft/tools/escalate-signal.ts +2 -1
- package/src/cft/tools/ishikawa-analyze.ts +2 -1
- package/src/cft/tools/pareto-analyze.ts +2 -1
- package/src/cft/tools/quick-kill-triage.ts +2 -1
- package/src/cft/tools/resolve-escalation.ts +2 -1
- package/src/cft/tools/root-cause-analyze.ts +2 -1
- package/src/cft/tools/run-dmaic.ts +2 -1
- package/src/cft/tools/run-fmea.ts +2 -1
- package/src/cft/tools/run-pdca.ts +2 -1
- package/src/cft/tools/write-a3.ts +2 -1
- package/src/channel-bot-token.ts +1 -1
- package/src/chat/chat-cli.ts +4 -1
- package/src/chat/hud-render.ts +1 -1
- package/src/chat/hud-segments-wire.ts +1 -1
- package/src/chat/index.ts +81 -58
- package/src/chat/pickers/state.ts +31 -4
- package/src/chat/solar-scene5-context.ts +65 -0
- package/src/chat/tool-render/dispatch.ts +12 -15
- package/src/chat/tool-render/types.ts +1 -1
- package/src/cli/agent-cli.ts +127 -12
- package/src/cli/app-cli.ts +108 -2
- package/src/cli/brief-cli.ts +1 -1
- package/src/cli/child-plugin-runtime.ts +62 -0
- package/src/cli/control-cli.ts +153 -13
- package/src/cli/cred-cli.ts +144 -0
- package/src/cli/decisions-cli.ts +1 -1
- package/src/cli/doctor-cli.ts +5 -2
- package/src/cli/doctor-readiness.ts +2 -2
- package/src/cli/guardian-cli.ts +1 -1
- package/src/cli/hooks-cli.ts +1 -1
- package/src/cli/hotspot-start-forecast.ts +57 -0
- package/src/cli/intake-source-cli.ts +1 -1
- package/src/cli/light-entry-route.ts +4 -1
- package/src/cli/llm-cli.ts +44 -0
- package/src/cli/llm-detect-cli.ts +31 -6
- package/src/cli/llm-mode-flag.ts +37 -0
- package/src/cli/logs-cli.ts +5 -2
- package/src/cli/logs-timeline.ts +1 -1
- package/src/cli/machine-apply-from-capture.ts +133 -0
- package/src/cli/machine-capture.ts +356 -0
- package/src/cli/machine-cli.ts +14 -1
- package/src/cli/machine-membership.ts +350 -0
- package/src/cli/machine-setup-apply.ts +176 -0
- package/src/cli/machine-setup-plan.ts +392 -0
- package/src/cli/machine-wsl-diagnosis.ts +342 -0
- package/src/cli/machine-wsl-setup.ts +710 -0
- package/src/cli/mcp-diagnose.ts +2 -2
- package/src/cli/mcp-login.ts +41 -14
- package/src/cli/member-key-token-cli.ts +75 -0
- package/src/cli/mission-config.ts +1 -1
- package/src/cli/msg-cli.ts +94 -14
- package/src/cli/msg-list-cli.ts +2 -2
- package/src/cli/nexus-show.ts +9 -210
- package/src/cli/open-guard.ts +95 -0
- package/src/cli/ops-cli.ts +2 -34
- package/src/cli/ops-status-remote.ts +2 -41
- package/src/cli/pod-cli.ts +1 -1
- package/src/cli/pr-cli.ts +373 -44
- package/src/cli/pr-land-conductor-map.ts +99 -0
- package/src/cli/pr-land-contract-shadow.ts +39 -0
- package/src/cli/pr-land-drift-radar.ts +348 -0
- package/src/cli/pr-land-drift-repair.ts +7 -5
- package/src/cli/pr-land-heavy-remote.ts +32 -13
- package/src/cli/pr-land-overlap-evidence.ts +135 -2
- package/src/cli/pr-land-pod-shadow-job.ts +1 -1
- package/src/cli/pr-land-refusal.ts +9 -0
- package/src/cli/pr-land-remote-git.ts +125 -0
- package/src/cli/provider-cli.ts +4 -10
- package/src/cli/pty-drive-cli.ts +1 -1
- package/src/cli/pwa-show-contract.ts +49 -0
- package/src/cli/pwa-show.ts +4 -24
- package/src/cli/pwa-test.ts +3 -3
- package/src/cli/q-cli.ts +124 -0
- package/src/cli/release-checklist-read-cli.ts +40 -3
- package/src/cli/release-checklist-remote.ts +114 -0
- package/src/cli/release-checklist-write.ts +1 -1
- package/src/cli/release-cli.ts +181 -45
- package/src/cli/release-run-status-cli.ts +135 -0
- package/src/cli/remote-eln-pty.ts +1 -1
- package/src/cli/resource-ledger-cli.ts +61 -1
- package/src/cli/review-carry.ts +82 -0
- package/src/cli/role-cli.ts +1 -1
- package/src/cli/secret-cli.test-helpers.ts +7 -0
- package/src/cli/secret-cli.ts +251 -101
- package/src/cli/self-update.ts +22 -6
- package/src/cli/setup-cli.ts +3 -1
- package/src/cli/setup-keys.ts +91 -4
- package/src/cli/shell-confirmation-policy.ts +45 -0
- package/src/cli/sim-cli.ts +190 -8
- package/src/cli/sim-suggest-cli.ts +34 -0
- package/src/cli/tailscale-serve.ts +2 -2
- package/src/cli/task-launch-supervisor.ts +79 -0
- package/src/cli/tasks-cli.ts +185 -44
- package/src/cli/usage-cli.ts +1 -1
- package/src/cli/voice-nl-switch.ts +2 -1
- package/src/cli/voice-status.ts +2 -1
- package/src/clipboard/image-attachment.ts +21 -0
- package/src/clipboard/paste.ts +28 -0
- package/src/code-edit/apply.ts +1 -1
- package/src/code-edit/plan-tool.ts +2 -1
- package/src/code-edit/tools.ts +2 -1
- package/src/codex/setup.ts +2 -4
- package/src/compact/auto.ts +1 -1
- package/src/conductor/tools/classify-goal.ts +2 -1
- package/src/context-bus/context-now-surfaces.ts +9 -4
- package/src/context-bus/context-now.ts +315 -29
- package/src/context-bus/external-events.ts +22 -9
- package/src/control-plane/member-tokens.ts +38 -11
- package/src/control-plane/remote-primary-candidates.ts +58 -0
- package/src/control-plane/server.ts +12 -0
- package/src/conv-substrate/message-block.ts +11 -0
- package/src/core-turn/child-liveness-heartbeat.ts +4 -2
- package/src/core-turn/run-core-turn.ts +8 -6
- package/src/core-turn/run-goal-loop.ts +2 -1
- package/src/core-turn/types.ts +2 -1
- package/src/crawl-capabilities/contracts.ts +130 -0
- package/src/crawl-capabilities/graph-extract.ts +41 -0
- package/src/crawl-capabilities/graph-registry.ts +66 -0
- package/src/crawl-capabilities/reddit.ts +44 -0
- package/src/crawl-capabilities/scrap-extract.ts +11 -0
- package/src/dashboard/acp-active-model.ts +1 -1
- package/src/dashboard/acp-boot.ts +2 -1
- package/src/dashboard/auto-compact-runtime.ts +1 -1
- package/src/dashboard/browser-chord-runtime.ts +3 -13
- package/src/dashboard/chat/acp-chat.ts +1 -1
- package/src/dashboard/classic-sidetab-mission.ts +2 -1
- package/src/dashboard/classic-tui-dispatch.ts +22 -0
- package/src/dashboard/compact-surface-assembly.ts +0 -2
- package/src/dashboard/compact-surface-dispatch.ts +0 -5
- package/src/dashboard/compact-surface-inventory.ts +0 -1
- package/src/dashboard/compact-surface-runtime.ts +0 -2
- package/src/dashboard/first-screen-band.ts +2 -50
- package/src/dashboard/index.ts +258 -2168
- package/src/dashboard/input/chat-main-acp-dispatch.ts +0 -120
- package/src/dashboard/input/chat-main-interaction-opts.ts +0 -32
- package/src/dashboard/input/chat-main-plain-turn-runtime.ts +0 -14
- package/src/dashboard/input/chat-main-visibility.ts +0 -2
- package/src/dashboard/input/dashboard-default-tool-builders.ts +2 -1
- package/src/dashboard/input/dashboard-plain-turn-stream.ts +7 -97
- package/src/dashboard/input/dashboard-priority-key-route.ts +0 -56
- package/src/dashboard/input/dashboard-view-shortcuts.ts +2 -7
- package/src/dashboard/input/mouse-conversation-popup-runtime.ts +1 -1
- package/src/dashboard/input/mouse-modal-hit-runtime.ts +1 -1
- package/src/dashboard/input/mouse-modal-surface-runtime.ts +1 -1
- package/src/dashboard/input/mouse-mode-switch-runtime.ts +1 -1
- package/src/dashboard/input/mouse-pane-hit-runtime.ts +1 -1
- package/src/dashboard/input/mouse-picker-runtime.ts +2 -2
- package/src/dashboard/input/mouse-status-line.ts +134 -0
- package/src/dashboard/input/mouse-wiring-loader.ts +13 -0
- package/src/dashboard/input/mouse-wiring-types.ts +346 -0
- package/src/dashboard/input/mouse-wiring.ts +33 -897
- package/src/dashboard/input/slash-executor.ts +1 -24
- package/src/dashboard/modals/pane.ts +0 -1
- package/src/dashboard/optional-tool-spec-runtime.ts +5 -36
- package/src/dashboard/panes/nav.ts +1 -1
- package/src/dashboard/plan-board-runtime.ts +1 -4
- package/src/dashboard/plan-mode-toggle-action.ts +2 -4
- package/src/dashboard/plugin-route-adapter.ts +350 -0
- package/src/dashboard/preview-widget-runtime.ts +0 -12
- package/src/dashboard/runtime/approvers.ts +14 -0
- package/src/dashboard/runtime/tui-deploy-confirm-channel.ts +59 -0
- package/src/dashboard/scenario-tools-boot.ts +32 -0
- package/src/dashboard/setup-inline.ts +2 -7
- package/src/dashboard/shell-slash-runtime.ts +0 -1
- package/src/dashboard/slash-runtime/dashboard-handlers.ts +32 -194
- package/src/dashboard/slash-runtime/decide-slash.ts +1 -60
- package/src/dashboard/slash-runtime/model-choices.ts +1 -1
- package/src/dashboard/slash-runtime/shell-slash.ts +0 -6
- package/src/dashboard/tool-catalog-observability.ts +2 -1
- package/src/dashboard/turn-lifecycle-runtime.ts +2 -1
- package/src/dashboard/widget-modal-popup.ts +2 -2
- package/src/debug/log.ts +17 -100
- package/src/debug/secret-redaction.ts +98 -0
- package/src/debug/tui-log-tag.ts +2 -7
- package/src/decisions/decide-slash.ts +60 -0
- package/src/decisions/decision-ledger.ts +84 -10
- package/src/decisions/decision-linear-projection.ts +2 -1
- package/src/decisions/discord-decision-cards.ts +1 -1
- package/src/decisions/telegram-decision-cards.ts +1 -1
- package/src/design/open-design-client.ts +2 -1
- package/src/design/screen-contrast.ts +1 -1
- package/src/discord-agent.ts +1 -1
- package/src/discord-self-message.ts +4 -4
- package/src/discord-slash-wire.ts +1 -1
- package/src/discord-test-runner.ts +2 -1
- package/src/discord-voice-wire.ts +1 -1
- package/src/discord.ts +1 -1
- package/src/dispatch/authored-goal-queue.ts +1 -4
- package/src/dispatch/continuation-turn-runner.ts +3 -2
- package/src/dispatch/dig-goal-armer.ts +1 -1
- package/src/dispatch/replay-goal-armer.ts +1 -1
- package/src/display/hit-target.ts +1 -1
- package/src/display/modal-types-registry.ts +2 -7
- package/src/domains/coo-admin-tool.ts +3 -2
- package/src/domains/core-tools.ts +59 -2
- package/src/domains/cron-match.ts +2 -1
- package/src/domains/dart.ts +3 -2
- package/src/domains/dashboard-data.ts +1 -1
- package/src/domains/dig-engine.ts +3 -2
- package/src/domains/elanous-data-dir.ts +7 -3
- package/src/domains/fact-check.ts +2 -1
- package/src/domains/finance-tools.ts +4 -3
- package/src/domains/finance.ts +1 -1
- package/src/domains/guardian-tick.ts +2 -1
- package/src/domains/kg-consolidate.ts +1 -1
- package/src/domains/kg-extract.ts +3 -2
- package/src/domains/knowledge.ts +10 -0
- package/src/domains/logs-tool.ts +2 -1
- package/src/domains/macro-store.ts +1 -1
- package/src/domains/market-posture-store.ts +13 -28
- package/src/domains/market-quote.ts +1 -1
- package/src/domains/morning-detail.ts +96 -1
- package/src/domains/morning-essential.ts +3 -2
- package/src/domains/morning-report.ts +2 -2
- package/src/domains/morning-synthesis.ts +1 -1
- package/src/domains/opportunity-analysis.ts +1 -1
- package/src/domains/ops-facts-tool.ts +2 -1
- package/src/domains/ops-status-tool.ts +2 -1
- package/src/domains/outbound-alert.ts +2 -1
- package/src/domains/regime-db-path.ts +3 -0
- package/src/domains/regime-store.ts +2 -3
- package/src/domains/release-tool.ts +5 -4
- package/src/domains/retro-report.ts +3 -2
- package/src/domains/schedule-health-report.ts +1 -1
- package/src/domains/schedule-manage-tool.ts +2 -1
- package/src/domains/schedule-registry.ts +1 -1
- package/src/domains/schedule-runner.ts +1 -1
- package/src/domains/schedule-state.ts +2 -1
- package/src/domains/se-build-tool.ts +2 -1
- package/src/domains/sec-13f.ts +1 -1
- package/src/domains/self-awareness-tool.ts +2 -1
- package/src/domains/session-query-tool.ts +2 -1
- package/src/domains/taste-capture.ts +1 -1
- package/src/domains/taste-propose.ts +1 -1
- package/src/domains/taste-sentiment.ts +1 -1
- package/src/domains/telegram-channels.ts +1 -1
- package/src/domains/telegram-kind-route.ts +1 -1
- package/src/domains/trade-decision-tool.ts +2 -1
- package/src/domains/trailing-stops.ts +2 -1
- package/src/domains/us-pulse.ts +3 -2
- package/src/domains/watch-default-scheduler.ts +2 -2
- package/src/domains/weekly-alpha.ts +3 -2
- package/src/drag-session-dashboard-wire.ts +1 -2
- package/src/error-report/report.ts +1 -1
- package/src/esc-abort-gate.ts +19 -1
- package/src/eval-prompt-cli.ts +78 -20
- package/src/execution-history.ts +4 -3
- package/src/expression/a11y.ts +1 -1
- package/src/expression/config/layers.ts +3 -11
- package/src/expression/i18n/types.ts +1 -1
- package/src/feedback/media.ts +10 -14
- package/src/finder/finder-modal.ts +1 -11
- package/src/fleet/cloud-burst-auto.ts +265 -0
- package/src/fleet/cloud-burst-runtime.ts +146 -0
- package/src/git-fs/git-cli.ts +508 -10
- package/src/git-fs/runner.ts +252 -1
- package/src/git-fs/worktree.ts +626 -41
- package/src/goals/slash.ts +0 -2
- package/src/graph-kinds/registry.ts +2 -2
- package/src/graph-runner/arg-open-proposal.ts +171 -0
- package/src/graph-runner/arg-supervisor.ts +281 -0
- package/src/graph-runner/capabilities.ts +243 -0
- package/src/graph-runner/capability-providers/market-data/INVENTORY-1109.md +48 -0
- package/src/graph-runner/capability-providers/market-data/README.md +25 -0
- package/src/graph-runner/capability-providers/market-data/arg-stock-all-providers-sim.ts +83 -0
- package/src/graph-runner/capability-providers/market-data/arg-stock-sim.ts +179 -0
- package/src/graph-runner/capability-providers/market-data/coingecko.ts +20 -0
- package/src/graph-runner/capability-providers/market-data/contract.ts +69 -0
- package/src/graph-runner/capability-providers/market-data/ecos.ts +38 -0
- package/src/graph-runner/capability-providers/market-data/eodhd.ts +56 -0
- package/src/graph-runner/capability-providers/market-data/finnhub.ts +49 -0
- package/src/graph-runner/capability-providers/market-data/fred.ts +28 -0
- package/src/graph-runner/capability-providers/market-data/free-declarations.ts +49 -0
- package/src/graph-runner/capability-providers/market-data/index.ts +14 -0
- package/src/graph-runner/capability-providers/market-data/kis.ts +118 -0
- package/src/graph-runner/capability-providers/market-data/kr-daily-sources.ts +42 -0
- package/src/graph-runner/capability-providers/market-data/krx.ts +54 -0
- package/src/graph-runner/capability-providers/market-data/market-secrets.ts +14 -0
- package/src/graph-runner/capability-providers/market-data/omni-sources.ts +133 -0
- package/src/graph-runner/capability-providers/market-data/registry.ts +85 -0
- package/src/graph-runner/capability-providers/market-data/stock-common.ts +54 -0
- package/src/graph-runner/capability-providers/market-data/toss.ts +124 -0
- package/src/graph-runner/capability-providers/market-data/upbit.ts +20 -0
- package/src/graph-runner/capability-providers/notify.ts +138 -0
- package/src/graph-runner/declared-heal-edges.ts +158 -0
- package/src/graph-runner/graph-approval-card.ts +6 -5
- package/src/graph-runner/graph-cli.ts +93 -6
- package/src/graph-runner/graph-events.ts +202 -0
- package/src/graph-runner/graph-grow-llm.ts +2 -1
- package/src/graph-runner/graph-instance.ts +254 -0
- package/src/graph-runner/graph-manifest-loader.ts +254 -0
- package/src/graph-runner/graph-notify.ts +1 -1
- package/src/graph-runner/graph-subscriptions.ts +112 -0
- package/src/graph-runner/graph-tick.ts +103 -27
- package/src/graph-runner/in-process-registry.ts +14 -0
- package/src/graph-runner/plugin-graph-entry.ts +120 -0
- package/src/graph-runner/provider-context.ts +28 -0
- package/src/graph-runner/release-gate-cutover-policy.ts +10 -0
- package/src/graph-runner/release-graph-manifest.ts +237 -0
- package/src/graph-runner/runner-primitives.ts +16 -0
- package/src/graph-runner/runner-routing.ts +136 -0
- package/src/graph-runner/runner-types.ts +243 -0
- package/src/graph-runner/runner.ts +2393 -334
- package/src/graph-runner/unit-shape.ts +76 -0
- package/src/graph-v2/lower.ts +514 -0
- package/src/graph-v2/n8n-import.ts +105 -0
- package/src/graph-wizard/generate.ts +1 -4
- package/src/graph-wizard/steps.ts +2 -2
- package/src/grok/credential.ts +3 -1
- package/src/grok.ts +1 -1
- package/src/grounding/sources-cli.ts +2 -1
- package/src/guardian/host-lease-policy.ts +21 -0
- package/src/guardian/host-lease.ts +219 -0
- package/src/harness/browser-verify.ts +1 -1
- package/src/harness/dispatch-backpressure.ts +1 -1
- package/src/harness/generic-skill-executor.ts +2 -4
- package/src/harness/grounding/mission-grounding-ladder.ts +346 -0
- package/src/harness/harness-cli-command.ts +1 -53
- package/src/harness/harness-salvage-cli.ts +1 -1
- package/src/harness/harness-substrate-default.ts +6 -2
- package/src/harness/helper-repair.ts +2 -1
- package/src/harness/launch-stamp.ts +2 -1
- package/src/harness/nested-elanous-policy.ts +1 -1
- package/src/harness/pod-memory-policy.ts +188 -0
- package/src/harness/repository-name.ts +2 -1
- package/src/hitl/confirm.ts +3 -0
- package/src/hooks/dispatch.ts +2 -2
- package/src/hooks/receiver.ts +2 -1
- package/src/hq/fence.ts +1 -1
- package/src/hq/hq.ts +25 -1
- package/src/hq/promote.ts +1 -1
- package/src/hq/repo-maintenance-schedule.ts +60 -0
- package/src/hq/repo-maintenance.ts +344 -0
- package/src/hq/seats.ts +34 -20
- package/src/hq/transfer.ts +1 -1
- package/src/import/apply.ts +1 -1
- package/src/index.ts +123 -128
- package/src/input-core/audit-tail.ts +1 -1
- package/src/input-core/slash-filter.ts +32 -0
- package/src/instance/child-scope.ts +2 -1
- package/src/instance/test-write-guard.ts +3 -3
- package/src/instance-identity.ts +2 -2
- package/src/intake-plane/absorb-extract.ts +83 -0
- package/src/intake-plane/adapters/discord-ambient.ts +1 -1
- package/src/intake-plane/adapters/telegram-ambient.ts +1 -1
- package/src/intake-plane/ambient.ts +1 -1
- package/src/intake-plane/core.ts +32 -0
- package/src/intake-plane/discord-seat-work.ts +2 -1
- package/src/intake-plane/event-state.ts +61 -0
- package/src/intake-plane/items.ts +92 -37
- package/src/intake-plane/linear-secretary-runtime.ts +4 -3
- package/src/intake-plane/requirement-funnel.ts +4 -3
- package/src/intake-plane/route.ts +5 -62
- package/src/intake-plane/runtime-callables.ts +1 -1
- package/src/intake-plane/slash.ts +2 -1
- package/src/intake-plane/telegram-seat-work.ts +2 -1
- package/src/intake-plane/wish-benchmark-ledger.ts +91 -11
- package/src/intake-plane/wish-reply.ts +1 -1
- package/src/intelligence-map/model-watch-mission.ts +2 -2
- package/src/intelligence-map/tools/intelligence-map.ts +2 -1
- package/src/intelligence-map/tools/route-to-model.ts +2 -1
- package/src/keybindings.ts +2 -9
- package/src/knowhow/pack.ts +1 -4
- package/src/knowledge/tools/knowledge-query.ts +2 -1
- package/src/knowledge/tools/knowledge-write.ts +2 -1
- package/src/light-cli.ts +5 -0
- package/src/llm/bedrock-provider.ts +2 -2
- package/src/llm/difficulty.ts +2 -1
- package/src/llm/hq-proxy-provider.ts +84 -0
- package/src/llm/judge-layer.ts +2 -1
- package/src/llm/model-defaults.ts +2 -1
- package/src/llm/output-budget.ts +19 -0
- package/src/llm/provider-capabilities.ts +80 -0
- package/src/llm/provider-credentials.ts +44 -3
- package/src/llm/provider-detect.ts +2 -1
- package/src/llm/role-llm-cli.ts +2 -7
- package/src/llm/role-stream.ts +57 -0
- package/src/llm/route-decision.ts +1 -1
- package/src/llm/runtime-model-family.ts +1 -1
- package/src/llm/stream-fallback.ts +38 -0
- package/src/llm/stream-text.ts +8 -0
- package/src/llm/subscription-first.ts +4 -3
- package/src/llm/tool-spec.ts +45 -0
- package/src/llm/usable-llm.ts +2 -1
- package/src/llm/wire/harmony.ts +365 -0
- package/src/llm/zai-coding-plan.ts +1 -1
- package/src/llm.ts +174 -534
- package/src/loops/agent-reply.ts +4 -2
- package/src/loops/budget.ts +1 -1
- package/src/loops/checker-contract.ts +39 -0
- package/src/loops/checker.ts +6 -56
- package/src/loops/fixtures/checker-registry-cycle/checker.js +1 -0
- package/src/loops/fixtures/checker-registry-cycle/helper.js +1 -0
- package/src/loops/fixtures/checker-registry-cycle/registry.js +1 -0
- package/src/loops/fixtures/checker-registry-cycle/schedule-checker.js +1 -0
- package/src/loops/fixtures/checker-registry-cycle/schedule-due.js +1 -0
- package/src/loops/graph-trigger-dispatch-lease.ts +227 -0
- package/src/loops/graph-trigger-dispatch.ts +95 -0
- package/src/loops/msg-address.ts +29 -9
- package/src/loops/msg-wake.ts +299 -45
- package/src/loops/orchestrator/coordinator-shadow.ts +4 -1
- package/src/loops/orchestrator/inbox-once.ts +1 -1
- package/src/loops/orchestrator/inbox.ts +1 -1
- package/src/loops/orchestrator/overlap.ts +53 -12
- package/src/loops/orchestrator/seat-share.ts +1 -1
- package/src/loops/orchestrator/sim-impact-audit.ts +67 -0
- package/src/loops/orchestrator/tick.ts +129 -10
- package/src/loops/registry-contract.ts +39 -0
- package/src/loops/registry.ts +27 -36
- package/src/loops/schedule-due.ts +18 -0
- package/src/loops/seat-registry.ts +72 -0
- package/src/loops/train/decisions.ts +242 -0
- package/src/loops/train/hotspot-radius-ordering.ts +63 -0
- package/src/loops/train/worker-lifecycle.ts +228 -0
- package/src/maturity/bot-command-maturity.ts +1 -1
- package/src/maturity/feature-maturity.ts +15 -49
- package/src/maturity/tui-slash-maturity.ts +3 -5
- package/src/mcp/mcp-oauth.ts +168 -145
- package/src/mcp/server.ts +1 -1
- package/src/memory-intent.ts +13 -0
- package/src/memory.ts +5 -1
- package/src/model-tier/auto-route.ts +2 -2
- package/src/model-tier/llm-tier-map.ts +4 -2
- package/src/model-tier/review-effort.ts +1 -1
- package/src/model-tier/setup-suggest.ts +1 -1
- package/src/model-tier/simple-question-fast-route.ts +24 -0
- package/src/model-tier/tier-resolver.ts +1 -1
- package/src/model-tier/turn-tier.ts +2 -2
- package/src/models/prompts.ts +1 -1
- package/src/mouse-action-recipes.ts +5 -362
- package/src/msg/msg-hook.ts +115 -0
- package/src/msg/msg-post-office.ts +145 -11
- package/src/msg/msg-sse-server.ts +45 -1
- package/src/msg/msg-store.ts +22 -10
- package/src/mss/identity-store.ts +62 -0
- package/src/mss/log-enrich.ts +1 -1
- package/src/mss/logging/diagnostic-sink.ts +90 -0
- package/src/mss/logging/gate-correlation.ts +110 -0
- package/src/mss/logging/horizon-watch.ts +4 -4
- package/src/mss/logging/log-federation.ts +19 -9
- package/src/mss/logging/log-safety-net.ts +7 -7
- package/src/mss/logging/log-store.ts +44 -22
- package/src/mss/logging/sinks/otel-genai-sink.ts +2 -2
- package/src/mss/trace-context.ts +1 -1
- package/src/mss/ulid.ts +36 -0
- package/src/mss/uri/builder.ts +1 -1
- package/src/native-tool-catalog.ts +81 -7
- package/src/nexus/api/app-host-scoped-resolver.ts +11 -0
- package/src/nexus/api/audio-stt.ts +15 -13
- package/src/nexus/api/autopilot-api.ts +1 -68
- package/src/nexus/api/board-api.ts +437 -0
- package/src/nexus/api/briefings-api.ts +108 -0
- package/src/nexus/api/channel-ask-op.ts +3 -38
- package/src/nexus/api/chat-tier-intent.ts +2 -1
- package/src/nexus/api/config-model-tier.ts +2 -6
- package/src/nexus/api/consult-requests.ts +2 -1
- package/src/nexus/api/design-check.ts +1 -1
- package/src/nexus/api/discord-trigger-bot.ts +1 -1
- package/src/nexus/api/event-bus.ts +17 -0
- package/src/nexus/api/events.ts +11 -1
- package/src/nexus/api/field-uploads.ts +73 -0
- package/src/nexus/api/graph-approvals-feed.ts +1 -1
- package/src/nexus/api/graph-route-allowlist.ts +8 -0
- package/src/nexus/api/grid.ts +1 -1
- package/src/nexus/api/grokbot-trigger-bot.ts +1 -1
- package/src/nexus/api/hq-llm-proxy.ts +154 -0
- package/src/nexus/api/http-server.ts +500 -87
- package/src/nexus/api/ingest-token.ts +3 -46
- package/src/nexus/api/intake-route.ts +1 -1
- package/src/nexus/api/llm-rotation.ts +2 -11
- package/src/nexus/api/mcp-widget-call-route.ts +22 -20
- package/src/nexus/api/member-event-store.ts +205 -0
- package/src/nexus/api/merge-approvals.ts +1 -1
- package/src/nexus/api/meta-api.ts +12 -1
- package/src/nexus/api/next-fluent-wiring.ts +1 -1
- package/src/nexus/api/openrouter-oauth.ts +184 -0
- package/src/nexus/api/operator.ts +1 -1
- package/src/nexus/api/ops-api.ts +154 -9
- package/src/nexus/api/ops-seats-sources.ts +1 -1
- package/src/nexus/api/outbound-report.ts +1 -1
- package/src/nexus/api/private-file-lock.ts +61 -0
- package/src/nexus/api/public-routes.ts +89 -2
- package/src/nexus/api/resource-ledger.ts +10 -5
- package/src/nexus/api/scraps.ts +154 -0
- package/src/nexus/api/seat-requests.ts +1 -1
- package/src/nexus/api/setup-child-llm.ts +8 -18
- package/src/nexus/api/setup-codex-login.ts +15 -3
- package/src/nexus/api/setup-credentials.fixture.ts +12 -0
- package/src/nexus/api/setup-credentials.ts +144 -0
- package/src/nexus/api/setup-obsidian-skills.ts +2 -1
- package/src/nexus/api/static-app.ts +8 -7
- package/src/nexus/api/telegram-trigger-bot.ts +5 -3
- package/src/nexus/api/tls-edge.ts +23 -0
- package/src/nexus/api/ux-sim-devices.ts +1 -4
- package/src/nexus/api/worktrees.ts +1 -1
- package/src/nexus/apps/app-actions.ts +361 -0
- package/src/nexus/apps/app-auth.ts +204 -0
- package/src/nexus/apps/app-contract.ts +151 -11
- package/src/nexus/apps/app-credential-capability.ts +14 -0
- package/src/nexus/apps/app-db-backup.ts +443 -0
- package/src/nexus/apps/app-db.ts +984 -0
- package/src/nexus/apps/app-deployment-owner.ts +28 -0
- package/src/nexus/apps/app-github-mirror.ts +224 -0
- package/src/nexus/apps/app-host.ts +456 -25
- package/src/nexus/apps/app-jobs.ts +347 -0
- package/src/nexus/apps/app-lifecycle-ledger.race-worker.ts +12 -0
- package/src/nexus/apps/app-lifecycle-ledger.ts +245 -0
- package/src/nexus/apps/app-promote.ts +116 -0
- package/src/nexus/apps/app-publish.ts +231 -0
- package/src/nexus/apps/app-realtime.ts +224 -0
- package/src/nexus/apps/app-screen-render.ts +207 -0
- package/src/nexus/apps/app-simulate.ts +5 -5
- package/src/nexus/apps/app-simulation-db.ts +113 -0
- package/src/nexus/apps/app-simulation-route.ts +104 -0
- package/src/nexus/apps/app-simulation-runner.ts +392 -0
- package/src/nexus/apps/app-simulation.ts +103 -0
- package/src/nexus/apps/app-site-deploy.ts +321 -0
- package/src/nexus/apps/app-source-snapshot.ts +385 -0
- package/src/nexus/apps/app-storage-route.ts +127 -0
- package/src/nexus/apps/app-storage.ts +416 -0
- package/src/nexus/apps/app-upload.ts +49 -0
- package/src/nexus/apps/console-address.ts +41 -0
- package/src/nexus/apps/drive-contract.ts +59 -0
- package/src/nexus/apps/funnel-observe.ts +194 -0
- package/src/nexus/apps/higgsfield-backend.ts +200 -0
- package/src/nexus/apps/higgsfield-cli-session.ts +157 -0
- package/src/nexus/apps/made-with-badge.ts +216 -0
- package/src/nexus/boot/register-mcp-clients.ts +1 -1
- package/src/nexus/config/secrets/app-secret-ledger.ts +241 -0
- package/src/nexus/config/secrets/cred-health.ts +58 -0
- package/src/nexus/config/secrets/cred-owner.ts +116 -0
- package/src/nexus/config/secrets/cred-slot-schema.ts +27 -0
- package/src/nexus/config/secrets/cred-slot-wizard.ts +37 -0
- package/src/nexus/config/secrets/cred-slots.ts +53 -0
- package/src/nexus/config/secrets/file-backend.ts +239 -10
- package/src/nexus/config/secrets/index.ts +80 -2
- package/src/nexus/config/secrets/registry.ts +71 -5
- package/src/nexus/config/secrets/types.ts +8 -0
- package/src/nexus/config/secrets.ts +8 -0
- package/src/nexus/config/types.ts +4 -0
- package/src/nexus/daemon-endpoint.ts +2 -1
- package/src/nexus/index.ts +449 -21
- package/src/nexus/members/google-signin.ts +157 -0
- package/src/nexus/members/member-store.ts +658 -0
- package/src/nexus/members/member-token-api.ts +66 -0
- package/src/nexus/members/members-api.ts +531 -0
- package/src/nexus/outbound/format.ts +2 -0
- package/src/nexus/outbound/grokbot-adapter.ts +1 -1
- package/src/nexus/outbound/router.ts +7 -4
- package/src/nexus/pwa-resolution.ts +116 -0
- package/src/nexus/setup-status.ts +67 -2
- package/src/nexus/state/state.ts +8 -0
- package/src/nexus/static-dir-resolve.ts +1 -1
- package/src/notifications/bell-modal.ts +2 -0
- package/src/notifications/outbound-boot.ts +1 -1
- package/src/notifications/store.ts +2 -1
- package/src/oauth/codex-account-store.ts +27 -15
- package/src/oauth/codex-browser-login.ts +16 -0
- package/src/oauth/codex-owner-mirror.ts +44 -10
- package/src/oauth/codex.ts +1 -0
- package/src/oauth/provider-access-mirror.ts +46 -0
- package/src/oauth/store.ts +102 -10
- package/src/obsidian/vault-write-guard.ts +1 -1
- package/src/onboarding/first-chat-gate.ts +1 -1
- package/src/onboarding/first-run.ts +2 -4
- package/src/onboarding/help/llm.md +13 -0
- package/src/onboarding/key-setup.ts +1 -1
- package/src/onboarding/summary.ts +1 -1
- package/src/onboarding/web-first.ts +13 -8
- package/src/onboarding.ts +2 -5
- package/src/ops/overview-cache.ts +4 -3
- package/src/org/seat-budget.ts +2 -1
- package/src/org/stall-escalation.ts +1 -1
- package/src/plan-mode/tool-enter.ts +5 -3
- package/src/plan-mode/tool-exit.ts +3 -2
- package/src/platform/host-id.ts +1 -1
- package/src/plugin-hooks/events.ts +2 -1
- package/src/plugin-missions/llm-tools.ts +2 -1
- package/src/plugin-routes/llm-tools.ts +2 -1
- package/src/plugin-workflows/llm-tools.ts +2 -1
- package/src/plugins/core/declared-handler.ts +51 -0
- package/src/plugins/core/host.ts +221 -146
- package/src/plugins/core/manifest.ts +61 -1
- package/src/plugins/core/plugin-yaml.ts +157 -0
- package/src/plugins/core/route-adapter.ts +215 -0
- package/src/plugins/core/trust-store.ts +4 -3
- package/src/plugins/core/types.ts +7 -0
- package/src/plugins/install/plugin-install.ts +30 -3
- package/src/plugins/maker/plugin-maker.ts +1 -1
- package/src/policy/llm-policy.ts +2 -1
- package/src/pr-tool/census.ts +32 -10
- package/src/primitives/guards.ts +48 -0
- package/src/prompt-cache/anthropic.ts +2 -1
- package/src/prompt-cache/types.ts +2 -0
- package/src/prompt-enhance/enhance.ts +8 -4
- package/src/prompt-library/chat-conciseness.ts +1 -1
- package/src/prompt-library/registry.ts +1 -1
- package/src/provider-summary.ts +2 -1
- package/src/pty-shell/herdr-prompt.ts +62 -18
- package/src/pty-shell/pty-control-ipc.ts +5 -2
- package/src/registry/discovery/config.ts +2 -1
- package/src/relay/app-kill-switch.ts +310 -0
- package/src/relay/channel.ts +5 -0
- package/src/relay/host-connector.ts +577 -0
- package/src/relay/mux.ts +43 -12
- package/src/relay/relay-cli.ts +131 -6
- package/src/relay/relay-member-verifier.ts +36 -0
- package/src/relay/relay-server.ts +590 -20
- package/src/release-loop/auto-start.ts +32 -7
- package/src/release-loop/checklist.ts +25 -9
- package/src/release-loop/cloud-vm-adapter.ts +64 -0
- package/src/release-loop/feature-store.ts +1 -1
- package/src/release-loop/gate-host-reservation.ts +71 -2
- package/src/release-loop/gate-shard-ledger.ts +195 -6
- package/src/release-loop/gate-shards.ts +85 -15
- package/src/release-loop/gate-timeout-owner-cell.ts +266 -0
- package/src/release-loop/graph-event-adapters.ts +172 -0
- package/src/release-loop/incident-policy-handler.ts +78 -0
- package/src/release-loop/knowhow/pwa-host-heal.ts +92 -0
- package/src/release-loop/light-rc.ts +160 -15
- package/src/release-loop/macrophage-heal-node.ts +309 -0
- package/src/release-loop/macrophage-heal.ts +238 -0
- package/src/release-loop/macrophage-incident-recovery.ts +132 -0
- package/src/release-loop/macrophage-repair-ladder.ts +246 -0
- package/src/release-loop/macrophage-safe-cleanup.ts +150 -0
- package/src/release-loop/merged-pr-checklist.ts +151 -1
- package/src/release-loop/op-channel.ts +117 -0
- package/src/release-loop/placement-ceo-load.ts +72 -0
- package/src/release-loop/placement-config.ts +28 -0
- package/src/release-loop/placement.ts +10 -85
- package/src/release-loop/rehearsal-cloud-host.ts +190 -0
- package/src/release-loop/rehearsal.ts +183 -35
- package/src/release-loop/release-failure-attribution.ts +410 -0
- package/src/release-loop/release-note.ts +1 -4
- package/src/release-loop/release-schedule.ts +6 -3
- package/src/release-loop/rubric.ts +1 -1
- package/src/release-loop/stage-mail.ts +16 -11
- package/src/release-loop/waiver-events.ts +328 -0
- package/src/repl/agent-turn.ts +3 -2
- package/src/repl/dispatch-meta.ts +2 -6
- package/src/repl/index.ts +218 -16
- package/src/repl/next-tui-message-blocks.ts +71 -0
- package/src/repl/shell-snapshot-router.ts +55 -0
- package/src/research/axis-fanout.ts +13 -13
- package/src/research/bloom-exemplars.ts +1 -3
- package/src/research/edge-decision.ts +1 -4
- package/src/research/lenses/working-backwards.ts +2 -9
- package/src/research/plugin-discovery.ts +1 -1
- package/src/research-bridge/crawl.ts +5 -0
- package/src/research-bridge/index.ts +5 -0
- package/src/resource-ledger/guardian-host-lease-heartbeat-worker.ts +27 -0
- package/src/resource-ledger/guardian-reconcile.ts +4 -1
- package/src/resource-ledger/host-readiness.ts +27 -0
- package/src/resource-ledger/resource-ledger.ts +336 -6
- package/src/retro/daily.ts +1 -1
- package/src/roles/machine-name.ts +3 -8
- package/src/roles/machine-profile-contract.ts +8 -0
- package/src/roles/machine-profile.ts +22 -4
- package/src/roles/role-lease-read.ts +1 -0
- package/src/runtime-identity.ts +68 -0
- package/src/scenarios/catalog.ts +1 -4
- package/src/scenarios/shorthand.ts +1 -4
- package/src/seat-dispatch/ceo-intent.ts +1 -1
- package/src/seat-loop/seat-loop.ts +2 -1
- package/src/seat-loop/seat-report.ts +2 -1
- package/src/self-dev/app-scratch-bootstrap.ts +47 -0
- package/src/self-dev/decompose.ts +2 -5
- package/src/self-dev/dev-cli.ts +18 -4
- package/src/self-dev/dev-pipeline.ts +29 -4
- package/src/self-dev/draft-sweep.ts +1 -2
- package/src/self-dev/entrance-baseline.ts +0 -52
- package/src/self-dev/review-provider-fallback.ts +1 -1
- package/src/self-dev/run-record-mirror.ts +1 -1
- package/src/self-dev/run-store-checkpoint.ts +53 -0
- package/src/self-dev/run-store-contract.ts +56 -0
- package/src/self-dev/run-store.ts +11 -110
- package/src/self-dev/run-supervisor.ts +131 -1
- package/src/self-dev/run-types.ts +4 -1
- package/src/self-dev/self-orchestrate-runtime.ts +3 -2
- package/src/self-dev/shard-run.ts +29 -7
- package/src/self-dev/sim-impact-wording.ts +51 -0
- package/src/self-dev/supervisor-verdict-edges.ts +1 -0
- package/src/self-implement/auto-open-pr.ts +1 -1
- package/src/self-implement/budget-gate.ts +2 -6
- package/src/self-implement/child-llm-preference.ts +1 -7
- package/src/self-implement/context-capsule-store.ts +1 -4
- package/src/self-implement/execution-clarification.ts +1 -1
- package/src/self-implement/follow-up-goals.ts +1 -1
- package/src/self-implement/gate-cli.ts +251 -4
- package/src/self-implement/gate-receipt-registry.ts +95 -4
- package/src/self-implement/gate-remote.ts +23 -6
- package/src/self-implement/goal-author-clarification.ts +2 -4
- package/src/self-implement/goal-author-cli.ts +1 -1
- package/src/self-implement/goal-author-decompose.ts +10 -13
- package/src/self-implement/goal-author.ts +38 -20
- package/src/self-implement/goal-documents-dir.ts +2 -1
- package/src/self-implement/graph-authority.ts +1 -1
- package/src/self-implement/graph-overlay-condition.ts +1 -1
- package/src/self-implement/graph-unit-flatten.ts +8 -1
- package/src/self-implement/graph-unit-resolver.ts +64 -16
- package/src/self-implement/graph-yaml.ts +404 -17
- package/src/self-implement/headless-elanous-driver.ts +21 -6
- package/src/self-implement/heal-intake.ts +1 -1
- package/src/self-implement/host-regate.ts +7 -3
- package/src/self-implement/l8-merge-queue.ts +75 -1
- package/src/self-implement/merge-train.ts +294 -28
- package/src/self-implement/observe-only.ts +1 -1
- package/src/self-implement/orchestrator.ts +1 -1
- package/src/self-implement/pod-warm-pool-profile.ts +64 -5
- package/src/self-implement/run-checkpoint.ts +2 -2
- package/src/self-implement/run-ledger-archive.ts +252 -0
- package/src/self-implement/run-ledger-compact.ts +6 -248
- package/src/self-implement/run-ledger-paths.ts +27 -0
- package/src/self-implement/run-ledger.ts +4 -19
- package/src/self-implement/seams.ts +2 -1
- package/src/self-implement/self-implement-cli.ts +1 -1
- package/src/self-implement/self-implement-runtime.ts +3 -2
- package/src/self-implement/stop-autoheal.ts +12 -2
- package/src/self-implement/train-gate-receipt.ts +6 -2
- package/src/session/channel-op-reply-route.ts +12 -0
- package/src/session/chat.ts +50 -14
- package/src/session/compact-session.ts +1 -1
- package/src/session/index.ts +3 -0
- package/src/session/request-size-guard.ts +2 -1
- package/src/session/search-index.ts +16 -4
- package/src/session/session-context.ts +3 -1
- package/src/session-runtime/index.ts +16 -7
- package/src/session-runtime/tier-flip.ts +70 -24
- package/src/setup/cred-import-scan.ts +307 -0
- package/src/setup/llm-env-detect.ts +1 -1
- package/src/setup/service-key-catalog.ts +13 -6
- package/src/setup/service-keys.ts +5 -3
- package/src/shell-runner/index.ts +0 -2
- package/src/sidetab-core/model.ts +2 -1
- package/src/signal/lifecycle-record.ts +1 -8
- package/src/sim-world-device-catalog-history.json +3747 -0
- package/src/skills/connect.ts +2 -1
- package/src/skills/runner.ts +35 -215
- package/src/skills/shared-agent-skill-roots.ts +0 -3
- package/src/skills/skill-manifest.ts +211 -0
- package/src/skills/tools/acp-session.ts +3 -2
- package/src/skills/tools/agent-handoff.ts +2 -1
- package/src/skills/tools/agent-reply.ts +2 -1
- package/src/skills/tools/agent-room.ts +2 -1
- package/src/skills/tools/agent.ts +2 -1
- package/src/skills/tools/announce-completion.ts +2 -1
- package/src/skills/tools/api-call.ts +2 -1
- package/src/skills/tools/ast-grep.ts +2 -1
- package/src/skills/tools/browser-iphone.ts +2 -1
- package/src/skills/tools/budget.ts +2 -1
- package/src/skills/tools/capture-inject.ts +2 -1
- package/src/skills/tools/capture-source.ts +2 -1
- package/src/skills/tools/context.ts +2 -1
- package/src/skills/tools/control.ts +2 -1
- package/src/skills/tools/dashboard-config.ts +2 -1
- package/src/skills/tools/dashboard-slash.ts +2 -1
- package/src/skills/tools/dashboard-state.ts +2 -1
- package/src/skills/tools/dashboard-view.ts +5 -16
- package/src/skills/tools/dashboard-widget.ts +2 -1
- package/src/skills/tools/dev-harness.ts +2 -1
- package/src/skills/tools/edit.ts +2 -1
- package/src/skills/tools/glob.ts +2 -1
- package/src/skills/tools/grep.ts +3 -2
- package/src/skills/tools/index.ts +2 -1
- package/src/skills/tools/input-policy.ts +2 -1
- package/src/skills/tools/kr-flow.ts +2 -1
- package/src/skills/tools/lane-handoff.ts +2 -1
- package/src/skills/tools/list-dir.ts +2 -1
- package/src/skills/tools/llm-install.ts +2 -1
- package/src/skills/tools/llm-manager.ts +2 -1
- package/src/skills/tools/lsp/index.ts +3 -2
- package/src/skills/tools/lsp/pool.ts +1 -1
- package/src/skills/tools/lsp/server-registry.ts +2 -2
- package/src/skills/tools/market-quote.ts +2 -1
- package/src/skills/tools/mermaid-syntax.ts +2 -1
- package/src/skills/tools/mermaid.ts +2 -1
- package/src/skills/tools/msg-ask.ts +2 -1
- package/src/skills/tools/omni-search.ts +2 -1
- package/src/skills/tools/ops-ledger.ts +2 -1
- package/src/skills/tools/persistent-grounding.ts +2 -1
- package/src/skills/tools/phone-adb.ts +497 -0
- package/src/skills/tools/pty.ts +2 -1
- package/src/skills/tools/read.ts +2 -1
- package/src/skills/tools/relay-shell.ts +2 -1
- package/src/skills/tools/route.ts +2 -1
- package/src/skills/tools/run-tests.ts +2 -1
- package/src/skills/tools/schedule-wakeup.ts +2 -3
- package/src/skills/tools/set-hint.ts +2 -1
- package/src/skills/tools/shell-runner.ts +2 -1
- package/src/skills/tools/shell.ts +3 -2
- package/src/skills/tools/solve-mission.ts +2 -1
- package/src/skills/tools/spawn-coding-agent-headless.ts +2 -1
- package/src/skills/tools/terminal-matrix.ts +2 -1
- package/src/skills/tools/terminal-modal-inject.ts +2 -1
- package/src/skills/tools/terminal-modal.ts +2 -1
- package/src/skills/tools/theme-control.ts +2 -1
- package/src/skills/tools/tool-search-route.ts +5 -3
- package/src/skills/tools/tool-search-spec.ts +4 -2
- package/src/skills/tools/tool-search.ts +96 -3
- package/src/skills/tools/tty-snapshot.ts +2 -1
- package/src/skills/tools/web-search.ts +2 -1
- package/src/skills/tools/webfetch.ts +2 -1
- package/src/skills/tools/widget-inspector.ts +2 -1
- package/src/skills/tools/write.ts +2 -1
- package/src/skills/tools/youtube-transcript.ts +2 -1
- package/src/state/bridges/index.ts +0 -2
- package/src/state/bridges/plugin-host.ts +60 -29
- package/src/state/index.ts +0 -1
- package/src/status/bar.ts +0 -43
- package/src/status/popups.ts +2 -3
- package/src/status/status-provider-info.ts +2 -1
- package/src/steward/directive.ts +1 -1
- package/src/steward/rejudge-tick.ts +1 -1
- package/src/steward/triage.ts +1 -1
- package/src/storage/file-lock.ts +6 -3
- package/src/storage/object-store.ts +47 -4
- package/src/storage/s3.ts +1 -1
- package/src/surface/llm-tools.ts +4 -3
- package/src/task-agent/entrance-shadow.ts +1 -4
- package/src/task-agent/map-reduce.ts +103 -12
- package/src/task-agent/map-run-ledger.ts +113 -0
- package/src/task-agent/parent-host.ts +37 -4
- package/src/task-agent/rejudge-on-head.ts +1 -1
- package/src/task-agent/task-hand.ts +1 -1
- package/src/task-agent/task-parent-role-llm.ts +2 -1
- package/src/task-orchestrator/boot.ts +1 -1
- package/src/task-orchestrator/external-policy.ts +1 -1
- package/src/task-orchestrator/runtimes/create.ts +2 -1
- package/src/task-orchestrator/runtimes/decompose.ts +2 -1
- package/src/task-orchestrator/runtimes/dispatch.ts +2 -1
- package/src/task-orchestrator/runtimes/get.ts +2 -1
- package/src/task-orchestrator/runtimes/kill.ts +2 -1
- package/src/task-orchestrator/runtimes/list.ts +2 -1
- package/src/task-orchestrator/runtimes/update.ts +2 -1
- package/src/task-orchestrator/surfaces/pod-command-job.ts +265 -26
- package/src/task-orchestrator/surfaces/pod-config-snapshot.ts +1 -1
- package/src/task-orchestrator/surfaces/pod-gate-deps.ts +19 -2
- package/src/task-orchestrator/surfaces/pod-gate-volume-ref.ts +308 -0
- package/src/task-orchestrator/surfaces/pod-host-acp-review.ts +1 -1
- package/src/task-orchestrator/surfaces/pod-image-source.ts +18 -3
- package/src/task-orchestrator/surfaces/pod-install-slots.ts +110 -0
- package/src/task-orchestrator/surfaces/pod-lease.ts +6 -1
- package/src/task-orchestrator/surfaces/pod-pool.ts +170 -36
- package/src/task-orchestrator/surfaces/pod-si-warm-host.ts +18 -3
- package/src/task-orchestrator/surfaces/pod-si-warm-provider.ts +90 -11
- package/src/task-orchestrator/surfaces/pod-si-warm-runner.ts +10 -1
- package/src/task-orchestrator/surfaces/pod-source-receive.ts +41 -17
- package/src/task-orchestrator/surfaces/pod-warm-provenance.ts +79 -0
- package/src/task-orchestrator/surfaces/pod-warm-switch.ts +176 -5
- package/src/task-orchestrator/surfaces/pod-warm-worker-pod.ts +25 -13
- package/src/task-orchestrator/surfaces/pod-warm-worker-protocol.ts +10 -0
- package/src/task-orchestrator/surfaces/pod-warm-worker-provider.ts +702 -37
- package/src/task-orchestrator/surfaces/pod-warm-worker-runtime.ts +21 -1
- package/src/task-orchestrator/surfaces/self-implement-pod.ts +40 -15
- package/src/task-orchestrator/surfaces/warm-host-probe.ts +31 -0
- package/src/task-orchestrator/tox-loop.ts +1 -1
- package/src/telegram-agent.ts +1 -1
- package/src/telegram-away-command.ts +6 -5
- package/src/telegram-commands.ts +45 -2
- package/src/telegram-project-command.ts +1 -1
- package/src/telegram-report.ts +9 -2
- package/src/telegram-run.ts +1 -1
- package/src/telegram-test-runner.ts +2 -1
- package/src/telegram.ts +80 -17
- package/src/test-utils/temp-dir-cleanup.ts +45 -0
- package/src/time/calendar.ts +70 -0
- package/src/time/clock.ts +21 -0
- package/src/time/format-core.ts +44 -0
- package/src/time/format.ts +7 -227
- package/src/time/time-zone.ts +95 -0
- package/src/tool-router/index.ts +311 -0
- package/src/tool-runtime/artifact-runtimes.ts +2 -1
- package/src/tool-runtime/aside-selection-runtime.ts +2 -1
- package/src/tool-runtime/bash-approval.ts +14 -0
- package/src/tool-runtime/bash-runtime.ts +44 -0
- package/src/tool-runtime/browser-runtime.ts +2 -1
- package/src/tool-runtime/display-control-runtimes.ts +4 -3
- package/src/tool-runtime/elanous-asana-runtimes.ts +2 -1
- package/src/tool-runtime/elanous-autopilot-launch-runtime.ts +3 -2
- package/src/tool-runtime/elanous-control-runtimes.ts +2 -1
- package/src/tool-runtime/elanous-fs-list-runtime.ts +2 -1
- package/src/tool-runtime/elanous-fs-read-runtime.ts +2 -1
- package/src/tool-runtime/elanous-linear-issue-runtime.ts +3 -2
- package/src/tool-runtime/elanous-linear-secretary-runtime.ts +2 -1
- package/src/tool-runtime/elanous-obsidian-info-runtime.ts +2 -1
- package/src/tool-runtime/elanous-obsidian-search-runtime.ts +2 -1
- package/src/tool-runtime/elanous-showroom-broadcast-runtime.ts +2 -1
- package/src/tool-runtime/elanous-skills-list-runtime.ts +2 -1
- package/src/tool-runtime/elanous-task-submit-runtime.ts +2 -1
- package/src/tool-runtime/elanous-ux-sim-devices-runtime.ts +2 -1
- package/src/tool-runtime/find-repo-runtime.ts +2 -1
- package/src/tool-runtime/git-commit-runtime.ts +2 -1
- package/src/tool-runtime/git-pr-runtime.ts +2 -1
- package/src/tool-runtime/git-worktree-runtimes.ts +2 -1
- package/src/tool-runtime/goal-author-runtime.ts +2 -1
- package/src/tool-runtime/graph-mcp-runtimes.ts +2 -1
- package/src/tool-runtime/mcp-proxy-bootstrap.ts +2 -1
- package/src/tool-runtime/mirror-hints.ts +2 -1
- package/src/tool-runtime/pane-runtimes.ts +2 -1
- package/src/tool-runtime/persistent-grounding-runtime.ts +2 -1
- package/src/tool-runtime/pty-recording-runtimes.ts +2 -1
- package/src/tool-runtime/recording-runtimes.ts +2 -1
- package/src/tool-runtime/ref-consult-runtime.ts +2 -1
- package/src/tool-runtime/refs-gc-runtime.ts +2 -1
- package/src/tool-runtime/self-cognition-catalog.ts +1 -0
- package/src/tool-runtime/self-cognition-runtimes.ts +2 -1
- package/src/tool-runtime/set-working-dir-runtime.ts +2 -1
- package/src/tool-runtime/skill-exec-runtime.ts +3 -2
- package/src/tool-runtime/sync-repo-runtime.ts +2 -1
- package/src/tool-runtime/tool-search-runtime.ts +7 -3
- package/src/tool-runtime/truncation-store.ts +1 -1
- package/src/tool-runtime/types.ts +8 -1
- package/src/tool-runtime/undo-turn-runtime.ts +2 -1
- package/src/tool-runtime/web-terminal-live-camera.ts +2 -1
- package/src/tool-runtime/web-terminal-runtimes.ts +2 -1
- package/src/tool-runtime/web-terminal-screenshot.ts +2 -1
- package/src/tui/branches/app/index.ts +125 -0
- package/src/tui/branches/context.ts +102 -0
- package/src/tui/branches/decide.ts +11 -0
- package/src/tui/branches/first-screen.ts +20 -0
- package/src/tui/branches/harness.ts +32 -0
- package/src/tui/branches/memory.ts +9 -0
- package/src/tui/branches/now.ts +25 -0
- package/src/tui/branches/plugin-wizard.ts +149 -0
- package/src/tui/branches/sidetab/mission.ts +298 -0
- package/src/tui/branches/sidetab/route.ts +54 -0
- package/src/tui/branches/status.ts +75 -0
- package/src/tui/branches/term/route.ts +7 -0
- package/src/tui/chat/background-job-status.ts +36 -1
- package/src/tui/chat/execution-badge.ts +1 -1
- package/src/tui/chat/log-view.ts +137 -17
- package/src/tui/chat/message-block-view.ts +115 -0
- package/src/tui/core/agents.ts +87 -0
- package/src/tui/core/input.ts +70 -0
- package/src/tui/core/message-block-raw-ref.ts +53 -0
- package/src/tui/core/message-block-session.ts +33 -0
- package/src/tui/core/queue.ts +67 -0
- package/src/tui/core/registry.ts +426 -0
- package/src/tui/core/render.ts +307 -0
- package/src/tui/core/screen-paint-cache.ts +41 -0
- package/src/tui/core/turn.ts +126 -0
- package/src/tui/entry.ts +1107 -363
- package/src/tui/inline-choice.ts +163 -47
- package/src/tui/input/composer.ts +51 -26
- package/src/tui/input/inline-panel.ts +30 -0
- package/src/tui/input/pickers.ts +16 -218
- package/src/tui/input/slash-complete.ts +27 -0
- package/src/tui/mission-watch.ts +41 -0
- package/src/tui/persistent-user-memory.ts +53 -0
- package/src/tui/sidetab/attach.ts +20 -266
- package/src/tui/sidetab/herdr-portal.ts +7 -10
- package/src/tui/sidetab/remote.ts +1 -1
- package/src/tui/size-contract.ratchet.json +4 -0
- package/src/tui/slash/compact.ts +1 -1
- package/src/tui/slash/mission.ts +546 -0
- package/src/tui/slash/model.ts +49 -0
- package/src/tui/slash/new-session.ts +4 -3
- package/src/tui/slash/term/contracts.ts +273 -0
- package/src/tui/slash/term/handlers.ts +477 -0
- package/src/tui/slash/term.ts +15 -646
- package/src/tui-client/first-screen-guidance.ts +61 -0
- package/src/tui-client/local-chat-turn.ts +221 -18
- package/src/tui-client/mini-board-feed.ts +125 -0
- package/src/tui-client/mini-board-projection.ts +173 -0
- package/src/tui-client/next-shell-approval.ts +130 -0
- package/src/tui-client/next-wakeup.ts +7 -1
- package/src/tui-client/nexus-board-adapter.ts +179 -0
- package/src/tui-render-cache.ts +1 -1
- package/src/tui-terminal-contract.ts +54 -0
- package/src/tui.ts +4 -58
- package/src/ui/chrome/sidebar-shell-presentation.ts +0 -17
- package/src/ui/context-menu-host.ts +1 -2
- package/src/ui/context-menu-presenter.ts +3 -231
- package/src/ui/declarative/builder.ts +2 -16
- package/src/ui/declarative/builtin-view-catalog.ts +0 -22
- package/src/ui/declarative/decode.ts +1 -4
- package/src/ui/declarative/encode-specs.ts +52 -0
- package/src/ui/declarative/encode.ts +8 -42
- package/src/ui/declarative/index.ts +0 -2
- package/src/ui/declarative/presets.ts +0 -23
- package/src/ui/declarative/spec.ts +1 -4
- package/src/ui/drag-machine.ts +1 -2
- package/src/ui/modal-adapter.ts +1 -1
- package/src/ui/view.ts +2 -2
- package/src/ui/widgets/context-menu.ts +1 -1
- package/src/ui/widgets/dialog.ts +1 -1
- package/src/ui/widgets/file-dialog.ts +1 -1
- package/src/ui/widgets/permission-prompt.ts +1 -1
- package/src/ui/widgets/request-user-input-overlay.ts +1 -1
- package/src/ui/widgets/slash-menu.ts +1 -1
- package/src/user-config/chat.ts +316 -0
- package/src/user-config/orchestrator.ts +70 -0
- package/src/user-config/read.ts +103 -0
- package/src/user-config/reader.ts +11 -0
- package/src/user-config/schema.ts +178 -0
- package/src/user-config/shell.ts +8 -0
- package/src/user-config/sparse-config.ts +57 -0
- package/src/user-config/types.ts +1796 -0
- package/src/user-config/write.ts +451 -0
- package/src/user-config.ts +169 -3110
- package/src/user-intent/logger.ts +1 -1
- package/src/ux/ux-config.ts +1 -1
- package/src/ux-sim/absorb-v2-runGraph-sim.ts +634 -0
- package/src/ux-sim/app-contract-secret-entropy.ts +164 -0
- package/src/ux-sim/app-kill-switch-world.ts +69 -0
- package/src/ux-sim/app-scratch-bootstrap.ts +59 -0
- package/src/ux-sim/app-upgrade-path-world.ts +109 -0
- package/src/ux-sim/arg-macro-canvas-sim.ts +145 -0
- package/src/ux-sim/author-reviewer-precheck-device.ts +1 -1
- package/src/ux-sim/census-oracle-axis-world.ts +37 -0
- package/src/ux-sim/chain-land.ts +26 -4
- package/src/ux-sim/classic-tui-seat-scenarios.ts +87 -5
- package/src/ux-sim/cli-config-audit-device.ts +2 -2
- package/src/ux-sim/device-catalog-snapshot-fragments.ts +83 -0
- package/src/ux-sim/device-fidelity.ts +35 -5
- package/src/ux-sim/edge-creator-nightly.ts +611 -0
- package/src/ux-sim/edge-creator.ts +796 -0
- package/src/ux-sim/fake-absorb-ingest.ts +60 -0
- package/src/ux-sim/fake-adb-phone-world.ts +99 -0
- package/src/ux-sim/fake-agent-hook-host.ts +58 -0
- package/src/ux-sim/fake-android-client.ts +111 -0
- package/src/ux-sim/fake-app-auth.ts +12 -11
- package/src/ux-sim/fake-app-db-backup-world.ts +65 -0
- package/src/ux-sim/fake-app-db-world.ts +200 -0
- package/src/ux-sim/fake-app-drive-world.ts +258 -0
- package/src/ux-sim/fake-app-failures.ts +63 -0
- package/src/ux-sim/fake-app-host.ts +51 -3
- package/src/ux-sim/fake-app-source-concurrent-writer.ts +16 -0
- package/src/ux-sim/fake-app-source-world.ts +59 -0
- package/src/ux-sim/fake-app-storage.ts +1 -1
- package/src/ux-sim/fake-bin-args-sim.ts +136 -0
- package/src/ux-sim/fake-bin-install-helper.mjs +1 -1
- package/src/ux-sim/fake-bin.ts +111 -87
- package/src/ux-sim/fake-clock.ts +8 -0
- package/src/ux-sim/fake-cloud-billing-world.ts +518 -0
- package/src/ux-sim/fake-cloud-vm.ts +2 -0
- package/src/ux-sim/fake-cred.ts +78 -0
- package/src/ux-sim/fake-data-guard-boundary.ts +111 -0
- package/src/ux-sim/fake-dns-cert.ts +58 -5
- package/src/ux-sim/fake-feeds.ts +189 -0
- package/src/ux-sim/fake-fetch.ts +47 -4
- package/src/ux-sim/fake-gh.ts +41 -2
- package/src/ux-sim/fake-google-drive-world.ts +81 -0
- package/src/ux-sim/fake-google-oauth.ts +88 -0
- package/src/ux-sim/fake-herdr.ts +39 -0
- package/src/ux-sim/fake-higgsfield.ts +13 -0
- package/src/ux-sim/fake-kubectl.ts +7 -0
- package/src/ux-sim/fake-land-queue.ts +39 -8
- package/src/ux-sim/fake-llm.ts +468 -13
- package/src/ux-sim/fake-market-feed.ts +114 -0
- package/src/ux-sim/fake-member-oidc-world.ts +92 -0
- package/src/ux-sim/fake-mobile-toolchain.ts +72 -0
- package/src/ux-sim/fake-nexus-board-server.ts +68 -0
- package/src/ux-sim/fake-nexus-plugin-wizard.ts +47 -0
- package/src/ux-sim/fake-ps.ts +10 -0
- package/src/ux-sim/fake-relay-world.ts +513 -0
- package/src/ux-sim/fake-telegram-outbound.ts +71 -0
- package/src/ux-sim/fake-temp-cleanup.ts +96 -0
- package/src/ux-sim/fault-pod-codex-503.ts +61 -41
- package/src/ux-sim/fixtures/kaist-child-artifacts/bad-search/search.html +1 -0
- package/src/ux-sim/fixtures/kaist-child-artifacts/home/index.html +1 -0
- package/src/ux-sim/fixtures/kaist-child-artifacts/search/search/index.html +1 -0
- package/src/ux-sim/fixtures/task-launch-entry.mjs +14 -0
- package/src/ux-sim/fixtures/train-manager-decision-v1.json +66 -0
- package/src/ux-sim/flutter-deploy-journey.ts +111 -0
- package/src/ux-sim/gate-closure-lazy-require-sim.ts +102 -0
- package/src/ux-sim/gate-image-layered-delta-sim.ts +93 -0
- package/src/ux-sim/gate-image-pin-handshake-sim.ts +147 -0
- package/src/ux-sim/gate-image-preflight-runtime-identity-flow-sim.ts +270 -0
- package/src/ux-sim/gate-image-preflight-runtime-identity-sim.ts +61 -0
- package/src/ux-sim/gate-receipt-file-closure-cas.ts +183 -0
- package/src/ux-sim/gate-repair-multi-file-sim.ts +132 -0
- package/src/ux-sim/gate-roster-second-pool.ts +220 -0
- package/src/ux-sim/gate-shard-host-reroute.ts +14 -3
- package/src/ux-sim/gate-steady-state-proof-sim.ts +76 -0
- package/src/ux-sim/gcp-architect-expand-fake-world.ts +133 -0
- package/src/ux-sim/git-push-timeout-partial-outcome-remote-verify.ts +45 -0
- package/src/ux-sim/graph-design-sim.ts +260 -0
- package/src/ux-sim/graph-diff-apply.ts +169 -0
- package/src/ux-sim/graph-event-entry-world.ts +71 -0
- package/src/ux-sim/graph-placement-lease-world.ts +109 -0
- package/src/ux-sim/graph-resume-any-entry.ts +134 -0
- package/src/ux-sim/graph-run-lifecycle-world.ts +99 -0
- package/src/ux-sim/graph-trigger-hook-device.ts +146 -0
- package/src/ux-sim/hotspot-file-lease-world.ts +16 -0
- package/src/ux-sim/in-process-cli-539-file-adoption-sim.ts +124 -0
- package/src/ux-sim/in-process-cli.ts +254 -23
- package/src/ux-sim/install-consent-device.ts +8 -5
- package/src/ux-sim/install-one-liner-failsafe-device.ts +157 -0
- package/src/ux-sim/interaction.ts +36 -2
- package/src/ux-sim/ios-chat-edge-adapter.ts +147 -0
- package/src/ux-sim/light-rc-long-run-device.ts +44 -0
- package/src/ux-sim/log-volume-device.ts +41 -0
- package/src/ux-sim/mapreduce-multihost-sim.ts +158 -0
- package/src/ux-sim/mini-board-card.ts +95 -0
- package/src/ux-sim/mock-scenario-catalog.ts +100 -8
- package/src/ux-sim/mock-seat-pty-sequence.ts +9 -4
- package/src/ux-sim/multi-actor-world.ts +206 -0
- package/src/ux-sim/multi-tenant-relay-world.ts +531 -0
- package/src/ux-sim/network-sandbox.ts +31 -0
- package/src/ux-sim/next-tui-core-input.ts +65 -0
- package/src/ux-sim/next-tui-plugin-wizard-world.ts +27 -0
- package/src/ux-sim/next-tui-route-device.ts +20 -0
- package/src/ux-sim/next-tui-seat-scenarios.ts +366 -64
- package/src/ux-sim/nl-scenario.ts +56 -0
- package/src/ux-sim/outbound-guard-sim.ts +82 -0
- package/src/ux-sim/phone-pwa-selfheal.ts +163 -0
- package/src/ux-sim/plugin-release-observe-route-world.ts +92 -0
- package/src/ux-sim/plugin-yaml-gen-world.ts +62 -0
- package/src/ux-sim/pod-federation-sim.ts +196 -0
- package/src/ux-sim/pod-phase-prewarm-sim.ts +12 -0
- package/src/ux-sim/pod-phase-prewarm.ts +36 -0
- package/src/ux-sim/pod-reuse-match-by-kind-sim.ts +56 -0
- package/src/ux-sim/pod-reuse-shared-fake-boundary.ts +69 -0
- package/src/ux-sim/pod-reuse-world.ts +300 -0
- package/src/ux-sim/pr-land-drift-autorepair-device.ts +58 -0
- package/src/ux-sim/pr-land-drift-gate-device.ts +14 -0
- package/src/ux-sim/public-auth-provider-cloud-vm-sim.ts +111 -0
- package/src/ux-sim/pwa-provenance-badge-world.ts +25 -0
- package/src/ux-sim/pwa-retained-routes-world.ts +25 -0
- package/src/ux-sim/pwa-static-swap.ts +28 -0
- package/src/ux-sim/readiness-countdown.ts +332 -0
- package/src/ux-sim/real-target-sandbox.ts +209 -0
- package/src/ux-sim/release-day-0307-replay.ts +529 -0
- package/src/ux-sim/release-event-trace.ts +79 -0
- package/src/ux-sim/release-publish-devices.ts +43 -0
- package/src/ux-sim/release-same-version-run-adoption-sim.ts +186 -0
- package/src/ux-sim/release-sim-rig-seat-guard-child.ts +57 -0
- package/src/ux-sim/release-sim-rig.ts +1780 -121
- package/src/ux-sim/repo-maintenance.ts +142 -0
- package/src/ux-sim/rla-context-release-status-arrival-event.ts +107 -0
- package/src/ux-sim/rla-event-response-scorecard.ts +275 -0
- package/src/ux-sim/rla-macrophage-heal-timeout-stale-output-sim.ts +41 -0
- package/src/ux-sim/scenarios/rla-sim-vocab-node-edge.yaml +23 -0
- package/src/ux-sim/sim-coverage.ts +19 -1
- package/src/ux-sim/sim-receipt.ts +185 -0
- package/src/ux-sim/smart-merge-world.ts +693 -0
- package/src/ux-sim/ta-land-count-dispatcher-sim.ts +93 -0
- package/src/ux-sim/task-orchestrator-surfaces-self-implement-pod-device.ts +1 -1
- package/src/ux-sim/temp-git-remote.ts +25 -2
- package/src/ux-sim/tool-router-world.ts +137 -0
- package/src/ux-sim/train-manager-decision-sim.ts +6 -0
- package/src/ux-sim/train-manager-world.ts +188 -0
- package/src/ux-sim/user-config-default-sparse-sim.ts +68 -0
- package/src/ux-sim/user-config-tui-diet-sim.ts +71 -0
- package/src/ux-sim/warm-pool-declare-path-sim.ts +19 -0
- package/src/ux-sim/warm-pool-reuse-sim.ts +53 -16
- package/src/ux-sim/warm-pool-reuse-switch-sim.ts +111 -4
- package/src/ux-sim/warm-si-reuse-sim.ts +127 -31
- package/src/ux-sim/worktree-deps-shared-store.ts +45 -0
- package/src/ux-sim/world-chaos-runtime.ts +55 -19
- package/src/ux-sim/world-host-chaos.ts +185 -5
- package/src/ux-sim/world-regression-suite.ts +197 -0
- package/src/ux-sim/world-schema.ts +32 -12
- package/src/ux-sim/world-store.ts +7 -2
- package/src/ux-sim/world-watch.ts +95 -0
- package/src/ux-sim/world.ts +1157 -35
- package/src/version/packed-revision.json +1 -1
- package/src/video-pipeline/vflow-reference.ts +1 -2
- package/src/views/config.ts +0 -24
- package/src/views/product-compact-mode.ts +0 -6
- package/src/voice/channel-adapters/discord-voice-channel-adapter.ts +2 -5
- package/src/voice/channel-adapters/discord-voice-channel-commands.ts +1 -1
- package/src/voice/channel-adapters/discord-voice-channel-harness.ts +1 -1
- package/src/voice/voice-streaming-stt-singleton.ts +1 -1
- package/src/voice/voice-tts-singleton.ts +1 -1
- package/src/widget-routing/pane-to-widget.ts +2 -3
- package/src/widget-routing/widget-dispatcher.ts +1 -2
- package/src/widgets/host.ts +2 -3
- package/src/widgets/mini-board.ts +72 -0
- package/src/widgets/types.ts +1 -1
- package/src/workflow-runtime/daemon.ts +11 -0
- package/src/workflow-runtime/executor.ts +1 -3
- package/src/workflow-runtime/parser.ts +3 -2
- package/src/workflow-runtime/schema.ts +1 -4
- package/src/workflow-runtime/triggers/scheduler.ts +1 -1
- package/src/workflow-runtime/triggers/webhook-source.ts +12 -0
- package/src/workspace-types.ts +0 -1
- package/templates/event-landing-editorial/DESIGN.md +12 -0
- package/templates/flutter-app-lecture-scrap/README.md +32 -0
- package/templates/flutter-app-lecture-scrap/android/app/build.gradle.kts +79 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/debug/AndroidManifest.xml +7 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/AndroidManifest.xml +46 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/kotlin/ai/elanous/lecture_scrap/MainActivity.kt +5 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/drawable/launch_background.xml +12 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/drawable-v21/launch_background.xml +12 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/values/styles.xml +18 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/values-night/styles.xml +18 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/profile/AndroidManifest.xml +7 -0
- package/templates/flutter-app-lecture-scrap/android/build.gradle.kts +24 -0
- package/templates/flutter-app-lecture-scrap/android/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/templates/flutter-app-lecture-scrap/android/gradle.properties +6 -0
- package/templates/flutter-app-lecture-scrap/android/settings.gradle.kts +26 -0
- package/templates/flutter-app-lecture-scrap/app.yaml +60 -0
- package/templates/flutter-app-lecture-scrap/lib/main.dart +392 -0
- package/templates/flutter-app-lecture-scrap/out/index.html +7 -0
- package/templates/flutter-app-lecture-scrap/pubspec.lock +348 -0
- package/templates/flutter-app-lecture-scrap/pubspec.yaml +14 -0
- package/templates/flutter-app-translator/README.md +41 -0
- package/templates/flutter-app-translator/lib/main.dart +602 -0
- package/templates/flutter-app-translator/lib/recording_cleanup.dart +8 -0
- package/templates/flutter-app-translator/lib/session_epoch.dart +22 -0
- package/templates/flutter-app-translator/pubspec.yaml +24 -0
- package/templates/flutter-app-translator/test/session_lifecycle_test.dart +168 -0
- package/templates/flutter-app-voice-note/README.md +34 -0
- package/templates/flutter-app-voice-note/android/app/build.gradle.kts +85 -0
- package/templates/flutter-app-voice-note/android/app/src/debug/AndroidManifest.xml +7 -0
- package/templates/flutter-app-voice-note/android/app/src/main/AndroidManifest.xml +59 -0
- package/templates/flutter-app-voice-note/android/app/src/main/kotlin/com/example/flutter_app_voice_note/MainActivity.kt +5 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/drawable/launch_background.xml +12 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/drawable-v21/launch_background.xml +12 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/values/styles.xml +18 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/values-night/styles.xml +18 -0
- package/templates/flutter-app-voice-note/android/app/src/profile/AndroidManifest.xml +7 -0
- package/templates/flutter-app-voice-note/android/build.gradle.kts +24 -0
- package/templates/flutter-app-voice-note/android/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/templates/flutter-app-voice-note/android/gradle.properties +6 -0
- package/templates/flutter-app-voice-note/android/settings.gradle.kts +26 -0
- package/templates/flutter-app-voice-note/app.yaml +18 -0
- package/templates/flutter-app-voice-note/ios/Flutter/AppFrameworkInfo.plist +24 -0
- package/templates/flutter-app-voice-note/ios/Flutter/Debug.xcconfig +1 -0
- package/templates/flutter-app-voice-note/ios/Flutter/Release.xcconfig +1 -0
- package/templates/flutter-app-voice-note/ios/Runner/AppDelegate.swift +16 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +122 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +23 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +5 -0
- package/templates/flutter-app-voice-note/ios/Runner/Base.lproj/LaunchScreen.storyboard +37 -0
- package/templates/flutter-app-voice-note/ios/Runner/Base.lproj/Main.storyboard +26 -0
- package/templates/flutter-app-voice-note/ios/Runner/Info.plist +83 -0
- package/templates/flutter-app-voice-note/ios/Runner/Runner-Bridging-Header.h +1 -0
- package/templates/flutter-app-voice-note/ios/Runner/SceneDelegate.swift +6 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.pbxproj +647 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +119 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcworkspace/contents.xcworkspacedata +7 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- package/templates/flutter-app-voice-note/ios/RunnerTests/RunnerTests.swift +12 -0
- package/templates/flutter-app-voice-note/lib/main.dart +765 -0
- package/templates/flutter-app-voice-note/lib/voice_note_service.dart +341 -0
- package/templates/flutter-app-voice-note/out/index.html +11 -0
- package/templates/flutter-app-voice-note/pubspec.lock +777 -0
- package/templates/flutter-app-voice-note/pubspec.yaml +24 -0
- package/templates/flutter-app-voice-note/test/voice_note_service_test.dart +559 -0
- package/templates/next-app-lecture-scrap/app/layout.jsx +3 -0
- package/templates/next-app-lecture-scrap/app/notes/new/page.jsx +12 -0
- package/templates/next-app-lecture-scrap/app/page.jsx +9 -0
- package/templates/next-app-lecture-scrap/app/search/page.jsx +10 -0
- package/templates/next-app-lecture-scrap/app.yaml +88 -0
- package/templates/next-app-lecture-scrap/next.config.mjs +1 -0
- package/templates/next-app-lecture-scrap/package.json +20 -0
- package/templates/next-app-shop-studio/app/layout.tsx +15 -0
- package/templates/next-app-shop-studio/app/page.tsx +32 -0
- package/templates/next-app-shop-studio/app.yaml +90 -0
- package/templates/next-app-shop-studio/next.config.ts +8 -0
- package/templates/next-app-shop-studio/package.json +20 -0
- package/templates/next-app-translator/app/layout.tsx +15 -0
- package/templates/next-app-translator/app/page.tsx +16 -0
- package/templates/next-app-translator/app.yaml +69 -0
- package/templates/next-app-translator/next.config.ts +8 -0
- package/templates/next-app-translator/package.json +21 -0
- package/templates/next-app-voice-note/app.yaml +99 -0
- package/templates/next-app-voice-note/package.json +22 -0
- package/apps/pwa/out/404/index.html +0 -1
- package/apps/pwa/out/404.html +0 -1
- package/apps/pwa/out/_next/static/chunks/01af03c4.71e22e1e1aca813e.js +0 -18
- package/apps/pwa/out/_next/static/chunks/0e3e9261.84afa98360d3b889.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1163.de587836684ae0e8.js +0 -74
- package/apps/pwa/out/_next/static/chunks/124-5c8fb000f2fef6fd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/147.48bf376824f7df0a.js +0 -8
- package/apps/pwa/out/_next/static/chunks/1623-0cd4aabb94e3fc0d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1689-5ee3c3dd16ab8667.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1783.708de9a0182ac571.js +0 -41
- package/apps/pwa/out/_next/static/chunks/1807-778f3031dc089a09.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1911-bc30f2d39d2b318e.js +0 -25
- package/apps/pwa/out/_next/static/chunks/1968.4f77d6f940c26d94.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1985.ab97a36d1b3a9458.js +0 -36
- package/apps/pwa/out/_next/static/chunks/2169.709268f6190a67e4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2215.90b2a595c9880580.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2233.061c80f2a79abb24.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2466.ff652b24ae9dee2a.js +0 -32
- package/apps/pwa/out/_next/static/chunks/2541-70d25b112ae1960d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2556-14a3c1858511d4b2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/259.ff45e655e5e41a4d.js +0 -193
- package/apps/pwa/out/_next/static/chunks/2592.cc0b9dc547aca123.js +0 -104
- package/apps/pwa/out/_next/static/chunks/2708-f51dd5bc56aed2a7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2845ea08.c590f5c7ddc06b98.js +0 -122
- package/apps/pwa/out/_next/static/chunks/2856-d3c6d2706d6cc45e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2883-5b4aaa3950d416c2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2999.c462d95ab66dba3a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2c8c2385.34ce9456dac99420.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3085.59001f746a9a2e8c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3162-94995e3e8f1524f3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3176.fcf82fd6b3fcfff5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3177-151f3b49f3b2d2ef.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3196.4d0730f411899434.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3235.7b9c3e9c55ea6d98.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3414-037ce9f127904fe2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/348.b77e8e6b6ed5230c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3483-f7f5f9a66e1780ad.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3501.d2b92806ac1d949e.js +0 -287
- package/apps/pwa/out/_next/static/chunks/3552.e6be7ac885976039.js +0 -1
- package/apps/pwa/out/_next/static/chunks/366-eb724714d15eb3f4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3700.422355522e15e182.js +0 -2
- package/apps/pwa/out/_next/static/chunks/3789.443ac3d6037b503c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4278.5624379f0c23ee3d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4365-9e2bea90e6243b8e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4388.42598a55da8c47cf.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4530.3a14a074896302f2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4557-3b576c4706df592d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4647.a6e02754d5dcf398.js +0 -5
- package/apps/pwa/out/_next/static/chunks/4793-a77c3acf9ffc4454.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4806.d7a41078ec5f9e6f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4881.ad56fcbdcfb39a23.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4983.cb812be748dd07e5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5054.cef07be26f74f202.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5075.b30af8ae9aadc959.js +0 -226
- package/apps/pwa/out/_next/static/chunks/5323.277ad337906fe70a.js +0 -309
- package/apps/pwa/out/_next/static/chunks/5464-5837a4fba34df983.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5535-3d077c5296902ba6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5640.b32a01e556340532.js +0 -38
- package/apps/pwa/out/_next/static/chunks/5654.1b52dfa2ffb08352.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6.aa2a99e9454c9a8d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6208.70eba139a9c68af3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6251.a547705e850c5149.js +0 -9
- package/apps/pwa/out/_next/static/chunks/6253.d4f0940b616f889d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6281-8492f70e843316fa.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6289-3c8732cbeeeb62a2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6332-d5edcc5c35500524.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6433.e0006a1e924a2131.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6437.3cd4d04efb8ab871.js +0 -286
- package/apps/pwa/out/_next/static/chunks/6461-5584cf24a661817a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6618-9b8d9a46ede0c41e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6715-f1316dd169ff9f50.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6735-e62669175cce8686.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6841.ed452e7d06f598ee.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6937.0bdc3185f2ace9e4.js +0 -79
- package/apps/pwa/out/_next/static/chunks/6c25ab46.9d19c4994d7f5495.js +0 -160
- package/apps/pwa/out/_next/static/chunks/7015-6abc8f1809ff071f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7056-c994bfc3e3701439.js +0 -1
- package/apps/pwa/out/_next/static/chunks/712-4496b0c3ac3e4b75.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7151.d2511e5f23155242.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7228.8cb7ac9d98e331d5.js +0 -34
- package/apps/pwa/out/_next/static/chunks/725.63b4017563b04379.js +0 -93
- package/apps/pwa/out/_next/static/chunks/7250-70e47260b60cd47e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7263-34fefd269746719c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7663.e4ea6f8c14df314c.js +0 -66
- package/apps/pwa/out/_next/static/chunks/77.b432098b663eb23e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/770.f7b4481b25fe01c4.js +0 -148
- package/apps/pwa/out/_next/static/chunks/7746.c8b9b75e18472c54.js +0 -115
- package/apps/pwa/out/_next/static/chunks/7923.35fed012b66d1420.js +0 -217
- package/apps/pwa/out/_next/static/chunks/7959.4e02edd1fdf86b05.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7974-b134a047264b1e55.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8089-c13a0ed6973e7490.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8101.31728c5a01a6167b.js +0 -77
- package/apps/pwa/out/_next/static/chunks/8231.297058c760d62aee.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8389.af75612ea24ceba6.js +0 -24
- package/apps/pwa/out/_next/static/chunks/8427.085d79f7afbb3825.js +0 -149
- package/apps/pwa/out/_next/static/chunks/8473.20a465ef76441b50.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8541.3a501dabd3140fd0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8739-f0deba2b3e06427c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8818.02938c951b1000d1.js +0 -94
- package/apps/pwa/out/_next/static/chunks/8846.3103ace634243ee8.js +0 -64
- package/apps/pwa/out/_next/static/chunks/8847.72b1b3e33bcad95a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8883-30b5a763ec36eafa.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9052.0be41f794a5fb029.js +0 -86
- package/apps/pwa/out/_next/static/chunks/9086.b691a72402d521d5.js +0 -27
- package/apps/pwa/out/_next/static/chunks/9133.0be4ebb6c50cd78a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/916.3a04c642f0e5ff90.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9240.1637f5e69335d06b.js +0 -62
- package/apps/pwa/out/_next/static/chunks/9298-cd7b117f1a5be480.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9340-c2ac8651b03e94b2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9376.35941fbddcbfe1d4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9424.9062e8119fae997a.js +0 -24
- package/apps/pwa/out/_next/static/chunks/9486.8ef4e64969908842.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9488.98d1b3c092da470a.js +0 -23
- package/apps/pwa/out/_next/static/chunks/9648-42f1d4648cfa7eb8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9781-946d591f1e66da8d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9844.72bbf73fd214af65.js +0 -90
- package/apps/pwa/out/_next/static/chunks/9850.90badc8e9b213e5a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9868.027b845025f57183.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9948-dbde92fff6625cad.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9951-b903d4a257c01657.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9ccc18c7-87a6c1410d97d560.js +0 -1
- package/apps/pwa/out/_next/static/chunks/abec6764.4a84c474be416fb7.js +0 -62
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-a76e282302331a47.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-9c79d56c52c3b39c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-cd45c61031d63214.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/board/page-e133c057c3c62663.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/botlab/page-89ff7827ff5f449f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/bots/page-0cd71686fa026045.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-a0b329a1295e9704.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/chat/page-f4b64283a86189e3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/consult/page-c6567da3170d92b7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/control/page-90bff14d4d1104a9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-bc7f2d53539f1599.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-51dd1cfa869e3e9e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/editor/page-734e98ce83fcb338.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/exec/page-0dbd78003825005e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/field/page-d716d9e3eebe01c9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-a76e282302331a47.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/inside/page-35ac985a392a23da.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/intake/page-8169a6d36aca9d00.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/layout-c07319ebc55c858f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live/page-e74b1236e3318957.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-f2d9e65f2fa34919.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/loops/page-e44e85553f3d1747.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/market/page-9786452dd87449f8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-c01f73b8ca382e89.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/morning/page-4ba4b24fc4aa2262.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/not-found-e4f1cff672c21cf5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-7408295e90c5f3da.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-5145d13713aa12ba.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-4b40d62f2182addf.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-cbf974b1f9c988e2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-e63ff6bd28f8c0c9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-a9dd827a1ab83e4f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/page-367850708c52c660.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-b1456fb9b51a4fd7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-26867b3d37b1e7a8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-82c9de5c8c37b051.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-7f03bb1e52c1a43d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/page-8b9f729cfc8ebc14.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-f2dec730b93abfab.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-a76e282302331a47.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/page-fa6f33a05e473556.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/share/page-5e0e3113bfda415d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-7864eff18ce702ba.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-e29cc254c3ee0054.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/term/page-cd2f7856a7dc4849.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/today/page-2de3d35eb5a86aae.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/trace/page-cdb70038ead4a184.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/vault/page-e093c97ee87aca70.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-fb97121241bc7cfc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-3072b3b9e14ea04d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-a976e10f6c3f82bd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-dfbc7268ba631190.js +0 -1
- package/apps/pwa/out/_next/static/chunks/c9c445f7.15a7d747f61c56e6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/d1dc888b.cc6ca4afda9a5ef8.js +0 -66
- package/apps/pwa/out/_next/static/chunks/dc5145c8.9547e252e2e1d3d1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/e5a2a050-4b51c1f86f5cc4bb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/framework-5a93f9a572271e1c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-1c2ba214755ef1d0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-app-55b1247a78f22727.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_app-239264d5fa7469e1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_error-8184168567215c6b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/webpack-0144ea4a99833df5.js +0 -1
- package/apps/pwa/out/_next/static/css/085673d826b98b62.css +0 -1
- package/apps/pwa/out/_next/static/css/32b8e1b8996dbf5e.css +0 -1
- package/apps/pwa/out/_next/static/css/599369d853c61df7.css +0 -31
- package/apps/pwa/out/_next/static/css/659eccb5db697b76.css +0 -1
- package/apps/pwa/out/_next/static/css/9e19f9d740cf4dcb.css +0 -1
- package/apps/pwa/out/_next/static/iXeJzCRg0ENSSl_RTbGIN/_buildManifest.js +0 -1
- package/apps/pwa/out/_next/static/iXeJzCRg0ENSSl_RTbGIN/_ssgManifest.js +0 -1
- package/apps/pwa/out/_next/static/media/22a5144ee8d83bca-s.p.woff2 +0 -0
- package/apps/pwa/out/_next/static/media/9766a7e9e2e0ad5a-s.woff2 +0 -0
- package/apps/pwa/out/_next/static/media/aa016aab0e6d1295-s.woff2 +0 -0
- package/apps/pwa/out/_next/static/media/b66cf8e69499582a-s.woff2 +0 -0
- package/apps/pwa/out/_next/static/media/f639721981034f88-s.woff2 +0 -0
- package/apps/pwa/out/approvals/index.html +0 -1
- package/apps/pwa/out/approvals/index.txt +0 -33
- package/apps/pwa/out/autopilot/index.html +0 -1
- package/apps/pwa/out/autopilot/index.txt +0 -33
- package/apps/pwa/out/board/index.html +0 -1
- package/apps/pwa/out/board/index.txt +0 -33
- package/apps/pwa/out/botlab/index.html +0 -1
- package/apps/pwa/out/botlab/index.txt +0 -30
- package/apps/pwa/out/bots/index.html +0 -1
- package/apps/pwa/out/bots/index.txt +0 -30
- package/apps/pwa/out/ceo/index.html +0 -1
- package/apps/pwa/out/ceo/index.txt +0 -33
- package/apps/pwa/out/chat/index.html +0 -1
- package/apps/pwa/out/chat/index.txt +0 -30
- package/apps/pwa/out/consult/index.html +0 -1
- package/apps/pwa/out/consult/index.txt +0 -33
- package/apps/pwa/out/control/index.html +0 -1
- package/apps/pwa/out/control/index.txt +0 -33
- package/apps/pwa/out/decisions/index.html +0 -1
- package/apps/pwa/out/decisions/index.txt +0 -30
- package/apps/pwa/out/design-check/index.html +0 -1
- package/apps/pwa/out/design-check/index.txt +0 -33
- package/apps/pwa/out/editor/index.html +0 -1
- package/apps/pwa/out/editor/index.txt +0 -35
- package/apps/pwa/out/exec/index.html +0 -1
- package/apps/pwa/out/exec/index.txt +0 -33
- package/apps/pwa/out/field/index.html +0 -1
- package/apps/pwa/out/field/index.txt +0 -33
- package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-Bold.ttf +0 -0
- package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-BoldItalic.ttf +0 -0
- package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-Italic.ttf +0 -0
- package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-Regular.ttf +0 -0
- package/apps/pwa/out/healthz +0 -1
- package/apps/pwa/out/icons/elanous-16.png +0 -0
- package/apps/pwa/out/icons/elanous-180.png +0 -0
- package/apps/pwa/out/icons/elanous-192.png +0 -0
- package/apps/pwa/out/icons/elanous-32.png +0 -0
- package/apps/pwa/out/icons/elanous-512.png +0 -0
- package/apps/pwa/out/index.html +0 -1
- package/apps/pwa/out/index.txt +0 -30
- package/apps/pwa/out/inside/index.html +0 -1
- package/apps/pwa/out/inside/index.txt +0 -32
- package/apps/pwa/out/intake/index.html +0 -1
- package/apps/pwa/out/intake/index.txt +0 -33
- package/apps/pwa/out/live/index.html +0 -1
- package/apps/pwa/out/live/index.txt +0 -35
- package/apps/pwa/out/live-run/index.html +0 -1
- package/apps/pwa/out/live-run/index.txt +0 -35
- package/apps/pwa/out/loops/index.html +0 -1
- package/apps/pwa/out/loops/index.txt +0 -31
- package/apps/pwa/out/manifest.webmanifest +0 -31
- package/apps/pwa/out/market/index.html +0 -1
- package/apps/pwa/out/market/index.txt +0 -30
- package/apps/pwa/out/missions/placeholder/index.html +0 -1
- package/apps/pwa/out/missions/placeholder/index.txt +0 -30
- package/apps/pwa/out/morning/index.html +0 -1
- package/apps/pwa/out/morning/index.txt +0 -33
- package/apps/pwa/out/observatory/index.html +0 -1
- package/apps/pwa/out/observatory/index.txt +0 -33
- package/apps/pwa/out/offline.html +0 -84
- package/apps/pwa/out/ops/checklist/index.html +0 -1
- package/apps/pwa/out/ops/checklist/index.txt +0 -30
- package/apps/pwa/out/ops/release/index.html +0 -1
- package/apps/pwa/out/ops/release/index.txt +0 -30
- package/apps/pwa/out/ops/resources/index.html +0 -1
- package/apps/pwa/out/ops/resources/index.txt +0 -30
- package/apps/pwa/out/ops/seats/index.html +0 -1
- package/apps/pwa/out/ops/seats/index.txt +0 -30
- package/apps/pwa/out/outputs/index.html +0 -1
- package/apps/pwa/out/outputs/index.txt +0 -30
- package/apps/pwa/out/reflection/index.html +0 -1
- package/apps/pwa/out/reflection/index.txt +0 -31
- package/apps/pwa/out/scheduler/index.html +0 -1
- package/apps/pwa/out/scheduler/index.txt +0 -33
- package/apps/pwa/out/sessions/index.html +0 -1
- package/apps/pwa/out/sessions/index.txt +0 -30
- package/apps/pwa/out/settings/devices/index.html +0 -1
- package/apps/pwa/out/settings/devices/index.txt +0 -33
- package/apps/pwa/out/settings/index.html +0 -1
- package/apps/pwa/out/settings/index.txt +0 -33
- package/apps/pwa/out/setup/done/index.html +0 -1
- package/apps/pwa/out/setup/done/index.txt +0 -33
- package/apps/pwa/out/setup/index.html +0 -1
- package/apps/pwa/out/setup/index.txt +0 -33
- package/apps/pwa/out/share/index.html +0 -1
- package/apps/pwa/out/share/index.txt +0 -33
- package/apps/pwa/out/showroom/index.html +0 -1
- package/apps/pwa/out/showroom/index.txt +0 -30
- package/apps/pwa/out/sw-strategies.js +0 -44
- package/apps/pwa/out/sw.js +0 -385
- package/apps/pwa/out/tasks/index.html +0 -1
- package/apps/pwa/out/tasks/index.txt +0 -33
- package/apps/pwa/out/term/index.html +0 -1
- package/apps/pwa/out/term/index.txt +0 -33
- package/apps/pwa/out/today/index.html +0 -1
- package/apps/pwa/out/today/index.txt +0 -33
- package/apps/pwa/out/trace/index.html +0 -1
- package/apps/pwa/out/trace/index.txt +0 -33
- package/apps/pwa/out/vault/index.html +0 -1
- package/apps/pwa/out/vault/index.txt +0 -33
- package/apps/pwa/out/workflows/chat-ui/index.html +0 -1
- package/apps/pwa/out/workflows/chat-ui/index.txt +0 -33
- package/apps/pwa/out/workflows/index.html +0 -1
- package/apps/pwa/out/workflows/index.txt +0 -33
- package/apps/pwa/out/workspace/index.html +0 -1
- package/apps/pwa/out/workspace/index.txt +0 -33
- package/apps/pwa/out/worktrees/index.html +0 -1
- package/apps/pwa/out/worktrees/index.txt +0 -33
- package/plugins/hello/manifest.json +0 -7
- package/plugins/hello/missions/count-to-5/evaluator.sh +0 -32
- package/plugins/hello/missions/count-to-5/mission.md +0 -17
- package/plugins/hello/missions/count-to-5/sandbox.md +0 -10
- package/plugins/hello/plugin.ts +0 -97
- package/src/acp/grok-leader-manager.ts +0 -160
- package/src/autopilot/build/build-status-label.ts +0 -19
- package/src/autopilot/discovery/preexisting-red-rows.ts +0 -83
- package/src/autopilot/mission-replay-decision.ts +0 -136
- package/src/browser-pane/mount.ts +0 -242
- package/src/budget/cost-tier-advisor.ts +0 -91
- package/src/cli/ask-bare.ts +0 -43
- package/src/cli/autopilot-cli.ts +0 -839
- package/src/cli/autopilot-run.ts +0 -176
- package/src/dashboard/auto-tts/auto-tts-controller.ts +0 -347
- package/src/dashboard/auto-tts/auto-tts-host-boot.ts +0 -162
- package/src/dashboard/auto-tts/pfc-voice-runtime.ts +0 -138
- package/src/dashboard/browser-help-runtime.ts +0 -95
- package/src/dashboard/compact-surface-popup.ts +0 -61
- package/src/dashboard/input/chat-main-cache-command.ts +0 -11
- package/src/dashboard/input/chat-main-submit-control.ts +0 -24
- package/src/dashboard/input/control-signal-consumers.ts +0 -46
- package/src/dashboard/input/dashboard-plain-turn-settle-sink.ts +0 -96
- package/src/dashboard/input/dictation-surface-allowlist.ts +0 -78
- package/src/dashboard/input/mouse-shell-rollup-runtime.ts +0 -114
- package/src/dashboard/input/space-longpress-detector.ts +0 -311
- package/src/dashboard/input/voice-dictation.ts +0 -80
- package/src/dashboard/media-preview-surface-runtime.ts +0 -81
- package/src/dashboard/modals/browser-preview-modal-seams.ts +0 -887
- package/src/dashboard/modals/preview.ts +0 -151
- package/src/dashboard/scenario-runtime-boot.ts +0 -113
- package/src/dashboard/shell-rollup-popup.ts +0 -116
- package/src/dashboard/voice-chat/voice-chat-host-boot.ts +0 -418
- package/src/dashboard/voice-chat/voice-chat-mode-controller.ts +0 -148
- package/src/dashboard/voice-chat/voice-chat-pipeline.ts +0 -357
- package/src/dashboard/voice-host-boot.ts +0 -109
- package/src/dashboard/voice-input-host.ts +0 -540
- package/src/dashboard/voice-runtime.ts +0 -174
- package/src/directive/interpretation-card.ts +0 -36
- package/src/display/bounds-validate.ts +0 -113
- package/src/display/image-emit.ts +0 -247
- package/src/display/picker-layout.ts +0 -199
- package/src/display/terminal-capability.ts +0 -161
- package/src/display/terminal-frame.ts +0 -32
- package/src/display/terminal-snapshot.ts +0 -58
- package/src/display/transient-overlay-policy.ts +0 -59
- package/src/domains/alert-audit.ts +0 -271
- package/src/domains/conatus-verify.ts +0 -466
- package/src/domains/proactive-recall.ts +0 -85
- package/src/graph-runner/release-manifest.ts +0 -93
- package/src/grounding/ensure-grounding.ts +0 -131
- package/src/grounding/ref-vector.ts +0 -61
- package/src/harness/artifact-launch-vocabulary.ts +0 -45
- package/src/harness/shell-prompt-watcher.ts +0 -0
- package/src/harness/user-terminal-injector.ts +0 -51
- package/src/input/turn-output-bundle.ts +0 -105
- package/src/intake-plane/ref-prefetch.ts +0 -110
- package/src/intelligence-map/catalog-feed.ts +0 -119
- package/src/intelligence-map/model-bench-scores.ts +0 -102
- package/src/iul/asset-registry.ts +0 -980
- package/src/iul/lab-tabs.ts +0 -283
- package/src/iul/lane-registry.ts +0 -25
- package/src/iul/lane-select-view.ts +0 -62
- package/src/iul/scene-registry.ts +0 -25
- package/src/iul/sidebar-shell-catalog.ts +0 -41
- package/src/iul/sidebar-shell-copy.ts +0 -38
- package/src/iul/sidebar-shell.ts +0 -40
- package/src/iul/theme-lab-lane-view.ts +0 -291
- package/src/iul/top-control-rail.ts +0 -7
- package/src/model-tier/tier-to-model.ts +0 -23
- package/src/mss/identity.ts +0 -105
- package/src/nexus/api/mission-showroom.ts +0 -182
- package/src/nexus/api/missions-emit.ts +0 -214
- package/src/nexus/api/missions.ts +0 -230
- package/src/onboarding/widget-impl.ts +0 -118
- package/src/panes/alt-skip-predicate.ts +0 -40
- package/src/panes/files-pane.ts +0 -39
- package/src/panes/pane-cycle.ts +0 -61
- package/src/panes/skills-pane.ts +0 -47
- package/src/panes/terminal-bg-query.ts +0 -152
- package/src/panes/visibility-badge.ts +0 -50
- package/src/playground/catalog.ts +0 -1306
- package/src/playground/lab.ts +0 -439
- package/src/playground/widget.ts +0 -1588
- package/src/plugins/legacy-classify.ts +0 -479
- package/src/plugins/maker/connector-maker.ts +0 -41
- package/src/plugins/maker/skill-maker.ts +0 -42
- package/src/preview/pager.ts +0 -135
- package/src/preview-pane/mount.ts +0 -202
- package/src/prompt-library/family-prompt-coverage.ts +0 -97
- package/src/release-loop/proposal-auto-place.ts +0 -83
- package/src/seat-dispatch/seat-request-eligibility.ts +0 -19
- package/src/self-dev/decompose-compose-graph.ts +0 -136
- package/src/self-dev/external-call-zero.ts +0 -77
- package/src/self-dev/local-supervisor-judge.ts +0 -185
- package/src/self-dev/shard-pod-run.ts +0 -77
- package/src/self-implement/follow-up-placement.ts +0 -79
- package/src/self-implement/run-controls.ts +0 -74
- package/src/shell-runner/modal-surface.ts +0 -171
- package/src/sim-world-device-catalogs.json +0 -493
- package/src/skills/skill-route-ux.ts +0 -62
- package/src/state/bridges/widget-host-focus.ts +0 -96
- package/src/state/bridges/widget-host.ts +0 -273
- package/src/steward/entrance-dispatch-shadow-adapter-child.ts +0 -26
- package/src/steward/entrance-dispatch-shadow-adapter.ts +0 -196
- package/src/storage/object-store-visibility.ts +0 -169
- package/src/task-orchestrator/surfaces/pod-warm-ta-shadow.ts +0 -85
- package/src/theme/auto-theme.ts +0 -73
- package/src/tool-runtime/widget-schema-runtime.ts +0 -94
- package/src/ui/chrome/tooltip-chrome.ts +0 -16
- package/src/ui/decor.ts +0 -75
- package/src/ui/hover-presenter.ts +0 -202
- package/src/ui/hover-tracker.ts +0 -249
- package/src/ui/layout/dsl.ts +0 -210
- package/src/ui/layout/scroll.ts +0 -104
- package/src/ui/slash-launcher.ts +0 -58
- package/src/ui/submenu-popup-menu-contract.ts +0 -44
- package/src/ui/submenu-popup-pair.ts +0 -175
- package/src/ui/submenu-popup-theme.ts +0 -81
- package/src/ui/widgets/accordion.ts +0 -122
- package/src/ui/widgets/combo-box.ts +0 -221
- package/src/ui/widgets/draggable-list.ts +0 -247
- package/src/ui/widgets/list-view.ts +0 -221
- package/src/ui/widgets/menu-tree-controller.ts +0 -136
- package/src/ui/widgets/progress-bar.ts +0 -164
- package/src/ui/widgets/selection-browse.ts +0 -26
- package/src/ui/widgets/tabs.ts +0 -174
- package/src/ui/widgets/title-bar.ts +0 -149
- package/src/ui/widgets/tooltip.ts +0 -130
- package/src/ui/widgets/tree-view.ts +0 -266
- package/src/ux/ux-learn.ts +0 -58
- package/src/ux-sim/mock-scenario-catalog.json +0 -3898
- package/src/vi-editor.ts +0 -407
- package/src/webclone/qa-table.ts +0 -22
- package/src/widget-routing/terminal-pane-behavior.ts +0 -114
- package/src/widgets/plan-board.ts +0 -124
- /package/src/{dashboard/auto-tts → voice/tts}/sentence-segmenter.ts +0 -0
package/src/user-config.ts
CHANGED
|
@@ -27,6 +27,48 @@
|
|
|
27
27
|
// crashed wizard cannot corrupt an existing file. Mode 0600 when the
|
|
28
28
|
// telegram bot token is present.
|
|
29
29
|
|
|
30
|
+
import type {
|
|
31
|
+
SkillRouterConfig, LLMProviderName, LLMConfig, SkillSetName, UserConfig, SkillSource,
|
|
32
|
+
DefaultSkillDirsOptions, SkillsConfig, ObsidianConfig, TelegramReportChannel, TelegramTestChannel, TelegramChannel,
|
|
33
|
+
TelegramConfig, DiscordTestChannel, DiscordConfig, OnboardingConfig, BudgetGateMaxUsedPercent, NativeStructureToolConfig,
|
|
34
|
+
ToolsConfig, DebugConfig, LogsConfig, ShellConfig, ErrorReportsConfig, DashboardPromptBankConfig,
|
|
35
|
+
VwKnownName, VwEntryConfig, VwConfig, AcpConfig, PlanConfig, GoalsConfig,
|
|
36
|
+
RegistryConfig, TasteConfig, OpenDesignConfig, DesignConfig, WebSearchConfig, SessionFabricConfig,
|
|
37
|
+
ApnsUserConfig, NotificationsConfig, McpTransport, McpServerSpec, McpConfig, AsideConfig,
|
|
38
|
+
AsideRemoteTargetConfig, BackgroundReasoningLlmConfig, BackgroundReasoningConfig, RunDevHarnessToolConfig, SelfOrchestrateToolConfig, DeferredToolsMode,
|
|
39
|
+
SelfImplementChildInstanceMode, SelfImplementClarificationEscalationConfig, ChildLlmPreferenceConfig, ChildLlmPreferenceMode, ChildLlmChainEntry, HarnessBudgetGateConfig,
|
|
40
|
+
BudgetGateOnShortfall, LspConfig, VoiceSttProviderId, VoiceTtsProviderId, VoiceVadMode, VoiceDiscordChannelListenFilter,
|
|
41
|
+
VoiceTelegramDispatchMode, IntakeAmbientCaptureMode, FinanceConfig, SubscriptionReviewerSpec, ReviewerMixSpec, ModelRole,
|
|
42
|
+
RoleLlmResolution, RoleLlmSpec, RoleLlmConfig, SetLaunchRoleLlmOptions, RoleLlmResolveOptions, RoleLlmSource,
|
|
43
|
+
AgentModelRole, ModelResolution, ModelResolutionSource, EventsConfig, EventRoute, EventSeat,
|
|
44
|
+
GateRemoteConfig, ProjectConfig, RoleModelConfig, RoleModelTierConfig, AutoReviewConfig, RetiredConfigKey,
|
|
45
|
+
SeatLoopConfig, HqFenceRole, HqConfig, VoiceTelegramReplyMode, LspLanguageConfig, AcpHopCapConfig,
|
|
46
|
+
RotationEntry, ReasoningLevel, MaxTurnsBudget, MissionRoutingConfig, LlmRoutePolicyConfig, AutoRouteConfig,
|
|
47
|
+
} from "./user-config/types.js";
|
|
48
|
+
export type {
|
|
49
|
+
SkillRouterConfig, LLMProviderName, ReasoningLevel, LLMConfig, AutoRouteConfig, MissionRoutingConfig,
|
|
50
|
+
LlmRoutePolicyConfig, RotationEntry, SkillSetName, SkillSourceKind, SkillSource, SkillsConfig,
|
|
51
|
+
DefaultSkillDirsOptions, ObsidianConfig, TelegramReportChannel, TelegramTestChannel, TelegramChannel, TelegramConfig,
|
|
52
|
+
DiscordTestChannel, DiscordConfig, OnboardingConfig, DeferredToolsMode, DeferredToolsConfig, AgentSpawnConfig,
|
|
53
|
+
SelfImplementAutoStopConfig, SelfImplementAutoAssistConfig, SelfImplementScreenStallTerminationConfig, SelfImplementReworkBudgetConfig, SelfImplementDecompositionShadowConfig, SelfImplementClarificationEscalationConfig,
|
|
54
|
+
SelfImplementChildInstanceMode, ChildLlmPreferenceMode, ChildLlmChainEntry, ChildLlmPreferenceConfig, BudgetGateOnShortfall, BudgetGateMaxUsedPercent,
|
|
55
|
+
HarnessBudgetGateConfig, SelfImplementToolConfig, RunDevHarnessToolConfig, SelfOrchestrateToolConfig, NativeStructureToolConfig, ToolsConfig,
|
|
56
|
+
DebugConfig, LogsConfig, ShellConfig, ErrorReportsConfig, DashboardConfig, DashboardPromptBankConfig,
|
|
57
|
+
VwKnownName, VwEntryConfig, VwConfig, AcpHopCapConfig, AcpConfig, PlanConfig,
|
|
58
|
+
GoalsConfig, RegistryDiscoveryCronConfig, RegistryDiscoveryFirecrawlConfig, RegistryDiscoveryConfig, RegistryConfig, SessionFabricConfig,
|
|
59
|
+
TasteConfig, WebSearchConfig, OpenDesignConfig, DesignConfig, ApnsUserConfig, NotificationsConfig,
|
|
60
|
+
McpTransport, McpStdioServerSpec, McpHttpServerSpec, McpServerSpec, McpConfig, AsideRemoteTargetConfig,
|
|
61
|
+
AsideConfig, BackgroundReasoningLlmConfig, BackgroundReasoningConfig, LspLanguageConfig, LspConfig, VoiceSttProviderId,
|
|
62
|
+
VoiceTtsProviderId, VoiceVadMode, VoiceSttMode, VoiceSttConfig, VoiceTtsConfig, VoiceVadConfig,
|
|
63
|
+
VoiceChatConfig, VoiceTelegramReplyMode, VoiceTelegramDispatchMode, VoiceDiscordChannelListenFilter, IntakeAmbientCaptureMode, VoiceTelegramConfig,
|
|
64
|
+
VoiceDiscordConfig, VoicePwaConfig, VoiceConfig, IntakeSurfaceConfig, IntakeConfig, FinanceConfig,
|
|
65
|
+
AutoReviewConfig, ModelRole, AgentModelRole, RoleModelConfig, RoleModelTierConfig, RoleLlmSpec,
|
|
66
|
+
SubscriptionReviewerSpec, ReviewerMixSpec, RoleLlmConfig, ModelResolutionSource, RoleLlmSource, RoleLlmResolution,
|
|
67
|
+
ModelResolution, SetLaunchRoleLlmOptions, RoleLlmResolveOptions, StewardLoopMode, SeatLoopMode, PersonaLoopConfig,
|
|
68
|
+
SeatLoopConfig, EventSeat, EventRoute, EventsConfig, HqFenceRole, HqConfig,
|
|
69
|
+
GateRemoteConfig, ProjectConfig, UserConfig, RetiredConfigKey, MaxTurnsBudget,
|
|
70
|
+
} from "./user-config/types.js";
|
|
71
|
+
|
|
30
72
|
import { isRuntimeLlmModelCompatibleWithProvider } from './llm/runtime-model-family.js';
|
|
31
73
|
export { inferRuntimeLlmModelFamily, isRuntimeLlmModelCompatibleWithProvider } from './llm/runtime-model-family.js';
|
|
32
74
|
export type { RuntimeLlmModelFamily } from './llm/runtime-model-family.js';
|
|
@@ -51,7 +93,6 @@ import {
|
|
|
51
93
|
GLM_MODEL,
|
|
52
94
|
} from './config.js';
|
|
53
95
|
import type { SkillTier } from './skills/skill-tier.js';
|
|
54
|
-
import type { RubricAxis } from './release-loop/rubric-types.js';
|
|
55
96
|
import { sharedAgentSkillRoots } from './skills/shared-agent-skill-roots.js';
|
|
56
97
|
import {
|
|
57
98
|
isModelTier,
|
|
@@ -72,10 +113,9 @@ import type { UrlRoutingConfig } from './skills/url-router.js';
|
|
|
72
113
|
import { migrateLegacyXdgUserConfig } from './storage/legacy-elanous-config-migrate.js';
|
|
73
114
|
import { withFileLockSync } from './storage/file-lock.js';
|
|
74
115
|
import { debug } from './debug/log.js';
|
|
75
|
-
import { setConfigTimeZoneSource } from './time/
|
|
116
|
+
import { setConfigTimeZoneSource } from './time/time-zone.js';
|
|
76
117
|
import { parseGeminiServerTools } from './user-config/gemini-server-tools.js';
|
|
77
118
|
import { clampNum, numArray, positiveIntOr, str, strArray, stringRecord } from './user-config/coercion.js';
|
|
78
|
-
import type { FoldMode } from './log-entry.js';
|
|
79
119
|
import {
|
|
80
120
|
CLAUDE_PACKAGE_MISSING,
|
|
81
121
|
INSTALLED_PLUGINS_FILENAME,
|
|
@@ -90,35 +130,26 @@ import {
|
|
|
90
130
|
type GroundingConfig,
|
|
91
131
|
} from './grounding/sources.js';
|
|
92
132
|
import { parseSeatTurnCapConfig, type SeatTurnCapConfig } from './core-turn/seat-turn-cap.js';
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
/** S2 (2026-07-22) — extra skill names the harness may AUTO-EXECUTE
|
|
114
|
-
* during grounding, MERGED onto the built-in read-only allowlist
|
|
115
|
-
* (omni-digest/omni-market/kr-flow). Empty (default) = built-ins only
|
|
116
|
-
* (no change). Agent-batch/high-cost skills (stochastic-*, *-panel,
|
|
117
|
-
* *-consensus) are force-rejected even if listed. This is the
|
|
118
|
-
* operator-facing knob answering "autoTrigger 켜면 되지 않나" for the
|
|
119
|
-
* harness path (the dashboard path uses autoRouteRequireAutoTrigger). */
|
|
120
|
-
harnessExecAllowlist: string[];
|
|
121
|
-
}
|
|
133
|
+
import { sparseUserConfig } from './user-config/sparse-config.js';
|
|
134
|
+
import { DEFAULT_BASH_APPROVAL, parseBashApprovalMode } from './user-config/shell.js';
|
|
135
|
+
import { MAX_TURNS_BUDGET_KEYS } from './user-config/types.js';
|
|
136
|
+
import {
|
|
137
|
+
configureUserConfigReader, getUserConfig, resetUserConfig,
|
|
138
|
+
rememberSavedUserConfig,
|
|
139
|
+
} from './user-config/read.js';
|
|
140
|
+
export {
|
|
141
|
+
buildTestSafeDaemonConfig, getUserConfig, reloadUserConfig, resetUserConfig,
|
|
142
|
+
runWithUserConfigSnapshot, setUserConfigOverlay,
|
|
143
|
+
} from './user-config/read.js';
|
|
144
|
+
import { readUserConfigObject } from './user-config/read.js';
|
|
145
|
+
import { serializeUserConfig } from './user-config/write.js';
|
|
146
|
+
|
|
147
|
+
configureUserConfigReader({
|
|
148
|
+
defaultPath: () => defaultPath(),
|
|
149
|
+
build: (path) => buildUserConfig(path),
|
|
150
|
+
readMtime: (path) => readMtimeMsOrNull(path),
|
|
151
|
+
resetClaudePackageSkillDirs: () => __resetClaudePackageSkillDirsCacheForTests(),
|
|
152
|
+
});
|
|
122
153
|
|
|
123
154
|
const SR_DEFAULTS: SkillRouterConfig = {
|
|
124
155
|
autoRoute: false,
|
|
@@ -139,405 +170,20 @@ const SR_DEFAULTS: SkillRouterConfig = {
|
|
|
139
170
|
harnessExecAllowlist: [],
|
|
140
171
|
};
|
|
141
172
|
|
|
142
|
-
// ── LLM ──────────────────────────────────────────────────────────────
|
|
143
|
-
|
|
144
|
-
export type LLMProviderName =
|
|
145
|
-
| 'auto' | 'grok' | 'openai' | 'anthropic' | 'local' | 'openai-codex' | 'gemini'
|
|
146
|
-
// Chinese chat-model families · OpenAI-compatible cloud APIs.
|
|
147
|
-
// Local open-weight variants (Kimi-VL · Qwen3.6 · GLM-Z1 etc.) still
|
|
148
|
-
// route through the existing 'local' provider — these `kimi/qwen/glm`
|
|
149
|
-
// entries name the *cloud* surface only.
|
|
150
|
-
| 'kimi' | 'qwen' | 'glm'
|
|
151
|
-
// 대표 2026-09-23 — OpenAI 호환 게이트웨이. kimi·qwen·glm 의 «첫 실제 경로»(모델 id `openrouter/<vendor>/<model>`).
|
|
152
|
-
| 'openrouter'
|
|
153
|
-
| 'opengateway'
|
|
154
|
-
// 대표 2026-10-10 (BEDROCK-PROVIDER) — AWS Bedrock 의 Claude. 자격 = AWS 기본 자격 체인 · 명시 선택 전용(auto·폴백 후보 아님).
|
|
155
|
-
| 'bedrock';
|
|
156
|
-
|
|
157
173
|
/** Stored config retains its established provider normalization contract. */
|
|
158
174
|
// ⛔ 2026-09-23 — 손으로 적은 목록이라 새 provider 를 «조용히» 거른다: `openrouter` 를 배선(#19900)했는데
|
|
159
175
|
// 여기 없어서 config 로 고르면 정규화가 `auto` 로 떨궜다(「직렬화 드롭」). 자 = `test/llm-provider-name-lists.test.ts`.
|
|
160
176
|
export const CONFIG_LLM_PROVIDER_NAMES: readonly LLMProviderName[] = [
|
|
161
|
-
'auto', 'grok', 'openai', 'anthropic', 'local', 'openai-codex', 'gemini', 'openrouter', 'opengateway', 'bedrock',
|
|
177
|
+
'auto', 'grok', 'openai', 'anthropic', 'local', 'openai-codex', 'gemini', 'openrouter', 'opengateway', 'bedrock', 'hq-proxy',
|
|
162
178
|
];
|
|
163
179
|
|
|
164
180
|
/** `ELANOUS_LLM_PROVIDER` additionally permits every declared runtime provider. */
|
|
165
181
|
export const RUNTIME_LLM_PROVIDER_NAMES: readonly LLMProviderName[] = [
|
|
166
|
-
'auto', 'grok', 'openai', 'anthropic', 'local', 'openai-codex', 'gemini', 'kimi', 'qwen', 'glm', 'openrouter', 'opengateway', 'bedrock',
|
|
182
|
+
'auto', 'grok', 'openai', 'anthropic', 'local', 'openai-codex', 'gemini', 'kimi', 'qwen', 'glm', 'openrouter', 'opengateway', 'bedrock', 'hq-proxy',
|
|
167
183
|
];
|
|
168
184
|
|
|
169
|
-
/** Provider-agnostic reasoning intensity. The HUD click cycle and the
|
|
170
|
-
* `/reasoning` slash command both operate on this 4-state cycle —
|
|
171
|
-
* each provider that supports a "think before answering" mode (codex
|
|
172
|
-
* Responses API, anthropic extended thinking, future gemini) maps
|
|
173
|
-
* `low`/`medium`/`high` onto its own native spec, and `off` always
|
|
174
|
-
* means "send no reasoning option / opt out". The native specs differ
|
|
175
|
-
* in granularity (codex has effort + summary, anthropic has
|
|
176
|
-
* budget_tokens, etc.) but the user-facing surface stays a single
|
|
177
|
-
* level for cross-provider muscle memory. */
|
|
178
|
-
/** ⭐ `xhigh` 추가(대표 2026-09-23). 📏 Codex API 가 400 으로 직접 답한 지원값은
|
|
179
|
-
* `none·minimal·low·medium·high·xhigh·max` 일곱이고, 실호출로 `xhigh`·`max` 수용을 확인했다.
|
|
180
|
-
* ⛔ 이 타입은 «provider 공통» 축이다 — `xhigh` 를 못 받는 provider·모델(anthropic·gemini·grok,
|
|
181
|
-
* 그리고 `reasoningEffortCeiling` 이 high 이하인 모델)에서는 «high 로 깎인다»(wire 변환에서).
|
|
182
|
-
* `max` 는 «일부러» 안 넣었다 — 요청 범위 밖이고, 별칭 `max`(→ tier loaded)와 이름이 겹친다. */
|
|
183
|
-
export type ReasoningLevel = 'off' | 'low' | 'medium' | 'high' | 'xhigh';
|
|
184
|
-
|
|
185
|
-
export interface LLMConfig {
|
|
186
|
-
provider: LLMProviderName;
|
|
187
|
-
apiKey?: string;
|
|
188
|
-
model?: string;
|
|
189
|
-
baseUrl?: string;
|
|
190
|
-
/** Host that owns Codex OAuth refresh authority. Defaults to the HQ's mbp host. */
|
|
191
|
-
codexTokenOwnerHost?: string;
|
|
192
|
-
/** Override the text stream idle watchdog in milliseconds. Omitted keeps provider/family defaults. */
|
|
193
|
-
streamIdleTimeoutMs?: number;
|
|
194
|
-
/** OpenRouter 설정 한 곳(두 골이 같은 키를 쓴다):
|
|
195
|
-
* - `providerPreferences` — 상류 라우팅 선호; 도구 가능 기본값(require_parameters·allow_fallbacks)을 얕게 덮는다(OR-LLM-ROUTING-1).
|
|
196
|
-
* - `fallbackModel` — 유료 OpenRouter 폴백 모델; 체인에 openrouter 를 명시하고 모델·키를 모두 줄 때만 선택된다(OR-FALLBACK-TIER-1).
|
|
197
|
-
* - `upstreamPins` — 모델별 상류 고정 `{ "<wire id>": ["<상류 slug>", …] }`(OR-DEEPSEEK-TUNE · 지금은 deepseek/* 만 읽는다).
|
|
198
|
-
* 기본값 = `src/llm/openrouter-upstream-pins.config.ts` · 모델별로 덮는다 · `[]` = 그 모델 고정 안 함.
|
|
199
|
-
* `providerPreferences` 에 order·only·allow_fallbacks 가 있으면 그쪽이 이긴다. */
|
|
200
|
-
openrouter?: { providerPreferences?: Record<string, unknown>; fallbackModel?: string; upstreamPins?: Record<string, string[]> };
|
|
201
|
-
/** Ordered rotation of providers the user can cycle through with
|
|
202
|
-
* `elanous provider:rotate` / `/provider next`. Each entry is a
|
|
203
|
-
* full (provider, model, apiKey, baseUrl) tuple that gets
|
|
204
|
-
* promoted to the active LLMConfig top-level fields when
|
|
205
|
-
* selected. Optional label used for `/provider use <label>`
|
|
206
|
-
* shortcuts and the rotation list display — defaults to
|
|
207
|
-
* `${provider}:${model}` when omitted. Empty / undefined list
|
|
208
|
-
* = no rotation configured (no `next` to advance to). */
|
|
209
|
-
rotation?: RotationEntry[];
|
|
210
|
-
/** ⭐⭐ codex «계정» 자동 회전 — 주간 리밋에 걸린 계정에서 다른 계정으로 넘긴다(`S4`).
|
|
211
|
-
* ⛔ **기본 ON** (대표 결정 2026-08-05) — `false` 일 때만 꺼진다.
|
|
212
|
-
* ⛔ 이것은 provider 회전(`rotation`)과 «다른 축»이다: 저 축은 provider·모델을 바꾸고,
|
|
213
|
-
* 이 축은 «같은 provider 안에서 어느 계정의 토큰을 쓸지»를 바꾼다.
|
|
214
|
-
* 리셋 크레딧 자동 소비는 별도 일일 상한으로 제한한다. */
|
|
215
|
-
codexAccountRotation?: boolean;
|
|
216
|
-
/** REVIEW-ACP-POD — Pod merge-ready PR 을 병합 전에 호스트 Claude ACP(구독)로 리뷰한다. `true` 일 때만 켜진다(기본 꺼짐 = 종전).
|
|
217
|
-
* env `ELANOUS_POD_HOST_ACP_REVIEW` 가 이 값보다 앞선다. ACP 를 못 쓰면 종전 길(Pod 리뷰 → 재게이트). */
|
|
218
|
-
podHostAcpReview?: boolean;
|
|
219
|
-
/** ⭐⭐ codex 계정 «알림» — 회전·리셋크레딧 소비를 텔레그램 등 outbound 로 보낼지.
|
|
220
|
-
* ⛔ **기본 ON** — `false` 일 때만 조용해진다.
|
|
221
|
-
* ⛔⭐ 위 `codexAccountRotation` 과 «다른 축»이다(대표 지시 2026-08-17 *"회전을 끄라는 게
|
|
222
|
-
* 아니라 텔레그램 알림만"*). 종전엔 노브가 회전 하나뿐이라 알림을 끄면 «구독 과금 경로»까지
|
|
223
|
-
* 죽었고, 그러자 한도 100% 계정에 고정되는 반대편 사고로 갔다(실측 30분 133건 → 회전 정지).
|
|
224
|
-
* ⛔ 꺼도 «조용히» 사라지지 않는다 — `oauth.codex-account / outbound-suppressed` 로 남는다. */
|
|
225
|
-
codexAccountAlerts?: boolean;
|
|
226
|
-
/** ⭐ 회전 «선제» 임계(%) — 사용률이 이 값 «이상»이면 리밋에 걸리기 «전»에 넘긴다.
|
|
227
|
-
* ⛔ 기본 95. 1~100 밖이거나 수가 아니면 판정기가 기본값을 쓴다(`#7579`).
|
|
228
|
-
* ⚠️ 이 셋(타입·파서·재노출)이 «다» 있어야 노브가 산다 — 위 형제 주석이 그 실측이다.
|
|
229
|
-
* `#7579` 는 이 셋을 «하나도» 안 넣어서 노브가 no-op 이었다(2026-08-07 실측으로 잡았다). */
|
|
230
|
-
codexAccountRotationThresholdPercent?: number;
|
|
231
|
-
/** Account-specific rotation thresholds; invalid entries fall back to the normalized global threshold. */
|
|
232
|
-
codexAccountRotationThresholdPercentByAccount?: Record<string, number>;
|
|
233
|
-
/** 회전이 «먼저 쓸» 계정 순서. 없으면 이름 코드포인트 순.
|
|
234
|
-
* 🩸 2026-09-24(대표): 「third 부터 소진하고 그다음 team」 — 이름순(default<new<third)으론 못 만든다.
|
|
235
|
-
* ⛔ 여기 없는 계정은 버리지 않는다 — 뒤로 가서 이름순으로 붙는다. */
|
|
236
|
-
codexAccountOrder?: string[];
|
|
237
|
-
/** Automatic reset-credit uses across all Codex accounts per UTC day; default 1, 0 disables. */
|
|
238
|
-
codexResetAutoConsumePerDay?: number;
|
|
239
|
-
/** 대표 2026-09-28 «크레딧 사용 허가» — 주간 한도가 찬 codex 계정도 «선불 크레딧으로 계속» 쓴다(서버가 한도 소진 시 크레딧으로 넘긴다).
|
|
240
|
-
* 켜면 회전이 «후보 없음»(→ grok 폴백) 대신 지금 계정에 머물고, Pod 배분도 찬 계정을 사용률 낮은 순으로 쓴다.
|
|
241
|
-
* 순서는 여전히 «구독 잔량이 남은 계정 먼저». 기본 꺼짐(크레딧은 돈이다). */
|
|
242
|
-
codexCreditsAllowed?: boolean;
|
|
243
|
-
/** 대표 2026-09-28 codex «한도 정책» — 한도가 차면 무엇을 하나(`src/oauth/codex-quota-policy.ts` 가 canonical):
|
|
244
|
-
* `within-quota`(한도 안에서만 · 전부 차면 멈춤) · `fallback`(한도 안 ⊕ 폴백 체인 · 기본) · `credits`(크레딧까지).
|
|
245
|
-
* 회전·Pod 배분·폴백·매시 한도 알림이 «이 한 값»을 같이 읽는다. 없으면 옛 `codexCreditsAllowed` 를 읽는다. */
|
|
246
|
-
codexQuotaPolicy?: 'within-quota' | 'fallback' | 'credits';
|
|
247
|
-
/** SUBSCRIPTION-EXHAUST-REROUTE (0.2.24) — codex 선불 크레딧 «예비분». 잔액이 이 값 이하로 «알려지면» 크레딧을 쓰지 않고
|
|
248
|
-
* 회전이 `no-candidate` 를 내 폴백(우선 openrouter)으로 넘긴다. 잔액을 모르면 종전. 없으면 2000(`DEFAULT_CODEX_CREDIT_RESERVE`). */
|
|
249
|
-
codexCreditReserve?: number;
|
|
250
|
-
/** Grok weekly launch usage ceiling (percent); defaults to 80. */
|
|
251
|
-
grokWeeklyCapPct?: number;
|
|
252
|
-
/** 대표 2026-10-11 ZAI-CODING-PLAN-PROVIDER — `glm` 직결(Z.ai 코딩 엔드포인트 · `ZAI_API_KEY` 가 있을 때만 선다).
|
|
253
|
-
* `overage` = 플랜 창이 차면 무엇을 하나(codex `codexQuotaPolicy` 와 같은 축 · `src/llm/zai-coding-plan.ts` 가 canonical):
|
|
254
|
-
* `stop`(멈춤 · 기본) · `balance`(계정 잔액 «extra usage» 로 계속 · 잔액/월 상한이면 OpenRouter) · `openrouter`(바로 OpenRouter).
|
|
255
|
-
* `maxConcurrent` = 프로세스당 동시 호출 상한(기본 3). */
|
|
256
|
-
zaiCodingPlan?: { overage?: 'stop' | 'balance' | 'openrouter'; maxConcurrent?: number };
|
|
257
|
-
/** ⭐⭐ codex 가 «소진된 뒤» 갈 곳을 «순서»로 정한다 (대표 2026-08-13).
|
|
258
|
-
*
|
|
259
|
-
* 값: `['codex-rotate', 'grok']` 등 — 아는 칸은 `FALLBACK_STEPS`, 모르는 이름은 버린다(관측에 남는다).
|
|
260
|
-
* `openrouter` 는 명시적 체인·`llm.openrouter.fallbackModel`·API 키가 모두 있어야 한다(유료).
|
|
261
|
-
* ⛔ **미설정이면 `DEFAULT_FALLBACK_CHAIN`(`src/oauth/fallback-chain.ts`) = `['codex-rotate','grok']`** — 설정이 없어도 grok 으로 샌다(#10575).
|
|
262
|
-
* 막으려면 `['codex-rotate']` 를 «명시»한다. 이 인스턴스의 값은 `elanous config get llm.fallbackChain` 으로 잰다.
|
|
263
|
-
*
|
|
264
|
-
* ⭐ `grok` 칸이 안전한 이유: elanous 의 grok 경로는 ACP·프로바이더 «둘 다» 구독으로
|
|
265
|
-
* 나간다(env 스크럽 ⊕ `resolveGrokCredential` 구독 1순위). 소진을 피하려다
|
|
266
|
-
* «다른 지갑을 여는» 일이 없다.
|
|
267
|
-
* ⚠️ 회전을 끄고(`codexAccountRotation: false`) `['grok']` 만 두는 구성도 성립한다 —
|
|
268
|
-
* 「회전을 껐다」가 「grok 도 싫다」는 뜻은 아니다.
|
|
269
|
-
* ⛔ 판정은 `src/oauth/fallback-chain.ts` 가 «순수 함수»로 한다(전수 테스트). */
|
|
270
|
-
fallbackChain?: string[];
|
|
271
|
-
/** Ordered model ids to try when the primary review provider is unavailable. */
|
|
272
|
-
reviewFallbackModels?: string[];
|
|
273
|
-
/** Provider-agnostic reasoning level — primary control. Mapped per
|
|
274
|
-
* provider:
|
|
275
|
-
* - codex: low={effort:low, summary:concise}, medium={medium,detailed},
|
|
276
|
-
* high={high,detailed}, off=no reasoning block.
|
|
277
|
-
* - anthropic: low/medium/high → extended-thinking budget_tokens
|
|
278
|
-
* 2k/8k/32k, off=no thinking.
|
|
279
|
-
* Other providers ignore (treat as off). When `codexReasoning` is
|
|
280
|
-
* ALSO set it takes precedence — it's the advanced fine-grained
|
|
281
|
-
* override for users who want to tune effort and summary
|
|
282
|
-
* independently. */
|
|
283
|
-
reasoningLevel?: ReasoningLevel;
|
|
284
|
-
/** Codex Responses API reasoning options (gpt-5 family only).
|
|
285
|
-
* Advanced fine-grained override — when set, supersedes
|
|
286
|
-
* `reasoningLevel` for the codex provider. When the wire body is
|
|
287
|
-
* built `reasoning: { effort, summary }` ships and
|
|
288
|
-
* `include: ["reasoning.encrypted_content"]` is added.
|
|
289
|
-
* - effort: 'minimal'|'low'|'medium'|'high' (model decides depth
|
|
290
|
-
* of reasoning before answering). undefined → use model default.
|
|
291
|
-
* - summary: 'auto'|'concise'|'detailed' (granularity of the
|
|
292
|
-
* reasoning summary surface). undefined → no summary stream
|
|
293
|
-
* (model still reasons internally, just opaque to the client).
|
|
294
|
-
* Omit the whole block AND `reasoningLevel` to opt out entirely. */
|
|
295
|
-
codexReasoning?: {
|
|
296
|
-
effort?: 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
297
|
-
summary?: 'auto' | 'concise' | 'detailed';
|
|
298
|
-
};
|
|
299
|
-
/** Tier 2 across-turn goal-execution loop 아밍(2026-07-19 goal-exec). enabled=true 면
|
|
300
|
-
* codex-family 턴을 `runGoalLoop` 으로 감싸 목표 완료(증거게이트·GOAL-COMPLETE 마커)까지
|
|
301
|
-
* across-turn 지속·continuation 재주입. 기본 미설정=off(비-아밍·안전). maxIterations 는
|
|
302
|
-
* 폭주 하드캡(기본 8). config-first 아밍(`elanous config set llm.goalLoop.enabled true`). */
|
|
303
|
-
goalLoop?: {
|
|
304
|
-
enabled?: boolean;
|
|
305
|
-
maxIterations?: number;
|
|
306
|
-
};
|
|
307
|
-
/** LLM-judge memory recall(2026-07-19 · 대표 지시 기본 ON). 세션 턴의 기억 주입이 키워드
|
|
308
|
-
* 매칭 대신 경량 LLM 의미판정(WSD·claude-code findRelevantMemories 이식)으로 관련 기억을
|
|
309
|
-
* 고른다. **미설정=ON**(judge 실패 시 키워드 fallback·fail-soft 라 항상 켜도 안전). 끄려면
|
|
310
|
-
* `enabled: false`. model 미지정 시 luna(경량). `elanous config set llm.memoryJudge.enabled false`. */
|
|
311
|
-
memoryJudge?: {
|
|
312
|
-
enabled?: boolean;
|
|
313
|
-
model?: string;
|
|
314
|
-
/** 크로스 회상(2026-07-19) — 턴 기억 주입에 파일메모리(①) 옆으로 self-log(②·surface_events)
|
|
315
|
-
* 관련 top-K 를 함께 붙인다(한 쿼리로 두 시스템). 미설정=ON·fail-soft. 끄려면 false. */
|
|
316
|
-
crossRecall?: boolean;
|
|
317
|
-
};
|
|
318
|
-
/** Tier 1(2026-07-19 goal-exec) — codex inspect-budget 하드월 면제 아밍. true 면
|
|
319
|
-
* codex-family 가 inspect-synthesis 강제 정지(2-file 하드스톱) 없이 넓게 조사한다
|
|
320
|
-
* (read-cap → CODEX_TOOL_DISCIPLINE explore 규율 + compaction 으로 대체·ref codex 동형).
|
|
321
|
-
* 기본 미설정=off(옛 re-read taming 유지·안전). config-first 아밍. 비-codex 무영향. */
|
|
322
|
-
codexInspectExempt?: boolean;
|
|
323
|
-
/** Opt-out for the Codex `store=true` + `previous_response_id` wave.
|
|
324
|
-
* When true (default) the codex provider asks the backend to persist
|
|
325
|
-
* each response under the user's account and threads
|
|
326
|
-
* `previous_response_id` on subsequent turns so it can send only the
|
|
327
|
-
* delta input items. Set false for a fully stateless wire shape —
|
|
328
|
-
* privacy-leaning users who don't want server-side conversation
|
|
329
|
-
* retention. Other providers ignore. */
|
|
330
|
-
codexStore?: boolean;
|
|
331
|
-
/** Gemini safety filter level. Maps onto the native API's
|
|
332
|
-
* `safetySettings` array (4 categories × threshold). Wave C1
|
|
333
|
-
* (2026-05-04). Other providers ignore.
|
|
334
|
-
* - `default`: backend defaults (BLOCK_MEDIUM_AND_ABOVE per category)
|
|
335
|
-
* - `permissive`: BLOCK_ONLY_HIGH — allows political / creative /
|
|
336
|
-
* sensitive content that the default tier blocks. Use when the
|
|
337
|
-
* workflow needs frank discussion of policy / news / fiction.
|
|
338
|
-
* - `strict`: BLOCK_LOW_AND_ABOVE — conservative, blocks even
|
|
339
|
-
* borderline content. Use for kid-facing or compliance-sensitive
|
|
340
|
-
* deployments.
|
|
341
|
-
* Omit field for backend default. */
|
|
342
|
-
geminiSafety?: 'default' | 'permissive' | 'strict';
|
|
343
|
-
/** Gemini server-side native tools. Wave C2 (2026-05-04). When any
|
|
344
|
-
* field is true, monad-agent's client-side tool list is augmented
|
|
345
|
-
* with the corresponding native Gemini tool entry, executed server-
|
|
346
|
-
* side by Google's infrastructure. Useful when the model needs
|
|
347
|
-
* fresh information (googleSearch) or sandboxed code execution
|
|
348
|
-
* (codeExecution) without round-tripping through monad-agent's
|
|
349
|
-
* Bash/WebFetch. Omit fields for purely client-side tools.
|
|
350
|
-
* Note: native tools and client-side function declarations can be
|
|
351
|
-
* mixed in the same request. Other providers ignore. */
|
|
352
|
-
geminiServerTools?: {
|
|
353
|
-
googleSearch?: boolean;
|
|
354
|
-
codeExecution?: boolean;
|
|
355
|
-
urlContext?: boolean;
|
|
356
|
-
};
|
|
357
|
-
/** High-level intent for the tool-loop budget. Maps to per-family
|
|
358
|
-
* maxTurns when `maxTurns.<family>` is not explicitly overridden.
|
|
359
|
-
* - `cost` — fast answers, lowest spend (claude 6 / codex 4 / gemini 4)
|
|
360
|
-
* - `balanced` — typical use (claude 12 / codex 6 / gemini 6)
|
|
361
|
-
* - `quality` — deeper exploration (claude 24 / codex 8 / gemini 8) — default
|
|
362
|
-
* - `exhaustive` — push for completeness (claude 50 / codex 12 / gemini 12)
|
|
363
|
-
* codex/gemini caps stay tight even in exhaustive mode — their
|
|
364
|
-
* re-read pathology is real and the docs/HANDOFF measurements show
|
|
365
|
-
* hard cap is the only reliable brake. claude family swings widest
|
|
366
|
-
* because Opus self-regulates well (claude-code-fork pattern). */
|
|
367
|
-
answerPriority?: 'cost' | 'balanced' | 'quality' | 'exhaustive';
|
|
368
|
-
/** Per-family tool-loop budget override. When a field is set it
|
|
369
|
-
* wins over the `answerPriority` mapping; null/0 means "unlimited"
|
|
370
|
-
* (use with care — only safe for self-terminating models like
|
|
371
|
-
* Anthropic Opus). When omitted, the field falls back to
|
|
372
|
-
* answerPriority's mapping for that family. `default` covers any
|
|
373
|
-
* family not explicitly listed (local / gpt / other). grok has
|
|
374
|
-
* its own cell — same override path as codex, including unlimited. */
|
|
375
|
-
maxTurns?: MaxTurnsBudget;
|
|
376
|
-
/** Local LLM (LM Studio / Ollama / MLX / Docker) parameter tuning
|
|
377
|
-
* policy. 2026-05-05 generalisation of the qwen-only auto-tuning
|
|
378
|
-
* introduced earlier in the same session — the user explicitly
|
|
379
|
-
* asked for a YAML-backed registry so per-family recipes live in
|
|
380
|
-
* documents rather than as scattered regex switches in code, and
|
|
381
|
-
* so a future tuning UI has a uniform model-id → params map to
|
|
382
|
-
* read from.
|
|
383
|
-
*
|
|
384
|
-
* - `'predefined'` (default · undefined) — match the local model
|
|
385
|
-
* id against the built-in `presets.yaml` (overlaid by
|
|
386
|
-
* `~/.elanous/local-llm-presets.yaml` when present). Qwen3 family
|
|
387
|
-
* gets the official thinking-mode recipe (temp 0.6 · top_p 0.95
|
|
388
|
-
* · top_k 20 · max 8192 · auto `/no_think`); other families get
|
|
389
|
-
* their vendor-recommended values; unknown ids fall through to
|
|
390
|
-
* the catch-all `openai-default` (temp 0.3 · max 4096).
|
|
391
|
-
* - `'custom'` — ignore the registry; apply `localCustomParams`
|
|
392
|
-
* verbatim. Any field omitted in `localCustomParams` falls
|
|
393
|
-
* through to provider defaults (e.g. temp 0.3, max 4096).
|
|
394
|
-
* - `'none'` — apply no preset at all (legacy bare OpenAI-compat
|
|
395
|
-
* defaults). Useful when running an experimental model where
|
|
396
|
-
* the registry's catch-all values would mask issues.
|
|
397
|
-
*/
|
|
398
|
-
localPresetMode?: 'predefined' | 'custom' | 'none';
|
|
399
|
-
/** Active when `localPresetMode === 'custom'`. Each field maps 1:1
|
|
400
|
-
* to the OpenAI-compat request body. `auto_prepend_no_think`
|
|
401
|
-
* controls the qwen `/no_think` soft-switch tag injection (only
|
|
402
|
-
* meaningful for qwen-family models — silently ignored elsewhere). */
|
|
403
|
-
localCustomParams?: {
|
|
404
|
-
temperature?: number;
|
|
405
|
-
top_p?: number;
|
|
406
|
-
top_k?: number;
|
|
407
|
-
min_p?: number;
|
|
408
|
-
max_tokens?: number;
|
|
409
|
-
auto_prepend_no_think?: boolean;
|
|
410
|
-
};
|
|
411
|
-
/** P1-2 (iPhone Showroom Phase 1 · 2026-05-14) — mission router
|
|
412
|
-
* policy. Tier 1 heuristic resolves a mission kind (plan / build /
|
|
413
|
-
* review / research / quick / vision); the entry under
|
|
414
|
-
* `missions[<kind>]` decides which provider/model gets that turn.
|
|
415
|
-
* Omit the slot entirely to take built-in defaults from
|
|
416
|
-
* `src/llm/mission-router.ts` DEFAULT_PROVIDER / DEFAULT_MODEL.
|
|
417
|
-
* `mode = 'manual'` short-circuits the router so the user's chip
|
|
418
|
-
* selection wins — useful when piloting an unfamiliar backend. */
|
|
419
|
-
missionRouting?: MissionRoutingConfig;
|
|
420
|
-
/** Explicit execution policy, independent from missionRouting's legacy
|
|
421
|
-
* prediction table. New behavioural routing policy lives only in config. */
|
|
422
|
-
routePolicy?: LlmRoutePolicyConfig;
|
|
423
|
-
/** PLAN-model-intelligence-router · Part B — content-based per-task
|
|
424
|
-
* smart router. OFF by default. When `enabled`, turns whose model is
|
|
425
|
-
* `auto`/unpinned get a `ModelTier` chosen from the input's difficulty
|
|
426
|
-
* (`src/model-tier/task-router.ts`), then resolved to a concrete model
|
|
427
|
-
* via the tier ladder. An explicit model pin always bypasses it. This
|
|
428
|
-
* is orthogonal to `missionRouting` (which routes by mission *kind*,
|
|
429
|
-
* not content). `useClassifierLlm` enables the hybrid LLM escalation
|
|
430
|
-
* for ambiguous inputs; when false the router is heuristic-only (no
|
|
431
|
-
* per-turn LLM cost). */
|
|
432
|
-
autoRoute?: AutoRouteConfig;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
/** Persisted under `llm.autoRoute`. See {@link LLMConfig.autoRoute}. */
|
|
436
|
-
export interface AutoRouteConfig {
|
|
437
|
-
enabled?: boolean;
|
|
438
|
-
useClassifierLlm?: boolean;
|
|
439
|
-
/** Phase B3 — apply the inline nuance nudge ("신중히"↑ / "대충 빨리"↓)
|
|
440
|
-
* on top of the content tier. */
|
|
441
|
-
applyNuance?: boolean;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
/** Partial slice persisted under `llm.missionRouting`. Source of truth
|
|
445
|
-
* for the type is `src/llm/mission-router.ts` — re-declared here to
|
|
446
|
-
* avoid a runtime import from user-config into the llm subtree. */
|
|
447
|
-
export interface MissionRoutingConfig {
|
|
448
|
-
mode?: 'auto' | 'manual';
|
|
449
|
-
missions?: Partial<Record<
|
|
450
|
-
'plan' | 'build' | 'review' | 'research' | 'quick' | 'vision',
|
|
451
|
-
{ provider: string; model?: string }
|
|
452
|
-
>>;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
export interface LlmRoutePolicyConfig {
|
|
456
|
-
/** codex-first keeps subscription-backed Codex tiers as the active coding lane. */
|
|
457
|
-
mode?: 'codex-first' | 'active-provider';
|
|
458
|
-
/** Opus may only be proposed after recorded evidence and HITL approval. */
|
|
459
|
-
opusEscalation?: 'evidence-hitl';
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
/** One entry in the user's provider rotation list. Shape is a
|
|
463
|
-
* subset of LLMConfig (provider + override fields) plus an
|
|
464
|
-
* optional display label. When a rotation entry is activated the
|
|
465
|
-
* runtime copies these fields onto LLMConfig's top level and saves. */
|
|
466
|
-
export interface RotationEntry {
|
|
467
|
-
provider: LLMProviderName;
|
|
468
|
-
model?: string;
|
|
469
|
-
apiKey?: string;
|
|
470
|
-
baseUrl?: string;
|
|
471
|
-
/** Optional short name for CLI / slash picks: `elanous provider:use opus`. */
|
|
472
|
-
label?: string;
|
|
473
|
-
}
|
|
474
|
-
|
|
475
185
|
const LLM_DEFAULTS: LLMConfig = { provider: 'auto', grokWeeklyCapPct: 80 };
|
|
476
186
|
|
|
477
|
-
// ── Skills ───────────────────────────────────────────────────────────
|
|
478
|
-
|
|
479
|
-
export type SkillSetName =
|
|
480
|
-
| 'claudecode' | 'opencode' | 'codex' | 'hermes' | 'openclaw' | 'custom';
|
|
481
|
-
|
|
482
|
-
export type SkillSourceKind = 'preset' | 'shared' | 'connected' | 'package';
|
|
483
|
-
|
|
484
|
-
/** One skill root elanous reads. `mode` is always `ref` today (the folder is read where it is). */
|
|
485
|
-
export interface SkillSource {
|
|
486
|
-
id: string;
|
|
487
|
-
path: string;
|
|
488
|
-
kind: SkillSourceKind;
|
|
489
|
-
enabled: boolean;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
export interface SkillsConfig {
|
|
493
|
-
activeSet: SkillSetName;
|
|
494
|
-
dirs: string[];
|
|
495
|
-
/** Gift redemption API origin; defaults to https://elanous.ai. */
|
|
496
|
-
giftEndpoint?: string;
|
|
497
|
-
/** Include the existing shared ~/.agents/skills directory. Default true; false opts out. */
|
|
498
|
-
includeSharedAgentSkills?: boolean;
|
|
499
|
-
/**
|
|
500
|
-
* EN5 — the one source list. On disk it holds only what `elanous connect` registered (kind `connected`, read in
|
|
501
|
-
* place, never copied); the preset (`activeSet`/`dirs`), the shared `~/.agents/skills` root and Claude package
|
|
502
|
-
* roots are derived at read time by `resolveSkillSources()`. The dev-only `connected: string[]` key (EN9, never
|
|
503
|
-
* released) is read and folded in here; the next save writes `sources` instead.
|
|
504
|
-
*/
|
|
505
|
-
sources?: SkillSource[];
|
|
506
|
-
/** Explicit skill-name allowlist. When set and non-empty, the skill
|
|
507
|
-
* index filters to this list — all other skills are hidden from
|
|
508
|
-
* routing, autocompletion, and `/run-skill`. Use when a project
|
|
509
|
-
* only ever needs a small subset of the global skill folder. Empty
|
|
510
|
-
* or absent = no allowlist (all skills visible). Session 21. */
|
|
511
|
-
allow?: string[];
|
|
512
|
-
/** Skill-name blocklist. Takes precedence over `allow`. Use to hide
|
|
513
|
-
* one or two specific skills without having to enumerate everything
|
|
514
|
-
* else. Empty or absent = no blocks. Session 21. */
|
|
515
|
-
deny?: string[];
|
|
516
|
-
/** URL→skill auto-routing (PLAN-url-triage-routing-2026-07-22). When a
|
|
517
|
-
* free-typed message contains a URL and no guard keyword, the mapped
|
|
518
|
-
* digest/absorb skill auto-fires (interactive surfaces only — TUI +
|
|
519
|
-
* Telegram). See `skills/url-router.ts`. */
|
|
520
|
-
urlRouting: UrlRoutingConfig;
|
|
521
|
-
/** Conservative pre-LLM implementation-request detector. */
|
|
522
|
-
devRequestRouting: DevRequestRoutingConfig;
|
|
523
|
-
/**
|
|
524
|
-
* Opt-in: append installed Claude package `installPath/skills` directories
|
|
525
|
-
* from the live plugin ledger. Default off — turning this on is the only
|
|
526
|
-
* way package instruction roots join the skill-dir list. Absent/false
|
|
527
|
-
* preserves the previous list exactly.
|
|
528
|
-
*/
|
|
529
|
-
includeClaudePackageSkills?: boolean;
|
|
530
|
-
/**
|
|
531
|
-
* Opt-in: convert installed Claude package `installPath/commands/*.md`
|
|
532
|
-
* files into skill-index entries. Independent of
|
|
533
|
-
* `includeClaudePackageSkills` — turning one on does not turn the other
|
|
534
|
-
* on. Default off; absent/false leaves `buildSkillIndex` identical to
|
|
535
|
-
* before this key existed. Discovery is not a skill-dir append (command
|
|
536
|
-
* files are flat markdown, not `SKILL.md` trees).
|
|
537
|
-
*/
|
|
538
|
-
includeClaudePackageCommands?: boolean;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
187
|
export function skillSetDir(name: SkillSetName): string | null {
|
|
542
188
|
switch (name) {
|
|
543
189
|
case 'claudecode': return join(REMOTE_HOME, '.claude', 'skills');
|
|
@@ -553,26 +199,6 @@ export const SKILL_SET_NAMES: SkillSetName[] = [
|
|
|
553
199
|
'claudecode', 'opencode', 'codex', 'hermes', 'openclaw', 'custom',
|
|
554
200
|
];
|
|
555
201
|
|
|
556
|
-
/**
|
|
557
|
-
* ★ G9 P5a(2026-07-25) — user-config 가 지정한 **유효 skill 디렉토리**를 해석한다. 종전엔 `getSkillIndex()`
|
|
558
|
-
* 가 인자 없이 호출돼 항상 `~/.claude/skills`(LOCAL_SKILLS_DIR)만 봐서 `skills.activeSet`/`skills.dirs`(온보딩·
|
|
559
|
-
* codex/opencode 등)를 **무시**했다(project_mission_toolset_optimality_review 백로그). 이 헬퍼가 그 갭을 메운다.
|
|
560
|
-
* - activeSet !== 'custom' → 그 preset 디렉토리(skillSetDir).
|
|
561
|
-
* - activeSet === 'custom' 또는 preset 미해석 → `dirs`(명시 커스텀).
|
|
562
|
-
* - 둘 다 비면 → `~/.claude/skills`(기본·**무회귀**: 기본 activeSet='claudecode' 도 이 경로로 귀결).
|
|
563
|
-
* - `includeClaudePackageSkills === true` 이면 그 뒤에 원장의 현행 `installPath/skills`
|
|
564
|
-
* (실재하는 것만, 중복 없이)를 붙인다. 기본값은 끄기 — 목록은 이전과 같다.
|
|
565
|
-
* fail-soft: config 읽기 실패 시 기본 경로(스킬 라우팅이 조용히 죽지 않게).
|
|
566
|
-
*/
|
|
567
|
-
export interface DefaultSkillDirsOptions {
|
|
568
|
-
/** Override `~/.claude/plugins`. Tests pass a temp root; production omits this. */
|
|
569
|
-
pluginsRoot?: string;
|
|
570
|
-
/** Override the installed package root. Tests pass a temp root; production omits this. */
|
|
571
|
-
bundledSkillsRoot?: string;
|
|
572
|
-
/** Override the shared-agent home for isolated discovery tests. */
|
|
573
|
-
sharedAgentHome?: string;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
202
|
/** Resolve the `skills/` directory shipped with this installed package. */
|
|
577
203
|
export function bundledSkillsDir(packageRoot: string = dirname(import.meta.dir)): string {
|
|
578
204
|
return join(packageRoot, 'skills');
|
|
@@ -631,10 +257,7 @@ export function resolveSkillSources(cfg?: UserConfig, opts?: DefaultSkillDirsOpt
|
|
|
631
257
|
sources = preset([...sk.dirs], 'custom');
|
|
632
258
|
}
|
|
633
259
|
const has = (path: string) => sources.some((source) => source.path === path);
|
|
634
|
-
const shared = sharedAgentSkillRoots({
|
|
635
|
-
home: opts?.sharedAgentHome ?? REMOTE_HOME,
|
|
636
|
-
includeSharedAgentSkills: sk.includeSharedAgentSkills !== false,
|
|
637
|
-
});
|
|
260
|
+
const shared = sharedAgentSkillRoots({ home: opts?.sharedAgentHome ?? REMOTE_HOME });
|
|
638
261
|
try { debug.log('skills.roots', 'shared-agent', { found: shared.length }); }
|
|
639
262
|
catch { /* discovery remains fail-soft when observation is unavailable */ }
|
|
640
263
|
for (const path of shared) if (!has(path)) sources.push({ id: 'agents', path, kind: 'shared', enabled: true });
|
|
@@ -811,7 +434,6 @@ function skillsDefaults(): SkillsConfig {
|
|
|
811
434
|
activeSet: 'claudecode',
|
|
812
435
|
dirs: d ? [d] : [],
|
|
813
436
|
giftEndpoint: 'https://elanous.ai',
|
|
814
|
-
includeSharedAgentSkills: true,
|
|
815
437
|
allow: [],
|
|
816
438
|
deny: [],
|
|
817
439
|
urlRouting: urlRoutingDefaults(),
|
|
@@ -819,32 +441,10 @@ function skillsDefaults(): SkillsConfig {
|
|
|
819
441
|
};
|
|
820
442
|
}
|
|
821
443
|
|
|
822
|
-
// ── Obsidian ─────────────────────────────────────────────────────────
|
|
823
|
-
|
|
824
|
-
export interface ObsidianConfig {
|
|
825
|
-
vault: string;
|
|
826
|
-
/** 격리(test) 우주의 «쓰기 시험» 볼트(예 `elantest`) — 읽기는 늘 `vault`. 볼트 쓰기 가드의 허용 목록에 든다(대표·🅞 2026-09-26). */
|
|
827
|
-
testVault?: string;
|
|
828
|
-
}
|
|
829
|
-
|
|
830
444
|
function obsidianDefaults(): ObsidianConfig {
|
|
831
445
|
return { vault: defaultObsidianVault({ env: process.env, home: REMOTE_HOME }) };
|
|
832
446
|
}
|
|
833
447
|
|
|
834
|
-
// ── Telegram ─────────────────────────────────────────────────────────
|
|
835
|
-
|
|
836
|
-
/** Report channel — a SEND-ONLY destination distinct from the Q&A
|
|
837
|
-
* `homeChannel`. Serves the multi-channel split (2026-07-05): inbound
|
|
838
|
-
* Q&A stays on the main bot + homeChannel, while reports (cron digests,
|
|
839
|
-
* autonomous-loop output, trading alerts) route here. `botToken` is
|
|
840
|
-
* optional — set it when the report channel is served by a DIFFERENT
|
|
841
|
-
* bot than the Q&A bot (e.g. a channel the user's report bot already
|
|
842
|
-
* owns); when omitted, the main `telegram.botToken` is reused. */
|
|
843
|
-
export interface TelegramReportChannel {
|
|
844
|
-
chatId: number;
|
|
845
|
-
botToken?: string;
|
|
846
|
-
}
|
|
847
|
-
|
|
848
448
|
/** Parse a stored `telegram.reportChannel` into a typed value, or
|
|
849
449
|
* undefined when absent/malformed. A finite `chatId` is required; a
|
|
850
450
|
* non-empty string `botToken` is optional. Malformed input drops to
|
|
@@ -861,18 +461,6 @@ function normalizeReportChannel(raw: unknown): TelegramReportChannel | undefined
|
|
|
861
461
|
return botToken ? { chatId, botToken } : { chatId };
|
|
862
462
|
}
|
|
863
463
|
|
|
864
|
-
/** A SEPARATE bot for `elanous telegram-test` — the standalone, isolated test
|
|
865
|
-
* messenger that runs outside the production daemon. `botToken` (required)
|
|
866
|
-
* is a distinct BotFather token so getUpdates never 409s against prod;
|
|
867
|
-
* `allowedUsers` is optional (falls back to the main allowlist). */
|
|
868
|
-
export interface TelegramTestChannel {
|
|
869
|
-
botToken: string;
|
|
870
|
-
allowedUsers?: number[];
|
|
871
|
-
/** 무인 주입(scripts/telegram-inject.ts·#24)의 대상 봇 username(예: `@test_helper_bot`). 봇이 여럿일
|
|
872
|
-
* 때 어느 봇(테스트 채널용)에 objective 를 주입할지 명시. env `TELEGRAM_TEST_BOT`/`--to` 로도 지정 가능. */
|
|
873
|
-
botUsername?: string;
|
|
874
|
-
}
|
|
875
|
-
|
|
876
464
|
/** Parse `telegram.testChannel`. Requires a non-empty `botToken`; drops to
|
|
877
465
|
* undefined otherwise (feature off) — fail-soft, like normalizeReportChannel. */
|
|
878
466
|
function normalizeTestChannel(raw: unknown): TelegramTestChannel | undefined {
|
|
@@ -895,21 +483,6 @@ function normalizeTestChannel(raw: unknown): TelegramTestChannel | undefined {
|
|
|
895
483
|
};
|
|
896
484
|
}
|
|
897
485
|
|
|
898
|
-
/** 멀티 봇/채널 — 채널 하나 = 봇 토큰 하나(elanous 전용) + chat + 역할 + 상호작용 여부.
|
|
899
|
-
* `interactive:true` 면 getUpdates Q&A 폴러를 띄우고, `false` 면 발송 전용(noti-only).
|
|
900
|
-
* `roles` 는 발송 라우팅 태그(qa/alert/report/digest 등). 변경은 재시작 시 적용(정적).
|
|
901
|
-
* channels 미지정 시 legacy botToken/homeChannel/reportChannel 에서 자동 파생. */
|
|
902
|
-
export interface TelegramChannel {
|
|
903
|
-
name: string;
|
|
904
|
-
botToken: string;
|
|
905
|
-
chatId: number;
|
|
906
|
-
interactive: boolean;
|
|
907
|
-
roles: string[];
|
|
908
|
-
/** 봇 username(예: `primary_bot`). 무인 유틸(scripts/telegram-inject.ts)이
|
|
909
|
-
* role/name 으로 대상 봇을 config 한 곳에서 찾도록 하는 조회용 필드. 선택. */
|
|
910
|
-
botUsername?: string;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
486
|
/** 저장된 telegram.channels[] 파싱. 각 항목은 botToken+chatId 필수. fail-soft. */
|
|
914
487
|
function normalizeKindRoles(raw: unknown): Record<string, string> | undefined {
|
|
915
488
|
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) return undefined;
|
|
@@ -941,53 +514,8 @@ function normalizeTelegramChannels(raw: unknown): TelegramChannel[] | undefined
|
|
|
941
514
|
return out.length ? out : undefined;
|
|
942
515
|
}
|
|
943
516
|
|
|
944
|
-
export interface TelegramConfig {
|
|
945
|
-
enabled: boolean;
|
|
946
|
-
botToken?: string;
|
|
947
|
-
allowedUsers: number[];
|
|
948
|
-
/** Q&A channel — inbound + default outbound for the main bot. */
|
|
949
|
-
homeChannel?: number;
|
|
950
|
-
/** Send-only report destination (may use a separate bot). */
|
|
951
|
-
reportChannel?: TelegramReportChannel;
|
|
952
|
-
/** ★ 멀티 채널(명시). 지정 시 legacy 파생 대신 이 목록을 쓴다. resolveTelegramChannels 참조. */
|
|
953
|
-
channels?: TelegramChannel[];
|
|
954
|
-
/** Standalone `elanous telegram-test` bot — separate token, isolated,
|
|
955
|
-
* runs outside the production daemon. */
|
|
956
|
-
testChannel?: TelegramTestChannel;
|
|
957
|
-
/** 누가 Q&A 폴링을 하나 — 기본(없음·`'nexus'`)은 넥서스 데몬, `'standalone'` 이면
|
|
958
|
-
* 넥서스는 폴링하지 않고 `elanous telegram run` 이 맡는다. */
|
|
959
|
-
poller?: 'nexus' | 'standalone';
|
|
960
|
-
/** 레거시 kind→역할 설정(읽기 호환). 선택한 채널의 봇이 kind 정책의
|
|
961
|
-
* 운영/매매 경계를 지킬 때만 발송 라우팅에 적용한다. */
|
|
962
|
-
kindRoles?: Record<string, string>;
|
|
963
|
-
/** `#현장` 캡션에 행사 슬러그가 없을 때 쓸 기본 행사(예: `marketers-night-2026-10`). 없으면 `field-<로컬 날짜>`. */
|
|
964
|
-
fieldDefaultEvent?: string;
|
|
965
|
-
/** `#현장` 영상의 기본 렌더 모드. 미지정 시 standard, 캡션의 `즉석`/`instant` 가 우선. */
|
|
966
|
-
fieldReelMode?: 'standard' | 'instant';
|
|
967
|
-
/** 대화를 처음 열거나 6시간 이상 쉰 뒤 첫 말 앞에 `/v1/context/now` 요약을 한 메시지로 보낸다. 기본 켬. `false` 만 끈다. */
|
|
968
|
-
contextFirst?: boolean;
|
|
969
|
-
}
|
|
970
|
-
|
|
971
517
|
const TELEGRAM_DEFAULTS: TelegramConfig = { enabled: false, allowedUsers: [] };
|
|
972
518
|
|
|
973
|
-
// Discord mirrors Telegram's shape. User / channel IDs are Discord
|
|
974
|
-
// snowflakes (64-bit integers) — kept as strings since JS numbers
|
|
975
|
-
// can't represent full 64-bit range safely.
|
|
976
|
-
/** `elanous discord-test` scope (PLAN-multi-surface-pty-shell M4a-0) —
|
|
977
|
-
* SAME app/token as production (Discord gateway allows concurrent
|
|
978
|
-
* sessions per token, unlike telegram's 409-forced split; 실측
|
|
979
|
-
* 2026-07-12), isolated by CHANNEL: the test runner only processes
|
|
980
|
-
* messages in `channelId`. `botToken` is an optional escape hatch
|
|
981
|
-
* for full-app isolation if ever needed. */
|
|
982
|
-
export interface DiscordTestChannel {
|
|
983
|
-
/** Dedicated guild text channel snowflake (e.g. #elanous_test). */
|
|
984
|
-
channelId: string;
|
|
985
|
-
/** Optional allowlist override (falls back to discord.allowedUsers). */
|
|
986
|
-
allowedUsers?: string[];
|
|
987
|
-
/** Optional separate bot token (default: reuse discord.botToken). */
|
|
988
|
-
botToken?: string;
|
|
989
|
-
}
|
|
990
|
-
|
|
991
519
|
/** Parse `discord.testChannel`. Requires a non-empty `channelId`;
|
|
992
520
|
* drops to undefined otherwise (feature off) — fail-soft, mirrors
|
|
993
521
|
* telegram's normalizeTestChannel. */
|
|
@@ -1009,130 +537,12 @@ function normalizeDiscordTestChannel(raw: unknown): DiscordTestChannel | undefin
|
|
|
1009
537
|
};
|
|
1010
538
|
}
|
|
1011
539
|
|
|
1012
|
-
export interface DiscordConfig {
|
|
1013
|
-
enabled: boolean;
|
|
1014
|
-
botToken?: string;
|
|
1015
|
-
/** Discord user IDs (snowflake strings) permitted to DM the bot.
|
|
1016
|
-
* Empty = refuse everyone (safer default than "allow all"). */
|
|
1017
|
-
allowedUsers: string[];
|
|
1018
|
-
/** Channel snowflake for cron / push output (optional). */
|
|
1019
|
-
homeChannel?: string;
|
|
1020
|
-
/** EV12c — guild text channels where the production bot chats like a DM (allowlist still applies).
|
|
1021
|
-
* Empty / absent = DM-only, as before. */
|
|
1022
|
-
chatChannels?: string[];
|
|
1023
|
-
/** Standalone `elanous discord-test` scope — same token, dedicated
|
|
1024
|
-
* channel, isolated state. See DiscordTestChannel. */
|
|
1025
|
-
testChannel?: DiscordTestChannel;
|
|
1026
|
-
/** 첫 말·6시간 쉼 뒤 일반 답 앞에 맥락 요약을 보낸다. 기본 켬, false 만 끈다. */
|
|
1027
|
-
contextFirst?: boolean;
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
540
|
const DISCORD_DEFAULTS: DiscordConfig = { enabled: false, allowedUsers: [] };
|
|
1031
541
|
|
|
1032
|
-
// ── Onboarding ───────────────────────────────────────────────────────
|
|
1033
|
-
|
|
1034
|
-
export interface OnboardingConfig {
|
|
1035
|
-
webFirst?: boolean;
|
|
1036
|
-
ready?: boolean;
|
|
1037
|
-
completed: boolean;
|
|
1038
|
-
completedAt?: string;
|
|
1039
|
-
version: number;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
542
|
const ONBOARDING_VERSION = 1;
|
|
1043
543
|
|
|
1044
544
|
const ONBOARDING_DEFAULTS: OnboardingConfig = { completed: false, version: 0 };
|
|
1045
545
|
|
|
1046
|
-
// ── Tools ────────────────────────────────────────────────────────────
|
|
1047
|
-
// ROADMAP-agent-surface-deferred-tools-2026-05-13 Wave 2 · W2.9.
|
|
1048
|
-
// Configures the tier-flip / deferred-tools behaviour at the user
|
|
1049
|
-
// level. `deferred.mode === 'off'` opts out — every catalog spec is
|
|
1050
|
-
// passed to the provider every turn (the pre-Wave-2 behaviour). Used
|
|
1051
|
-
// for A/B baseline measurement (M1–M5) and for unblocking diagnosis
|
|
1052
|
-
// when a deferred tool is misbehaving.
|
|
1053
|
-
//
|
|
1054
|
-
// `[[feedback_user_config_over_env]]`: env vars are NOT a fallback —
|
|
1055
|
-
// the only knob is user-config. Tests inject via `getUserConfig` mock
|
|
1056
|
-
// or by passing `enabled` directly to `applyDeferredTools`.
|
|
1057
|
-
|
|
1058
|
-
export type DeferredToolsMode = 'always' | 'off';
|
|
1059
|
-
|
|
1060
|
-
export interface DeferredToolsConfig {
|
|
1061
|
-
/** 'always' (default) — split catalog into active/deferred every
|
|
1062
|
-
* turn. 'off' — ship every tool's full schema (pre-Wave-2 path).
|
|
1063
|
-
* Anything else → coerced to 'always' at load time. */
|
|
1064
|
-
mode: DeferredToolsMode;
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
export interface AgentSpawnConfig {
|
|
1068
|
-
/** ROADMAP-agent-surface-deferred-tools-2026-05-13 Wave 5 E3 —
|
|
1069
|
-
* HOP_CAP. Max spawn-tree depth before `AgentRegistry.spawn`
|
|
1070
|
-
* rejects with `AgentHopCapExceededError`. Default 5. Set 0 to
|
|
1071
|
-
* forbid any nested spawn (top-level only). */
|
|
1072
|
-
hopCap: number;
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
export interface SelfImplementAutoStopConfig {
|
|
1076
|
-
enabled: boolean;
|
|
1077
|
-
minRung: number;
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
export interface SelfImplementAutoAssistConfig {
|
|
1081
|
-
enabled: boolean;
|
|
1082
|
-
minRung: number;
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
export interface SelfImplementScreenStallTerminationConfig {
|
|
1086
|
-
enabled: boolean;
|
|
1087
|
-
minRung: number;
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
export interface SelfImplementReworkBudgetConfig {
|
|
1091
|
-
/** false = 예산 판정기(UNCONVERGEABLE 등)를 실제로 따른다. 기본 false — 운영이 늘 쓰던 값(대표 결정 2026-09-24). */
|
|
1092
|
-
shadowStop: boolean;
|
|
1093
|
-
/** Maximum adaptive/supervisor rework rounds. 기본 3 — 운영 값과 맞춤(대표 결정 2026-09-24 · 이전 코드 기본 6). */
|
|
1094
|
-
maxRounds: number;
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
export interface SelfImplementDecompositionShadowConfig {
|
|
1098
|
-
enabled: boolean;
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
export interface SelfImplementClarificationEscalationConfig {
|
|
1102
|
-
enabled: boolean;
|
|
1103
|
-
/** ⛔ 기본값을 «두지 않는다». 유효한 값이 설정에 있을 때만 존재한다 —
|
|
1104
|
-
* 근거 없이 고른 수는 「재지 않고 정한 값」이 되고, 그 뒤로 아무도 다시 안 잰다.
|
|
1105
|
-
* ⇒ 값이 없으면 리졸버를 설치하지 않는다(무한 대기 금지가 우선). */
|
|
1106
|
-
timeoutMs?: number;
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
export type SelfImplementChildInstanceMode = 'isolated' | 'inherit';
|
|
1110
|
-
|
|
1111
|
-
/** 자식 LLM 선호. `pinned` = 기존 provider·model 한 칸. `auto` = 사용자 `chain` 순서. */
|
|
1112
|
-
export type ChildLlmPreferenceMode = 'pinned' | 'auto';
|
|
1113
|
-
|
|
1114
|
-
export interface ChildLlmChainEntry {
|
|
1115
|
-
provider: string;
|
|
1116
|
-
model?: string;
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
export interface ChildLlmPreferenceConfig {
|
|
1120
|
-
/** 있으면 pinned 의 값. 기존 고정 설정. */
|
|
1121
|
-
provider?: string;
|
|
1122
|
-
/** 기존 고정 설정. provider 없이 model 만 있으면 mode 는 auto 다. */
|
|
1123
|
-
model?: string;
|
|
1124
|
-
/** 없으면 provider 가 있을 때 pinned, 없을 때 auto. model 만 있어도 provider 가 없으면 auto. */
|
|
1125
|
-
mode?: ChildLlmPreferenceMode;
|
|
1126
|
-
/** auto 일 때의 사용자 순서. 원소는 { provider, model? }. */
|
|
1127
|
-
chain?: ChildLlmChainEntry[];
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
/** 예산이 모자랄 때의 행동. 판정(P15)은 이 칸을 읽기만 한다. */
|
|
1131
|
-
export type BudgetGateOnShortfall = 'decompose' | 'wait-reset' | 'next-provider' | 'proceed';
|
|
1132
|
-
|
|
1133
|
-
/** 프로바이더별 사용률 상한(0~100). 이 값 이상이면 그 칸을 안 쓴다. */
|
|
1134
|
-
export type BudgetGateMaxUsedPercent = { readonly [provider: string]: number };
|
|
1135
|
-
|
|
1136
546
|
/**
|
|
1137
547
|
* 대표 2026-09-26 상한. codex 계정은 95% 이상이면 그 계정을 안 쓰고,
|
|
1138
548
|
* grok 은 주간 최대 50% 중 🅢 가드 48% 에서 멈춘다.
|
|
@@ -1145,120 +555,6 @@ export const DEFAULT_BUDGET_GATE_MAX_USED_PERCENT: BudgetGateMaxUsedPercent = {
|
|
|
1145
555
|
/** 발사 관문이 grok 주간 사용률에 실제로 적용하는 상한. `elanous usage` 와 같은 수를 이 값 미만으로만 통과시킨다. */
|
|
1146
556
|
export const LAUNCH_GROK_USED_PERCENT_CAP = 80;
|
|
1147
557
|
|
|
1148
|
-
export interface HarnessBudgetGateConfig {
|
|
1149
|
-
/** 0~100. 기본 15. 범위 밖이면 경고와 함께 기본. */
|
|
1150
|
-
minHeadroomPercent: number;
|
|
1151
|
-
/** 기본 next-provider. 모르는 값이면 경고와 함께 기본. */
|
|
1152
|
-
onShortfall: BudgetGateOnShortfall;
|
|
1153
|
-
/**
|
|
1154
|
-
* 선택. 없으면 `DEFAULT_BUDGET_GATE_MAX_USED_PERCENT`.
|
|
1155
|
-
* 프로바이더 값이 0~100 밖이면 그 칸만 경고 후 기본.
|
|
1156
|
-
*/
|
|
1157
|
-
maxUsedPercent?: BudgetGateMaxUsedPercent;
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
export interface SelfImplementToolConfig {
|
|
1161
|
-
/** Explicit opt-in for the needs-human reason-specific automatic repair goal. Defaults off. */
|
|
1162
|
-
supervisor?: { reasonRepair?: boolean };
|
|
1163
|
-
/** Absolute root that holds per-repository child worktree directories. */
|
|
1164
|
-
worktreeRoot: string;
|
|
1165
|
-
/** Self-implement children receive a derived isolated universe by default; `inherit` keeps the parent's universe. */
|
|
1166
|
-
childInstanceMode: SelfImplementChildInstanceMode;
|
|
1167
|
-
/** ⭐ self-implement **PR 개설 승인 카드를 어느 표면으로 보낼지**(대표 지시 2026-08-01).
|
|
1168
|
-
* ⛔ 종전엔 wired 채널(Telegram · Discord · Pushcut · terminal)을 전부 레이스해서,
|
|
1169
|
-
* TUI 에서 시작한 런의 승인이 **아이폰 푸시로 튀어나갔다**(실측).
|
|
1170
|
-
* - `'terminal'`(기본) — **터미널 채널 하나로만** 묻는다.
|
|
1171
|
-
* ⚠️ *"런을 시작한 표면으로 동적 라우팅"* 이 **아니다** — 지금 이 승인자가 TUI 부팅
|
|
1172
|
-
* 경로에서만 등록돼 두 값이 우연히 일치할 뿐이다(동적 귀속은 원장 `COORD-S12` ⑵).
|
|
1173
|
-
* - `'all'` — 종전 팬아웃(밖에 있을 때 폰으로 받고 싶으면 이쪽).
|
|
1174
|
-
* ⚠️ 어느 값에서도 **fail-closed 는 그대로**다(타임아웃 = 거부 · PR 은 outward-facing). */
|
|
1175
|
-
prApprovalDelivery: 'terminal' | 'all';
|
|
1176
|
-
/** Records SelfImplement dispatches without starting an implementation run. */
|
|
1177
|
-
observeOnly: boolean;
|
|
1178
|
-
/** Also append terminal execution records to the authored goal document (default true). */
|
|
1179
|
-
goalRecordInDoc: boolean;
|
|
1180
|
-
/** Controls the persistent grounding loop used while authoring goals; absent preserves it. */
|
|
1181
|
-
goalAuthorPersistentGrounding?: boolean;
|
|
1182
|
-
/** Explicit opt-in for the one-shot Terra medium goal-author reviewer precheck; absent/off preserves legacy authoring. */
|
|
1183
|
-
goalAuthorReviewerPrecheck?: boolean;
|
|
1184
|
-
/** Uses the Fabric decomposer for SelfOrchestrate requests that omit `fabric_decompose`. */
|
|
1185
|
-
fabricDecompose: boolean;
|
|
1186
|
-
/** Normalized SelfOrchestrate goal count that automatically selects Fabric; null disables auto-selection. */
|
|
1187
|
-
fabricDecomposeAutoPathThreshold: number | null;
|
|
1188
|
-
autoStop: SelfImplementAutoStopConfig;
|
|
1189
|
-
autoAssist: SelfImplementAutoAssistConfig;
|
|
1190
|
-
screenStallTermination: SelfImplementScreenStallTerminationConfig;
|
|
1191
|
-
reworkBudget: SelfImplementReworkBudgetConfig;
|
|
1192
|
-
decompositionShadow: SelfImplementDecompositionShadowConfig;
|
|
1193
|
-
/** Opt-in delivery of authored goal clarifications from unattended dev runs. */
|
|
1194
|
-
clarificationEscalation: SelfImplementClarificationEscalationConfig;
|
|
1195
|
-
/** RUN-TTL: hours an open self-impl PR may go without a commit before the draft sweep asks for a rebase. Absent or invalid = 24. */
|
|
1196
|
-
runTtlHours?: number;
|
|
1197
|
-
/** DRAFT-CLEANUP-FIX: per-tick close cap of `harness drafts sweep`. Raw value — `resolveDraftSweepCloseCap` validates (1–100, default 10, warns). */
|
|
1198
|
-
draftSweepCloseCap?: unknown;
|
|
1199
|
-
/** RUN-TTL sweep step: `shadow` (default) only logs; `live` sends the resync memo / adds `elanous:needs-rebase`. Cap absent or invalid = 30. */
|
|
1200
|
-
runTtl?: { mode: 'shadow' | 'live'; cap?: number };
|
|
1201
|
-
/** STOP-AUTOHEAL: `shadow` (default) only records what the stop dispatcher would do (`event='autoheal'`); `live` runs the injected heal seams once per run per stop class. */
|
|
1202
|
-
autoheal?: { mode: 'shadow' | 'live' };
|
|
1203
|
-
/** 사용자 자식 모델 선호. 없으면 해석기가 auto + fallbackChain 으로 만든다.
|
|
1204
|
-
* Overload failover (OVERLOAD-FAILOVER) may move an unpinned codex child to
|
|
1205
|
-
* grok. A pinned codex provider is never moved. */
|
|
1206
|
-
childLlm?: ChildLlmPreferenceConfig;
|
|
1207
|
-
/** Explicit same-provider child escalation map. Absent preserves the existing model ladder. */
|
|
1208
|
-
escalateChild?: Readonly<Record<string, string>>;
|
|
1209
|
-
/** SUBSCRIPTION-EXHAUST-REROUTE (0.2.24) — `--child-llm-*` 없이 뜬 Pod 구현 자식의 기본 모델.
|
|
1210
|
-
* `{ provider, model? }` · `'off'`(종전 codex 기본). 없으면 `openrouter/z-ai/glm-5.3`. 원값 — `resolvePodChildDefault` 가 검사한다. */
|
|
1211
|
-
podChildDefault?: unknown;
|
|
1212
|
-
/** ⭐ PR-open 사전 승인 (2026-07-26 · 대표 결정 "오토 선호 · 기본 ON").
|
|
1213
|
-
*
|
|
1214
|
-
* self-build 가 gate 를 통과하면 **PR 을 자동 개설**한다(기본 `true`).
|
|
1215
|
-
* PR 의 draft 여부는 별개 축 — 호출측 `draft` 인자(툴 기본 `true`)가 정한다.
|
|
1216
|
-
*
|
|
1217
|
-
* 왜 config 인가 — CLI 는 `--open-pr` **플래그가 곧 사람의 명시 승인**이라 무인
|
|
1218
|
-
* 진행이 되지만, 툴(ACP/데몬/텔레그램) 경로엔 그 등가물이 없어 매번 대화형 확인을
|
|
1219
|
-
* 받거나(무인이면) **완성 산출이 worktree 에 좌초**했다. 툴 파라미터로 열면 LLM 이
|
|
1220
|
-
* 자기 승인을 하게 되므로, **operator 가 사전에 한 번 정해두는** 이 노브가 옳은
|
|
1221
|
-
* 자리다 — 승인 주체는 사람으로 유지되고 시점만 앞당겨진다.
|
|
1222
|
-
*
|
|
1223
|
-
* ⚠️ 경계: 이건 **PR 개설**까지만이다. **병합은 별도 게이트**(`autoMerge` + 리뷰
|
|
1224
|
-
* clean)로 남는다 — draft PR 은 닫고 브랜치를 지우면 되돌릴 수 있지만 병합은 아니다.
|
|
1225
|
-
* `false` 로 두면 종전대로 `ux.confirm`(채널 없으면 fail-closed). */
|
|
1226
|
-
autoOpenPr: boolean;
|
|
1227
|
-
/** DRAFT-NOT-ARCHIVE — 멈춘 런의 산출을 어디에 남기나. `'always'`(기본 · 종전) = draft PR ·
|
|
1228
|
-
* `'needs-owner-only'` = 사람 판단이 필요한 멈춤만 draft PR(⊕ 주인 자리 라벨), 나머지는 수확 가지 `salvage/run-<6hex>/…` ⊕ 런 원장. */
|
|
1229
|
-
draftOnStop?: DraftOnStopMode;
|
|
1230
|
-
/** SALVAGE-RETENTION — 원격 `salvage/*` 보존 규칙(14일 초과 ⊕ 열린 PR·카드 참조 0). `'shadow'`(기본) = 수만 보고 · `'live'` = 다음 조각에서 삭제. */
|
|
1231
|
-
salvageRetention?: { mode: 'shadow' | 'live' };
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
export interface RunDevHarnessToolConfig {
|
|
1235
|
-
modelSurface?: boolean;
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
/** `SelfOrchestrate` 툴 표면.
|
|
1239
|
-
*
|
|
1240
|
-
* ⛔⭐⭐ **왜 «기본 off» 인가**(대표 결정 2026-08-20 · RFC-one-door-many-entrances P5):
|
|
1241
|
-
* ***흡수가 이미 끝났다.*** `SelfImplement` 가 `goals[]`·`concurrency`·`decompose`·`auto_merge` 를
|
|
1242
|
-
* 전부 받고, 그 인자가 있으면 ***`SelfOrchestrate` 와 «같은 함수»***(`runSelfOrchestrateCliCommand`)로 간다.
|
|
1243
|
-
* ⇒ 🔑 두 툴이 같은 곳으로 가므로 «둘째 문»은 능력이 아니라 ***파편화***다.
|
|
1244
|
-
* ⛔ 이것은 「덜 쓰니까 내린다」가 «아니다» — 호출 수와 무관한 «결정»이다(대표).
|
|
1245
|
-
* ⚠️ CLI(`elanous self orchestrate`)는 «남는다» — 모델 표면만 내린다(RunDevHarness 선례와 동형).
|
|
1246
|
-
* 🩹 되돌리려면 `tools.selfOrchestrate.modelSurface = true`. */
|
|
1247
|
-
export interface SelfOrchestrateToolConfig {
|
|
1248
|
-
modelSurface?: boolean;
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
export interface NativeStructureToolConfig {
|
|
1252
|
-
enabled: boolean;
|
|
1253
|
-
/**
|
|
1254
|
-
* Optional provider allowlist. Absent means "every provider" when
|
|
1255
|
-
* `enabled` is true — that is the back-compat for existing config
|
|
1256
|
-
* files that only have the boolean. An explicit empty list applies
|
|
1257
|
-
* to nobody.
|
|
1258
|
-
*/
|
|
1259
|
-
providers?: readonly string[];
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
558
|
/**
|
|
1263
559
|
* Provider-scoped gate for native structure.
|
|
1264
560
|
*
|
|
@@ -1282,15 +578,6 @@ export function isNativeStructureEnabledForProvider(
|
|
|
1282
578
|
return list.includes(provider);
|
|
1283
579
|
}
|
|
1284
580
|
|
|
1285
|
-
export interface ToolsConfig {
|
|
1286
|
-
deferred: DeferredToolsConfig;
|
|
1287
|
-
agentSpawn: AgentSpawnConfig;
|
|
1288
|
-
selfImplement: SelfImplementToolConfig;
|
|
1289
|
-
runDevHarness: RunDevHarnessToolConfig;
|
|
1290
|
-
selfOrchestrate: SelfOrchestrateToolConfig;
|
|
1291
|
-
nativeStructure: NativeStructureToolConfig;
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
581
|
const TOOLS_DEFAULTS: ToolsConfig = {
|
|
1295
582
|
deferred: { mode: 'always' },
|
|
1296
583
|
agentSpawn: { hopCap: 5 },
|
|
@@ -1301,248 +588,19 @@ const TOOLS_DEFAULTS: ToolsConfig = {
|
|
|
1301
588
|
selfImplement: { worktreeRoot: join(homedir(), '.elanous', 'worktrees'), childInstanceMode: 'isolated', prApprovalDelivery: 'terminal' as const, observeOnly: false, goalRecordInDoc: true, goalAuthorReviewerPrecheck: false, fabricDecompose: false, fabricDecomposeAutoPathThreshold: 5, autoOpenPr: true, supervisor: { reasonRepair: false }, autoStop: { enabled: true, minRung: 2 }, autoAssist: { enabled: true, minRung: 2 }, screenStallTermination: { enabled: true, minRung: 2 }, reworkBudget: { shadowStop: false, maxRounds: 3 }, decompositionShadow: { enabled: false }, clarificationEscalation: { enabled: false } },
|
|
1302
589
|
};
|
|
1303
590
|
|
|
1304
|
-
// ── Debug ────────────────────────────────────────────────────────────
|
|
1305
|
-
// Runtime tracer persistence. Decoupled from the chat mirror so users
|
|
1306
|
-
// can keep a silent forensic trail without the noisy inline feed.
|
|
1307
|
-
|
|
1308
|
-
export interface DebugConfig {
|
|
1309
|
-
/** File sink — when true (default) every run writes a per-session
|
|
1310
|
-
* JSONL log under ~/.local/share/elanous/debug/. Set to false to
|
|
1311
|
-
* disable disk persistence; the in-memory ring buffer still feeds
|
|
1312
|
-
* `/debug tail` when needed. */
|
|
1313
|
-
file: boolean;
|
|
1314
|
-
/** Startup debug level. When absent / invalid, keep the historical
|
|
1315
|
-
* default (`trail`) and only switch modes when user-config
|
|
1316
|
-
* explicitly requests it.
|
|
1317
|
-
*
|
|
1318
|
-
* - `keytrace`: deepest level for keyboard/mouse dispatch analysis.
|
|
1319
|
-
* Adds `key.trace.*` firehose on top of diag's hot-path gates.
|
|
1320
|
-
* Use when reproducing a chord miss / wrong-surface keypress. */
|
|
1321
|
-
level: 'off' | 'trail' | 'diag' | 'normal' | 'verbose' | 'detail' | 'keytrace';
|
|
1322
|
-
/** Gate the runtime-debug host-tool family exposed to the LLM.
|
|
1323
|
-
* Default `true` keeps the historical 9-tool surface
|
|
1324
|
-
* (debug_getState/debug_getCallStack/debug_getAgentState/
|
|
1325
|
-
* debug_getLastLlm/input_history_search/input_history_list/
|
|
1326
|
-
* debug_setLevel/debug_openView/debug_selectEvent). Set to `false`
|
|
1327
|
-
* during chatlog-only debugging sessions — only the single most
|
|
1328
|
-
* essential tool (`debug_getLastLlm`) stays exposed so the LLM
|
|
1329
|
-
* doesn't get distracted by self-introspection during a focused
|
|
1330
|
-
* triage. Incident 2026-05-04 — Opus mis-recognized its catalog
|
|
1331
|
-
* partly because half the slots were debug_*. */
|
|
1332
|
-
exposeFullLlmTools: boolean;
|
|
1333
|
-
/** OH9(2026-07-24) — 렌더 카테고리(dashboard·key·mouse·cursor 계열)
|
|
1334
|
-
* 발화 여부. 진단 강도 축(`level`)과 **직교**한 별도 스위치 —
|
|
1335
|
-
* 대표는 상시 diag+ 라 "진단은 켜두고 렌더만 끄는" 축이 필요하다.
|
|
1336
|
-
* 기본 `false`(억제). essential TUI 는 렌더 로그를 자동 억제한다.
|
|
1337
|
-
* `true` 로 명시하면 렌더 로그를 살린다
|
|
1338
|
-
* (override). 런타임 영속은 config 가 아니라 `<stateRoot>/logs/level.json`
|
|
1339
|
-
* 의 `render` 필드(overlay 오염 방지) — 이 config 값은 부팅 시드일 뿐.
|
|
1340
|
-
* 선례: `exposeFullLlmTools`(계열 통째 죽이는 불린). */
|
|
1341
|
-
renderLogs: boolean;
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
591
|
const DEBUG_DEFAULTS: DebugConfig = { file: true, level: 'trail', exposeFullLlmTools: true, renderLogs: false };
|
|
1345
592
|
|
|
1346
|
-
// ── Logs (통합 로그 패브릭 · 2026-07-13) ─────────────────────────────
|
|
1347
|
-
// 크로스서피스 조회 스토어(~/.elanous/logs/logs.db)의 보존정책 노브.
|
|
1348
|
-
// 파일 트레일(debug.file)과 별개 축 — 스토어는 조회면이라 보존이 유한.
|
|
1349
|
-
// 설계: 내부 문서 `PLAN-unified-log-fabric-2026-07-13` §LF0.
|
|
1350
|
-
|
|
1351
|
-
export interface LogsConfig {
|
|
1352
|
-
retention: {
|
|
1353
|
-
/** 보존 일수(기본 7). 0 = age 정리 안 함. */
|
|
1354
|
-
maxAgeDays: number;
|
|
1355
|
-
/** DB 크기 상한 MB(기본 500). 초과 시 오래된 행부터 삭제. 0 = 무제한. */
|
|
1356
|
-
maxDbMb: number;
|
|
1357
|
-
/** 크기 정리 보존 하한 시간(기본 24). 이 시간 안의 행은 크기 정리로 지우지 않는다. 0 = 하한 없음(옛 동작). */
|
|
1358
|
-
minRetainHours: number;
|
|
1359
|
-
};
|
|
1360
|
-
/** 로그 출처 이름 오버라이드 (LF7-a). 미설정 시 자동 유도 —
|
|
1361
|
-
* prod(기본) 또는 `test:<repo폴더명>` (ELANOUS_STATE_DIR 기준). */
|
|
1362
|
-
instanceName?: string;
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
593
|
const LOGS_DEFAULTS: LogsConfig = { retention: { maxAgeDays: 7, maxDbMb: 500, minRetainHours: 24 } };
|
|
1366
594
|
|
|
1367
|
-
// ── Shell / PTY ──────────────────────────────────────────────────────
|
|
1368
|
-
// Gate for exposing PtyShell* native tools to the dashboard chat loop.
|
|
1369
|
-
// Codex exposes shell/exec_command at agent-loop level by default; we
|
|
1370
|
-
// keep it opt-in because (a) there's no session-level sandbox yet and
|
|
1371
|
-
// (b) the dashboard scope has no natural "skill return" to auto-kill
|
|
1372
|
-
// dangling processes. Skills still get PtyShell regardless — this
|
|
1373
|
-
// flag only affects dashboard surface visibility + wiring.
|
|
1374
|
-
export interface ShellConfig {
|
|
1375
|
-
/** When true, PtyShell tools are surfaced to the dashboard/chat
|
|
1376
|
-
* LLM and an HITL approval prompt gates every PtyShellStart. */
|
|
1377
|
-
allowDashboardPty: boolean;
|
|
1378
|
-
/** When true, the Bash tool is surfaced to the dashboard/chat LLM.
|
|
1379
|
-
* Bash runs under `bash -c` with cwd=process.cwd(); ctx.signal
|
|
1380
|
-
* forwards so dashboard Esc kills in-flight children. Default OFF
|
|
1381
|
-
* because Bash has side effects without an approval gate. */
|
|
1382
|
-
allowDashboardBash: boolean;
|
|
1383
|
-
/** When true, the TerminalModalInject tool is surfaced to the
|
|
1384
|
-
* dashboard/chat LLM. Every call still goes through the approval
|
|
1385
|
-
* modal (createInjectApprover), so enabling this doesn't bypass
|
|
1386
|
-
* HITL — it just lets the model propose injects without going
|
|
1387
|
-
* through a skill. Default OFF. */
|
|
1388
|
-
allowDashboardTerminalInject: boolean;
|
|
1389
|
-
/** When true, the ApiCall tool is surfaced to the dashboard/chat
|
|
1390
|
-
* LLM. ApiCall is double-gated by the /api-allow host allowlist
|
|
1391
|
-
* (empty by default) and a per-host rate limiter, so the exposure
|
|
1392
|
-
* cost is lower than Bash/PtyShell. Default OFF so the user opts
|
|
1393
|
-
* in deliberately. */
|
|
1394
|
-
allowDashboardApiCall: boolean;
|
|
1395
|
-
/** When true, the RunShell tool is surfaced to the dashboard/chat
|
|
1396
|
-
* LLM. RunShell uses argv-exec (no shell interpretation) + the
|
|
1397
|
-
* shell-primitive approval cache + NDJSON audit log at
|
|
1398
|
-
* ~/.monad-agent/audit/. Default OFF. Can be used alongside Bash
|
|
1399
|
-
* or as a replacement — RunShell is preferred for commands with
|
|
1400
|
-
* a known argv shape, Bash for pipe-heavy shell strings. */
|
|
1401
|
-
allowDashboardRunShell: boolean;
|
|
1402
|
-
/** When true, the GetDashboardState tool is surfaced to the
|
|
1403
|
-
* dashboard/chat LLM. Read-only — returns current window/pane/
|
|
1404
|
-
* PTY/terminal-session layout. Default ON because it's the
|
|
1405
|
-
* primary vehicle for Design Principle "LLM sees current static
|
|
1406
|
-
* state". Users who prefer zero tool surface can flip off. */
|
|
1407
|
-
allowDashboardState: boolean;
|
|
1408
|
-
/** Umbrella kill-switch for ALL dashboard-only optional tools
|
|
1409
|
-
* (DashboardState + TerminalModal family + any future dashboard-
|
|
1410
|
-
* scoped specs). When false, `buildDashboardOptionalToolSpecs`
|
|
1411
|
-
* short-circuits to [] regardless of the per-tool flags above.
|
|
1412
|
-
*
|
|
1413
|
-
* 2026-05-03 PM++ — Added for stabilization mode: TUI tool
|
|
1414
|
-
* exposure (DashboardState always-on + TerminalModal always-added)
|
|
1415
|
-
* diverges from JSON-test (`elanous repro`) tool exposure and
|
|
1416
|
-
* potentially confounds codex behavior measurement (W5-G's
|
|
1417
|
-
* no-content-read streak counts dashboard tool calls toward the
|
|
1418
|
-
* streak even though they're not Read/Edit/Write/Lsp). Setting
|
|
1419
|
-
* this false reduces TUI tool surface to host tools only — same
|
|
1420
|
-
* set the JSON test path uses — so codex behavior is comparable.
|
|
1421
|
-
*
|
|
1422
|
-
* Default ON for backward compat. Flip OFF to standardize. */
|
|
1423
|
-
allowDashboardOptionalTools: boolean;
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
595
|
const SHELL_DEFAULTS: ShellConfig = {
|
|
1427
596
|
allowDashboardPty: false,
|
|
1428
597
|
allowDashboardBash: false,
|
|
598
|
+
bashApproval: DEFAULT_BASH_APPROVAL,
|
|
1429
599
|
allowDashboardTerminalInject: false,
|
|
1430
600
|
allowDashboardApiCall: false,
|
|
1431
601
|
allowDashboardRunShell: false,
|
|
1432
|
-
allowDashboardState: true,
|
|
1433
|
-
allowDashboardOptionalTools: true,
|
|
1434
602
|
};
|
|
1435
603
|
|
|
1436
|
-
// ── Chat presentation ───────────────────────────────────────────────
|
|
1437
|
-
// Dashboard/system-prompt level presentation heuristics. Kept under
|
|
1438
|
-
// user-config so every threshold is tunable and the prompt module can
|
|
1439
|
-
// stay pure. P1 restores the missing `chat` wrapper from the pre-#600
|
|
1440
|
-
// shape, then adds the first subtree: `chat.conciseness`.
|
|
1441
|
-
|
|
1442
|
-
export interface ChatConcisenessConfig {
|
|
1443
|
-
enabled: boolean;
|
|
1444
|
-
finalMessageMaxLines: number;
|
|
1445
|
-
preambleMaxWords: number;
|
|
1446
|
-
flatBullets: boolean;
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
|
-
export interface ChatToolOutputConfig {
|
|
1450
|
-
persistOnOverflow: boolean;
|
|
1451
|
-
retentionDays: number;
|
|
1452
|
-
previewLines: number;
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
|
-
export interface ChatAutoCompactConfig {
|
|
1456
|
-
enabled: boolean;
|
|
1457
|
-
triggerRatio: number;
|
|
1458
|
-
preserveLastN: number;
|
|
1459
|
-
/** ★ 핵심 앵커 보존(2026-07-21) — Layer 3 요약이 뭉개면 안 되는 **맨 앞 앵커**
|
|
1460
|
-
* (페이즈 프롬프트/WM/premise = 첫 user 메시지) pin 개수. 리딩 system 메시지가
|
|
1461
|
-
* 앞서도 첫 user 메시지까지 자동 확장. 기본 1(첫 앵커 pin). 0=비활성(롤백 seam). */
|
|
1462
|
-
preserveFirstN: number;
|
|
1463
|
-
partial: boolean;
|
|
1464
|
-
workingBudgetTokens: number;
|
|
1465
|
-
}
|
|
1466
|
-
|
|
1467
|
-
export interface ChatSystemPromptConfig {
|
|
1468
|
-
overridePath?: string;
|
|
1469
|
-
taskVariant: string;
|
|
1470
|
-
/** Optional builtin prompt-family override. When set, bypasses
|
|
1471
|
-
* model-family inference and forces one of the builtin variants.
|
|
1472
|
-
* Useful for A/B testing Codex vs GPT lane behavior without
|
|
1473
|
-
* patching the registry. */
|
|
1474
|
-
forceBuiltinVariant?: 'gpt' | 'codex' | 'claude' | 'local';
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
export type ChatRenderingStreamingMode = 'byte' | 'line';
|
|
1478
|
-
|
|
1479
|
-
export interface ChatRenderingStreamingConfig {
|
|
1480
|
-
mode: ChatRenderingStreamingMode;
|
|
1481
|
-
catchUpThresholdLines: number;
|
|
1482
|
-
catchUpAgeMs: number;
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
/** Legacy exported type name; the compact boundary no longer has configurable fields. */
|
|
1486
|
-
export interface ChatRenderingCompactBoundaryConfig {}
|
|
1487
|
-
|
|
1488
|
-
export interface ChatRenderingWrapConfig {
|
|
1489
|
-
urlAware: boolean;
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
export type ChatRenderingToolDisplayMode = 'legacy' | 'inline-to-block';
|
|
1493
|
-
|
|
1494
|
-
export interface ChatRenderingToolConfig {
|
|
1495
|
-
displayMode: ChatRenderingToolDisplayMode;
|
|
1496
|
-
blockMaxLines: number;
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
export type ChatRenderingDiffColorTier = 'auto' | 'truecolor' | '256' | 'ansi16';
|
|
1500
|
-
export type ChatRenderingDiffHeaderStyle = 'legacy' | 'edited';
|
|
1501
|
-
export type ChatRenderingDiffTurnBrowserMode = 'all' | 'files' | 'turns';
|
|
1502
|
-
|
|
1503
|
-
export interface ChatRenderingDiffConfig {
|
|
1504
|
-
colorTier: ChatRenderingDiffColorTier;
|
|
1505
|
-
headerStyle: ChatRenderingDiffHeaderStyle;
|
|
1506
|
-
turnBrowserHistory: number;
|
|
1507
|
-
turnBrowserMode: ChatRenderingDiffTurnBrowserMode;
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
export interface ChatRenderingHudConfig {
|
|
1511
|
-
gaugeWarnRatio: number;
|
|
1512
|
-
gaugeDangerRatio: number;
|
|
1513
|
-
}
|
|
1514
|
-
|
|
1515
|
-
export interface ChatRenderingConfig {
|
|
1516
|
-
streaming: ChatRenderingStreamingConfig;
|
|
1517
|
-
wrap: ChatRenderingWrapConfig;
|
|
1518
|
-
tool: ChatRenderingToolConfig;
|
|
1519
|
-
diff: ChatRenderingDiffConfig;
|
|
1520
|
-
hud: ChatRenderingHudConfig;
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
|
-
/** PR2 (HANDOFF 2026-05-04 §5.2) — knobs for the 4-layer compact
|
|
1524
|
-
* pipeline. `verifyProbe` opts into Wave 5's Gemini-style verify
|
|
1525
|
-
* step before accepting a Layer 3 summary. `archive*` controls the
|
|
1526
|
-
* per-session JSONL archive at ~/.elanous/compact-archive/. */
|
|
1527
|
-
export interface ChatCompactConfig {
|
|
1528
|
-
verifyProbe: boolean;
|
|
1529
|
-
archiveEnabled: boolean;
|
|
1530
|
-
archiveRetentionDays: number;
|
|
1531
|
-
archiveRetentionMb: number;
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
|
-
/** ER1 — 액티브 덤퍼(오류 자동 보고). 기본 켬(첫 실행 안내 한 번 · 대표 10-01) · 신원(email/telegramUser)은 따로 «예»일 때만. */
|
|
1535
|
-
export interface ErrorReportsConfig {
|
|
1536
|
-
/** false = never send. Absent retains the feature but sending waits for the first-run notice. */
|
|
1537
|
-
enabled?: boolean;
|
|
1538
|
-
/** Persisted only after the first-run notice was shown to a person. */
|
|
1539
|
-
noticeShown?: boolean;
|
|
1540
|
-
/** true = also send email / telegramUser below with each report. Default false. */
|
|
1541
|
-
identity?: boolean;
|
|
1542
|
-
email?: string;
|
|
1543
|
-
telegramUser?: string;
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
604
|
export function parseErrorReportsConfig(raw: unknown): ErrorReportsConfig | undefined {
|
|
1547
605
|
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) return undefined;
|
|
1548
606
|
const r = raw as Record<string, unknown>;
|
|
@@ -1556,139 +614,8 @@ export function parseErrorReportsConfig(raw: unknown): ErrorReportsConfig | unde
|
|
|
1556
614
|
return Object.keys(out).length ? out : undefined;
|
|
1557
615
|
}
|
|
1558
616
|
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
/** TUI-SEAT-TURN-CAP — 자리 TUI goal loop 한정 core 턴 상한 덮어쓰기(기본값 = core-turn/seat-turn-cap.ts). 설정했을 때만 있다. */
|
|
1562
|
-
seatTurnCap?: Partial<SeatTurnCapConfig>;
|
|
1563
|
-
/** Short questions may receive a tool-free first reply. Default true. */
|
|
1564
|
-
fastPath: boolean;
|
|
1565
|
-
conciseness: ChatConcisenessConfig;
|
|
1566
|
-
toolOutput: ChatToolOutputConfig;
|
|
1567
|
-
autoCompact: ChatAutoCompactConfig;
|
|
1568
|
-
compact: ChatCompactConfig;
|
|
1569
|
-
autoCopyQaToClipboard: boolean;
|
|
1570
|
-
systemPrompt: ChatSystemPromptConfig;
|
|
1571
|
-
rendering: ChatRenderingConfig;
|
|
1572
|
-
/** Wave 8 (2026-05-04) — tool deny list. Names matching here are
|
|
1573
|
-
* filtered out of every model's tool catalog before the LLM call.
|
|
1574
|
-
* Useful for security / budget control (e.g. block `WebFetch` in
|
|
1575
|
-
* air-gapped environments, or `mcp__github` to disable a whole
|
|
1576
|
-
* MCP server). Matching: exact tool name OR `mcp__<server>` prefix
|
|
1577
|
-
* (matches all tools from that MCP server). Empty array = no
|
|
1578
|
-
* filtering. ref/claude-code-fork `filterToolsByDenyRules` pattern
|
|
1579
|
-
* (`src/tools.ts:262-269`). */
|
|
1580
|
-
toolDeny: string[];
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
const CHAT_CONCISENESS_DEFAULTS: ChatConcisenessConfig = {
|
|
1584
|
-
enabled: true,
|
|
1585
|
-
finalMessageMaxLines: 10,
|
|
1586
|
-
preambleMaxWords: 12,
|
|
1587
|
-
flatBullets: true,
|
|
1588
|
-
};
|
|
1589
|
-
|
|
1590
|
-
export const CHAT_DEFAULTS: ChatConfig = {
|
|
1591
|
-
factQuestion: { maxToolTurns: 6 },
|
|
1592
|
-
fastPath: true,
|
|
1593
|
-
conciseness: { ...CHAT_CONCISENESS_DEFAULTS },
|
|
1594
|
-
toolOutput: {
|
|
1595
|
-
persistOnOverflow: true,
|
|
1596
|
-
retentionDays: 7,
|
|
1597
|
-
previewLines: 8,
|
|
1598
|
-
},
|
|
1599
|
-
autoCompact: {
|
|
1600
|
-
enabled: true,
|
|
1601
|
-
triggerRatio: 0.85,
|
|
1602
|
-
preserveLastN: 4,
|
|
1603
|
-
preserveFirstN: 1,
|
|
1604
|
-
partial: true,
|
|
1605
|
-
workingBudgetTokens: 256_000,
|
|
1606
|
-
},
|
|
1607
|
-
compact: {
|
|
1608
|
-
verifyProbe: false,
|
|
1609
|
-
archiveEnabled: true,
|
|
1610
|
-
archiveRetentionDays: 30,
|
|
1611
|
-
archiveRetentionMb: 100,
|
|
1612
|
-
},
|
|
1613
|
-
autoCopyQaToClipboard: false,
|
|
1614
|
-
systemPrompt: {
|
|
1615
|
-
overridePath: undefined,
|
|
1616
|
-
taskVariant: 'default',
|
|
1617
|
-
forceBuiltinVariant: undefined,
|
|
1618
|
-
},
|
|
1619
|
-
toolDeny: [],
|
|
1620
|
-
rendering: {
|
|
1621
|
-
streaming: {
|
|
1622
|
-
mode: 'byte',
|
|
1623
|
-
catchUpThresholdLines: 50,
|
|
1624
|
-
catchUpAgeMs: 200,
|
|
1625
|
-
},
|
|
1626
|
-
wrap: {
|
|
1627
|
-
urlAware: false,
|
|
1628
|
-
},
|
|
1629
|
-
tool: {
|
|
1630
|
-
displayMode: 'inline-to-block',
|
|
1631
|
-
blockMaxLines: 8,
|
|
1632
|
-
},
|
|
1633
|
-
diff: {
|
|
1634
|
-
colorTier: 'auto',
|
|
1635
|
-
headerStyle: 'legacy',
|
|
1636
|
-
turnBrowserHistory: 8,
|
|
1637
|
-
turnBrowserMode: 'all',
|
|
1638
|
-
},
|
|
1639
|
-
hud: {
|
|
1640
|
-
gaugeWarnRatio: 0.7,
|
|
1641
|
-
gaugeDangerRatio: 0.85,
|
|
1642
|
-
},
|
|
1643
|
-
},
|
|
1644
|
-
};
|
|
1645
|
-
|
|
1646
|
-
// ── Dashboard ────────────────────────────────────────────────────────
|
|
1647
|
-
|
|
1648
|
-
export interface DashboardConfig {
|
|
1649
|
-
/** Optional view registry config. Parsed by view-config.ts so this
|
|
1650
|
-
* loader can preserve forward-compatible view schema additions. */
|
|
1651
|
-
views?: Record<string, unknown>;
|
|
1652
|
-
/** Optional semantic theme token config. Parsed by theme-tokens.ts;
|
|
1653
|
-
* preserved as a raw object here so future token groups stay
|
|
1654
|
-
* forward-compatible. */
|
|
1655
|
-
theme?: Record<string, unknown>;
|
|
1656
|
-
/** Prompt Bank live injection controls. Defaults are intentionally
|
|
1657
|
-
* disabled so the bank can be populated and debugged before it
|
|
1658
|
-
* affects real LLM turns. */
|
|
1659
|
-
promptBank: DashboardPromptBankConfig;
|
|
1660
|
-
/** Chat-log fold strategy. Default `task-unit` collapses each tool
|
|
1661
|
-
* body to its header; `line` keeps the unfolder line-budget body;
|
|
1662
|
-
* `kind-unit` coalesces adjacent same-kind operations. Runtime
|
|
1663
|
-
* `/log fold <mode>` still overrides for subsequent turns. */
|
|
1664
|
-
foldMode?: FoldMode;
|
|
1665
|
-
/** Default-on for `--benchmark`: chat-only layout + input-focused
|
|
1666
|
-
* boot, intended for scripted Q&A loops. Functionally equivalent
|
|
1667
|
-
* to passing `--benchmark` on every invocation. CLI `--benchmark`
|
|
1668
|
-
* still forces it on regardless of this setting. */
|
|
1669
|
-
benchmark?: boolean;
|
|
1670
|
-
/** Whether global virtual-window switching keys are registered.
|
|
1671
|
-
* Defaults off so optional window navigation does not occupy keys
|
|
1672
|
-
* required by essential input, reading, and escape controls. */
|
|
1673
|
-
enableVirtualWindowSwitchKeys: boolean;
|
|
1674
|
-
/** Whether supplemental global dashboard keys are registered.
|
|
1675
|
-
* Defaults off so optional pane/window controls do not occupy keys
|
|
1676
|
-
* required by essential input, reading, and escape controls. */
|
|
1677
|
-
enableSupplementalGlobalKeys: boolean;
|
|
1678
|
-
/** First-screen boot banner. Absent = `minimal`: only failures and first-run
|
|
1679
|
-
* guidance reach the transcript; healthy daemon/PWA/hitl-port rows move to
|
|
1680
|
-
* `/status`. `full` restores the historical band. */
|
|
1681
|
-
bootBanner?: 'minimal' | 'full';
|
|
1682
|
-
}
|
|
1683
|
-
|
|
1684
|
-
export interface DashboardPromptBankConfig {
|
|
1685
|
-
enabled: boolean;
|
|
1686
|
-
dashboardTurns: boolean;
|
|
1687
|
-
skillRuns: boolean;
|
|
1688
|
-
budgetTokens: number;
|
|
1689
|
-
limit: number;
|
|
1690
|
-
record: boolean;
|
|
1691
|
-
}
|
|
617
|
+
import { parseChatConfig, CHAT_DEFAULTS } from './user-config/chat.js';
|
|
618
|
+
export * from './user-config/chat.js';
|
|
1692
619
|
|
|
1693
620
|
const DASHBOARD_PROMPT_BANK_DEFAULTS: DashboardPromptBankConfig = {
|
|
1694
621
|
enabled: false,
|
|
@@ -1699,37 +626,6 @@ const DASHBOARD_PROMPT_BANK_DEFAULTS: DashboardPromptBankConfig = {
|
|
|
1699
626
|
record: true,
|
|
1700
627
|
};
|
|
1701
628
|
|
|
1702
|
-
// ── Virtual Windows (VW-B3/B4 — rename persistence) ────────────────
|
|
1703
|
-
//
|
|
1704
|
-
// User-applied window / pane renames (^B R, ^B Shift+A) are scoped
|
|
1705
|
-
// by the *spawn-time* title so they survive session restarts. Keys:
|
|
1706
|
-
//
|
|
1707
|
-
// vw.windowNames[<spawn title>] = <user rename>
|
|
1708
|
-
// vw.paneNames[<spawn title>|<pane content title>] = <user rename>
|
|
1709
|
-
//
|
|
1710
|
-
// Applied when a matching VW / pane is created, overwritten when the
|
|
1711
|
-
// user renames, cleared when the user renames back to empty.
|
|
1712
|
-
// Deliberately global (not per-project): the user is one person, and
|
|
1713
|
-
// VW spawn titles ("runner", "dashboard", ...) are app-level labels
|
|
1714
|
-
// that carry the same meaning across projects.
|
|
1715
|
-
|
|
1716
|
-
export type VwKnownName = 'acp' | 'sim' | 'iul';
|
|
1717
|
-
|
|
1718
|
-
export interface VwEntryConfig {
|
|
1719
|
-
resident: boolean;
|
|
1720
|
-
foregroundOnStartup: boolean;
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
|
-
export interface VwConfig {
|
|
1724
|
-
windowNames: Record<string, string>;
|
|
1725
|
-
paneNames: Record<string, string>;
|
|
1726
|
-
entries: Record<VwKnownName, VwEntryConfig>;
|
|
1727
|
-
simResident: boolean;
|
|
1728
|
-
iulResident: boolean;
|
|
1729
|
-
iulForegroundOnStartup: boolean;
|
|
1730
|
-
order: VwKnownName[];
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
629
|
const VW_KNOWN_NAMES: VwKnownName[] = ['acp', 'sim', 'iul'];
|
|
1734
630
|
const VW_ORDER_DEFAULT: VwKnownName[] = ['acp', 'sim', 'iul'];
|
|
1735
631
|
const VW_ENTRY_DEFAULTS: Record<VwKnownName, VwEntryConfig> = {
|
|
@@ -1752,55 +648,7 @@ const VW_DEFAULTS: VwConfig = {
|
|
|
1752
648
|
order: [...VW_ORDER_DEFAULT],
|
|
1753
649
|
};
|
|
1754
650
|
|
|
1755
|
-
|
|
1756
|
-
//
|
|
1757
|
-
// Per-brand HOP_CAP budget (follow-up #7). Controls the chain-depth
|
|
1758
|
-
// at which `DualRoleManager.clientSessionCreate({parentSessionId})`
|
|
1759
|
-
// throws `ReentrancyError`. Three was chosen in H3 #7 (srv → cli →
|
|
1760
|
-
// srv → cli); brands that favor deep subagent nesting (claude) can
|
|
1761
|
-
// raise it, brands where cheap root-to-root delegation dominates
|
|
1762
|
-
// (codex) can keep the default. Values ≤ 0 are treated as missing to
|
|
1763
|
-
// prevent a malformed config from disabling the guard entirely.
|
|
1764
|
-
|
|
1765
|
-
export interface AcpHopCapConfig {
|
|
1766
|
-
claude?: number;
|
|
1767
|
-
codex?: number;
|
|
1768
|
-
gemini?: number;
|
|
1769
|
-
/** Fallback when a brand isn't listed. When absent, the runtime
|
|
1770
|
-
* uses its own constant (DEFAULT_HOP_CAP = 3). */
|
|
1771
|
-
default?: number;
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
|
-
export interface AcpConfig {
|
|
1775
|
-
hopCap: AcpHopCapConfig;
|
|
1776
|
-
/** ACP client permission response deadline (positive integer milliseconds). */
|
|
1777
|
-
toolApproval: { timeoutMs: number };
|
|
1778
|
-
/** ACP PR reviewer and final judge backend. Absent defers to DEFAULT_REVIEW_BACKEND. */
|
|
1779
|
-
reviewBackend?: string;
|
|
1780
|
-
/** Rework agent backend. Absent defers to the driver default (codex). */
|
|
1781
|
-
reworkBackend?: string;
|
|
1782
|
-
/** Optional executable override keyed by canonical ACP backend id.
|
|
1783
|
-
* When present, this path wins over the normal project-local and PATH
|
|
1784
|
-
* lookup sequence. */
|
|
1785
|
-
binaryPaths?: Record<string, string>;
|
|
1786
|
-
/** Soft tool-turn budget injected as a focus directive into slash
|
|
1787
|
-
* `/cc`·`/cdx`·`/gem` prompts (targeted commands → tight). Natural-
|
|
1788
|
-
* language delegation (elanous brain) stays generous and ignores this.
|
|
1789
|
-
* Advisory (not hard-enforced). Omit ⇒ SLASH_FOCUS_TURNS_DEFAULT (8). */
|
|
1790
|
-
slashMaxTurns?: number;
|
|
1791
|
-
/** Edit-approval oversight for delegated (ACP) coding. Default OFF =
|
|
1792
|
-
* autonomous: permission requests auto-approve so the delegate isn't
|
|
1793
|
-
* babysat per edit (asking approval per write defeats delegation — the
|
|
1794
|
-
* interactive-editor paradigm ACP inherited doesn't fit autonomous
|
|
1795
|
-
* telegram delegation). Structured QUESTIONS still surface regardless.
|
|
1796
|
-
* Set true to opt back into per-edit approval via the chat's HITL. */
|
|
1797
|
-
editApproval?: boolean;
|
|
1798
|
-
/** Remove provider billing credentials from ACP child environments.
|
|
1799
|
-
* Default ON; set false only when API-key authentication is intended. */
|
|
1800
|
-
scrubBillingEnv: boolean;
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
const ACP_DEFAULTS: AcpConfig = { hopCap: {}, toolApproval: { timeoutMs: 60_000 }, scrubBillingEnv: true };
|
|
651
|
+
const ACP_DEFAULTS: AcpConfig = { hopCap: {}, toolApproval: { timeoutMs: 60_000 } };
|
|
1804
652
|
|
|
1805
653
|
function acpApprovalTimeoutMs(value: unknown): number | undefined {
|
|
1806
654
|
return typeof value === 'number' && Number.isSafeInteger(value) && value > 0 && value <= 2_147_483_647
|
|
@@ -1812,106 +660,18 @@ function acpApprovalTimeoutEnv(): number | undefined {
|
|
|
1812
660
|
return raw !== undefined && /^\d+$/.test(raw) ? acpApprovalTimeoutMs(Number(raw)) : undefined;
|
|
1813
661
|
}
|
|
1814
662
|
|
|
1815
|
-
// ── Plan mode config (Coding Pipeline P4 followup) ───────────────────
|
|
1816
|
-
//
|
|
1817
|
-
// Single flag for now — when true, dispatchEnterPlanMode also creates
|
|
1818
|
-
// an isolated worktree (via enterWorktreeRuntime with autoBranch=true)
|
|
1819
|
-
// so plan-mode work is staged on its own branch + dir before any
|
|
1820
|
-
// edit touches the main checkout. Off by default so the existing
|
|
1821
|
-
// "plan in place" workflow is unchanged.
|
|
1822
|
-
export interface PlanConfig {
|
|
1823
|
-
/** Auto-create a per-plan worktree on EnterPlanMode. Branch name
|
|
1824
|
-
* is synthesised from the plan's initialTitle (or a timestamp
|
|
1825
|
-
* fallback). Default false. */
|
|
1826
|
-
autoWorktree: boolean;
|
|
1827
|
-
}
|
|
1828
|
-
|
|
1829
663
|
const PLAN_DEFAULTS: PlanConfig = { autoWorktree: false };
|
|
1830
664
|
|
|
1831
|
-
// ── Goals (Plan-Mode UX P1 · 2026-05-05) ─────────────────────────
|
|
1832
|
-
//
|
|
1833
|
-
// `/goal <objective>` opens a persistent cross-turn goal that the
|
|
1834
|
-
// Judge Loop (Mode A) drives autonomously until the auxiliary
|
|
1835
|
-
// goal-judge model reports `done`, the budget is exhausted, the user
|
|
1836
|
-
// preempts, or plan mode is entered. See:
|
|
1837
|
-
// 내부 문서 `RESEARCH-plan-mode-goal-ralph-loop-2026-05-05`
|
|
1838
|
-
// 내부 문서 `PLAN-plan-mode-ux-goal-ralph-2026-05-05`
|
|
1839
|
-
export interface GoalsConfig {
|
|
1840
|
-
/** Max auto-turns the loop drives before forcing pause. Default 20
|
|
1841
|
-
* (Hermes lineage). 0 disables the cap (not recommended). */
|
|
1842
|
-
maxTurns: number;
|
|
1843
|
-
/** Wall-clock cap in ms. Default 30 min. */
|
|
1844
|
-
wallClockMaxMs: number;
|
|
1845
|
-
/** Token budget per goal. 0 = no token cap. Default ~200k. */
|
|
1846
|
-
tokenBudget: number;
|
|
1847
|
-
/** Provider name to resolve via auxiliary client for the judge call.
|
|
1848
|
-
* When empty, falls back to the primary provider's default model.
|
|
1849
|
-
* Recommended: a fast, low-cost model (`grok-4.20-non-reasoning`,
|
|
1850
|
-
* `gpt-4o-mini`, `claude-haiku-4-5`). */
|
|
1851
|
-
judgeModel: string;
|
|
1852
|
-
/** When the judge returns `empty` or fails to parse, how many times
|
|
1853
|
-
* to retry before forcing PAUSE+ASK. Default 1. */
|
|
1854
|
-
judgeRetries: number;
|
|
1855
|
-
/** P2 — pause active goal on EnterPlanMode. Default true (Codex). */
|
|
1856
|
-
pauseOnPlanModeEnter: boolean;
|
|
1857
|
-
/** P2 — auto-resume on plan mode exit? Default false (explicit
|
|
1858
|
-
* `/goal resume` required to avoid drift). */
|
|
1859
|
-
resumeOnPlanModeExit: boolean;
|
|
1860
|
-
/** Default mode for new goals. P1 only ships `judge`; `spec` is P3. */
|
|
1861
|
-
modeDefault: 'judge' | 'spec';
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
665
|
const GOALS_DEFAULTS: GoalsConfig = {
|
|
1865
666
|
maxTurns: 20,
|
|
1866
667
|
wallClockMaxMs: 30 * 60_000,
|
|
1867
668
|
tokenBudget: 200_000,
|
|
1868
669
|
judgeModel: '',
|
|
1869
670
|
judgeRetries: 1,
|
|
1870
|
-
pauseOnPlanModeEnter: true,
|
|
1871
671
|
resumeOnPlanModeExit: false,
|
|
1872
672
|
modeDefault: 'judge',
|
|
1873
673
|
};
|
|
1874
674
|
|
|
1875
|
-
// ── Registry (Phase 6 FU · 2026-05-11) ──────────────────────────────
|
|
1876
|
-
//
|
|
1877
|
-
// Discovery wiring user-config. RFC #2161 Phase 6 originally shipped
|
|
1878
|
-
// the omni-crawl bridge + cron interval as ELANOUS_* env vars (#2206 /
|
|
1879
|
-
// #2209). That violated the "신규 옵션은 user-config 만 노출" rule
|
|
1880
|
-
// (`내부 문서 `MANUAL-user-config`` §2 · memory
|
|
1881
|
-
// `feedback_user_config_over_env.md`). This section is the canonical
|
|
1882
|
-
// surface; cron's legacy env survives as fallback only.
|
|
1883
|
-
//
|
|
1884
|
-
// A6-real P4 (2026-05-11) retired the omni-crawl bridge entirely —
|
|
1885
|
-
// its replacement is the grok-crawl (mandatory) + firecrawl-crawl
|
|
1886
|
-
// (optional) source pair (P2 + P3). The bridge's user-config field
|
|
1887
|
-
// and its `ELANOUS_OMNI_CRAWL_*` env fallbacks are no longer consulted.
|
|
1888
|
-
|
|
1889
|
-
export interface RegistryDiscoveryCronConfig {
|
|
1890
|
-
/** Discovery cron tick interval (ms). Clamped to [60_000, 86_400_000].
|
|
1891
|
-
* Undefined / 0 = cron dormant (default · zero CPU on fresh install).
|
|
1892
|
-
* Legacy env fallback: `ELANOUS_DISCOVERY_CRON_INTERVAL_MS`. */
|
|
1893
|
-
intervalMs?: number;
|
|
1894
|
-
}
|
|
1895
|
-
|
|
1896
|
-
export interface RegistryDiscoveryFirecrawlConfig {
|
|
1897
|
-
/** Firecrawl API key. The NEXUS advanced wizard (FU A6-real P5)
|
|
1898
|
-
* writes this when the user opts into Firecrawl-backed discovery.
|
|
1899
|
-
* Empty / absent = source returns `missing-api-key` (CLI itself
|
|
1900
|
-
* still has to be installed via `npm i -g firecrawl-cli` or
|
|
1901
|
-
* similar — see `firecrawl-crawl.ts:isFirecrawlCliAvailable`).
|
|
1902
|
-
* Legacy env fallback: `FIRECRAWL_API_KEY`. */
|
|
1903
|
-
apiKey?: string;
|
|
1904
|
-
}
|
|
1905
|
-
|
|
1906
|
-
export interface RegistryDiscoveryConfig {
|
|
1907
|
-
cron: RegistryDiscoveryCronConfig;
|
|
1908
|
-
firecrawl: RegistryDiscoveryFirecrawlConfig;
|
|
1909
|
-
}
|
|
1910
|
-
|
|
1911
|
-
export interface RegistryConfig {
|
|
1912
|
-
discovery: RegistryDiscoveryConfig;
|
|
1913
|
-
}
|
|
1914
|
-
|
|
1915
675
|
const REGISTRY_DEFAULTS: RegistryConfig = {
|
|
1916
676
|
discovery: {
|
|
1917
677
|
cron: {},
|
|
@@ -1932,46 +692,6 @@ function spreadIfDefined<K extends string, V>(
|
|
|
1932
692
|
): Record<K, V> | Record<string, never> {
|
|
1933
693
|
return value === undefined ? {} : ({ [key]: value } as Record<K, V>);
|
|
1934
694
|
}
|
|
1935
|
-
|
|
1936
|
-
// ── sessionFabric (P1 shadow fan-out · 2026-07-16) ───────────────────
|
|
1937
|
-
// 멀티서피스 세션 shadow fan-out 게이트. 기본 부재(=OFF) — 기존 배달 경로 무접촉.
|
|
1938
|
-
// shadowFanout=true 면 데몬이 세션 응답을 subscribeSession 구독자에게 **추가 미러**
|
|
1939
|
-
// (기존 telegram/ACP 배달 위에 additive · 바인딩된 endpoint 는 제외). 실기기 dogfood 게이트.
|
|
1940
|
-
export interface SessionFabricConfig {
|
|
1941
|
-
shadowFanout?: boolean;
|
|
1942
|
-
/** C2/C3/C4 배달 cutover — 서피스별 primary flip(기본 부재=OFF·옛 경로 유지). ON = 그 서피스
|
|
1943
|
-
* 배달이 fanOutSessionOutput 단일 경로로. tg/dc 는 실기기 dogfood 게이트 후에만 켠다.
|
|
1944
|
-
* pwaMsg 는 메시지레벨 순수 additive(옛 메시지레벨 경로 없음·스트리밍은 C5) → 저위험. */
|
|
1945
|
-
primary?: { telegram?: boolean; discord?: boolean; pwaMsg?: boolean };
|
|
1946
|
-
/** C5 청크(스트리밍) cutover — 서피스별 스트리밍 flip(기본 부재=OFF·옛 streamer 유지). ON =
|
|
1947
|
-
* 그 서피스 스트리밍 배달이 fanOutSessionChunk + StreamingSurfaceSink 경로로. 메시지레벨
|
|
1948
|
-
* primary 와 **직교**. 실기기 dogfood 게이트 후에만 켠다.
|
|
1949
|
-
* acp(C5d·최고위험) = ACP broadcast 를 통합 fan-out 으로 흡수 — ON 시 push 가 fanOutSessionChunk
|
|
1950
|
-
* 경로로(byte-identical parity 후) + ACP 턴이 tg/dc/pwa 로 미러. 기본 부재=OFF. */
|
|
1951
|
-
streaming?: { telegram?: boolean; discord?: boolean; acp?: boolean };
|
|
1952
|
-
/** C5-enh 서피스 특유 노브. streamingMode = off|progress|partial|block(§6-8·기본 partial=현 full stream).
|
|
1953
|
-
* editGapMs = 편집 간격(기본 1100). 반응(👀 → 완료/실패)은 늘 켬.
|
|
1954
|
-
* 텔레그램 강화(§5.2·§10-2·전부 기본 off·라이브 무접촉): typing = sendChatAction liveness ·
|
|
1955
|
-
* fairQueue = supergroup 다중토픽 라운드로빈 · rotate = scroll-jump post-new-then-delete. 기본 부재=OFF. */
|
|
1956
|
-
telegram?: { streamingMode?: StreamingMode; editGapMs?: number; typing?: boolean; fairQueue?: boolean; rotate?: boolean };
|
|
1957
|
-
discord?: { streamingMode?: StreamingMode; editGapMs?: number };
|
|
1958
|
-
}
|
|
1959
|
-
// ── taste (Layer2 substrate · P4 중앙 진입점 수집 · 2026-07-18) ──────────
|
|
1960
|
-
// 기본 부재(=OFF·opt-in). captureEnabled=true 면 intent-gate submitIntent 최상단이
|
|
1961
|
-
// 모든 프롬프트(마커/passthrough 무관)를 비동기 fire-soft 로 distill → surface_events
|
|
1962
|
-
// (kind:'taste'·category:'taste.capture'). hot-path 무증가(await 안 함). 모델=luna 경량.
|
|
1963
|
-
// ⚠️armed=false·관측/가중용 · 매매 무접촉 · surface_events 위 파생(원장 무오염).
|
|
1964
|
-
export interface TasteConfig {
|
|
1965
|
-
captureEnabled?: boolean;
|
|
1966
|
-
/** distill 모델 override(기본 luna). 관측용 per-run 노브. */
|
|
1967
|
-
model?: string;
|
|
1968
|
-
/** P6 능동 미션 제안 gate(기본 OFF). ON 이어도 gate 는 **제안만**·미션 생성/승인은 대표(HITL). */
|
|
1969
|
-
proposeEnabled?: boolean;
|
|
1970
|
-
/** 제안 임계(0..1·기본 보수 0.55). 테마 점수>임계 & 최근 좌절 없음일 때만 표면화. */
|
|
1971
|
-
proposeThreshold?: number;
|
|
1972
|
-
/** 같은 테마 재제안 쿨다운(일·기본 7). 대표 결정 라벨이 쌓이기 전 스팸 방지. */
|
|
1973
|
-
proposeCooldownDays?: number;
|
|
1974
|
-
}
|
|
1975
695
|
function parseTasteConfig(raw: unknown): TasteConfig | undefined {
|
|
1976
696
|
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) return undefined;
|
|
1977
697
|
const r = raw as Record<string, unknown>;
|
|
@@ -1983,30 +703,6 @@ function parseTasteConfig(raw: unknown): TasteConfig | undefined {
|
|
|
1983
703
|
if (typeof r.proposeCooldownDays === 'number' && Number.isFinite(r.proposeCooldownDays)) out.proposeCooldownDays = r.proposeCooldownDays;
|
|
1984
704
|
return Object.keys(out).length > 0 ? out : undefined;
|
|
1985
705
|
}
|
|
1986
|
-
/** 웹 검색 프로바이더 게이트(sparse · 기본 OFF).
|
|
1987
|
-
*
|
|
1988
|
-
* ⛔⭐ **왜 「기본 OFF」인가** — 대표 2026-08-06: tavily 는 콜당 싸지만(basic 1cr·~1s)
|
|
1989
|
-
* **상시 경로에 켜져 있어** 크론 디깅·deep 리서치가 돌 때마다 고정비가 됐다.
|
|
1990
|
-
* ***「싸다」와 「늘 켜 둔다」는 다른 축이다.*** 그래서 «능력은 남기고 상시성만» 끈다 —
|
|
1991
|
-
* 구현(`src/web-search/tavily.ts`)은 그대로 두고 등록만 이 스위치가 정한다.
|
|
1992
|
-
*
|
|
1993
|
-
* ⚠️ 켜기: `elanous config set webSearch.tavily.enabled true` (또는 config.json 직접).
|
|
1994
|
-
*/
|
|
1995
|
-
export interface WebSearchConfig {
|
|
1996
|
-
tavily?: { enabled?: boolean };
|
|
1997
|
-
grokApi?: { enabled?: boolean };
|
|
1998
|
-
firecrawl?: { enabled?: boolean };
|
|
1999
|
-
}
|
|
2000
|
-
|
|
2001
|
-
/** OpenDesign 데몬 접속. url 이 없으면 시안 생성은 꺼진 것이다. tokenFile 은 토큰 «경로»만 담는다. */
|
|
2002
|
-
export interface OpenDesignConfig {
|
|
2003
|
-
url?: string;
|
|
2004
|
-
tokenFile?: string;
|
|
2005
|
-
}
|
|
2006
|
-
|
|
2007
|
-
export interface DesignConfig {
|
|
2008
|
-
openDesign?: OpenDesignConfig;
|
|
2009
|
-
}
|
|
2010
706
|
|
|
2011
707
|
function parseOpenDesignConfig(raw: unknown): OpenDesignConfig | undefined {
|
|
2012
708
|
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) return undefined;
|
|
@@ -2197,161 +893,6 @@ function parseBudgetConfig(raw: unknown): BudgetUserConfig | undefined {
|
|
|
2197
893
|
return Object.keys(out).length > 0 ? out : undefined;
|
|
2198
894
|
}
|
|
2199
895
|
|
|
2200
|
-
// ── Notifications · APNs (W7-후속 · 2026-05-12) ─────────────────────
|
|
2201
|
-
//
|
|
2202
|
-
// `notifications.apns` is sparse — all 4 of keyId / teamId / bundleId /
|
|
2203
|
-
// keyPath must be present to produce a valid `ApnsUserConfig`. Missing
|
|
2204
|
-
// any → parser returns undefined → daemon boots the ios-push channel
|
|
2205
|
-
// with transport=undefined (the channel's `send()` then resolves to
|
|
2206
|
-
// `{ ok: false, reason: 'transport-not-configured' }` on attempted
|
|
2207
|
-
// routes, surfacing the misconfiguration loudly without crashing boot).
|
|
2208
|
-
//
|
|
2209
|
-
// keyPath points at a .p8 file (PEM-formatted PKCS8 ECDSA-P256 private
|
|
2210
|
-
// key, as Apple's developer.apple.com download). The actual file read
|
|
2211
|
-
// + PEM parse lives in `src/notifications/outbound-boot.ts` so this
|
|
2212
|
-
// schema parser never touches disk — keeps the user-config layer
|
|
2213
|
-
// side-effect-free.
|
|
2214
|
-
|
|
2215
|
-
export interface ApnsUserConfig {
|
|
2216
|
-
/** Apple Auth Key ID — 10-char identifier next to the .p8 file. */
|
|
2217
|
-
keyId: string;
|
|
2218
|
-
/** Apple Team ID — 10-char identifier from the developer portal. */
|
|
2219
|
-
teamId: string;
|
|
2220
|
-
/** App bundle id — sent as `apns-topic` header. */
|
|
2221
|
-
bundleId: string;
|
|
2222
|
-
/** Absolute or `~`-prefixed path to the .p8 private key file. */
|
|
2223
|
-
keyPath: string;
|
|
2224
|
-
/** Defaults to 'production' (api.push.apple.com). 'sandbox' routes
|
|
2225
|
-
* to api.sandbox.push.apple.com for dev / TestFlight builds. */
|
|
2226
|
-
environment?: 'production' | 'sandbox';
|
|
2227
|
-
}
|
|
2228
|
-
|
|
2229
|
-
export interface NotificationsConfig {
|
|
2230
|
-
apns?: ApnsUserConfig;
|
|
2231
|
-
}
|
|
2232
|
-
|
|
2233
|
-
// ── MCP client (B 트랙 Phase 2 · 2026-05-12) ──────────────────────
|
|
2234
|
-
//
|
|
2235
|
-
// `mcp.servers[]` declares external MCP servers that the NEXUS boot
|
|
2236
|
-
// wire (`src/nexus/boot/register-mcp-clients.ts`) should spawn. Each
|
|
2237
|
-
// server contributes its `tools/list` response as proxy ToolRuntimes
|
|
2238
|
-
// registered under `<id>.<tool-name>` (RFC §8 Q2). Sparse — an empty
|
|
2239
|
-
// or absent array means the substrate is no-op. Per Q5 the default
|
|
2240
|
-
// `xcodebuild` recipe assumes a Homebrew install of getsentry's
|
|
2241
|
-
// xcodebuildmcp; users wanting npx can swap the command array.
|
|
2242
|
-
//
|
|
2243
|
-
// `enabled` defaults to true; set false to keep a config row but
|
|
2244
|
-
// suppress boot (useful when the binary isn't installed yet).
|
|
2245
|
-
//
|
|
2246
|
-
// See `내부 문서 `RFC-elanous-mcp-client-2026-05-12`` for the design.
|
|
2247
|
-
|
|
2248
|
-
/** MCP client transport. `streamable-http` is accepted as an alias of `http`. */
|
|
2249
|
-
export type McpTransport = 'stdio' | 'http';
|
|
2250
|
-
|
|
2251
|
-
interface McpServerSpecBase {
|
|
2252
|
-
/** Stable identifier — used as the proxy tool prefix. */
|
|
2253
|
-
id: string;
|
|
2254
|
-
/** When false, skip spawn at boot. Defaults to true. */
|
|
2255
|
-
enabled?: boolean;
|
|
2256
|
-
/** Per-server `start()` and `tools/list` deadline in milliseconds. */
|
|
2257
|
-
handshakeTimeoutMs?: number;
|
|
2258
|
-
/** Explicitly pre-authorized outbound tools for this stable server id.
|
|
2259
|
-
* Omit or leave empty to fail closed until a grant is issued. */
|
|
2260
|
-
authorizedTools?: string[];
|
|
2261
|
-
}
|
|
2262
|
-
|
|
2263
|
-
/** Child-process MCP server. `command` is required; there is no URL. */
|
|
2264
|
-
export interface McpStdioServerSpec extends McpServerSpecBase {
|
|
2265
|
-
transport: 'stdio';
|
|
2266
|
-
command: string[];
|
|
2267
|
-
/** Opposite-transport field is not representable. */
|
|
2268
|
-
url?: never;
|
|
2269
|
-
}
|
|
2270
|
-
|
|
2271
|
-
/** URL MCP server. `url` is required; there is no argv. Not spawned in this landing. */
|
|
2272
|
-
export interface McpHttpServerSpec extends McpServerSpecBase {
|
|
2273
|
-
transport: 'http';
|
|
2274
|
-
url: string;
|
|
2275
|
-
/** Known authorization-server issuer for a reusable OAuth token. */
|
|
2276
|
-
oauthIssuer?: string;
|
|
2277
|
-
/** Token endpoint used to refresh the reusable OAuth token. */
|
|
2278
|
-
oauthTokenEndpoint?: string;
|
|
2279
|
-
/** Environment-variable name containing a static HTTP Bearer token. */
|
|
2280
|
-
bearerTokenEnv?: string;
|
|
2281
|
-
/** Opposite-transport field is not representable. */
|
|
2282
|
-
command?: never;
|
|
2283
|
-
}
|
|
2284
|
-
|
|
2285
|
-
/**
|
|
2286
|
-
* Parsed MCP server. Discriminated on `transport` so `{ id }` and mixed
|
|
2287
|
-
* command/url combinations are not representable. Legacy command-only
|
|
2288
|
-
* config normalizes to `McpStdioServerSpec`.
|
|
2289
|
-
*/
|
|
2290
|
-
export type McpServerSpec = McpStdioServerSpec | McpHttpServerSpec;
|
|
2291
|
-
|
|
2292
|
-
export interface McpConfig {
|
|
2293
|
-
servers: McpServerSpec[];
|
|
2294
|
-
/** Default `start()` and `tools/list` deadline for MCP servers in milliseconds. */
|
|
2295
|
-
handshakeTimeoutMs?: number;
|
|
2296
|
-
/** Master switch — `false` skips the entire MCP-client boot wire at
|
|
2297
|
-
* daemon start (every `mcp.servers[]` row is ignored). Default true
|
|
2298
|
-
* / undefined = enabled. Set when one chatty server (e.g.
|
|
2299
|
-
* `xcrun mcpbridge` whose `tools/list` hangs daemon-side · 2026-05-13
|
|
2300
|
-
* dogfood) drags every startup through its 8s timeout. Toggle from
|
|
2301
|
-
* the CLI with `elanous nexus run --no-mcp`. */
|
|
2302
|
-
enabled?: boolean;
|
|
2303
|
-
/** Trusted MCP server id for widget tool calls (`POST /v1/mcp/widgets/call`).
|
|
2304
|
-
* Sparse — omitted means the HTTP route keeps its sole-ready fallback. */
|
|
2305
|
-
widgetServerId?: string;
|
|
2306
|
-
}
|
|
2307
|
-
|
|
2308
|
-
/** Aside Browser endpoints are SSH stdio MCP servers; credentials stay on each host. */
|
|
2309
|
-
export interface AsideRemoteTargetConfig {
|
|
2310
|
-
id: string;
|
|
2311
|
-
host: string;
|
|
2312
|
-
command: string[];
|
|
2313
|
-
enabled?: boolean;
|
|
2314
|
-
capabilities: Array<'browser' | 'repl' | 'selection'>;
|
|
2315
|
-
}
|
|
2316
|
-
|
|
2317
|
-
export interface AsideConfig {
|
|
2318
|
-
targets: AsideRemoteTargetConfig[];
|
|
2319
|
-
defaultTargetId?: string;
|
|
2320
|
-
contextDefaults?: Record<string, string>;
|
|
2321
|
-
strictRedactMode?: boolean;
|
|
2322
|
-
}
|
|
2323
|
-
|
|
2324
|
-
// ── BackgroundReasoning LLM (W9e-FU U5 · 2026-05-12) ──────────────────
|
|
2325
|
-
//
|
|
2326
|
-
// Drives the Patcher daemon's entity-extractor + embedding-generator
|
|
2327
|
-
// callables. When omitted (or `endpoint` blank), `buildPatcherSubstrate`
|
|
2328
|
-
// keeps the daemon dormant with `patcher-llm-deps-missing` (already
|
|
2329
|
-
// surfaced via `console.warn`). LM-Studio's OpenAI-compatible endpoints
|
|
2330
|
-
// are the dogfood default — pointed at any OpenAI-compatible API
|
|
2331
|
-
// (LM-Studio / Ollama / Together / etc.) the resolver lights up.
|
|
2332
|
-
//
|
|
2333
|
-
// The actual fetch + JSON parse lives in
|
|
2334
|
-
// `src/background-reasoning/patcher-llm-resolver.ts` so this schema
|
|
2335
|
-
// parser stays side-effect-free.
|
|
2336
|
-
|
|
2337
|
-
export interface BackgroundReasoningLlmConfig {
|
|
2338
|
-
/** Base URL of the OpenAI-compatible API. Trailing slash optional. */
|
|
2339
|
-
endpoint: string;
|
|
2340
|
-
/** Model id for the entity-extractor (`POST {endpoint}/v1/chat/completions`).
|
|
2341
|
-
* Defaults handled by the resolver — `lm-studio/qwen-7b` if omitted. */
|
|
2342
|
-
entityModel?: string;
|
|
2343
|
-
/** Model id for the embedding generator (`POST {endpoint}/v1/embeddings`).
|
|
2344
|
-
* Defaults to `text-embedding-3-small` shape — local LM-Studio
|
|
2345
|
-
* loads typically expose a generic embedding model. */
|
|
2346
|
-
embeddingModel?: string;
|
|
2347
|
-
/** Optional bearer token; LM-Studio's local server ignores this. */
|
|
2348
|
-
apiKey?: string;
|
|
2349
|
-
}
|
|
2350
|
-
|
|
2351
|
-
export interface BackgroundReasoningConfig {
|
|
2352
|
-
llm?: BackgroundReasoningLlmConfig;
|
|
2353
|
-
}
|
|
2354
|
-
|
|
2355
896
|
function parseApnsConfig(raw: unknown): ApnsUserConfig | undefined {
|
|
2356
897
|
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) return undefined;
|
|
2357
898
|
const r = raw as Record<string, unknown>;
|
|
@@ -3039,37 +1580,6 @@ function parseRegistryConfig(raw: unknown): RegistryConfig {
|
|
|
3039
1580
|
};
|
|
3040
1581
|
}
|
|
3041
1582
|
|
|
3042
|
-
// ── LSP (Phase L4 of 내부 문서 `ROADMAP-lsp-integration`) ────────────────
|
|
3043
|
-
//
|
|
3044
|
-
// Multi-language LSP tool surface — typescript-language-server handles
|
|
3045
|
-
// TS/JS out of the box; pyright and rust-analyzer entries add Python
|
|
3046
|
-
// and Rust when the user installs the respective binaries. Per-language
|
|
3047
|
-
// `{ command, args, extensions }` tuples let users override paths,
|
|
3048
|
-
// flags, or file extensions without touching code.
|
|
3049
|
-
//
|
|
3050
|
-
// `enabled: false` at the top level kills the whole tool. Setting a
|
|
3051
|
-
// language to `false` keeps the others working while hiding that one
|
|
3052
|
-
// from dispatch. idleTimeoutMs is the LSP server pool's reap cadence —
|
|
3053
|
-
// default matches the 10-minute value from L3's pool.ts.
|
|
3054
|
-
|
|
3055
|
-
export interface LspLanguageConfig {
|
|
3056
|
-
command: string;
|
|
3057
|
-
args?: readonly string[];
|
|
3058
|
-
/** Lower-cased extensions without the leading dot. */
|
|
3059
|
-
extensions: readonly string[];
|
|
3060
|
-
}
|
|
3061
|
-
|
|
3062
|
-
export interface LspConfig {
|
|
3063
|
-
enabled: boolean;
|
|
3064
|
-
typescript: LspLanguageConfig | false;
|
|
3065
|
-
python: LspLanguageConfig | false;
|
|
3066
|
-
rust: LspLanguageConfig | false;
|
|
3067
|
-
idleTimeoutMs: number;
|
|
3068
|
-
/** Which language serves workspaceSymbol when no filePath anchor is
|
|
3069
|
-
* available. Defaults to 'typescript'. */
|
|
3070
|
-
workspaceSymbolLanguage: 'typescript' | 'python' | 'rust';
|
|
3071
|
-
}
|
|
3072
|
-
|
|
3073
1583
|
const LSP_DEFAULTS: LspConfig = {
|
|
3074
1584
|
enabled: true,
|
|
3075
1585
|
typescript: {
|
|
@@ -3093,212 +1603,6 @@ const LSP_DEFAULTS: LspConfig = {
|
|
|
3093
1603
|
workspaceSymbolLanguage: 'typescript',
|
|
3094
1604
|
};
|
|
3095
1605
|
|
|
3096
|
-
// ── Voice (2026-04-30) ─────────────────────────────────────────────
|
|
3097
|
-
// Single source of truth for voice subsystem config — STT provider,
|
|
3098
|
-
// TTS provider + auto-TTS toggle, VAD mode + tuning, voice-chat
|
|
3099
|
-
// multi-turn. User explicitly preferred user-config over scattered
|
|
3100
|
-
// env vars (`ELANOUS_VOICE_*`, `ELANOUS_AUTO_TTS`, `TTS_PROVIDER`,
|
|
3101
|
-
// `STREAMING_STT_PROVIDER`). Env is kept as backward-compat fallback
|
|
3102
|
-
// (resolver helpers in voice/* still read it when config is absent),
|
|
3103
|
-
// but new opts should land here first.
|
|
3104
|
-
//
|
|
3105
|
-
// Priority: user config > env > hardcoded default.
|
|
3106
|
-
|
|
3107
|
-
export type VoiceSttProviderId =
|
|
3108
|
-
| 'openai-realtime-stt'
|
|
3109
|
-
| 'gemini-live-stt'
|
|
3110
|
-
| 'whisper-cpp-local'
|
|
3111
|
-
| 'elevenlabs-scribe-realtime';
|
|
3112
|
-
|
|
3113
|
-
export type VoiceTtsProviderId =
|
|
3114
|
-
| 'openai-tts'
|
|
3115
|
-
| 'elevenlabs-tts'
|
|
3116
|
-
| 'edge-tts'
|
|
3117
|
-
| 'macos-say';
|
|
3118
|
-
|
|
3119
|
-
export type VoiceVadMode = 'server' | 'local' | 'manual';
|
|
3120
|
-
|
|
3121
|
-
/** G-VOX-2 (2026-06-02) — STT transport mode. Streaming = realtime WS
|
|
3122
|
-
* (per-chunk transcripts · iPhone/iPad ChatView default). Batch = REST
|
|
3123
|
-
* POST `/v1/voice/transcribe` (full audio → single transcript · 비-실
|
|
3124
|
-
* 시간 caller 용 · 현재 client impl 미존재 · forward-compat schema). */
|
|
3125
|
-
export type VoiceSttMode = 'streaming' | 'batch';
|
|
3126
|
-
|
|
3127
|
-
export interface VoiceSttConfig {
|
|
3128
|
-
/** STT provider id used by `/voice-chat` continuous mode. When
|
|
3129
|
-
* omitted, resolvers fall back to `STREAMING_STT_PROVIDER` env
|
|
3130
|
-
* then the hardcoded default `'openai-realtime-stt'`. */
|
|
3131
|
-
provider?: VoiceSttProviderId;
|
|
3132
|
-
/** G-VOX-1 (2026-06-02) — OpenAI API key for openai-realtime-stt
|
|
3133
|
-
* (also covers other openai-* providers). Falls back to
|
|
3134
|
-
* `process.env.OPENAI_API_KEY` (legacy). User-config precedence per
|
|
3135
|
-
* AGENTS.md §user-config-over-env. */
|
|
3136
|
-
apiKey?: string;
|
|
3137
|
-
/** G-VOX-1 (2026-06-02) — transcription model (session.update payload
|
|
3138
|
-
* for openai-realtime-stt). Default `gpt-4o-mini-transcribe`. Set to
|
|
3139
|
-
* `'gpt-realtime-whisper'` (2026-05 GA · best accuracy + tunable
|
|
3140
|
-
* latency · $0.017/min vs $0.003/min). Legacy env fallback:
|
|
3141
|
-
* `OPENAI_REALTIME_STT_MODEL`. */
|
|
3142
|
-
model?: string;
|
|
3143
|
-
/** G-VOX-1 (2026-06-02) — realtime BASE model (URL `?model=` query)
|
|
3144
|
-
* for openai-realtime-stt. Default `gpt-realtime` (current GA · 2026-
|
|
3145
|
-
* 06-02 dogfood: 신규 sk-proj-* key 가 deprecated `gpt-4o-realtime-
|
|
3146
|
-
* preview` 미보유). 향후 OpenAI 가 GA model name rotate 시 사용자가
|
|
3147
|
-
* override. Legacy env fallback: `OPENAI_REALTIME_BASE_MODEL`. */
|
|
3148
|
-
realtimeBaseModel?: string;
|
|
3149
|
-
/** G-VOX-2 (2026-06-02) — STT transport mode. Default `'streaming'`
|
|
3150
|
-
* (realtime WS · iPhone/iPad ChatView 의 voice 입구 = 항상 streaming).
|
|
3151
|
-
* `'batch'` 는 forward-compat schema · 실 client impl 미존재. */
|
|
3152
|
-
mode?: VoiceSttMode;
|
|
3153
|
-
/** ISO 639-1 language hint forwarded to the STT provider's
|
|
3154
|
-
* openSession opts. Set to 'ko' to force Korean transcription
|
|
3155
|
-
* on openai-realtime-stt — without it, short Korean utterances
|
|
3156
|
-
* are often misclassified as Japanese. */
|
|
3157
|
-
language?: string;
|
|
3158
|
-
}
|
|
3159
|
-
|
|
3160
|
-
export interface VoiceTtsConfig {
|
|
3161
|
-
/** TTS provider id used by auto-TTS + `/say` slash. Falls back to
|
|
3162
|
-
* `TTS_PROVIDER` env then `'openai-tts'`. */
|
|
3163
|
-
provider?: VoiceTtsProviderId;
|
|
3164
|
-
/** When true, assistant chunks are spoken aloud automatically as
|
|
3165
|
-
* they stream. Equivalent to running `/auto-tts on` at boot.
|
|
3166
|
-
* Falls back to `ELANOUS_AUTO_TTS` env then `false`. */
|
|
3167
|
-
auto?: boolean;
|
|
3168
|
-
/** Hard cap on segmenter buffer per-sentence (chars). When omitted
|
|
3169
|
-
* the segmenter default (~2000) applies. Env fallback:
|
|
3170
|
-
* `ELANOUS_AUTO_TTS_MAX_LENGTH`. */
|
|
3171
|
-
maxSentenceChars?: number;
|
|
3172
|
-
/** Drain cooldown (ms) inserted between auto-TTS commit/cancel and
|
|
3173
|
-
* voice-chat `notifyResponseDone`. Without this gap the controller
|
|
3174
|
-
* flips `speaking → listening` while the OS audio queue still has
|
|
3175
|
-
* a tail of TTS playback, and the mic re-captures the assistant's
|
|
3176
|
-
* own voice → echo loop into STT. Range 0–2000. Default 300. */
|
|
3177
|
-
drainCooldownMs?: number;
|
|
3178
|
-
/** Voice identifier forwarded to the active TTS provider (config화
|
|
3179
|
-
* 2026-07-12 — 대표 방침: env 대신 config 우선). elevenlabs-tts 는
|
|
3180
|
-
* voice UUID (`ELEVENLABS_VOICE_ID` env fallback · 예: Seulki),
|
|
3181
|
-
* openai-tts/edge-tts/macos-say 는 voice 이름. 미설정 시 각
|
|
3182
|
-
* 프로바이더의 env → 하드코딩 기본값 체인 유지. */
|
|
3183
|
-
voiceId?: string;
|
|
3184
|
-
}
|
|
3185
|
-
|
|
3186
|
-
export interface VoiceVadConfig {
|
|
3187
|
-
/** `server` lets the upstream STT provider decide turn boundary
|
|
3188
|
-
* (default — works on OpenAI realtime). `local` runs energy-based
|
|
3189
|
-
* VAD inside the pipeline (good for whisper-cpp-local). `manual`
|
|
3190
|
-
* requires explicit ESC to finalize. Env fallback:
|
|
3191
|
-
* `ELANOUS_VOICE_VAD`. */
|
|
3192
|
-
mode?: VoiceVadMode;
|
|
3193
|
-
/** RMS energy threshold for `local` mode. Higher = less sensitive.
|
|
3194
|
-
* Env fallback: `ELANOUS_VOICE_VAD_THRESHOLD`. Default 0.012. */
|
|
3195
|
-
threshold?: number;
|
|
3196
|
-
/** Below-threshold duration that triggers turn end (ms). Env
|
|
3197
|
-
* fallback: `ELANOUS_VOICE_VAD_SILENCE_MS`. Default 800. */
|
|
3198
|
-
silenceMs?: number;
|
|
3199
|
-
/** Minimum above-threshold duration that counts as speech (ms).
|
|
3200
|
-
* Env fallback: `ELANOUS_VOICE_VAD_MIN_SPEECH_MS`. Default 200. */
|
|
3201
|
-
minSpeechMs?: number;
|
|
3202
|
-
}
|
|
3203
|
-
|
|
3204
|
-
export interface VoiceChatConfig {
|
|
3205
|
-
/** When true, the assistant's response triggers auto-relisten so
|
|
3206
|
-
* the user can keep talking hands-free. Combined with VAD's
|
|
3207
|
-
* automatic turn end and (sticky-aware) auto-submit, this yields
|
|
3208
|
-
* a 5-min hands-free conversation cycle. Env fallback:
|
|
3209
|
-
* `ELANOUS_VOICE_CHAT_MULTI_TURN`. */
|
|
3210
|
-
multiTurn?: boolean;
|
|
3211
|
-
}
|
|
3212
|
-
|
|
3213
|
-
export type VoiceTelegramReplyMode = 'auto' | 'text' | 'voice';
|
|
3214
|
-
export type VoiceTelegramDispatchMode = 'auto-reply' | 'tui-bridge';
|
|
3215
|
-
export type VoiceDiscordChannelListenFilter = 'caller' | 'all';
|
|
3216
|
-
export type IntakeAmbientCaptureMode = 'off' | 'suggest' | 'capture';
|
|
3217
|
-
|
|
3218
|
-
export interface VoiceTelegramConfig {
|
|
3219
|
-
/** Where Telegram inbound text / transcribed voice messages route.
|
|
3220
|
-
* - 'auto-reply' (default): existing LLM reply path.
|
|
3221
|
-
* - 'tui-bridge': inject final text into the live dashboard input
|
|
3222
|
-
* when the dashboard shares the daemon process. */
|
|
3223
|
-
dispatch?: VoiceTelegramDispatchMode;
|
|
3224
|
-
/** Reply mode for incoming Telegram voice messages.
|
|
3225
|
-
* - 'auto' (default): user voice → voice reply; user text → text reply.
|
|
3226
|
-
* - 'text': always text reply.
|
|
3227
|
-
* - 'voice': always voice reply.
|
|
3228
|
-
* No env fallback — Telegram voice is a 신규 옵션 introduced in
|
|
3229
|
-
* Phase 8 (2026-04-30) and is user-config only. */
|
|
3230
|
-
replyMode?: VoiceTelegramReplyMode;
|
|
3231
|
-
/** ISO 639-1 language hint passed to STT for incoming voice msgs.
|
|
3232
|
-
* Improves Korean accuracy when set to 'ko'. */
|
|
3233
|
-
voiceLanguage?: string;
|
|
3234
|
-
}
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
export interface VoiceDiscordConfig {
|
|
3238
|
-
/** ISO 639-1 language hint passed to STT for incoming voice
|
|
3239
|
-
* attachments. Improves Korean accuracy when set to 'ko'. */
|
|
3240
|
-
voiceLanguage?: string;
|
|
3241
|
-
/** Voice-channel specific behavior for Discord Phase 6 follow-up. */
|
|
3242
|
-
voiceChannel?: {
|
|
3243
|
-
/** Enables the live Discord voice-channel surface. User-config first;
|
|
3244
|
-
* env remains only as backward-compatible fallback. */
|
|
3245
|
-
enabled?: boolean;
|
|
3246
|
-
/** Default `/voice-join` speaker filter when the command omits an
|
|
3247
|
-
* explicit suffix (`caller` or `all`). */
|
|
3248
|
-
listenFilter?: VoiceDiscordChannelListenFilter;
|
|
3249
|
-
/** Leave the voice channel automatically when it becomes empty from
|
|
3250
|
-
* the bot's point of view. */
|
|
3251
|
-
leaveOnEmpty?: boolean;
|
|
3252
|
-
/** 재생 중 청취 정책 — true 면 barge-in(지속 발화 인터럽트), false/
|
|
3253
|
-
* 미설정이면 half-duplex. env `ELANOUS_VOICE_BARGE_IN` 은 backward-
|
|
3254
|
-
* compat fallback (user-config 우선 · 갭 #4 2026-07-12). */
|
|
3255
|
-
bargeIn?: boolean;
|
|
3256
|
-
/** barge-in 인터럽트 인정에 필요한 지속 발화 길이(ms). 기본 350.
|
|
3257
|
-
* env fallback `ELANOUS_VOICE_BARGE_IN_SUSTAIN_MS`. */
|
|
3258
|
-
bargeInSustainMs?: number;
|
|
3259
|
-
/** half-duplex 꼬리 여유(ms) — TTS 재생 지평선 뒤로 이만큼 더 인바운드
|
|
3260
|
-
* 를 무시. 기본 350. env fallback `ELANOUS_VOICE_SELF_ECHO_TAIL_MS`. */
|
|
3261
|
-
selfEchoTailMs?: number;
|
|
3262
|
-
/** 마지막 인바운드 패킷 후 STT 를 강제 finalize 하는 침묵 갭(ms).
|
|
3263
|
-
* 기본 700. env fallback `ELANOUS_VOICE_STT_SILENCE_FINALIZE_MS`. */
|
|
3264
|
-
sttSilenceFinalizeMs?: number;
|
|
3265
|
-
};
|
|
3266
|
-
/** 디스코드 보이스 채널 전용 STT provider override (config화 2026-07-12
|
|
3267
|
-
* — `voice.discord.voiceLanguage` 와 같은 표면 스코프 선례). 미설정
|
|
3268
|
-
* 시 전역 체인(voice.stt.provider > STREAMING_STT_PROVIDER env >
|
|
3269
|
-
* 기본값). 전역 키 하나로는 TUI(gpt-realtime-whisper 튜닝)와 디스코드
|
|
3270
|
-
* dogfood(scribe)가 충돌해서 표면별로 분리한다. */
|
|
3271
|
-
sttProvider?: VoiceSttProviderId;
|
|
3272
|
-
}
|
|
3273
|
-
|
|
3274
|
-
export interface VoicePwaConfig {
|
|
3275
|
-
// 2026-09-26 설정 졸업: `voice.pwa.dispatch` 를 지웠다 — 그 값을 쓰던 `voice-pwa-dispatch.ts` 는 호출처 0(죽은 모듈)이었다.
|
|
3276
|
-
}
|
|
3277
|
-
|
|
3278
|
-
export interface VoiceConfig {
|
|
3279
|
-
stt: VoiceSttConfig;
|
|
3280
|
-
tts: VoiceTtsConfig;
|
|
3281
|
-
vad: VoiceVadConfig;
|
|
3282
|
-
chat: VoiceChatConfig;
|
|
3283
|
-
discord: VoiceDiscordConfig;
|
|
3284
|
-
telegram: VoiceTelegramConfig;
|
|
3285
|
-
pwa: VoicePwaConfig;
|
|
3286
|
-
}
|
|
3287
|
-
|
|
3288
|
-
export interface IntakeSurfaceConfig {
|
|
3289
|
-
ambientCapture?: IntakeAmbientCaptureMode;
|
|
3290
|
-
}
|
|
3291
|
-
|
|
3292
|
-
export interface IntakeConfig {
|
|
3293
|
-
/** Maximum immediately scheduled Telegram absorption links per KST day. */
|
|
3294
|
-
eventMax?: number;
|
|
3295
|
-
/** Topic title used by the scheduled user absorption briefing and its topic-scoped feeds. */
|
|
3296
|
-
briefingTopic?: string;
|
|
3297
|
-
telegram: IntakeSurfaceConfig;
|
|
3298
|
-
discord: IntakeSurfaceConfig;
|
|
3299
|
-
approvals?: { repo?: string };
|
|
3300
|
-
}
|
|
3301
|
-
|
|
3302
1606
|
/** Hardcoded fallbacks used when neither user config nor env supplies
|
|
3303
1607
|
* a value. Resolvers in `voice/*` keep these in sync — exported here
|
|
3304
1608
|
* so docs / tests can reference one canonical source. */
|
|
@@ -3345,69 +1649,8 @@ function normalizeIntakeAmbientCaptureMode(v: unknown): IntakeAmbientCaptureMode
|
|
|
3345
1649
|
return undefined;
|
|
3346
1650
|
}
|
|
3347
1651
|
|
|
3348
|
-
// ── Finance / Conatus domain pack (2026-07-05 · A0) ──────────────────
|
|
3349
|
-
//
|
|
3350
|
-
// The investment/Conatus capability (analyst orientation, resource map,
|
|
3351
|
-
// and — later — first-class finance tools + trade gate) is an OPTIONAL
|
|
3352
|
-
// domain pack. Core stays generic; when `enabled` is false (default) none
|
|
3353
|
-
// of the finance orientation loads, so a non-investment deployment gets a
|
|
3354
|
-
// plain agent. See docs/ROADMAP-conatus-elanous-knowledge-absorption §0.
|
|
3355
|
-
export interface FinanceConfig {
|
|
3356
|
-
enabled: boolean;
|
|
3357
|
-
/** Layer an LLM qualitative narrative (관전 포인트) on top of the
|
|
3358
|
-
* deterministic morning digest. Opt-out (default on when a provider
|
|
3359
|
-
* is available); fail-soft — no provider or an LLM error just drops
|
|
3360
|
-
* the narrative and sends the structured base unchanged (P1d). */
|
|
3361
|
-
morningNarrative?: boolean;
|
|
3362
|
-
/** A2 — 아침 브리핑에 finviz S&P 히트맵 이미지(firecrawl 스크린샷) 첨부.
|
|
3363
|
-
* 기본 true · firecrawl 키 있을 때만 동작(없으면 자동 skip·fail-soft). */
|
|
3364
|
-
morningHeatmapImage?: boolean;
|
|
3365
|
-
/** P5 PFC Layer-2 autonomous opportunity loop. DISARMED by default —
|
|
3366
|
-
* when `enabled` is false the opportunity scan only REPORTS candidates;
|
|
3367
|
-
* when true it auto-runs a bounded analysis for high-severity candidates
|
|
3368
|
-
* (still analysis-only — no trade tools; trades stay HITL). `maxPerScan`
|
|
3369
|
-
* is the budget furnace: at most this many analyses per scan. */
|
|
3370
|
-
autoLoop?: { enabled?: boolean; maxPerScan?: number };
|
|
3371
|
-
/** R5 (ROADMAP-organic-signal-engine) — dig-engine v2: DigTrigger →
|
|
3372
|
-
* auto-mode goal auto-setup driven by the ContinuationScheduler.
|
|
3373
|
-
* DISARMED by default and double-gated: this section AND the root
|
|
3374
|
-
* `dispatch.enabled` flag must both be true before the daemon arms
|
|
3375
|
-
* the dig-goal armer. Analysis-only (no trade tools); guards =
|
|
3376
|
-
* termination preset + goal token budget + maxTurns + andon +
|
|
3377
|
-
* dig-engine hourly/cooldown caps + `maxPerDay`. */
|
|
3378
|
-
dig?: { autoGoal?: { enabled?: boolean; maxPerDay?: number; maxTurns?: number; independentChecker?: boolean } };
|
|
3379
|
-
/** 온톨로지(kg) 새벽 공고화 arming. 둘 다 DISARMED 기본. READ-ONLY 판단(매매 격리).
|
|
3380
|
-
* extract=dig/breaking→LLM 인과 추출(비용). anomalyDig=예측 이탈→dig_queue 자동 적재
|
|
3381
|
-
* (분석 리서치·매매 아님). 새벽 배치(kg-consolidate)에서만 발동. */
|
|
3382
|
-
kg?: { extract?: { enabled?: boolean }; anomalyDig?: { enabled?: boolean } };
|
|
3383
|
-
/** ★ M4 · 새벽 수면 리플레이 자율 루프 arming(5+2 세 번째 루프). DISARMED 기본·이중
|
|
3384
|
-
* 게이트(dispatch.enabled AND 이 flag). idle-driven — 새벽 창(기본 06-07시)에만 arm.
|
|
3385
|
-
* READ-ONLY 정리·회고(24h 기억→REPLAY.md·매매/발송 도구 격리). maxTurns 저턴(3정리). */
|
|
3386
|
-
replay?: { autoGoal?: { enabled?: boolean; maxTurns?: number; tokenCap?: number; windowStartHour?: number; windowEndHour?: number } };
|
|
3387
|
-
/** 파리티 검증된 Conatus TS 포트(conatus-backtest·conatus-screen·conatus-trend)로
|
|
3388
|
-
* finance_backtest / finance_signals(screen·trend·factor)를 라우팅한다. DISARMED 기본 —
|
|
3389
|
-
* false 면 기존 python shell-out 경로 100% 불변(fallback). true 면 python 미기동, TS
|
|
3390
|
-
* 포트 렌더로 대체(READ-ONLY·write 없음). sector_flow 는 포트 미커버라 항상 python. */
|
|
3391
|
-
conatusNativePort?: boolean;
|
|
3392
|
-
/** SEC EDGAR 가 요구하는 연락처 이메일 — 13F 조회의 `User-Agent` 에 싣는다. 코드에 박지 않는다
|
|
3393
|
-
* (공개본에 개인 연락처가 실리고, 남이 돌리면 그 요청이 이 연락처로 간다). 없으면 13F 조회가
|
|
3394
|
-
* «이 키를 설정하라»는 오류로 멈춘다 — SEC 는 연락처 없는 요청을 막는다. */
|
|
3395
|
-
secContactEmail?: string;
|
|
3396
|
-
/** ⭐ 실주문 마스터 스위치 (실돈·대표 정책 2026-07-22). DISARMED 기본(false) — false 면
|
|
3397
|
-
* HITL 승인을 통과해도 실주문 executor 에 native placeOrder 미주입 → dry-run(실주문 0·기존 불변).
|
|
3398
|
-
* true 로 켜야만(대표 명시) 정책 게이트(사용자요청 승인/자율 HITL) + verify + 소액상한 + 2단계 승인을
|
|
3399
|
-
* 전부 통과한 주문이 native tossOrder 로 실제 접수된다. 자율 크론 경로엔 절대 배선 안 함(정책=자율→HITL). */
|
|
3400
|
-
liveOrders?: boolean;
|
|
3401
|
-
/** ⚠️ 실주문 게이트 완화 (기본 false=엄격). true 면 실주문 경로(liveOrders+liveExecutor)에서
|
|
3402
|
-
* ①소액상한 삭제(무제한) ②verify CLEARED 게이트 삭제 ③2단계→1단계 텔레그램 승인. 테스트 데몬
|
|
3403
|
-
* 전용 상정(운영은 false 유지=엄격: 100만 상한·verify·2단계 Pushcut). false 면 완화 전혀 없음. */
|
|
3404
|
-
relaxedGates?: boolean;
|
|
3405
|
-
}
|
|
3406
|
-
|
|
3407
1652
|
const FINANCE_DEFAULTS: FinanceConfig = {
|
|
3408
1653
|
enabled: false,
|
|
3409
|
-
morningNarrative: true,
|
|
3410
|
-
morningHeatmapImage: true,
|
|
3411
1654
|
autoLoop: { enabled: false, maxPerScan: 2 },
|
|
3412
1655
|
dig: { autoGoal: { enabled: false, maxPerDay: 2, maxTurns: 6, independentChecker: false } },
|
|
3413
1656
|
kg: { extract: { enabled: false }, anomalyDig: { enabled: false } },
|
|
@@ -3417,60 +1660,6 @@ const FINANCE_DEFAULTS: FinanceConfig = {
|
|
|
3417
1660
|
relaxedGates: false,
|
|
3418
1661
|
};
|
|
3419
1662
|
|
|
3420
|
-
// ── Top-level ────────────────────────────────────────────────────────
|
|
3421
|
-
|
|
3422
|
-
/** G8 무인 리뷰루프 opt-in 라벨(auto-review) 자동부착 모드(sparse·기본 opt-in). §2b ROADMAP-elanous-is-all. */
|
|
3423
|
-
export interface AutoReviewConfig {
|
|
3424
|
-
/** 'off'=전면 금지(kill switch·--auto-review 플래그도 무시) · 'opt-in'=플래그 있을 때만(기본) ·
|
|
3425
|
-
* 'auto'=플래그 없어도 저위험 작업(assessAutonomyEligibility 통과)에 자동 부착(G10 안전봉투 그물 위). */
|
|
3426
|
-
mode?: 'off' | 'opt-in' | 'auto';
|
|
3427
|
-
/** 2계층 리뷰 무게 판정(assessReviewDepth) 임계 — light(1차+tsc 충분)/heavy(2차 Opus 심판 머스트) 경계. sparse. */
|
|
3428
|
-
depth?: {
|
|
3429
|
-
/** light 최대 변경 파일 수(초과=heavy). 기본 5. */
|
|
3430
|
-
maxLightFiles?: number;
|
|
3431
|
-
/** light 최대 diff 라인(add+del·초과=heavy). 기본 200. */
|
|
3432
|
-
maxLightLines?: number;
|
|
3433
|
-
/** 핵심 경로 접두/부분매치(변경 시 heavy). 기본=시스템 코어(orchestrator·harness·boot 등). */
|
|
3434
|
-
corePaths?: string[];
|
|
3435
|
-
/** 계획문서 패턴(정규식·변경 시 heavy=방향 결정). 기본=PLAN/RFC/ROADMAP/MILESTONE/DESIGN/HANDOFF·docs/plans 등. */
|
|
3436
|
-
planDocPatterns?: string[];
|
|
3437
|
-
};
|
|
3438
|
-
}
|
|
3439
|
-
|
|
3440
|
-
export type ModelRole = 'implement' | 'review' | 'research' | 'planning' | 'audit' | 'classify' | 'graph-grow' | 'coordinator' | 'guardian';
|
|
3441
|
-
export type AgentModelRole = 'coordinator' | 'guardian';
|
|
3442
|
-
|
|
3443
|
-
export interface RoleModelConfig {
|
|
3444
|
-
implement?: string;
|
|
3445
|
-
review?: string;
|
|
3446
|
-
research?: string;
|
|
3447
|
-
planning?: string;
|
|
3448
|
-
audit?: string;
|
|
3449
|
-
classify?: string;
|
|
3450
|
-
'graph-grow'?: string;
|
|
3451
|
-
coordinator?: string;
|
|
3452
|
-
guardian?: string;
|
|
3453
|
-
}
|
|
3454
|
-
|
|
3455
|
-
/** Sparse provider-agnostic model tier preferences by execution role. */
|
|
3456
|
-
export type RoleModelTierConfig = Partial<Record<ModelRole, ModelTier>>;
|
|
3457
|
-
|
|
3458
|
-
/** 역할 한 칸이 담는 LLM 선택 — 세 칸 «전부» 옵셔널이라 「일부분만」이 1급이다.
|
|
3459
|
-
* `{ provider: 'grok' }` 면 provider 만 갈리고 tier 는 아래 사다리가 채운다.
|
|
3460
|
-
* ⛔ RFC-role-scoped-llm-selection-2026-08-18 §4a. */
|
|
3461
|
-
export interface RoleLlmSpec {
|
|
3462
|
-
provider?: LLMProviderName;
|
|
3463
|
-
tier?: ModelTier;
|
|
3464
|
-
model?: string;
|
|
3465
|
-
effort?: 'low' | 'medium' | 'high';
|
|
3466
|
-
}
|
|
3467
|
-
|
|
3468
|
-
/** Reviewer-only ACP subscription selection; it is not a streaming LLM provider. */
|
|
3469
|
-
export interface SubscriptionReviewerSpec {
|
|
3470
|
-
provider: 'claude-acp';
|
|
3471
|
-
executor?: 'cct' | 'cc';
|
|
3472
|
-
}
|
|
3473
|
-
|
|
3474
1663
|
export function parseSubscriptionReviewerSpec(raw: unknown): SubscriptionReviewerSpec | undefined {
|
|
3475
1664
|
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) return undefined;
|
|
3476
1665
|
const v = raw as Record<string, unknown>;
|
|
@@ -3479,9 +1668,6 @@ export function parseSubscriptionReviewerSpec(raw: unknown): SubscriptionReviewe
|
|
|
3479
1668
|
return { provider: 'claude-acp', ...(v.executor ? { executor: v.executor as 'cct' | 'cc' } : {}) };
|
|
3480
1669
|
}
|
|
3481
1670
|
|
|
3482
|
-
/** Stable PR-number allocation for the three self-review lanes. Zero disables a lane. */
|
|
3483
|
-
export interface ReviewerMixSpec { sol: number; claude: number; glm: number }
|
|
3484
|
-
|
|
3485
1671
|
export function parseReviewerMixSpec(raw: unknown): ReviewerMixSpec | undefined {
|
|
3486
1672
|
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) return undefined;
|
|
3487
1673
|
const value = raw as Record<string, unknown>;
|
|
@@ -3493,27 +1679,6 @@ export function parseReviewerMixSpec(raw: unknown): ReviewerMixSpec | undefined
|
|
|
3493
1679
|
return { sol: value.sol as number, claude: value.claude as number, glm: value.glm as number };
|
|
3494
1680
|
}
|
|
3495
1681
|
|
|
3496
|
-
/** 역할별 LLM 선택(sparse). `reviewer` is the opt-in harness ACP lane. */
|
|
3497
|
-
export type RoleLlmConfig = Partial<Record<ModelRole, RoleLlmSpec>> & { reviewer?: SubscriptionReviewerSpec; reviewerMix?: ReviewerMixSpec };
|
|
3498
|
-
|
|
3499
|
-
export type ModelResolutionSource = 'config' | 'tier' | 'environment' | 'default';
|
|
3500
|
-
|
|
3501
|
-
/** 해석된 값이 «어느 층»에서 왔는지 — ⛔ 값 옆에 출처를 두는 것이 이 축의 계약이다.
|
|
3502
|
-
* `flag`/`config-role` 은 신설 층이고 나머지 넷은 기존 사다리 그대로다. */
|
|
3503
|
-
export type RoleLlmSource = 'flag' | 'config-role' | ModelResolutionSource;
|
|
3504
|
-
|
|
3505
|
-
export interface RoleLlmResolution {
|
|
3506
|
-
model: string;
|
|
3507
|
-
provider: LLMProviderName;
|
|
3508
|
-
tier?: ModelTier;
|
|
3509
|
-
source: RoleLlmSource;
|
|
3510
|
-
}
|
|
3511
|
-
|
|
3512
|
-
export interface ModelResolution {
|
|
3513
|
-
model: string;
|
|
3514
|
-
source: ModelResolutionSource;
|
|
3515
|
-
}
|
|
3516
|
-
|
|
3517
1682
|
// ⛔ 역할 기본값은 «모델 이름»이 아니라 «필요 성능(tier)»이다 (대표 2026-08-18).
|
|
3518
1683
|
// 이름으로 박아 두면 llm.provider 를 바꿔도 따라오지 않는다 — 티어면 활성 provider 의
|
|
3519
1684
|
// 사다리가 채운다. 무거운 저작(planning)만 best 이고 나머지는 그 아래로 충분하다.
|
|
@@ -3619,13 +1784,6 @@ function observeRoleLlm(role: ModelRole, resolution: RoleLlmResolution, requeste
|
|
|
3619
1784
|
* RFC-role-scoped-llm-selection-2026-08-18 §2a — 조용히 덮이는 전역이 이 축의 실패 모드다. */
|
|
3620
1785
|
let launchRoleLlmOverrides: RoleLlmConfig | undefined;
|
|
3621
1786
|
|
|
3622
|
-
export interface SetLaunchRoleLlmOptions {
|
|
3623
|
-
/** 대화형 변경(슬래시)처럼 «의도된» 교체일 때만 참. 발사 경로는 주지 않는다. */
|
|
3624
|
-
allowReplace?: boolean;
|
|
3625
|
-
/** 누가 세웠는지 — 관측에 남는다. */
|
|
3626
|
-
origin?: string;
|
|
3627
|
-
}
|
|
3628
|
-
|
|
3629
1787
|
export function setLaunchRoleLlmOverrides(overrides: RoleLlmConfig, opts: SetLaunchRoleLlmOptions = {}): void {
|
|
3630
1788
|
const previous = launchRoleLlmOverrides;
|
|
3631
1789
|
const next = JSON.stringify(overrides);
|
|
@@ -3664,14 +1822,6 @@ export function clearLaunchRoleLlmOverrides(): void {
|
|
|
3664
1822
|
launchRoleLlmOverrides = undefined;
|
|
3665
1823
|
}
|
|
3666
1824
|
|
|
3667
|
-
export interface RoleLlmResolveOptions {
|
|
3668
|
-
config?: UserConfig;
|
|
3669
|
-
/** 발사 시점에 «한 번» 정해 아래로 내리는 인자 — 사다리 최상층(source='flag'). */
|
|
3670
|
-
overrides?: RoleLlmConfig;
|
|
3671
|
-
/** Test seam — 기본 process.env. `ELANOUS_ROLE_LLM_<ROLE>` 을 읽는다(source='environment'). */
|
|
3672
|
-
env?: NodeJS.ProcessEnv;
|
|
3673
|
-
}
|
|
3674
|
-
|
|
3675
1825
|
/** ★ 역할별 LLM 해석 SSOT — RFC-role-scoped-llm-selection-2026-08-18 §4c.
|
|
3676
1826
|
* 사다리: ① overrides(flag) → ①b env 고정 `ELANOUS_ROLE_LLM_<ROLE>`(POD-ROLE-LLM) → ② config.roleLlm → ③~⑥ 기존(resolveRoleLlmBaseline).
|
|
3677
1827
|
* ⛔ 아무 override 도 없으면 ③~⑥ 만 타므로 산출이 종전과 «같다»(§4f 불변식 · NL 진입 무변경). */
|
|
@@ -3758,103 +1908,8 @@ export function resolveRoleModel(role: ModelRole, config: UserConfig = getUserCo
|
|
|
3758
1908
|
}
|
|
3759
1909
|
|
|
3760
1910
|
|
|
3761
|
-
|
|
3762
|
-
export
|
|
3763
|
-
/** ORCH1 graph mode — shadow writes observations only; live appends delegations (default shadow). */
|
|
3764
|
-
mode: 'off' | 'shadow' | 'live';
|
|
3765
|
-
seatTrees: Partial<Record<OrchestratorSeat, string[]>>;
|
|
3766
|
-
seatCaps: Record<OrchestratorSeat, number>;
|
|
3767
|
-
/** Max new delegations per tick; absent means no limit. */
|
|
3768
|
-
maxDelegatePerTick?: number;
|
|
3769
|
-
/** Dispatch placement preference and local concurrency lane. Defaults preserve the existing Pod preference and one local lane. */
|
|
3770
|
-
dispatch: { podTarget: number; localLane: number };
|
|
3771
|
-
/** Per-seat release gate; absent seats retain the spawn-budget default. */
|
|
3772
|
-
releaseGate?: Partial<Record<OrchestratorSeat, number>>;
|
|
3773
|
-
trafficMode: 'shadow' | 'live';
|
|
3774
|
-
idleRequest?: 'off' | 'shadow' | 'live';
|
|
3775
|
-
/** FINISH-RATE — the queue tick reads finish metrics before launching; shadow logs the hold only, on holds (default shadow). */
|
|
3776
|
-
finishGate?: 'off' | 'shadow' | 'on';
|
|
3777
|
-
/** ORCH-TA-HAND — the delegate node hands its picked cell to TASK-AGENT (`handTask`). Absent = off · shadow = card only ·
|
|
3778
|
-
* live = launch (only when the tick mode is live too; a live hand skips the seat journal so the cell launches once). */
|
|
3779
|
-
handToTaskAgent?: 'off' | 'shadow' | 'live';
|
|
3780
|
-
/** Demo: hand only this cell id (others keep the seat path). Absent = every delegatable cell. */
|
|
3781
|
-
handToTaskAgentCell?: string;
|
|
3782
|
-
/** COORD-HA — the tick CLI probes LLM ⊕ task board for the degradation ladder. Absent = shadow (probe and log only) ·
|
|
3783
|
-
* live = the tick acts on it (L1 rules only · L2 no new assignment) · off = no probe. */
|
|
3784
|
-
degradationSignal?: 'off' | 'shadow' | 'live';
|
|
3785
|
-
}
|
|
3786
|
-
|
|
3787
|
-
export const ORCHESTRATOR_DEFAULTS: OrchestratorLoopConfig = {
|
|
3788
|
-
mode: 'shadow', seatTrees: {}, seatCaps: { TC: 8, UX: 6, MK: 6, OP: 4 }, dispatch: { podTarget: 18, localLane: 1 }, trafficMode: 'shadow', idleRequest: 'shadow', finishGate: 'shadow',
|
|
3789
|
-
};
|
|
3790
|
-
|
|
3791
|
-
export function parseOrchestratorLoopConfig(raw: unknown): OrchestratorLoopConfig {
|
|
3792
|
-
const value = raw && typeof raw === 'object' && !Array.isArray(raw) ? raw as Record<string, unknown> : {};
|
|
3793
|
-
const rawTrees = value.seatTrees && typeof value.seatTrees === 'object' && !Array.isArray(value.seatTrees)
|
|
3794
|
-
? value.seatTrees as Record<string, unknown> : {};
|
|
3795
|
-
const rawCaps = value.seatCaps && typeof value.seatCaps === 'object' && !Array.isArray(value.seatCaps)
|
|
3796
|
-
? value.seatCaps as Record<string, unknown> : {};
|
|
3797
|
-
const rawGate = value.releaseGate && typeof value.releaseGate === 'object' && !Array.isArray(value.releaseGate)
|
|
3798
|
-
? value.releaseGate as Record<string, unknown> : {};
|
|
3799
|
-
const seatTrees: OrchestratorLoopConfig['seatTrees'] = {};
|
|
3800
|
-
const seatCaps = { ...ORCHESTRATOR_DEFAULTS.seatCaps };
|
|
3801
|
-
const releaseGate: NonNullable<OrchestratorLoopConfig['releaseGate']> = {};
|
|
3802
|
-
for (const seat of ['OP', 'TC', 'MK', 'UX'] as const) {
|
|
3803
|
-
if (Array.isArray(rawTrees[seat])) seatTrees[seat] = rawTrees[seat].filter((path): path is string => typeof path === 'string' && isAbsolute(path));
|
|
3804
|
-
const cap = rawCaps[seat];
|
|
3805
|
-
if (typeof cap === 'number' && Number.isSafeInteger(cap) && cap >= 0) seatCaps[seat] = cap;
|
|
3806
|
-
const gate = rawGate[seat];
|
|
3807
|
-
if (typeof gate === 'number' && Number.isSafeInteger(gate) && gate >= 0) releaseGate[seat] = gate;
|
|
3808
|
-
}
|
|
3809
|
-
const mode = value.mode === 'off' || value.mode === 'live' ? value.mode : 'shadow';
|
|
3810
|
-
const maxDelegatePerTick = value.maxDelegatePerTick;
|
|
3811
|
-
const rawDispatch = value.dispatch && typeof value.dispatch === 'object' && !Array.isArray(value.dispatch)
|
|
3812
|
-
? value.dispatch as Record<string, unknown> : {};
|
|
3813
|
-
const dispatch = { ...ORCHESTRATOR_DEFAULTS.dispatch };
|
|
3814
|
-
for (const field of ['podTarget', 'localLane'] as const) {
|
|
3815
|
-
const setting = rawDispatch[field];
|
|
3816
|
-
if (typeof setting === 'number' && Number.isSafeInteger(setting) && setting >= 0) dispatch[field] = setting;
|
|
3817
|
-
}
|
|
3818
|
-
return { mode, seatTrees, seatCaps, dispatch,
|
|
3819
|
-
...(typeof maxDelegatePerTick === 'number' && Number.isSafeInteger(maxDelegatePerTick) && maxDelegatePerTick >= 0 ? { maxDelegatePerTick } : {}),
|
|
3820
|
-
...(Object.keys(releaseGate).length ? { releaseGate } : {}),
|
|
3821
|
-
trafficMode: value.trafficMode === 'live' ? 'live' : 'shadow',
|
|
3822
|
-
idleRequest: value.idleRequest === 'off' || value.idleRequest === 'live' ? value.idleRequest : 'shadow',
|
|
3823
|
-
finishGate: value.finishGate === 'off' || value.finishGate === 'on' ? value.finishGate : 'shadow',
|
|
3824
|
-
...(value.handToTaskAgent === 'shadow' || value.handToTaskAgent === 'live' ? { handToTaskAgent: value.handToTaskAgent } : {}),
|
|
3825
|
-
...(typeof value.handToTaskAgentCell === 'string' && value.handToTaskAgentCell.trim() ? { handToTaskAgentCell: value.handToTaskAgentCell.trim() } : {}),
|
|
3826
|
-
...(value.degradationSignal === 'off' || value.degradationSignal === 'shadow' || value.degradationSignal === 'live' ? { degradationSignal: value.degradationSignal } : {}) };
|
|
3827
|
-
}
|
|
3828
|
-
|
|
3829
|
-
export type StewardLoopMode = 'off' | 'shadow' | 'live' | 'rescue';
|
|
3830
|
-
|
|
3831
|
-
export type SeatLoopMode = 'off' | 'shadow' | 'on' | 'live-safe';
|
|
3832
|
-
|
|
3833
|
-
export interface PersonaLoopConfig { enabled: boolean }
|
|
3834
|
-
|
|
3835
|
-
export interface SeatLoopConfig {
|
|
3836
|
-
/** Shadow observes by default; live-safe acts only through the shared rescue policy, while legacy on retains its behavior. */
|
|
3837
|
-
mode: SeatLoopMode;
|
|
3838
|
-
/** Validated loop-agent neighbor entries keyed by the observing seat. */
|
|
3839
|
-
neighbors?: Partial<Record<'OP' | 'TC' | 'MK' | 'UX', import('./loops/neighbors.js').Neighbor[]>>;
|
|
3840
|
-
/** Seat-to-seat and human questions default to shadow even when the checklist loop is on. */
|
|
3841
|
-
questions?: 'shadow' | 'on';
|
|
3842
|
-
seats?: string[];
|
|
3843
|
-
podPool?: string;
|
|
3844
|
-
reportPr?: number;
|
|
3845
|
-
/** Parent routing and age limits for checklist stalls; omitted values use findStalls defaults. */
|
|
3846
|
-
stall?: { parents?: Record<string, string>; redMinutes?: number; blockedMinutes?: number };
|
|
3847
|
-
/** Unlanded attempts of the same seat cell before the loop stops relaunching and asks a person. Absent or invalid means 3. */
|
|
3848
|
-
repeatStop?: number;
|
|
3849
|
-
/** OP-LOOP-DECIDE: OP seat filters open decision cards (repeat-stop → b · harness scope → b unless money/security/secret/public paths). shadow records only; live decides/routes. Absent = shadow. */
|
|
3850
|
-
opDecide?: { mode: 'shadow' | 'live' };
|
|
3851
|
-
/** IDLE-LADDER: when a seat's own queue is empty the loop picks idle work (landed-yellow rebuttal → next-release authoring → standing work → borrow an unlaunched neighbor cell). Absent = off (only the empty-queue minutes metric is recorded); 'shadow' records the pick only; 'live' lets live-safe/on launch it. */
|
|
3852
|
-
idleLadder?: 'shadow' | 'live';
|
|
3853
|
-
}
|
|
3854
|
-
|
|
3855
|
-
export type EventSeat = 'OP' | 'TC' | 'MK' | 'UX';
|
|
3856
|
-
export interface EventRoute { source: 'linear' | 'asana' | 'github'; kind: string; seat: EventSeat; loop: 'seat' }
|
|
3857
|
-
export interface EventsConfig { mode: 'shadow' | 'on'; routes: EventRoute[]; linearAssignees: Record<string, EventSeat> }
|
|
1911
|
+
import { ORCHESTRATOR_DEFAULTS, parseOrchestratorLoopConfig } from './user-config/orchestrator.js';
|
|
1912
|
+
export * from './user-config/orchestrator.js';
|
|
3858
1913
|
|
|
3859
1914
|
export function parseEventsConfig(input: unknown): EventsConfig {
|
|
3860
1915
|
const events = input && typeof input === 'object' && !Array.isArray(input) ? input as Record<string, unknown> : {};
|
|
@@ -3875,52 +1930,6 @@ export function parseEventsConfig(input: unknown): EventsConfig {
|
|
|
3875
1930
|
return { mode: events.mode === 'on' ? 'on' : 'shadow', routes, linearAssignees };
|
|
3876
1931
|
}
|
|
3877
1932
|
|
|
3878
|
-
export type HqFenceRole = 'telegram-poller' | 'cron' | 'seat-loop' | 'release-run' | 'conatus' | 'git-push' | 'ledger-cli';
|
|
3879
|
-
export interface HqConfig {
|
|
3880
|
-
/** ssh host that keeps the lease record — homes push to it; it never sshes back (default cloud-vm). */
|
|
3881
|
-
arbiter?: string;
|
|
3882
|
-
/** This host's identity in the lease (default os.hostname()). */
|
|
3883
|
-
hostName?: string;
|
|
3884
|
-
/** Standby host (default node-b) — the quorum's third member; promoted only by the arbiter. */
|
|
3885
|
-
standby?: string;
|
|
3886
|
-
/** Lease TTL in seconds (default 1500 = 25 min). */
|
|
3887
|
-
ttlSeconds?: number;
|
|
3888
|
-
/** Arbiter silence threshold (default 3); applying promotion requires explicit opt-in. */
|
|
3889
|
-
autoPromote?: { enabled?: boolean; streak?: number };
|
|
3890
|
-
/** Roles that may still run when this host is fenced only for lack of quorum (never when a newer generation exists). Absent = none. */
|
|
3891
|
-
failOpenRoles?: HqFenceRole[];
|
|
3892
|
-
/** Per-host nexus health URL over the tailnet (default https://<host>.<tailnetDomain>:31415/v1/health). */
|
|
3893
|
-
healthUrls?: Record<string, string>;
|
|
3894
|
-
/** MagicDNS suffix (default: read from `tailscale status --json`). */
|
|
3895
|
-
tailnetDomain?: string;
|
|
3896
|
-
/** `tailscale` binary (default tailscale). */
|
|
3897
|
-
tailscaleBin?: string;
|
|
3898
|
-
/** Highest lease generation this host ever saw (default ~/.elanous-hq/seen-generation · 600). */
|
|
3899
|
-
seenGenerationFile?: string;
|
|
3900
|
-
/** Board writes only reject stale generations when explicitly enforced (default shadow). */
|
|
3901
|
-
boardFencing?: 'shadow' | 'enforce';
|
|
3902
|
-
/** Per-probe timeout in seconds (default 5). */
|
|
3903
|
-
probeTimeoutSeconds?: number;
|
|
3904
|
-
}
|
|
3905
|
-
|
|
3906
|
-
/** GATE-REMOTE (10-06): heavy pre-landing checks (self gate · changed-file tsc · public-export test run) on a remote host at the same commit. */
|
|
3907
|
-
export interface GateRemoteConfig {
|
|
3908
|
-
/** Auto-dispatch when the local 1-min load exceeds the threshold (default true). `--remote`/`--local` flags always win. */
|
|
3909
|
-
enabled?: boolean;
|
|
3910
|
-
/** ssh host (default node-b). */
|
|
3911
|
-
host?: string;
|
|
3912
|
-
/** Local 1-min load average above which checks go remote (default 20). */
|
|
3913
|
-
loadThreshold?: number;
|
|
3914
|
-
/** Legacy default cap for hosts without an entry in hostCaps (1..2, default 2). */
|
|
3915
|
-
hostCap?: number;
|
|
3916
|
-
/** Per SSH host concurrent heavy-check slots (1..8); overrides hostCap for that host. */
|
|
3917
|
-
hostCaps?: Record<string, number>;
|
|
3918
|
-
/** Bare mirror on the host (default ~/mirror/elanous-agent.git — shared with the release gate). */
|
|
3919
|
-
mirror?: string;
|
|
3920
|
-
/** Seconds to wait for a free host slot before running locally (default 600). */
|
|
3921
|
-
slotWaitSeconds?: number;
|
|
3922
|
-
}
|
|
3923
|
-
|
|
3924
1933
|
export function parseGateRemoteConfig(raw: unknown): GateRemoteConfig | undefined {
|
|
3925
1934
|
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) return undefined;
|
|
3926
1935
|
const r = raw as Record<string, unknown>;
|
|
@@ -3941,11 +1950,6 @@ export function parseGateRemoteConfig(raw: unknown): GateRemoteConfig | undefine
|
|
|
3941
1950
|
return Object.keys(out).length ? out : undefined;
|
|
3942
1951
|
}
|
|
3943
1952
|
|
|
3944
|
-
export interface ProjectConfig {
|
|
3945
|
-
/** `axes` is absent when the configured axes are invalid; `error` then carries the config error text. */
|
|
3946
|
-
rubric?: { axes?: RubricAxis[]; error?: string };
|
|
3947
|
-
}
|
|
3948
|
-
|
|
3949
1953
|
/** Validate one project's `rubric.axes` — throws the config error text (key duplicate · non-numeric weight). */
|
|
3950
1954
|
export function parseProjectRubricAxes(id: string, axes: unknown): Array<{ key: string; weight: number }> {
|
|
3951
1955
|
if (!Array.isArray(axes)) throw new Error(`[user-config] projects.${id}.rubric.axes 는 배열이어야 합니다`);
|
|
@@ -3988,176 +1992,6 @@ function parseProjectsConfig(raw: unknown): Record<string, ProjectConfig> | unde
|
|
|
3988
1992
|
return Object.keys(projects).length ? projects : undefined;
|
|
3989
1993
|
}
|
|
3990
1994
|
|
|
3991
|
-
export interface UserConfig {
|
|
3992
|
-
/** Next TUI options. `unattended` makes confirmation/clarification paths non-blocking. */
|
|
3993
|
-
tui?: { sidetab?: 'off' | 'collapsed' | 'open'; unattended?: boolean };
|
|
3994
|
-
projects?: Record<string, ProjectConfig>;
|
|
3995
|
-
/** Default personal topic watch; absent = enabled when user sources exist. */
|
|
3996
|
-
watch?: { enabled?: boolean };
|
|
3997
|
-
starter?: { topics?: string[] };
|
|
3998
|
-
/** GUARD-ONE-a: omitted means shadow. `live` is parsed for the later cutover, but `elanous guardian tick`
|
|
3999
|
-
* refuses it until a human-confirmed operational change (GUARD-ONE-a ships shadow only). */
|
|
4000
|
-
guardian?: { mode?: 'shadow' | 'live'; /** Orphan CLI GC on the guardian tick: off = no ps collection, shadow (default) = evidence only, on = evidence then SIGTERM. */ orphanGc?: 'off' | 'shadow' | 'on' };
|
|
4001
|
-
/** Task-agent live move allow-list (`src/task-agent/live-moves.ts` validates its vocabulary).
|
|
4002
|
-
* Absent = env ELANOUS_TASK_AGENT_LIVE_MOVES, else none (pure shadow). */
|
|
4003
|
-
taskAgent?: { liveMoves?: string[]; /** TA-REJUDGE-PERIODIC — steward tick runs `tasks rejudge --all` every N minutes (absent/0 = off). */ rejudgeEveryMinutes?: number; /** 1-minute load average above which that tick is skipped (default 60). */ rejudgeMaxLoad?: number; /** TA-REPAIR-TICK-CAP — new repair launches per `tasks rejudge --all` (default 3, 0 = none). */ repairMaxPerTick?: number; /** Old cards are skipped by periodic rejudge after this many hours (default 72). */ rejudgeMaxAgeHours?: number; /** TA-LAND-AFTER-REVIEW — opt-in external queue adapter, never a direct merge command. */ landQueue?: { command: string; remote: string }; parentHost?: { host?: string; cwd?: string; elanous?: string; configDir?: string; podPool?: string; approvalCapacity?: number } | Array<{ host?: string; cwd?: string; elanous?: string; configDir?: string; podPool?: string; approvalCapacity?: number }> };
|
|
4004
|
-
events?: EventsConfig;
|
|
4005
|
-
/** GATE-REMOTE — see GateRemoteConfig. Absent = defaults (auto on · node-b · load 20 · cap 2). */
|
|
4006
|
-
gateRemote?: GateRemoteConfig;
|
|
4007
|
-
/** Explicit HTTPS destination for doctor diagnostics; absent means no upload. */
|
|
4008
|
-
diagnostics?: { uploadUrl?: string };
|
|
4009
|
-
/** HQ lease (본부 임대 · 10-04 HQ-HB/HQ-FENCE): arbiter host over ssh, this host's name, per-role fail-open when the arbiter is unreachable (default: fail closed). */
|
|
4010
|
-
hq?: HqConfig;
|
|
4011
|
-
/** Root CLI help audience; absent or invalid means owner. */
|
|
4012
|
-
cli?: { helpRole?: 'owner' | 'contributor' | 'general' };
|
|
4013
|
-
/** Daemon public demonstration mode; absent means off. */
|
|
4014
|
-
nexus?: { demoMode?: boolean };
|
|
4015
|
-
/** Execution-phase HITL answer deadline; absent means 30 minutes. */
|
|
4016
|
-
hitl?: { executionDeadlineMinutes?: number };
|
|
4017
|
-
/** Outbound notifications. quietHours is `off` or `HH:MM-HH:MM` KST; absent keeps 00:00-06:30. */
|
|
4018
|
-
outbound?: { deferredMaxAttempts?: number; quietHours?: 'off' | string };
|
|
4019
|
-
coo?: { linearProject?: string };
|
|
4020
|
-
decisions?: { linearProjection: { enabled: boolean }; requireCrossCheck: boolean;
|
|
4021
|
-
crossCheckNeighbor: Record<EventSeat, EventSeat>; crossCheckWaitMinutes: number };
|
|
4022
|
-
/** Per-seat goal and Pod limits; missing or invalid limits use seat-budget defaults. */
|
|
4023
|
-
org?: { budget?: Record<string, { dailyGoals?: number; concurrentPods?: number }> };
|
|
4024
|
-
/** Steward and seat loops are parsed independently. An absent seat defaults to shadow. */
|
|
4025
|
-
loops?: { owners?: Record<string, EventSeat>; defaultOwner?: EventSeat; orchestrator?: OrchestratorLoopConfig; steward?: { mode?: StewardLoopMode; linearTeam?: string; roles?: Record<string, { maxConcurrent?: number }>; budget?: number; tracks?: Record<string, string>; alertAfterFailures?: number; launch?: 'off' | 'shadow' | 'live'; maxParallel?: number; podPool?: string }; seat?: SeatLoopConfig; persona?: PersonaLoopConfig };
|
|
4026
|
-
/** 🔐 Pod 의 Grok API 키 과금은 명시 opt-in 만. 생략·잘못된 값은 false.
|
|
4027
|
-
* budgetGate 와 같은 `harness` 객체다 — 중복 선언이면 뒤 타입이 앞을 지운다. */
|
|
4028
|
-
harness?: { /** KNOWHOW-PACK-TO-SUPERVISORS: child goal injection is legacy opt-in; omitted = off. */ knowhowChildInjection?: boolean; edgeRail?: { canaryOkRuns?: number; failureMultiplier?: number; minSamples?: number }; /** Goal authoring grade; absent or invalid config resolves to full. */ authorGrade?: 'full' | 'lite'; revertGuard?: { depth: number }; pod?: { grokApiKeyOptIn: boolean }; budgetGate?: HarnessBudgetGateConfig; exposeGate?: 'warn' | 'strict'; difficultyPlacement?: boolean; defaultRepo?: string; /** Optional GitHub repository name (owner/repo), distinct from the local defaultRepo path. */ repo?: string; /** `auto` = SUBSTRATE-ROUTE: routeAutoSubstrate 가 pod/local 을 고른다(신호가 없으면 pod). */ substrate?: 'local' | 'pod' | 'auto'; podPool?: string; /** IMAGE-ONE-SOURCE: Pod 발사가 당길 기준 이미지 커밋(hex 12~40 · 레지스트리 태그 = 앞 12자리). 없으면 종전대로 HEAD 비교·굽기. */ imageCommit?: string; worktreeAddTimeoutSec?: number; queue?: { seatCap?: Partial<Record<'OP' | 'TC' | 'MK' | 'UX', number>>; /** Direct `harness say|ask` goes through the seat queue first (ONEDOOR-2). Absent = env ELANOUS_HARNESS_QUEUE_DIRECT_SAY, else off. */ directSay?: boolean; /** SEAT-CAP-STALE: a run whose last ledger progress is older than this stops holding its seat. Absent = env ELANOUS_HARNESS_QUEUE_STALE_RUN_MINUTES, else 30. */ staleRunMinutes?: number; /** Seat-less runs count in one bucket with this cap instead of every seat. Absent = env ELANOUS_HARNESS_QUEUE_UNKNOWN_SEAT_CAP, else 2. */ unknownSeatCap?: number; /** QUEUE-BURST: most launches one scheduled tick may make (30 s apart, each within seat cap and Pod pool headroom). Absent or invalid = 5; 1 = one launch per tick. */ burstMax?: number }; /** `harness say` 문장을 Pod 안에서 저작부터 돌릴지. 생략·false = 끔(호스트가 저작). */ authorOnPod?: boolean; /** SIBLING-RESYNC-ON-MERGE: most open sibling PR file inventories fetched per merge. Absent or invalid = 40. */ siblingResync?: { maxFetch?: number }; /** Stopped-PR repair goals: shadow records only (default); live enqueues them. */ helper?: { repair?: 'shadow' | 'live'; /** Live launches allowed per UTC day. Absent or invalid means 3. */ repairPerDay?: number };
|
|
4029
|
-
/** Nested elanous launches. Only depth 0 may set `allow`. Absent or any other value refuses. A depth >= 1 `--nested-elanous allow` is ignored. */
|
|
4030
|
-
nestedElanous?: 'allow' | 'refuse';
|
|
4031
|
-
/** Maximum nested elanous depth; safe positive integer, default 2. */
|
|
4032
|
-
nestedElanousMaxDepth?: number;
|
|
4033
|
-
/** Minutes a Pod launch may wait in one stage (admission · pool slot) before a `launch-stalled` event; positive number, default 15. */
|
|
4034
|
-
launchStallMinutes?: number;
|
|
4035
|
-
/** Follow-up goal after a merged harness PR. Omitted and anything but `live` record only. */
|
|
4036
|
-
followUp?: 'shadow' | 'live';
|
|
4037
|
-
};
|
|
4038
|
-
/** ☸️ Pod 실행 칸 — `pool` = 기존 기본 풀(`컨텍스트[@ssh호스트][:상한][#k3d-레지스트리:포트]` 쉼표 · 앞이 우선). harness 실행은 인자·ELANOUS_POD_POOL·harness.podPool 다음으로 읽는다. */
|
|
4039
|
-
pod?: { pool?: string; /** Host-local private warm provider config path. Env ELANOUS_WARM_POD_PROVIDER_CONFIG overrides this; absent path defaults to warm-pod-provider.json beside config.json. */ warmProviderConfig?: string; /** 호스트 Git 미러 디렉터리 — Pod Job 에 읽기 전용으로 마운트한다. */ hostMirror?: string; /** 원격 그라운딩 엔드포인트(호스트 nexus · tailnet 주소) — Pod 가 토큰으로 «질의→인용»만 묻는다(P13). */ groundingUrl?: string; /** 읽기 전용 Pod lease 권장에 쓰는 계정별 동시 수. */ lease?: { perAccount?: number }; /** 실측 권고를 Pod 발사 기본값으로 쓸지 (기본 off). */ memory?: { adviseDefaults?: boolean }; /** 명령 Job 자식 로그(child.log) 상한 바이트. 양의 정수만. 넘으면 끝부분 우선. */ childLogMaxBytes?: number; /** warm Pod 재사용 실전 손잡이(소비자별 · 기본 off · 문자 그대로 true 만). 판정 = pod-warm-switch.ts `decideWarmReuse` — 증거가 모자라면 flag 가 켜져도 off. */ warmReuse?: { gateRecheck?: boolean; land?: boolean; ta?: boolean; /** 연속 일치 표본 하한(양의 정수 · 기본 3). */ minMatchSamples?: number } };
|
|
4040
|
-
skillRouter: SkillRouterConfig;
|
|
4041
|
-
llm: LLMConfig;
|
|
4042
|
-
skills: SkillsConfig;
|
|
4043
|
-
obsidian: ObsidianConfig;
|
|
4044
|
-
telegram: TelegramConfig;
|
|
4045
|
-
discord: DiscordConfig;
|
|
4046
|
-
finance: FinanceConfig;
|
|
4047
|
-
onboarding: OnboardingConfig;
|
|
4048
|
-
debug: DebugConfig;
|
|
4049
|
-
logs: LogsConfig;
|
|
4050
|
-
shell: ShellConfig;
|
|
4051
|
-
chat: ChatConfig;
|
|
4052
|
-
/** ER1 — optional so older fixtures stay valid; absent = defaults. */
|
|
4053
|
-
errorReports?: ErrorReportsConfig;
|
|
4054
|
-
voice: VoiceConfig;
|
|
4055
|
-
intake: IntakeConfig;
|
|
4056
|
-
dashboard: DashboardConfig;
|
|
4057
|
-
vw: VwConfig;
|
|
4058
|
-
acp: AcpConfig;
|
|
4059
|
-
lsp: LspConfig;
|
|
4060
|
-
plan: PlanConfig;
|
|
4061
|
-
goals: GoalsConfig;
|
|
4062
|
-
registry: RegistryConfig;
|
|
4063
|
-
// ROADMAP-agent-surface-deferred-tools-2026-05-13 Wave 2 W2.9.
|
|
4064
|
-
// User-level knob for the tier-flip / deferred-tools machinery.
|
|
4065
|
-
// `tools.deferred.mode='off'` shuttles every catalog spec to the
|
|
4066
|
-
// provider every turn (pre-Wave-2 behaviour) — used for A/B
|
|
4067
|
-
// baseline measurement and ad-hoc diagnosis.
|
|
4068
|
-
tools: ToolsConfig;
|
|
4069
|
-
// M1-1 (PLAN-friction-free-model-selection-ux-2026-05-12 · Phase 1):
|
|
4070
|
-
// Three optional sub-trees that drive the friction-free model
|
|
4071
|
-
// selection UX. All three are sparse — undefined means "use the
|
|
4072
|
-
// zero-config default" (Balanced tier, no budget cap, auto-suggest
|
|
4073
|
-
// on). See `src/model-tier/types.ts` for the type definitions.
|
|
4074
|
-
modelTier?: ModelTierUserConfig;
|
|
4075
|
-
budget?: BudgetUserConfig;
|
|
4076
|
-
smartDefaults?: SmartDefaultsUserConfig;
|
|
4077
|
-
/** Sparse model aliases by execution role; missing or empty values fall through. */
|
|
4078
|
-
roleModels?: RoleModelConfig;
|
|
4079
|
-
/** Sparse provider-agnostic model tier preferences by execution role. */
|
|
4080
|
-
roleModelTiers?: RoleModelTierConfig;
|
|
4081
|
-
/** 역할별 provider(⊕ tier·model) — 전역 `llm.provider` 를 «역할 단위»로 덮는 유일한 config 자리. */
|
|
4082
|
-
roleLlm?: RoleLlmConfig;
|
|
4083
|
-
/** P1 멀티서피스 세션 shadow fan-out 게이트(sparse·기본 OFF). */
|
|
4084
|
-
sessionFabric?: SessionFabricConfig;
|
|
4085
|
-
/** Layer2 Taste substrate 수집 게이트(P4·기본 OFF·opt-in). */
|
|
4086
|
-
taste?: TasteConfig;
|
|
4087
|
-
/** 웹 검색 프로바이더 게이트(기본 OFF — `isTavilySearchEnabled()` 로만 읽는다). */
|
|
4088
|
-
webSearch?: WebSearchConfig;
|
|
4089
|
-
/** OpenDesign 시안 생성. 기본 없음 = 꺼짐. url 이 없으면 클라이언트가 호출하지 않는다. */
|
|
4090
|
-
design?: DesignConfig;
|
|
4091
|
-
/** G8 무인 리뷰루프 auto-review 라벨 자동부착 모드(sparse·기본 opt-in). §2b ROADMAP-elanous-is-all. */
|
|
4092
|
-
autoReview?: AutoReviewConfig;
|
|
4093
|
-
/** 표시·집계 시간대 (IANA 이름 · 예 `Asia/Seoul`). 2026-07-24 신설.
|
|
4094
|
-
*
|
|
4095
|
-
* 종전엔 시간대를 **선언할 자리 자체가 없어서** 각 파일이 `'Asia/Seoul'` 을 문자열로
|
|
4096
|
-
* 박거나(9곳) UTC 를 그대로 표시했다(~40곳). 그 결과 같은 제품의 두 서피스가 9시간
|
|
4097
|
-
* 어긋났고, LLM 컨텍스트 팩에 UTC 가 사실로 주입됐다.
|
|
4098
|
-
*
|
|
4099
|
-
* 생략(권장)하면 `src/time/format.ts` 의 `resolveTimeZone()` 이 `process.env.TZ` →
|
|
4100
|
-
* OS 설정(`Intl`) → `UTC` 순으로 해석한다. launchd 데몬은 TZ 를 물려받지 못하므로
|
|
4101
|
-
* OS 설정이 실질 기본이 된다. 명시는 여러 머신에서 표기를 고정하고 싶을 때만.
|
|
4102
|
-
*
|
|
4103
|
-
* ⚠️ 저장·전송은 언제나 UTC ISO 다. 이 값은 **표시와 날짜키에만** 영향한다. */
|
|
4104
|
-
timezone?: string;
|
|
4105
|
-
// W7-후속 (2026-05-12 · iOS Phase 0.5 production wire):
|
|
4106
|
-
// Outbound notification channel settings. Sparse — when `apns`
|
|
4107
|
-
// isn't present or any required field is missing, the daemon
|
|
4108
|
-
// wires the ios-push channel with transport=undefined (resolves
|
|
4109
|
-
// to 'transport-not-configured' if a route attempts to send).
|
|
4110
|
-
// See `src/notifications/outbound-boot.ts` for the boot wire.
|
|
4111
|
-
notifications?: NotificationsConfig;
|
|
4112
|
-
// B 트랙 Phase 2 (RFC-elanous-mcp-client-2026-05-12 · 2026-05-12):
|
|
4113
|
-
// External MCP servers (xcrun mcpbridge · xcodebuildmcp · …)
|
|
4114
|
-
// that the NEXUS boot wire spawns + registers as proxy
|
|
4115
|
-
// ToolRuntimes. Sparse — undefined or empty servers[] = no-op.
|
|
4116
|
-
// See `src/nexus/boot/register-mcp-clients.ts` for the boot wire.
|
|
4117
|
-
mcp?: McpConfig;
|
|
4118
|
-
aside?: AsideConfig;
|
|
4119
|
-
// W9e-FU U5 (2026-05-12) — `background-reasoning.llm.*` drives the
|
|
4120
|
-
// Patcher daemon's LLM callable wire. When omitted, `buildPatcherSubstrate`
|
|
4121
|
-
// surfaces `patcher-llm-deps-missing` and stays dormant. The resolver
|
|
4122
|
-
// (`src/background-reasoning/patcher-llm-resolver.ts`) consumes the
|
|
4123
|
-
// resolved config and produces `entityExtractorCallable` +
|
|
4124
|
-
// `embeddingCallable` via fetch against the OpenAI-compatible endpoint.
|
|
4125
|
-
backgroundReasoning?: BackgroundReasoningConfig;
|
|
4126
|
-
/** §5-③ — autonomous idle-continuation. When `enabled` (default
|
|
4127
|
-
* false) the NEXUS daemon starts a ContinuationScheduler that drives
|
|
4128
|
-
* an active auto-mode goal on idle. Off by default: this ignites
|
|
4129
|
-
* self-firing turns, so it stays opt-in. */
|
|
4130
|
-
dispatch?: { enabled?: boolean };
|
|
4131
|
-
/** next-fluent(태스크 완료 시 다음 액션 1-클릭 칩·2026-07-15). 라우트는 늘 켬.
|
|
4132
|
-
* `personas` 켜면 로컬 LLM 이유 부여(기본 결정론·무비용). */
|
|
4133
|
-
nextFluent?: { personas?: boolean; models?: Record<string, string> };
|
|
4134
|
-
/** Ops Observability P3 — 셀프교정 자율 경계. health check 크론이 이상 감지 시
|
|
4135
|
-
* 자동 개입(재큐/재시작)까지 할지. 기본 disarmed(관측+알림만·HITL). 매매/재부팅은
|
|
4136
|
-
* 이 게이트가 armed 여도 항상 제외. 대표 결정 전까지 undefined=false. */
|
|
4137
|
-
ops?: { selfHeal?: { armed?: boolean }; cronRepoRoot?: string };
|
|
4138
|
-
/** 승인 뒤 조율 채널 페이즈 배달(기본 OFF) 및 트랙 에이전트(기본 OFF, 최대 동시 2개). */
|
|
4139
|
-
autopilot?: {
|
|
4140
|
-
trackCourier?: { enabled?: boolean; channelPr?: number; handoffMinutes?: number };
|
|
4141
|
-
trackAgent?: { enabled: boolean; maxConcurrent: number; shadow: boolean; shadowMaxDecisionsPerDay: number };
|
|
4142
|
-
};
|
|
4143
|
-
/** 하니스 예산 게이트 설정. 판정은 P15 — 여기선 칸만 싣는다. 파서는 항상 기본을 채운다.
|
|
4144
|
-
* 선택이다 — 기존 UserConfig 리터럴이 이 칸 없이 컴파일되게 한다. 해석기는 없으면 기본을 쓴다.
|
|
4145
|
-
* 타입 칸은 위 `harness.budgetGate` 한 곳이다(중복 선언 금지). */
|
|
4146
|
-
/** 그라운딩 출처 레지스트리. 잘못된 항목은 경고와 함께 건너뛴다. 없으면 빈 목록. */
|
|
4147
|
-
grounding?: GroundingConfig;
|
|
4148
|
-
raw: Record<string, unknown>;
|
|
4149
|
-
// Phase 2 (PLAN-config-unification-elanous-root-2026-05-10):
|
|
4150
|
-
// NEXUS schema co-resident at root of `~/.elanous/config.json`.
|
|
4151
|
-
// Read by `src/nexus/config/user-config.ts:readUserConfig` for daemon
|
|
4152
|
-
// state · exposed here so `elanous config get/set global.nexus.*` and
|
|
4153
|
-
// `tabs.<id>.*` resolve through the same dotted-path resolver as
|
|
4154
|
-
// Path A keys (llm.provider · skillRouter.* · etc.). Type 'version'
|
|
4155
|
-
// matches the on-disk key — there is no Path A collision.
|
|
4156
|
-
version?: number;
|
|
4157
|
-
global?: Record<string, unknown>;
|
|
4158
|
-
tabs?: Record<string, Record<string, unknown>>;
|
|
4159
|
-
}
|
|
4160
|
-
|
|
4161
1995
|
function parseRoleModelConfig(raw: unknown): RoleModelConfig | undefined {
|
|
4162
1996
|
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) return undefined;
|
|
4163
1997
|
const values = raw as Record<string, unknown>;
|
|
@@ -4363,12 +2197,28 @@ function parseGuardianConfig(raw: unknown): UserConfig['guardian'] {
|
|
|
4363
2197
|
warnUserConfigDrop('guardian', '섹션이 객체가 아니다 — 버림');
|
|
4364
2198
|
return undefined;
|
|
4365
2199
|
}
|
|
4366
|
-
const { mode, orphanGc } = raw as Record<string, unknown>;
|
|
2200
|
+
const { mode, orphanGc, trainWorkerPolicy } = raw as Record<string, unknown>;
|
|
4367
2201
|
const out: NonNullable<UserConfig['guardian']> = {};
|
|
4368
2202
|
if (mode === 'shadow' || mode === 'live') out.mode = mode;
|
|
4369
2203
|
else if (mode !== undefined) warnUserConfigDrop('guardian.mode', 'shadow 또는 live 가 아니다 — 버림');
|
|
4370
2204
|
if (orphanGc === 'off' || orphanGc === 'shadow' || orphanGc === 'on') out.orphanGc = orphanGc;
|
|
4371
2205
|
else if (orphanGc !== undefined) warnUserConfigDrop('guardian.orphanGc', `off|shadow|on 이 아니다(${JSON.stringify(orphanGc)}) — 버리고 shadow 로 진행`);
|
|
2206
|
+
if (trainWorkerPolicy !== undefined) {
|
|
2207
|
+
const policy = trainWorkerPolicy as Record<string, unknown>;
|
|
2208
|
+
if (policy && typeof policy === 'object' && !Array.isArray(policy)
|
|
2209
|
+
&& Number.isSafeInteger(policy.minWorkers) && Number(policy.minWorkers) >= 0
|
|
2210
|
+
&& Number.isSafeInteger(policy.maxWorkers) && Number(policy.maxWorkers) >= Number(policy.minWorkers)
|
|
2211
|
+
&& Number.isFinite(policy.scaleDownCpuPercent) && Number(policy.scaleDownCpuPercent) >= 0 && Number(policy.scaleDownCpuPercent) <= 100
|
|
2212
|
+
&& Number.isFinite(policy.scaleUpCpuPercent) && Number(policy.scaleUpCpuPercent) >= 0 && Number(policy.scaleUpCpuPercent) <= 100
|
|
2213
|
+
&& Number(policy.scaleUpCpuPercent) < Number(policy.scaleDownCpuPercent)
|
|
2214
|
+
&& Number.isSafeInteger(policy.gateReserveWorkers) && Number(policy.gateReserveWorkers) >= 0) {
|
|
2215
|
+
out.trainWorkerPolicy = {
|
|
2216
|
+
minWorkers: Number(policy.minWorkers), maxWorkers: Number(policy.maxWorkers),
|
|
2217
|
+
scaleDownCpuPercent: Number(policy.scaleDownCpuPercent), scaleUpCpuPercent: Number(policy.scaleUpCpuPercent),
|
|
2218
|
+
gateReserveWorkers: Number(policy.gateReserveWorkers),
|
|
2219
|
+
};
|
|
2220
|
+
} else warnUserConfigDrop('guardian.trainWorkerPolicy', 'worker policy fields are invalid — ignored');
|
|
2221
|
+
}
|
|
4372
2222
|
return Object.keys(out).length > 0 ? out : undefined;
|
|
4373
2223
|
}
|
|
4374
2224
|
|
|
@@ -4500,31 +2350,13 @@ function defaultConfig(): UserConfig {
|
|
|
4500
2350
|
debug: { ...DEBUG_DEFAULTS },
|
|
4501
2351
|
logs: { retention: { ...LOGS_DEFAULTS.retention } },
|
|
4502
2352
|
shell: { ...SHELL_DEFAULTS },
|
|
4503
|
-
chat:
|
|
4504
|
-
factQuestion: { ...CHAT_DEFAULTS.factQuestion },
|
|
4505
|
-
fastPath: CHAT_DEFAULTS.fastPath,
|
|
4506
|
-
conciseness: { ...CHAT_CONCISENESS_DEFAULTS },
|
|
4507
|
-
toolOutput: { ...CHAT_DEFAULTS.toolOutput },
|
|
4508
|
-
autoCompact: { ...CHAT_DEFAULTS.autoCompact },
|
|
4509
|
-
compact: { ...CHAT_DEFAULTS.compact },
|
|
4510
|
-
autoCopyQaToClipboard: CHAT_DEFAULTS.autoCopyQaToClipboard,
|
|
4511
|
-
systemPrompt: { ...CHAT_DEFAULTS.systemPrompt },
|
|
4512
|
-
toolDeny: [],
|
|
4513
|
-
rendering: {
|
|
4514
|
-
streaming: { ...CHAT_DEFAULTS.rendering.streaming },
|
|
4515
|
-
wrap: { ...CHAT_DEFAULTS.rendering.wrap },
|
|
4516
|
-
tool: { ...CHAT_DEFAULTS.rendering.tool },
|
|
4517
|
-
diff: { ...CHAT_DEFAULTS.rendering.diff },
|
|
4518
|
-
hud: { ...CHAT_DEFAULTS.rendering.hud },
|
|
4519
|
-
},
|
|
4520
|
-
},
|
|
2353
|
+
chat: parseChatConfig(undefined),
|
|
4521
2354
|
voice: { stt: {}, tts: {}, vad: {}, chat: {}, discord: {}, telegram: {}, pwa: {} },
|
|
4522
2355
|
intake: { eventMax: 10, telegram: {}, discord: {} },
|
|
4523
2356
|
dashboard: {
|
|
4524
2357
|
promptBank: { ...DASHBOARD_PROMPT_BANK_DEFAULTS },
|
|
4525
2358
|
foldMode: 'task-unit',
|
|
4526
2359
|
enableVirtualWindowSwitchKeys: false,
|
|
4527
|
-
enableSupplementalGlobalKeys: false,
|
|
4528
2360
|
},
|
|
4529
2361
|
vw: {
|
|
4530
2362
|
windowNames: {},
|
|
@@ -4539,7 +2371,7 @@ function defaultConfig(): UserConfig {
|
|
|
4539
2371
|
iulForegroundOnStartup: false,
|
|
4540
2372
|
order: [...VW_ORDER_DEFAULT],
|
|
4541
2373
|
},
|
|
4542
|
-
acp: { hopCap: { ...ACP_DEFAULTS.hopCap }, toolApproval: { timeoutMs: acpApprovalTimeoutEnv() ?? ACP_DEFAULTS.toolApproval.timeoutMs }
|
|
2374
|
+
acp: { hopCap: { ...ACP_DEFAULTS.hopCap }, toolApproval: { timeoutMs: acpApprovalTimeoutEnv() ?? ACP_DEFAULTS.toolApproval.timeoutMs } },
|
|
4543
2375
|
lsp: cloneLspDefaults(),
|
|
4544
2376
|
plan: { ...PLAN_DEFAULTS },
|
|
4545
2377
|
goals: { ...GOALS_DEFAULTS },
|
|
@@ -4563,63 +2395,11 @@ function defaultConfig(): UserConfig {
|
|
|
4563
2395
|
};
|
|
4564
2396
|
}
|
|
4565
2397
|
|
|
4566
|
-
let cache: UserConfig | null = null;
|
|
4567
|
-
let cachedPath: string | null = null;
|
|
4568
2398
|
// Phase 4 (PLAN-config-unification-elanous-root-2026-05-10):
|
|
4569
2399
|
// Cache invalidation across modules / processes that share the unified
|
|
4570
2400
|
// `~/.elanous/config.json`. NEXUS daemon's `patchUserConfig` (Path B
|
|
4571
2401
|
// writer) atomically renames the file behind us; without an mtime
|
|
4572
2402
|
// check the in-memory cache here would keep serving stale state.
|
|
4573
|
-
let cachedMtimeMs: number | null = null;
|
|
4574
|
-
|
|
4575
|
-
// Config overlay — a pure transform applied to EVERY resolved config
|
|
4576
|
-
// (cache-hit returns the already-overlaid object; every rebuild re-applies
|
|
4577
|
-
// it). null in production = zero behavior change. `nexus run --test`
|
|
4578
|
-
// [ISO-2 · 2026-07-13 은퇴] 종전에는 test-state-dir-flag.ts 가
|
|
4579
|
-
// `buildTestSafeDaemonConfig` 를 여기 걸어 격리 테스트 데몬의 아웃바운드를
|
|
4580
|
-
// in-memory 로 가렸다. overlay 뷰가 디스크에 박제되는 오염 사건(#4029) 후
|
|
4581
|
-
// config 완전 격리(물질화 사본 + `elanous config sync-test`)로 대체 — 이제
|
|
4582
|
-
// 프로덕션 설치 지점은 없다. 메커니즘은 테스트 주입용으로만 남긴다.
|
|
4583
|
-
let configOverlay: ((c: UserConfig) => UserConfig) | null = null;
|
|
4584
|
-
|
|
4585
|
-
/** Install (or clear with null) the global config overlay. Resets the cache
|
|
4586
|
-
* so the next getUserConfig() rebuilds through the new overlay. */
|
|
4587
|
-
export function setUserConfigOverlay(fn: ((c: UserConfig) => UserConfig) | null): void {
|
|
4588
|
-
configOverlay = fn;
|
|
4589
|
-
resetUserConfig();
|
|
4590
|
-
}
|
|
4591
|
-
|
|
4592
|
-
function applyOverlay(cfg: UserConfig): UserConfig {
|
|
4593
|
-
return configOverlay ? configOverlay(cfg) : cfg;
|
|
4594
|
-
}
|
|
4595
|
-
|
|
4596
|
-
/** test-safe 변환 정책의 원전(pure). [ISO-2] 이제 overlay 로 걸리지 않고
|
|
4597
|
-
* `elanous config sync-test`(config-test-sync.ts 의 raw 동형 변환)가 물질화
|
|
4598
|
-
* 시점에 같은 정책을 적용한다 — 파리티 테스트가 두 구현의 의미론 일치를
|
|
4599
|
-
* 고정. Telegram: test token 스왑(없으면 off) + 운영 아웃바운드 경로
|
|
4600
|
-
* (report/home/channels) 제거. Discord: off. */
|
|
4601
|
-
export function buildTestSafeDaemonConfig(cfg: UserConfig): UserConfig {
|
|
4602
|
-
const testToken = cfg.telegram.testChannel?.botToken?.trim();
|
|
4603
|
-
const testAllow = cfg.telegram.testChannel?.allowedUsers;
|
|
4604
|
-
const telegram: TelegramConfig = testToken
|
|
4605
|
-
? {
|
|
4606
|
-
...cfg.telegram,
|
|
4607
|
-
botToken: testToken,
|
|
4608
|
-
allowedUsers: testAllow && testAllow.length > 0 ? testAllow : cfg.telegram.allowedUsers,
|
|
4609
|
-
reportChannel: undefined,
|
|
4610
|
-
homeChannel: undefined,
|
|
4611
|
-
channels: undefined,
|
|
4612
|
-
}
|
|
4613
|
-
: {
|
|
4614
|
-
...cfg.telegram,
|
|
4615
|
-
enabled: false,
|
|
4616
|
-
reportChannel: undefined,
|
|
4617
|
-
homeChannel: undefined,
|
|
4618
|
-
channels: undefined,
|
|
4619
|
-
};
|
|
4620
|
-
return { ...cfg, telegram, discord: { ...cfg.discord, enabled: false } };
|
|
4621
|
-
}
|
|
4622
|
-
|
|
4623
2403
|
function readMtimeMsOrNull(path: string): number | null {
|
|
4624
2404
|
try { return statSync(path).mtimeMs; }
|
|
4625
2405
|
catch { return null; }
|
|
@@ -4762,6 +2542,7 @@ function defaultModelForProvider(provider: LLMProviderName): string | undefined
|
|
|
4762
2542
|
// 실측: Pod 에 `ELANOUS_LLM_PROVIDER=openai-codex` 만 주자 `Codex API 400: The 'gpt-4o-mini' model is
|
|
4763
2543
|
// not supported when using Codex with a ChatGPT account.` 로 첫 호출에서 죽었다. ⇒ CODEX 사다리에서 파생.
|
|
4764
2544
|
case 'openai-codex': return lookupLlmTierSpec('openai-codex', 'balanced').model;
|
|
2545
|
+
case 'hq-proxy': return lookupLlmTierSpec('openai-codex', 'balanced').model;
|
|
4765
2546
|
case 'anthropic': return ANTHROPIC_MODEL;
|
|
4766
2547
|
case 'local': return LOCAL_LLM_MODEL;
|
|
4767
2548
|
case 'gemini': return GEMINI_MODEL;
|
|
@@ -4835,15 +2616,6 @@ function defaultConfigWithRuntimeProvider(): UserConfig {
|
|
|
4835
2616
|
return cfg;
|
|
4836
2617
|
}
|
|
4837
2618
|
|
|
4838
|
-
/** 설정에서 «졸업»하거나 죽어서 더는 읽지 않는 키. 설정 파일에 남아 있으면 로더는 값을 쓰지 않고
|
|
4839
|
-
* 관측 한 줄(프로세스당 한 번)과 `elanous doctor` 한 줄로 알린다 — 조용히 무시하지 않는다(설정 졸업 원칙 2). */
|
|
4840
|
-
export interface RetiredConfigKey {
|
|
4841
|
-
/** 점 경로(예: `tools.selfImplement.decompositionShadow`). */
|
|
4842
|
-
readonly path: string;
|
|
4843
|
-
/** 사람이 읽는 사유·대체 한 문장. */
|
|
4844
|
-
readonly reason: string;
|
|
4845
|
-
}
|
|
4846
|
-
|
|
4847
2619
|
export const RETIRED_CONFIG_KEYS: readonly RetiredConfigKey[] = [
|
|
4848
2620
|
{ path: 'tools.selfImplement.decompositionShadow', reason: '읽는 곳이 없다 — 지워도 된다 (2026-09-24 설정 졸업)' },
|
|
4849
2621
|
{ path: 'tools.selfImplement.autoStop.enabled', reason: '기본 켬으로 졸업 — 지워도 된다 · 조율은 minRung (2026-09-24)' },
|
|
@@ -5115,15 +2887,8 @@ function parseOutboundConfig(raw: unknown): UserConfig['outbound'] {
|
|
|
5115
2887
|
}
|
|
5116
2888
|
|
|
5117
2889
|
export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
try {
|
|
5121
|
-
raw = JSON.parse(readFileSync(path, 'utf-8'));
|
|
5122
|
-
} catch {
|
|
5123
|
-
return defaultConfigWithRuntimeProvider();
|
|
5124
|
-
}
|
|
5125
|
-
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) return defaultConfigWithRuntimeProvider();
|
|
5126
|
-
const rawObj = raw as Record<string, unknown>;
|
|
2890
|
+
const rawObj = readUserConfigObject(path);
|
|
2891
|
+
if (!rawObj) return defaultConfigWithRuntimeProvider();
|
|
5127
2892
|
observeRetiredConfigKeysOnce(rawObj);
|
|
5128
2893
|
const harness = rawObj.harness && typeof rawObj.harness === 'object' && !Array.isArray(rawObj.harness) ? rawObj.harness as Record<string, unknown> : {};
|
|
5129
2894
|
const harnessPod = harness.pod && typeof harness.pod === 'object' && !Array.isArray(harness.pod) ? harness.pod as Record<string, unknown> : {};
|
|
@@ -5168,19 +2933,6 @@ export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
|
5168
2933
|
const dbg = (rawObj.debug ?? {}) as Record<string, unknown>;
|
|
5169
2934
|
const logsRaw = (rawObj.logs ?? {}) as Record<string, unknown>;
|
|
5170
2935
|
const sh = (rawObj.shell ?? {}) as Record<string, unknown>;
|
|
5171
|
-
const chat = (rawObj.chat ?? {}) as Record<string, unknown>;
|
|
5172
|
-
const chatFactQuestion = (chat.factQuestion && typeof chat.factQuestion === 'object' && !Array.isArray(chat.factQuestion))
|
|
5173
|
-
? chat.factQuestion as Record<string, unknown> : {};
|
|
5174
|
-
const chatConciseness = (chat.conciseness ?? {}) as Record<string, unknown>;
|
|
5175
|
-
const chatToolOutput = (chat.toolOutput ?? {}) as Record<string, unknown>;
|
|
5176
|
-
const chatAutoCompact = (chat.autoCompact ?? {}) as Record<string, unknown>;
|
|
5177
|
-
const chatCompact = (chat.compact ?? {}) as Record<string, unknown>;
|
|
5178
|
-
const chatSystemPrompt = (chat.systemPrompt ?? {}) as Record<string, unknown>;
|
|
5179
|
-
const chatRendering = (chat.rendering ?? {}) as Record<string, unknown>;
|
|
5180
|
-
const chatRenderingStreaming = (chatRendering.streaming ?? {}) as Record<string, unknown>;
|
|
5181
|
-
const chatRenderingWrap = (chatRendering.wrap ?? {}) as Record<string, unknown>;
|
|
5182
|
-
const chatRenderingDiff = (chatRendering.diff ?? {}) as Record<string, unknown>;
|
|
5183
|
-
const chatRenderingHud = (chatRendering.hud ?? {}) as Record<string, unknown>;
|
|
5184
2936
|
const voice = (rawObj.voice ?? {}) as Record<string, unknown>;
|
|
5185
2937
|
const voiceStt = (voice.stt ?? {}) as Record<string, unknown>;
|
|
5186
2938
|
const voiceTts = (voice.tts ?? {}) as Record<string, unknown>;
|
|
@@ -5235,15 +2987,19 @@ export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
|
5235
2987
|
|
|
5236
2988
|
const nexus = rawObj.nexus && typeof rawObj.nexus === 'object' && !Array.isArray(rawObj.nexus)
|
|
5237
2989
|
? rawObj.nexus as Record<string, unknown> : {};
|
|
5238
|
-
const
|
|
2990
|
+
const rawTui = rawObj.tui && typeof rawObj.tui === 'object' && !Array.isArray(rawObj.tui)
|
|
2991
|
+
? rawObj.tui as Record<string, unknown> : {};
|
|
2992
|
+
const rawTuiNext = rawTui.next && typeof rawTui.next === 'object' && !Array.isArray(rawTui.next)
|
|
2993
|
+
? rawTui.next as Record<string, unknown> : {};
|
|
2994
|
+
const compactHeight = rawTuiNext.compactHeight;
|
|
5239
2995
|
const gateRemoteConfig = parseGateRemoteConfig(rawObj.gateRemote);
|
|
5240
2996
|
const projects = parseProjectsConfig(rawObj.projects);
|
|
5241
2997
|
const outboundConfig = parseOutboundConfig(rawObj.outbound);
|
|
5242
2998
|
const config: UserConfig = {
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
...(typeof
|
|
5246
|
-
|
|
2999
|
+
// Legacy TUI preferences remain retired; the next compact height is a new explicit setting.
|
|
3000
|
+
tui: { sidetab: 'collapsed',
|
|
3001
|
+
...(typeof compactHeight === 'number' && Number.isInteger(compactHeight) && compactHeight >= 8 && compactHeight <= 100
|
|
3002
|
+
? { next: { compactHeight } } : {}) },
|
|
5247
3003
|
...(projects ? { projects } : {}),
|
|
5248
3004
|
...(rawObj.starter && typeof rawObj.starter === 'object' && !Array.isArray(rawObj.starter)
|
|
5249
3005
|
&& Array.isArray((rawObj.starter as Record<string, unknown>).topics)
|
|
@@ -5251,7 +3007,20 @@ export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
|
5251
3007
|
...(rawObj.watch && typeof rawObj.watch === 'object' && !Array.isArray(rawObj.watch)
|
|
5252
3008
|
&& typeof (rawObj.watch as Record<string, unknown>).enabled === 'boolean'
|
|
5253
3009
|
? { watch: { enabled: (rawObj.watch as { enabled: boolean }).enabled } } : {}),
|
|
5254
|
-
nexus: {
|
|
3010
|
+
nexus: {
|
|
3011
|
+
demoMode: nexus.demoMode === true,
|
|
3012
|
+
...(nexus.relay && typeof nexus.relay === 'object' && !Array.isArray(nexus.relay)
|
|
3013
|
+
? (() => {
|
|
3014
|
+
const relay = nexus.relay as Record<string, unknown>;
|
|
3015
|
+
const parsed = {
|
|
3016
|
+
...(typeof relay.enabled === 'boolean' ? { enabled: relay.enabled } : {}),
|
|
3017
|
+
...(typeof relay.url === 'string' && relay.url.trim() ? { url: relay.url.trim() } : {}),
|
|
3018
|
+
...(typeof relay.identityFile === 'string' && relay.identityFile.trim() ? { identityFile: relay.identityFile.trim() } : {}),
|
|
3019
|
+
};
|
|
3020
|
+
return Object.keys(parsed).length ? { relay: parsed } : {};
|
|
3021
|
+
})()
|
|
3022
|
+
: {}),
|
|
3023
|
+
},
|
|
5255
3024
|
...(Object.keys(seatBudgets).length ? { org: { budget: seatBudgets } } : {}),
|
|
5256
3025
|
pod: {
|
|
5257
3026
|
...(typeof legacyPod.pool === 'string' && legacyPod.pool.trim() ? { pool: legacyPod.pool.trim() } : {}),
|
|
@@ -5273,6 +3042,7 @@ export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
|
5273
3042
|
? (legacyPod.warmReuse as Record<string, unknown>) : {};
|
|
5274
3043
|
return {
|
|
5275
3044
|
gateRecheck: warm.gateRecheck === true,
|
|
3045
|
+
gateShardExecution: warm.gateShardExecution !== false,
|
|
5276
3046
|
land: warm.land === true,
|
|
5277
3047
|
ta: warm.ta === true,
|
|
5278
3048
|
minMatchSamples: typeof warm.minMatchSamples === 'number' && Number.isSafeInteger(warm.minMatchSamples) && warm.minMatchSamples > 0
|
|
@@ -5326,6 +3096,9 @@ export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
|
5326
3096
|
warnUserConfigDrop('harness.imageCommit', `커밋 hex 12~40자리가 아니다(${JSON.stringify(harness.imageCommit)}) — 무시하고 HEAD 비교·굽기로 진행`);
|
|
5327
3097
|
return {};
|
|
5328
3098
|
})(),
|
|
3099
|
+
...(typeof harness.registryTagKeep === 'number' && Number.isSafeInteger(harness.registryTagKeep)
|
|
3100
|
+
&& harness.registryTagKeep > 0 && harness.registryTagKeep <= 100
|
|
3101
|
+
? { registryTagKeep: harness.registryTagKeep } : {}),
|
|
5329
3102
|
...(typeof harness.worktreeAddTimeoutSec === 'number' && Number.isSafeInteger(harness.worktreeAddTimeoutSec)
|
|
5330
3103
|
&& harness.worktreeAddTimeoutSec > 0 && harness.worktreeAddTimeoutSec <= 2_147_483
|
|
5331
3104
|
? { worktreeAddTimeoutSec: harness.worktreeAddTimeoutSec } : {}),
|
|
@@ -5496,7 +3269,6 @@ export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
|
5496
3269
|
reviewFallbackModels: Array.isArray(llm.reviewFallbackModels)
|
|
5497
3270
|
? llm.reviewFallbackModels.filter((s: unknown): s is string => typeof s === 'string')
|
|
5498
3271
|
: undefined,
|
|
5499
|
-
codexStore: llm.codexStore === false ? false : undefined,
|
|
5500
3272
|
geminiSafety: llm.geminiSafety === 'permissive' || llm.geminiSafety === 'strict'
|
|
5501
3273
|
? llm.geminiSafety
|
|
5502
3274
|
: (llm.geminiSafety === 'default' ? 'default' : undefined),
|
|
@@ -5508,10 +3280,12 @@ export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
|
5508
3280
|
autoRoute: parseAutoRoute(llm.autoRoute),
|
|
5509
3281
|
},
|
|
5510
3282
|
skills: {
|
|
5511
|
-
|
|
3283
|
+
// Sparse saves omit the default preset. A present config must resolve
|
|
3284
|
+
// that omission exactly like an absent config, while invalid explicit
|
|
3285
|
+
// values still use normalizeSkillSet's legacy opencode fallback.
|
|
3286
|
+
activeSet: sk.activeSet === undefined ? skillsDefaults().activeSet : normalizeSkillSet(sk.activeSet),
|
|
5512
3287
|
dirs: strArray(sk.dirs, skillsDefaults().dirs),
|
|
5513
3288
|
giftEndpoint: str(sk.giftEndpoint) ?? 'https://elanous.ai',
|
|
5514
|
-
includeSharedAgentSkills: sk.includeSharedAgentSkills !== false,
|
|
5515
3289
|
...(() => { const sources = parsePersistedSkillSources(sk.sources, sk.connected); return sources ? { sources } : {}; })(),
|
|
5516
3290
|
allow: strArray(sk.allow, []),
|
|
5517
3291
|
deny: strArray(sk.deny, []),
|
|
@@ -5558,8 +3332,6 @@ export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
|
5558
3332
|
},
|
|
5559
3333
|
finance: {
|
|
5560
3334
|
enabled: fin.enabled === true,
|
|
5561
|
-
morningNarrative: fin.morningNarrative !== false,
|
|
5562
|
-
morningHeatmapImage: fin.morningHeatmapImage !== false,
|
|
5563
3335
|
autoLoop: {
|
|
5564
3336
|
enabled: ((fin.autoLoop ?? {}) as Record<string, unknown>).enabled === true,
|
|
5565
3337
|
maxPerScan: Math.max(1, Math.min(Number(((fin.autoLoop ?? {}) as Record<string, unknown>).maxPerScan ?? 2) || 2, 5)),
|
|
@@ -5636,190 +3408,13 @@ export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
|
5636
3408
|
// true value = off.
|
|
5637
3409
|
allowDashboardPty: sh.allowDashboardPty === true,
|
|
5638
3410
|
allowDashboardBash: sh.allowDashboardBash === true,
|
|
3411
|
+
bashApproval: parseBashApprovalMode(sh.bashApproval),
|
|
5639
3412
|
allowDashboardTerminalInject: sh.allowDashboardTerminalInject === true,
|
|
5640
3413
|
allowDashboardApiCall: sh.allowDashboardApiCall === true,
|
|
5641
3414
|
allowDashboardRunShell: sh.allowDashboardRunShell === true,
|
|
5642
|
-
// State tool defaults ON — explicit false required to hide.
|
|
5643
|
-
allowDashboardState: sh.allowDashboardState !== false,
|
|
5644
|
-
// Umbrella optional-tools kill-switch defaults ON — explicit
|
|
5645
|
-
// false required to short-circuit `buildDashboardOptionalToolSpecs`.
|
|
5646
|
-
allowDashboardOptionalTools: sh.allowDashboardOptionalTools !== false,
|
|
5647
3415
|
},
|
|
5648
3416
|
...((): { errorReports?: ErrorReportsConfig } => { const er = parseErrorReportsConfig(rawObj.errorReports); return er ? { errorReports: er } : {}; })(),
|
|
5649
|
-
chat:
|
|
5650
|
-
factQuestion: {
|
|
5651
|
-
maxToolTurns: typeof chatFactQuestion.maxToolTurns === 'number'
|
|
5652
|
-
&& Number.isSafeInteger(chatFactQuestion.maxToolTurns) && chatFactQuestion.maxToolTurns > 0
|
|
5653
|
-
? chatFactQuestion.maxToolTurns : CHAT_DEFAULTS.factQuestion.maxToolTurns,
|
|
5654
|
-
},
|
|
5655
|
-
...((): { seatTurnCap?: Partial<SeatTurnCapConfig> } => { const c = parseSeatTurnCapConfig(chat.seatTurnCap); return c ? { seatTurnCap: c } : {}; })(),
|
|
5656
|
-
fastPath: chat.fastPath === false || chat.fastPath === 'false' ? false : CHAT_DEFAULTS.fastPath,
|
|
5657
|
-
conciseness: {
|
|
5658
|
-
enabled: chatConciseness.enabled === false ? false : CHAT_CONCISENESS_DEFAULTS.enabled,
|
|
5659
|
-
finalMessageMaxLines: clampNum(
|
|
5660
|
-
chatConciseness.finalMessageMaxLines,
|
|
5661
|
-
CHAT_CONCISENESS_DEFAULTS.finalMessageMaxLines,
|
|
5662
|
-
1,
|
|
5663
|
-
100,
|
|
5664
|
-
),
|
|
5665
|
-
preambleMaxWords: clampNum(
|
|
5666
|
-
chatConciseness.preambleMaxWords,
|
|
5667
|
-
CHAT_CONCISENESS_DEFAULTS.preambleMaxWords,
|
|
5668
|
-
1,
|
|
5669
|
-
50,
|
|
5670
|
-
),
|
|
5671
|
-
flatBullets: chatConciseness.flatBullets === false ? false : CHAT_CONCISENESS_DEFAULTS.flatBullets,
|
|
5672
|
-
},
|
|
5673
|
-
toolOutput: {
|
|
5674
|
-
persistOnOverflow: chatToolOutput.persistOnOverflow === false ? false : CHAT_DEFAULTS.toolOutput.persistOnOverflow,
|
|
5675
|
-
retentionDays: clampNum(
|
|
5676
|
-
chatToolOutput.retentionDays,
|
|
5677
|
-
CHAT_DEFAULTS.toolOutput.retentionDays,
|
|
5678
|
-
1,
|
|
5679
|
-
365,
|
|
5680
|
-
),
|
|
5681
|
-
previewLines: clampNum(
|
|
5682
|
-
chatToolOutput.previewLines,
|
|
5683
|
-
CHAT_DEFAULTS.toolOutput.previewLines,
|
|
5684
|
-
1,
|
|
5685
|
-
500,
|
|
5686
|
-
),
|
|
5687
|
-
},
|
|
5688
|
-
autoCompact: {
|
|
5689
|
-
enabled: chatAutoCompact.enabled === false ? false : CHAT_DEFAULTS.autoCompact.enabled,
|
|
5690
|
-
triggerRatio: clampNum(
|
|
5691
|
-
chatAutoCompact.triggerRatio,
|
|
5692
|
-
CHAT_DEFAULTS.autoCompact.triggerRatio,
|
|
5693
|
-
0.5,
|
|
5694
|
-
0.99,
|
|
5695
|
-
),
|
|
5696
|
-
preserveLastN: clampNum(
|
|
5697
|
-
chatAutoCompact.preserveLastN,
|
|
5698
|
-
CHAT_DEFAULTS.autoCompact.preserveLastN,
|
|
5699
|
-
0,
|
|
5700
|
-
100,
|
|
5701
|
-
),
|
|
5702
|
-
preserveFirstN: clampNum(
|
|
5703
|
-
chatAutoCompact.preserveFirstN,
|
|
5704
|
-
CHAT_DEFAULTS.autoCompact.preserveFirstN,
|
|
5705
|
-
0,
|
|
5706
|
-
100,
|
|
5707
|
-
),
|
|
5708
|
-
partial: chatAutoCompact.partial === false ? false : CHAT_DEFAULTS.autoCompact.partial,
|
|
5709
|
-
workingBudgetTokens: positiveIntOr(
|
|
5710
|
-
chatAutoCompact.workingBudgetTokens,
|
|
5711
|
-
CHAT_DEFAULTS.autoCompact.workingBudgetTokens,
|
|
5712
|
-
),
|
|
5713
|
-
},
|
|
5714
|
-
compact: {
|
|
5715
|
-
verifyProbe: chatCompact.verifyProbe === true,
|
|
5716
|
-
archiveEnabled: chatCompact.archiveEnabled === false ? false : CHAT_DEFAULTS.compact.archiveEnabled,
|
|
5717
|
-
archiveRetentionDays: clampNum(
|
|
5718
|
-
chatCompact.archiveRetentionDays,
|
|
5719
|
-
CHAT_DEFAULTS.compact.archiveRetentionDays,
|
|
5720
|
-
0,
|
|
5721
|
-
365,
|
|
5722
|
-
),
|
|
5723
|
-
archiveRetentionMb: clampNum(
|
|
5724
|
-
chatCompact.archiveRetentionMb,
|
|
5725
|
-
CHAT_DEFAULTS.compact.archiveRetentionMb,
|
|
5726
|
-
0,
|
|
5727
|
-
10_000,
|
|
5728
|
-
),
|
|
5729
|
-
},
|
|
5730
|
-
autoCopyQaToClipboard:
|
|
5731
|
-
chat.autoCopyQaToClipboard === true
|
|
5732
|
-
? true
|
|
5733
|
-
: CHAT_DEFAULTS.autoCopyQaToClipboard,
|
|
5734
|
-
// Wave 8 — toolDeny: accept readonly string[] from raw config,
|
|
5735
|
-
// filter to non-empty strings, dedupe. No clamp on length —
|
|
5736
|
-
// the catalog has ~150 tools, blocking ~10 is reasonable.
|
|
5737
|
-
toolDeny: (() => {
|
|
5738
|
-
const raw = (chat as { toolDeny?: unknown }).toolDeny;
|
|
5739
|
-
if (!Array.isArray(raw)) return [];
|
|
5740
|
-
const cleaned: string[] = [];
|
|
5741
|
-
const seen = new Set<string>();
|
|
5742
|
-
for (const item of raw) {
|
|
5743
|
-
if (typeof item !== 'string') continue;
|
|
5744
|
-
const trimmed = item.trim();
|
|
5745
|
-
if (trimmed.length === 0) continue;
|
|
5746
|
-
if (seen.has(trimmed)) continue;
|
|
5747
|
-
seen.add(trimmed);
|
|
5748
|
-
cleaned.push(trimmed);
|
|
5749
|
-
}
|
|
5750
|
-
return cleaned;
|
|
5751
|
-
})(),
|
|
5752
|
-
systemPrompt: {
|
|
5753
|
-
overridePath: str(chatSystemPrompt.overridePath),
|
|
5754
|
-
taskVariant: str(chatSystemPrompt.taskVariant) ?? CHAT_DEFAULTS.systemPrompt.taskVariant,
|
|
5755
|
-
forceBuiltinVariant: (() => {
|
|
5756
|
-
const raw = str(chatSystemPrompt.forceBuiltinVariant)?.toLowerCase();
|
|
5757
|
-
return raw === 'gpt' || raw === 'codex' || raw === 'claude' || raw === 'local'
|
|
5758
|
-
? raw
|
|
5759
|
-
: CHAT_DEFAULTS.systemPrompt.forceBuiltinVariant;
|
|
5760
|
-
})(),
|
|
5761
|
-
},
|
|
5762
|
-
rendering: {
|
|
5763
|
-
streaming: {
|
|
5764
|
-
mode: normalizeChatRenderingStreamingMode(chatRenderingStreaming.mode),
|
|
5765
|
-
catchUpThresholdLines: clampNum(
|
|
5766
|
-
chatRenderingStreaming.catchUpThresholdLines,
|
|
5767
|
-
CHAT_DEFAULTS.rendering.streaming.catchUpThresholdLines,
|
|
5768
|
-
1,
|
|
5769
|
-
1000,
|
|
5770
|
-
),
|
|
5771
|
-
catchUpAgeMs: clampNum(
|
|
5772
|
-
chatRenderingStreaming.catchUpAgeMs,
|
|
5773
|
-
CHAT_DEFAULTS.rendering.streaming.catchUpAgeMs,
|
|
5774
|
-
1,
|
|
5775
|
-
10_000,
|
|
5776
|
-
),
|
|
5777
|
-
},
|
|
5778
|
-
wrap: {
|
|
5779
|
-
urlAware: chatRenderingWrap.urlAware === true,
|
|
5780
|
-
},
|
|
5781
|
-
tool: {
|
|
5782
|
-
displayMode: normalizeChatRenderingToolDisplayMode(
|
|
5783
|
-
chatRendering && typeof (chatRendering as Record<string, unknown>).tool === 'object'
|
|
5784
|
-
? ((chatRendering as Record<string, unknown>).tool as Record<string, unknown>).displayMode
|
|
5785
|
-
: undefined,
|
|
5786
|
-
),
|
|
5787
|
-
blockMaxLines: clampNum(
|
|
5788
|
-
chatRendering && typeof (chatRendering as Record<string, unknown>).tool === 'object'
|
|
5789
|
-
? ((chatRendering as Record<string, unknown>).tool as Record<string, unknown>).blockMaxLines
|
|
5790
|
-
: undefined,
|
|
5791
|
-
CHAT_DEFAULTS.rendering.tool.blockMaxLines,
|
|
5792
|
-
1,
|
|
5793
|
-
200,
|
|
5794
|
-
),
|
|
5795
|
-
},
|
|
5796
|
-
diff: {
|
|
5797
|
-
colorTier: normalizeChatRenderingDiffColorTier(chatRenderingDiff.colorTier),
|
|
5798
|
-
headerStyle: normalizeChatRenderingDiffHeaderStyle(chatRenderingDiff.headerStyle),
|
|
5799
|
-
turnBrowserHistory: clampNum(
|
|
5800
|
-
chatRenderingDiff.turnBrowserHistory,
|
|
5801
|
-
CHAT_DEFAULTS.rendering.diff.turnBrowserHistory,
|
|
5802
|
-
1,
|
|
5803
|
-
20,
|
|
5804
|
-
),
|
|
5805
|
-
turnBrowserMode: normalizeChatRenderingDiffTurnBrowserMode(chatRenderingDiff.turnBrowserMode),
|
|
5806
|
-
},
|
|
5807
|
-
hud: {
|
|
5808
|
-
gaugeWarnRatio: clampNum(
|
|
5809
|
-
chatRenderingHud.gaugeWarnRatio,
|
|
5810
|
-
CHAT_DEFAULTS.rendering.hud.gaugeWarnRatio,
|
|
5811
|
-
0,
|
|
5812
|
-
1,
|
|
5813
|
-
),
|
|
5814
|
-
gaugeDangerRatio: clampNum(
|
|
5815
|
-
chatRenderingHud.gaugeDangerRatio,
|
|
5816
|
-
CHAT_DEFAULTS.rendering.hud.gaugeDangerRatio,
|
|
5817
|
-
0,
|
|
5818
|
-
1,
|
|
5819
|
-
),
|
|
5820
|
-
},
|
|
5821
|
-
},
|
|
5822
|
-
},
|
|
3417
|
+
chat: parseChatConfig(rawObj.chat),
|
|
5823
3418
|
voice: {
|
|
5824
3419
|
// Sparse parse: only set fields the user EXPLICITLY put in the
|
|
5825
3420
|
// config file. Missing fields stay `undefined` so resolvers can
|
|
@@ -5958,19 +3553,13 @@ export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
|
5958
3553
|
: {}),
|
|
5959
3554
|
},
|
|
5960
3555
|
dashboard: {
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
? dash.foldMode
|
|
5969
|
-
: 'task-unit',
|
|
5970
|
-
benchmark: dash.benchmark === true ? true : undefined,
|
|
5971
|
-
bootBanner: dash.bootBanner === 'minimal' || dash.bootBanner === 'full' ? dash.bootBanner : undefined,
|
|
5972
|
-
enableVirtualWindowSwitchKeys: dash.enableVirtualWindowSwitchKeys === true,
|
|
5973
|
-
enableSupplementalGlobalKeys: dash.enableSupplementalGlobalKeys === true,
|
|
3556
|
+
// Retired display/layout controls; keep only fixed internal defaults.
|
|
3557
|
+
views: undefined,
|
|
3558
|
+
theme: undefined,
|
|
3559
|
+
foldMode: 'task-unit',
|
|
3560
|
+
benchmark: undefined,
|
|
3561
|
+
bootBanner: undefined,
|
|
3562
|
+
enableVirtualWindowSwitchKeys: false,
|
|
5974
3563
|
promptBank: {
|
|
5975
3564
|
enabled: dashPromptBank.enabled === true,
|
|
5976
3565
|
dashboardTurns: dashPromptBank.dashboardTurns === true,
|
|
@@ -6033,7 +3622,6 @@ export function buildUserConfig(path: string = defaultPath()): UserConfig {
|
|
|
6033
3622
|
? { slashMaxTurns: Math.floor(acp.slashMaxTurns) }
|
|
6034
3623
|
: {}),
|
|
6035
3624
|
...(acp.editApproval === true ? { editApproval: true } : {}),
|
|
6036
|
-
scrubBillingEnv: acp.scrubBillingEnv !== false,
|
|
6037
3625
|
},
|
|
6038
3626
|
lsp: parseLspConfig(lspRaw),
|
|
6039
3627
|
plan: parsePlanConfig(rawObj.plan),
|
|
@@ -6174,7 +3762,6 @@ function parseGoalsConfig(raw: unknown): GoalsConfig {
|
|
|
6174
3762
|
tokenBudget: clampNum(r.tokenBudget, GOALS_DEFAULTS.tokenBudget, 0, 10_000_000),
|
|
6175
3763
|
judgeModel: typeof r.judgeModel === 'string' ? r.judgeModel : GOALS_DEFAULTS.judgeModel,
|
|
6176
3764
|
judgeRetries: clampNum(r.judgeRetries, GOALS_DEFAULTS.judgeRetries, 0, 10),
|
|
6177
|
-
pauseOnPlanModeEnter: r.pauseOnPlanModeEnter !== false,
|
|
6178
3765
|
resumeOnPlanModeExit: r.resumeOnPlanModeExit === true,
|
|
6179
3766
|
modeDefault: modeRaw === 'spec' ? 'spec' : 'judge',
|
|
6180
3767
|
};
|
|
@@ -6266,39 +3853,6 @@ function normalizeDebugLevel(v: unknown): DebugConfig['level'] {
|
|
|
6266
3853
|
}
|
|
6267
3854
|
}
|
|
6268
3855
|
|
|
6269
|
-
function normalizeChatRenderingStreamingMode(v: unknown): ChatRenderingStreamingMode {
|
|
6270
|
-
return v === 'line' ? 'line' : CHAT_DEFAULTS.rendering.streaming.mode;
|
|
6271
|
-
}
|
|
6272
|
-
|
|
6273
|
-
function normalizeChatRenderingToolDisplayMode(v: unknown): ChatRenderingToolDisplayMode {
|
|
6274
|
-
return v === 'inline-to-block' ? 'inline-to-block' : CHAT_DEFAULTS.rendering.tool.displayMode;
|
|
6275
|
-
}
|
|
6276
|
-
|
|
6277
|
-
function normalizeChatRenderingDiffColorTier(v: unknown): ChatRenderingDiffColorTier {
|
|
6278
|
-
switch (v) {
|
|
6279
|
-
case 'truecolor':
|
|
6280
|
-
case '256':
|
|
6281
|
-
case 'ansi16':
|
|
6282
|
-
return v;
|
|
6283
|
-
default:
|
|
6284
|
-
return CHAT_DEFAULTS.rendering.diff.colorTier;
|
|
6285
|
-
}
|
|
6286
|
-
}
|
|
6287
|
-
|
|
6288
|
-
function normalizeChatRenderingDiffHeaderStyle(v: unknown): ChatRenderingDiffHeaderStyle {
|
|
6289
|
-
return v === 'edited' ? 'edited' : CHAT_DEFAULTS.rendering.diff.headerStyle;
|
|
6290
|
-
}
|
|
6291
|
-
|
|
6292
|
-
function normalizeChatRenderingDiffTurnBrowserMode(v: unknown): ChatRenderingDiffTurnBrowserMode {
|
|
6293
|
-
switch (v) {
|
|
6294
|
-
case 'files':
|
|
6295
|
-
case 'turns':
|
|
6296
|
-
return v;
|
|
6297
|
-
default:
|
|
6298
|
-
return CHAT_DEFAULTS.rendering.diff.turnBrowserMode;
|
|
6299
|
-
}
|
|
6300
|
-
}
|
|
6301
|
-
|
|
6302
3856
|
/** Follow-up #7 — resolve the effective HOP_CAP for a brand from
|
|
6303
3857
|
* user-config. Returns `undefined` when no brand-specific and no
|
|
6304
3858
|
* `default` entry is set; the DRM resolver then falls back to
|
|
@@ -6327,28 +3881,27 @@ export function configuredWorktreeRoot(configPath?: string): string {
|
|
|
6327
3881
|
return getUserConfig(configPath).tools.selfImplement.worktreeRoot;
|
|
6328
3882
|
}
|
|
6329
3883
|
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
return cache;
|
|
3884
|
+
/** Normalized Nexus outbound relay configuration; disabled unless explicitly enabled. */
|
|
3885
|
+
export function resolveNexusRelayConfig(config: UserConfig = getUserConfig()): {
|
|
3886
|
+
enabled: boolean;
|
|
3887
|
+
url?: string;
|
|
3888
|
+
identityFile?: string;
|
|
3889
|
+
} {
|
|
3890
|
+
const relay = config.nexus?.relay;
|
|
3891
|
+
return {
|
|
3892
|
+
enabled: relay?.enabled === true,
|
|
3893
|
+
...(relay?.url ? { url: relay.url } : {}),
|
|
3894
|
+
...(relay?.identityFile ? { identityFile: relay.identityFile } : {}),
|
|
3895
|
+
};
|
|
6343
3896
|
}
|
|
6344
3897
|
|
|
6345
|
-
/** Resolve the explicit
|
|
3898
|
+
/** Resolve the explicit startup environment switch; legacy config keys are retired. */
|
|
6346
3899
|
export function resolveTuiUnattended(
|
|
6347
3900
|
config: UserConfig = getUserConfig(),
|
|
6348
3901
|
env: NodeJS.ProcessEnv = process.env,
|
|
6349
3902
|
): boolean {
|
|
6350
|
-
|
|
6351
|
-
return env.ELANOUS_TUI_UNATTENDED ===
|
|
3903
|
+
void config;
|
|
3904
|
+
return env.ELANOUS_TUI_UNATTENDED === String(1);
|
|
6352
3905
|
}
|
|
6353
3906
|
|
|
6354
3907
|
// Read at call time, not registration time, so reload/reset and on-disk edits keep their semantics.
|
|
@@ -6358,20 +3911,6 @@ setConfigTimeZoneSource(() => {
|
|
|
6358
3911
|
return config.timezone ?? (typeof config.raw.timezone === 'string' ? config.raw.timezone : undefined);
|
|
6359
3912
|
});
|
|
6360
3913
|
|
|
6361
|
-
export function reloadUserConfig(path: string = defaultPath()): UserConfig {
|
|
6362
|
-
cache = applyOverlay(buildUserConfig(path));
|
|
6363
|
-
cachedPath = path;
|
|
6364
|
-
cachedMtimeMs = readMtimeMsOrNull(path);
|
|
6365
|
-
return cache;
|
|
6366
|
-
}
|
|
6367
|
-
|
|
6368
|
-
export function resetUserConfig(): void {
|
|
6369
|
-
cache = null;
|
|
6370
|
-
cachedPath = null;
|
|
6371
|
-
cachedMtimeMs = null;
|
|
6372
|
-
__resetClaudePackageSkillDirsCacheForTests();
|
|
6373
|
-
}
|
|
6374
|
-
|
|
6375
3914
|
/** Default backup path — sits next to config.json so `elanous provider
|
|
6376
3915
|
* restore` can find it without extra arguments. A/B comparison: if
|
|
6377
3916
|
* you want multiple named backups, use `saveUserConfigBackupTo(path)`. */
|
|
@@ -6444,6 +3983,7 @@ export const PROVIDER_DEFAULT_MODEL: Record<LLMProviderName, string> = {
|
|
|
6444
3983
|
// ⚠️ `llm.ts` 에서 import 하지 «않는다» — 이 파일은 UI 소비자가 CLI 표면을 안 끌어오게
|
|
6445
3984
|
// «일부러» 독립돼 있다(이 상수의 머리말). ⇒ 값을 맞추고 «자»로 묶는다.
|
|
6446
3985
|
'openai-codex': 'gpt-6.1-terra',
|
|
3986
|
+
'hq-proxy': 'gpt-6.1-terra',
|
|
6447
3987
|
// ⛔ 2026-08-18: 'grok-4-1-fast' 는 «200 OK 로 응답하지만 실제로는 grok-4.3 이 도는»
|
|
6448
3988
|
// 레거시 별칭이었다(xAI 실호출 대조). 실물 flagship 으로 고친다.
|
|
6449
3989
|
grok: 'grok-4.7',
|
|
@@ -6587,499 +4127,24 @@ export function removeRotationEntry(
|
|
|
6587
4127
|
};
|
|
6588
4128
|
}
|
|
6589
4129
|
|
|
6590
|
-
export function saveUserConfig(
|
|
6591
|
-
cfg: UserConfig,
|
|
6592
|
-
path: string = defaultPath(),
|
|
6593
|
-
): void {
|
|
6594
|
-
const chatRendering = {
|
|
6595
|
-
...CHAT_DEFAULTS.rendering,
|
|
6596
|
-
...(cfg.chat.rendering ?? {}),
|
|
6597
|
-
streaming: {
|
|
6598
|
-
...CHAT_DEFAULTS.rendering.streaming,
|
|
6599
|
-
...(cfg.chat.rendering?.streaming ?? {}),
|
|
6600
|
-
},
|
|
6601
|
-
wrap: {
|
|
6602
|
-
...CHAT_DEFAULTS.rendering.wrap,
|
|
6603
|
-
...(cfg.chat.rendering?.wrap ?? {}),
|
|
6604
|
-
},
|
|
6605
|
-
tool: {
|
|
6606
|
-
...CHAT_DEFAULTS.rendering.tool,
|
|
6607
|
-
...(((cfg.chat.rendering as unknown as { tool?: Record<string, unknown> } | undefined)?.tool) ?? {}),
|
|
6608
|
-
},
|
|
6609
|
-
diff: {
|
|
6610
|
-
...CHAT_DEFAULTS.rendering.diff,
|
|
6611
|
-
...(cfg.chat.rendering?.diff ?? {}),
|
|
6612
|
-
},
|
|
6613
|
-
hud: {
|
|
6614
|
-
...CHAT_DEFAULTS.rendering.hud,
|
|
6615
|
-
...(cfg.chat.rendering?.hud ?? {}),
|
|
6616
|
-
},
|
|
6617
|
-
};
|
|
6618
|
-
const rawRest = { ...(cfg.raw ?? {}) };
|
|
6619
|
-
const rawOutbound = rawRest.outbound && typeof rawRest.outbound === 'object' && !Array.isArray(rawRest.outbound)
|
|
6620
|
-
? rawRest.outbound as Record<string, unknown> : undefined;
|
|
6621
|
-
delete rawRest.outbound;
|
|
6622
|
-
const rawTui = rawRest.tui && typeof rawRest.tui === 'object' && !Array.isArray(rawRest.tui)
|
|
6623
|
-
? rawRest.tui as Record<string, unknown> : {};
|
|
6624
|
-
// projects: raw entries are kept verbatim — an invalid entry loaded from disk is preserved, not blocked (its error
|
|
6625
|
-
// surfaces in resolveRubricAxes) — and typed axes handed to save are validated (invalid ones refuse the save).
|
|
6626
|
-
const rawProjectsValue = rawRest.projects;
|
|
6627
|
-
const rawProjects = rawRest.projects && typeof rawRest.projects === 'object' && !Array.isArray(rawRest.projects)
|
|
6628
|
-
? rawRest.projects as Record<string, unknown> : undefined;
|
|
6629
|
-
const savedProjects: Record<string, unknown> | undefined = rawProjects || cfg.projects ? { ...(rawProjects ?? {}) } : undefined;
|
|
6630
|
-
for (const [id, project] of Object.entries(cfg.projects ?? {})) {
|
|
6631
|
-
if (project?.rubric?.axes === undefined) continue;
|
|
6632
|
-
const axes = parseProjectRubricAxes(id, project.rubric.axes);
|
|
6633
|
-
const rawProject = rawProjects?.[id] && typeof rawProjects[id] === 'object' && !Array.isArray(rawProjects[id])
|
|
6634
|
-
? rawProjects[id] as Record<string, unknown> : {};
|
|
6635
|
-
const rawRubric = rawProject.rubric && typeof rawProject.rubric === 'object' && !Array.isArray(rawProject.rubric)
|
|
6636
|
-
? rawProject.rubric as Record<string, unknown> : {};
|
|
6637
|
-
savedProjects![id] = { ...rawProject, rubric: { ...rawRubric, axes } };
|
|
6638
|
-
}
|
|
6639
|
-
// Strip typed sections from raw so we don't double-write stale copies.
|
|
6640
|
-
delete rawRest.skillRouter;
|
|
6641
|
-
delete rawRest.llm;
|
|
6642
|
-
delete rawRest.skills;
|
|
6643
|
-
delete rawRest.obsidian;
|
|
6644
|
-
delete rawRest.telegram;
|
|
6645
|
-
delete rawRest.discord;
|
|
6646
|
-
delete rawRest.onboarding;
|
|
6647
|
-
delete rawRest.debug;
|
|
6648
|
-
delete rawRest.shell;
|
|
6649
|
-
delete rawRest.chat;
|
|
6650
|
-
delete rawRest.dashboard;
|
|
6651
|
-
delete rawRest.vw;
|
|
6652
|
-
delete rawRest.acp;
|
|
6653
|
-
delete rawRest.lsp;
|
|
6654
|
-
delete rawRest.plan;
|
|
6655
|
-
delete rawRest.controlPlane;
|
|
6656
|
-
// Phase 2: NEXUS schema fields are written explicitly below so the
|
|
6657
|
-
// round-trip preserves any cfg.global / cfg.tabs / cfg.version mutations
|
|
6658
|
-
// applied between read and write (e.g. `elanous config set global.x ...`).
|
|
6659
|
-
delete rawRest.version;
|
|
6660
|
-
delete rawRest.global;
|
|
6661
|
-
delete rawRest.tabs;
|
|
6662
|
-
// M1-2b (PLAN-friction-free-model-selection-ux-2026-05-12) — the
|
|
6663
|
-
// three friction-free-UX sub-trees round-trip through their typed
|
|
6664
|
-
// parsers; strip from raw so stale copies don't double-write.
|
|
6665
|
-
delete rawRest.modelTier;
|
|
6666
|
-
delete rawRest.sessionFabric;
|
|
6667
|
-
delete rawRest.nextFluent;
|
|
6668
|
-
delete rawRest.taste;
|
|
6669
|
-
delete rawRest.budget;
|
|
6670
|
-
delete rawRest.smartDefaults;
|
|
6671
|
-
delete rawRest.grounding;
|
|
6672
|
-
delete rawRest.diagnostics;
|
|
6673
|
-
delete rawRest.projects;
|
|
6674
|
-
delete rawRest.starter;
|
|
6675
|
-
delete rawRest.watch;
|
|
6676
|
-
delete rawRest.guardian;
|
|
6677
|
-
const rawHarness = rawRest.harness && typeof rawRest.harness === 'object' && !Array.isArray(rawRest.harness)
|
|
6678
|
-
? rawRest.harness as Record<string, unknown> : {};
|
|
6679
|
-
delete rawRest.harness;
|
|
6680
|
-
const rawAutopilot = rawRest.autopilot && typeof rawRest.autopilot === 'object' && !Array.isArray(rawRest.autopilot)
|
|
6681
|
-
? rawRest.autopilot as Record<string, unknown> : {};
|
|
6682
|
-
const rawLoops = rawRest.loops && typeof rawRest.loops === 'object' && !Array.isArray(rawRest.loops)
|
|
6683
|
-
? rawRest.loops as Record<string, unknown> : {};
|
|
6684
|
-
const rawSteward = rawLoops.steward && typeof rawLoops.steward === 'object' && !Array.isArray(rawLoops.steward)
|
|
6685
|
-
? rawLoops.steward as Record<string, unknown> : {};
|
|
6686
|
-
if (cfg.loops) delete rawRest.loops;
|
|
6687
|
-
if (cfg.pod?.hostMirror) {
|
|
6688
|
-
const rawPod = rawRest.pod && typeof rawRest.pod === 'object' && !Array.isArray(rawRest.pod)
|
|
6689
|
-
? rawRest.pod as Record<string, unknown> : {};
|
|
6690
|
-
rawRest.pod = { ...rawPod, hostMirror: cfg.pod.hostMirror };
|
|
6691
|
-
}
|
|
6692
4130
|
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
podPool: cfg.harness?.podPool,
|
|
6705
|
-
authorOnPod: cfg.harness?.authorOnPod === true ? true : undefined,
|
|
6706
|
-
followUp: cfg.harness?.followUp === 'live' ? 'live' : undefined,
|
|
6707
|
-
queue: cfg.harness?.queue ?? rawHarness.queue,
|
|
6708
|
-
helper: cfg.harness?.helper ?? rawHarness.helper,
|
|
6709
|
-
}),
|
|
6710
|
-
...rawRest,
|
|
6711
|
-
...(savedProjects ? { projects: savedProjects } : rawProjectsValue !== undefined ? { projects: rawProjectsValue } : {}),
|
|
6712
|
-
...(cfg.starter ? { starter: cfg.starter } : {}),
|
|
6713
|
-
...(cfg.watch ? { watch: cfg.watch } : {}),
|
|
6714
|
-
...(cfg.guardian ? { guardian: cfg.guardian } : {}),
|
|
6715
|
-
...(cfg.loops ? { loops: {
|
|
6716
|
-
...rawLoops,
|
|
6717
|
-
owners: cfg.loops.owners ?? {}, defaultOwner: cfg.loops.defaultOwner ?? 'OP',
|
|
6718
|
-
...(cfg.loops.steward ? { steward: { ...rawSteward, mode: cfg.loops.steward.mode ?? cfg.loops.steward.launch ?? 'shadow' } } : {}),
|
|
6719
|
-
...(cfg.loops.orchestrator ? { orchestrator: cfg.loops.orchestrator } : {}),
|
|
6720
|
-
...(cfg.loops.seat ? { seat: {
|
|
6721
|
-
mode: cfg.loops.seat.mode,
|
|
6722
|
-
questions: cfg.loops.seat.questions ?? 'shadow',
|
|
6723
|
-
seats: cfg.loops.seat.seats ?? ['MK'],
|
|
6724
|
-
podPool: cfg.loops.seat.podPool ?? 'pool-node-b@node-b:8',
|
|
6725
|
-
...(cfg.loops.seat.neighbors ? { neighbors: cfg.loops.seat.neighbors } : {}),
|
|
6726
|
-
...(cfg.loops.seat.reportPr === undefined ? {} : { reportPr: cfg.loops.seat.reportPr }),
|
|
6727
|
-
...(cfg.loops.seat.stall ? { stall: cfg.loops.seat.stall } : {}),
|
|
6728
|
-
...(cfg.loops.seat.repeatStop === undefined ? {} : { repeatStop: cfg.loops.seat.repeatStop }),
|
|
6729
|
-
...(cfg.loops.seat.opDecide ? { opDecide: cfg.loops.seat.opDecide } : {}),
|
|
6730
|
-
...(cfg.loops.seat.idleLadder ? { idleLadder: cfg.loops.seat.idleLadder } : {}),
|
|
6731
|
-
} } : {}),
|
|
6732
|
-
} } : {}),
|
|
6733
|
-
...(cfg.autopilot ? { autopilot: {
|
|
6734
|
-
...rawAutopilot,
|
|
6735
|
-
...cfg.autopilot,
|
|
6736
|
-
...(cfg.autopilot.trackAgent ? { trackAgent: {
|
|
6737
|
-
...(rawAutopilot.trackAgent && typeof rawAutopilot.trackAgent === 'object' && !Array.isArray(rawAutopilot.trackAgent)
|
|
6738
|
-
? rawAutopilot.trackAgent as Record<string, unknown> : {}),
|
|
6739
|
-
...cfg.autopilot.trackAgent,
|
|
6740
|
-
} } : {}),
|
|
6741
|
-
...(cfg.autopilot.trackCourier ? { trackCourier: {
|
|
6742
|
-
...(rawAutopilot.trackCourier && typeof rawAutopilot.trackCourier === 'object' && !Array.isArray(rawAutopilot.trackCourier)
|
|
6743
|
-
? rawAutopilot.trackCourier as Record<string, unknown> : {}),
|
|
6744
|
-
...cfg.autopilot.trackCourier,
|
|
6745
|
-
} } : {}),
|
|
6746
|
-
} } : {}),
|
|
6747
|
-
skillRouter: cfg.skillRouter,
|
|
6748
|
-
llm: stripUndef({
|
|
6749
|
-
provider: cfg.llm.provider,
|
|
6750
|
-
apiKey: cfg.llm.apiKey,
|
|
6751
|
-
model: cfg.llm.model,
|
|
6752
|
-
baseUrl: cfg.llm.baseUrl,
|
|
6753
|
-
streamIdleTimeoutMs: cfg.llm.streamIdleTimeoutMs,
|
|
6754
|
-
// Persist the rotation exactly as held in memory — each entry
|
|
6755
|
-
// stripped of its own undefined fields so the on-disk JSON
|
|
6756
|
-
// stays minimal. Omit the key entirely when no rotation is
|
|
6757
|
-
// configured (keeps configs of single-provider users clean).
|
|
6758
|
-
rotation: cfg.llm.rotation && cfg.llm.rotation.length > 0
|
|
6759
|
-
? cfg.llm.rotation.map(e => stripUndef({
|
|
6760
|
-
provider: e.provider,
|
|
6761
|
-
model: e.model,
|
|
6762
|
-
apiKey: e.apiKey,
|
|
6763
|
-
baseUrl: e.baseUrl,
|
|
6764
|
-
label: e.label,
|
|
6765
|
-
}))
|
|
6766
|
-
: undefined,
|
|
6767
|
-
// Reasoning fields (added 2026-05-03). Both omitted by stripUndef
|
|
6768
|
-
// when undefined so opt-out users keep the legacy minimal JSON.
|
|
6769
|
-
// CRITICAL: these MUST be in sync with the parser in getUserConfig
|
|
6770
|
-
// — a missing field here = silent drop on every save (user
|
|
6771
|
-
// changes /reasoning to high → file write loses it → reload
|
|
6772
|
-
// picks up capability fallback 'medium' → user thinks fix
|
|
6773
|
-
// regressed).
|
|
6774
|
-
reasoningLevel: cfg.llm.reasoningLevel,
|
|
6775
|
-
codexTokenOwnerHost: cfg.llm.codexTokenOwnerHost,
|
|
6776
|
-
codexReasoning: cfg.llm.codexReasoning,
|
|
6777
|
-
goalLoop: cfg.llm.goalLoop,
|
|
6778
|
-
memoryJudge: cfg.llm.memoryJudge,
|
|
6779
|
-
codexInspectExempt: cfg.llm.codexInspectExempt,
|
|
6780
|
-
podHostAcpReview: cfg.llm.podHostAcpReview,
|
|
6781
|
-
codexAccountRotation: cfg.llm.codexAccountRotation,
|
|
6782
|
-
codexAccountAlerts: cfg.llm.codexAccountAlerts,
|
|
6783
|
-
codexAccountRotationThresholdPercent: cfg.llm.codexAccountRotationThresholdPercent,
|
|
6784
|
-
codexAccountRotationThresholdPercentByAccount: cfg.llm.codexAccountRotationThresholdPercentByAccount,
|
|
6785
|
-
codexAccountOrder: cfg.llm.codexAccountOrder,
|
|
6786
|
-
// ★ 2026-09-28: 타입·파서에만 넣고 이 whitelist 를 빠뜨려 `config set llm.codexCreditsAllowed true` 가 «직렬화 드롭» 됐다(#21375 직후 운영 실측).
|
|
6787
|
-
codexCreditsAllowed: cfg.llm.codexCreditsAllowed,
|
|
6788
|
-
codexQuotaPolicy: cfg.llm.codexQuotaPolicy,
|
|
6789
|
-
codexCreditReserve: cfg.llm.codexCreditReserve,
|
|
6790
|
-
grokWeeklyCapPct: cfg.llm.grokWeeklyCapPct,
|
|
6791
|
-
zaiCodingPlan: cfg.llm.zaiCodingPlan,
|
|
6792
|
-
fallbackChain: cfg.llm.fallbackChain,
|
|
6793
|
-
openrouter: cfg.llm.openrouter,
|
|
6794
|
-
reviewFallbackModels: cfg.llm.reviewFallbackModels,
|
|
6795
|
-
codexStore: cfg.llm.codexStore,
|
|
6796
|
-
geminiSafety: cfg.llm.geminiSafety,
|
|
6797
|
-
geminiServerTools: cfg.llm.geminiServerTools,
|
|
6798
|
-
answerPriority: cfg.llm.answerPriority,
|
|
6799
|
-
maxTurns: cfg.llm.maxTurns,
|
|
6800
|
-
missionRouting: cfg.llm.missionRouting,
|
|
6801
|
-
// ⛔ 로드(parseLlmRoutePolicy)만 있고 저장이 없으면 `config set llm.routePolicy` 가 «조용히» 떨어진다
|
|
6802
|
-
// (10-14 OP 실측 — set 뒤 get 이 undefined · TUI-MODEL-SESSION-SCOPE ①).
|
|
6803
|
-
routePolicy: cfg.llm.routePolicy,
|
|
6804
|
-
}),
|
|
6805
|
-
skills: stripUndef({
|
|
6806
|
-
activeSet: cfg.skills.activeSet,
|
|
6807
|
-
dirs: [...cfg.skills.dirs],
|
|
6808
|
-
giftEndpoint: cfg.skills.giftEndpoint === 'https://elanous.ai' ? undefined : cfg.skills.giftEndpoint,
|
|
6809
|
-
// EN5 — only connected roots are persisted (preset/shared/package are derived). The dev-only `connected` key is not written back.
|
|
6810
|
-
sources: cfg.skills.sources && cfg.skills.sources.some((source) => source.kind === 'connected')
|
|
6811
|
-
? cfg.skills.sources.filter((source) => source.kind === 'connected').map(({ id, path, enabled }) => ({ id, path, enabled }))
|
|
6812
|
-
: undefined,
|
|
6813
|
-
// Omit allow/deny when empty to keep disk JSON minimal for the
|
|
6814
|
-
// common "no filter" case.
|
|
6815
|
-
allow: cfg.skills.allow && cfg.skills.allow.length > 0 ? [...cfg.skills.allow] : undefined,
|
|
6816
|
-
deny: cfg.skills.deny && cfg.skills.deny.length > 0 ? [...cfg.skills.deny] : undefined,
|
|
6817
|
-
// ⚠️ 옵셔널이다 — 없는데 접으면 saveUserConfig 가 터진다(테스트가 그 경로를 탄다).
|
|
6818
|
-
urlRouting: cfg.skills.urlRouting ? {
|
|
6819
|
-
enabled: cfg.skills.urlRouting.enabled,
|
|
6820
|
-
twoStage: cfg.skills.urlRouting.twoStage,
|
|
6821
|
-
defaultTargets: [...cfg.skills.urlRouting.defaultTargets],
|
|
6822
|
-
guardKeywords: [...cfg.skills.urlRouting.guardKeywords],
|
|
6823
|
-
absorbKeywords: [...cfg.skills.urlRouting.absorbKeywords],
|
|
6824
|
-
map: { ...cfg.skills.urlRouting.map },
|
|
6825
|
-
absorbSkill: cfg.skills.urlRouting.absorbSkill,
|
|
6826
|
-
} : undefined,
|
|
6827
|
-
devRequestRouting: cfg.skills.devRequestRouting ? {
|
|
6828
|
-
enabled: cfg.skills.devRequestRouting.enabled,
|
|
6829
|
-
verbs: [...cfg.skills.devRequestRouting.verbs],
|
|
6830
|
-
guardKeywords: [...cfg.skills.devRequestRouting.guardKeywords],
|
|
6831
|
-
} : undefined,
|
|
6832
|
-
includeClaudePackageSkills: cfg.skills.includeClaudePackageSkills === true ? true : undefined,
|
|
6833
|
-
includeClaudePackageCommands: cfg.skills.includeClaudePackageCommands === true ? true : undefined,
|
|
6834
|
-
}),
|
|
6835
|
-
obsidian: { vault: cfg.obsidian.vault, ...(cfg.obsidian.testVault ? { testVault: cfg.obsidian.testVault } : {}) },
|
|
6836
|
-
telegram: stripUndef({
|
|
6837
|
-
enabled: cfg.telegram.enabled,
|
|
6838
|
-
botToken: cfg.telegram.botToken,
|
|
6839
|
-
allowedUsers: [...cfg.telegram.allowedUsers],
|
|
6840
|
-
homeChannel: cfg.telegram.homeChannel,
|
|
6841
|
-
reportChannel: cfg.telegram.reportChannel
|
|
6842
|
-
? stripUndef({
|
|
6843
|
-
chatId: cfg.telegram.reportChannel.chatId,
|
|
6844
|
-
botToken: cfg.telegram.reportChannel.botToken,
|
|
6845
|
-
})
|
|
6846
|
-
: undefined,
|
|
6847
|
-
channels: cfg.telegram.channels
|
|
6848
|
-
? cfg.telegram.channels.map(c => ({ ...c, roles: [...c.roles] }))
|
|
6849
|
-
: undefined,
|
|
6850
|
-
testChannel: cfg.telegram.testChannel
|
|
6851
|
-
? stripUndef({
|
|
6852
|
-
botToken: cfg.telegram.testChannel.botToken,
|
|
6853
|
-
allowedUsers: cfg.telegram.testChannel.allowedUsers
|
|
6854
|
-
? [...cfg.telegram.testChannel.allowedUsers] : undefined,
|
|
6855
|
-
// ★ botUsername 은 타입·파서(normalizeTestChannel)에 있으나 이 저장
|
|
6856
|
-
// 직렬화 whitelist 에서 빠져 `config set` 후 재읽기에서 드롭되던 모순
|
|
6857
|
-
// (2026-07-22). round-trip 을 맞춘다.
|
|
6858
|
-
botUsername: cfg.telegram.testChannel.botUsername,
|
|
6859
|
-
})
|
|
6860
|
-
: undefined,
|
|
6861
|
-
// ★ 2026-09-25: `poller`(T1 분리 스위치)가 파서엔 있고 이 whitelist 에 없어 `config set telegram.poller` 가
|
|
6862
|
-
// 「직렬화 드롭」으로 조용히 사라졌다 — 운영 전환 스위치를 켤 방법이 없었다(07-22 botUsername 과 같은 모양).
|
|
6863
|
-
poller: cfg.telegram.poller,
|
|
6864
|
-
fieldDefaultEvent: cfg.telegram.fieldDefaultEvent,
|
|
6865
|
-
fieldReelMode: cfg.telegram.fieldReelMode,
|
|
6866
|
-
}),
|
|
6867
|
-
discord: stripUndef({
|
|
6868
|
-
enabled: cfg.discord.enabled,
|
|
6869
|
-
botToken: cfg.discord.botToken,
|
|
6870
|
-
allowedUsers: [...cfg.discord.allowedUsers],
|
|
6871
|
-
homeChannel: cfg.discord.homeChannel,
|
|
6872
|
-
chatChannels: cfg.discord.chatChannels ? [...cfg.discord.chatChannels] : undefined,
|
|
6873
|
-
testChannel: cfg.discord.testChannel
|
|
6874
|
-
? stripUndef({
|
|
6875
|
-
channelId: cfg.discord.testChannel.channelId,
|
|
6876
|
-
allowedUsers: cfg.discord.testChannel.allowedUsers
|
|
6877
|
-
? [...cfg.discord.testChannel.allowedUsers] : undefined,
|
|
6878
|
-
botToken: cfg.discord.testChannel.botToken,
|
|
6879
|
-
})
|
|
6880
|
-
: undefined,
|
|
6881
|
-
}),
|
|
6882
|
-
// ★ finance 직렬화 whitelist 를 스키마 전체와 정합(2026-07-22). 종전엔 enabled/morningNarrative/
|
|
6883
|
-
// autoLoop 3개만 저장 → morningHeatmapImage·dig·kg·replay·conatusNativePort·liveOrders 는 `config set`
|
|
6884
|
-
// 후 재읽기에서 드롭(botUsername 모순과 동종). stripUndef 로 미설정 필드는 생략, 설정분은 round-trip.
|
|
6885
|
-
finance: stripUndef({
|
|
6886
|
-
enabled: cfg.finance.enabled,
|
|
6887
|
-
morningNarrative: cfg.finance.morningNarrative,
|
|
6888
|
-
morningHeatmapImage: cfg.finance.morningHeatmapImage,
|
|
6889
|
-
autoLoop: cfg.finance.autoLoop,
|
|
6890
|
-
dig: cfg.finance.dig,
|
|
6891
|
-
kg: cfg.finance.kg,
|
|
6892
|
-
replay: cfg.finance.replay,
|
|
6893
|
-
conatusNativePort: cfg.finance.conatusNativePort,
|
|
6894
|
-
secContactEmail: cfg.finance.secContactEmail,
|
|
6895
|
-
liveOrders: cfg.finance.liveOrders,
|
|
6896
|
-
relaxedGates: cfg.finance.relaxedGates,
|
|
6897
|
-
}),
|
|
6898
|
-
onboarding: stripUndef({
|
|
6899
|
-
webFirst: cfg.onboarding.webFirst,
|
|
6900
|
-
ready: cfg.onboarding.ready,
|
|
6901
|
-
completed: cfg.onboarding.completed,
|
|
6902
|
-
completedAt: cfg.onboarding.completedAt,
|
|
6903
|
-
version: cfg.onboarding.version,
|
|
6904
|
-
}),
|
|
6905
|
-
debug: cfg.debug,
|
|
6906
|
-
logs: cfg.logs,
|
|
6907
|
-
shell: cfg.shell,
|
|
6908
|
-
// Preserve newer/unknown TUI settings while the typed config only knows sidetab.
|
|
6909
|
-
tui: { ...rawTui, ...cfg.tui },
|
|
6910
|
-
errorReports: cfg.errorReports ? stripUndef({ ...cfg.errorReports }) : undefined,
|
|
6911
|
-
chat: stripUndef({
|
|
6912
|
-
fastPath: cfg.chat.fastPath,
|
|
6913
|
-
conciseness: stripUndef({
|
|
6914
|
-
enabled: cfg.chat.conciseness.enabled,
|
|
6915
|
-
finalMessageMaxLines: cfg.chat.conciseness.finalMessageMaxLines,
|
|
6916
|
-
preambleMaxWords: cfg.chat.conciseness.preambleMaxWords,
|
|
6917
|
-
flatBullets: cfg.chat.conciseness.flatBullets,
|
|
6918
|
-
}),
|
|
6919
|
-
toolOutput: stripUndef({
|
|
6920
|
-
persistOnOverflow: cfg.chat.toolOutput.persistOnOverflow,
|
|
6921
|
-
retentionDays: cfg.chat.toolOutput.retentionDays,
|
|
6922
|
-
previewLines: cfg.chat.toolOutput.previewLines,
|
|
6923
|
-
}),
|
|
6924
|
-
autoCompact: stripUndef({
|
|
6925
|
-
enabled: cfg.chat.autoCompact.enabled,
|
|
6926
|
-
triggerRatio: cfg.chat.autoCompact.triggerRatio,
|
|
6927
|
-
preserveLastN: cfg.chat.autoCompact.preserveLastN,
|
|
6928
|
-
preserveFirstN: cfg.chat.autoCompact.preserveFirstN,
|
|
6929
|
-
partial: cfg.chat.autoCompact.partial,
|
|
6930
|
-
}),
|
|
6931
|
-
autoCopyQaToClipboard: cfg.chat.autoCopyQaToClipboard,
|
|
6932
|
-
systemPrompt: stripUndef({
|
|
6933
|
-
overridePath: cfg.chat.systemPrompt.overridePath,
|
|
6934
|
-
taskVariant: cfg.chat.systemPrompt.taskVariant,
|
|
6935
|
-
forceBuiltinVariant: cfg.chat.systemPrompt.forceBuiltinVariant,
|
|
6936
|
-
}),
|
|
6937
|
-
rendering: stripUndef({
|
|
6938
|
-
streaming: stripUndef({
|
|
6939
|
-
mode: chatRendering.streaming.mode,
|
|
6940
|
-
catchUpThresholdLines: chatRendering.streaming.catchUpThresholdLines,
|
|
6941
|
-
catchUpAgeMs: chatRendering.streaming.catchUpAgeMs,
|
|
6942
|
-
}),
|
|
6943
|
-
wrap: stripUndef({
|
|
6944
|
-
urlAware: chatRendering.wrap.urlAware,
|
|
6945
|
-
}),
|
|
6946
|
-
tool: stripUndef({
|
|
6947
|
-
displayMode: chatRendering.tool.displayMode,
|
|
6948
|
-
blockMaxLines: chatRendering.tool.blockMaxLines,
|
|
6949
|
-
}),
|
|
6950
|
-
diff: stripUndef({
|
|
6951
|
-
colorTier: chatRendering.diff.colorTier,
|
|
6952
|
-
headerStyle: chatRendering.diff.headerStyle,
|
|
6953
|
-
turnBrowserHistory: chatRendering.diff.turnBrowserHistory,
|
|
6954
|
-
turnBrowserMode: chatRendering.diff.turnBrowserMode,
|
|
6955
|
-
}),
|
|
6956
|
-
hud: stripUndef({
|
|
6957
|
-
gaugeWarnRatio: chatRendering.hud.gaugeWarnRatio,
|
|
6958
|
-
gaugeDangerRatio: chatRendering.hud.gaugeDangerRatio,
|
|
6959
|
-
}),
|
|
6960
|
-
}),
|
|
6961
|
-
}),
|
|
6962
|
-
intake: { ...(rawRest.intake && typeof rawRest.intake === 'object' ? rawRest.intake as Record<string, unknown> : {}), ...cfg.intake },
|
|
6963
|
-
dashboard: stripUndef({
|
|
6964
|
-
views: cfg.dashboard.views,
|
|
6965
|
-
theme: cfg.dashboard.theme,
|
|
6966
|
-
promptBank: cfg.dashboard.promptBank,
|
|
6967
|
-
foldMode: cfg.dashboard.foldMode,
|
|
6968
|
-
benchmark: cfg.dashboard.benchmark,
|
|
6969
|
-
bootBanner: cfg.dashboard.bootBanner,
|
|
6970
|
-
enableVirtualWindowSwitchKeys: cfg.dashboard.enableVirtualWindowSwitchKeys,
|
|
6971
|
-
enableSupplementalGlobalKeys: cfg.dashboard.enableSupplementalGlobalKeys,
|
|
6972
|
-
}),
|
|
6973
|
-
acp: stripUndef({
|
|
6974
|
-
hopCap: stripUndef({
|
|
6975
|
-
claude: cfg.acp.hopCap.claude,
|
|
6976
|
-
codex: cfg.acp.hopCap.codex,
|
|
6977
|
-
gemini: cfg.acp.hopCap.gemini,
|
|
6978
|
-
default: cfg.acp.hopCap.default,
|
|
6979
|
-
}),
|
|
6980
|
-
reviewBackend: cfg.acp.reviewBackend,
|
|
6981
|
-
reworkBackend: cfg.acp.reworkBackend,
|
|
6982
|
-
binaryPaths: cfg.acp.binaryPaths && Object.keys(cfg.acp.binaryPaths).length > 0
|
|
6983
|
-
? { ...cfg.acp.binaryPaths }
|
|
6984
|
-
: undefined,
|
|
6985
|
-
slashMaxTurns: cfg.acp.slashMaxTurns,
|
|
6986
|
-
editApproval: cfg.acp.editApproval ? true : undefined,
|
|
6987
|
-
toolApproval: acpApprovalTimeoutMs(
|
|
6988
|
-
(cfg.raw?.acp as { toolApproval?: { timeoutMs?: unknown } } | undefined)?.toolApproval?.timeoutMs,
|
|
6989
|
-
) !== undefined || cfg.acp.toolApproval.timeoutMs !== (acpApprovalTimeoutEnv() ?? ACP_DEFAULTS.toolApproval.timeoutMs)
|
|
6990
|
-
? { timeoutMs: cfg.acp.toolApproval.timeoutMs } : undefined,
|
|
6991
|
-
scrubBillingEnv: cfg.acp.scrubBillingEnv === false ? false : undefined,
|
|
6992
|
-
}),
|
|
6993
|
-
lsp: stripUndef({
|
|
6994
|
-
enabled: cfg.lsp.enabled,
|
|
6995
|
-
typescript: cfg.lsp.typescript === false ? false : stripUndef({
|
|
6996
|
-
command: cfg.lsp.typescript.command,
|
|
6997
|
-
args: cfg.lsp.typescript.args ? [...cfg.lsp.typescript.args] : undefined,
|
|
6998
|
-
extensions: [...cfg.lsp.typescript.extensions],
|
|
6999
|
-
}),
|
|
7000
|
-
python: cfg.lsp.python === false ? false : stripUndef({
|
|
7001
|
-
command: cfg.lsp.python.command,
|
|
7002
|
-
args: cfg.lsp.python.args ? [...cfg.lsp.python.args] : undefined,
|
|
7003
|
-
extensions: [...cfg.lsp.python.extensions],
|
|
7004
|
-
}),
|
|
7005
|
-
rust: cfg.lsp.rust === false ? false : stripUndef({
|
|
7006
|
-
command: cfg.lsp.rust.command,
|
|
7007
|
-
args: cfg.lsp.rust.args ? [...cfg.lsp.rust.args] : undefined,
|
|
7008
|
-
extensions: [...cfg.lsp.rust.extensions],
|
|
7009
|
-
}),
|
|
7010
|
-
idleTimeoutMs: cfg.lsp.idleTimeoutMs,
|
|
7011
|
-
workspaceSymbolLanguage: cfg.lsp.workspaceSymbolLanguage,
|
|
7012
|
-
}),
|
|
7013
|
-
// VW config now prefers named entries (`iul`, `acp`, `sim`) so
|
|
7014
|
-
// registration order in JSON is itself the canonical order.
|
|
7015
|
-
...(() => {
|
|
7016
|
-
const order = cfg.vw.order ?? VW_ORDER_DEFAULT;
|
|
7017
|
-
const orderedEntries = order.map((name) => {
|
|
7018
|
-
const entry = cfg.vw.entries?.[name] ?? VW_ENTRY_DEFAULTS[name];
|
|
7019
|
-
const defaults = VW_ENTRY_DEFAULTS[name];
|
|
7020
|
-
const value = stripUndef({
|
|
7021
|
-
resident: entry.resident !== defaults.resident ? entry.resident : undefined,
|
|
7022
|
-
foregroundOnStartup: entry.foregroundOnStartup === true ? true : undefined,
|
|
7023
|
-
});
|
|
7024
|
-
const preserveForOrder = JSON.stringify(order) !== JSON.stringify(VW_ORDER_DEFAULT);
|
|
7025
|
-
return [name, (Object.keys(value).length > 0 || preserveForOrder) ? value : undefined] as const;
|
|
7026
|
-
});
|
|
7027
|
-
const hasNamedEntries = orderedEntries.some(([, value]) => value !== undefined);
|
|
7028
|
-
const hasNames = Object.keys(cfg.vw.windowNames).length > 0 || Object.keys(cfg.vw.paneNames).length > 0;
|
|
7029
|
-
if (!hasNamedEntries && !hasNames) return {};
|
|
7030
|
-
const named: Record<string, unknown> = {};
|
|
7031
|
-
for (const [name, value] of orderedEntries) {
|
|
7032
|
-
if (value !== undefined) named[name] = value;
|
|
7033
|
-
}
|
|
7034
|
-
return {
|
|
7035
|
-
vw: {
|
|
7036
|
-
...stripUndef({
|
|
7037
|
-
windowNames: Object.keys(cfg.vw.windowNames).length > 0 ? { ...cfg.vw.windowNames } : undefined,
|
|
7038
|
-
paneNames: Object.keys(cfg.vw.paneNames).length > 0 ? { ...cfg.vw.paneNames } : undefined,
|
|
7039
|
-
}),
|
|
7040
|
-
...named,
|
|
7041
|
-
},
|
|
7042
|
-
};
|
|
7043
|
-
})(),
|
|
7044
|
-
// Plan: omit the key entirely when the (single) flag matches the
|
|
7045
|
-
// default to keep on-disk JSON minimal for users who don't opt in.
|
|
7046
|
-
...(cfg.plan.autoWorktree ? { plan: { autoWorktree: true } } : {}),
|
|
7047
|
-
// Registry (FU A6-real P5 round-trip): only persist non-empty
|
|
7048
|
-
// discovery sub-blocks so a clean install's config.json stays
|
|
7049
|
-
// free of empty `registry: { discovery: { cron: {}, firecrawl: {} } }`.
|
|
7050
|
-
...(() => {
|
|
7051
|
-
const discovery: Record<string, unknown> = {};
|
|
7052
|
-
const cron = cfg.registry?.discovery?.cron;
|
|
7053
|
-
const firecrawl = cfg.registry?.discovery?.firecrawl;
|
|
7054
|
-
if (cron && typeof cron.intervalMs === 'number' && cron.intervalMs > 0) {
|
|
7055
|
-
discovery.cron = { intervalMs: cron.intervalMs };
|
|
7056
|
-
}
|
|
7057
|
-
if (firecrawl && typeof firecrawl.apiKey === 'string' && firecrawl.apiKey.trim().length > 0) {
|
|
7058
|
-
discovery.firecrawl = { apiKey: firecrawl.apiKey };
|
|
7059
|
-
}
|
|
7060
|
-
return Object.keys(discovery).length > 0 ? { registry: { discovery } } : {};
|
|
7061
|
-
})(),
|
|
7062
|
-
// Phase 2: round-trip NEXUS schema fields when present. omit when
|
|
7063
|
-
// unset so a Path-A-only user's file stays clean (no empty global:{}).
|
|
7064
|
-
...(typeof cfg.version === 'number' ? { version: cfg.version } : {}),
|
|
7065
|
-
...(cfg.global && Object.keys(cfg.global).length > 0 ? { global: cfg.global } : {}),
|
|
7066
|
-
...(cfg.tabs && Object.keys(cfg.tabs).length > 0 ? { tabs: cfg.tabs } : {}),
|
|
7067
|
-
// M1-2b: sparse — emit only when explicitly set. Keeps Path-A-only
|
|
7068
|
-
// users' file clean (no empty modelTier:{} blobs).
|
|
7069
|
-
...(cfg.modelTier ? { modelTier: parseModelTierConfig(cfg.modelTier) } : {}),
|
|
7070
|
-
...((cfg.outbound || rawOutbound) ? { outbound: stripUndef({ ...rawOutbound, ...cfg.outbound }) } : {}),
|
|
7071
|
-
...(cfg.sessionFabric ? { sessionFabric: cfg.sessionFabric } : {}),
|
|
7072
|
-
...(cfg.nextFluent ? { nextFluent: cfg.nextFluent } : {}),
|
|
7073
|
-
...(cfg.taste ? { taste: cfg.taste } : {}),
|
|
7074
|
-
...(cfg.webSearch ? { webSearch: cfg.webSearch } : {}),
|
|
7075
|
-
...(cfg.design ? { design: cfg.design } : {}),
|
|
7076
|
-
...(cfg.diagnostics?.uploadUrl ? { diagnostics: parseDiagnosticsConfig(cfg.diagnostics) } : {}),
|
|
7077
|
-
...(cfg.budget ? { budget: cfg.budget } : {}),
|
|
7078
|
-
...(cfg.smartDefaults ? { smartDefaults: cfg.smartDefaults } : {}),
|
|
7079
|
-
...(cfg.grounding && cfg.grounding.sources.length > 0
|
|
7080
|
-
? { grounding: { sources: cfg.grounding.sources } }
|
|
7081
|
-
: {}),
|
|
4131
|
+
export function saveUserConfig(cfg: UserConfig, path: string = defaultPath()): void {
|
|
4132
|
+
const serializerDeps = {
|
|
4133
|
+
parseProjectRubricAxes,
|
|
4134
|
+
stripUndef,
|
|
4135
|
+
acpApprovalTimeoutMs,
|
|
4136
|
+
acpApprovalTimeoutEnv,
|
|
4137
|
+
acpDefaults: ACP_DEFAULTS,
|
|
4138
|
+
vwOrderDefault: VW_ORDER_DEFAULT,
|
|
4139
|
+
vwEntryDefaults: VW_ENTRY_DEFAULTS,
|
|
4140
|
+
parseModelTierConfig,
|
|
4141
|
+
parseDiagnosticsConfig,
|
|
7082
4142
|
};
|
|
4143
|
+
const out = sparseUserConfig(
|
|
4144
|
+
serializeUserConfig(cfg, serializerDeps),
|
|
4145
|
+
serializeUserConfig(defaultConfig(), serializerDeps),
|
|
4146
|
+
cfg.raw,
|
|
4147
|
+
);
|
|
7083
4148
|
mkdirSync(dirname(path), { recursive: true });
|
|
7084
4149
|
// FU3: lock-protected atomic write. Path B's patchUserConfig acquires
|
|
7085
4150
|
// the same lock so simultaneous writers cannot lose each other's
|
|
@@ -7097,12 +4162,9 @@ export function saveUserConfig(
|
|
|
7097
4162
|
// host that rejects the call doesn't block the wizard.
|
|
7098
4163
|
try { chmodSync(path, 0o600); } catch { /* best-effort */ }
|
|
7099
4164
|
});
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
// distinguish "our own write" (cache valid) from "external writer
|
|
7104
|
-
// updated the file behind us" (cache stale · reload).
|
|
7105
|
-
cachedMtimeMs = readMtimeMsOrNull(path);
|
|
4165
|
+
// Capture post-write mtime so the reader can distinguish our own write
|
|
4166
|
+
// from an external writer updating the file behind the cache.
|
|
4167
|
+
rememberSavedUserConfig(cfg, path, readMtimeMsOrNull(path));
|
|
7106
4168
|
}
|
|
7107
4169
|
|
|
7108
4170
|
// ── VW rename mutators (VW-B3/B4) ────────────────────────────────
|
|
@@ -7279,9 +4341,6 @@ function parseMaxTurnsField(raw: unknown): number | null | undefined {
|
|
|
7279
4341
|
* adding a name here is what opens `llm.maxTurns.<family>` (incl. 0/null
|
|
7280
4342
|
* = unlimited). Kept as a local const so this file does not import llm.ts
|
|
7281
4343
|
* (hot-path cycle). `default` stays the residual bucket. */
|
|
7282
|
-
const MAX_TURNS_BUDGET_KEYS = ['claude', 'codex', 'gemini', 'grok', 'openrouter', 'default'] as const;
|
|
7283
|
-
type MaxTurnsBudgetKey = typeof MAX_TURNS_BUDGET_KEYS[number];
|
|
7284
|
-
export type MaxTurnsBudget = Partial<Record<MaxTurnsBudgetKey, number | null>>;
|
|
7285
4344
|
|
|
7286
4345
|
function parseMaxTurnsBudget(raw: unknown): MaxTurnsBudget | undefined {
|
|
7287
4346
|
if (!raw || typeof raw !== 'object') return undefined;
|