@getpochi/cli 0.5.71 → 0.5.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +6 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -402452,7 +402452,7 @@ var {
|
|
|
402452
402452
|
// package.json
|
|
402453
402453
|
var package_default = {
|
|
402454
402454
|
name: "@getpochi/cli",
|
|
402455
|
-
version: "0.5.
|
|
402455
|
+
version: "0.5.72",
|
|
402456
402456
|
type: "module",
|
|
402457
402457
|
bin: {
|
|
402458
402458
|
pochi: "src/cli.ts"
|
|
@@ -447153,14 +447153,18 @@ var program5 = new Command().name("pochi").description(`${source_default.bold("P
|
|
|
447153
447153
|
outputSchema: options6.experimentalOutputSchema ? parseOutputSchema(options6.experimentalOutputSchema) : undefined
|
|
447154
447154
|
});
|
|
447155
447155
|
const renderer = new OutputRenderer(runner.state);
|
|
447156
|
+
let jsonRenderer;
|
|
447156
447157
|
if (options6.streamJson) {
|
|
447157
|
-
new JsonRenderer(store, runner.state);
|
|
447158
|
+
jsonRenderer = new JsonRenderer(store, runner.state);
|
|
447158
447159
|
}
|
|
447159
447160
|
await runner.run();
|
|
447160
447161
|
renderer.shutdown();
|
|
447161
447162
|
if (mcpHub) {
|
|
447162
447163
|
mcpHub.dispose();
|
|
447163
447164
|
}
|
|
447165
|
+
if (jsonRenderer) {
|
|
447166
|
+
jsonRenderer.shutdown();
|
|
447167
|
+
}
|
|
447164
447168
|
await waitForSync(store, "2 second").catch(console.error);
|
|
447165
447169
|
await shutdownStoreAndExit(store);
|
|
447166
447170
|
});
|