@akon-labs/nexus-cli 0.1.4 → 0.1.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.5] - 2026-08-22
4
+
5
+ ### Fixed
6
+
7
+ - Fixed startup failing with `OAuth auth derivation failed ... Cannot find module` for users with OAuth credentials (Anthropic, OpenAI Codex, GitHub Copilot, OpenRouter, Kimi, xAI): the bundled entrypoints now register the OAuth flow implementations statically instead of lazy-importing them from files that do not exist in the published bundle. The AWS Bedrock provider module is registered the same way.
8
+ - The publish smoke test now seeds an OAuth credential so this class of regression is caught before release.
9
+
3
10
  ## [0.1.4] - 2026-08-21
4
11
 
5
12
  ### Fixed
package/dist/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"","sourcesContent":["#!/usr/bin/env node\n/**\n * CLI entry point for the refactored coding agent.\n * Uses main.ts with AgentSession and new mode modules.\n *\n * Test with: npx tsx src/cli-new.ts [args...]\n */\nimport { APP_NAME, setAppEnv } from \"./config.ts\";\nimport { configureHttpDispatcher } from \"./core/http-dispatcher.ts\";\nimport { main } from \"./main.ts\";\n\nprocess.title = APP_NAME;\nsetAppEnv(\"CODING_AGENT\", \"true\");\nprocess.env.AI_AGENT = APP_NAME;\nprocess.emitWarning = (() => {}) as typeof process.emitWarning;\n\n// Configure undici's global dispatcher before provider SDKs issue requests.\n// Runtime settings are applied once SettingsManager has loaded global/project settings.\nconfigureHttpDispatcher();\n\nmain(process.argv.slice(2));\n"]}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"","sourcesContent":["#!/usr/bin/env node\n/**\n * CLI entry point for the refactored coding agent.\n * Uses main.ts with AgentSession and new mode modules.\n *\n * Test with: npx tsx src/cli-new.ts [args...]\n */\nimport { bedrockProviderModule } from \"@earendil-works/pi-ai/bedrock-provider\";\nimport { registerBunOAuthFlows } from \"@earendil-works/pi-ai/bun-oauth\";\nimport { setBedrockProviderModule } from \"@earendil-works/pi-ai/compat\";\nimport { APP_NAME, setAppEnv } from \"./config.ts\";\nimport { configureHttpDispatcher } from \"./core/http-dispatcher.ts\";\nimport { main } from \"./main.ts\";\n\n// The published entrypoints are single-file bundles, so modules that pi-ai\n// lazy-imports from disk at runtime (OAuth flows, the Bedrock provider) do\n// not exist as files — the same constraint as the standalone Bun binary.\n// Register the statically bundled implementations instead.\nregisterBunOAuthFlows();\nsetBedrockProviderModule(bedrockProviderModule);\n\nprocess.title = APP_NAME;\nsetAppEnv(\"CODING_AGENT\", \"true\");\nprocess.env.AI_AGENT = APP_NAME;\nprocess.emitWarning = (() => {}) as typeof process.emitWarning;\n\n// Configure undici's global dispatcher before provider SDKs issue requests.\n// Runtime settings are applied once SettingsManager has loaded global/project settings.\nconfigureHttpDispatcher();\n\nmain(process.argv.slice(2));\n"]}