@a5c-ai/babysitter-sdk 5.0.0 → 5.0.1-staging.04a3db697
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/breakpoints/evaluator.d.ts +33 -0
- package/dist/breakpoints/evaluator.d.ts.map +1 -0
- package/dist/breakpoints/evaluator.js +156 -0
- package/dist/breakpoints/index.d.ts +9 -0
- package/dist/breakpoints/index.d.ts.map +1 -0
- package/dist/breakpoints/index.js +19 -0
- package/dist/breakpoints/patterns.d.ts +24 -0
- package/dist/breakpoints/patterns.d.ts.map +1 -0
- package/dist/breakpoints/patterns.js +88 -0
- package/dist/breakpoints/proven-verification.d.ts +51 -0
- package/dist/breakpoints/proven-verification.d.ts.map +1 -0
- package/dist/breakpoints/proven-verification.js +120 -0
- package/dist/breakpoints/rules.d.ts +26 -0
- package/dist/breakpoints/rules.d.ts.map +1 -0
- package/dist/breakpoints/rules.js +110 -0
- package/dist/breakpoints/types.d.ts +78 -0
- package/dist/breakpoints/types.d.ts.map +1 -0
- package/dist/breakpoints/types.js +7 -0
- package/dist/cli/commands/breakpointRules.d.ts +26 -0
- package/dist/cli/commands/breakpointRules.d.ts.map +1 -0
- package/dist/cli/commands/breakpointRules.js +222 -0
- package/dist/cli/commands/compressOutput.d.ts +24 -0
- package/dist/cli/commands/compressOutput.d.ts.map +1 -0
- package/dist/cli/commands/compressOutput.js +85 -0
- package/dist/cli/commands/compressOutputHelpers.d.ts +15 -0
- package/dist/cli/commands/compressOutputHelpers.d.ts.map +1 -0
- package/dist/cli/commands/compressOutputHelpers.js +367 -0
- package/dist/cli/commands/compression/reset.d.ts +15 -0
- package/dist/cli/commands/compression/reset.d.ts.map +1 -0
- package/dist/cli/commands/compression/reset.js +87 -0
- package/dist/cli/commands/compression/set.d.ts +26 -0
- package/dist/cli/commands/compression/set.d.ts.map +1 -0
- package/dist/cli/commands/compression/set.js +179 -0
- package/dist/cli/commands/compression/status.d.ts +12 -0
- package/dist/cli/commands/compression/status.d.ts.map +1 -0
- package/dist/cli/commands/compression/status.js +133 -0
- package/dist/cli/commands/compression/toggle.d.ts +17 -0
- package/dist/cli/commands/compression/toggle.d.ts.map +1 -0
- package/dist/cli/commands/compression/toggle.js +115 -0
- package/dist/cli/commands/configure/output.d.ts +6 -0
- package/dist/cli/commands/configure/output.d.ts.map +1 -0
- package/dist/cli/commands/configure/output.js +164 -0
- package/dist/cli/commands/configure.d.ts +124 -0
- package/dist/cli/commands/configure.d.ts.map +1 -0
- package/dist/cli/commands/configure.js +300 -0
- package/dist/cli/commands/costStats.d.ts +13 -0
- package/dist/cli/commands/costStats.d.ts.map +1 -0
- package/dist/cli/commands/costStats.js +327 -0
- package/dist/cli/commands/detectExistingRun.d.ts +14 -0
- package/dist/cli/commands/detectExistingRun.d.ts.map +1 -0
- package/dist/cli/commands/detectExistingRun.js +89 -0
- package/dist/cli/commands/harness/install.d.ts +17 -0
- package/dist/cli/commands/harness/install.d.ts.map +1 -0
- package/dist/cli/commands/harness/install.js +83 -0
- package/dist/cli/commands/health/checks.d.ts +10 -0
- package/dist/cli/commands/health/checks.d.ts.map +1 -0
- package/dist/cli/commands/health/checks.js +268 -0
- package/dist/cli/commands/health/environment.d.ts +3 -0
- package/dist/cli/commands/health/environment.d.ts.map +1 -0
- package/dist/cli/commands/health/environment.js +89 -0
- package/dist/cli/commands/health/output.d.ts +5 -0
- package/dist/cli/commands/health/output.d.ts.map +1 -0
- package/dist/cli/commands/health/output.js +92 -0
- package/dist/cli/commands/health.d.ts +74 -0
- package/dist/cli/commands/health.d.ts.map +1 -0
- package/dist/cli/commands/health.js +92 -0
- package/dist/cli/commands/hooks/log.d.ts +15 -0
- package/dist/cli/commands/hooks/log.d.ts.map +1 -0
- package/dist/cli/commands/hooks/log.js +298 -0
- package/dist/cli/commands/hooks/run.d.ts +25 -0
- package/dist/cli/commands/hooks/run.d.ts.map +1 -0
- package/dist/cli/commands/hooks/run.js +234 -0
- package/dist/cli/commands/instructions.d.ts +20 -0
- package/dist/cli/commands/instructions.d.ts.map +1 -0
- package/dist/cli/commands/instructions.js +292 -0
- package/dist/cli/commands/log.d.ts +22 -0
- package/dist/cli/commands/log.d.ts.map +1 -0
- package/dist/cli/commands/log.js +99 -0
- package/dist/cli/commands/mcpServe.d.ts +11 -0
- package/dist/cli/commands/mcpServe.d.ts.map +1 -0
- package/dist/cli/commands/mcpServe.js +35 -0
- package/dist/cli/commands/plugin/marketplaceCommands.d.ts +5 -0
- package/dist/cli/commands/plugin/marketplaceCommands.d.ts.map +1 -0
- package/dist/cli/commands/plugin/marketplaceCommands.js +114 -0
- package/dist/cli/commands/plugin/packageCommands.d.ts +6 -0
- package/dist/cli/commands/plugin/packageCommands.d.ts.map +1 -0
- package/dist/cli/commands/plugin/packageCommands.js +270 -0
- package/dist/cli/commands/plugin/registryCommands.d.ts +5 -0
- package/dist/cli/commands/plugin/registryCommands.d.ts.map +1 -0
- package/dist/cli/commands/plugin/registryCommands.js +128 -0
- package/dist/cli/commands/plugin/shared.d.ts +20 -0
- package/dist/cli/commands/plugin/shared.d.ts.map +1 -0
- package/dist/cli/commands/plugin/shared.js +44 -0
- package/dist/cli/commands/plugin.d.ts +9 -0
- package/dist/cli/commands/plugin.d.ts.map +1 -0
- package/dist/cli/commands/plugin.js +22 -0
- package/dist/cli/commands/processLibrary.d.ts +16 -0
- package/dist/cli/commands/processLibrary.d.ts.map +1 -0
- package/dist/cli/commands/processLibrary.js +156 -0
- package/dist/cli/commands/profile.d.ts +26 -0
- package/dist/cli/commands/profile.d.ts.map +1 -0
- package/dist/cli/commands/profile.js +213 -0
- package/dist/cli/commands/runIterate.d.ts +49 -0
- package/dist/cli/commands/runIterate.d.ts.map +1 -0
- package/dist/cli/commands/runIterate.js +156 -0
- package/dist/cli/commands/runIterateHelpers.d.ts +29 -0
- package/dist/cli/commands/runIterateHelpers.d.ts.map +1 -0
- package/dist/cli/commands/runIterateHelpers.js +134 -0
- package/dist/cli/commands/session/associate.d.ts +10 -0
- package/dist/cli/commands/session/associate.d.ts.map +1 -0
- package/dist/cli/commands/session/associate.js +77 -0
- package/dist/cli/commands/session/checkIteration.d.ts +7 -0
- package/dist/cli/commands/session/checkIteration.d.ts.map +1 -0
- package/dist/cli/commands/session/checkIteration.js +76 -0
- package/dist/cli/commands/session/cleanup.d.ts +5 -0
- package/dist/cli/commands/session/cleanup.d.ts.map +1 -0
- package/dist/cli/commands/session/cleanup.js +20 -0
- package/dist/cli/commands/session/common.d.ts +16 -0
- package/dist/cli/commands/session/common.d.ts.map +1 -0
- package/dist/cli/commands/session/common.js +33 -0
- package/dist/cli/commands/session/init.d.ts +10 -0
- package/dist/cli/commands/session/init.d.ts.map +1 -0
- package/dist/cli/commands/session/init.js +76 -0
- package/dist/cli/commands/session/iterationMessage.d.ts +17 -0
- package/dist/cli/commands/session/iterationMessage.d.ts.map +1 -0
- package/dist/cli/commands/session/iterationMessage.js +106 -0
- package/dist/cli/commands/session/lastMessage.d.ts +13 -0
- package/dist/cli/commands/session/lastMessage.d.ts.map +1 -0
- package/dist/cli/commands/session/lastMessage.js +45 -0
- package/dist/cli/commands/session/resume.d.ts +10 -0
- package/dist/cli/commands/session/resume.d.ts.map +1 -0
- package/dist/cli/commands/session/resume.js +129 -0
- package/dist/cli/commands/session/state.d.ts +7 -0
- package/dist/cli/commands/session/state.d.ts.map +1 -0
- package/dist/cli/commands/session/state.js +49 -0
- package/dist/cli/commands/session/update.d.ts +10 -0
- package/dist/cli/commands/session/update.d.ts.map +1 -0
- package/dist/cli/commands/session/update.js +54 -0
- package/dist/cli/commands/session/whoami.d.ts +5 -0
- package/dist/cli/commands/session/whoami.d.ts.map +1 -0
- package/dist/cli/commands/session/whoami.js +22 -0
- package/dist/cli/commands/skill/discoveryLocal.d.ts +32 -0
- package/dist/cli/commands/skill/discoveryLocal.d.ts.map +1 -0
- package/dist/cli/commands/skill/discoveryLocal.js +383 -0
- package/dist/cli/commands/skill/processMarkers.d.ts +9 -0
- package/dist/cli/commands/skill/processMarkers.d.ts.map +1 -0
- package/dist/cli/commands/skill/processMarkers.js +104 -0
- package/dist/cli/commands/skill/remoteDiscovery.d.ts +4 -0
- package/dist/cli/commands/skill/remoteDiscovery.d.ts.map +1 -0
- package/dist/cli/commands/skill/remoteDiscovery.js +164 -0
- package/dist/cli/commands/skill/types.d.ts +69 -0
- package/dist/cli/commands/skill/types.d.ts.map +1 -0
- package/dist/cli/commands/skill/types.js +2 -0
- package/dist/cli/commands/skill.d.ts +20 -0
- package/dist/cli/commands/skill.d.ts.map +1 -0
- package/dist/cli/commands/skill.js +292 -0
- package/dist/cli/commands/tokensStats.d.ts +70 -0
- package/dist/cli/commands/tokensStats.d.ts.map +1 -0
- package/dist/cli/commands/tokensStats.js +238 -0
- package/dist/cli/commands/tokensStatsFormatting.d.ts +9 -0
- package/dist/cli/commands/tokensStatsFormatting.d.ts.map +1 -0
- package/dist/cli/commands/tokensStatsFormatting.js +137 -0
- package/dist/cli/completionProof.d.ts +4 -0
- package/dist/cli/completionProof.d.ts.map +1 -0
- package/dist/cli/completionProof.js +45 -0
- package/dist/cli/main/argFlagParsers.d.ts +9 -0
- package/dist/cli/main/argFlagParsers.d.ts.map +1 -0
- package/dist/cli/main/argFlagParsers.js +346 -0
- package/dist/cli/main/argFlags.d.ts +4 -0
- package/dist/cli/main/argFlags.d.ts.map +1 -0
- package/dist/cli/main/argFlags.js +77 -0
- package/dist/cli/main/argPositionals.d.ts +3 -0
- package/dist/cli/main/argPositionals.d.ts.map +1 -0
- package/dist/cli/main/argPositionals.js +87 -0
- package/dist/cli/main/args.d.ts +7 -0
- package/dist/cli/main/args.d.ts.map +1 -0
- package/dist/cli/main/args.js +120 -0
- package/dist/cli/main/dispatch.d.ts +5 -0
- package/dist/cli/main/dispatch.d.ts.map +1 -0
- package/dist/cli/main/dispatch.js +44 -0
- package/dist/cli/main/dispatchHarness.d.ts +3 -0
- package/dist/cli/main/dispatchHarness.d.ts.map +1 -0
- package/dist/cli/main/dispatchHarness.js +73 -0
- package/dist/cli/main/dispatchRunSession.d.ts +3 -0
- package/dist/cli/main/dispatchRunSession.d.ts.map +1 -0
- package/dist/cli/main/dispatchRunSession.js +316 -0
- package/dist/cli/main/program.d.ts +17 -0
- package/dist/cli/main/program.d.ts.map +1 -0
- package/dist/cli/main/program.js +94 -0
- package/dist/cli/main/runAssignProcess.d.ts +3 -0
- package/dist/cli/main/runAssignProcess.d.ts.map +1 -0
- package/dist/cli/main/runAssignProcess.js +169 -0
- package/dist/cli/main/runCommands.d.ts +4 -0
- package/dist/cli/main/runCommands.d.ts.map +1 -0
- package/dist/cli/main/runCommands.js +13 -0
- package/dist/cli/main/runCreate.d.ts +5 -0
- package/dist/cli/main/runCreate.d.ts.map +1 -0
- package/dist/cli/main/runCreate.js +382 -0
- package/dist/cli/main/runInspection.d.ts +5 -0
- package/dist/cli/main/runInspection.d.ts.map +1 -0
- package/dist/cli/main/runInspection.js +139 -0
- package/dist/cli/main/runState.d.ts +55 -0
- package/dist/cli/main/runState.d.ts.map +1 -0
- package/dist/cli/main/runState.js +226 -0
- package/dist/cli/main/runSupport.d.ts +49 -0
- package/dist/cli/main/runSupport.d.ts.map +1 -0
- package/dist/cli/main/runSupport.js +364 -0
- package/dist/cli/main/taskCommands.d.ts +6 -0
- package/dist/cli/main/taskCommands.d.ts.map +1 -0
- package/dist/cli/main/taskCommands.js +356 -0
- package/dist/cli/main/types.d.ts +120 -0
- package/dist/cli/main/types.d.ts.map +1 -0
- package/dist/cli/main/types.js +2 -0
- package/dist/cli/main/ui.d.ts +12 -0
- package/dist/cli/main/ui.d.ts.map +1 -0
- package/dist/cli/main/ui.js +177 -0
- package/dist/cli/main/usage.d.ts +7 -0
- package/dist/cli/main/usage.d.ts.map +1 -0
- package/dist/cli/main/usage.js +154 -0
- package/dist/cli/main.d.ts +13 -0
- package/dist/cli/main.d.ts.map +1 -0
- package/dist/cli/main.js +50 -0
- package/dist/cli/mcpServeEntry.d.ts +3 -0
- package/dist/cli/mcpServeEntry.d.ts.map +1 -0
- package/dist/cli/mcpServeEntry.js +8 -0
- package/dist/cli/render/ansi.d.ts +12 -0
- package/dist/cli/render/ansi.d.ts.map +1 -0
- package/dist/cli/render/ansi.js +24 -0
- package/dist/cli/render/effectTree.d.ts +17 -0
- package/dist/cli/render/effectTree.d.ts.map +1 -0
- package/dist/cli/render/effectTree.js +46 -0
- package/dist/cli/render/events/effectRequested.d.ts +3 -0
- package/dist/cli/render/events/effectRequested.d.ts.map +1 -0
- package/dist/cli/render/events/effectRequested.js +22 -0
- package/dist/cli/render/events/effectResolved.d.ts +3 -0
- package/dist/cli/render/events/effectResolved.d.ts.map +1 -0
- package/dist/cli/render/events/effectResolved.js +20 -0
- package/dist/cli/render/events/index.d.ts +4 -0
- package/dist/cli/render/events/index.d.ts.map +1 -0
- package/dist/cli/render/events/index.js +25 -0
- package/dist/cli/render/events/processAssigned.d.ts +3 -0
- package/dist/cli/render/events/processAssigned.d.ts.map +1 -0
- package/dist/cli/render/events/processAssigned.js +22 -0
- package/dist/cli/render/events/runCompleted.d.ts +3 -0
- package/dist/cli/render/events/runCompleted.d.ts.map +1 -0
- package/dist/cli/render/events/runCompleted.js +18 -0
- package/dist/cli/render/events/runCreated.d.ts +3 -0
- package/dist/cli/render/events/runCreated.d.ts.map +1 -0
- package/dist/cli/render/events/runCreated.js +19 -0
- package/dist/cli/render/events/runFailed.d.ts +3 -0
- package/dist/cli/render/events/runFailed.d.ts.map +1 -0
- package/dist/cli/render/events/runFailed.js +23 -0
- package/dist/cli/render/events/types.d.ts +6 -0
- package/dist/cli/render/events/types.d.ts.map +1 -0
- package/dist/cli/render/events/types.js +2 -0
- package/dist/cli/render/index.d.ts +5 -0
- package/dist/cli/render/index.d.ts.map +1 -0
- package/dist/cli/render/index.js +14 -0
- package/dist/cli/render/statusBadge.d.ts +4 -0
- package/dist/cli/render/statusBadge.d.ts.map +1 -0
- package/dist/cli/render/statusBadge.js +25 -0
- package/dist/cli/resolveInputPath.d.ts +61 -0
- package/dist/cli/resolveInputPath.d.ts.map +1 -0
- package/dist/cli/resolveInputPath.js +193 -0
- package/dist/compression/config-loader.d.ts +24 -0
- package/dist/compression/config-loader.d.ts.map +1 -0
- package/dist/compression/config-loader.js +179 -0
- package/dist/compression/config.d.ts +49 -0
- package/dist/compression/config.d.ts.map +1 -0
- package/dist/compression/config.js +41 -0
- package/dist/compression/density-filter.d.ts +20 -0
- package/dist/compression/density-filter.d.ts.map +1 -0
- package/dist/compression/density-filter.js +91 -0
- package/dist/compression/library-cache.d.ts +19 -0
- package/dist/compression/library-cache.d.ts.map +1 -0
- package/dist/compression/library-cache.js +149 -0
- package/dist/config/configValidation.d.ts +22 -0
- package/dist/config/configValidation.d.ts.map +1 -0
- package/dist/config/configValidation.js +140 -0
- package/dist/config/defaults.d.ts +67 -0
- package/dist/config/defaults.d.ts.map +1 -0
- package/dist/config/defaults.js +132 -0
- package/dist/config/index.d.ts +26 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +51 -0
- package/dist/config/runs.d.ts +22 -0
- package/dist/config/runs.d.ts.map +1 -0
- package/dist/config/runs.js +192 -0
- package/dist/cost/claudeCodeParser.d.ts +81 -0
- package/dist/cost/claudeCodeParser.d.ts.map +1 -0
- package/dist/cost/claudeCodeParser.js +232 -0
- package/dist/cost/collector.d.ts +42 -0
- package/dist/cost/collector.d.ts.map +1 -0
- package/dist/cost/collector.js +105 -0
- package/dist/cost/index.d.ts +18 -0
- package/dist/cost/index.d.ts.map +1 -0
- package/dist/cost/index.js +38 -0
- package/dist/cost/journal.d.ts +40 -0
- package/dist/cost/journal.d.ts.map +1 -0
- package/dist/cost/journal.js +137 -0
- package/dist/cost/pricing.d.ts +19 -0
- package/dist/cost/pricing.d.ts.map +1 -0
- package/dist/cost/pricing.js +135 -0
- package/dist/cost/types.d.ts +87 -0
- package/dist/cost/types.d.ts.map +1 -0
- package/dist/cost/types.js +19 -0
- package/dist/harness/BaseAdapter.d.ts +93 -0
- package/dist/harness/BaseAdapter.d.ts.map +1 -0
- package/dist/harness/BaseAdapter.js +236 -0
- package/dist/harness/adapters/claude-code.d.ts +24 -0
- package/dist/harness/adapters/claude-code.d.ts.map +1 -0
- package/dist/harness/adapters/claude-code.js +64 -0
- package/dist/harness/adapters/codex.d.ts +12 -0
- package/dist/harness/adapters/codex.d.ts.map +1 -0
- package/dist/harness/adapters/codex.js +37 -0
- package/dist/harness/adapters/cursor.d.ts +13 -0
- package/dist/harness/adapters/cursor.d.ts.map +1 -0
- package/dist/harness/adapters/cursor.js +85 -0
- package/dist/harness/adapters/gemini-cli.d.ts +12 -0
- package/dist/harness/adapters/gemini-cli.d.ts.map +1 -0
- package/dist/harness/adapters/gemini-cli.js +34 -0
- package/dist/harness/adapters/github-copilot.d.ts +13 -0
- package/dist/harness/adapters/github-copilot.d.ts.map +1 -0
- package/dist/harness/adapters/github-copilot.js +59 -0
- package/dist/harness/adapters/index.d.ts +12 -0
- package/dist/harness/adapters/index.d.ts.map +1 -0
- package/dist/harness/adapters/index.js +26 -0
- package/dist/harness/adapters/oh-my-pi.d.ts +12 -0
- package/dist/harness/adapters/oh-my-pi.d.ts.map +1 -0
- package/dist/harness/adapters/oh-my-pi.js +41 -0
- package/dist/harness/adapters/openclaw.d.ts +12 -0
- package/dist/harness/adapters/openclaw.d.ts.map +1 -0
- package/dist/harness/adapters/openclaw.js +49 -0
- package/dist/harness/adapters/opencode.d.ts +12 -0
- package/dist/harness/adapters/opencode.d.ts.map +1 -0
- package/dist/harness/adapters/opencode.js +51 -0
- package/dist/harness/adapters/pi.d.ts +12 -0
- package/dist/harness/adapters/pi.d.ts.map +1 -0
- package/dist/harness/adapters/pi.js +41 -0
- package/dist/harness/amuxFallbackMetadata.d.ts +3 -0
- package/dist/harness/amuxFallbackMetadata.d.ts.map +1 -0
- package/dist/harness/amuxFallbackMetadata.js +201 -0
- package/dist/harness/amuxMetadata.d.ts +51 -0
- package/dist/harness/amuxMetadata.d.ts.map +1 -0
- package/dist/harness/amuxMetadata.js +176 -0
- package/dist/harness/customAdapter.d.ts +14 -0
- package/dist/harness/customAdapter.d.ts.map +1 -0
- package/dist/harness/customAdapter.js +124 -0
- package/dist/harness/derivePromptContext.d.ts +75 -0
- package/dist/harness/derivePromptContext.d.ts.map +1 -0
- package/dist/harness/derivePromptContext.js +120 -0
- package/dist/harness/discovery.d.ts +80 -0
- package/dist/harness/discovery.d.ts.map +1 -0
- package/dist/harness/discovery.js +313 -0
- package/dist/harness/hooks/babysitterHooks.d.ts +23 -0
- package/dist/harness/hooks/babysitterHooks.d.ts.map +1 -0
- package/dist/harness/hooks/babysitterHooks.js +162 -0
- package/dist/harness/hooks/promptContexts.d.ts +24 -0
- package/dist/harness/hooks/promptContexts.d.ts.map +1 -0
- package/dist/harness/hooks/promptContexts.js +106 -0
- package/dist/harness/hooks/runState.d.ts +14 -0
- package/dist/harness/hooks/runState.d.ts.map +1 -0
- package/dist/harness/hooks/runState.js +103 -0
- package/dist/harness/hooks/sessionBinding.d.ts +28 -0
- package/dist/harness/hooks/sessionBinding.d.ts.map +1 -0
- package/dist/harness/hooks/sessionBinding.js +153 -0
- package/dist/harness/hooks/stopHookContinuation.d.ts +44 -0
- package/dist/harness/hooks/stopHookContinuation.d.ts.map +1 -0
- package/dist/harness/hooks/stopHookContinuation.js +280 -0
- package/dist/harness/hooks/stopHookHandler.d.ts +35 -0
- package/dist/harness/hooks/stopHookHandler.d.ts.map +1 -0
- package/dist/harness/hooks/stopHookHandler.js +354 -0
- package/dist/harness/hooks/utils.d.ts +43 -0
- package/dist/harness/hooks/utils.d.ts.map +1 -0
- package/dist/harness/hooks/utils.js +215 -0
- package/dist/harness/index.d.ts +20 -0
- package/dist/harness/index.d.ts.map +1 -0
- package/dist/harness/index.js +51 -0
- package/dist/harness/install.d.ts +71 -0
- package/dist/harness/install.d.ts.map +1 -0
- package/dist/harness/install.js +267 -0
- package/dist/harness/installSupport.d.ts +37 -0
- package/dist/harness/installSupport.d.ts.map +1 -0
- package/dist/harness/installSupport.js +203 -0
- package/dist/harness/internal/promptContext.d.ts +3 -0
- package/dist/harness/internal/promptContext.d.ts.map +1 -0
- package/dist/harness/internal/promptContext.js +29 -0
- package/dist/harness/nullAdapter.d.ts +9 -0
- package/dist/harness/nullAdapter.d.ts.map +1 -0
- package/dist/harness/nullAdapter.js +46 -0
- package/dist/harness/registry.d.ts +51 -0
- package/dist/harness/registry.d.ts.map +1 -0
- package/dist/harness/registry.js +235 -0
- package/dist/harness/types.d.ts +200 -0
- package/dist/harness/types.d.ts.map +1 -0
- package/dist/harness/types.js +34 -0
- package/dist/harness/unified/adapter.d.ts +21 -0
- package/dist/harness/unified/adapter.d.ts.map +1 -0
- package/dist/harness/unified/adapter.js +239 -0
- package/dist/harness/unified/capabilities.d.ts +37 -0
- package/dist/harness/unified/capabilities.d.ts.map +1 -0
- package/dist/harness/unified/capabilities.js +79 -0
- package/dist/harness/unified/discovery.d.ts +11 -0
- package/dist/harness/unified/discovery.d.ts.map +1 -0
- package/dist/harness/unified/discovery.js +23 -0
- package/dist/harness/unified/index.d.ts +6 -0
- package/dist/harness/unified/index.d.ts.map +1 -0
- package/dist/harness/unified/index.js +16 -0
- package/dist/harness/unified/promptContext.d.ts +16 -0
- package/dist/harness/unified/promptContext.d.ts.map +1 -0
- package/dist/harness/unified/promptContext.js +56 -0
- package/dist/harness/unified/subprocess.d.ts +57 -0
- package/dist/harness/unified/subprocess.d.ts.map +1 -0
- package/dist/harness/unified/subprocess.js +121 -0
- package/dist/hooks/dispatcher.d.ts +29 -0
- package/dist/hooks/dispatcher.d.ts.map +1 -0
- package/dist/hooks/dispatcher.js +337 -0
- package/dist/hooks/index.d.ts +16 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +20 -0
- package/dist/hooks/types.d.ts +170 -0
- package/dist/hooks/types.d.ts.map +1 -0
- package/dist/hooks/types.js +6 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +76 -0
- package/dist/logging/index.d.ts +3 -0
- package/dist/logging/index.d.ts.map +1 -0
- package/dist/logging/index.js +11 -0
- package/dist/logging/runLogger.d.ts +85 -0
- package/dist/logging/runLogger.d.ts.map +1 -0
- package/dist/logging/runLogger.js +182 -0
- package/dist/mcp/index.d.ts +7 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +53 -0
- package/dist/mcp/server.d.ts +3 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +21 -0
- package/dist/mcp/tools/discovery.d.ts +3 -0
- package/dist/mcp/tools/discovery.d.ts.map +1 -0
- package/dist/mcp/tools/discovery.js +117 -0
- package/dist/mcp/tools/runs.d.ts +3 -0
- package/dist/mcp/tools/runs.d.ts.map +1 -0
- package/dist/mcp/tools/runs.js +289 -0
- package/dist/mcp/tools/sessions.d.ts +3 -0
- package/dist/mcp/tools/sessions.d.ts.map +1 -0
- package/dist/mcp/tools/sessions.js +216 -0
- package/dist/mcp/tools/tasks.d.ts +3 -0
- package/dist/mcp/tools/tasks.d.ts.map +1 -0
- package/dist/mcp/tools/tasks.js +230 -0
- package/dist/mcp/transport/index.d.ts +1 -0
- package/dist/mcp/transport/index.d.ts.map +1 -0
- package/dist/mcp/transport/index.js +2 -0
- package/dist/mcp/util/errors.d.ts +14 -0
- package/dist/mcp/util/errors.d.ts.map +1 -0
- package/dist/mcp/util/errors.js +10 -0
- package/dist/mcp/util/resolve-run-dir.d.ts +6 -0
- package/dist/mcp/util/resolve-run-dir.d.ts.map +1 -0
- package/dist/mcp/util/resolve-run-dir.js +11 -0
- package/dist/plugins/index.d.ts +14 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +51 -0
- package/dist/plugins/marketplace.d.ts +36 -0
- package/dist/plugins/marketplace.d.ts.map +1 -0
- package/dist/plugins/marketplace.js +162 -0
- package/dist/plugins/marketplaceHelpers.d.ts +15 -0
- package/dist/plugins/marketplaceHelpers.d.ts.map +1 -0
- package/dist/plugins/marketplaceHelpers.js +114 -0
- package/dist/plugins/migrations.d.ts +52 -0
- package/dist/plugins/migrations.d.ts.map +1 -0
- package/dist/plugins/migrations.js +151 -0
- package/dist/plugins/packageReader.d.ts +47 -0
- package/dist/plugins/packageReader.d.ts.map +1 -0
- package/dist/plugins/packageReader.js +153 -0
- package/dist/plugins/paths.d.ts +30 -0
- package/dist/plugins/paths.d.ts.map +1 -0
- package/dist/plugins/paths.js +69 -0
- package/dist/plugins/registry.d.ts +54 -0
- package/dist/plugins/registry.d.ts.map +1 -0
- package/dist/plugins/registry.js +116 -0
- package/dist/plugins/types.d.ts +133 -0
- package/dist/plugins/types.d.ts.map +1 -0
- package/dist/plugins/types.js +35 -0
- package/dist/processLibrary/active.d.ts +17 -0
- package/dist/processLibrary/active.d.ts.map +1 -0
- package/dist/processLibrary/active.js +216 -0
- package/dist/processLibrary/activeTypes.d.ts +82 -0
- package/dist/processLibrary/activeTypes.d.ts.map +1 -0
- package/dist/processLibrary/activeTypes.js +6 -0
- package/dist/profiles/index.d.ts +25 -0
- package/dist/profiles/index.d.ts.map +1 -0
- package/dist/profiles/index.js +40 -0
- package/dist/profiles/projectProfile.d.ts +67 -0
- package/dist/profiles/projectProfile.d.ts.map +1 -0
- package/dist/profiles/projectProfile.js +169 -0
- package/dist/profiles/projectProfileMerge.d.ts +3 -0
- package/dist/profiles/projectProfileMerge.d.ts.map +1 -0
- package/dist/profiles/projectProfileMerge.js +175 -0
- package/dist/profiles/projectProfileRender.d.ts +3 -0
- package/dist/profiles/projectProfileRender.d.ts.map +1 -0
- package/dist/profiles/projectProfileRender.js +275 -0
- package/dist/profiles/projectTypes.d.ts +149 -0
- package/dist/profiles/projectTypes.d.ts.map +1 -0
- package/dist/profiles/projectTypes.js +6 -0
- package/dist/profiles/types.d.ts +5 -0
- package/dist/profiles/types.d.ts.map +1 -0
- package/dist/profiles/types.js +11 -0
- package/dist/profiles/userProfile.d.ts +67 -0
- package/dist/profiles/userProfile.d.ts.map +1 -0
- package/dist/profiles/userProfile.js +351 -0
- package/dist/profiles/userProfileRender.d.ts +3 -0
- package/dist/profiles/userProfileRender.d.ts.map +1 -0
- package/dist/profiles/userProfileRender.js +188 -0
- package/dist/profiles/userTypes.d.ts +119 -0
- package/dist/profiles/userTypes.d.ts.map +1 -0
- package/dist/profiles/userTypes.js +6 -0
- package/dist/prompts/babysitterMdDiscovery.d.ts +38 -0
- package/dist/prompts/babysitterMdDiscovery.d.ts.map +1 -0
- package/dist/prompts/babysitterMdDiscovery.js +150 -0
- package/dist/prompts/capabilityCollector.d.ts +48 -0
- package/dist/prompts/capabilityCollector.d.ts.map +1 -0
- package/dist/prompts/capabilityCollector.js +126 -0
- package/dist/prompts/capabilityProcessMap.d.ts +33 -0
- package/dist/prompts/capabilityProcessMap.d.ts.map +1 -0
- package/dist/prompts/capabilityProcessMap.js +105 -0
- package/dist/prompts/commandTemplates.d.ts +4 -0
- package/dist/prompts/commandTemplates.d.ts.map +1 -0
- package/dist/prompts/commandTemplates.js +32 -0
- package/dist/prompts/compose.d.ts +28 -0
- package/dist/prompts/compose.d.ts.map +1 -0
- package/dist/prompts/compose.js +197 -0
- package/dist/prompts/context.d.ts +8 -0
- package/dist/prompts/context.d.ts.map +1 -0
- package/dist/prompts/context.js +13 -0
- package/dist/prompts/contextDetect.d.ts +64 -0
- package/dist/prompts/contextDetect.d.ts.map +1 -0
- package/dist/prompts/contextDetect.js +122 -0
- package/dist/prompts/contextShared.d.ts +6 -0
- package/dist/prompts/contextShared.d.ts.map +1 -0
- package/dist/prompts/contextShared.js +63 -0
- package/dist/prompts/continuityOverlay.d.ts +35 -0
- package/dist/prompts/continuityOverlay.d.ts.map +1 -0
- package/dist/prompts/continuityOverlay.js +210 -0
- package/dist/prompts/index.d.ts +23 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +88 -0
- package/dist/prompts/parts/breakpointHandling.d.ts +8 -0
- package/dist/prompts/parts/breakpointHandling.d.ts.map +1 -0
- package/dist/prompts/parts/breakpointHandling.js +12 -0
- package/dist/prompts/parts/codingPhilosophy.d.ts +7 -0
- package/dist/prompts/parts/codingPhilosophy.d.ts.map +1 -0
- package/dist/prompts/parts/codingPhilosophy.js +11 -0
- package/dist/prompts/parts/completionProof.d.ts +6 -0
- package/dist/prompts/parts/completionProof.d.ts.map +1 -0
- package/dist/prompts/parts/completionProof.js +10 -0
- package/dist/prompts/parts/continuityOverlay.d.ts +2 -0
- package/dist/prompts/parts/continuityOverlay.d.ts.map +1 -0
- package/dist/prompts/parts/continuityOverlay.js +5 -0
- package/dist/prompts/parts/criticalRules.d.ts +7 -0
- package/dist/prompts/parts/criticalRules.d.ts.map +1 -0
- package/dist/prompts/parts/criticalRules.js +29 -0
- package/dist/prompts/parts/dependencies.d.ts +6 -0
- package/dist/prompts/parts/dependencies.d.ts.map +1 -0
- package/dist/prompts/parts/dependencies.js +10 -0
- package/dist/prompts/parts/effects.d.ts +6 -0
- package/dist/prompts/parts/effects.d.ts.map +1 -0
- package/dist/prompts/parts/effects.js +10 -0
- package/dist/prompts/parts/gitSafety.d.ts +7 -0
- package/dist/prompts/parts/gitSafety.d.ts.map +1 -0
- package/dist/prompts/parts/gitSafety.js +11 -0
- package/dist/prompts/parts/index.d.ts +37 -0
- package/dist/prompts/parts/index.d.ts.map +1 -0
- package/dist/prompts/parts/index.js +70 -0
- package/dist/prompts/parts/intentFidelityChecks.d.ts +7 -0
- package/dist/prompts/parts/intentFidelityChecks.d.ts.map +1 -0
- package/dist/prompts/parts/intentFidelityChecks.js +14 -0
- package/dist/prompts/parts/interview.d.ts +6 -0
- package/dist/prompts/parts/interview.d.ts.map +1 -0
- package/dist/prompts/parts/interview.js +18 -0
- package/dist/prompts/parts/iteration.d.ts +6 -0
- package/dist/prompts/parts/iteration.d.ts.map +1 -0
- package/dist/prompts/parts/iteration.js +15 -0
- package/dist/prompts/parts/loopControl.d.ts +11 -0
- package/dist/prompts/parts/loopControl.d.ts.map +1 -0
- package/dist/prompts/parts/loopControl.js +22 -0
- package/dist/prompts/parts/nonNegotiables.d.ts +7 -0
- package/dist/prompts/parts/nonNegotiables.d.ts.map +1 -0
- package/dist/prompts/parts/nonNegotiables.js +14 -0
- package/dist/prompts/parts/outputEfficiency.d.ts +7 -0
- package/dist/prompts/parts/outputEfficiency.d.ts.map +1 -0
- package/dist/prompts/parts/outputEfficiency.js +11 -0
- package/dist/prompts/parts/parallelDispatch.d.ts +15 -0
- package/dist/prompts/parts/parallelDispatch.d.ts.map +1 -0
- package/dist/prompts/parts/parallelDispatch.js +46 -0
- package/dist/prompts/parts/parallelPhaseDetection.d.ts +6 -0
- package/dist/prompts/parts/parallelPhaseDetection.d.ts.map +1 -0
- package/dist/prompts/parts/parallelPhaseDetection.js +10 -0
- package/dist/prompts/parts/priorityLadder.d.ts +7 -0
- package/dist/prompts/parts/priorityLadder.d.ts.map +1 -0
- package/dist/prompts/parts/priorityLadder.js +13 -0
- package/dist/prompts/parts/processCreation.d.ts +6 -0
- package/dist/prompts/parts/processCreation.d.ts.map +1 -0
- package/dist/prompts/parts/processCreation.js +10 -0
- package/dist/prompts/parts/processGuidelines.d.ts +7 -0
- package/dist/prompts/parts/processGuidelines.d.ts.map +1 -0
- package/dist/prompts/parts/processGuidelines.js +11 -0
- package/dist/prompts/parts/projectInstructions.d.ts +8 -0
- package/dist/prompts/parts/projectInstructions.d.ts.map +1 -0
- package/dist/prompts/parts/projectInstructions.js +28 -0
- package/dist/prompts/parts/quickReference.d.ts +6 -0
- package/dist/prompts/parts/quickReference.d.ts.map +1 -0
- package/dist/prompts/parts/quickReference.js +17 -0
- package/dist/prompts/parts/recovery.d.ts +7 -0
- package/dist/prompts/parts/recovery.d.ts.map +1 -0
- package/dist/prompts/parts/recovery.js +11 -0
- package/dist/prompts/parts/resultsPosting.d.ts +7 -0
- package/dist/prompts/parts/resultsPosting.d.ts.map +1 -0
- package/dist/prompts/parts/resultsPosting.js +11 -0
- package/dist/prompts/parts/rootCauseGuardrail.d.ts +7 -0
- package/dist/prompts/parts/rootCauseGuardrail.d.ts.map +1 -0
- package/dist/prompts/parts/rootCauseGuardrail.js +13 -0
- package/dist/prompts/parts/runCreation.d.ts +7 -0
- package/dist/prompts/parts/runCreation.d.ts.map +1 -0
- package/dist/prompts/parts/runCreation.js +61 -0
- package/dist/prompts/parts/runOverlapDetection.d.ts +6 -0
- package/dist/prompts/parts/runOverlapDetection.d.ts.map +1 -0
- package/dist/prompts/parts/runOverlapDetection.js +10 -0
- package/dist/prompts/parts/seeAlso.d.ts +7 -0
- package/dist/prompts/parts/seeAlso.d.ts.map +1 -0
- package/dist/prompts/parts/seeAlso.js +11 -0
- package/dist/prompts/parts/taskExamples.d.ts +7 -0
- package/dist/prompts/parts/taskExamples.d.ts.map +1 -0
- package/dist/prompts/parts/taskExamples.js +11 -0
- package/dist/prompts/parts/taskKinds.d.ts +6 -0
- package/dist/prompts/parts/taskKinds.d.ts.map +1 -0
- package/dist/prompts/parts/taskKinds.js +25 -0
- package/dist/prompts/parts/toolPreferences.d.ts +7 -0
- package/dist/prompts/parts/toolPreferences.d.ts.map +1 -0
- package/dist/prompts/parts/toolPreferences.js +11 -0
- package/dist/prompts/parts/userProfile.d.ts +7 -0
- package/dist/prompts/parts/userProfile.d.ts.map +1 -0
- package/dist/prompts/parts/userProfile.js +11 -0
- package/dist/prompts/runtimeContext.d.ts +30 -0
- package/dist/prompts/runtimeContext.d.ts.map +1 -0
- package/dist/prompts/runtimeContext.js +38 -0
- package/dist/prompts/strata.d.ts +60 -0
- package/dist/prompts/strata.d.ts.map +1 -0
- package/dist/prompts/strata.js +243 -0
- package/dist/prompts/templateRenderer.d.ts +18 -0
- package/dist/prompts/templateRenderer.d.ts.map +1 -0
- package/dist/prompts/templateRenderer.js +131 -0
- package/dist/prompts/templates/breakpoint-handling.md +137 -0
- package/dist/prompts/templates/coding-philosophy.md +12 -0
- package/dist/prompts/templates/commands/assimilate.md +47 -0
- package/dist/prompts/templates/commands/cleanup.md +54 -0
- package/dist/prompts/templates/commands/contrib.md +40 -0
- package/dist/prompts/templates/commands/doctor.md +511 -0
- package/dist/prompts/templates/commands/forever.md +11 -0
- package/dist/prompts/templates/commands/project-install.md +25 -0
- package/dist/prompts/templates/commands/retrospect.md +68 -0
- package/dist/prompts/templates/commands/user-install.md +24 -0
- package/dist/prompts/templates/completion-proof.md +21 -0
- package/dist/prompts/templates/critical-rules.md +73 -0
- package/dist/prompts/templates/dependencies.md +9 -0
- package/dist/prompts/templates/effects.md +46 -0
- package/dist/prompts/templates/git-safety.md +9 -0
- package/dist/prompts/templates/intent-fidelity-checks.md +31 -0
- package/dist/prompts/templates/interview.md +65 -0
- package/dist/prompts/templates/iteration.md +41 -0
- package/dist/prompts/templates/loop-control.md +64 -0
- package/dist/prompts/templates/non-negotiables.md +11 -0
- package/dist/prompts/templates/output-efficiency.md +12 -0
- package/dist/prompts/templates/parallel-phase-detection.md +59 -0
- package/dist/prompts/templates/priority-ladder.md +13 -0
- package/dist/prompts/templates/process-creation.md +130 -0
- package/dist/prompts/templates/process-guidelines.md +106 -0
- package/dist/prompts/templates/quick-reference.md +46 -0
- package/dist/prompts/templates/recovery.md +30 -0
- package/dist/prompts/templates/results-posting.md +69 -0
- package/dist/prompts/templates/root-cause-guardrail.md +14 -0
- package/dist/prompts/templates/run-creation.md +80 -0
- package/dist/prompts/templates/run-overlap-detection.md +65 -0
- package/dist/prompts/templates/see-also.md +4 -0
- package/dist/prompts/templates/task-examples.md +229 -0
- package/dist/prompts/templates/task-kinds.md +106 -0
- package/dist/prompts/templates/tool-preferences.md +8 -0
- package/dist/prompts/templates/user-profile.md +48 -0
- package/dist/prompts/types.d.ts +191 -0
- package/dist/prompts/types.d.ts.map +1 -0
- package/dist/prompts/types.js +7 -0
- package/dist/runtime/asyncEffects.d.ts +22 -0
- package/dist/runtime/asyncEffects.d.ts.map +1 -0
- package/dist/runtime/asyncEffects.js +86 -0
- package/dist/runtime/commitEffectResult.d.ts +12 -0
- package/dist/runtime/commitEffectResult.d.ts.map +1 -0
- package/dist/runtime/commitEffectResult.js +240 -0
- package/dist/runtime/constants.d.ts +2 -0
- package/dist/runtime/constants.d.ts.map +1 -0
- package/dist/runtime/constants.js +5 -0
- package/dist/runtime/createRun.d.ts +3 -0
- package/dist/runtime/createRun.d.ts.map +1 -0
- package/dist/runtime/createRun.js +142 -0
- package/dist/runtime/effectGroupRegistry.d.ts +57 -0
- package/dist/runtime/effectGroupRegistry.d.ts.map +1 -0
- package/dist/runtime/effectGroupRegistry.js +107 -0
- package/dist/runtime/errorSuggestions.d.ts +4 -0
- package/dist/runtime/errorSuggestions.d.ts.map +1 -0
- package/dist/runtime/errorSuggestions.js +98 -0
- package/dist/runtime/errorTemplates.d.ts +101 -0
- package/dist/runtime/errorTemplates.d.ts.map +1 -0
- package/dist/runtime/errorTemplates.js +173 -0
- package/dist/runtime/errorUtils.d.ts +10 -0
- package/dist/runtime/errorUtils.d.ts.map +1 -0
- package/dist/runtime/errorUtils.js +42 -0
- package/dist/runtime/exceptions.d.ts +73 -0
- package/dist/runtime/exceptions.d.ts.map +1 -0
- package/dist/runtime/exceptions.js +197 -0
- package/dist/runtime/hooks/runtime.d.ts +31 -0
- package/dist/runtime/hooks/runtime.d.ts.map +1 -0
- package/dist/runtime/hooks/runtime.js +67 -0
- package/dist/runtime/index.d.ts +18 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +61 -0
- package/dist/runtime/instrumentation.d.ts +6 -0
- package/dist/runtime/instrumentation.d.ts.map +1 -0
- package/dist/runtime/instrumentation.js +14 -0
- package/dist/runtime/intrinsics/breakpoint.d.ts +9 -0
- package/dist/runtime/intrinsics/breakpoint.d.ts.map +1 -0
- package/dist/runtime/intrinsics/breakpoint.js +108 -0
- package/dist/runtime/intrinsics/hook.d.ts +26 -0
- package/dist/runtime/intrinsics/hook.d.ts.map +1 -0
- package/dist/runtime/intrinsics/hook.js +45 -0
- package/dist/runtime/intrinsics/index.d.ts +7 -0
- package/dist/runtime/intrinsics/index.d.ts.map +1 -0
- package/dist/runtime/intrinsics/index.js +15 -0
- package/dist/runtime/intrinsics/orchestratorTask.d.ts +4 -0
- package/dist/runtime/intrinsics/orchestratorTask.d.ts.map +1 -0
- package/dist/runtime/intrinsics/orchestratorTask.js +28 -0
- package/dist/runtime/intrinsics/parallel.d.ts +9 -0
- package/dist/runtime/intrinsics/parallel.d.ts.map +1 -0
- package/dist/runtime/intrinsics/parallel.js +160 -0
- package/dist/runtime/intrinsics/parallelGroup.d.ts +16 -0
- package/dist/runtime/intrinsics/parallelGroup.d.ts.map +1 -0
- package/dist/runtime/intrinsics/parallelGroup.js +105 -0
- package/dist/runtime/intrinsics/sleep.d.ts +4 -0
- package/dist/runtime/intrinsics/sleep.d.ts.map +1 -0
- package/dist/runtime/intrinsics/sleep.js +70 -0
- package/dist/runtime/intrinsics/subprocess.d.ts +5 -0
- package/dist/runtime/intrinsics/subprocess.d.ts.map +1 -0
- package/dist/runtime/intrinsics/subprocess.js +56 -0
- package/dist/runtime/intrinsics/task.d.ts +26 -0
- package/dist/runtime/intrinsics/task.d.ts.map +1 -0
- package/dist/runtime/intrinsics/task.js +132 -0
- package/dist/runtime/intrinsics/taskHelpers.d.ts +20 -0
- package/dist/runtime/intrinsics/taskHelpers.d.ts.map +1 -0
- package/dist/runtime/intrinsics/taskHelpers.js +148 -0
- package/dist/runtime/invocation/hashInvocationKey.d.ts +12 -0
- package/dist/runtime/invocation/hashInvocationKey.d.ts.map +1 -0
- package/dist/runtime/invocation/hashInvocationKey.js +12 -0
- package/dist/runtime/invocation/index.d.ts +3 -0
- package/dist/runtime/invocation/index.d.ts.map +1 -0
- package/dist/runtime/invocation/index.js +5 -0
- package/dist/runtime/orchestrateHelpers.d.ts +16 -0
- package/dist/runtime/orchestrateHelpers.d.ts.map +1 -0
- package/dist/runtime/orchestrateHelpers.js +103 -0
- package/dist/runtime/orchestrateIteration.d.ts +4 -0
- package/dist/runtime/orchestrateIteration.d.ts.map +1 -0
- package/dist/runtime/orchestrateIteration.js +213 -0
- package/dist/runtime/parallelStrategies.d.ts +23 -0
- package/dist/runtime/parallelStrategies.d.ts.map +1 -0
- package/dist/runtime/parallelStrategies.js +79 -0
- package/dist/runtime/policy/engine.d.ts +4 -0
- package/dist/runtime/policy/engine.d.ts.map +1 -0
- package/dist/runtime/policy/engine.js +97 -0
- package/dist/runtime/policy/index.d.ts +5 -0
- package/dist/runtime/policy/index.d.ts.map +1 -0
- package/dist/runtime/policy/index.js +13 -0
- package/dist/runtime/policy/logging.d.ts +6 -0
- package/dist/runtime/policy/logging.d.ts.map +1 -0
- package/dist/runtime/policy/logging.js +43 -0
- package/dist/runtime/policy/types.d.ts +55 -0
- package/dist/runtime/policy/types.d.ts.map +1 -0
- package/dist/runtime/policy/types.js +10 -0
- package/dist/runtime/processContext.d.ts +36 -0
- package/dist/runtime/processContext.d.ts.map +1 -0
- package/dist/runtime/processContext.js +161 -0
- package/dist/runtime/replay/createReplayEngine.d.ts +32 -0
- package/dist/runtime/replay/createReplayEngine.d.ts.map +1 -0
- package/dist/runtime/replay/createReplayEngine.js +189 -0
- package/dist/runtime/replay/effectIndex.d.ts +39 -0
- package/dist/runtime/replay/effectIndex.d.ts.map +1 -0
- package/dist/runtime/replay/effectIndex.js +322 -0
- package/dist/runtime/replay/index.d.ts +7 -0
- package/dist/runtime/replay/index.d.ts.map +1 -0
- package/dist/runtime/replay/index.js +19 -0
- package/dist/runtime/replay/replayCursor.d.ts +7 -0
- package/dist/runtime/replay/replayCursor.d.ts.map +1 -0
- package/dist/runtime/replay/replayCursor.js +22 -0
- package/dist/runtime/replay/stateCache.d.ts +50 -0
- package/dist/runtime/replay/stateCache.d.ts.map +1 -0
- package/dist/runtime/replay/stateCache.js +222 -0
- package/dist/runtime/runLifecycleState.d.ts +7 -0
- package/dist/runtime/runLifecycleState.d.ts.map +1 -0
- package/dist/runtime/runLifecycleState.js +54 -0
- package/dist/runtime/schemaValidator.d.ts +16 -0
- package/dist/runtime/schemaValidator.d.ts.map +1 -0
- package/dist/runtime/schemaValidator.js +92 -0
- package/dist/runtime/types.d.ts +240 -0
- package/dist/runtime/types.d.ts.map +1 -0
- package/dist/runtime/types.js +2 -0
- package/dist/sdkVersion.d.ts +5 -0
- package/dist/sdkVersion.d.ts.map +1 -0
- package/dist/sdkVersion.js +49 -0
- package/dist/session/cleanup.d.ts +17 -0
- package/dist/session/cleanup.d.ts.map +1 -0
- package/dist/session/cleanup.js +212 -0
- package/dist/session/discovery.d.ts +25 -0
- package/dist/session/discovery.d.ts.map +1 -0
- package/dist/session/discovery.js +44 -0
- package/dist/session/index.d.ts +15 -0
- package/dist/session/index.d.ts.map +1 -0
- package/dist/session/index.js +42 -0
- package/dist/session/parse.d.ts +45 -0
- package/dist/session/parse.d.ts.map +1 -0
- package/dist/session/parse.js +176 -0
- package/dist/session/transcript.d.ts +7 -0
- package/dist/session/transcript.d.ts.map +1 -0
- package/dist/session/transcript.js +51 -0
- package/dist/session/types.d.ts +196 -0
- package/dist/session/types.d.ts.map +1 -0
- package/dist/session/types.js +45 -0
- package/dist/session/whoami.d.ts +16 -0
- package/dist/session/whoami.d.ts.map +1 -0
- package/dist/session/whoami.js +108 -0
- package/dist/session/write.d.ts +61 -0
- package/dist/session/write.d.ts.map +1 -0
- package/dist/session/write.js +217 -0
- package/dist/storage/atomic.d.ts +2 -0
- package/dist/storage/atomic.d.ts.map +1 -0
- package/dist/storage/atomic.js +54 -0
- package/dist/storage/cleanup.d.ts +4 -0
- package/dist/storage/cleanup.d.ts.map +1 -0
- package/dist/storage/cleanup.js +96 -0
- package/dist/storage/clock.d.ts +6 -0
- package/dist/storage/clock.d.ts.map +1 -0
- package/dist/storage/clock.js +29 -0
- package/dist/storage/createRunDir.d.ts +6 -0
- package/dist/storage/createRunDir.d.ts.map +1 -0
- package/dist/storage/createRunDir.js +87 -0
- package/dist/storage/icloudWarning.d.ts +6 -0
- package/dist/storage/icloudWarning.d.ts.map +1 -0
- package/dist/storage/icloudWarning.js +84 -0
- package/dist/storage/index.d.ts +9 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +36 -0
- package/dist/storage/journal.d.ts +4 -0
- package/dist/storage/journal.d.ts.map +1 -0
- package/dist/storage/journal.js +133 -0
- package/dist/storage/lock.d.ts +10 -0
- package/dist/storage/lock.d.ts.map +1 -0
- package/dist/storage/lock.js +82 -0
- package/dist/storage/paths.d.ts +23 -0
- package/dist/storage/paths.d.ts.map +1 -0
- package/dist/storage/paths.js +51 -0
- package/dist/storage/runFiles.d.ts +6 -0
- package/dist/storage/runFiles.d.ts.map +1 -0
- package/dist/storage/runFiles.js +44 -0
- package/dist/storage/tasks.d.ts +17 -0
- package/dist/storage/tasks.d.ts.map +1 -0
- package/dist/storage/tasks.js +83 -0
- package/dist/storage/types.d.ts +121 -0
- package/dist/storage/types.d.ts.map +1 -0
- package/dist/storage/types.js +2 -0
- package/dist/storage/ulids.d.ts +11 -0
- package/dist/storage/ulids.d.ts.map +1 -0
- package/dist/storage/ulids.js +25 -0
- package/dist/tasks/batching.d.ts +34 -0
- package/dist/tasks/batching.d.ts.map +1 -0
- package/dist/tasks/batching.js +91 -0
- package/dist/tasks/context.d.ts +11 -0
- package/dist/tasks/context.d.ts.map +1 -0
- package/dist/tasks/context.js +181 -0
- package/dist/tasks/defineTask.d.ts +37 -0
- package/dist/tasks/defineTask.d.ts.map +1 -0
- package/dist/tasks/defineTask.js +99 -0
- package/dist/tasks/effectGroup.d.ts +19 -0
- package/dist/tasks/effectGroup.d.ts.map +1 -0
- package/dist/tasks/effectGroup.js +58 -0
- package/dist/tasks/grouping.d.ts +19 -0
- package/dist/tasks/grouping.d.ts.map +1 -0
- package/dist/tasks/grouping.js +54 -0
- package/dist/tasks/index.d.ts +9 -0
- package/dist/tasks/index.d.ts.map +1 -0
- package/dist/tasks/index.js +24 -0
- package/dist/tasks/kinds/index.d.ts +7 -0
- package/dist/tasks/kinds/index.d.ts.map +1 -0
- package/dist/tasks/kinds/index.js +162 -0
- package/dist/tasks/kinds/resolvers.d.ts +21 -0
- package/dist/tasks/kinds/resolvers.d.ts.map +1 -0
- package/dist/tasks/kinds/resolvers.js +124 -0
- package/dist/tasks/partitioning.d.ts +11 -0
- package/dist/tasks/partitioning.d.ts.map +1 -0
- package/dist/tasks/partitioning.js +20 -0
- package/dist/tasks/registry.d.ts +53 -0
- package/dist/tasks/registry.d.ts.map +1 -0
- package/dist/tasks/registry.js +147 -0
- package/dist/tasks/serializer.d.ts +62 -0
- package/dist/tasks/serializer.d.ts.map +1 -0
- package/dist/tasks/serializer.js +197 -0
- package/dist/tasks/types.d.ts +180 -0
- package/dist/tasks/types.d.ts.map +1 -0
- package/dist/tasks/types.js +2 -0
- package/dist/test-fixtures/kinds/index.d.ts +56 -0
- package/dist/test-fixtures/kinds/index.d.ts.map +1 -0
- package/dist/test-fixtures/kinds/index.js +44 -0
- package/dist/testing/deterministic.d.ts +62 -0
- package/dist/testing/deterministic.d.ts.map +1 -0
- package/dist/testing/deterministic.js +193 -0
- package/dist/testing/deterministicProviders.d.ts +32 -0
- package/dist/testing/deterministicProviders.d.ts.map +1 -0
- package/dist/testing/deterministicProviders.js +263 -0
- package/dist/testing/index.d.ts +4 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +23 -0
- package/dist/testing/runHarness.d.ts +64 -0
- package/dist/testing/runHarness.d.ts.map +1 -0
- package/dist/testing/runHarness.js +165 -0
- package/dist/testing/snapshots.d.ts +17 -0
- package/dist/testing/snapshots.d.ts.map +1 -0
- package/dist/testing/snapshots.js +24 -0
- package/dist/utils/ancestorWalk.d.ts +14 -0
- package/dist/utils/ancestorWalk.d.ts.map +1 -0
- package/dist/utils/ancestorWalk.js +203 -0
- package/dist/utils/compressContext.d.ts +50 -0
- package/dist/utils/compressContext.d.ts.map +1 -0
- package/dist/utils/compressContext.js +180 -0
- package/dist/utils/processLiveness.d.ts +9 -0
- package/dist/utils/processLiveness.d.ts.map +1 -0
- package/dist/utils/processLiveness.js +36 -0
- package/dist/utils/sessionMarker.d.ts +17 -0
- package/dist/utils/sessionMarker.d.ts.map +1 -0
- package/dist/utils/sessionMarker.js +218 -0
- package/package.json +4 -4
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* User Profile Management for Babysitter SDK
|
|
4
|
+
*
|
|
5
|
+
* Provides functions to read, write, merge, and render user profiles.
|
|
6
|
+
* User profiles are stored at `~/.a5c/user-profile.json`
|
|
7
|
+
* with a companion human-readable markdown file alongside.
|
|
8
|
+
*
|
|
9
|
+
* All file operations are synchronous for CJS compatibility.
|
|
10
|
+
* Writes use an atomic temp-file-then-rename strategy to prevent corruption.
|
|
11
|
+
*/
|
|
12
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
+
}
|
|
18
|
+
Object.defineProperty(o, k2, desc);
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.renderUserProfileMarkdown = void 0;
|
|
47
|
+
exports.getUserProfileDir = getUserProfileDir;
|
|
48
|
+
exports.readUserProfile = readUserProfile;
|
|
49
|
+
exports.writeUserProfile = writeUserProfile;
|
|
50
|
+
exports.mergeUserProfile = mergeUserProfile;
|
|
51
|
+
exports.createDefaultUserProfile = createDefaultUserProfile;
|
|
52
|
+
const fs = __importStar(require("fs"));
|
|
53
|
+
const path = __importStar(require("path"));
|
|
54
|
+
const os = __importStar(require("os"));
|
|
55
|
+
const types_1 = require("./types");
|
|
56
|
+
const userProfileRender_1 = require("./userProfileRender");
|
|
57
|
+
var userProfileRender_2 = require("./userProfileRender");
|
|
58
|
+
Object.defineProperty(exports, "renderUserProfileMarkdown", { enumerable: true, get: function () { return userProfileRender_2.renderUserProfileMarkdown; } });
|
|
59
|
+
/**
|
|
60
|
+
* Returns the default directory for storing the user profile.
|
|
61
|
+
*
|
|
62
|
+
* Uses `~/.a5c/` as the user-level configuration directory.
|
|
63
|
+
* The directory may not yet exist on disk.
|
|
64
|
+
*
|
|
65
|
+
* @returns Absolute path to the user profile directory
|
|
66
|
+
*/
|
|
67
|
+
function getUserProfileDir() {
|
|
68
|
+
return path.join(os.homedir(), ".a5c");
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Reads the user profile from disk.
|
|
72
|
+
*
|
|
73
|
+
* Returns `null` if the profile file does not exist or contains
|
|
74
|
+
* malformed JSON. Does not throw on missing or corrupt files.
|
|
75
|
+
*
|
|
76
|
+
* @param profileDir - Directory containing the profile file. Defaults to {@link getUserProfileDir}.
|
|
77
|
+
* @returns The parsed user profile, or `null` if unavailable
|
|
78
|
+
*/
|
|
79
|
+
function readUserProfile(profileDir) {
|
|
80
|
+
const dir = profileDir ?? getUserProfileDir();
|
|
81
|
+
const filePath = path.join(dir, types_1.USER_PROFILE_FILENAME);
|
|
82
|
+
try {
|
|
83
|
+
const raw = fs.readFileSync(filePath, "utf8");
|
|
84
|
+
return JSON.parse(raw);
|
|
85
|
+
}
|
|
86
|
+
catch (_error) {
|
|
87
|
+
return null;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Writes a user profile to disk atomically.
|
|
92
|
+
*
|
|
93
|
+
* Creates the profile directory recursively if it does not exist.
|
|
94
|
+
* Uses a temporary file with rename to prevent partial writes.
|
|
95
|
+
* Also writes a companion markdown summary file for human readability.
|
|
96
|
+
*
|
|
97
|
+
* @param profile - The complete user profile to persist
|
|
98
|
+
* @param profileDir - Directory to write the profile to. Defaults to {@link getUserProfileDir}.
|
|
99
|
+
*/
|
|
100
|
+
function writeUserProfile(profile, profileDir) {
|
|
101
|
+
const dir = profileDir ?? getUserProfileDir();
|
|
102
|
+
fs.mkdirSync(dir, { recursive: true });
|
|
103
|
+
const jsonPath = path.join(dir, types_1.USER_PROFILE_FILENAME);
|
|
104
|
+
const mdPath = path.join(dir, types_1.USER_PROFILE_MD_FILENAME);
|
|
105
|
+
const jsonData = JSON.stringify(profile, null, 2) + "\n";
|
|
106
|
+
// Atomic write for JSON
|
|
107
|
+
const tmpPath = `${jsonPath}.tmp-${process.pid}-${Date.now()}`;
|
|
108
|
+
try {
|
|
109
|
+
fs.writeFileSync(tmpPath, jsonData, "utf8");
|
|
110
|
+
fs.renameSync(tmpPath, jsonPath);
|
|
111
|
+
}
|
|
112
|
+
catch (_error) {
|
|
113
|
+
// Clean up temp file on failure
|
|
114
|
+
try {
|
|
115
|
+
fs.unlinkSync(tmpPath);
|
|
116
|
+
}
|
|
117
|
+
catch (_cleanupError) {
|
|
118
|
+
// Ignore cleanup errors
|
|
119
|
+
}
|
|
120
|
+
throw _error;
|
|
121
|
+
}
|
|
122
|
+
// Write markdown summary (best-effort, not atomic)
|
|
123
|
+
try {
|
|
124
|
+
const markdown = (0, userProfileRender_1.renderUserProfileMarkdown)(profile);
|
|
125
|
+
fs.writeFileSync(mdPath, markdown, "utf8");
|
|
126
|
+
}
|
|
127
|
+
catch (_mdError) {
|
|
128
|
+
// Markdown write failure is non-fatal
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Deep-merges partial updates into an existing user profile.
|
|
133
|
+
*
|
|
134
|
+
* Merge strategy:
|
|
135
|
+
* - **Scalars** (strings, numbers, booleans): overwritten by the update value
|
|
136
|
+
* - **Objects**: spread-merged (shallow merge per nested object)
|
|
137
|
+
* - **Arrays with identifiable items** (having `id`, `name`, `domain`, or `platform` fields):
|
|
138
|
+
* deduplicated by that key, with update items taking precedence
|
|
139
|
+
* - **Arrays of primitives**: deduplicated by value
|
|
140
|
+
* - `updatedAt` is set to the current ISO timestamp
|
|
141
|
+
* - `version` is incremented by 1
|
|
142
|
+
*
|
|
143
|
+
* @param existing - The current user profile
|
|
144
|
+
* @param updates - Partial profile fields to merge in
|
|
145
|
+
* @returns A new merged user profile (does not mutate inputs)
|
|
146
|
+
*/
|
|
147
|
+
function mergeUserProfile(existing, updates) {
|
|
148
|
+
const merged = { ...existing };
|
|
149
|
+
// Merge scalar fields
|
|
150
|
+
if (updates.name !== undefined)
|
|
151
|
+
merged.name = updates.name;
|
|
152
|
+
if (updates.createdAt !== undefined)
|
|
153
|
+
merged.createdAt = updates.createdAt;
|
|
154
|
+
// Merge specialties (deduplicate by domain)
|
|
155
|
+
if (updates.specialties !== undefined) {
|
|
156
|
+
merged.specialties = mergeArrayByKey(existing.specialties, updates.specialties, "domain");
|
|
157
|
+
}
|
|
158
|
+
// Merge expertise levels (object spread)
|
|
159
|
+
if (updates.expertiseLevels !== undefined) {
|
|
160
|
+
merged.expertiseLevels = { ...existing.expertiseLevels };
|
|
161
|
+
for (const [key, value] of Object.entries(updates.expertiseLevels)) {
|
|
162
|
+
merged.expertiseLevels[key] = { ...existing.expertiseLevels[key], ...value };
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
// Merge goals (deduplicate by id)
|
|
166
|
+
if (updates.goals !== undefined) {
|
|
167
|
+
merged.goals = mergeArrayByKey(existing.goals, updates.goals, "id");
|
|
168
|
+
}
|
|
169
|
+
// Merge preferences (shallow spread)
|
|
170
|
+
if (updates.preferences !== undefined) {
|
|
171
|
+
merged.preferences = { ...existing.preferences, ...updates.preferences };
|
|
172
|
+
// Deep merge workingHours if both exist
|
|
173
|
+
if (existing.preferences.workingHours && updates.preferences.workingHours) {
|
|
174
|
+
merged.preferences.workingHours = {
|
|
175
|
+
...existing.preferences.workingHours,
|
|
176
|
+
...updates.preferences.workingHours,
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
// Merge tool preferences (shallow spread)
|
|
181
|
+
if (updates.toolPreferences !== undefined) {
|
|
182
|
+
merged.toolPreferences = { ...existing.toolPreferences, ...updates.toolPreferences };
|
|
183
|
+
// Deduplicate array fields
|
|
184
|
+
if (updates.toolPreferences.packageManagers) {
|
|
185
|
+
merged.toolPreferences.packageManagers = deduplicatePrimitiveArray([
|
|
186
|
+
...(existing.toolPreferences.packageManagers ?? []),
|
|
187
|
+
...updates.toolPreferences.packageManagers,
|
|
188
|
+
]);
|
|
189
|
+
}
|
|
190
|
+
if (updates.toolPreferences.languages) {
|
|
191
|
+
merged.toolPreferences.languages = deduplicatePrimitiveArray([
|
|
192
|
+
...(existing.toolPreferences.languages ?? []),
|
|
193
|
+
...updates.toolPreferences.languages,
|
|
194
|
+
]);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
// Merge breakpoint tolerance
|
|
198
|
+
if (updates.breakpointTolerance !== undefined) {
|
|
199
|
+
merged.breakpointTolerance = {
|
|
200
|
+
...existing.breakpointTolerance,
|
|
201
|
+
...updates.breakpointTolerance,
|
|
202
|
+
};
|
|
203
|
+
if (updates.breakpointTolerance.perCategory) {
|
|
204
|
+
merged.breakpointTolerance.perCategory = {
|
|
205
|
+
...(existing.breakpointTolerance.perCategory ?? {}),
|
|
206
|
+
...updates.breakpointTolerance.perCategory,
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
if (updates.breakpointTolerance.alwaysBreakOn) {
|
|
210
|
+
merged.breakpointTolerance.alwaysBreakOn = deduplicatePrimitiveArray([
|
|
211
|
+
...(existing.breakpointTolerance.alwaysBreakOn ?? []),
|
|
212
|
+
...updates.breakpointTolerance.alwaysBreakOn,
|
|
213
|
+
]);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
// Merge communication style (shallow spread)
|
|
217
|
+
if (updates.communicationStyle !== undefined) {
|
|
218
|
+
merged.communicationStyle = {
|
|
219
|
+
...existing.communicationStyle,
|
|
220
|
+
...updates.communicationStyle,
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
// Merge social profiles (deduplicate by platform)
|
|
224
|
+
if (updates.socialProfiles !== undefined) {
|
|
225
|
+
merged.socialProfiles = mergeArrayByKey(existing.socialProfiles ?? [], updates.socialProfiles, "platform");
|
|
226
|
+
}
|
|
227
|
+
// Merge experience (shallow spread with array handling)
|
|
228
|
+
if (updates.experience !== undefined) {
|
|
229
|
+
merged.experience = { ...existing.experience, ...updates.experience };
|
|
230
|
+
if (updates.experience.industries) {
|
|
231
|
+
merged.experience.industries = deduplicatePrimitiveArray([
|
|
232
|
+
...(existing.experience.industries ?? []),
|
|
233
|
+
...updates.experience.industries,
|
|
234
|
+
]);
|
|
235
|
+
}
|
|
236
|
+
if (updates.experience.previousRoles) {
|
|
237
|
+
merged.experience.previousRoles = mergeArrayByKey(existing.experience.previousRoles ?? [], updates.experience.previousRoles, "title");
|
|
238
|
+
}
|
|
239
|
+
if (updates.experience.education) {
|
|
240
|
+
merged.experience.education = mergeArrayByKey(existing.experience.education ?? [], updates.experience.education, "institution");
|
|
241
|
+
}
|
|
242
|
+
if (updates.experience.certifications) {
|
|
243
|
+
merged.experience.certifications = deduplicatePrimitiveArray([
|
|
244
|
+
...(existing.experience.certifications ?? []),
|
|
245
|
+
...updates.experience.certifications,
|
|
246
|
+
]);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
// Merge external integrations (deduplicate by service)
|
|
250
|
+
if (updates.externalIntegrations !== undefined) {
|
|
251
|
+
merged.externalIntegrations = mergeArrayByKey(existing.externalIntegrations ?? [], updates.externalIntegrations, "service");
|
|
252
|
+
}
|
|
253
|
+
// Merge installed plugins/skills/agents (deduplicate)
|
|
254
|
+
if (updates.installedPlugins !== undefined) {
|
|
255
|
+
merged.installedPlugins = deduplicatePrimitiveArray([
|
|
256
|
+
...(existing.installedPlugins ?? []),
|
|
257
|
+
...updates.installedPlugins,
|
|
258
|
+
]);
|
|
259
|
+
}
|
|
260
|
+
if (updates.installedSkills !== undefined) {
|
|
261
|
+
merged.installedSkills = deduplicatePrimitiveArray([
|
|
262
|
+
...(existing.installedSkills ?? []),
|
|
263
|
+
...updates.installedSkills,
|
|
264
|
+
]);
|
|
265
|
+
}
|
|
266
|
+
if (updates.installedAgents !== undefined) {
|
|
267
|
+
merged.installedAgents = deduplicatePrimitiveArray([
|
|
268
|
+
...(existing.installedAgents ?? []),
|
|
269
|
+
...updates.installedAgents,
|
|
270
|
+
]);
|
|
271
|
+
}
|
|
272
|
+
// Always update metadata
|
|
273
|
+
merged.updatedAt = new Date().toISOString();
|
|
274
|
+
merged.version = existing.version + 1;
|
|
275
|
+
return merged;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Creates a new user profile with sensible defaults.
|
|
279
|
+
*
|
|
280
|
+
* @param name - Display name for the user
|
|
281
|
+
* @returns A complete user profile with default values
|
|
282
|
+
*/
|
|
283
|
+
function createDefaultUserProfile(name) {
|
|
284
|
+
const now = new Date().toISOString();
|
|
285
|
+
return {
|
|
286
|
+
name,
|
|
287
|
+
specialties: [],
|
|
288
|
+
expertiseLevels: {},
|
|
289
|
+
goals: [],
|
|
290
|
+
preferences: {
|
|
291
|
+
verbosity: "normal",
|
|
292
|
+
autonomyLevel: "semi-autonomous",
|
|
293
|
+
riskTolerance: "moderate",
|
|
294
|
+
},
|
|
295
|
+
toolPreferences: {},
|
|
296
|
+
breakpointTolerance: {
|
|
297
|
+
global: "moderate",
|
|
298
|
+
skipBreakpointsForKnownPatterns: false,
|
|
299
|
+
alwaysBreakOn: [],
|
|
300
|
+
},
|
|
301
|
+
communicationStyle: {
|
|
302
|
+
tone: "professional",
|
|
303
|
+
useEmojis: false,
|
|
304
|
+
explanationDepth: "standard",
|
|
305
|
+
preferredResponseFormat: "markdown",
|
|
306
|
+
},
|
|
307
|
+
experience: {},
|
|
308
|
+
createdAt: now,
|
|
309
|
+
updatedAt: now,
|
|
310
|
+
version: 1,
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Renders a human-readable markdown summary of a user profile.
|
|
315
|
+
*
|
|
316
|
+
* @param profile - The user profile to render
|
|
317
|
+
* @returns Markdown-formatted string summarizing the profile
|
|
318
|
+
*/
|
|
319
|
+
// ─── Internal Helpers ─────────────────────────────────────────────────
|
|
320
|
+
/**
|
|
321
|
+
* Merges two arrays of objects, deduplicating by a specified key field.
|
|
322
|
+
* Items from the `updates` array take precedence over `existing` items
|
|
323
|
+
* with the same key value.
|
|
324
|
+
*/
|
|
325
|
+
function mergeArrayByKey(existing, updates, key) {
|
|
326
|
+
const map = new Map();
|
|
327
|
+
for (const item of existing) {
|
|
328
|
+
const keyValue = item[key];
|
|
329
|
+
if (keyValue !== undefined) {
|
|
330
|
+
map.set(keyValue, item);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
for (const item of updates) {
|
|
334
|
+
const keyValue = item[key];
|
|
335
|
+
if (keyValue !== undefined) {
|
|
336
|
+
const prev = map.get(keyValue);
|
|
337
|
+
map.set(keyValue, prev ? { ...prev, ...item } : item);
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
340
|
+
// Items without the key field are appended
|
|
341
|
+
map.set(Symbol(), item);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
return Array.from(map.values());
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Removes duplicate primitive values from an array while preserving order.
|
|
348
|
+
*/
|
|
349
|
+
function deduplicatePrimitiveArray(arr) {
|
|
350
|
+
return [...new Set(arr)];
|
|
351
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userProfileRender.d.ts","sourceRoot":"","sources":["../../src/profiles/userProfileRender.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,WAAW,EAAE,MAAM,SAAS,CAAC;AAE5D,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAkLtE"}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.renderUserProfileMarkdown = renderUserProfileMarkdown;
|
|
4
|
+
function renderUserProfileMarkdown(profile) {
|
|
5
|
+
const lines = [];
|
|
6
|
+
lines.push(`# User Profile: ${profile.name}`);
|
|
7
|
+
lines.push("");
|
|
8
|
+
lines.push(`> Last updated: ${profile.updatedAt} | Version: ${profile.version}`);
|
|
9
|
+
lines.push("");
|
|
10
|
+
if (profile.specialties.length > 0) {
|
|
11
|
+
lines.push("## Specialties");
|
|
12
|
+
lines.push("");
|
|
13
|
+
for (const spec of profile.specialties) {
|
|
14
|
+
const subdomains = spec.subdomains?.length
|
|
15
|
+
? ` (${spec.subdomains.join(", ")})`
|
|
16
|
+
: "";
|
|
17
|
+
const years = spec.yearsActive !== undefined
|
|
18
|
+
? ` - ${spec.yearsActive} years`
|
|
19
|
+
: "";
|
|
20
|
+
lines.push(`- **${spec.domain}**${subdomains}${years}`);
|
|
21
|
+
}
|
|
22
|
+
lines.push("");
|
|
23
|
+
}
|
|
24
|
+
const expertiseEntries = Object.entries(profile.expertiseLevels);
|
|
25
|
+
if (expertiseEntries.length > 0) {
|
|
26
|
+
lines.push("## Expertise Levels");
|
|
27
|
+
lines.push("");
|
|
28
|
+
lines.push("| Skill | Level | Confidence |");
|
|
29
|
+
lines.push("|-------|-------|------------|");
|
|
30
|
+
for (const [skill, rating] of expertiseEntries) {
|
|
31
|
+
lines.push(`| ${skill} | ${rating.level} | ${formatConfidence(rating)} |`);
|
|
32
|
+
}
|
|
33
|
+
lines.push("");
|
|
34
|
+
}
|
|
35
|
+
if (profile.goals.length > 0) {
|
|
36
|
+
lines.push("## Goals");
|
|
37
|
+
lines.push("");
|
|
38
|
+
for (const goal of profile.goals) {
|
|
39
|
+
const priority = goal.priority ? ` [${goal.priority}]` : "";
|
|
40
|
+
const status = goal.status ? ` (${goal.status})` : "";
|
|
41
|
+
lines.push(`- **${goal.category}**${priority}: ${goal.description}${status}`);
|
|
42
|
+
}
|
|
43
|
+
lines.push("");
|
|
44
|
+
}
|
|
45
|
+
lines.push("## Preferences");
|
|
46
|
+
lines.push("");
|
|
47
|
+
if (profile.preferences.verbosity)
|
|
48
|
+
lines.push(`- Verbosity: ${profile.preferences.verbosity}`);
|
|
49
|
+
if (profile.preferences.autonomyLevel)
|
|
50
|
+
lines.push(`- Autonomy: ${profile.preferences.autonomyLevel}`);
|
|
51
|
+
if (profile.preferences.riskTolerance)
|
|
52
|
+
lines.push(`- Risk tolerance: ${profile.preferences.riskTolerance}`);
|
|
53
|
+
if (profile.preferences.learningStyle)
|
|
54
|
+
lines.push(`- Learning style: ${profile.preferences.learningStyle}`);
|
|
55
|
+
if (profile.preferences.workingHours) {
|
|
56
|
+
const wh = profile.preferences.workingHours;
|
|
57
|
+
const parts = [];
|
|
58
|
+
if (wh.start && wh.end)
|
|
59
|
+
parts.push(`${wh.start}-${wh.end}`);
|
|
60
|
+
if (wh.timezone)
|
|
61
|
+
parts.push(wh.timezone);
|
|
62
|
+
if (parts.length > 0)
|
|
63
|
+
lines.push(`- Working hours: ${parts.join(" ")}`);
|
|
64
|
+
}
|
|
65
|
+
lines.push("");
|
|
66
|
+
const toolEntries = Object.entries(profile.toolPreferences).filter(([, value]) => value !== undefined);
|
|
67
|
+
if (toolEntries.length > 0) {
|
|
68
|
+
lines.push("## Tool Preferences");
|
|
69
|
+
lines.push("");
|
|
70
|
+
for (const [key, value] of toolEntries) {
|
|
71
|
+
if (Array.isArray(value)) {
|
|
72
|
+
lines.push(`- ${key}: ${value.join(", ")}`);
|
|
73
|
+
}
|
|
74
|
+
else if (typeof value === "string") {
|
|
75
|
+
lines.push(`- ${key}: ${value}`);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
lines.push("");
|
|
79
|
+
}
|
|
80
|
+
lines.push("## Breakpoint Tolerance");
|
|
81
|
+
lines.push("");
|
|
82
|
+
lines.push(`- Global: **${profile.breakpointTolerance.global}**`);
|
|
83
|
+
if (profile.breakpointTolerance.skipBreakpointsForKnownPatterns) {
|
|
84
|
+
lines.push("- Skip known patterns: yes");
|
|
85
|
+
}
|
|
86
|
+
if (profile.breakpointTolerance.alwaysBreakOn?.length) {
|
|
87
|
+
lines.push(`- Always break on: ${profile.breakpointTolerance.alwaysBreakOn.join(", ")}`);
|
|
88
|
+
}
|
|
89
|
+
if (profile.breakpointTolerance.perCategory) {
|
|
90
|
+
for (const [category, level] of Object.entries(profile.breakpointTolerance.perCategory)) {
|
|
91
|
+
lines.push(`- ${category}: ${level}`);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
lines.push("");
|
|
95
|
+
lines.push("## Communication Style");
|
|
96
|
+
lines.push("");
|
|
97
|
+
if (profile.communicationStyle.tone)
|
|
98
|
+
lines.push(`- Tone: ${profile.communicationStyle.tone}`);
|
|
99
|
+
if (profile.communicationStyle.language)
|
|
100
|
+
lines.push(`- Language: ${profile.communicationStyle.language}`);
|
|
101
|
+
if (profile.communicationStyle.useEmojis !== undefined) {
|
|
102
|
+
lines.push(`- Emojis: ${profile.communicationStyle.useEmojis ? "yes" : "no"}`);
|
|
103
|
+
}
|
|
104
|
+
if (profile.communicationStyle.explanationDepth) {
|
|
105
|
+
lines.push(`- Explanation depth: ${profile.communicationStyle.explanationDepth}`);
|
|
106
|
+
}
|
|
107
|
+
if (profile.communicationStyle.preferredResponseFormat) {
|
|
108
|
+
lines.push(`- Response format: ${profile.communicationStyle.preferredResponseFormat}`);
|
|
109
|
+
}
|
|
110
|
+
lines.push("");
|
|
111
|
+
const experience = profile.experience;
|
|
112
|
+
const hasExperience = experience.currentRole ||
|
|
113
|
+
experience.currentOrganization ||
|
|
114
|
+
experience.totalYearsProfessional !== undefined ||
|
|
115
|
+
(experience.previousRoles && experience.previousRoles.length > 0);
|
|
116
|
+
if (hasExperience) {
|
|
117
|
+
lines.push("## Experience");
|
|
118
|
+
lines.push("");
|
|
119
|
+
if (experience.totalYearsProfessional !== undefined) {
|
|
120
|
+
lines.push(`- Total years: ${experience.totalYearsProfessional}`);
|
|
121
|
+
}
|
|
122
|
+
if (experience.currentRole)
|
|
123
|
+
lines.push(`- Current role: ${experience.currentRole}`);
|
|
124
|
+
if (experience.currentOrganization)
|
|
125
|
+
lines.push(`- Organization: ${experience.currentOrganization}`);
|
|
126
|
+
if (experience.industries?.length)
|
|
127
|
+
lines.push(`- Industries: ${experience.industries.join(", ")}`);
|
|
128
|
+
if (experience.previousRoles?.length) {
|
|
129
|
+
lines.push("- Previous roles:");
|
|
130
|
+
for (const role of experience.previousRoles) {
|
|
131
|
+
const organization = role.organization ? ` at ${role.organization}` : "";
|
|
132
|
+
const duration = role.duration ? ` (${role.duration})` : "";
|
|
133
|
+
lines.push(` - ${role.title}${organization}${duration}`);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
if (experience.education?.length) {
|
|
137
|
+
lines.push("- Education:");
|
|
138
|
+
for (const education of experience.education) {
|
|
139
|
+
const parts = [];
|
|
140
|
+
if (education.degree)
|
|
141
|
+
parts.push(education.degree);
|
|
142
|
+
if (education.field)
|
|
143
|
+
parts.push(`in ${education.field}`);
|
|
144
|
+
if (education.institution)
|
|
145
|
+
parts.push(`from ${education.institution}`);
|
|
146
|
+
if (education.year)
|
|
147
|
+
parts.push(`(${education.year})`);
|
|
148
|
+
lines.push(` - ${parts.join(" ")}`);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
if (experience.certifications?.length) {
|
|
152
|
+
lines.push(`- Certifications: ${experience.certifications.join(", ")}`);
|
|
153
|
+
}
|
|
154
|
+
lines.push("");
|
|
155
|
+
}
|
|
156
|
+
if (profile.socialProfiles?.length) {
|
|
157
|
+
lines.push("## Social Profiles");
|
|
158
|
+
lines.push("");
|
|
159
|
+
for (const socialProfile of profile.socialProfiles) {
|
|
160
|
+
const username = socialProfile.username ? ` (@${socialProfile.username})` : "";
|
|
161
|
+
lines.push(`- [${socialProfile.platform}](${socialProfile.url})${username}`);
|
|
162
|
+
}
|
|
163
|
+
lines.push("");
|
|
164
|
+
}
|
|
165
|
+
const hasExtensions = (profile.installedPlugins?.length ?? 0) > 0 ||
|
|
166
|
+
(profile.installedSkills?.length ?? 0) > 0 ||
|
|
167
|
+
(profile.installedAgents?.length ?? 0) > 0;
|
|
168
|
+
if (hasExtensions) {
|
|
169
|
+
lines.push("## Installed Extensions");
|
|
170
|
+
lines.push("");
|
|
171
|
+
if (profile.installedPlugins?.length) {
|
|
172
|
+
lines.push(`- Plugins: ${profile.installedPlugins.join(", ")}`);
|
|
173
|
+
}
|
|
174
|
+
if (profile.installedSkills?.length) {
|
|
175
|
+
lines.push(`- Skills: ${profile.installedSkills.join(", ")}`);
|
|
176
|
+
}
|
|
177
|
+
if (profile.installedAgents?.length) {
|
|
178
|
+
lines.push(`- Agents: ${profile.installedAgents.join(", ")}`);
|
|
179
|
+
}
|
|
180
|
+
lines.push("");
|
|
181
|
+
}
|
|
182
|
+
return lines.join("\n");
|
|
183
|
+
}
|
|
184
|
+
function formatConfidence(rating) {
|
|
185
|
+
if (rating.confidence === undefined)
|
|
186
|
+
return "-";
|
|
187
|
+
return `${Math.round(rating.confidence * 100)}%`;
|
|
188
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
export declare const USER_PROFILE_SCHEMA_VERSION = "2026.01.user-profile-v1";
|
|
2
|
+
export declare const USER_PROFILE_FILENAME = "user-profile.json";
|
|
3
|
+
export declare const USER_PROFILE_MD_FILENAME = "user-profile.md";
|
|
4
|
+
export type BreakpointTolerance = "minimal" | "low" | "moderate" | "high" | "maximum";
|
|
5
|
+
export type ExpertiseLevel = "novice" | "beginner" | "intermediate" | "advanced" | "expert";
|
|
6
|
+
export interface ExpertiseRating {
|
|
7
|
+
level: ExpertiseLevel;
|
|
8
|
+
confidence?: number;
|
|
9
|
+
lastAssessed?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface UserSpecialty {
|
|
12
|
+
domain: string;
|
|
13
|
+
subdomains?: string[];
|
|
14
|
+
yearsActive?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface ProfileGoal {
|
|
17
|
+
id: string;
|
|
18
|
+
description: string;
|
|
19
|
+
category: string;
|
|
20
|
+
priority?: string;
|
|
21
|
+
status?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface WorkingHours {
|
|
24
|
+
timezone?: string;
|
|
25
|
+
start?: string;
|
|
26
|
+
end?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface UserPreferences {
|
|
29
|
+
verbosity?: string;
|
|
30
|
+
autonomyLevel?: string;
|
|
31
|
+
riskTolerance?: string;
|
|
32
|
+
workingHours?: WorkingHours;
|
|
33
|
+
learningStyle?: string;
|
|
34
|
+
[key: string]: unknown;
|
|
35
|
+
}
|
|
36
|
+
export interface ToolPreferences {
|
|
37
|
+
editor?: string;
|
|
38
|
+
shell?: string;
|
|
39
|
+
terminal?: string;
|
|
40
|
+
packageManagers?: string[];
|
|
41
|
+
languages?: string[];
|
|
42
|
+
operatingSystem?: string;
|
|
43
|
+
[key: string]: unknown;
|
|
44
|
+
}
|
|
45
|
+
export interface BreakpointConfig {
|
|
46
|
+
global: BreakpointTolerance;
|
|
47
|
+
perCategory?: Record<string, BreakpointTolerance>;
|
|
48
|
+
skipBreakpointsForKnownPatterns?: boolean;
|
|
49
|
+
alwaysBreakOn?: string[];
|
|
50
|
+
postureOverrides?: Partial<Record<"read" | "write" | "execute" | "destroy" | "network" | "auth", Partial<{
|
|
51
|
+
name: string;
|
|
52
|
+
allowAutoApprove: boolean;
|
|
53
|
+
minConsecutiveApprovalsForAutoN: number;
|
|
54
|
+
requireExplicitRule: boolean;
|
|
55
|
+
requiredTags: string[];
|
|
56
|
+
requiredApproverLevel: string;
|
|
57
|
+
}>>>;
|
|
58
|
+
disablePostureEnforcement?: boolean;
|
|
59
|
+
}
|
|
60
|
+
export interface CommunicationStyle {
|
|
61
|
+
tone?: string;
|
|
62
|
+
language?: string;
|
|
63
|
+
useEmojis?: boolean;
|
|
64
|
+
explanationDepth?: string;
|
|
65
|
+
preferredResponseFormat?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface SocialProfile {
|
|
68
|
+
platform: string;
|
|
69
|
+
url: string;
|
|
70
|
+
username?: string;
|
|
71
|
+
isPublic?: boolean;
|
|
72
|
+
lastScraped?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface PreviousRole {
|
|
75
|
+
title: string;
|
|
76
|
+
organization?: string;
|
|
77
|
+
duration?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface EducationEntry {
|
|
80
|
+
institution?: string;
|
|
81
|
+
degree?: string;
|
|
82
|
+
field?: string;
|
|
83
|
+
year?: number;
|
|
84
|
+
}
|
|
85
|
+
export interface ProfessionalExperience {
|
|
86
|
+
totalYearsProfessional?: number;
|
|
87
|
+
currentRole?: string;
|
|
88
|
+
currentOrganization?: string;
|
|
89
|
+
industries?: string[];
|
|
90
|
+
previousRoles?: PreviousRole[];
|
|
91
|
+
education?: EducationEntry[];
|
|
92
|
+
certifications?: string[];
|
|
93
|
+
}
|
|
94
|
+
export interface ExternalIntegration {
|
|
95
|
+
service: string;
|
|
96
|
+
category: string;
|
|
97
|
+
enabled: boolean;
|
|
98
|
+
configRef?: string;
|
|
99
|
+
}
|
|
100
|
+
export interface UserProfile {
|
|
101
|
+
name: string;
|
|
102
|
+
specialties: UserSpecialty[];
|
|
103
|
+
expertiseLevels: Record<string, ExpertiseRating>;
|
|
104
|
+
goals: ProfileGoal[];
|
|
105
|
+
preferences: UserPreferences;
|
|
106
|
+
toolPreferences: ToolPreferences;
|
|
107
|
+
breakpointTolerance: BreakpointConfig;
|
|
108
|
+
communicationStyle: CommunicationStyle;
|
|
109
|
+
socialProfiles?: SocialProfile[];
|
|
110
|
+
experience: ProfessionalExperience;
|
|
111
|
+
externalIntegrations?: ExternalIntegration[];
|
|
112
|
+
installedPlugins?: string[];
|
|
113
|
+
installedSkills?: string[];
|
|
114
|
+
installedAgents?: string[];
|
|
115
|
+
createdAt: string;
|
|
116
|
+
updatedAt: string;
|
|
117
|
+
version: number;
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=userTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userTypes.d.ts","sourceRoot":"","sources":["../../src/profiles/userTypes.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.USER_PROFILE_MD_FILENAME = exports.USER_PROFILE_FILENAME = exports.USER_PROFILE_SCHEMA_VERSION = void 0;
|
|
4
|
+
exports.USER_PROFILE_SCHEMA_VERSION = "2026.01.user-profile-v1";
|
|
5
|
+
exports.USER_PROFILE_FILENAME = "user-profile.json";
|
|
6
|
+
exports.USER_PROFILE_MD_FILENAME = "user-profile.md";
|