@x12i/funcx 4.9.15 → 4.9.16

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/README.md CHANGED
@@ -657,7 +657,7 @@ REST **`options.profile`** on `/run` is **not** ai-profiles — it selects a **r
657
657
  | `post-audit-checklist` markdown default | **Done (4.9.10)** | JSON only when `args.outputMode = "json"` |
658
658
  | Embedder transport retry policy | **Done (4.9.12)** | See **Retry policy for embedders** below |
659
659
  | `RunOptions.transportRetries` | **Done (4.9.13)** | Built-in exponential backoff on retriable transport failures |
660
- | OpenRouter server tools | **Done** | `@x12i/openrouter-runtime` adapter; `options.serverTools`, catalog `meta.runtime.serverTools` |
660
+ | OpenRouter server tools | **Done (4.9.15)** | Runtime-enabled calls route through `@x12i/ai-gateway`; `options.serverTools`, `options.openrouter`, REST `runtime`, catalog `meta.runtime.serverTools` |
661
661
  | Sidekick output schema CI | **Done (4.9.12)** | `getFuncxOutputSchema` validated against golden outputs for all 10 ids |
662
662
 
663
663
  #### Retry policy for embedders (CR-FUNCX-5)
@@ -683,9 +683,7 @@ await run("pre-synthesize", envelope, { client, transportRetries: 2 });
683
683
 
684
684
  #### OpenRouter server tools
685
685
 
686
- FuncX routes OpenRouter execution through `@x12i/openrouter-runtime` (default). Existing calls continue to work unchanged. Server tools are **opt-in** per call or per function catalog metadata (`meta.runtime.serverTools`).
687
-
688
- Emergency fallback to the legacy HTTP client: set `FUNCX_USE_LEGACY_OPENROUTER=1`.
686
+ FuncX routes runtime-enabled OpenRouter execution through `@x12i/ai-gateway`. Existing plain OpenRouter calls continue to use the legacy HTTP-compatible path unless server tools, `options.openrouter`, or `:online` runtime behavior is requested. Server tools are **opt-in** per call, per REST request (`runtime.serverTools`), or per function catalog metadata (`meta.runtime.serverTools`).
689
687
 
690
688
  **Web search**
691
689
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.9.15",
2
+ "version": "4.9.16",
3
3
  "normalization": {
4
4
  "rules": [
5
5
  "CRLF to LF",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x12i/funcx",
3
- "version": "4.9.15",
3
+ "version": "4.9.16",
4
4
  "description": "FuncX: a super-easy typed AI reasoning-functions library for product code",
5
5
  "type": "module",
6
6
  "publishConfig": {