@agimon-ai/po 0.0.0-alpha.21 → 0.0.0-alpha.210
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/LICENSE +97 -8
- package/README.md +37 -722
- package/dist/apiContracts.cjs.map +1 -1
- package/dist/apiContracts.d.mts +2 -2
- package/dist/bin/cli.cjs +12 -7
- package/dist/bin/cli.cjs.map +1 -1
- package/dist/bin/cli.mjs +12 -7
- package/dist/bin/cli.mjs.map +1 -1
- package/dist/bin/poRunner.cjs +24 -7
- package/dist/bin/poRunner.cjs.map +1 -1
- package/dist/bin/poRunner.d.mts +8 -0
- package/dist/bin/poRunner.d.mts.map +1 -1
- package/dist/bin/poRunner.mjs +24 -7
- package/dist/bin/poRunner.mjs.map +1 -1
- package/dist/bin/serve.cjs +28 -17
- package/dist/bin/serve.cjs.map +1 -1
- package/dist/bin/serve.mjs +28 -17
- package/dist/bin/serve.mjs.map +1 -1
- package/dist/builders/cli/extensionAssembler/index.cjs +53 -40
- package/dist/builders/cli/extensionAssembler/index.cjs.map +1 -1
- package/dist/builders/cli/extensionAssembler/index.d.mts +11 -6
- package/dist/builders/cli/extensionAssembler/index.d.mts.map +1 -1
- package/dist/builders/cli/extensionAssembler/index.mjs +53 -41
- package/dist/builders/cli/extensionAssembler/index.mjs.map +1 -1
- package/dist/catalog/index.json +662 -105
- package/dist/cli.cjs +9 -14
- package/dist/cli.d.mts +1 -3
- package/dist/cli.mjs +1 -3
- package/dist/commands.cjs +13 -15
- package/dist/commands.d.mts +1 -2
- package/dist/commands.mjs +1 -2
- package/dist/config.cjs +9 -14
- package/dist/config.d.mts +3 -2
- package/dist/config.mjs +3 -2
- package/dist/extensions/server.cjs +30 -23
- package/dist/extensions/server.cjs.map +1 -1
- package/dist/extensions/server.d.mts.map +1 -1
- package/dist/extensions/server.mjs +31 -24
- package/dist/extensions/server.mjs.map +1 -1
- package/dist/harnessContext.cjs +0 -1
- package/dist/harnessContext.d.mts +2 -2
- package/dist/harnessContext.mjs +1 -1
- package/dist/harnessState.cjs +2 -1
- package/dist/help.cjs +9 -11
- package/dist/help.d.mts +1 -2
- package/dist/help.mjs +1 -2
- package/dist/index.cjs +40 -67
- package/dist/index.d.mts +7 -16
- package/dist/index.mjs +7 -14
- package/dist/matrixOptions.cjs +10 -5
- package/dist/matrixOptions.d.mts +2 -2
- package/dist/matrixOptions.mjs +1 -1
- package/dist/package.cjs +11 -0
- package/dist/package.cjs.map +1 -0
- package/dist/package.mjs +6 -0
- package/dist/package.mjs.map +1 -0
- package/dist/projectTrust.cjs +3 -0
- package/dist/projectTrust.d.mts +2 -2
- package/dist/projectTrust.mjs +1 -1
- package/dist/repository.cjs +1 -0
- package/dist/repository.d.mts +2 -2
- package/dist/repository.mjs +1 -1
- package/dist/services.cjs +5 -20
- package/dist/services.d.mts +3 -8
- package/dist/services.mjs +3 -8
- package/dist/shared.cjs +4 -17
- package/dist/shared.d.mts +2 -2
- package/dist/shared.mjs +1 -1
- package/dist/src/bin/agentDirectory.cjs +19 -15
- package/dist/src/bin/agentDirectory.cjs.map +1 -1
- package/dist/src/bin/agentDirectory.mjs +16 -13
- package/dist/src/bin/agentDirectory.mjs.map +1 -1
- package/dist/src/builders/apiContractExport/index.cjs +23 -22
- package/dist/src/builders/apiContractExport/index.cjs.map +1 -1
- package/dist/src/builders/apiContractExport/index.mjs +22 -21
- package/dist/src/builders/apiContractExport/index.mjs.map +1 -1
- package/dist/src/builders/cli/entryResolution.cjs +2 -2
- package/dist/src/builders/cli/entryResolution.cjs.map +1 -1
- package/dist/src/builders/cli/entryResolution.mjs +1 -1
- package/dist/src/builders/cli/entryResolution.mjs.map +1 -1
- package/dist/src/builders/cli/harnessContext.cjs +38 -43
- package/dist/src/builders/cli/harnessContext.cjs.map +1 -1
- package/dist/src/builders/cli/harnessContext.d.mts +11 -10
- package/dist/src/builders/cli/harnessContext.d.mts.map +1 -1
- package/dist/src/builders/cli/harnessContext.mjs +37 -41
- package/dist/src/builders/cli/harnessContext.mjs.map +1 -1
- package/dist/src/builders/cli/sessionComposition.cjs +23 -12
- package/dist/src/builders/cli/sessionComposition.cjs.map +1 -1
- package/dist/src/builders/cli/sessionComposition.mjs +23 -12
- package/dist/src/builders/cli/sessionComposition.mjs.map +1 -1
- package/dist/src/builders/isolate/compile.cjs +226 -0
- package/dist/src/builders/isolate/compile.cjs.map +1 -0
- package/dist/src/builders/isolate/compile.mjs +222 -0
- package/dist/src/builders/isolate/compile.mjs.map +1 -0
- package/dist/src/builders/isolate/index.cjs +195 -0
- package/dist/src/builders/isolate/index.cjs.map +1 -0
- package/dist/src/builders/isolate/index.mjs +192 -0
- package/dist/src/builders/isolate/index.mjs.map +1 -0
- package/dist/src/builders/isolate/membrane.cjs +198 -0
- package/dist/src/builders/isolate/membrane.cjs.map +1 -0
- package/dist/src/builders/isolate/membrane.mjs +198 -0
- package/dist/src/builders/isolate/membrane.mjs.map +1 -0
- package/dist/src/builders/isolate/names.cjs +10 -0
- package/dist/src/builders/isolate/names.cjs.map +1 -0
- package/dist/src/builders/isolate/names.mjs +9 -0
- package/dist/src/builders/isolate/names.mjs.map +1 -0
- package/dist/src/builders/native/index.cjs +229 -67
- package/dist/src/builders/native/index.cjs.map +1 -1
- package/dist/src/builders/native/index.d.mts +4 -2
- package/dist/src/builders/native/index.d.mts.map +1 -1
- package/dist/src/builders/native/index.mjs +229 -68
- package/dist/src/builders/native/index.mjs.map +1 -1
- package/dist/src/builders/npm/index.cjs +76 -0
- package/dist/src/builders/npm/index.cjs.map +1 -0
- package/dist/src/builders/npm/index.mjs +73 -0
- package/dist/src/builders/npm/index.mjs.map +1 -0
- package/dist/src/builders/server/backgroundSync.cjs +62 -39
- package/dist/src/builders/server/backgroundSync.cjs.map +1 -1
- package/dist/src/builders/server/backgroundSync.mjs +62 -38
- package/dist/src/builders/server/backgroundSync.mjs.map +1 -1
- package/dist/src/builders/server/bundlerService.cjs +165 -35
- package/dist/src/builders/server/bundlerService.cjs.map +1 -1
- package/dist/src/builders/server/bundlerService.mjs +164 -36
- package/dist/src/builders/server/bundlerService.mjs.map +1 -1
- package/dist/src/builders/server/capabilities.cjs +103 -0
- package/dist/src/builders/server/capabilities.cjs.map +1 -0
- package/dist/src/builders/server/capabilities.mjs +101 -0
- package/dist/src/builders/server/capabilities.mjs.map +1 -0
- package/dist/src/builders/server/computerUseBinding.cjs +62 -10
- package/dist/src/builders/server/computerUseBinding.cjs.map +1 -1
- package/dist/src/builders/server/computerUseBinding.mjs +60 -8
- package/dist/src/builders/server/computerUseBinding.mjs.map +1 -1
- package/dist/src/builders/server/computerUseRecordings.cjs +152 -51
- package/dist/src/builders/server/computerUseRecordings.cjs.map +1 -1
- package/dist/src/builders/server/computerUseRecordings.mjs +158 -59
- package/dist/src/builders/server/computerUseRecordings.mjs.map +1 -1
- package/dist/src/builders/server/containedSessions.cjs +152 -0
- package/dist/src/builders/server/containedSessions.cjs.map +1 -0
- package/dist/src/builders/server/containedSessions.mjs +146 -0
- package/dist/src/builders/server/containedSessions.mjs.map +1 -0
- package/dist/src/builders/server/defaultWorkspace.cjs +46 -11
- package/dist/src/builders/server/defaultWorkspace.cjs.map +1 -1
- package/dist/src/builders/server/defaultWorkspace.mjs +42 -10
- package/dist/src/builders/server/defaultWorkspace.mjs.map +1 -1
- package/dist/src/builders/server/electronBinding.cjs +82 -0
- package/dist/src/builders/server/electronBinding.cjs.map +1 -0
- package/dist/src/builders/server/electronBinding.mjs +82 -0
- package/dist/src/builders/server/electronBinding.mjs.map +1 -0
- package/dist/src/builders/server/federation.cjs +364 -0
- package/dist/src/builders/server/federation.cjs.map +1 -0
- package/dist/src/builders/server/federation.mjs +363 -0
- package/dist/src/builders/server/federation.mjs.map +1 -0
- package/dist/src/builders/server/hostDisplayName.cjs +14 -0
- package/dist/src/builders/server/hostDisplayName.cjs.map +1 -0
- package/dist/src/builders/server/hostDisplayName.mjs +14 -0
- package/dist/src/builders/server/hostDisplayName.mjs.map +1 -0
- package/dist/src/builders/server/hostModelGateway.cjs +41 -0
- package/dist/src/builders/server/hostModelGateway.cjs.map +1 -0
- package/dist/src/builders/server/hostModelGateway.mjs +39 -0
- package/dist/src/builders/server/hostModelGateway.mjs.map +1 -0
- package/dist/src/builders/server/hostTeam.cjs +188 -0
- package/dist/src/builders/server/hostTeam.cjs.map +1 -0
- package/dist/src/builders/server/hostTeam.mjs +180 -0
- package/dist/src/builders/server/hostTeam.mjs.map +1 -0
- package/dist/src/builders/server/idleRestart.cjs +185 -40
- package/dist/src/builders/server/idleRestart.cjs.map +1 -1
- package/dist/src/builders/server/idleRestart.mjs +176 -39
- package/dist/src/builders/server/idleRestart.mjs.map +1 -1
- package/dist/src/builders/server/index.cjs +33 -19
- package/dist/src/builders/server/index.cjs.map +1 -1
- package/dist/src/builders/server/index.mjs +33 -18
- package/dist/src/builders/server/index.mjs.map +1 -1
- package/dist/src/builders/server/liveActivityPush.cjs +202 -0
- package/dist/src/builders/server/liveActivityPush.cjs.map +1 -0
- package/dist/src/builders/server/liveActivityPush.mjs +202 -0
- package/dist/src/builders/server/liveActivityPush.mjs.map +1 -0
- package/dist/src/builders/server/logSink.cjs +12 -10
- package/dist/src/builders/server/logSink.cjs.map +1 -1
- package/dist/src/builders/server/logSink.mjs +12 -10
- package/dist/src/builders/server/logSink.mjs.map +1 -1
- package/dist/src/builders/server/mcpApp.cjs +27 -20
- package/dist/src/builders/server/mcpApp.cjs.map +1 -1
- package/dist/src/builders/server/mcpApp.mjs +25 -18
- package/dist/src/builders/server/mcpApp.mjs.map +1 -1
- package/dist/src/builders/server/mcpAppBuild.cjs +61 -41
- package/dist/src/builders/server/mcpAppBuild.cjs.map +1 -1
- package/dist/src/builders/server/mcpAppBuild.d.mts +3 -6
- package/dist/src/builders/server/mcpAppBuild.d.mts.map +1 -1
- package/dist/src/builders/server/mcpAppBuild.mjs +61 -40
- package/dist/src/builders/server/mcpAppBuild.mjs.map +1 -1
- package/dist/src/builders/server/mcpBundle.cjs +20 -16
- package/dist/src/builders/server/mcpBundle.cjs.map +1 -1
- package/dist/src/builders/server/mcpBundle.d.mts +2 -1
- package/dist/src/builders/server/mcpBundle.d.mts.map +1 -1
- package/dist/src/builders/server/mcpBundle.mjs +20 -15
- package/dist/src/builders/server/mcpBundle.mjs.map +1 -1
- package/dist/src/builders/server/nativePush.cjs +229 -0
- package/dist/src/builders/server/nativePush.cjs.map +1 -0
- package/dist/src/builders/server/nativePush.mjs +228 -0
- package/dist/src/builders/server/nativePush.mjs.map +1 -0
- package/dist/src/builders/server/network.cjs +887 -0
- package/dist/src/builders/server/network.cjs.map +1 -0
- package/dist/src/builders/server/network.mjs +886 -0
- package/dist/src/builders/server/network.mjs.map +1 -0
- package/dist/src/builders/server/networkGateway.cjs +123 -0
- package/dist/src/builders/server/networkGateway.cjs.map +1 -0
- package/dist/src/builders/server/networkGateway.mjs +123 -0
- package/dist/src/builders/server/networkGateway.mjs.map +1 -0
- package/dist/src/builders/server/networkRelay.cjs +83 -0
- package/dist/src/builders/server/networkRelay.cjs.map +1 -0
- package/dist/src/builders/server/networkRelay.mjs +81 -0
- package/dist/src/builders/server/networkRelay.mjs.map +1 -0
- package/dist/src/builders/server/orgPluginLibraryBinding.cjs +72 -0
- package/dist/src/builders/server/orgPluginLibraryBinding.cjs.map +1 -0
- package/dist/src/builders/server/orgPluginLibraryBinding.mjs +72 -0
- package/dist/src/builders/server/orgPluginLibraryBinding.mjs.map +1 -0
- package/dist/src/builders/server/packageReloadCheck.cjs +46 -2
- package/dist/src/builders/server/packageReloadCheck.cjs.map +1 -1
- package/dist/src/builders/server/packageReloadCheck.mjs +46 -3
- package/dist/src/builders/server/packageReloadCheck.mjs.map +1 -1
- package/dist/src/builders/server/packageUrl.cjs +161 -58
- package/dist/src/builders/server/packageUrl.cjs.map +1 -1
- package/dist/src/builders/server/packageUrl.mjs +162 -58
- package/dist/src/builders/server/packageUrl.mjs.map +1 -1
- package/dist/src/builders/server/privateRelay.cjs +309 -0
- package/dist/src/builders/server/privateRelay.cjs.map +1 -0
- package/dist/src/builders/server/privateRelay.mjs +305 -0
- package/dist/src/builders/server/privateRelay.mjs.map +1 -0
- package/dist/src/builders/server/privateRelayCarrier.cjs +316 -0
- package/dist/src/builders/server/privateRelayCarrier.cjs.map +1 -0
- package/dist/src/builders/server/privateRelayCarrier.mjs +309 -0
- package/dist/src/builders/server/privateRelayCarrier.mjs.map +1 -0
- package/dist/src/builders/server/runtime.cjs +2731 -485
- package/dist/src/builders/server/runtime.cjs.map +1 -1
- package/dist/src/builders/server/runtime.mjs +2741 -499
- package/dist/src/builders/server/runtime.mjs.map +1 -1
- package/dist/src/builders/server/runtimeResources.cjs +37 -0
- package/dist/src/builders/server/runtimeResources.cjs.map +1 -1
- package/dist/src/builders/server/runtimeResources.mjs +38 -2
- package/dist/src/builders/server/runtimeResources.mjs.map +1 -1
- package/dist/src/builders/server/sandboxRouter.cjs +815 -0
- package/dist/src/builders/server/sandboxRouter.cjs.map +1 -0
- package/dist/src/builders/server/sandboxRouter.mjs +811 -0
- package/dist/src/builders/server/sandboxRouter.mjs.map +1 -0
- package/dist/src/builders/server/sandboxSessionHandoff.cjs +298 -0
- package/dist/src/builders/server/sandboxSessionHandoff.cjs.map +1 -0
- package/dist/src/builders/server/sandboxSessionHandoff.mjs +287 -0
- package/dist/src/builders/server/sandboxSessionHandoff.mjs.map +1 -0
- package/dist/src/builders/server/scopeReloadController.cjs +80 -0
- package/dist/src/builders/server/scopeReloadController.cjs.map +1 -0
- package/dist/src/builders/server/scopeReloadController.mjs +80 -0
- package/dist/src/builders/server/scopeReloadController.mjs.map +1 -0
- package/dist/src/builders/server/selectionStatus.cjs +2 -2
- package/dist/src/builders/server/selectionStatus.cjs.map +1 -1
- package/dist/src/builders/server/selectionStatus.mjs +2 -2
- package/dist/src/builders/server/selectionStatus.mjs.map +1 -1
- package/dist/src/builders/server/sessionArguments.cjs +65 -7
- package/dist/src/builders/server/sessionArguments.cjs.map +1 -1
- package/dist/src/builders/server/sessionArguments.mjs +64 -8
- package/dist/src/builders/server/sessionArguments.mjs.map +1 -1
- package/dist/src/builders/server/sessionRemoval.cjs +233 -0
- package/dist/src/builders/server/sessionRemoval.cjs.map +1 -0
- package/dist/src/builders/server/sessionRemoval.mjs +224 -0
- package/dist/src/builders/server/sessionRemoval.mjs.map +1 -0
- package/dist/src/builders/server/sessionSummaries.cjs +32 -0
- package/dist/src/builders/server/sessionSummaries.cjs.map +1 -0
- package/dist/src/builders/server/sessionSummaries.mjs +31 -0
- package/dist/src/builders/server/sessionSummaries.mjs.map +1 -0
- package/dist/src/builders/server/shutdown.cjs +23 -0
- package/dist/src/builders/server/shutdown.cjs.map +1 -1
- package/dist/src/builders/server/shutdown.mjs +21 -1
- package/dist/src/builders/server/shutdown.mjs.map +1 -1
- package/dist/src/builders/server/shutdownStack.cjs +44 -0
- package/dist/src/builders/server/shutdownStack.cjs.map +1 -0
- package/dist/src/builders/server/shutdownStack.mjs +43 -0
- package/dist/src/builders/server/shutdownStack.mjs.map +1 -0
- package/dist/src/builders/server/toolBoundaryHold.cjs +55 -0
- package/dist/src/builders/server/toolBoundaryHold.cjs.map +1 -0
- package/dist/src/builders/server/toolBoundaryHold.mjs +55 -0
- package/dist/src/builders/server/toolBoundaryHold.mjs.map +1 -0
- package/dist/src/builders/server/watcherService.cjs +55 -28
- package/dist/src/builders/server/watcherService.cjs.map +1 -1
- package/dist/src/builders/server/watcherService.mjs +55 -27
- package/dist/src/builders/server/watcherService.mjs.map +1 -1
- package/dist/src/builders/server/webTemplateDecision.cjs +7 -3
- package/dist/src/builders/server/webTemplateDecision.cjs.map +1 -1
- package/dist/src/builders/server/webTemplateDecision.mjs +7 -3
- package/dist/src/builders/server/webTemplateDecision.mjs.map +1 -1
- package/dist/src/builders/server/workspaceAdmission.cjs +96 -0
- package/dist/src/builders/server/workspaceAdmission.cjs.map +1 -0
- package/dist/src/builders/server/workspaceAdmission.mjs +90 -0
- package/dist/src/builders/server/workspaceAdmission.mjs.map +1 -0
- package/dist/src/builders/server/workspaceCheckout.cjs +16 -7
- package/dist/src/builders/server/workspaceCheckout.cjs.map +1 -1
- package/dist/src/builders/server/workspaceCheckout.mjs +16 -7
- package/dist/src/builders/server/workspaceCheckout.mjs.map +1 -1
- package/dist/src/builders/web/bundle.cjs +16 -14
- package/dist/src/builders/web/bundle.cjs.map +1 -1
- package/dist/src/builders/web/bundle.d.mts +3 -0
- package/dist/src/builders/web/bundle.d.mts.map +1 -1
- package/dist/src/builders/web/bundle.mjs +15 -13
- package/dist/src/builders/web/bundle.mjs.map +1 -1
- package/dist/src/builders/web/index.cjs +77 -59
- package/dist/src/builders/web/index.cjs.map +1 -1
- package/dist/src/builders/web/index.d.mts +19 -14
- package/dist/src/builders/web/index.d.mts.map +1 -1
- package/dist/src/builders/web/index.mjs +76 -58
- package/dist/src/builders/web/index.mjs.map +1 -1
- package/dist/src/builders/web/webPluginGenerate.cjs +84 -45
- package/dist/src/builders/web/webPluginGenerate.cjs.map +1 -1
- package/dist/src/builders/web/webPluginGenerate.d.mts +13 -4
- package/dist/src/builders/web/webPluginGenerate.d.mts.map +1 -1
- package/dist/src/builders/web/webPluginGenerate.mjs +82 -44
- package/dist/src/builders/web/webPluginGenerate.mjs.map +1 -1
- package/dist/src/builders/web/webPluginManifest.cjs +24 -17
- package/dist/src/builders/web/webPluginManifest.cjs.map +1 -1
- package/dist/src/builders/web/webPluginManifest.d.mts +11 -23
- package/dist/src/builders/web/webPluginManifest.d.mts.map +1 -1
- package/dist/src/builders/web/webPluginManifest.mjs +23 -16
- package/dist/src/builders/web/webPluginManifest.mjs.map +1 -1
- package/dist/src/builders/web/webPluginScan.cjs +11 -8
- package/dist/src/builders/web/webPluginScan.cjs.map +1 -1
- package/dist/src/builders/web/webPluginScan.d.mts +1 -1
- package/dist/src/builders/web/webPluginScan.d.mts.map +1 -1
- package/dist/src/builders/web/webPluginScan.mjs +10 -7
- package/dist/src/builders/web/webPluginScan.mjs.map +1 -1
- package/dist/src/builders/web/webPluginVite.cjs +5 -5
- package/dist/src/builders/web/webPluginVite.cjs.map +1 -1
- package/dist/src/builders/web/webPluginVite.d.mts +1 -1
- package/dist/src/builders/web/webPluginVite.d.mts.map +1 -1
- package/dist/src/builders/web/webPluginVite.mjs +3 -3
- package/dist/src/builders/web/webPluginVite.mjs.map +1 -1
- package/dist/src/cli/cliApp.cjs +18 -19
- package/dist/src/cli/cliApp.cjs.map +1 -1
- package/dist/src/cli/cliApp.d.mts +1 -1
- package/dist/src/cli/cliApp.d.mts.map +1 -1
- package/dist/src/cli/cliApp.mjs +18 -19
- package/dist/src/cli/cliApp.mjs.map +1 -1
- package/dist/src/cli/commands/api-export/index.cjs +14 -13
- package/dist/src/cli/commands/api-export/index.cjs.map +1 -1
- package/dist/src/cli/commands/api-export/index.mjs +13 -12
- package/dist/src/cli/commands/api-export/index.mjs.map +1 -1
- package/dist/src/cli/commands/doctor/help.cjs +4 -3
- package/dist/src/cli/commands/doctor/help.cjs.map +1 -1
- package/dist/src/cli/commands/doctor/help.d.mts.map +1 -1
- package/dist/src/cli/commands/doctor/help.mjs +4 -3
- package/dist/src/cli/commands/doctor/help.mjs.map +1 -1
- package/dist/src/cli/commands/doctor/index.cjs +30 -17
- package/dist/src/cli/commands/doctor/index.cjs.map +1 -1
- package/dist/src/cli/commands/doctor/index.d.mts +4 -4
- package/dist/src/cli/commands/doctor/index.d.mts.map +1 -1
- package/dist/src/cli/commands/doctor/index.mjs +28 -15
- package/dist/src/cli/commands/doctor/index.mjs.map +1 -1
- package/dist/src/cli/commands/emit-mcp/index.cjs +3 -2
- package/dist/src/cli/commands/emit-mcp/index.cjs.map +1 -1
- package/dist/src/cli/commands/emit-mcp/index.d.mts.map +1 -1
- package/dist/src/cli/commands/emit-mcp/index.mjs +3 -2
- package/dist/src/cli/commands/emit-mcp/index.mjs.map +1 -1
- package/dist/src/cli/commands/explain/index.cjs +53 -38
- package/dist/src/cli/commands/explain/index.cjs.map +1 -1
- package/dist/src/cli/commands/explain/index.d.mts +3 -4
- package/dist/src/cli/commands/explain/index.d.mts.map +1 -1
- package/dist/src/cli/commands/explain/index.mjs +52 -37
- package/dist/src/cli/commands/explain/index.mjs.map +1 -1
- package/dist/src/cli/commands/init/help.cjs +3 -2
- package/dist/src/cli/commands/init/help.cjs.map +1 -1
- package/dist/src/cli/commands/init/help.d.mts.map +1 -1
- package/dist/src/cli/commands/init/help.mjs +3 -2
- package/dist/src/cli/commands/init/help.mjs.map +1 -1
- package/dist/src/cli/commands/init/index.cjs +17 -12
- package/dist/src/cli/commands/init/index.cjs.map +1 -1
- package/dist/src/cli/commands/init/index.d.mts.map +1 -1
- package/dist/src/cli/commands/init/index.mjs +16 -11
- package/dist/src/cli/commands/init/index.mjs.map +1 -1
- package/dist/src/cli/commands/init/presenter.cjs +29 -21
- package/dist/src/cli/commands/init/presenter.cjs.map +1 -1
- package/dist/src/cli/commands/init/presenter.mjs +29 -21
- package/dist/src/cli/commands/init/presenter.mjs.map +1 -1
- package/dist/src/cli/commands/sync/help.cjs +7 -3
- package/dist/src/cli/commands/sync/help.cjs.map +1 -1
- package/dist/src/cli/commands/sync/help.d.mts.map +1 -1
- package/dist/src/cli/commands/sync/help.mjs +7 -3
- package/dist/src/cli/commands/sync/help.mjs.map +1 -1
- package/dist/src/cli/commands/sync/index.cjs +72 -40
- package/dist/src/cli/commands/sync/index.cjs.map +1 -1
- package/dist/src/cli/commands/sync/index.d.mts.map +1 -1
- package/dist/src/cli/commands/sync/index.mjs +69 -37
- package/dist/src/cli/commands/sync/index.mjs.map +1 -1
- package/dist/src/cli/commands/sync/presenter.cjs +10 -1
- package/dist/src/cli/commands/sync/presenter.cjs.map +1 -1
- package/dist/src/cli/commands/sync/presenter.d.mts +0 -9
- package/dist/src/cli/commands/sync/presenter.d.mts.map +1 -1
- package/dist/src/cli/commands/sync/presenter.mjs +10 -1
- package/dist/src/cli/commands/sync/presenter.mjs.map +1 -1
- package/dist/src/cli/commands/web/index.cjs +7 -6
- package/dist/src/cli/commands/web/index.cjs.map +1 -1
- package/dist/src/cli/commands/web/index.mjs +6 -5
- package/dist/src/cli/commands/web/index.mjs.map +1 -1
- package/dist/src/cli/harnessOptions.cjs +15 -24
- package/dist/src/cli/harnessOptions.cjs.map +1 -1
- package/dist/src/cli/harnessOptions.d.mts +2 -2
- package/dist/src/cli/harnessOptions.d.mts.map +1 -1
- package/dist/src/cli/harnessOptions.mjs +14 -22
- package/dist/src/cli/harnessOptions.mjs.map +1 -1
- package/dist/src/cli/help.cjs +20 -26
- package/dist/src/cli/help.cjs.map +1 -1
- package/dist/src/cli/help.d.mts +1 -2
- package/dist/src/cli/help.d.mts.map +1 -1
- package/dist/src/cli/help.mjs +15 -20
- package/dist/src/cli/help.mjs.map +1 -1
- package/dist/src/cli/locale.cjs +25 -0
- package/dist/src/cli/locale.cjs.map +1 -0
- package/dist/src/cli/locale.mjs +22 -0
- package/dist/src/cli/locale.mjs.map +1 -0
- package/dist/src/cli/matrixOptions.cjs +85 -37
- package/dist/src/cli/matrixOptions.cjs.map +1 -1
- package/dist/src/cli/matrixOptions.d.mts +22 -16
- package/dist/src/cli/matrixOptions.d.mts.map +1 -1
- package/dist/src/cli/matrixOptions.mjs +76 -33
- package/dist/src/cli/matrixOptions.mjs.map +1 -1
- package/dist/src/cli/options.cjs +51 -128
- package/dist/src/cli/options.cjs.map +1 -1
- package/dist/src/cli/options.d.mts +1 -1
- package/dist/src/cli/options.d.mts.map +1 -1
- package/dist/src/cli/options.mjs +53 -130
- package/dist/src/cli/options.mjs.map +1 -1
- package/dist/src/cli/router.cjs +0 -1
- package/dist/src/cli/router.cjs.map +1 -1
- package/dist/src/cli/router.d.mts +1 -1
- package/dist/src/cli/router.mjs +0 -1
- package/dist/src/cli/router.mjs.map +1 -1
- package/dist/src/cli/server/options.cjs +37 -7
- package/dist/src/cli/server/options.cjs.map +1 -1
- package/dist/src/cli/server/options.mjs +37 -7
- package/dist/src/cli/server/options.mjs.map +1 -1
- package/dist/src/cli/server/processGuards.cjs +22 -15
- package/dist/src/cli/server/processGuards.cjs.map +1 -1
- package/dist/src/cli/server/processGuards.mjs +21 -14
- package/dist/src/cli/server/processGuards.mjs.map +1 -1
- package/dist/src/cli/server/restartPolicy.cjs +38 -0
- package/dist/src/cli/server/restartPolicy.cjs.map +1 -0
- package/dist/src/cli/server/restartPolicy.d.mts +21 -0
- package/dist/src/cli/server/restartPolicy.d.mts.map +1 -0
- package/dist/src/cli/server/restartPolicy.mjs +36 -0
- package/dist/src/cli/server/restartPolicy.mjs.map +1 -0
- package/dist/src/cli/server/run.cjs +12 -11
- package/dist/src/cli/server/run.cjs.map +1 -1
- package/dist/src/cli/server/run.mjs +11 -10
- package/dist/src/cli/server/run.mjs.map +1 -1
- package/dist/src/cli/server/supervise.cjs +89 -0
- package/dist/src/cli/server/supervise.cjs.map +1 -0
- package/dist/src/cli/server/supervise.mjs +89 -0
- package/dist/src/cli/server/supervise.mjs.map +1 -0
- package/dist/src/composition/harnessState/index.cjs +2 -1
- package/dist/src/composition/harnessState/index.cjs.map +1 -1
- package/dist/src/composition/harnessState/index.d.mts +2 -1
- package/dist/src/composition/harnessState/index.d.mts.map +1 -1
- package/dist/src/composition/harnessState/index.mjs +2 -1
- package/dist/src/composition/harnessState/index.mjs.map +1 -1
- package/dist/src/composition/layerPackageInstaller/index.cjs +293 -86
- package/dist/src/composition/layerPackageInstaller/index.cjs.map +1 -1
- package/dist/src/composition/layerPackageInstaller/index.d.mts +25 -2
- package/dist/src/composition/layerPackageInstaller/index.d.mts.map +1 -1
- package/dist/src/composition/layerPackageInstaller/index.mjs +295 -94
- package/dist/src/composition/layerPackageInstaller/index.mjs.map +1 -1
- package/dist/src/composition/marketplaceCatalog/index.cjs +136 -0
- package/dist/src/composition/marketplaceCatalog/index.cjs.map +1 -0
- package/dist/src/composition/marketplaceCatalog/index.mjs +132 -0
- package/dist/src/composition/marketplaceCatalog/index.mjs.map +1 -0
- package/dist/src/composition/orgPluginActivation/index.cjs +179 -0
- package/dist/src/composition/orgPluginActivation/index.cjs.map +1 -0
- package/dist/src/composition/orgPluginActivation/index.mjs +177 -0
- package/dist/src/composition/orgPluginActivation/index.mjs.map +1 -0
- package/dist/src/composition/orgPluginLibrary/index.cjs +205 -0
- package/dist/src/composition/orgPluginLibrary/index.cjs.map +1 -0
- package/dist/src/composition/orgPluginLibrary/index.mjs +200 -0
- package/dist/src/composition/orgPluginLibrary/index.mjs.map +1 -0
- package/dist/src/composition/pluginMarketplace/index.cjs +304 -0
- package/dist/src/composition/pluginMarketplace/index.cjs.map +1 -0
- package/dist/src/composition/pluginMarketplace/index.mjs +302 -0
- package/dist/src/composition/pluginMarketplace/index.mjs.map +1 -0
- package/dist/src/composition/poHomeMigration/index.cjs +46 -26
- package/dist/src/composition/poHomeMigration/index.cjs.map +1 -1
- package/dist/src/composition/poHomeMigration/index.d.mts.map +1 -1
- package/dist/src/composition/poHomeMigration/index.mjs +45 -25
- package/dist/src/composition/poHomeMigration/index.mjs.map +1 -1
- package/dist/src/composition/projectTrust/index.cjs +40 -3
- package/dist/src/composition/projectTrust/index.cjs.map +1 -1
- package/dist/src/composition/projectTrust/index.d.mts +8 -0
- package/dist/src/composition/projectTrust/index.d.mts.map +1 -1
- package/dist/src/composition/projectTrust/index.mjs +33 -2
- package/dist/src/composition/projectTrust/index.mjs.map +1 -1
- package/dist/src/composition/repository/index.cjs +29 -12
- package/dist/src/composition/repository/index.cjs.map +1 -1
- package/dist/src/composition/repository/index.d.mts +10 -3
- package/dist/src/composition/repository/index.d.mts.map +1 -1
- package/dist/src/composition/repository/index.mjs +29 -13
- package/dist/src/composition/repository/index.mjs.map +1 -1
- package/dist/src/composition/syncPrune/index.cjs +23 -16
- package/dist/src/composition/syncPrune/index.cjs.map +1 -1
- package/dist/src/composition/syncPrune/index.d.mts.map +1 -1
- package/dist/src/composition/syncPrune/index.mjs +22 -15
- package/dist/src/composition/syncPrune/index.mjs.map +1 -1
- package/dist/src/composition/syncService/index.cjs +441 -194
- package/dist/src/composition/syncService/index.cjs.map +1 -1
- package/dist/src/composition/syncService/index.d.mts +4 -1
- package/dist/src/composition/syncService/index.d.mts.map +1 -1
- package/dist/src/composition/syncService/index.mjs +440 -196
- package/dist/src/composition/syncService/index.mjs.map +1 -1
- package/dist/src/composition/syncService/localBuilds.cjs +41 -37
- package/dist/src/composition/syncService/localBuilds.cjs.map +1 -1
- package/dist/src/composition/syncService/localBuilds.mjs +40 -37
- package/dist/src/composition/syncService/localBuilds.mjs.map +1 -1
- package/dist/src/composition/transitionLayers.cjs.map +1 -1
- package/dist/src/composition/transitionLayers.d.mts +3 -3
- package/dist/src/composition/transitionLayers.d.mts.map +1 -1
- package/dist/src/composition/transitionLayers.mjs.map +1 -1
- package/dist/src/composition/types/harness.d.mts +4 -9
- package/dist/src/composition/types/harness.d.mts.map +1 -1
- package/dist/src/extensions/setupDiagnostics.cjs +8 -8
- package/dist/src/extensions/setupDiagnostics.cjs.map +1 -1
- package/dist/src/extensions/setupDiagnostics.mjs +8 -8
- package/dist/src/extensions/setupDiagnostics.mjs.map +1 -1
- package/dist/webBuilder.cjs +1 -0
- package/dist/webBuilder.d.mts +2 -2
- package/dist/webBuilder.mjs +2 -2
- package/docs/server/api-export.md +9 -9
- package/docs/server/api.md +22 -125
- package/docs/server/getting-started.md +21 -85
- package/docs/server/index.md +13 -58
- package/docs/server/ipc.md +26 -72
- package/docs/server/lifecycle.md +18 -91
- package/docs/server/security.md +20 -80
- package/package.json +47 -67
- package/src/prompts/po-author-extension/SKILL.md +2 -2
- package/src/prompts/po-author-extension/references/extension-contract.md +4 -6
- package/dist/antigravity.cjs +0 -5
- package/dist/antigravity.d.mts +0 -2
- package/dist/antigravity.mjs +0 -1
- package/dist/codex.cjs +0 -8
- package/dist/codex.d.mts +0 -2
- package/dist/codex.mjs +0 -1
- package/dist/compatibility.cjs +0 -27
- package/dist/compatibility.d.mts +0 -6
- package/dist/compatibility.mjs +0 -6
- package/dist/compatibilityCommand.cjs +0 -4
- package/dist/compatibilityCommand.d.mts +0 -2
- package/dist/compatibilityCommand.mjs +0 -1
- package/dist/compatibilityContext.cjs +0 -3
- package/dist/compatibilityContext.d.mts +0 -2
- package/dist/compatibilityContext.mjs +0 -1
- package/dist/compatibilityOptions.cjs +0 -5
- package/dist/compatibilityOptions.d.mts +0 -2
- package/dist/compatibilityOptions.mjs +0 -1
- package/dist/process.cjs +0 -12
- package/dist/process.d.mts +0 -2
- package/dist/process.mjs +0 -1
- package/dist/src/builders/hooks/index.cjs +0 -238
- package/dist/src/builders/hooks/index.cjs.map +0 -1
- package/dist/src/builders/hooks/index.mjs +0 -231
- package/dist/src/builders/hooks/index.mjs.map +0 -1
- package/dist/src/cli/commands/compat/context.cjs +0 -115
- package/dist/src/cli/commands/compat/context.cjs.map +0 -1
- package/dist/src/cli/commands/compat/context.d.mts +0 -22
- package/dist/src/cli/commands/compat/context.d.mts.map +0 -1
- package/dist/src/cli/commands/compat/context.mjs +0 -110
- package/dist/src/cli/commands/compat/context.mjs.map +0 -1
- package/dist/src/cli/commands/compat/help.cjs +0 -26
- package/dist/src/cli/commands/compat/help.cjs.map +0 -1
- package/dist/src/cli/commands/compat/help.d.mts +0 -4
- package/dist/src/cli/commands/compat/help.d.mts.map +0 -1
- package/dist/src/cli/commands/compat/help.mjs +0 -25
- package/dist/src/cli/commands/compat/help.mjs.map +0 -1
- package/dist/src/cli/commands/compat/index.cjs +0 -73
- package/dist/src/cli/commands/compat/index.cjs.map +0 -1
- package/dist/src/cli/commands/compat/index.d.mts +0 -14
- package/dist/src/cli/commands/compat/index.d.mts.map +0 -1
- package/dist/src/cli/commands/compat/index.mjs +0 -70
- package/dist/src/cli/commands/compat/index.mjs.map +0 -1
- package/dist/src/cli/commands/compat/options.cjs +0 -88
- package/dist/src/cli/commands/compat/options.cjs.map +0 -1
- package/dist/src/cli/commands/compat/options.d.mts +0 -15
- package/dist/src/cli/commands/compat/options.d.mts.map +0 -1
- package/dist/src/cli/commands/compat/options.mjs +0 -86
- package/dist/src/cli/commands/compat/options.mjs.map +0 -1
- package/dist/src/cli/commands/compat/providers/antigravity.cjs +0 -294
- package/dist/src/cli/commands/compat/providers/antigravity.cjs.map +0 -1
- package/dist/src/cli/commands/compat/providers/antigravity.d.mts +0 -9
- package/dist/src/cli/commands/compat/providers/antigravity.d.mts.map +0 -1
- package/dist/src/cli/commands/compat/providers/antigravity.mjs +0 -289
- package/dist/src/cli/commands/compat/providers/antigravity.mjs.map +0 -1
- package/dist/src/cli/commands/compat/providers/codex.cjs +0 -178
- package/dist/src/cli/commands/compat/providers/codex.cjs.map +0 -1
- package/dist/src/cli/commands/compat/providers/codex.d.mts +0 -17
- package/dist/src/cli/commands/compat/providers/codex.d.mts.map +0 -1
- package/dist/src/cli/commands/compat/providers/codex.mjs +0 -170
- package/dist/src/cli/commands/compat/providers/codex.mjs.map +0 -1
- package/dist/src/cli/commands/compat/providers/index.cjs +0 -65
- package/dist/src/cli/commands/compat/providers/index.cjs.map +0 -1
- package/dist/src/cli/commands/compat/providers/index.d.mts +0 -15
- package/dist/src/cli/commands/compat/providers/index.d.mts.map +0 -1
- package/dist/src/cli/commands/compat/providers/index.mjs +0 -45
- package/dist/src/cli/commands/compat/providers/index.mjs.map +0 -1
- package/dist/src/cli/commands/compat/providers/process.cjs +0 -172
- package/dist/src/cli/commands/compat/providers/process.cjs.map +0 -1
- package/dist/src/cli/commands/compat/providers/process.d.mts +0 -33
- package/dist/src/cli/commands/compat/providers/process.d.mts.map +0 -1
- package/dist/src/cli/commands/compat/providers/process.mjs +0 -159
- package/dist/src/cli/commands/compat/providers/process.mjs.map +0 -1
- package/dist/src/cli/commands/compat/providers/shared.cjs +0 -76
- package/dist/src/cli/commands/compat/providers/shared.cjs.map +0 -1
- package/dist/src/cli/commands/compat/providers/shared.d.mts +0 -40
- package/dist/src/cli/commands/compat/providers/shared.d.mts.map +0 -1
- package/dist/src/cli/commands/compat/providers/shared.mjs +0 -61
- package/dist/src/cli/commands/compat/providers/shared.mjs.map +0 -1
- package/dist/src/cli/commands/compat/types.d.mts +0 -31
- package/dist/src/cli/commands/compat/types.d.mts.map +0 -1
- package/dist/src/cli/commands/init/constants.cjs +0 -11
- package/dist/src/cli/commands/init/constants.cjs.map +0 -1
- package/dist/src/cli/commands/init/constants.mjs +0 -11
- package/dist/src/cli/commands/init/constants.mjs.map +0 -1
package/docs/server/ipc.md
CHANGED
|
@@ -1,93 +1,47 @@
|
|
|
1
|
-
# Client protocol
|
|
1
|
+
# Client protocol
|
|
2
2
|
|
|
3
|
-
The
|
|
3
|
+
The headless host exposes authenticated HTTP routes and scoped WebSockets. Agent execution, package dispatch, and durable storage stay in that process; clients do not send raw shell commands over a private filesystem transport.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Route hierarchy
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
v v
|
|
13
|
-
HTTP control surface /api/ws WebSocket
|
|
14
|
-
health, sessions, APIs Chord 1.3 objects
|
|
15
|
-
| |
|
|
16
|
-
+------------------+------------------+
|
|
17
|
-
v
|
|
18
|
-
DirectHarnessRuntime
|
|
19
|
-
```
|
|
7
|
+
| Scope | Resource | Package APIs | WebSocket |
|
|
8
|
+
| --------- | ------------------------------------------------------ | -------------------------------------------------------------------------- | --------------------------------------------------------- |
|
|
9
|
+
| Host | `/api/settings` | `/api/plugins/<base-path>` | `/api/ws` |
|
|
10
|
+
| Workspace | `/api/workspaces/<workspace-id>` | `/api/workspaces/<workspace-id>/plugins/<base-path>` | `/api/workspaces/<workspace-id>/ws` |
|
|
11
|
+
| Session | `/api/workspaces/<workspace-id>/sessions/<session-id>` | `/api/workspaces/<workspace-id>/sessions/<session-id>/plugins/<base-path>` | `/api/workspaces/<workspace-id>/sessions/<session-id>/ws` |
|
|
20
12
|
|
|
21
|
-
|
|
13
|
+
Workspace settings use `/api/workspaces/<workspace-id>/settings`. Scope is fixed by the path. A session addressed through another workspace returns `404`; an unknown package does not fall back to a parent scope. Retired flat session routes, singular `/api/plugin`, and `/api/pi` have no aliases.
|
|
22
14
|
|
|
23
|
-
|
|
15
|
+
Admit a local workspace with `POST /api/workspaces` and a root, then create/list sessions under its `/sessions` collection. `POST /api/sessions` without a working directory creates a session in the host-managed Default workspace, admitting it on first use. These are local-host contracts; a cloud workspace does not accept a local repository root.
|
|
24
16
|
|
|
25
|
-
|
|
17
|
+
`GET /api/health` is a public readiness check. Normal control clients authenticate with `Authorization: Bearer <token>` or `x-po-token`. WebSocket clients can supply the capability in upgrade headers; avoid token query strings because URLs may be logged. Explicit package/public authentication routes have their own narrow policies.
|
|
26
18
|
|
|
27
|
-
|
|
28
|
-
| ---------------------------------------------------------------------- | ------------------------------------------- |
|
|
29
|
-
| `GET /api/health` | Unauthenticated readiness and session count |
|
|
30
|
-
| `GET /api/workspaces/<workspace-id>/sessions` | Session metadata for the headless hub |
|
|
31
|
-
| `GET /api/workspaces/<workspace-id>/sessions/<id>` | One session's metadata |
|
|
32
|
-
| `/api/workspaces/<workspace-id>/sessions/<id>/plugins/<base-path>/...` | Dispatch a session package API in process |
|
|
19
|
+
## Typed WebSocket services
|
|
33
20
|
|
|
34
|
-
|
|
21
|
+
The socket carries Chord link frames through Po's protocol adapter. Import client contracts from `@agimon-ai/po-core/sessionProtocol` rather than depending directly on a particular Chord version.
|
|
35
22
|
|
|
36
|
-
The
|
|
23
|
+
The host socket offers the aggregate hub view. Workspace/session sockets restrict attachments and operations to their addressed scope. Session objects expose typed prompting, steering, queue, model, compaction, rewind, extension-response, and query operations. The shared contracts and [compiled export](api-export.md) define the exact current methods and payloads.
|
|
37
24
|
|
|
38
|
-
|
|
25
|
+
A prompt can wait for acceptance or settlement. Acceptance is authoritative submission, not completion. Do not retry a mutation merely because its response was lost. Context cancellation and turn abort also have distinct ownership.
|
|
39
26
|
|
|
40
|
-
|
|
27
|
+
## State and history
|
|
41
28
|
|
|
42
|
-
|
|
43
|
-
- `po.session` (input `{ sessionId }`) exposes one session's `state` and operations, plus `alive`, which turns false when the runtime behind it exits.
|
|
29
|
+
Replicated session state includes settings, lifecycle/live execution, queue, revision, and presentation projections. Durable transcript pages come from the SQLite session store; they are not reconstructed from WebSocket progress events.
|
|
44
30
|
|
|
45
|
-
A
|
|
31
|
+
A reconnect receives current service state. Presentation/event windows are bounded, and branch changes can invalidate old projections. Resnapshot or use typed queries on revision gaps and dropped-event indicators. Request transcript pages when history is needed; do not infer missing history from an empty live window.
|
|
46
32
|
|
|
47
|
-
|
|
33
|
+
### Session recovery
|
|
48
34
|
|
|
49
|
-
`
|
|
35
|
+
`/api/health` signals that the host is listening, not that its bots have reopened. The host restores saved bot sessions after listen; concurrent Wake requests join the same open. A saved named profile must resolve and its provider must be ready before resumed work is admitted. Temporary dependency failures retry with capped backoff without holding up the rest of the boot queue. An unavailable profile that did not resolve after its catalog became ready stays dormant until corrected. The crash-loop pause still applies to automatic recovery; explicit Wake can retry.
|
|
50
36
|
|
|
51
|
-
|
|
52
|
-
- `steer`, `followUp`, `abort`, and `clearQueue`;
|
|
53
|
-
- `setModel`, `setThinking`, `compact`, and `setName`;
|
|
54
|
-
- `rewind`, including optional summarization and instructions;
|
|
55
|
-
- `extensionUiResponse`;
|
|
56
|
-
- `getState`, `getSessionStats`, and `getCommands`; and
|
|
57
|
-
- `getAvailableModels` and `getAvailableThinkingLevels`.
|
|
37
|
+
The hub authority owns startup attempts and phases. The Node host retains result joins, request reservations, workflow validation, durable records, retry timers (15 retries with a 30 second maximum delay), and the crash budget. Idle recycle checks the authority for open attempts.
|
|
58
38
|
|
|
59
|
-
|
|
39
|
+
The `po/session/recovery` direct event, headless logs and `po_server.session_recovery` telemetry project the authority's recovery transitions: `opening`, `waiting_profile`, `waiting_provider`, `waiting_plugin`, `ready`, `failed`, `paused`, `stopping`, `dormant`, and `removed`. The direct event payload is `{ attemptId, trigger, phase, reason }`. A crash pause before any attempt uses attempt ID `0` and trigger `boot`. These describe recovery, not the bot's current turn. Events use fixed reason codes, not credentials or profile contents.
|
|
60
40
|
|
|
61
|
-
|
|
41
|
+
`ready` means startup hooks and gates admitted resumed work. It may precede public hub registration, which can still fail. Use the hub's live session registration, not `ready` alone, to determine whether a session is live. Concurrent Wake requests continue joining the host's result until publication and dormant metadata replay finish.
|
|
62
42
|
|
|
63
|
-
##
|
|
43
|
+
## Package dispatch
|
|
64
44
|
|
|
65
|
-
|
|
45
|
+
The listener removes the full scope and package prefix before calling a package handler. For example, `/api/workspaces/w/sessions/s/plugins/runner/runners/r1/log` reaches `runner` as `/runners/r1/log`.
|
|
66
46
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
## Session package APIs
|
|
70
|
-
|
|
71
|
-
A package API is registered by a server plugin and called through the in-process `Request` adapter. The listener strips `/api/workspaces/<workspace-id>/sessions/<id>/plugins/<base-path>` before invoking the handler, so a request to `/api/workspaces/<workspace-id>/sessions/one/plugins/runner/runs/r1/log` reaches the `runner` handler as `/runs/r1/log`.
|
|
72
|
-
|
|
73
|
-
Package handlers run with the session's trusted host context. They still validate request bodies, bound reads and streams, constrain paths, and avoid returning secrets merely because the caller passed the listener token.
|
|
74
|
-
|
|
75
|
-
## Related guides
|
|
76
|
-
|
|
77
|
-
- [Lifecycle](lifecycle.md) explains startup, readiness, and shutdown.
|
|
78
|
-
- [Session APIs](api.md) defines descriptor loading and the TypeScript surface.
|
|
79
|
-
- [Security](security.md) explains token validation, listener exposure, and trusted code.
|
|
80
|
-
|
|
81
|
-
## Scoped route hierarchy
|
|
82
|
-
|
|
83
|
-
| Scope | REST resource | Package APIs | WebSocket |
|
|
84
|
-
| --------- | ------------------------------------------------------ | ------------------------------------------------------------------------ | --------------------------------------------------------- |
|
|
85
|
-
| Global | `/api/settings` | `/api/plugins/<package>` | `/api/ws` |
|
|
86
|
-
| Workspace | `/api/workspaces/<workspace-id>` | `/api/workspaces/<workspace-id>/plugins/<package>` | `/api/workspaces/<workspace-id>/ws` |
|
|
87
|
-
| Session | `/api/workspaces/<workspace-id>/sessions/<session-id>` | `/api/workspaces/<workspace-id>/sessions/<session-id>/plugins/<package>` | `/api/workspaces/<workspace-id>/sessions/<session-id>/ws` |
|
|
88
|
-
|
|
89
|
-
Workspace settings are at `/api/workspaces/<workspace-id>/settings`. Create or admit a workspace with `POST /api/workspaces` and a `root`, then create a session with `POST /api/workspaces/<workspace-id>/sessions` and an optional `name`. The admitted workspace selects the session working directory. Session listing returns only that workspace's sessions. A session ID addressed through another workspace returns `404`.
|
|
90
|
-
|
|
91
|
-
The global socket retains the aggregate hub protocol used by Po Web. Workspace sockets expose only sessions in that workspace; session sockets expose only the named session. Both restrict session attachments, subscriptions, thread reads, and package calls to their addressed scope. All transports use the same Pi/Chord framing. Old flat session routes, singular plugin mounts, and `/api/pi` are removed without aliases.
|
|
92
|
-
|
|
93
|
-
Startup loads global packages from the global root's live composition, workspace packages when that workspace is admitted, and session packages from the owning workspace's composition with the session's selection. REST requests dispatch only to that mount; there is no fallback to another scope.
|
|
47
|
+
Handlers run with host-supplied scope and caller capabilities. A valid listener token does not validate an operation's body, constrain its file paths, or make it safe to return secrets. See [Package APIs](api.md) and [Security](security.md).
|
package/docs/server/lifecycle.md
CHANGED
|
@@ -1,108 +1,35 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Server lifecycle
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
One `po-server` process can own host, workspace, and session scopes. Each has a Cordis root and disposal lifetime. Browser attachments are clients of those scopes, not owners of server plugin instances.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Readiness
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Startup reads the private attach-token file, resolves the host configuration, loads prepared built entries, installs host packages, and creates the authenticated listener. Unless `--no-session` is set, it also creates an initial session runtime. Workspace admission and later session creation repeat the relevant scope's configuration, package, and readiness checks.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
po-server process
|
|
11
|
-
|
|
|
12
|
-
+-- session manager and headless hub
|
|
13
|
-
+-- DirectHarnessRuntime
|
|
14
|
-
+-- typed management and session services
|
|
15
|
-
+-- server plugin host and in-process API handlers
|
|
16
|
-
+-- HTTP and WebSocket listener, including /api/ws
|
|
17
|
-
+-- v4 JSONL session journal
|
|
18
|
-
```
|
|
9
|
+
Required selected-package failures block their scope; optional failures are reported. Admission never substitutes a different package directory or another workspace. Synchronization owns installation and shared builds, with automatic background requests where enabled. Inspect notices when prepared packages or artifacts are missing.
|
|
19
10
|
|
|
20
|
-
|
|
11
|
+
Package startup and rollback follow the [core plugin lifecycle](https://github.com/AgiFlow/po/blob/main/packages/core/po-core/docs/plugins.md). Registrations and external work must have an owner, cleanup must tolerate partial startup, and cancellation must reach work that could otherwise hold readiness open.
|
|
21
12
|
|
|
22
|
-
##
|
|
13
|
+
## Durable state and reconnect
|
|
23
14
|
|
|
24
|
-
The
|
|
15
|
+
The runtime writes authoritative history to the pi-durable SQLite session store. Live protocol state, in-flight output, and bounded presentation events support a connected client; they are not a second durable journal.
|
|
25
16
|
|
|
26
|
-
|
|
27
|
-
parse options and identity
|
|
28
|
-
|
|
|
29
|
-
v
|
|
30
|
-
read token and compose the global scope from configuration
|
|
31
|
-
|
|
|
32
|
-
v
|
|
33
|
-
import eligible server plugins from built package entries
|
|
34
|
-
|
|
|
35
|
-
v
|
|
36
|
-
create DirectHarnessRuntime and prepare the headless host
|
|
37
|
-
|
|
|
38
|
-
v
|
|
39
|
-
activate server packages and initialize typed session services
|
|
40
|
-
|
|
|
41
|
-
v
|
|
42
|
-
bind HTTP and /api/ws
|
|
43
|
-
|
|
|
44
|
-
v
|
|
45
|
-
wait for the runtime
|
|
46
|
-
```
|
|
17
|
+
Reconnect reads current replicated state and transcript pages. Clients must account for gaps, dropped presentation events, and branch revisions rather than treating an event window as complete history. Use typed queries and pagination for authoritative transcript data.
|
|
47
18
|
|
|
48
|
-
|
|
19
|
+
A browser can disconnect while work continues. Closing the server runtime, deleting a session, and closing a presentation process are different operations. Deleting session state does not remove arbitrary files written into a workspace.
|
|
49
20
|
|
|
50
|
-
|
|
51
|
-
2. Read and trim the token file. An empty token stops startup, and the token is never placed in the process argument vector.
|
|
52
|
-
3. Resolve session identity and harness options from the caller's repository.
|
|
53
|
-
4. Compose the scope from configuration, collect the selected packages' `poServer` entries, check that each built entry stays inside its package, and filter by ownership and scope before importing modules through their content-addressed URLs.
|
|
54
|
-
5. Create the direct runtime with explicit history ownership, model configuration, session identity, and working directory.
|
|
55
|
-
6. Prepare and activate the selected server packages. Required failures stop readiness; optional failures are reported and isolated.
|
|
56
|
-
7. Mount in-process package API handlers and initialize the typed session projection.
|
|
57
|
-
8. Bind the loopback HTTP listener and authenticated `/api/ws` WebSocket endpoint.
|
|
21
|
+
## Code changes and selection
|
|
58
22
|
|
|
59
|
-
|
|
23
|
+
Server packages import through content-addressed URLs. Rebuilding changes the identity available to new sessions, not modules already held by running sessions. Selection changes alter the active contributions among admitted candidates; they are not arbitrary imports of new code.
|
|
60
24
|
|
|
61
|
-
|
|
25
|
+
Host/workspace refresh checks replace changed builds and can retain a previous working build when a replacement fails. Explicit Help reload has separate retry/removal behavior. Do not assume that removing a package from configuration immediately disposes every existing mount, or that a browser refresh reloads the server.
|
|
62
26
|
|
|
63
|
-
|
|
27
|
+
Shared package roots/resources can remain leased by inner scopes after an outer scope changes. Their final cleanup waits until the last owner releases them.
|
|
64
28
|
|
|
65
|
-
|
|
66
|
-
| ---------------------------------- | --------------------------------- |
|
|
67
|
-
| Session ID and name | Whole server process |
|
|
68
|
-
| Direct harness runtime | Whole server process |
|
|
69
|
-
| Typed session state and operations | Whole server process |
|
|
70
|
-
| Server plugin registrations | Until shutdown or plugin disposal |
|
|
71
|
-
| HTTP and `/api/ws` listener | Whole server process |
|
|
72
|
-
| Session journal ownership | Whole server process |
|
|
29
|
+
## Stop and failure
|
|
73
30
|
|
|
74
|
-
|
|
31
|
+
Termination and explicit disposal stop new admissions, cancel owned work, unwind registrations and handlers, release runtime/storage ownership, and close listeners. Cleanup attempts do not make an uncertain external side effect safe to retry.
|
|
75
32
|
|
|
76
|
-
|
|
33
|
+
A storage ownership conflict fails rather than admitting concurrent writers. A failed session is not silently replaced by a different module set. Normal shutdown retains its store for resume; earlier pre-durable sessions are not migrated by this runtime.
|
|
77
34
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
A new protocol attachment receives replicated state rather than an old transport backlog. The session state includes the current transcript, phase, model, thinking level, queue, in-flight items, and presentation projection. The session journal remains the durable source for history and is rehydrated when the runtime opens it.
|
|
81
|
-
|
|
82
|
-
Live presentation events are bounded to 1,024 events or 8 MiB. The state reports a `dropped` count when that window overflows. Latest status, widget, dialog, and custom-entry projections are retained separately, so a reconnect can render current UI state even after older live events were discarded. A branch replacement resets custom presentation state and reports `resetRevision`.
|
|
83
|
-
|
|
84
|
-
This is recovery state, not an audit log. Clients that need authoritative transcript or configuration data should use the typed snapshot and query operations. A client must not infer missing history from the bounded presentation window.
|
|
85
|
-
|
|
86
|
-
## Server package changes
|
|
87
|
-
|
|
88
|
-
Each server plugin is imported through a URL that changes with its package content. Rebuilding or upgrading a package does not mutate a running session: the next new session imports the new build. Global and workspace scopes are checked again after a watched package change, a finished sync, or a package install or removal, and reinstall only what changed: an unchanged package is skipped, a changed one is disposed and its new build applied, and a new build that fails restores the previous one. A package that is no longer selected stays installed. After a set number of superseded package versions, the server restarts at the next idle moment so old modules do not accumulate. During shutdown, plugin disposers run before the host and runtime release their resources.
|
|
89
|
-
|
|
90
|
-
## Shutdown and failures
|
|
91
|
-
|
|
92
|
-
`SIGINT`, `SIGTERM`, runtime exit, and explicit disposal all disable new operations and release resources in ownership order:
|
|
93
|
-
|
|
94
|
-
1. stop accepting new package and session operations;
|
|
95
|
-
2. close active plugin registrations and package handlers;
|
|
96
|
-
3. stop the headless host and pending extension interactions;
|
|
97
|
-
4. close the typed service projection and direct runtime;
|
|
98
|
-
5. release history ownership and close the JSONL repository;
|
|
99
|
-
6. close the listener and flush bounded telemetry.
|
|
100
|
-
|
|
101
|
-
A runtime failure is a session failure. The server does not replace it with an alternate process or silently switch to another module set. A history ownership conflict likewise fails closed to avoid concurrent writers.
|
|
102
|
-
|
|
103
|
-
## Related guides
|
|
104
|
-
|
|
105
|
-
- [Getting started](getting-started.md) covers launch options and live composition.
|
|
106
|
-
- [IPC](ipc.md) explains `/api/ws`, typed services, HTTP routes, and replay.
|
|
107
|
-
- [Session APIs](api.md) explains descriptor loading and handler lifetime.
|
|
108
|
-
- [Security](security.md) describes listener, token, history, and trusted-code boundaries.
|
|
35
|
+
See [Getting started](getting-started.md), [Client protocol](ipc.md), and [Security](security.md).
|
package/docs/server/security.md
CHANGED
|
@@ -1,101 +1,41 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Server security
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The direct listener is a powerful control surface. Its token can authorize prompts, model/configuration changes, extension responses, and mounted package calls. Treat it as session-control authority, not a read-only API key.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Direct-client credentials
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
trusted owner account
|
|
9
|
-
|
|
|
10
|
-
+-- po-server
|
|
11
|
-
+-- DirectHarnessRuntime
|
|
12
|
-
+-- configured extensions and server plugins
|
|
13
|
-
+-- session journal and in-process APIs
|
|
14
|
-
+-- authenticated HTTP/WebSocket listener
|
|
15
|
-
|
|
|
16
|
-
+-- trusted local client or Po Web
|
|
17
|
-
+-- browser boundary owned by Po Web
|
|
18
|
-
```
|
|
7
|
+
Keep the default loopback bind unless an authenticated boundary is already in place. Create the attach token outside the repository in an owner-only location and pass its path through `--auth-token-file`. The server reads the file; it does not create or protect it. Do not place a raw token in the server's argument list, a public environment file, or a shared log.
|
|
19
8
|
|
|
20
|
-
|
|
9
|
+
Normal control HTTP and WebSocket calls require the token. Prefer `Authorization: Bearer <token>` or `x-po-token` over URL query credentials. `/api/health` is deliberately public. Explicit bootstrap, OAuth/MCP, and package-issued authentication routes have their own restricted admission; they are not unauthenticated control aliases.
|
|
21
10
|
|
|
22
|
-
|
|
11
|
+
A bearer capability is not per-operation authorization. Protect its holders and any proxy that supplies it. Rotate it by stopping the server, replacing the private file, and restarting. Inspect current state before retrying a mutation after disconnection.
|
|
23
12
|
|
|
24
|
-
##
|
|
13
|
+
## Trusted package code
|
|
25
14
|
|
|
26
|
-
The
|
|
15
|
+
The host selects built `poServer` entries from configured packages and checks that entries remain inside their package. Mutable packages use content-addressed snapshots. These checks establish selected code identity and lifecycle, not whether the package is benign.
|
|
27
16
|
|
|
28
|
-
-
|
|
29
|
-
- keep the session token out of process arguments and application state sent to clients;
|
|
30
|
-
- authenticate direct HTTP and `/api/ws` protocol access with a random capability;
|
|
31
|
-
- load only the built `poServer` entries the scope's configuration selects, each confined to its package;
|
|
32
|
-
- keep package handlers in process while isolating optional package failures; and
|
|
33
|
-
- preserve session history ownership so two runtimes cannot write the same journal concurrently.
|
|
17
|
+
For a manual read-only deployment, set `PO_IMMUTABLE_INSTALL=1` in the service environment only if the installed Po payload cannot change while the server is running. This is not a CLI flag. The server imports the payload in place and still snapshots mutable packages outside it. Install each upgrade in a new directory and restart the server to switch releases.
|
|
34
18
|
|
|
35
|
-
|
|
19
|
+
Required selected-package failures block their affected scope. Optional failures are reported; no failure authorizes a different module directory or another workspace. Synchronization prepares installations/artifacts separately from request dispatch.
|
|
36
20
|
|
|
37
|
-
-
|
|
38
|
-
- protect data from the account running the server;
|
|
39
|
-
- encrypt traffic when the listener is exposed without TLS; or
|
|
40
|
-
- authorize arbitrary reverse proxies or tunnels.
|
|
41
|
-
|
|
42
|
-
## Capability map
|
|
43
|
-
|
|
44
|
-
| Asset | Protection | Remaining trust |
|
|
45
|
-
| --------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
46
|
-
| HTTP and `/api/ws` listener | Loopback by default; token required except health | Owner, root, token holder, and any exposed reverse proxy |
|
|
47
|
-
| Listener token | Read from a file and compared as a bearer capability | Caller creates and protects the file |
|
|
48
|
-
| Server plugins | Live composition, entries confined to their package, content URLs | Repository configuration and installed package contents are trusted |
|
|
49
|
-
| Session journal | Explicit history ownership and v4 JSONL storage | Owner and any process able to access the session directory |
|
|
50
|
-
| Package APIs | In-process registration and fixed route mounts | Handlers are trusted executable code |
|
|
51
|
-
| Direct harness | Same-process runtime with configured working directory and environment | Command, configuration, repository, model providers, and dependencies |
|
|
52
|
-
|
|
53
|
-
Create the token before launch with an owner-only umask:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
(umask 077; openssl rand -base64 32 > "$token_file")
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
Do not store it in the repository, a shared runtime directory, a public environment variable, or an argument list. Rotating it requires stopping the server, replacing the protected file, and starting the session again.
|
|
60
|
-
|
|
61
|
-
## Listener authentication
|
|
62
|
-
|
|
63
|
-
`/api/health` is intentionally unauthenticated so a local supervisor can check readiness. Every other HTTP route and the `/api/ws` upgrade require the configured token. HTTP clients should use `Authorization: Bearer <token>` or `x-po-token`. A WebSocket client may use the same capability in its upgrade headers or query string. Prefer a header because URLs can appear in logs.
|
|
64
|
-
|
|
65
|
-
A token authenticates the caller to the session. It is not a per-operation permission system. A holder can prompt, steer, abort, change configuration, rewind, answer extension UI, and invoke mounted package APIs. Treat it as full session control.
|
|
66
|
-
|
|
67
|
-
## Package trust
|
|
68
|
-
|
|
69
|
-
The server does not compile or discover package code while serving a request. When it admits a scope or starts a session, it composes that scope's configuration, reads the selected packages' `poServer` declarations, confines each built entry to its package, filters ownership and scope, and then imports and installs each eligible server plugin.
|
|
70
|
-
|
|
71
|
-
Required package failures prevent readiness. Optional failures are reported and isolated. An import that times out or throws is not retried, and a failed entry never selects an alternate directory or legacy module set.
|
|
72
|
-
|
|
73
|
-
Package handlers receive trusted process context, not automatic browser authorization. Validate bodies, bound reads and streams, constrain file paths to the intended scope, and do not return secrets merely because a request arrived with a valid server token.
|
|
21
|
+
Handlers receive host-provided scope and capabilities. They must independently validate inputs, resource ownership, file paths, and limits on bodies, reads, streams, and outputs. Listener authentication never justifies returning environment values or process credentials. Caller identity must come from verified stamps, not browser-supplied headers.
|
|
74
22
|
|
|
75
23
|
## Browser and remote access
|
|
76
24
|
|
|
77
|
-
Po Web
|
|
78
|
-
|
|
79
|
-
Before putting the cockpit behind a tunnel, review the web package's pairing, origin, cookie, passkey, sealed transport, signed bundle, and optional container controls. Do not publish the server listener through an unauthenticated TCP forwarder. A tunnel changes reachability, not authority.
|
|
25
|
+
Po Web serves assets and forwards its upstream credential without embedding it in browser code. The headless remote runtime owns the separate tunnel listener, pairing, device sessions, passkeys, sealed transport, and signed publication. Do not expose a raw listener through an unauthenticated TCP forwarder.
|
|
80
26
|
|
|
81
|
-
|
|
27
|
+
A paired browser, session MCP connector, and direct-token client use different credentials and admission rules. A connector token does not grant administrative access. Revocation blocks future admissions but cannot undo work already completed.
|
|
82
28
|
|
|
83
|
-
|
|
29
|
+
Read the [web remote-security guide](https://github.com/AgiFlow/po/blob/main/packages/clients/po-web/docs/security.md) before sharing access. A tunnel changes reachability, not execution privileges.
|
|
84
30
|
|
|
85
|
-
|
|
31
|
+
## Execution and stored data
|
|
86
32
|
|
|
87
|
-
|
|
33
|
+
Unsandboxed sessions run with their admitted environment and the server account's operating-system privileges. Optional workspace sandbox providers add an explicit execution boundary when installed, available, and selected; pairing alone does not enable one. Trust the actual sandbox state and mounts, not a picker or path prefix. Plan mode is not OS isolation.
|
|
88
34
|
|
|
89
|
-
|
|
90
|
-
2. Keep the session journal, installed packages, and the Po home build directory private.
|
|
91
|
-
3. Treat repository configuration, model providers, extensions, and server plugins as executable inputs.
|
|
92
|
-
4. Bind direct servers to loopback unless an authenticated TLS boundary is already in place.
|
|
93
|
-
5. Use Po Web's documented controls for browser and remote access.
|
|
94
|
-
6. Rotate the token by replacing the file while the server is stopped.
|
|
95
|
-
7. Do not rely on an obscure path, port, or URL as authentication.
|
|
35
|
+
Neither loopback checks nor file permissions defend against root, a compromised owner account, or hostile same-user code. Writable mounts, credentials inside the boundary, network access, and the container engine retain their stated authority.
|
|
96
36
|
|
|
97
|
-
|
|
37
|
+
Session history persists in the pi-durable SQLite store with explicit ownership. Keep the Po home and stores private; do not open a second writer to bypass an ownership error. Live output and bounded presentation windows are in-memory reconnect aids, not a durable audit log. Deleting a session does not delete arbitrary files written into its workspace.
|
|
98
38
|
|
|
99
|
-
|
|
39
|
+
Telemetry and command logs may contain caller- or package-supplied values. Coarse built-in metrics do not prove every extension, model provider, handler, or downstream service avoids logging content. Review those destinations separately.
|
|
100
40
|
|
|
101
|
-
See [
|
|
41
|
+
See [Client protocol](ipc.md), [Lifecycle](lifecycle.md), and [Po security](https://github.com/AgiFlow/po/blob/main/docs/security.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/po",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.210",
|
|
4
4
|
"description": "Opinionated, composable agent harness for scoped tools, skills, MCP servers, and developer workflows.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-harness",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"bugs": {
|
|
17
17
|
"url": "https://github.com/AgiFlow/po/issues"
|
|
18
18
|
},
|
|
19
|
-
"license": "MIT",
|
|
19
|
+
"license": "FSL-1.1-MIT",
|
|
20
20
|
"author": "Vuong Ngo",
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
@@ -65,11 +65,6 @@
|
|
|
65
65
|
"import": "./dist/cliApp.mjs",
|
|
66
66
|
"require": "./dist/cliApp.cjs"
|
|
67
67
|
},
|
|
68
|
-
"./compatibilityOptions": {
|
|
69
|
-
"types": "./dist/compatibilityOptions.d.mts",
|
|
70
|
-
"import": "./dist/compatibilityOptions.mjs",
|
|
71
|
-
"require": "./dist/compatibilityOptions.cjs"
|
|
72
|
-
},
|
|
73
68
|
"./help": {
|
|
74
69
|
"types": "./dist/help.d.mts",
|
|
75
70
|
"import": "./dist/help.mjs",
|
|
@@ -95,11 +90,6 @@
|
|
|
95
90
|
"import": "./dist/baseCommand.mjs",
|
|
96
91
|
"require": "./dist/baseCommand.cjs"
|
|
97
92
|
},
|
|
98
|
-
"./compatibilityCommand": {
|
|
99
|
-
"types": "./dist/compatibilityCommand.d.mts",
|
|
100
|
-
"import": "./dist/compatibilityCommand.mjs",
|
|
101
|
-
"require": "./dist/compatibilityCommand.cjs"
|
|
102
|
-
},
|
|
103
93
|
"./emitMcpCommand": {
|
|
104
94
|
"types": "./dist/emitMcpCommand.d.mts",
|
|
105
95
|
"import": "./dist/emitMcpCommand.mjs",
|
|
@@ -140,36 +130,11 @@
|
|
|
140
130
|
"import": "./dist/services.mjs",
|
|
141
131
|
"require": "./dist/services.cjs"
|
|
142
132
|
},
|
|
143
|
-
"./compatibility": {
|
|
144
|
-
"types": "./dist/compatibility.d.mts",
|
|
145
|
-
"import": "./dist/compatibility.mjs",
|
|
146
|
-
"require": "./dist/compatibility.cjs"
|
|
147
|
-
},
|
|
148
|
-
"./antigravity": {
|
|
149
|
-
"types": "./dist/antigravity.d.mts",
|
|
150
|
-
"import": "./dist/antigravity.mjs",
|
|
151
|
-
"require": "./dist/antigravity.cjs"
|
|
152
|
-
},
|
|
153
|
-
"./codex": {
|
|
154
|
-
"types": "./dist/codex.d.mts",
|
|
155
|
-
"import": "./dist/codex.mjs",
|
|
156
|
-
"require": "./dist/codex.cjs"
|
|
157
|
-
},
|
|
158
|
-
"./process": {
|
|
159
|
-
"types": "./dist/process.d.mts",
|
|
160
|
-
"import": "./dist/process.mjs",
|
|
161
|
-
"require": "./dist/process.cjs"
|
|
162
|
-
},
|
|
163
133
|
"./shared": {
|
|
164
134
|
"types": "./dist/shared.d.mts",
|
|
165
135
|
"import": "./dist/shared.mjs",
|
|
166
136
|
"require": "./dist/shared.cjs"
|
|
167
137
|
},
|
|
168
|
-
"./compatibilityContext": {
|
|
169
|
-
"types": "./dist/compatibilityContext.d.mts",
|
|
170
|
-
"import": "./dist/compatibilityContext.mjs",
|
|
171
|
-
"require": "./dist/compatibilityContext.cjs"
|
|
172
|
-
},
|
|
173
138
|
"./harnessContext": {
|
|
174
139
|
"types": "./dist/harnessContext.d.mts",
|
|
175
140
|
"import": "./dist/harnessContext.mjs",
|
|
@@ -212,49 +177,64 @@
|
|
|
212
177
|
"registry": "https://registry.npmjs.org/"
|
|
213
178
|
},
|
|
214
179
|
"dependencies": {
|
|
215
|
-
"@agimon-ai/po-
|
|
216
|
-
"@agimon-ai/po-
|
|
217
|
-
"@agimon-ai/po-
|
|
218
|
-
"@agimon-ai/po-
|
|
219
|
-
"@agimon-ai/po-
|
|
220
|
-
"@agimon-ai/po-
|
|
221
|
-
"@agimon-ai/po-
|
|
222
|
-
"@agimon-ai/po-
|
|
223
|
-
"@agimon-ai/po-
|
|
224
|
-
"@agimon-ai/po-
|
|
225
|
-
"@agimon-ai/po-
|
|
226
|
-
"@agimon-ai/po-
|
|
227
|
-
"@agimon-ai/po-
|
|
228
|
-
"@agimon-ai/po-
|
|
229
|
-
"@agimon-ai/po-
|
|
230
|
-
"@agimon-ai/po-
|
|
231
|
-
"@agimon-ai/po-
|
|
180
|
+
"@agimon-ai/po-approval": "0.0.0-alpha.208",
|
|
181
|
+
"@agimon-ai/po-artifact": "0.0.0-alpha.208",
|
|
182
|
+
"@agimon-ai/po-author": "0.0.0-alpha.209",
|
|
183
|
+
"@agimon-ai/po-autostop": "0.0.0-alpha.209",
|
|
184
|
+
"@agimon-ai/po-cache": "0.0.0-alpha.209",
|
|
185
|
+
"@agimon-ai/po-config": "0.0.0-alpha.209",
|
|
186
|
+
"@agimon-ai/po-core": "0.0.0-alpha.209",
|
|
187
|
+
"@agimon-ai/po-db": "0.0.0-alpha.209",
|
|
188
|
+
"@agimon-ai/po-domain": "0.0.0-alpha.209",
|
|
189
|
+
"@agimon-ai/po-federation": "0.0.0-alpha.209",
|
|
190
|
+
"@agimon-ai/po-infinite-canvas": "0.0.0-alpha.209",
|
|
191
|
+
"@agimon-ai/po-lang": "0.0.1-alpha.14",
|
|
192
|
+
"@agimon-ai/po-logsink": "0.0.1-alpha.191",
|
|
193
|
+
"@agimon-ai/po-mcp-proxy": "0.0.1-alpha.188",
|
|
194
|
+
"@agimon-ai/po-mode": "0.0.0-alpha.209",
|
|
195
|
+
"@agimon-ai/po-native-components": "0.0.0-alpha.209",
|
|
196
|
+
"@agimon-ai/po-network": "0.0.2-alpha.156",
|
|
197
|
+
"@agimon-ai/po-notification": "0.0.0-alpha.209",
|
|
198
|
+
"@agimon-ai/po-preset": "0.0.0-alpha.209",
|
|
199
|
+
"@agimon-ai/po-profile": "0.0.0-alpha.209",
|
|
200
|
+
"@agimon-ai/po-remote": "0.0.0-alpha.209",
|
|
201
|
+
"@agimon-ai/po-session": "0.0.0-alpha.209",
|
|
202
|
+
"@agimon-ai/po-session-mcp": "0.0.0-alpha.209",
|
|
203
|
+
"@agimon-ai/po-skill": "0.0.0-alpha.209",
|
|
204
|
+
"@agimon-ai/po-ui": "0.0.0-alpha.209",
|
|
205
|
+
"@agimon-ai/po-vault": "0.0.0-alpha.209",
|
|
206
|
+
"@agimon-ai/po-wake": "0.0.1-alpha.21",
|
|
207
|
+
"@agimon-ai/po-web-components": "0.0.0-alpha.209",
|
|
208
|
+
"@agimon-ai/po-web-security": "0.0.0-alpha.209",
|
|
232
209
|
"@deepseek-ai/cordis": "4.0.5",
|
|
233
|
-
"@earendil-works/pi-agent-core": "1.
|
|
234
|
-
"@earendil-works/pi-coding-agent": "1.
|
|
210
|
+
"@earendil-works/pi-agent-core": "1.6.1",
|
|
211
|
+
"@earendil-works/pi-coding-agent": "1.6.1",
|
|
235
212
|
"@hono/node-server": "2.1.5",
|
|
236
213
|
"@simplewebauthn/server": "^14.0.3",
|
|
237
214
|
"@tailwindcss/vite": "4.3.3",
|
|
238
215
|
"@vitejs/plugin-react": "6.1.2",
|
|
239
216
|
"cross-spawn": "7.0.6",
|
|
240
|
-
"gpt-tokenizer": "4.
|
|
241
|
-
"hono": "4.13.
|
|
217
|
+
"gpt-tokenizer": "4.1.0",
|
|
218
|
+
"hono": "4.13.13",
|
|
219
|
+
"magic-string": "0.30.21",
|
|
242
220
|
"minimatch": "10.2.6",
|
|
243
221
|
"protobufjs": "8.8.1",
|
|
244
|
-
"rolldown": "1.2.
|
|
222
|
+
"rolldown": "1.2.14",
|
|
245
223
|
"tailwindcss": "4.3.3",
|
|
246
|
-
"typebox": "1.
|
|
224
|
+
"typebox": "1.4.2",
|
|
247
225
|
"vite": "8.3.4",
|
|
248
226
|
"ws": "8.22.0",
|
|
249
227
|
"yaml": "2.9.1"
|
|
250
228
|
},
|
|
251
229
|
"devDependencies": {
|
|
252
|
-
"@agimon-ai/po-
|
|
253
|
-
"@agimon-ai/
|
|
254
|
-
"@
|
|
230
|
+
"@agimon-ai/po-auth-server": "0.0.2-alpha.51",
|
|
231
|
+
"@agimon-ai/po-calendar": "0.0.1-alpha.168",
|
|
232
|
+
"@agimon-ai/po-runner": "0.0.0-alpha.209",
|
|
233
|
+
"@agimon-ai/vibe-lint-plugin-po-cli": "0.0.0-alpha.209",
|
|
234
|
+
"@earendil-works/pi-ai": "1.6.1",
|
|
255
235
|
"@modelcontextprotocol/ext-apps": "2.0.3",
|
|
256
236
|
"@modelcontextprotocol/server": "2.3.1",
|
|
257
|
-
"@playwright/test": "^1.64.
|
|
237
|
+
"@playwright/test": "^1.64.1",
|
|
258
238
|
"@types/cross-spawn": "6.0.6",
|
|
259
239
|
"@types/node": "26.6.5",
|
|
260
240
|
"@types/ws": "8.18.2",
|
|
@@ -271,7 +251,7 @@
|
|
|
271
251
|
"entry": "./src/extensions/server.ts",
|
|
272
252
|
"dist": "./dist/extensions/server.mjs",
|
|
273
253
|
"scopes": [
|
|
274
|
-
"
|
|
254
|
+
"host",
|
|
275
255
|
"workspace",
|
|
276
256
|
"session"
|
|
277
257
|
],
|
|
@@ -281,9 +261,9 @@
|
|
|
281
261
|
}
|
|
282
262
|
},
|
|
283
263
|
"scripts": {
|
|
284
|
-
"build": "tsdown",
|
|
264
|
+
"build": "tsdown && { (cd ../../.. && node scripts/po-package-catalog.mjs packages/cli/po catalog.json) || echo 'warning: plugin catalog not refreshed (registry unreachable or versions unpublished); keeping the previous catalog.json'; }",
|
|
285
265
|
"test": "vitest --run",
|
|
286
|
-
"typecheck": "
|
|
266
|
+
"typecheck": "tsrs --noEmit && tsrs --noEmit -p tsconfig.app.json",
|
|
287
267
|
"test-system": "vitest run --config vitest.system.config.ts",
|
|
288
268
|
"lint": "oxlint . && oxfmt . --check",
|
|
289
269
|
"fixcode": "oxlint . --fix && oxfmt .",
|