Skip to main content

urirun-connector-router

AI Cost Tracking

PyPI Version Python License AI Cost Human Time Model

  • 🤖 LLM usage: $0.3000 (2 commits)
  • 👤 Human dev: ~$178 (1.8h @ $100/h, 30min dedup)

Generated on 2026-07-05 using openrouter/qwen/qwen3-coder-next


urirun-connector-router is the URI-routing kernel for ifURI/urirun.

It answers, before a natural-language plan is executed:

  • which machine or node each URI step will run on,
  • whether the URI target is known,
  • whether a route/capability descriptor matches,
  • whether an optional live node probe is reachable,
  • whether the route is read-only or mutating, and whether safety denies it.

The pure API is dependency-light:

from urirun_connector_router.routing import accept_plan, diagnose_plan

report = diagnose_plan(
    [{"uri": "kvm://host/screen/query/capture"}],
    {"nodes": [{"name": "lenovo", "url": "http://192.168.188.201:8765"}],
     "routes": [{"uri": "kvm://host/screen/query/capture", "node": "lenovo"}]},
)

verdict = accept_plan(
    [{"uri": "kvm://host/screen/query/capture"}],
    {"routes": [{"uri": "kvm://host/screen/query/capture", "node": "host",
                 "meta": {"contract": {"effect": "query"}}}]},
)

When urirun is installed, the package also exposes read-only router:// routes:

  • router://host/route/query/resolve
  • router://host/plan/query/diagnose
  • router://host/plan/query/accept
  • router://host/mesh/query/targets

diagnose reports what is known about each candidate step. accept is the deterministic pre-dispatch predicate used by autonomous flows: a plan is accepted only when all steps route cleanly and contract metadata does not contradict the URI effect (query vs command).

License

Licensed under Apache-2.0.

Metadata

Release files for urirun-connector-router 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for urirun-connector-router 0.2.1
File Size Uploaded
urirun_connector_router-0.2.1.tar.gz 29.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for urirun-connector-router 0.2.1
File Interpreter ABI Platform
urirun_connector_router-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 54.8 kB

Release files / urirun_connector_router-0.2.1.tar.gz

Download URL urirun_connector_router-0.2.1.tar.gz
Size 29.6 kB
Tags Source
SHA-256 checksum
How to use checksums
edc56d82fcd0e3b1c90f7f61ebbeda49b35556be76722e557823c2258a01c56b
BLAKE2b-256 checksum
How to use checksums
17d0b9690a6e78f2b8447fab34d58e6ea04884c2e3f6add5480fb5c45759b9b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / urirun_connector_router-0.2.1-py3-none-any.whl

Download URL urirun_connector_router-0.2.1-py3-none-any.whl
Size 25.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc9507988444cae1452c1f407f088d2b9b77171cacfc6ee41a04409af2b17e95
BLAKE2b-256 checksum
How to use checksums
b81e1871771f005ebcfe0fd108da5bf8962878242c700cf131627a9ba42f37e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page