poe-code 3.0.223 → 3.0.224

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.
Files changed (38) hide show
  1. package/dist/cli/commands/configure-payload.js +52 -12
  2. package/dist/cli/commands/configure-payload.js.map +1 -1
  3. package/dist/cli/commands/configure.js +2 -2
  4. package/dist/cli/commands/configure.js.map +1 -1
  5. package/dist/cli/commands/provider.d.ts +1 -0
  6. package/dist/cli/commands/provider.js +94 -3
  7. package/dist/cli/commands/provider.js.map +1 -1
  8. package/dist/cli/commands/shared.d.ts +4 -1
  9. package/dist/cli/commands/shared.js +55 -5
  10. package/dist/cli/commands/shared.js.map +1 -1
  11. package/dist/cli/constants.d.ts +1 -2
  12. package/dist/cli/constants.js +1 -13
  13. package/dist/cli/constants.js.map +1 -1
  14. package/dist/cli/options.d.ts +1 -1
  15. package/dist/cli/options.js +10 -1
  16. package/dist/cli/options.js.map +1 -1
  17. package/dist/cli/prompt-runner.js +4 -2
  18. package/dist/cli/prompt-runner.js.map +1 -1
  19. package/dist/cli/prompts.d.ts +3 -1
  20. package/dist/cli/prompts.js +13 -0
  21. package/dist/cli/prompts.js.map +1 -1
  22. package/dist/index.js +244 -39
  23. package/dist/index.js.map +3 -3
  24. package/dist/providers/claude-code.js +11 -22
  25. package/dist/providers/claude-code.js.map +2 -2
  26. package/dist/providers/codex.js +19 -29
  27. package/dist/providers/codex.js.map +2 -2
  28. package/dist/providers/goose.js +11 -22
  29. package/dist/providers/goose.js.map +2 -2
  30. package/dist/providers/kimi.js +11 -22
  31. package/dist/providers/kimi.js.map +2 -2
  32. package/dist/providers/opencode.js +11 -22
  33. package/dist/providers/opencode.js.map +2 -2
  34. package/dist/providers/poe-agent.js +11 -22
  35. package/dist/providers/poe-agent.js.map +2 -2
  36. package/package.json +1 -1
  37. package/packages/memory/dist/index.js +10 -8
  38. package/packages/memory/dist/index.js.map +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-code",
3
- "version": "3.0.223",
3
+ "version": "3.0.224",
4
4
  "description": "CLI tool to configure Poe API for developer workflows.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -3404,30 +3404,32 @@ var anthropicProvider = {
3404
3404
  var cloudflareProvider = {
3405
3405
  id: "cloudflare",
3406
3406
  label: "Cloudflare AI Gateway",
3407
- summary: "Route through the Poe Cloudflare gateway with BYOK keys.",
3408
- baseUrl: "https://poe-ai-gateway.poe-dev.workers.dev",
3407
+ summary: "Route coding agents through Cloudflare AI Gateway.",
3408
+ baseUrlEnvVar: "CF_AIG_BASE_URL",
3409
+ requiresBaseUrl: true,
3410
+ modelInput: { kind: "freeform" },
3409
3411
  auth: {
3410
3412
  kind: "api-key",
3411
- envVar: "CLOUDFLARE_API_KEY",
3413
+ envVar: "CF_AIG_TOKEN",
3412
3414
  storageKey: "provider:cloudflare",
3413
- prompt: { title: "Cloudflare API key" }
3415
+ prompt: { title: "Cloudflare AI Gateway token" }
3414
3416
  },
3415
3417
  apiShapes: [
3416
3418
  {
3417
3419
  id: "openai-chat-completions",
3418
- defaultBaseUrl: "https://poe-ai-gateway.poe-dev.workers.dev/openai/v1"
3420
+ baseUrlPath: "compat"
3419
3421
  },
3420
3422
  {
3421
3423
  id: "openai-responses",
3422
- defaultBaseUrl: "https://poe-ai-gateway.poe-dev.workers.dev/openai/v1"
3424
+ baseUrlPath: "openai"
3423
3425
  },
3424
3426
  {
3425
3427
  id: "anthropic-messages",
3426
- defaultBaseUrl: "https://poe-ai-gateway.poe-dev.workers.dev/anthropic"
3428
+ baseUrlPath: "anthropic"
3427
3429
  },
3428
3430
  {
3429
3431
  id: "google-generations",
3430
- defaultBaseUrl: "https://poe-ai-gateway.poe-dev.workers.dev/google-ai-studio"
3432
+ baseUrlPath: "google-ai-studio"
3431
3433
  }
3432
3434
  ]
3433
3435
  };