poe-code 3.0.50 → 3.0.52

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/index.js CHANGED
@@ -15732,6 +15732,14 @@ function formatElapsed(ms) {
15732
15732
  }
15733
15733
  async function withSpinner(options) {
15734
15734
  const { message, fn, stopMessage, subtext } = options;
15735
+ if (resolveOutputFormat() === "json") {
15736
+ const result = await fn();
15737
+ const sub = subtext ? subtext(result) : void 0;
15738
+ if (sub) {
15739
+ process.stdout.write(sub + "\n");
15740
+ }
15741
+ return result;
15742
+ }
15735
15743
  const noSpinner = process.env.POE_NO_SPINNER === "1";
15736
15744
  const isTTY = process.stdout.isTTY;
15737
15745
  if (noSpinner || !isTTY) {
@@ -16179,6 +16187,7 @@ var claudeCodeSpawnConfig = {
16179
16187
  promptFlag: "-p",
16180
16188
  modelFlag: "--model",
16181
16189
  modelStripProviderPrefix: true,
16190
+ modelTransform: (model) => model.replaceAll(".", "-"),
16182
16191
  defaultArgs: [
16183
16192
  "--output-format",
16184
16193
  "stream-json",
@@ -36328,7 +36337,7 @@ function registerModelsCommand(program, container) {
36328
36337
  // package.json
36329
36338
  var package_default = {
36330
36339
  name: "poe-code",
36331
- version: "3.0.50",
36340
+ version: "3.0.52",
36332
36341
  description: "CLI tool to configure Poe API for developer workflows.",
36333
36342
  type: "module",
36334
36343
  workspaces: [