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.
- package/dist/cli/commands/configure-payload.js +52 -12
- package/dist/cli/commands/configure-payload.js.map +1 -1
- package/dist/cli/commands/configure.js +2 -2
- package/dist/cli/commands/configure.js.map +1 -1
- package/dist/cli/commands/provider.d.ts +1 -0
- package/dist/cli/commands/provider.js +94 -3
- package/dist/cli/commands/provider.js.map +1 -1
- package/dist/cli/commands/shared.d.ts +4 -1
- package/dist/cli/commands/shared.js +55 -5
- package/dist/cli/commands/shared.js.map +1 -1
- package/dist/cli/constants.d.ts +1 -2
- package/dist/cli/constants.js +1 -13
- package/dist/cli/constants.js.map +1 -1
- package/dist/cli/options.d.ts +1 -1
- package/dist/cli/options.js +10 -1
- package/dist/cli/options.js.map +1 -1
- package/dist/cli/prompt-runner.js +4 -2
- package/dist/cli/prompt-runner.js.map +1 -1
- package/dist/cli/prompts.d.ts +3 -1
- package/dist/cli/prompts.js +13 -0
- package/dist/cli/prompts.js.map +1 -1
- package/dist/index.js +244 -39
- package/dist/index.js.map +3 -3
- package/dist/providers/claude-code.js +11 -22
- package/dist/providers/claude-code.js.map +2 -2
- package/dist/providers/codex.js +19 -29
- package/dist/providers/codex.js.map +2 -2
- package/dist/providers/goose.js +11 -22
- package/dist/providers/goose.js.map +2 -2
- package/dist/providers/kimi.js +11 -22
- package/dist/providers/kimi.js.map +2 -2
- package/dist/providers/opencode.js +11 -22
- package/dist/providers/opencode.js.map +2 -2
- package/dist/providers/poe-agent.js +11 -22
- package/dist/providers/poe-agent.js.map +2 -2
- package/package.json +1 -1
- package/packages/memory/dist/index.js +10 -8
- package/packages/memory/dist/index.js.map +2 -2
|
@@ -48,7 +48,7 @@ var require_requirements_txt = __commonJS({
|
|
|
48
48
|
// src/templates/codex/config.toml.mustache
|
|
49
49
|
var require_config_toml = __commonJS({
|
|
50
50
|
"src/templates/codex/config.toml.mustache"(exports, module) {
|
|
51
|
-
module.exports = 'model_provider = "{{providerId}}"\n\n[profiles."{{{profileName}}}"]\nmodel = "{{{model}}}"\nmodel_provider = "{{providerId}}"\nmodel_reasoning_effort = "{{reasoningEffort}}"\nmodel_verbosity = "medium"\n\n[model_providers.{{providerId}}]\nname = "{{providerId}}"\nbase_url = "{{{baseUrl}}}"\nwire_api = "responses"\nexperimental_bearer_token = "{{apiKey}}"\nrequires_openai_auth = false\nsupports_websockets = false\n';
|
|
51
|
+
module.exports = 'model_provider = "{{providerId}}"\nmodel = "{{{model}}}"\nmodel_reasoning_effort = "{{reasoningEffort}}"\nmodel_verbosity = "medium"\n\n[profiles."{{{profileName}}}"]\nmodel = "{{{model}}}"\nmodel_provider = "{{providerId}}"\nmodel_reasoning_effort = "{{reasoningEffort}}"\nmodel_verbosity = "medium"\n\n[model_providers.{{providerId}}]\nname = "{{providerId}}"\nbase_url = "{{{baseUrl}}}"\nwire_api = "responses"\nexperimental_bearer_token = "{{apiKey}}"\nrequires_openai_auth = false\nsupports_websockets = false\n';
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -4936,30 +4936,32 @@ var anthropicProvider = {
|
|
|
4936
4936
|
var cloudflareProvider = {
|
|
4937
4937
|
id: "cloudflare",
|
|
4938
4938
|
label: "Cloudflare AI Gateway",
|
|
4939
|
-
summary: "Route
|
|
4940
|
-
|
|
4939
|
+
summary: "Route coding agents through Cloudflare AI Gateway.",
|
|
4940
|
+
baseUrlEnvVar: "CF_AIG_BASE_URL",
|
|
4941
|
+
requiresBaseUrl: true,
|
|
4942
|
+
modelInput: { kind: "freeform" },
|
|
4941
4943
|
auth: {
|
|
4942
4944
|
kind: "api-key",
|
|
4943
|
-
envVar: "
|
|
4945
|
+
envVar: "CF_AIG_TOKEN",
|
|
4944
4946
|
storageKey: "provider:cloudflare",
|
|
4945
|
-
prompt: { title: "Cloudflare
|
|
4947
|
+
prompt: { title: "Cloudflare AI Gateway token" }
|
|
4946
4948
|
},
|
|
4947
4949
|
apiShapes: [
|
|
4948
4950
|
{
|
|
4949
4951
|
id: "openai-chat-completions",
|
|
4950
|
-
|
|
4952
|
+
baseUrlPath: "compat"
|
|
4951
4953
|
},
|
|
4952
4954
|
{
|
|
4953
4955
|
id: "openai-responses",
|
|
4954
|
-
|
|
4956
|
+
baseUrlPath: "openai"
|
|
4955
4957
|
},
|
|
4956
4958
|
{
|
|
4957
4959
|
id: "anthropic-messages",
|
|
4958
|
-
|
|
4960
|
+
baseUrlPath: "anthropic"
|
|
4959
4961
|
},
|
|
4960
4962
|
{
|
|
4961
4963
|
id: "google-generations",
|
|
4962
|
-
|
|
4964
|
+
baseUrlPath: "google-ai-studio"
|
|
4963
4965
|
}
|
|
4964
4966
|
]
|
|
4965
4967
|
};
|
|
@@ -8648,19 +8650,6 @@ function stripModelNamespace2(model) {
|
|
|
8648
8650
|
const id = slashIndex === -1 ? model : model.slice(slashIndex + 1);
|
|
8649
8651
|
return id.toLowerCase();
|
|
8650
8652
|
}
|
|
8651
|
-
var CODEX_MODELS = [
|
|
8652
|
-
"openai/gpt-5.5",
|
|
8653
|
-
"openai/gpt-5.4",
|
|
8654
|
-
"openai/gpt-5.3-codex",
|
|
8655
|
-
"openai/gpt-5.2-codex",
|
|
8656
|
-
"openai/gpt-5.2",
|
|
8657
|
-
"openai/gpt-5.2-chat",
|
|
8658
|
-
"openai/gpt-5.2-pro",
|
|
8659
|
-
"openai/gpt-5.1",
|
|
8660
|
-
"openai/gpt-5.1-codex-mini",
|
|
8661
|
-
"anthropic/claude-opus-4.7"
|
|
8662
|
-
];
|
|
8663
|
-
var DEFAULT_CODEX_MODEL = CODEX_MODELS[0];
|
|
8664
8653
|
var KIMI_MODELS = [
|
|
8665
8654
|
"novitaai/kimi-k2.5",
|
|
8666
8655
|
"novitaai/kimi-k2-thinking",
|