@miller-tech/uap 2.19.5 → 2.21.0

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 (56) hide show
  1. package/config/model-profiles/qwen38.json +2 -2
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/benchmarks/benchmark.d.ts +6 -6
  4. package/dist/bin/cli.js +15 -0
  5. package/dist/bin/cli.js.map +1 -1
  6. package/dist/cli/deliver.d.ts +9 -0
  7. package/dist/cli/deliver.d.ts.map +1 -1
  8. package/dist/cli/deliver.js +41 -1
  9. package/dist/cli/deliver.js.map +1 -1
  10. package/dist/delivery/agentic-executor.d.ts +13 -1
  11. package/dist/delivery/agentic-executor.d.ts.map +1 -1
  12. package/dist/delivery/agentic-executor.js +61 -10
  13. package/dist/delivery/agentic-executor.js.map +1 -1
  14. package/dist/delivery/applier.d.ts +37 -1
  15. package/dist/delivery/applier.d.ts.map +1 -1
  16. package/dist/delivery/applier.js +49 -7
  17. package/dist/delivery/applier.js.map +1 -1
  18. package/dist/delivery/convergence-loop.d.ts +48 -0
  19. package/dist/delivery/convergence-loop.d.ts.map +1 -1
  20. package/dist/delivery/convergence-loop.js +161 -14
  21. package/dist/delivery/convergence-loop.js.map +1 -1
  22. package/dist/delivery/failing-files.d.ts +48 -0
  23. package/dist/delivery/failing-files.d.ts.map +1 -0
  24. package/dist/delivery/failing-files.js +112 -0
  25. package/dist/delivery/failing-files.js.map +1 -0
  26. package/dist/delivery/gate-spawn.d.ts +66 -0
  27. package/dist/delivery/gate-spawn.d.ts.map +1 -0
  28. package/dist/delivery/gate-spawn.js +192 -0
  29. package/dist/delivery/gate-spawn.js.map +1 -0
  30. package/dist/delivery/pending-intents.d.ts +37 -4
  31. package/dist/delivery/pending-intents.d.ts.map +1 -1
  32. package/dist/delivery/pending-intents.js +178 -20
  33. package/dist/delivery/pending-intents.js.map +1 -1
  34. package/dist/delivery/prescribed-replay.d.ts +53 -0
  35. package/dist/delivery/prescribed-replay.d.ts.map +1 -0
  36. package/dist/delivery/prescribed-replay.js +196 -0
  37. package/dist/delivery/prescribed-replay.js.map +1 -0
  38. package/dist/delivery/self-gate.d.ts +29 -0
  39. package/dist/delivery/self-gate.d.ts.map +1 -1
  40. package/dist/delivery/self-gate.js +149 -13
  41. package/dist/delivery/self-gate.js.map +1 -1
  42. package/dist/delivery/verifier-ladder.d.ts +7 -0
  43. package/dist/delivery/verifier-ladder.d.ts.map +1 -1
  44. package/dist/delivery/verifier-ladder.js +13 -4
  45. package/dist/delivery/verifier-ladder.js.map +1 -1
  46. package/docs/architecture/adr/0005-ollama-compatible-surface.md +74 -0
  47. package/docs/guides/PROXY.md +48 -0
  48. package/package.json +2 -2
  49. package/src/policies/enforcers/__pycache__/_common.cpython-312.pyc +0 -0
  50. package/src/policies/enforcers/__pycache__/expert_review_required.cpython-312.pyc +0 -0
  51. package/src/policies/enforcers/__pycache__/quality_metrics_gate.cpython-312.pyc +0 -0
  52. package/templates/hooks/__pycache__/deliver_autoroute.cpython-312.pyc +0 -0
  53. package/tools/agents/scripts/__pycache__/toolcall_path_normalizer.cpython-312.pyc +0 -0
  54. package/tools/agents/scripts/anthropic_proxy.py +778 -49
  55. package/tools/agents/scripts/requirements-proxy.txt +1 -1
  56. package/tools/agents/tests/test_ollama_compat.py +320 -0
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "_profile": "qwen38",
3
3
  "_description": "Qwen3.8 Flash-Next — local Strata serve-layer deployment for agentic tool-calling workloads. Successor to qwen36 and to the 2026-09-20 GSQ-RCO llama.cpp deployment; the default local executor in UAP routing. Routes through the anthropic-proxy for the tool/finalize guardrails, NOT the inference server directly.",
4
- "_engine": "strata serve layer 0.1.37 (python server + native engine binary) on :8080, no systemd unit — launched by /home/cogtek/dev/strata/run-iq3_xxs.sh. Serves llama.cpp-shaped /props, /slots and /v1, plus a JSON /metrics (engine/live/requests — NOT Prometheus text; `uap inference health` auto-detects it). Weights: strata-data pack iq3_xxs (Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS, native experts + PLE shard) with MTP speculative drafts (spec 4, spec-min-p 0.5, mtp_max 4) and an auto-sized expert cache (~14.5 GiB, 91% hit rate observed). Model id advertised at /v1/models: qwen3.8-flash-next-iq3_xxs; the server ignores requested model ids entirely, which is why stale client pins (e.g. a resumed session still naming qwen36 ids) keep working.",
4
+ "_engine": "strata serve layer 0.1.37 (python server + native engine binary) on :8080, no systemd unit — launched by /home/cogtek/dev/strata/run-iq3_xxs.sh. Serves llama.cpp-shaped /props, /slots and /v1, plus a JSON /metrics (engine/live/requests — NOT Prometheus text; `uap inference health` auto-detects it). Weights: strata-data pack iq3_xxs (Swift 1.5 IQ3_XXS since the 2026-10-06 swap; predecessor Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS, native experts + PLE shard) with MTP speculative drafts (spec 8, spec-min-p 0.8 since the 2026-10-06 tuning; previously spec 4, spec-min-p 0.5, mtp_max 4) and an auto-sized expert cache. Model id advertised at /v1/models: swift-1.5-iq3_xxs; the server ignores requested model ids entirely, which is why stale client pins (e.g. a resumed session still naming qwen36 ids) keep working.",
5
5
  "_engine_history": "SUPERSEDED 2026-10-04: this profile described buun-llama-cpp behind uap-gsq-rco-server.service (2 rails sharing a 229376-cell VBR pool, DFlash2 draft). That unit is now INACTIVE — the box serves the Strata layer on :8080 instead (tuned 2026-10-03: +15% over the llama.cpp fork on agent workloads). The old description was itself a 2026-09-20 correction of a ninfer-serve description. Verify against /metrics before trusting engine claims here; the dead unit's ExecStart still reports -c 229376 to systemctl, and on 2026-10-04 `uap inference health` printed that stale pool size for the live (131072) backend.",
6
- "model": "qwen3.8-flash-next-iq3_xxs",
6
+ "model": "swift-1.5-iq3_xxs",
7
7
  "max_tokens": 57344,
8
8
  "_max_tokens_comment": "Deliberately generous: 50% of the 114688 window, the same ratio the previous 65536/131072 pairing used. The engine returns chain-of-thought in a SEPARATE reasoning_content field, so reasoning spends completion budget without ever appearing in content. A tight cap therefore does not produce a short answer, it produces an EMPTY one with finish_reason=length — measured previously as ~90% first-turn decode failure that read as bad output format and was really budget truncation. Do not lower this without re-measuring decode compliance. (The proxy additionally clamps tool turns to PROXY_TOOL_TURN_MAX_TOKENS=32768 regardless.)",
9
9
  "temperature": 0.3,