@agimon-ai/doompi 0.0.1-alpha.73 → 0.0.1-alpha.76
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/docs/server/api-export.md +2 -2
- package/docs/server/getting-started.md +1 -1
- package/package.json +18 -17
- package/src/prompts/doompi-author-extension/SKILL.md +4 -3
- package/src/prompts/doompi-author-extension/references/extension-contract.md +26 -26
- package/dist/_virtual/_rolldown/runtime.cjs +0 -23
- package/dist/antigravity.cjs +0 -5
- package/dist/antigravity.d.cts +0 -2
- package/dist/antigravity.d.mts +0 -2
- package/dist/antigravity.mjs +0 -2
- package/dist/api-contracts.cjs +0 -11
- package/dist/api-contracts.cjs.map +0 -1
- package/dist/api-contracts.d.cts +0 -52
- package/dist/api-contracts.d.cts.map +0 -1
- package/dist/api-contracts.d.mts +0 -52
- package/dist/api-contracts.d.mts.map +0 -1
- package/dist/api-contracts.mjs +0 -7
- package/dist/api-contracts.mjs.map +0 -1
- package/dist/base-command.cjs +0 -3
- package/dist/base-command.d.cts +0 -2
- package/dist/base-command.d.mts +0 -2
- package/dist/base-command.mjs +0 -2
- package/dist/bin/cli.cjs +0 -29
- package/dist/bin/cli.cjs.map +0 -1
- package/dist/bin/cli.d.cts +0 -1
- package/dist/bin/cli.d.mts +0 -1
- package/dist/bin/cli.mjs +0 -30
- package/dist/bin/cli.mjs.map +0 -1
- package/dist/bin/doomRunner.cjs +0 -39
- package/dist/bin/doomRunner.cjs.map +0 -1
- package/dist/bin/doomRunner.d.cts +0 -12
- package/dist/bin/doomRunner.d.cts.map +0 -1
- package/dist/bin/doomRunner.d.mts +0 -12
- package/dist/bin/doomRunner.d.mts.map +0 -1
- package/dist/bin/doomRunner.mjs +0 -38
- package/dist/bin/doomRunner.mjs.map +0 -1
- package/dist/bin/dpi.cjs +0 -12
- package/dist/bin/dpi.cjs.map +0 -1
- package/dist/bin/dpi.d.cts +0 -1
- package/dist/bin/dpi.d.mts +0 -1
- package/dist/bin/dpi.mjs +0 -14
- package/dist/bin/dpi.mjs.map +0 -1
- package/dist/bin/serve.cjs +0 -11
- package/dist/bin/serve.cjs.map +0 -1
- package/dist/bin/serve.d.cts +0 -1
- package/dist/bin/serve.d.mts +0 -1
- package/dist/bin/serve.mjs +0 -13
- package/dist/bin/serve.mjs.map +0 -1
- package/dist/builders/apiContractExport/index.cjs +0 -80
- package/dist/builders/apiContractExport/index.cjs.map +0 -1
- package/dist/builders/apiContractExport/index.mjs +0 -76
- package/dist/builders/apiContractExport/index.mjs.map +0 -1
- package/dist/builders/apiContracts/index.cjs +0 -87
- package/dist/builders/apiContracts/index.cjs.map +0 -1
- package/dist/builders/apiContracts/index.mjs +0 -82
- package/dist/builders/apiContracts/index.mjs.map +0 -1
- package/dist/builders/cli/bootstrapClaim.cjs +0 -53
- package/dist/builders/cli/bootstrapClaim.cjs.map +0 -1
- package/dist/builders/cli/bootstrapClaim.mjs +0 -51
- package/dist/builders/cli/bootstrapClaim.mjs.map +0 -1
- package/dist/builders/cli/bootstrapLocator/index.cjs +0 -171
- package/dist/builders/cli/bootstrapLocator/index.cjs.map +0 -1
- package/dist/builders/cli/bootstrapLocator/index.d.cts +0 -5
- package/dist/builders/cli/bootstrapLocator/index.d.cts.map +0 -1
- package/dist/builders/cli/bootstrapLocator/index.d.mts +0 -5
- package/dist/builders/cli/bootstrapLocator/index.d.mts.map +0 -1
- package/dist/builders/cli/bootstrapLocator/index.mjs +0 -164
- package/dist/builders/cli/bootstrapLocator/index.mjs.map +0 -1
- package/dist/builders/cli/composition.cjs +0 -378
- package/dist/builders/cli/composition.cjs.map +0 -1
- package/dist/builders/cli/composition.d.cts +0 -119
- package/dist/builders/cli/composition.d.cts.map +0 -1
- package/dist/builders/cli/composition.d.mts +0 -119
- package/dist/builders/cli/composition.d.mts.map +0 -1
- package/dist/builders/cli/composition.mjs +0 -351
- package/dist/builders/cli/composition.mjs.map +0 -1
- package/dist/builders/cli/compositionState.cjs +0 -33
- package/dist/builders/cli/compositionState.cjs.map +0 -1
- package/dist/builders/cli/compositionState.d.cts +0 -9
- package/dist/builders/cli/compositionState.d.cts.map +0 -1
- package/dist/builders/cli/compositionState.d.mts +0 -9
- package/dist/builders/cli/compositionState.d.mts.map +0 -1
- package/dist/builders/cli/compositionState.mjs +0 -30
- package/dist/builders/cli/compositionState.mjs.map +0 -1
- package/dist/builders/cli/constants.cjs +0 -20
- package/dist/builders/cli/constants.cjs.map +0 -1
- package/dist/builders/cli/constants.d.cts +0 -17
- package/dist/builders/cli/constants.d.cts.map +0 -1
- package/dist/builders/cli/constants.d.mts +0 -17
- package/dist/builders/cli/constants.d.mts.map +0 -1
- package/dist/builders/cli/constants.mjs +0 -19
- package/dist/builders/cli/constants.mjs.map +0 -1
- package/dist/builders/cli/contextCatalog.cjs +0 -130
- package/dist/builders/cli/contextCatalog.cjs.map +0 -1
- package/dist/builders/cli/contextCatalog.mjs +0 -130
- package/dist/builders/cli/contextCatalog.mjs.map +0 -1
- package/dist/builders/cli/dpiSettings.cjs +0 -118
- package/dist/builders/cli/dpiSettings.cjs.map +0 -1
- package/dist/builders/cli/dpiSettings.mjs +0 -111
- package/dist/builders/cli/dpiSettings.mjs.map +0 -1
- package/dist/builders/cli/entryResolution.cjs +0 -23
- package/dist/builders/cli/entryResolution.cjs.map +0 -1
- package/dist/builders/cli/entryResolution.d.cts +0 -5
- package/dist/builders/cli/entryResolution.d.cts.map +0 -1
- package/dist/builders/cli/entryResolution.d.mts +0 -5
- package/dist/builders/cli/entryResolution.d.mts.map +0 -1
- package/dist/builders/cli/entryResolution.mjs +0 -20
- package/dist/builders/cli/entryResolution.mjs.map +0 -1
- package/dist/builders/cli/extensionAssembler/index.cjs +0 -386
- package/dist/builders/cli/extensionAssembler/index.cjs.map +0 -1
- package/dist/builders/cli/extensionAssembler/index.d.cts +0 -113
- package/dist/builders/cli/extensionAssembler/index.d.cts.map +0 -1
- package/dist/builders/cli/extensionAssembler/index.d.mts +0 -113
- package/dist/builders/cli/extensionAssembler/index.d.mts.map +0 -1
- package/dist/builders/cli/extensionAssembler/index.mjs +0 -376
- package/dist/builders/cli/extensionAssembler/index.mjs.map +0 -1
- package/dist/builders/cli/harnessContext.cjs +0 -186
- package/dist/builders/cli/harnessContext.cjs.map +0 -1
- package/dist/builders/cli/harnessContext.d.cts +0 -51
- package/dist/builders/cli/harnessContext.d.cts.map +0 -1
- package/dist/builders/cli/harnessContext.d.mts +0 -51
- package/dist/builders/cli/harnessContext.d.mts.map +0 -1
- package/dist/builders/cli/harnessContext.mjs +0 -179
- package/dist/builders/cli/harnessContext.mjs.map +0 -1
- package/dist/builders/cli/index.cjs +0 -151
- package/dist/builders/cli/index.cjs.map +0 -1
- package/dist/builders/cli/index.d.cts +0 -22
- package/dist/builders/cli/index.d.cts.map +0 -1
- package/dist/builders/cli/index.d.mts +0 -22
- package/dist/builders/cli/index.d.mts.map +0 -1
- package/dist/builders/cli/index.mjs +0 -147
- package/dist/builders/cli/index.mjs.map +0 -1
- package/dist/builders/cli/launchPlan/index.cjs +0 -102
- package/dist/builders/cli/launchPlan/index.cjs.map +0 -1
- package/dist/builders/cli/launchPlan/index.d.cts +0 -43
- package/dist/builders/cli/launchPlan/index.d.cts.map +0 -1
- package/dist/builders/cli/launchPlan/index.d.mts +0 -43
- package/dist/builders/cli/launchPlan/index.d.mts.map +0 -1
- package/dist/builders/cli/launchPlan/index.mjs +0 -100
- package/dist/builders/cli/launchPlan/index.mjs.map +0 -1
- package/dist/builders/cli/launcherComposition/index.cjs +0 -84
- package/dist/builders/cli/launcherComposition/index.cjs.map +0 -1
- package/dist/builders/cli/launcherComposition/index.mjs +0 -80
- package/dist/builders/cli/launcherComposition/index.mjs.map +0 -1
- package/dist/builders/cli/piExtensionAlias/index.cjs +0 -40
- package/dist/builders/cli/piExtensionAlias/index.cjs.map +0 -1
- package/dist/builders/cli/piExtensionAlias/index.mjs +0 -35
- package/dist/builders/cli/piExtensionAlias/index.mjs.map +0 -1
- package/dist/builders/cli/piExtensionDispatcher/index.cjs +0 -196
- package/dist/builders/cli/piExtensionDispatcher/index.cjs.map +0 -1
- package/dist/builders/cli/piExtensionDispatcher/index.mjs +0 -189
- package/dist/builders/cli/piExtensionDispatcher/index.mjs.map +0 -1
- package/dist/builders/cli/prepare.cjs +0 -64
- package/dist/builders/cli/prepare.cjs.map +0 -1
- package/dist/builders/cli/prepare.mjs +0 -62
- package/dist/builders/cli/prepare.mjs.map +0 -1
- package/dist/builders/cli/projectSettings.cjs +0 -155
- package/dist/builders/cli/projectSettings.cjs.map +0 -1
- package/dist/builders/cli/projectSettings.d.cts +0 -27
- package/dist/builders/cli/projectSettings.d.cts.map +0 -1
- package/dist/builders/cli/projectSettings.d.mts +0 -27
- package/dist/builders/cli/projectSettings.d.mts.map +0 -1
- package/dist/builders/cli/projectSettings.mjs +0 -144
- package/dist/builders/cli/projectSettings.mjs.map +0 -1
- package/dist/builders/cli/runtimeBundle/index.cjs +0 -130
- package/dist/builders/cli/runtimeBundle/index.cjs.map +0 -1
- package/dist/builders/cli/runtimeBundle/index.d.cts +0 -21
- package/dist/builders/cli/runtimeBundle/index.d.cts.map +0 -1
- package/dist/builders/cli/runtimeBundle/index.d.mts +0 -21
- package/dist/builders/cli/runtimeBundle/index.d.mts.map +0 -1
- package/dist/builders/cli/runtimeBundle/index.mjs +0 -126
- package/dist/builders/cli/runtimeBundle/index.mjs.map +0 -1
- package/dist/builders/server/index.cjs +0 -184
- package/dist/builders/server/index.cjs.map +0 -1
- package/dist/builders/server/index.mjs +0 -181
- package/dist/builders/server/index.mjs.map +0 -1
- package/dist/builders/server/runtime.cjs +0 -597
- package/dist/builders/server/runtime.cjs.map +0 -1
- package/dist/builders/server/runtime.mjs +0 -589
- package/dist/builders/server/runtime.mjs.map +0 -1
- package/dist/builders/server/selectionStatus.cjs +0 -12
- package/dist/builders/server/selectionStatus.cjs.map +0 -1
- package/dist/builders/server/selectionStatus.mjs +0 -12
- package/dist/builders/server/selectionStatus.mjs.map +0 -1
- package/dist/builders/server/sessionArguments.cjs +0 -22
- package/dist/builders/server/sessionArguments.cjs.map +0 -1
- package/dist/builders/server/sessionArguments.mjs +0 -22
- package/dist/builders/server/sessionArguments.mjs.map +0 -1
- package/dist/builders/web/bundle.cjs +0 -109
- package/dist/builders/web/bundle.cjs.map +0 -1
- package/dist/builders/web/bundle.d.cts +0 -29
- package/dist/builders/web/bundle.d.cts.map +0 -1
- package/dist/builders/web/bundle.d.mts +0 -29
- package/dist/builders/web/bundle.d.mts.map +0 -1
- package/dist/builders/web/bundle.mjs +0 -106
- package/dist/builders/web/bundle.mjs.map +0 -1
- package/dist/builders/web/bundleAssetPolicy.cjs +0 -96
- package/dist/builders/web/bundleAssetPolicy.cjs.map +0 -1
- package/dist/builders/web/bundleAssetPolicy.d.cts +0 -22
- package/dist/builders/web/bundleAssetPolicy.d.cts.map +0 -1
- package/dist/builders/web/bundleAssetPolicy.d.mts +0 -22
- package/dist/builders/web/bundleAssetPolicy.d.mts.map +0 -1
- package/dist/builders/web/bundleAssetPolicy.mjs +0 -95
- package/dist/builders/web/bundleAssetPolicy.mjs.map +0 -1
- package/dist/builders/web/index.cjs +0 -75
- package/dist/builders/web/index.cjs.map +0 -1
- package/dist/builders/web/index.d.cts +0 -29
- package/dist/builders/web/index.d.cts.map +0 -1
- package/dist/builders/web/index.d.mts +0 -29
- package/dist/builders/web/index.d.mts.map +0 -1
- package/dist/builders/web/index.mjs +0 -72
- package/dist/builders/web/index.mjs.map +0 -1
- package/dist/builders/web/webDevRoots.cjs +0 -27
- package/dist/builders/web/webDevRoots.cjs.map +0 -1
- package/dist/builders/web/webDevRoots.d.cts +0 -22
- package/dist/builders/web/webDevRoots.d.cts.map +0 -1
- package/dist/builders/web/webDevRoots.d.mts +0 -22
- package/dist/builders/web/webDevRoots.d.mts.map +0 -1
- package/dist/builders/web/webDevRoots.mjs +0 -25
- package/dist/builders/web/webDevRoots.mjs.map +0 -1
- package/dist/builders/web/webPluginGenerate.cjs +0 -106
- package/dist/builders/web/webPluginGenerate.cjs.map +0 -1
- package/dist/builders/web/webPluginGenerate.d.cts +0 -28
- package/dist/builders/web/webPluginGenerate.d.cts.map +0 -1
- package/dist/builders/web/webPluginGenerate.d.mts +0 -28
- package/dist/builders/web/webPluginGenerate.d.mts.map +0 -1
- package/dist/builders/web/webPluginGenerate.mjs +0 -99
- package/dist/builders/web/webPluginGenerate.mjs.map +0 -1
- package/dist/builders/web/webPluginManifest.cjs +0 -92
- package/dist/builders/web/webPluginManifest.cjs.map +0 -1
- package/dist/builders/web/webPluginManifest.d.cts +0 -44
- package/dist/builders/web/webPluginManifest.d.cts.map +0 -1
- package/dist/builders/web/webPluginManifest.d.mts +0 -44
- package/dist/builders/web/webPluginManifest.d.mts.map +0 -1
- package/dist/builders/web/webPluginManifest.mjs +0 -88
- package/dist/builders/web/webPluginManifest.mjs.map +0 -1
- package/dist/builders/web/webPluginScan.cjs +0 -53
- package/dist/builders/web/webPluginScan.cjs.map +0 -1
- package/dist/builders/web/webPluginScan.d.cts +0 -16
- package/dist/builders/web/webPluginScan.d.cts.map +0 -1
- package/dist/builders/web/webPluginScan.d.mts +0 -16
- package/dist/builders/web/webPluginScan.d.mts.map +0 -1
- package/dist/builders/web/webPluginScan.mjs +0 -50
- package/dist/builders/web/webPluginScan.mjs.map +0 -1
- package/dist/builders/web/webPluginVite.cjs +0 -115
- package/dist/builders/web/webPluginVite.cjs.map +0 -1
- package/dist/builders/web/webPluginVite.d.cts +0 -27
- package/dist/builders/web/webPluginVite.d.cts.map +0 -1
- package/dist/builders/web/webPluginVite.d.mts +0 -27
- package/dist/builders/web/webPluginVite.d.mts.map +0 -1
- package/dist/builders/web/webPluginVite.mjs +0 -107
- package/dist/builders/web/webPluginVite.mjs.map +0 -1
- package/dist/builders/web.cjs +0 -33
- package/dist/builders/web.d.cts +0 -9
- package/dist/builders/web.d.mts +0 -9
- package/dist/builders/web.mjs +0 -9
- package/dist/cli/cliApp.cjs +0 -177
- package/dist/cli/cliApp.cjs.map +0 -1
- package/dist/cli/cliApp.d.cts +0 -25
- package/dist/cli/cliApp.d.cts.map +0 -1
- package/dist/cli/cliApp.d.mts +0 -25
- package/dist/cli/cliApp.d.mts.map +0 -1
- package/dist/cli/cliApp.mjs +0 -175
- package/dist/cli/cliApp.mjs.map +0 -1
- package/dist/cli/commands/api-export/index.cjs +0 -65
- package/dist/cli/commands/api-export/index.cjs.map +0 -1
- package/dist/cli/commands/api-export/index.mjs +0 -61
- package/dist/cli/commands/api-export/index.mjs.map +0 -1
- package/dist/cli/commands/baseCommand.cjs +0 -16
- package/dist/cli/commands/baseCommand.cjs.map +0 -1
- package/dist/cli/commands/baseCommand.d.cts +0 -24
- package/dist/cli/commands/baseCommand.d.cts.map +0 -1
- package/dist/cli/commands/baseCommand.d.mts +0 -24
- package/dist/cli/commands/baseCommand.d.mts.map +0 -1
- package/dist/cli/commands/baseCommand.mjs +0 -16
- package/dist/cli/commands/baseCommand.mjs.map +0 -1
- package/dist/cli/commands/compat/context.cjs +0 -115
- package/dist/cli/commands/compat/context.cjs.map +0 -1
- package/dist/cli/commands/compat/context.d.cts +0 -22
- package/dist/cli/commands/compat/context.d.cts.map +0 -1
- package/dist/cli/commands/compat/context.d.mts +0 -22
- package/dist/cli/commands/compat/context.d.mts.map +0 -1
- package/dist/cli/commands/compat/context.mjs +0 -110
- package/dist/cli/commands/compat/context.mjs.map +0 -1
- package/dist/cli/commands/compat/help.cjs +0 -26
- package/dist/cli/commands/compat/help.cjs.map +0 -1
- package/dist/cli/commands/compat/help.d.cts +0 -4
- package/dist/cli/commands/compat/help.d.cts.map +0 -1
- package/dist/cli/commands/compat/help.d.mts +0 -4
- package/dist/cli/commands/compat/help.d.mts.map +0 -1
- package/dist/cli/commands/compat/help.mjs +0 -25
- package/dist/cli/commands/compat/help.mjs.map +0 -1
- package/dist/cli/commands/compat/index.cjs +0 -73
- package/dist/cli/commands/compat/index.cjs.map +0 -1
- package/dist/cli/commands/compat/index.d.cts +0 -14
- package/dist/cli/commands/compat/index.d.cts.map +0 -1
- package/dist/cli/commands/compat/index.d.mts +0 -14
- package/dist/cli/commands/compat/index.d.mts.map +0 -1
- package/dist/cli/commands/compat/index.mjs +0 -70
- package/dist/cli/commands/compat/index.mjs.map +0 -1
- package/dist/cli/commands/compat/options.cjs +0 -88
- package/dist/cli/commands/compat/options.cjs.map +0 -1
- package/dist/cli/commands/compat/options.d.cts +0 -15
- package/dist/cli/commands/compat/options.d.cts.map +0 -1
- package/dist/cli/commands/compat/options.d.mts +0 -15
- package/dist/cli/commands/compat/options.d.mts.map +0 -1
- package/dist/cli/commands/compat/options.mjs +0 -86
- package/dist/cli/commands/compat/options.mjs.map +0 -1
- package/dist/cli/commands/compat/providers/antigravity.cjs +0 -294
- package/dist/cli/commands/compat/providers/antigravity.cjs.map +0 -1
- package/dist/cli/commands/compat/providers/antigravity.d.cts +0 -9
- package/dist/cli/commands/compat/providers/antigravity.d.cts.map +0 -1
- package/dist/cli/commands/compat/providers/antigravity.d.mts +0 -9
- package/dist/cli/commands/compat/providers/antigravity.d.mts.map +0 -1
- package/dist/cli/commands/compat/providers/antigravity.mjs +0 -289
- package/dist/cli/commands/compat/providers/antigravity.mjs.map +0 -1
- package/dist/cli/commands/compat/providers/codex.cjs +0 -178
- package/dist/cli/commands/compat/providers/codex.cjs.map +0 -1
- package/dist/cli/commands/compat/providers/codex.d.cts +0 -17
- package/dist/cli/commands/compat/providers/codex.d.cts.map +0 -1
- package/dist/cli/commands/compat/providers/codex.d.mts +0 -17
- package/dist/cli/commands/compat/providers/codex.d.mts.map +0 -1
- package/dist/cli/commands/compat/providers/codex.mjs +0 -170
- package/dist/cli/commands/compat/providers/codex.mjs.map +0 -1
- package/dist/cli/commands/compat/providers/index.cjs +0 -65
- package/dist/cli/commands/compat/providers/index.cjs.map +0 -1
- package/dist/cli/commands/compat/providers/index.d.cts +0 -15
- package/dist/cli/commands/compat/providers/index.d.cts.map +0 -1
- package/dist/cli/commands/compat/providers/index.d.mts +0 -15
- package/dist/cli/commands/compat/providers/index.d.mts.map +0 -1
- package/dist/cli/commands/compat/providers/index.mjs +0 -45
- package/dist/cli/commands/compat/providers/index.mjs.map +0 -1
- package/dist/cli/commands/compat/providers/process.cjs +0 -172
- package/dist/cli/commands/compat/providers/process.cjs.map +0 -1
- package/dist/cli/commands/compat/providers/process.d.cts +0 -33
- package/dist/cli/commands/compat/providers/process.d.cts.map +0 -1
- package/dist/cli/commands/compat/providers/process.d.mts +0 -33
- package/dist/cli/commands/compat/providers/process.d.mts.map +0 -1
- package/dist/cli/commands/compat/providers/process.mjs +0 -159
- package/dist/cli/commands/compat/providers/process.mjs.map +0 -1
- package/dist/cli/commands/compat/providers/shared.cjs +0 -76
- package/dist/cli/commands/compat/providers/shared.cjs.map +0 -1
- package/dist/cli/commands/compat/providers/shared.d.cts +0 -40
- package/dist/cli/commands/compat/providers/shared.d.cts.map +0 -1
- package/dist/cli/commands/compat/providers/shared.d.mts +0 -40
- package/dist/cli/commands/compat/providers/shared.d.mts.map +0 -1
- package/dist/cli/commands/compat/providers/shared.mjs +0 -61
- package/dist/cli/commands/compat/providers/shared.mjs.map +0 -1
- package/dist/cli/commands/compat/types.d.cts +0 -31
- package/dist/cli/commands/compat/types.d.cts.map +0 -1
- package/dist/cli/commands/compat/types.d.mts +0 -31
- package/dist/cli/commands/compat/types.d.mts.map +0 -1
- package/dist/cli/commands/doctor/help.cjs +0 -19
- package/dist/cli/commands/doctor/help.cjs.map +0 -1
- package/dist/cli/commands/doctor/help.d.cts +0 -4
- package/dist/cli/commands/doctor/help.d.cts.map +0 -1
- package/dist/cli/commands/doctor/help.d.mts +0 -4
- package/dist/cli/commands/doctor/help.d.mts.map +0 -1
- package/dist/cli/commands/doctor/help.mjs +0 -19
- package/dist/cli/commands/doctor/help.mjs.map +0 -1
- package/dist/cli/commands/doctor/index.cjs +0 -116
- package/dist/cli/commands/doctor/index.cjs.map +0 -1
- package/dist/cli/commands/doctor/index.d.cts +0 -12
- package/dist/cli/commands/doctor/index.d.cts.map +0 -1
- package/dist/cli/commands/doctor/index.d.mts +0 -12
- package/dist/cli/commands/doctor/index.d.mts.map +0 -1
- package/dist/cli/commands/doctor/index.mjs +0 -112
- package/dist/cli/commands/doctor/index.mjs.map +0 -1
- package/dist/cli/commands/emit-mcp/index.cjs +0 -32
- package/dist/cli/commands/emit-mcp/index.cjs.map +0 -1
- package/dist/cli/commands/emit-mcp/index.d.cts +0 -19
- package/dist/cli/commands/emit-mcp/index.d.cts.map +0 -1
- package/dist/cli/commands/emit-mcp/index.d.mts +0 -19
- package/dist/cli/commands/emit-mcp/index.d.mts.map +0 -1
- package/dist/cli/commands/emit-mcp/index.mjs +0 -31
- package/dist/cli/commands/emit-mcp/index.mjs.map +0 -1
- package/dist/cli/commands/explain/index.cjs +0 -155
- package/dist/cli/commands/explain/index.cjs.map +0 -1
- package/dist/cli/commands/explain/index.d.cts +0 -57
- package/dist/cli/commands/explain/index.d.cts.map +0 -1
- package/dist/cli/commands/explain/index.d.mts +0 -57
- package/dist/cli/commands/explain/index.d.mts.map +0 -1
- package/dist/cli/commands/explain/index.mjs +0 -150
- package/dist/cli/commands/explain/index.mjs.map +0 -1
- package/dist/cli/commands/history-export/help.cjs +0 -18
- package/dist/cli/commands/history-export/help.cjs.map +0 -1
- package/dist/cli/commands/history-export/help.d.cts +0 -4
- package/dist/cli/commands/history-export/help.d.cts.map +0 -1
- package/dist/cli/commands/history-export/help.d.mts +0 -4
- package/dist/cli/commands/history-export/help.d.mts.map +0 -1
- package/dist/cli/commands/history-export/help.mjs +0 -18
- package/dist/cli/commands/history-export/help.mjs.map +0 -1
- package/dist/cli/commands/history-export/index.cjs +0 -76
- package/dist/cli/commands/history-export/index.cjs.map +0 -1
- package/dist/cli/commands/history-export/index.mjs +0 -74
- package/dist/cli/commands/history-export/index.mjs.map +0 -1
- package/dist/cli/commands/history-import/help.cjs +0 -20
- package/dist/cli/commands/history-import/help.cjs.map +0 -1
- package/dist/cli/commands/history-import/help.d.cts +0 -4
- package/dist/cli/commands/history-import/help.d.cts.map +0 -1
- package/dist/cli/commands/history-import/help.d.mts +0 -4
- package/dist/cli/commands/history-import/help.d.mts.map +0 -1
- package/dist/cli/commands/history-import/help.mjs +0 -20
- package/dist/cli/commands/history-import/help.mjs.map +0 -1
- package/dist/cli/commands/history-import/index.cjs +0 -78
- package/dist/cli/commands/history-import/index.cjs.map +0 -1
- package/dist/cli/commands/history-import/index.mjs +0 -75
- package/dist/cli/commands/history-import/index.mjs.map +0 -1
- package/dist/cli/commands/init/constants.cjs +0 -11
- package/dist/cli/commands/init/constants.cjs.map +0 -1
- package/dist/cli/commands/init/constants.mjs +0 -11
- package/dist/cli/commands/init/constants.mjs.map +0 -1
- package/dist/cli/commands/init/help.cjs +0 -17
- package/dist/cli/commands/init/help.cjs.map +0 -1
- package/dist/cli/commands/init/help.d.cts +0 -4
- package/dist/cli/commands/init/help.d.cts.map +0 -1
- package/dist/cli/commands/init/help.d.mts +0 -4
- package/dist/cli/commands/init/help.d.mts.map +0 -1
- package/dist/cli/commands/init/help.mjs +0 -17
- package/dist/cli/commands/init/help.mjs.map +0 -1
- package/dist/cli/commands/init/index.cjs +0 -87
- package/dist/cli/commands/init/index.cjs.map +0 -1
- package/dist/cli/commands/init/index.d.cts +0 -12
- package/dist/cli/commands/init/index.d.cts.map +0 -1
- package/dist/cli/commands/init/index.d.mts +0 -12
- package/dist/cli/commands/init/index.d.mts.map +0 -1
- package/dist/cli/commands/init/index.mjs +0 -83
- package/dist/cli/commands/init/index.mjs.map +0 -1
- package/dist/cli/commands/init/presenter.cjs +0 -170
- package/dist/cli/commands/init/presenter.cjs.map +0 -1
- package/dist/cli/commands/init/presenter.d.cts +0 -8
- package/dist/cli/commands/init/presenter.d.cts.map +0 -1
- package/dist/cli/commands/init/presenter.d.mts +0 -8
- package/dist/cli/commands/init/presenter.d.mts.map +0 -1
- package/dist/cli/commands/init/presenter.mjs +0 -170
- package/dist/cli/commands/init/presenter.mjs.map +0 -1
- package/dist/cli/commands/launch/index.cjs +0 -128
- package/dist/cli/commands/launch/index.cjs.map +0 -1
- package/dist/cli/commands/launch/index.d.cts +0 -29
- package/dist/cli/commands/launch/index.d.cts.map +0 -1
- package/dist/cli/commands/launch/index.d.mts +0 -29
- package/dist/cli/commands/launch/index.d.mts.map +0 -1
- package/dist/cli/commands/launch/index.mjs +0 -122
- package/dist/cli/commands/launch/index.mjs.map +0 -1
- package/dist/cli/commands/sandbox/args.cjs +0 -50
- package/dist/cli/commands/sandbox/args.cjs.map +0 -1
- package/dist/cli/commands/sandbox/args.mjs +0 -50
- package/dist/cli/commands/sandbox/args.mjs.map +0 -1
- package/dist/cli/commands/sandbox/harness.cjs +0 -61
- package/dist/cli/commands/sandbox/harness.cjs.map +0 -1
- package/dist/cli/commands/sandbox/harness.mjs +0 -60
- package/dist/cli/commands/sandbox/harness.mjs.map +0 -1
- package/dist/cli/commands/sandbox/index.cjs +0 -57
- package/dist/cli/commands/sandbox/index.cjs.map +0 -1
- package/dist/cli/commands/sandbox/index.mjs +0 -56
- package/dist/cli/commands/sandbox/index.mjs.map +0 -1
- package/dist/cli/commands/sync/help.cjs +0 -28
- package/dist/cli/commands/sync/help.cjs.map +0 -1
- package/dist/cli/commands/sync/help.d.cts +0 -4
- package/dist/cli/commands/sync/help.d.cts.map +0 -1
- package/dist/cli/commands/sync/help.d.mts +0 -4
- package/dist/cli/commands/sync/help.d.mts.map +0 -1
- package/dist/cli/commands/sync/help.mjs +0 -28
- package/dist/cli/commands/sync/help.mjs.map +0 -1
- package/dist/cli/commands/sync/index.cjs +0 -554
- package/dist/cli/commands/sync/index.cjs.map +0 -1
- package/dist/cli/commands/sync/index.d.cts +0 -53
- package/dist/cli/commands/sync/index.d.cts.map +0 -1
- package/dist/cli/commands/sync/index.d.mts +0 -53
- package/dist/cli/commands/sync/index.d.mts.map +0 -1
- package/dist/cli/commands/sync/index.mjs +0 -540
- package/dist/cli/commands/sync/index.mjs.map +0 -1
- package/dist/cli/commands/sync/prepare.cjs +0 -46
- package/dist/cli/commands/sync/prepare.cjs.map +0 -1
- package/dist/cli/commands/sync/prepare.mjs +0 -42
- package/dist/cli/commands/sync/prepare.mjs.map +0 -1
- package/dist/cli/commands/sync/presenter.cjs +0 -58
- package/dist/cli/commands/sync/presenter.cjs.map +0 -1
- package/dist/cli/commands/sync/presenter.d.cts +0 -16
- package/dist/cli/commands/sync/presenter.d.cts.map +0 -1
- package/dist/cli/commands/sync/presenter.d.mts +0 -16
- package/dist/cli/commands/sync/presenter.d.mts.map +0 -1
- package/dist/cli/commands/sync/presenter.mjs +0 -57
- package/dist/cli/commands/sync/presenter.mjs.map +0 -1
- package/dist/cli/commands/sync/workflow.cjs +0 -100
- package/dist/cli/commands/sync/workflow.cjs.map +0 -1
- package/dist/cli/commands/sync/workflow.mjs +0 -97
- package/dist/cli/commands/sync/workflow.mjs.map +0 -1
- package/dist/cli/dpi.cjs +0 -98
- package/dist/cli/dpi.cjs.map +0 -1
- package/dist/cli/dpi.mjs +0 -91
- package/dist/cli/dpi.mjs.map +0 -1
- package/dist/cli/harnessOptions.cjs +0 -60
- package/dist/cli/harnessOptions.cjs.map +0 -1
- package/dist/cli/harnessOptions.d.cts +0 -24
- package/dist/cli/harnessOptions.d.cts.map +0 -1
- package/dist/cli/harnessOptions.d.mts +0 -24
- package/dist/cli/harnessOptions.d.mts.map +0 -1
- package/dist/cli/harnessOptions.mjs +0 -57
- package/dist/cli/harnessOptions.mjs.map +0 -1
- package/dist/cli/help.cjs +0 -89
- package/dist/cli/help.cjs.map +0 -1
- package/dist/cli/help.d.cts +0 -12
- package/dist/cli/help.d.cts.map +0 -1
- package/dist/cli/help.d.mts +0 -12
- package/dist/cli/help.d.mts.map +0 -1
- package/dist/cli/help.mjs +0 -83
- package/dist/cli/help.mjs.map +0 -1
- package/dist/cli/matrixOptions.cjs +0 -178
- package/dist/cli/matrixOptions.cjs.map +0 -1
- package/dist/cli/matrixOptions.d.cts +0 -90
- package/dist/cli/matrixOptions.d.cts.map +0 -1
- package/dist/cli/matrixOptions.d.mts +0 -90
- package/dist/cli/matrixOptions.d.mts.map +0 -1
- package/dist/cli/matrixOptions.mjs +0 -151
- package/dist/cli/matrixOptions.mjs.map +0 -1
- package/dist/cli/options.cjs +0 -306
- package/dist/cli/options.cjs.map +0 -1
- package/dist/cli/options.d.cts +0 -5
- package/dist/cli/options.d.cts.map +0 -1
- package/dist/cli/options.d.mts +0 -5
- package/dist/cli/options.d.mts.map +0 -1
- package/dist/cli/options.mjs +0 -304
- package/dist/cli/options.mjs.map +0 -1
- package/dist/cli/router.cjs +0 -59
- package/dist/cli/router.cjs.map +0 -1
- package/dist/cli/router.d.cts +0 -32
- package/dist/cli/router.d.cts.map +0 -1
- package/dist/cli/router.d.mts +0 -32
- package/dist/cli/router.d.mts.map +0 -1
- package/dist/cli/router.mjs +0 -56
- package/dist/cli/router.mjs.map +0 -1
- package/dist/cli/server/options.cjs +0 -71
- package/dist/cli/server/options.cjs.map +0 -1
- package/dist/cli/server/options.mjs +0 -70
- package/dist/cli/server/options.mjs.map +0 -1
- package/dist/cli/server/run.cjs +0 -36
- package/dist/cli/server/run.cjs.map +0 -1
- package/dist/cli/server/run.mjs +0 -36
- package/dist/cli/server/run.mjs.map +0 -1
- package/dist/cli-app.cjs +0 -5
- package/dist/cli-app.d.cts +0 -2
- package/dist/cli-app.d.mts +0 -2
- package/dist/cli-app.mjs +0 -2
- package/dist/cli.cjs +0 -28
- package/dist/cli.d.cts +0 -11
- package/dist/cli.d.mts +0 -11
- package/dist/cli.mjs +0 -11
- package/dist/codex.cjs +0 -8
- package/dist/codex.d.cts +0 -2
- package/dist/codex.d.mts +0 -2
- package/dist/codex.mjs +0 -2
- package/dist/commands.cjs +0 -23
- package/dist/commands.d.cts +0 -9
- package/dist/commands.d.mts +0 -9
- package/dist/commands.mjs +0 -9
- package/dist/compatibility-command.cjs +0 -4
- package/dist/compatibility-command.d.cts +0 -2
- package/dist/compatibility-command.d.mts +0 -2
- package/dist/compatibility-command.mjs +0 -2
- package/dist/compatibility-context.cjs +0 -3
- package/dist/compatibility-context.d.cts +0 -2
- package/dist/compatibility-context.d.mts +0 -2
- package/dist/compatibility-context.mjs +0 -2
- package/dist/compatibility-options.cjs +0 -5
- package/dist/compatibility-options.d.cts +0 -2
- package/dist/compatibility-options.d.mts +0 -2
- package/dist/compatibility-options.mjs +0 -2
- package/dist/compatibility.cjs +0 -27
- package/dist/compatibility.d.cts +0 -6
- package/dist/compatibility.d.mts +0 -6
- package/dist/compatibility.mjs +0 -6
- package/dist/compiler/cache.cjs +0 -331
- package/dist/compiler/cache.cjs.map +0 -1
- package/dist/compiler/cache.mjs +0 -323
- package/dist/compiler/cache.mjs.map +0 -1
- package/dist/compiler/index.cjs +0 -977
- package/dist/compiler/index.cjs.map +0 -1
- package/dist/compiler/index.mjs +0 -969
- package/dist/compiler/index.mjs.map +0 -1
- package/dist/compiler/inputs.cjs +0 -83
- package/dist/compiler/inputs.cjs.map +0 -1
- package/dist/compiler/inputs.mjs +0 -78
- package/dist/compiler/inputs.mjs.map +0 -1
- package/dist/composer.cjs +0 -28
- package/dist/composer.d.cts +0 -4
- package/dist/composer.d.mts +0 -4
- package/dist/composer.mjs +0 -4
- package/dist/composition/harnessState/index.cjs +0 -48
- package/dist/composition/harnessState/index.cjs.map +0 -1
- package/dist/composition/harnessState/index.d.cts +0 -19
- package/dist/composition/harnessState/index.d.cts.map +0 -1
- package/dist/composition/harnessState/index.d.mts +0 -19
- package/dist/composition/harnessState/index.d.mts.map +0 -1
- package/dist/composition/harnessState/index.mjs +0 -34
- package/dist/composition/harnessState/index.mjs.map +0 -1
- package/dist/composition/layerPackageInstaller/index.cjs +0 -342
- package/dist/composition/layerPackageInstaller/index.cjs.map +0 -1
- package/dist/composition/layerPackageInstaller/index.d.cts +0 -45
- package/dist/composition/layerPackageInstaller/index.d.cts.map +0 -1
- package/dist/composition/layerPackageInstaller/index.d.mts +0 -45
- package/dist/composition/layerPackageInstaller/index.d.mts.map +0 -1
- package/dist/composition/layerPackageInstaller/index.mjs +0 -334
- package/dist/composition/layerPackageInstaller/index.mjs.map +0 -1
- package/dist/composition/projectTrust/index.cjs +0 -51
- package/dist/composition/projectTrust/index.cjs.map +0 -1
- package/dist/composition/projectTrust/index.d.cts +0 -22
- package/dist/composition/projectTrust/index.d.cts.map +0 -1
- package/dist/composition/projectTrust/index.d.mts +0 -22
- package/dist/composition/projectTrust/index.d.mts.map +0 -1
- package/dist/composition/projectTrust/index.mjs +0 -48
- package/dist/composition/projectTrust/index.mjs.map +0 -1
- package/dist/composition/repository/index.cjs +0 -69
- package/dist/composition/repository/index.cjs.map +0 -1
- package/dist/composition/repository/index.d.cts +0 -22
- package/dist/composition/repository/index.d.cts.map +0 -1
- package/dist/composition/repository/index.d.mts +0 -22
- package/dist/composition/repository/index.d.mts.map +0 -1
- package/dist/composition/repository/index.mjs +0 -64
- package/dist/composition/repository/index.mjs.map +0 -1
- package/dist/composition/syncDrift/index.cjs +0 -132
- package/dist/composition/syncDrift/index.cjs.map +0 -1
- package/dist/composition/syncDrift/index.d.cts +0 -39
- package/dist/composition/syncDrift/index.d.cts.map +0 -1
- package/dist/composition/syncDrift/index.d.mts +0 -39
- package/dist/composition/syncDrift/index.d.mts.map +0 -1
- package/dist/composition/syncDrift/index.mjs +0 -125
- package/dist/composition/syncDrift/index.mjs.map +0 -1
- package/dist/composition/syncState/index.cjs +0 -593
- package/dist/composition/syncState/index.cjs.map +0 -1
- package/dist/composition/syncState/index.d.cts +0 -188
- package/dist/composition/syncState/index.d.cts.map +0 -1
- package/dist/composition/syncState/index.d.mts +0 -188
- package/dist/composition/syncState/index.d.mts.map +0 -1
- package/dist/composition/syncState/index.mjs +0 -559
- package/dist/composition/syncState/index.mjs.map +0 -1
- package/dist/composition/transitionLayers.cjs +0 -17
- package/dist/composition/transitionLayers.cjs.map +0 -1
- package/dist/composition/transitionLayers.d.cts +0 -6
- package/dist/composition/transitionLayers.d.cts.map +0 -1
- package/dist/composition/transitionLayers.d.mts +0 -6
- package/dist/composition/transitionLayers.d.mts.map +0 -1
- package/dist/composition/transitionLayers.mjs +0 -16
- package/dist/composition/transitionLayers.mjs.map +0 -1
- package/dist/composition/types/harness.d.cts +0 -49
- package/dist/composition/types/harness.d.cts.map +0 -1
- package/dist/composition/types/harness.d.mts +0 -49
- package/dist/composition/types/harness.d.mts.map +0 -1
- package/dist/config.cjs +0 -163
- package/dist/config.d.cts +0 -7
- package/dist/config.d.mts +0 -7
- package/dist/config.mjs +0 -7
- package/dist/emit-mcp-command.cjs +0 -4
- package/dist/emit-mcp-command.d.cts +0 -2
- package/dist/emit-mcp-command.d.mts +0 -2
- package/dist/emit-mcp-command.mjs +0 -2
- package/dist/explain-command.cjs +0 -5
- package/dist/explain-command.d.cts +0 -2
- package/dist/explain-command.d.mts +0 -2
- package/dist/explain-command.mjs +0 -2
- package/dist/extensions/agent-model.cjs +0 -41
- package/dist/extensions/agent-model.cjs.map +0 -1
- package/dist/extensions/agent-model.d.cts +0 -22
- package/dist/extensions/agent-model.d.cts.map +0 -1
- package/dist/extensions/agent-model.d.mts +0 -22
- package/dist/extensions/agent-model.d.mts.map +0 -1
- package/dist/extensions/agent-model.mjs +0 -35
- package/dist/extensions/agent-model.mjs.map +0 -1
- package/dist/extensions/composed-pi.cjs +0 -46
- package/dist/extensions/composed-pi.cjs.map +0 -1
- package/dist/extensions/composed-pi.d.cts +0 -13
- package/dist/extensions/composed-pi.d.cts.map +0 -1
- package/dist/extensions/composed-pi.d.mts +0 -13
- package/dist/extensions/composed-pi.d.mts.map +0 -1
- package/dist/extensions/composed-pi.mjs +0 -41
- package/dist/extensions/composed-pi.mjs.map +0 -1
- package/dist/extensions/context-catalog.cjs +0 -96
- package/dist/extensions/context-catalog.cjs.map +0 -1
- package/dist/extensions/context-catalog.d.cts +0 -4
- package/dist/extensions/context-catalog.d.cts.map +0 -1
- package/dist/extensions/context-catalog.d.mts +0 -5
- package/dist/extensions/context-catalog.d.mts.map +0 -1
- package/dist/extensions/context-catalog.mjs +0 -96
- package/dist/extensions/context-catalog.mjs.map +0 -1
- package/dist/extensions/cordis-finalizer.cjs +0 -24
- package/dist/extensions/cordis-finalizer.cjs.map +0 -1
- package/dist/extensions/cordis-finalizer.d.cts +0 -7
- package/dist/extensions/cordis-finalizer.d.cts.map +0 -1
- package/dist/extensions/cordis-finalizer.d.mts +0 -7
- package/dist/extensions/cordis-finalizer.d.mts.map +0 -1
- package/dist/extensions/cordis-finalizer.mjs +0 -19
- package/dist/extensions/cordis-finalizer.mjs.map +0 -1
- package/dist/extensions/cordis-host.cjs +0 -19
- package/dist/extensions/cordis-host.cjs.map +0 -1
- package/dist/extensions/cordis-host.d.cts +0 -7
- package/dist/extensions/cordis-host.d.cts.map +0 -1
- package/dist/extensions/cordis-host.d.mts +0 -7
- package/dist/extensions/cordis-host.d.mts.map +0 -1
- package/dist/extensions/cordis-host.mjs +0 -14
- package/dist/extensions/cordis-host.mjs.map +0 -1
- package/dist/extensions/effort.cjs +0 -54
- package/dist/extensions/effort.cjs.map +0 -1
- package/dist/extensions/effort.d.cts +0 -8
- package/dist/extensions/effort.d.cts.map +0 -1
- package/dist/extensions/effort.d.mts +0 -8
- package/dist/extensions/effort.d.mts.map +0 -1
- package/dist/extensions/effort.mjs +0 -48
- package/dist/extensions/effort.mjs.map +0 -1
- package/dist/extensions/launcher-bootstrap.cjs +0 -38
- package/dist/extensions/launcher-bootstrap.cjs.map +0 -1
- package/dist/extensions/launcher-bootstrap.d.cts +0 -16
- package/dist/extensions/launcher-bootstrap.d.cts.map +0 -1
- package/dist/extensions/launcher-bootstrap.d.mts +0 -16
- package/dist/extensions/launcher-bootstrap.d.mts.map +0 -1
- package/dist/extensions/launcher-bootstrap.mjs +0 -33
- package/dist/extensions/launcher-bootstrap.mjs.map +0 -1
- package/dist/extensions/ollama-provider.cjs +0 -32
- package/dist/extensions/ollama-provider.cjs.map +0 -1
- package/dist/extensions/ollama-provider.d.cts +0 -5
- package/dist/extensions/ollama-provider.d.cts.map +0 -1
- package/dist/extensions/ollama-provider.d.mts +0 -5
- package/dist/extensions/ollama-provider.d.mts.map +0 -1
- package/dist/extensions/ollama-provider.mjs +0 -32
- package/dist/extensions/ollama-provider.mjs.map +0 -1
- package/dist/extensions/pi.cjs +0 -63
- package/dist/extensions/pi.cjs.map +0 -1
- package/dist/extensions/pi.d.cts +0 -7
- package/dist/extensions/pi.d.cts.map +0 -1
- package/dist/extensions/pi.d.mts +0 -7
- package/dist/extensions/pi.d.mts.map +0 -1
- package/dist/extensions/pi.mjs +0 -58
- package/dist/extensions/pi.mjs.map +0 -1
- package/dist/extensions/server.cjs +0 -20
- package/dist/extensions/server.cjs.map +0 -1
- package/dist/extensions/server.d.cts +0 -5
- package/dist/extensions/server.d.cts.map +0 -1
- package/dist/extensions/server.d.mts +0 -5
- package/dist/extensions/server.d.mts.map +0 -1
- package/dist/extensions/server.mjs +0 -15
- package/dist/extensions/server.mjs.map +0 -1
- package/dist/extensions/style-system.cjs +0 -234
- package/dist/extensions/style-system.cjs.map +0 -1
- package/dist/extensions/style-system.d.cts +0 -32
- package/dist/extensions/style-system.d.cts.map +0 -1
- package/dist/extensions/style-system.d.mts +0 -32
- package/dist/extensions/style-system.d.mts.map +0 -1
- package/dist/extensions/style-system.mjs +0 -219
- package/dist/extensions/style-system.mjs.map +0 -1
- package/dist/extensions/terminal-child-session.cjs +0 -76
- package/dist/extensions/terminal-child-session.cjs.map +0 -1
- package/dist/extensions/terminal-child-session.d.cts +0 -7
- package/dist/extensions/terminal-child-session.d.cts.map +0 -1
- package/dist/extensions/terminal-child-session.d.mts +0 -7
- package/dist/extensions/terminal-child-session.d.mts.map +0 -1
- package/dist/extensions/terminal-child-session.mjs +0 -69
- package/dist/extensions/terminal-child-session.mjs.map +0 -1
- package/dist/extensions/transition-coordinator.cjs +0 -154
- package/dist/extensions/transition-coordinator.cjs.map +0 -1
- package/dist/extensions/transition-coordinator.d.cts +0 -8
- package/dist/extensions/transition-coordinator.d.cts.map +0 -1
- package/dist/extensions/transition-coordinator.d.mts +0 -8
- package/dist/extensions/transition-coordinator.d.mts.map +0 -1
- package/dist/extensions/transition-coordinator.mjs +0 -146
- package/dist/extensions/transition-coordinator.mjs.map +0 -1
- package/dist/harness-context.cjs +0 -5
- package/dist/harness-context.d.cts +0 -2
- package/dist/harness-context.d.mts +0 -2
- package/dist/harness-context.mjs +0 -2
- package/dist/harness-state.cjs +0 -19
- package/dist/harness-state.d.cts +0 -2
- package/dist/harness-state.d.mts +0 -2
- package/dist/harness-state.mjs +0 -2
- package/dist/help.cjs +0 -16
- package/dist/help.d.cts +0 -8
- package/dist/help.d.mts +0 -8
- package/dist/help.mjs +0 -8
- package/dist/index.cjs +0 -368
- package/dist/index.d.cts +0 -49
- package/dist/index.d.mts +0 -49
- package/dist/index.mjs +0 -46
- package/dist/init-command.cjs +0 -4
- package/dist/init-command.d.cts +0 -2
- package/dist/init-command.d.mts +0 -2
- package/dist/init-command.mjs +0 -2
- package/dist/launch-command.cjs +0 -7
- package/dist/launch-command.d.cts +0 -2
- package/dist/launch-command.d.mts +0 -2
- package/dist/launch-command.mjs +0 -2
- package/dist/matrix-options.cjs +0 -28
- package/dist/matrix-options.d.cts +0 -2
- package/dist/matrix-options.d.mts +0 -2
- package/dist/matrix-options.mjs +0 -2
- package/dist/matrix-switcher.cjs +0 -11
- package/dist/matrix-switcher.d.cts +0 -3
- package/dist/matrix-switcher.d.mts +0 -3
- package/dist/matrix-switcher.mjs +0 -3
- package/dist/mcp-filter.cjs +0 -9
- package/dist/mcp-filter.d.cts +0 -1
- package/dist/mcp-filter.d.mts +0 -1
- package/dist/mcp-filter.mjs +0 -2
- package/dist/options.cjs +0 -3
- package/dist/options.d.cts +0 -2
- package/dist/options.d.mts +0 -2
- package/dist/options.mjs +0 -2
- package/dist/process.cjs +0 -12
- package/dist/process.d.cts +0 -2
- package/dist/process.d.mts +0 -2
- package/dist/process.mjs +0 -2
- package/dist/project-trust.cjs +0 -6
- package/dist/project-trust.d.cts +0 -2
- package/dist/project-trust.d.mts +0 -2
- package/dist/project-trust.mjs +0 -2
- package/dist/repository.cjs +0 -5
- package/dist/repository.d.cts +0 -2
- package/dist/repository.d.mts +0 -2
- package/dist/repository.mjs +0 -2
- package/dist/resource-collector.cjs +0 -9
- package/dist/resource-collector.d.cts +0 -1
- package/dist/resource-collector.d.mts +0 -1
- package/dist/resource-collector.mjs +0 -2
- package/dist/services.cjs +0 -154
- package/dist/services.d.cts +0 -21
- package/dist/services.d.mts +0 -21
- package/dist/services.mjs +0 -21
- package/dist/shared.cjs +0 -18
- package/dist/shared.d.cts +0 -2
- package/dist/shared.d.mts +0 -2
- package/dist/shared.mjs +0 -2
- package/dist/sync-command.cjs +0 -10
- package/dist/sync-command.d.cts +0 -2
- package/dist/sync-command.d.mts +0 -2
- package/dist/sync-command.mjs +0 -2
- package/dist/sync-state.cjs +0 -33
- package/dist/sync-state.d.cts +0 -2
- package/dist/sync-state.d.mts +0 -2
- package/dist/sync-state.mjs +0 -2
- package/dist/utils.cjs +0 -6
- package/dist/utils.d.cts +0 -3
- package/dist/utils.d.mts +0 -3
- package/dist/utils.mjs +0 -3
|
@@ -79,8 +79,8 @@ Source schemas use JSON Schema draft-07, including TypeBox output. The exporter
|
|
|
79
79
|
The exporter is a separate `api-export` command, not a `sync` flag. For a local distribution build:
|
|
80
80
|
|
|
81
81
|
```sh
|
|
82
|
-
node packages/
|
|
83
|
-
node packages/
|
|
82
|
+
node packages/cli/doompi/dist/bin/cli.mjs sync
|
|
83
|
+
node packages/cli/doompi/dist/bin/cli.mjs api-export --out /tmp/doompi-api-schema --strict
|
|
84
84
|
```
|
|
85
85
|
|
|
86
86
|
OpenAPI uses direct settings routes, plural `plugins` mounts, and workspace-nested session resources. AsyncAPI declares `/api/ws`, `/api/workspaces/{workspaceId}/ws`, and `/api/workspaces/{workspaceId}/sessions/{sessionId}/ws`. The global channel also declares the routed workspace and session operations available through the aggregate hub connection. `x-doompi.transportScope` identifies the addressed channel separately from the operation's composition scope.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/doompi",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.76",
|
|
4
4
|
"description": "Opinionated, composable Pi distribution for scoped agent tools, skills, MCP servers, and developer workflows.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
22
|
"url": "git+https://github.com/AgiFlow/doompi.git",
|
|
23
|
-
"directory": "packages/
|
|
23
|
+
"directory": "packages/cli/doompi"
|
|
24
24
|
},
|
|
25
25
|
"bin": {
|
|
26
26
|
"doom-runner": "./dist/bin/doomRunner.mjs",
|
|
@@ -277,19 +277,19 @@
|
|
|
277
277
|
"registry": "https://registry.npmjs.org/"
|
|
278
278
|
},
|
|
279
279
|
"dependencies": {
|
|
280
|
-
"@agimon-ai/doompi-autostop": "0.0.1-alpha.
|
|
281
|
-
"@agimon-ai/doompi-cache": "0.0.1-alpha.
|
|
282
|
-
"@agimon-ai/doompi-config": "0.0.1-alpha.
|
|
283
|
-
"@agimon-ai/doompi-core": "0.0.1-alpha.
|
|
284
|
-
"@agimon-ai/doompi-domain": "0.0.1-alpha.
|
|
285
|
-
"@agimon-ai/doompi-major-mode": "0.0.1-alpha.
|
|
286
|
-
"@agimon-ai/doompi-minor-mode": "0.0.1-alpha.
|
|
287
|
-
"@agimon-ai/doompi-notification": "0.0.1-alpha.
|
|
288
|
-
"@agimon-ai/doompi-profile": "0.0.1-alpha.
|
|
289
|
-
"@agimon-ai/doompi-skill": "0.0.1-alpha.
|
|
290
|
-
"@agimon-ai/doompi-telemetry": "0.0.1-alpha.
|
|
291
|
-
"@agimon-ai/doompi-ui": "0.0.1-alpha.
|
|
292
|
-
"@agimon-ai/doompi-web-security": "0.0.1-alpha.
|
|
280
|
+
"@agimon-ai/doompi-autostop": "0.0.1-alpha.52",
|
|
281
|
+
"@agimon-ai/doompi-cache": "0.0.1-alpha.41",
|
|
282
|
+
"@agimon-ai/doompi-config": "0.0.1-alpha.74",
|
|
283
|
+
"@agimon-ai/doompi-core": "0.0.1-alpha.75",
|
|
284
|
+
"@agimon-ai/doompi-domain": "0.0.1-alpha.53",
|
|
285
|
+
"@agimon-ai/doompi-major-mode": "0.0.1-alpha.53",
|
|
286
|
+
"@agimon-ai/doompi-minor-mode": "0.0.1-alpha.75",
|
|
287
|
+
"@agimon-ai/doompi-notification": "0.0.1-alpha.52",
|
|
288
|
+
"@agimon-ai/doompi-profile": "0.0.1-alpha.53",
|
|
289
|
+
"@agimon-ai/doompi-skill": "0.0.1-alpha.53",
|
|
290
|
+
"@agimon-ai/doompi-telemetry": "0.0.1-alpha.72",
|
|
291
|
+
"@agimon-ai/doompi-ui": "0.0.1-alpha.75",
|
|
292
|
+
"@agimon-ai/doompi-web-security": "0.0.1-alpha.35",
|
|
293
293
|
"@deepseek-ai/cordis": "4.0.2",
|
|
294
294
|
"@earendil-works/chord": "0.85.1",
|
|
295
295
|
"@earendil-works/pi-agent-core": "0.85.1",
|
|
@@ -314,8 +314,8 @@
|
|
|
314
314
|
"yaml": "2.9.0"
|
|
315
315
|
},
|
|
316
316
|
"devDependencies": {
|
|
317
|
-
"@agimon-ai/doompi-runner": "0.0.1-alpha.
|
|
318
|
-
"@agimon-ai/vibe-lint-plugin-doom-cli": "0.0.1-alpha.
|
|
317
|
+
"@agimon-ai/doompi-runner": "0.0.1-alpha.75",
|
|
318
|
+
"@agimon-ai/vibe-lint-plugin-doom-cli": "0.0.1-alpha.6",
|
|
319
319
|
"@earendil-works/pi-ai": "0.85.1",
|
|
320
320
|
"@earendil-works/pi-client": "0.85.1",
|
|
321
321
|
"@earendil-works/pi-tui": "0.85.1",
|
|
@@ -338,6 +338,7 @@
|
|
|
338
338
|
"engines": {
|
|
339
339
|
"node": ">=22.19.0"
|
|
340
340
|
},
|
|
341
|
+
"doompiApiVersion": 1,
|
|
341
342
|
"doompiServer": {
|
|
342
343
|
"entry": "./src/extensions/server.ts",
|
|
343
344
|
"dist": "./dist/extensions/server.mjs",
|
|
@@ -24,10 +24,11 @@ Choose the package tier from the capability, not convenience:
|
|
|
24
24
|
|
|
25
25
|
1. Inspect a nearby package with the same host surfaces and reuse its structure.
|
|
26
26
|
2. Put logic in `services/<serviceName>/index.ts`, service ports in `type.ts`, mutable state in `models`, request handlers in `controllers`, and tools in `tools`. Keep reusable types, schemas, and constant data in their named folders. Do not create `adapters`, `container`, `commands`, or `providers` roots.
|
|
27
|
-
3.
|
|
27
|
+
3. Author each contribution at `src/extensions/<scope>/(backend|frontend)/<surface>/<name>[.<target>].<ext>`. Export one declaration or factory through the typed `define*` helper for that surface. Do not hand-write `pi.ts`, `server.ts`, or `web.ts`; `doompiExtension()` generates them beneath ignored `generated/` and builds the published host artifacts.
|
|
28
28
|
4. Return typed contributions from a named declaration or per-mount factory. Factories may be async. Use optional `onStart`, `onStop`, and `onDispose` hooks for lifecycle work; helpers own Cordis initialization, registration, readiness, and cleanup.
|
|
29
29
|
5. Put provider plugins in services and include them in the `services` contribution array. Consume required providers inside an owning injection with the corresponding `require...` accessor. The helper handles optional providers for native contributions such as resources and minor modes.
|
|
30
|
-
6. Keep package exports explicit and flat
|
|
31
|
-
7.
|
|
30
|
+
6. Keep package exports explicit and flat under `src/exports`, with only reusable APIs. If the extension contributes Help, publish `src/prompts/<skill-name>/SKILL.md`, link it from `llms.txt`, and declare its descriptor in `resources` with the exact package name and `import.meta.url`.
|
|
31
|
+
7. For frontend contributions, add a root `tsconfig.web.json`, keep routed `(frontend)` files out of the Node project, and typecheck both projects.
|
|
32
|
+
8. Run the repository checks or equivalent standalone package checks before publishing.
|
|
32
33
|
|
|
33
34
|
Read [references/extension-contract.md](references/extension-contract.md) for the concrete package, lifecycle, and verification contract.
|
|
@@ -58,49 +58,49 @@ Use the canonical source vocabulary and omit unused folders:
|
|
|
58
58
|
```text
|
|
59
59
|
src/
|
|
60
60
|
|-- constants/ Constant data
|
|
61
|
-
|-- types/ Shared types
|
|
61
|
+
|-- types/ Shared browser-safe types
|
|
62
62
|
|-- schemas/ Runtime validation
|
|
63
63
|
|-- models/ Mutable state
|
|
64
64
|
|-- services/ Logic, including filesystem, process, and network operations
|
|
65
65
|
| `-- review/ index.ts implementation, type.ts service ports
|
|
66
66
|
|-- controllers/ Request and command handlers using services and models
|
|
67
|
-
|-- tools/
|
|
68
|
-
|-- extensions/
|
|
69
|
-
|--
|
|
70
|
-
|-- tui/ Terminal presentation when needed
|
|
67
|
+
|-- tools/ Reusable typed tool declarations
|
|
68
|
+
|-- extensions/ Routed host contributions by scope, side, surface, and filename
|
|
69
|
+
|-- tui/ Shared terminal presentation when needed
|
|
71
70
|
|-- prompts/ Published package-owned Help prompts
|
|
72
71
|
`-- exports/ Flat public forwarding files, reusable APIs only
|
|
73
72
|
```
|
|
74
73
|
|
|
74
|
+
Browser-only implementation details should live in `_components` or `_lib` beside their routed frontend contribution. These private folders are not scanned. Use `src/types`, `src/constants`, and `src/schemas` only for code intentionally shared across sides.
|
|
75
|
+
|
|
75
76
|
Omit unused folders. There are no adapters, container, commands, or providers roots. Services may perform IO and provide Cordis services, but host bootstrapping and native registration belong to the extension helpers. Imports point from extensions to controllers/tools to services/models, then schemas/types/constants. Use extensionless source imports and omit `/index`.
|
|
76
77
|
|
|
77
78
|
## Plugin declarations and lifecycle
|
|
78
79
|
|
|
79
|
-
The
|
|
80
|
+
The routed file exports one contribution. Its path supplies the scope, host side, surface, and identity:
|
|
80
81
|
|
|
81
82
|
```ts
|
|
82
|
-
|
|
83
|
-
import {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
export default reviewExtension;
|
|
83
|
+
// src/extensions/workspaces/sessions/(backend)/command/review.ts
|
|
84
|
+
import { defineCommand } from '@agimon-ai/doompi-core/extension-file';
|
|
85
|
+
|
|
86
|
+
import { createReviewCommand } from '../../../../../controllers/reviewCommand';
|
|
87
|
+
import { createReviewService } from '../../../../../services/review';
|
|
88
|
+
|
|
89
|
+
export default defineCommand(() => createReviewCommand(createReviewService()));
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Use `defineCommand` for portable commands, `defineTool` for portable tools, `definePiTool` for native Pi capabilities, and the matching typed helper for every other surface. The generated server facet and browser plugin group routed declarations by scope. Use an `extra.<target>.ts` escape hatch only when a legacy contribution object cannot be represented without changing behavior.
|
|
93
|
+
|
|
94
|
+
The package build is convention-driven:
|
|
95
|
+
|
|
96
|
+
```ts
|
|
97
|
+
import { doompiExtension } from '@agimon-ai/doompi-build/tsdown';
|
|
98
|
+
import { defineConfig } from 'tsdown';
|
|
99
|
+
|
|
100
|
+
export default defineConfig(doompiExtension());
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
Generated `pi.ts`, `server.ts`, and `web.ts` entries live under ignored `generated/`. The build publishes Node host entries and a browser bundle at `dist/extensions/web.mjs`, then synchronizes host metadata in `package.json`. A frontend package uses a root `tsconfig.web.json`; never publish or import a hand-written `src/extensions/web.ts`.
|
|
104
104
|
|
|
105
105
|
Factories may return a promise. The helper waits for the declaration, mounts service contributions, registers capabilities, and awaits `onStart`. Shutdown aborts the instance signal, waits for startup to settle, awaits `onStop`, releases registrations in reverse order, then awaits `onDispose`. `onStop` runs once the start stage has been reached, including when `onStart` is absent or fails. Registration failures still release acquired handles and call accepted `onDispose`. Cleanup is idempotent and all cleanup stages run even when one fails.
|
|
106
106
|
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
-
key = keys[i];
|
|
11
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
-
get: ((k) => from[k]).bind(null, key),
|
|
13
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
19
|
-
value: mod,
|
|
20
|
-
enumerable: true
|
|
21
|
-
}) : target, mod));
|
|
22
|
-
//#endregion
|
|
23
|
-
exports.__toESM = __toESM;
|
package/dist/antigravity.cjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_antigravity = require("./cli/commands/compat/providers/antigravity.cjs");
|
|
3
|
-
exports.adaptAntigravityMcpDefinition = require_antigravity.adaptAntigravityMcpDefinition;
|
|
4
|
-
exports.antigravityCompatibilityArgs = require_antigravity.antigravityCompatibilityArgs;
|
|
5
|
-
exports.launchAntigravity = require_antigravity.launchAntigravity;
|
package/dist/antigravity.d.cts
DELETED
package/dist/antigravity.d.mts
DELETED
package/dist/antigravity.mjs
DELETED
package/dist/api-contracts.cjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
__esModule: { value: true },
|
|
3
|
-
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
-
});
|
|
5
|
-
//#region src/exports/apiContracts.ts
|
|
6
|
-
const apiContracts = require("@agimon-ai/doompi-core/api-contracts").builtinApiContract;
|
|
7
|
-
//#endregion
|
|
8
|
-
exports.apiContracts = apiContracts;
|
|
9
|
-
exports.default = apiContracts;
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=api-contracts.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-contracts.cjs","names":["builtinApiContract"],"sources":["../src/exports/apiContracts.ts"],"sourcesContent":["import { builtinApiContract } from '@agimon-ai/doompi-core/api-contracts';\n\nexport const apiContracts = builtinApiContract;\nexport default apiContracts;\n"],"mappings":";;;;;AAEA,MAAa,6DAAeA,CAAAA,CAAAA"}
|
package/dist/api-contracts.d.cts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
//#region src/exports/apiContracts.d.ts
|
|
2
|
-
export declare const apiContracts: {
|
|
3
|
-
version: 1;
|
|
4
|
-
protocols?: Record<string, string> | undefined;
|
|
5
|
-
schemas?: Record<string, boolean | object> | undefined;
|
|
6
|
-
http: {
|
|
7
|
-
id: string;
|
|
8
|
-
scope: "global" | "session" | "workspace";
|
|
9
|
-
basePath?: string | undefined;
|
|
10
|
-
path: string;
|
|
11
|
-
method: "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT";
|
|
12
|
-
description: string;
|
|
13
|
-
availability?: string | undefined;
|
|
14
|
-
authentication: "device" | "none" | "owner";
|
|
15
|
-
parameters?: {
|
|
16
|
-
name: string;
|
|
17
|
-
in: "header" | "path" | "query";
|
|
18
|
-
required: boolean;
|
|
19
|
-
schema: boolean | object;
|
|
20
|
-
}[] | undefined;
|
|
21
|
-
body?: {
|
|
22
|
-
contentType: string;
|
|
23
|
-
contentTypes?: string[] | undefined;
|
|
24
|
-
required: boolean;
|
|
25
|
-
schema: boolean | object;
|
|
26
|
-
} | undefined;
|
|
27
|
-
responses: Record<string, {
|
|
28
|
-
description: string;
|
|
29
|
-
contentType?: string | undefined;
|
|
30
|
-
schema?: boolean | object | undefined;
|
|
31
|
-
events?: Record<string, boolean | object> | undefined;
|
|
32
|
-
}>;
|
|
33
|
-
}[];
|
|
34
|
-
sockets: {
|
|
35
|
-
id: string;
|
|
36
|
-
scope: "global" | "session" | "workspace";
|
|
37
|
-
description: string;
|
|
38
|
-
availability?: string | undefined;
|
|
39
|
-
service: string;
|
|
40
|
-
member: string;
|
|
41
|
-
direction: "client-to-server" | "server-to-client";
|
|
42
|
-
kind: "channel" | "method" | "state";
|
|
43
|
-
input: boolean | object;
|
|
44
|
-
output?: boolean | object | undefined;
|
|
45
|
-
errors?: boolean | object | undefined;
|
|
46
|
-
}[];
|
|
47
|
-
dynamic: string[];
|
|
48
|
-
gaps?: string[] | undefined;
|
|
49
|
-
};
|
|
50
|
-
//#endregion
|
|
51
|
-
export { apiContracts as default };
|
|
52
|
-
//# sourceMappingURL=api-contracts.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-contracts.d.cts","names":[],"sources":["../src/exports/apiContracts.ts"],"mappings":";qBAEa"}
|
package/dist/api-contracts.d.mts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
//#region src/exports/apiContracts.d.ts
|
|
2
|
-
export declare const apiContracts: {
|
|
3
|
-
version: 1;
|
|
4
|
-
protocols?: Record<string, string> | undefined;
|
|
5
|
-
schemas?: Record<string, boolean | object> | undefined;
|
|
6
|
-
http: {
|
|
7
|
-
id: string;
|
|
8
|
-
scope: "global" | "session" | "workspace";
|
|
9
|
-
basePath?: string | undefined;
|
|
10
|
-
path: string;
|
|
11
|
-
method: "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT";
|
|
12
|
-
description: string;
|
|
13
|
-
availability?: string | undefined;
|
|
14
|
-
authentication: "device" | "none" | "owner";
|
|
15
|
-
parameters?: {
|
|
16
|
-
name: string;
|
|
17
|
-
in: "header" | "path" | "query";
|
|
18
|
-
required: boolean;
|
|
19
|
-
schema: boolean | object;
|
|
20
|
-
}[] | undefined;
|
|
21
|
-
body?: {
|
|
22
|
-
contentType: string;
|
|
23
|
-
contentTypes?: string[] | undefined;
|
|
24
|
-
required: boolean;
|
|
25
|
-
schema: boolean | object;
|
|
26
|
-
} | undefined;
|
|
27
|
-
responses: Record<string, {
|
|
28
|
-
description: string;
|
|
29
|
-
contentType?: string | undefined;
|
|
30
|
-
schema?: boolean | object | undefined;
|
|
31
|
-
events?: Record<string, boolean | object> | undefined;
|
|
32
|
-
}>;
|
|
33
|
-
}[];
|
|
34
|
-
sockets: {
|
|
35
|
-
id: string;
|
|
36
|
-
scope: "global" | "session" | "workspace";
|
|
37
|
-
description: string;
|
|
38
|
-
availability?: string | undefined;
|
|
39
|
-
service: string;
|
|
40
|
-
member: string;
|
|
41
|
-
direction: "client-to-server" | "server-to-client";
|
|
42
|
-
kind: "channel" | "method" | "state";
|
|
43
|
-
input: boolean | object;
|
|
44
|
-
output?: boolean | object | undefined;
|
|
45
|
-
errors?: boolean | object | undefined;
|
|
46
|
-
}[];
|
|
47
|
-
dynamic: string[];
|
|
48
|
-
gaps?: string[] | undefined;
|
|
49
|
-
};
|
|
50
|
-
//#endregion
|
|
51
|
-
export { apiContracts as default };
|
|
52
|
-
//# sourceMappingURL=api-contracts.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-contracts.d.mts","names":[],"sources":["../src/exports/apiContracts.ts"],"mappings":";qBAEa"}
|
package/dist/api-contracts.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { builtinApiContract } from "@agimon-ai/doompi-core/api-contracts";
|
|
2
|
-
//#region src/exports/apiContracts.ts
|
|
3
|
-
const apiContracts = builtinApiContract;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { apiContracts, apiContracts as default };
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=api-contracts.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-contracts.mjs","names":[],"sources":["../src/exports/apiContracts.ts"],"sourcesContent":["import { builtinApiContract } from '@agimon-ai/doompi-core/api-contracts';\n\nexport const apiContracts = builtinApiContract;\nexport default apiContracts;\n"],"mappings":";;AAEA,MAAa,eAAe"}
|
package/dist/base-command.cjs
DELETED
package/dist/base-command.d.cts
DELETED
package/dist/base-command.d.mts
DELETED
package/dist/base-command.mjs
DELETED
package/dist/bin/cli.cjs
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
const require_help = require("../cli/help.cjs");
|
|
3
|
-
const require_router = require("../cli/router.cjs");
|
|
4
|
-
//#region src/bin/cli.ts
|
|
5
|
-
/**
|
|
6
|
-
* CLI Entry Point for doom-pi
|
|
7
|
-
*
|
|
8
|
-
* The executable installed as the `doom-pi` binary, and the file the repository
|
|
9
|
-
* launchers (pi.sh, claude.sh, codex.sh) invoke directly from source.
|
|
10
|
-
*/
|
|
11
|
-
const args = process.argv.slice(2);
|
|
12
|
-
const informational = require_router.routeCommand(args) !== void 0 ? void 0 : require_router.informationalRequest(args);
|
|
13
|
-
const informationalExit = informational === "help" ? (() => {
|
|
14
|
-
require_help.printHelp();
|
|
15
|
-
return 0;
|
|
16
|
-
})() : informational === "version" ? (() => {
|
|
17
|
-
process.stdout.write(`${require_help.HARNESS_VERSION}\n`);
|
|
18
|
-
return 0;
|
|
19
|
-
})() : void 0;
|
|
20
|
-
(informationalExit === void 0 ? Promise.resolve().then(() => require("../cli/cliApp.cjs")).then(({ runCli }) => runCli(args)) : Promise.resolve(informationalExit)).then((exitCode) => {
|
|
21
|
-
process.exitCode = exitCode;
|
|
22
|
-
}, (error) => {
|
|
23
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
24
|
-
process.stderr.write(`[doompi] ${message}\n`);
|
|
25
|
-
process.exitCode = 1;
|
|
26
|
-
});
|
|
27
|
-
//#endregion
|
|
28
|
-
|
|
29
|
-
//# sourceMappingURL=cli.cjs.map
|
package/dist/bin/cli.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli.cjs","names":["routeCommand","informationalRequest","HARNESS_VERSION"],"sources":["../../src/bin/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for doom-pi\n *\n * The executable installed as the `doom-pi` binary, and the file the repository\n * launchers (pi.sh, claude.sh, codex.sh) invoke directly from source.\n */\n\nimport { HARNESS_VERSION, printHelp } from '../cli/help';\nimport { informationalRequest, routeCommand } from '../cli/router';\n\nconst args = process.argv.slice(2);\n// A named subcommand parses its own arguments, including its own --help, so the\n// fast path below must not answer for it.\nconst ownsArguments = routeCommand(args) !== undefined;\n\n// Keep informational startup independent from telemetry, configuration, Pi,\n// and the extension compiler. Those graphs are useful for a real command but\n// used to account for almost all of `doompi --help` and `doompi --version`.\nconst informational = ownsArguments ? undefined : informationalRequest(args);\nconst informationalExit =\n informational === 'help'\n ? (() => {\n printHelp();\n return 0;\n })()\n : informational === 'version'\n ? (() => {\n process.stdout.write(`${HARNESS_VERSION}\\n`);\n return 0;\n })()\n : undefined;\n\nconst run =\n informationalExit === undefined\n ? import('../cli/cliApp').then(({ runCli }) => runCli(args))\n : Promise.resolve(informationalExit);\n\nrun.then(\n (exitCode) => {\n process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[doompi] ${message}\\n`);\n process.exitCode = 1;\n },\n);\n"],"mappings":";;;;;;;;;;AAYA,MAAM,OAAO,QAAQ,KAAK,MAAM,CAAC;AAQjC,MAAM,gBALgBA,eAAAA,aAAa,IAAI,MAAM,KAAA,IAKP,KAAA,IAAYC,eAAAA,qBAAqB,IAAI;AAC3E,MAAM,oBACJ,kBAAkB,gBACP;CACL,aAAA,UAAU;CACV,OAAO;AACT,EAAA,CAAG,IACH,kBAAkB,mBACT;CACL,QAAQ,OAAO,MAAM,GAAGC,aAAAA,gBAAgB,GAAG;CAC3C,OAAO;AACT,EAAA,CAAG,IACH,KAAA;CAGN,sBAAsB,KAAA,IAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAClB,mBAAA,CAAA,CAAA,CAAwB,MAAM,EAAE,aAAa,OAAO,IAAI,CAAC,IACzD,QAAQ,QAAQ,iBAAiB,EAAA,CAEnC,MACD,aAAa;CACZ,QAAQ,WAAW;AACrB,IACC,UAAmB;CAClB,MAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACrE,QAAQ,OAAO,MAAM,YAAY,QAAQ,GAAG;CAC5C,QAAQ,WAAW;AACrB,CACF"}
|
package/dist/bin/cli.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|
package/dist/bin/cli.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|
package/dist/bin/cli.mjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { HARNESS_VERSION, printHelp } from "../cli/help.mjs";
|
|
3
|
-
import { informationalRequest, routeCommand } from "../cli/router.mjs";
|
|
4
|
-
//#region src/bin/cli.ts
|
|
5
|
-
/**
|
|
6
|
-
* CLI Entry Point for doom-pi
|
|
7
|
-
*
|
|
8
|
-
* The executable installed as the `doom-pi` binary, and the file the repository
|
|
9
|
-
* launchers (pi.sh, claude.sh, codex.sh) invoke directly from source.
|
|
10
|
-
*/
|
|
11
|
-
const args = process.argv.slice(2);
|
|
12
|
-
const informational = routeCommand(args) !== void 0 ? void 0 : informationalRequest(args);
|
|
13
|
-
const informationalExit = informational === "help" ? (() => {
|
|
14
|
-
printHelp();
|
|
15
|
-
return 0;
|
|
16
|
-
})() : informational === "version" ? (() => {
|
|
17
|
-
process.stdout.write(`${HARNESS_VERSION}\n`);
|
|
18
|
-
return 0;
|
|
19
|
-
})() : void 0;
|
|
20
|
-
(informationalExit === void 0 ? import("../cli/cliApp.mjs").then(({ runCli }) => runCli(args)) : Promise.resolve(informationalExit)).then((exitCode) => {
|
|
21
|
-
process.exitCode = exitCode;
|
|
22
|
-
}, (error) => {
|
|
23
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
24
|
-
process.stderr.write(`[doompi] ${message}\n`);
|
|
25
|
-
process.exitCode = 1;
|
|
26
|
-
});
|
|
27
|
-
//#endregion
|
|
28
|
-
export {};
|
|
29
|
-
|
|
30
|
-
//# sourceMappingURL=cli.mjs.map
|
package/dist/bin/cli.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli.mjs","names":[],"sources":["../../src/bin/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for doom-pi\n *\n * The executable installed as the `doom-pi` binary, and the file the repository\n * launchers (pi.sh, claude.sh, codex.sh) invoke directly from source.\n */\n\nimport { HARNESS_VERSION, printHelp } from '../cli/help';\nimport { informationalRequest, routeCommand } from '../cli/router';\n\nconst args = process.argv.slice(2);\n// A named subcommand parses its own arguments, including its own --help, so the\n// fast path below must not answer for it.\nconst ownsArguments = routeCommand(args) !== undefined;\n\n// Keep informational startup independent from telemetry, configuration, Pi,\n// and the extension compiler. Those graphs are useful for a real command but\n// used to account for almost all of `doompi --help` and `doompi --version`.\nconst informational = ownsArguments ? undefined : informationalRequest(args);\nconst informationalExit =\n informational === 'help'\n ? (() => {\n printHelp();\n return 0;\n })()\n : informational === 'version'\n ? (() => {\n process.stdout.write(`${HARNESS_VERSION}\\n`);\n return 0;\n })()\n : undefined;\n\nconst run =\n informationalExit === undefined\n ? import('../cli/cliApp').then(({ runCli }) => runCli(args))\n : Promise.resolve(informationalExit);\n\nrun.then(\n (exitCode) => {\n process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[doompi] ${message}\\n`);\n process.exitCode = 1;\n },\n);\n"],"mappings":";;;;;;;;;;AAYA,MAAM,OAAO,QAAQ,KAAK,MAAM,CAAC;AAQjC,MAAM,gBALgB,aAAa,IAAI,MAAM,KAAA,IAKP,KAAA,IAAY,qBAAqB,IAAI;AAC3E,MAAM,oBACJ,kBAAkB,gBACP;CACL,UAAU;CACV,OAAO;AACT,EAAA,CAAG,IACH,kBAAkB,mBACT;CACL,QAAQ,OAAO,MAAM,GAAG,gBAAgB,GAAG;CAC3C,OAAO;AACT,EAAA,CAAG,IACH,KAAA;CAGN,sBAAsB,KAAA,IAClB,OAAO,oBAAgB,CAAC,MAAM,EAAE,aAAa,OAAO,IAAI,CAAC,IACzD,QAAQ,QAAQ,iBAAiB,EAAA,CAEnC,MACD,aAAa;CACZ,QAAQ,WAAW;AACrB,IACC,UAAmB;CAClB,MAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACrE,QAAQ,OAAO,MAAM,YAAY,QAAQ,GAAG;CAC5C,QAAQ,WAAW;AACrB,CACF"}
|
package/dist/bin/doomRunner.cjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_index = require("../composition/repository/index.cjs");
|
|
4
|
-
let node_url = require("node:url");
|
|
5
|
-
let _agimon_ai_doompi_core_module_resolution = require("@agimon-ai/doompi-core/module-resolution");
|
|
6
|
-
//#region src/bin/doomRunner.ts
|
|
7
|
-
/**
|
|
8
|
-
* CLI Entry Point for doom-runner
|
|
9
|
-
*
|
|
10
|
-
* The Runner package is selectable, so this compatibility executable resolves
|
|
11
|
-
* it from the active repository instead of retaining it in DoomPi's dependency
|
|
12
|
-
* closure. The Runner package's own entry only self-invokes when it is argv[1],
|
|
13
|
-
* which it is not once this shim imports it by absolute path.
|
|
14
|
-
*/
|
|
15
|
-
const RUNNER_CLI_EXPORT = "@agimon-ai/doompi-runner/bin/cli";
|
|
16
|
-
async function main(argv = process.argv.slice(2)) {
|
|
17
|
-
let repoRoot;
|
|
18
|
-
try {
|
|
19
|
-
repoRoot = require_index.findRepositoryRoot(process.cwd());
|
|
20
|
-
} catch (error) {
|
|
21
|
-
throw new Error("doom-runner must be invoked inside a configured repository.", { cause: error });
|
|
22
|
-
}
|
|
23
|
-
const entry = (0, _agimon_ai_doompi_core_module_resolution.consumerPackageEntry)(RUNNER_CLI_EXPORT, repoRoot);
|
|
24
|
-
if (!entry) throw new Error("Doom Runner is not installed for this repository. Add @agimon-ai/doompi-runner to .doom/modes.yaml and run doompi sync.");
|
|
25
|
-
const loaded = await import((0, node_url.pathToFileURL)(entry).href);
|
|
26
|
-
if (typeof loaded.main !== "function") throw new Error(`${RUNNER_CLI_EXPORT} does not export a callable main function.`);
|
|
27
|
-
return loaded.main(argv);
|
|
28
|
-
}
|
|
29
|
-
if (process.argv[1] && require("url").pathToFileURL(__filename).href === (0, node_url.pathToFileURL)(process.argv[1]).href) main().then((exitCode) => {
|
|
30
|
-
process.exitCode = exitCode;
|
|
31
|
-
}, (error) => {
|
|
32
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
33
|
-
process.stderr.write(`[doom-runner] ${message}\n`);
|
|
34
|
-
process.exitCode = 1;
|
|
35
|
-
});
|
|
36
|
-
//#endregion
|
|
37
|
-
exports.main = main;
|
|
38
|
-
|
|
39
|
-
//# sourceMappingURL=doomRunner.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"doomRunner.cjs","names":["findRepositoryRoot","consumerPackageEntry","pathToFileURL"],"sources":["../../src/bin/doomRunner.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for doom-runner\n *\n * The Runner package is selectable, so this compatibility executable resolves\n * it from the active repository instead of retaining it in DoomPi's dependency\n * closure. The Runner package's own entry only self-invokes when it is argv[1],\n * which it is not once this shim imports it by absolute path.\n */\n\nimport { pathToFileURL } from 'node:url';\n\nimport { consumerPackageEntry } from '@agimon-ai/doompi-core/module-resolution';\n\nimport { findRepositoryRoot } from '../composition/repository';\n\nconst RUNNER_CLI_EXPORT = '@agimon-ai/doompi-runner/bin/cli';\n\ninterface RunnerCliModule {\n readonly main?: unknown;\n}\n\nexport async function main(argv: readonly string[] = process.argv.slice(2)): Promise<number> {\n let repoRoot: string;\n try {\n repoRoot = findRepositoryRoot(process.cwd());\n } catch (error) {\n throw new Error('doom-runner must be invoked inside a configured repository.', { cause: error });\n }\n const entry = consumerPackageEntry(RUNNER_CLI_EXPORT, repoRoot);\n if (!entry) {\n throw new Error(\n 'Doom Runner is not installed for this repository. Add @agimon-ai/doompi-runner to .doom/modes.yaml and run doompi sync.',\n );\n }\n const loaded = (await import(pathToFileURL(entry).href)) as RunnerCliModule;\n if (typeof loaded.main !== 'function') {\n throw new Error(`${RUNNER_CLI_EXPORT} does not export a callable main function.`);\n }\n return (loaded.main as (args: readonly string[]) => Promise<number>)(argv);\n}\n\nif (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {\n main().then(\n (exitCode) => {\n process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[doom-runner] ${message}\\n`);\n process.exitCode = 1;\n },\n );\n}\n"],"mappings":";;;;;;;;;;;;;;AAiBA,MAAM,oBAAoB;AAM1B,eAAsB,KAAK,OAA0B,QAAQ,KAAK,MAAM,CAAC,GAAoB;CAC3F,IAAI;CACJ,IAAI;EACF,WAAWA,cAAAA,mBAAmB,QAAQ,IAAI,CAAC;CAC7C,SAAS,OAAO;EACd,MAAM,IAAI,MAAM,+DAA+D,EAAE,OAAO,MAAM,CAAC;CACjG;CACA,MAAM,SAAA,GAAQC,yCAAAA,qBAAAA,CAAqB,mBAAmB,QAAQ;CAC9D,IAAI,CAAC,OACH,MAAM,IAAI,MACR,yHACF;CAEF,MAAM,SAAU,MAAM,QAAA,GAAOC,SAAAA,cAAAA,CAAc,KAAK,CAAC,CAAC;CAClD,IAAI,OAAO,OAAO,SAAS,YACzB,MAAM,IAAI,MAAM,GAAG,kBAAkB,2CAA2C;CAElF,OAAQ,OAAO,KAAsD,IAAI;AAC3E;AAEA,IAAI,QAAQ,KAAK,MAAA,QAAA,KAAA,CAAA,CAAA,cAAA,UAAA,CAAA,CAAA,UAAA,GAA0BA,SAAAA,cAAAA,CAAc,QAAQ,KAAK,EAAE,CAAC,CAAC,MACxE,KAAK,CAAC,CAAC,MACJ,aAAa;CACZ,QAAQ,WAAW;AACrB,IACC,UAAmB;CAClB,MAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACrE,QAAQ,OAAO,MAAM,iBAAiB,QAAQ,GAAG;CACjD,QAAQ,WAAW;AACrB,CACF"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
//#region src/bin/doomRunner.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* CLI Entry Point for doom-runner
|
|
4
|
-
*
|
|
5
|
-
* The Runner package is selectable, so this compatibility executable resolves
|
|
6
|
-
* it from the active repository instead of retaining it in DoomPi's dependency
|
|
7
|
-
* closure. The Runner package's own entry only self-invokes when it is argv[1],
|
|
8
|
-
* which it is not once this shim imports it by absolute path.
|
|
9
|
-
*/
|
|
10
|
-
export declare function main(argv?: readonly string[]): Promise<number>;
|
|
11
|
-
//#endregion
|
|
12
|
-
//# sourceMappingURL=doomRunner.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"doomRunner.d.cts","names":[],"sources":["../../src/bin/doomRunner.ts"],"mappings":";;;;;;;;;wBAuBsB,KAAK,2BAAkD"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
//#region src/bin/doomRunner.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* CLI Entry Point for doom-runner
|
|
4
|
-
*
|
|
5
|
-
* The Runner package is selectable, so this compatibility executable resolves
|
|
6
|
-
* it from the active repository instead of retaining it in DoomPi's dependency
|
|
7
|
-
* closure. The Runner package's own entry only self-invokes when it is argv[1],
|
|
8
|
-
* which it is not once this shim imports it by absolute path.
|
|
9
|
-
*/
|
|
10
|
-
export declare function main(argv?: readonly string[]): Promise<number>;
|
|
11
|
-
//#endregion
|
|
12
|
-
//# sourceMappingURL=doomRunner.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"doomRunner.d.mts","names":[],"sources":["../../src/bin/doomRunner.ts"],"mappings":";;;;;;;;;wBAuBsB,KAAK,2BAAkD"}
|
package/dist/bin/doomRunner.mjs
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { findRepositoryRoot } from "../composition/repository/index.mjs";
|
|
3
|
-
import { pathToFileURL } from "node:url";
|
|
4
|
-
import { consumerPackageEntry } from "@agimon-ai/doompi-core/module-resolution";
|
|
5
|
-
//#region src/bin/doomRunner.ts
|
|
6
|
-
/**
|
|
7
|
-
* CLI Entry Point for doom-runner
|
|
8
|
-
*
|
|
9
|
-
* The Runner package is selectable, so this compatibility executable resolves
|
|
10
|
-
* it from the active repository instead of retaining it in DoomPi's dependency
|
|
11
|
-
* closure. The Runner package's own entry only self-invokes when it is argv[1],
|
|
12
|
-
* which it is not once this shim imports it by absolute path.
|
|
13
|
-
*/
|
|
14
|
-
const RUNNER_CLI_EXPORT = "@agimon-ai/doompi-runner/bin/cli";
|
|
15
|
-
async function main(argv = process.argv.slice(2)) {
|
|
16
|
-
let repoRoot;
|
|
17
|
-
try {
|
|
18
|
-
repoRoot = findRepositoryRoot(process.cwd());
|
|
19
|
-
} catch (error) {
|
|
20
|
-
throw new Error("doom-runner must be invoked inside a configured repository.", { cause: error });
|
|
21
|
-
}
|
|
22
|
-
const entry = consumerPackageEntry(RUNNER_CLI_EXPORT, repoRoot);
|
|
23
|
-
if (!entry) throw new Error("Doom Runner is not installed for this repository. Add @agimon-ai/doompi-runner to .doom/modes.yaml and run doompi sync.");
|
|
24
|
-
const loaded = await import(pathToFileURL(entry).href);
|
|
25
|
-
if (typeof loaded.main !== "function") throw new Error(`${RUNNER_CLI_EXPORT} does not export a callable main function.`);
|
|
26
|
-
return loaded.main(argv);
|
|
27
|
-
}
|
|
28
|
-
if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) main().then((exitCode) => {
|
|
29
|
-
process.exitCode = exitCode;
|
|
30
|
-
}, (error) => {
|
|
31
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
32
|
-
process.stderr.write(`[doom-runner] ${message}\n`);
|
|
33
|
-
process.exitCode = 1;
|
|
34
|
-
});
|
|
35
|
-
//#endregion
|
|
36
|
-
export { main };
|
|
37
|
-
|
|
38
|
-
//# sourceMappingURL=doomRunner.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"doomRunner.mjs","names":[],"sources":["../../src/bin/doomRunner.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for doom-runner\n *\n * The Runner package is selectable, so this compatibility executable resolves\n * it from the active repository instead of retaining it in DoomPi's dependency\n * closure. The Runner package's own entry only self-invokes when it is argv[1],\n * which it is not once this shim imports it by absolute path.\n */\n\nimport { pathToFileURL } from 'node:url';\n\nimport { consumerPackageEntry } from '@agimon-ai/doompi-core/module-resolution';\n\nimport { findRepositoryRoot } from '../composition/repository';\n\nconst RUNNER_CLI_EXPORT = '@agimon-ai/doompi-runner/bin/cli';\n\ninterface RunnerCliModule {\n readonly main?: unknown;\n}\n\nexport async function main(argv: readonly string[] = process.argv.slice(2)): Promise<number> {\n let repoRoot: string;\n try {\n repoRoot = findRepositoryRoot(process.cwd());\n } catch (error) {\n throw new Error('doom-runner must be invoked inside a configured repository.', { cause: error });\n }\n const entry = consumerPackageEntry(RUNNER_CLI_EXPORT, repoRoot);\n if (!entry) {\n throw new Error(\n 'Doom Runner is not installed for this repository. Add @agimon-ai/doompi-runner to .doom/modes.yaml and run doompi sync.',\n );\n }\n const loaded = (await import(pathToFileURL(entry).href)) as RunnerCliModule;\n if (typeof loaded.main !== 'function') {\n throw new Error(`${RUNNER_CLI_EXPORT} does not export a callable main function.`);\n }\n return (loaded.main as (args: readonly string[]) => Promise<number>)(argv);\n}\n\nif (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {\n main().then(\n (exitCode) => {\n process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[doom-runner] ${message}\\n`);\n process.exitCode = 1;\n },\n );\n}\n"],"mappings":";;;;;;;;;;;;;AAiBA,MAAM,oBAAoB;AAM1B,eAAsB,KAAK,OAA0B,QAAQ,KAAK,MAAM,CAAC,GAAoB;CAC3F,IAAI;CACJ,IAAI;EACF,WAAW,mBAAmB,QAAQ,IAAI,CAAC;CAC7C,SAAS,OAAO;EACd,MAAM,IAAI,MAAM,+DAA+D,EAAE,OAAO,MAAM,CAAC;CACjG;CACA,MAAM,QAAQ,qBAAqB,mBAAmB,QAAQ;CAC9D,IAAI,CAAC,OACH,MAAM,IAAI,MACR,yHACF;CAEF,MAAM,SAAU,MAAM,OAAO,cAAc,KAAK,CAAC,CAAC;CAClD,IAAI,OAAO,OAAO,SAAS,YACzB,MAAM,IAAI,MAAM,GAAG,kBAAkB,2CAA2C;CAElF,OAAQ,OAAO,KAAsD,IAAI;AAC3E;AAEA,IAAI,QAAQ,KAAK,MAAM,YAAY,QAAQ,cAAc,QAAQ,KAAK,EAAE,CAAC,CAAC,MACxE,KAAK,CAAC,CAAC,MACJ,aAAa;CACZ,QAAQ,WAAW;AACrB,IACC,UAAmB;CAClB,MAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACrE,QAAQ,OAAO,MAAM,iBAAiB,QAAQ,GAAG;CACjD,QAAQ,WAAW;AACrB,CACF"}
|
package/dist/bin/dpi.cjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
//#region src/bin/dpi.ts
|
|
3
|
-
require("../cli/dpi.cjs").runDpi(process.argv.slice(2)).then((exitCode) => {
|
|
4
|
-
process.exitCode = exitCode;
|
|
5
|
-
}, (error) => {
|
|
6
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
7
|
-
process.stderr.write(`[dpi] ${message}\n`);
|
|
8
|
-
process.exitCode = 1;
|
|
9
|
-
});
|
|
10
|
-
//#endregion
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=dpi.cjs.map
|