packages feed

praxo-core 0.11.0 → 0.12.1

raw patch · API changes only · 8 files changed · show whitespace changes · browse praxo-core-0.12.1

+86/−24 lines, 8 filesPVP ok

API changes (from Hackage documentation)

No changes to the public API.

version bump matches the API change (PVP)

Files

README.md view
@@ -7,7 +7,7 @@ middleware, JSON Schema validation, plugin manifest parsing, and runtime helpers.  - Implementation type: Core.-- Source version: `0.11.0`; Hackage publishes `0.10.0`.+- Source version: `0.12.1`; Hackage publishes `0.11.0`. - Supported `SPEC_VERSION`: `0.2.0`. Migrating from `0.9.0` requires binding   `pathChecker`, `pathCheck`, and `pathAllowed` in `IO`; see [CHANGELOG.md](CHANGELOG.md). - Local gate: all eleven shared vector groups, native regression tests, and@@ -27,7 +27,7 @@ - Registry introduction: [REGISTRY.md](https://github.com/axisvela/praxo-core/blob/main/language/haskell/REGISTRY.md) - Machine-readable entry: [llms.txt](https://github.com/axisvela/praxo-core/blob/main/language/haskell/llms.txt) and [llms.md](https://github.com/axisvela/praxo-core/blob/main/language/haskell/llms.md) - Coding-agent contract: [docs/getting-started/coding-agents.md](https://github.com/axisvela/praxo-core/blob/main/docs/getting-started/coding-agents.md)-- Registry: [Hackage](https://hackage.haskell.org/package/praxo-core-0.10.0)+- Registry: [Hackage](https://hackage.haskell.org/package/praxo-core-0.11.0) - Community: [X](https://x.com/axisvela) · [Weibo](https://weibo.com/u/1936025761) · [LinkedIn](https://www.linkedin.com/company/axisvela/) · [Facebook](https://www.facebook.com/profile.php?id=61596905732406) · [YouTube](https://www.youtube.com/@axisvela) · [Discord](https://discord.com/channels/1575163993767809064/1575164343148875977) · [GitHub Discussions](https://github.com/axisvela/praxo-core/discussions) · [GitHub Issues](https://github.com/axisvela/praxo-core/issues) · [Documentation](https://axisvela.github.io/praxo-core/) · [Architect](https://axisvela.architect.pub)  ## Get started@@ -35,7 +35,7 @@ Install the published package:  ```bash-cabal install --lib praxo-core-0.10.0+cabal install --lib praxo-core-0.11.0 ```  Then run the smallest deterministic example:
REGISTRY.md view
@@ -4,8 +4,8 @@  PRAXO-CORE (also written praxocore) provides an embeddable, MIT-licensed agent framework for Haskell, with tool calling, policy hooks, human-in-the-loop approval, checkpoints, and execution events. Use the language-specific scope and verification evidence below; a package listing does not establish Go feature parity or production readiness. -**Status:** published 0.10.0 on Hackage; source tag haskell/v0.11.0. Source version `0.11.0`, source-tag `haskell/v0.11.0`. Published registry version: `0.10.0`. Registry+**Status:** published 0.11.0 on Hackage; source tag haskell/v0.12.1. Source version `0.12.1`, source+tag `haskell/v0.12.1`. Published registry version: `0.11.0`. Registry pages are release snapshots; verify the published version before relying on a feature.  ## Package@@ -13,12 +13,12 @@ | Field | Value | | --- | --- | | Package | `praxo-core` |-| Registry | [Hackage](https://hackage.haskell.org/package/praxo-core-0.10.0) |-| Source version | `0.11.0` |-| Published registry version | `0.10.0` |-| Install (published) | `cabal install --lib praxo-core-0.10.0` |+| Registry | [Hackage](https://hackage.haskell.org/package/praxo-core-0.11.0) |+| Source version | `0.12.1` |+| Published registry version | `0.11.0` |+| Install (published) | `cabal install --lib praxo-core-0.11.0` | | Install (source/release prepared) | `cabal build --project-dir=language/haskell` |-| Source tag | `haskell/v0.11.0` |+| Source tag | `haskell/v0.12.1` | | Tier | Core | | Contract | `SPEC_VERSION` `0.2.0` | | Documentation | https://axisvela.github.io/praxo-core/languages/haskell/ |
llms.md view
@@ -7,12 +7,12 @@ ## Package  - package: `praxo-core`-- registry: [Hackage](https://hackage.haskell.org/package/praxo-core-0.10.0)-- source_version: `0.11.0`-- published_version: `0.10.0`-- install_published: `cabal install --lib praxo-core-0.10.0`+- registry: [Hackage](https://hackage.haskell.org/package/praxo-core-0.11.0)+- source_version: `0.12.1`+- published_version: `0.11.0`+- install_published: `cabal install --lib praxo-core-0.11.0` - install_source: `cabal build --project-dir=language/haskell`-- source_tag: `haskell/v0.11.0`+- source_tag: `haskell/v0.12.1` - tier: Core - contract: `SPEC_VERSION` `0.2.0` - documentation: https://axisvela.github.io/praxo-core/languages/haskell/
llms.txt view
@@ -7,12 +7,12 @@ # Package  - package: `praxo-core`-- registry: [Hackage](https://hackage.haskell.org/package/praxo-core-0.10.0)-- source_version: `0.11.0`-- published_version: `0.10.0`-- install_published: `cabal install --lib praxo-core-0.10.0`+- registry: [Hackage](https://hackage.haskell.org/package/praxo-core-0.11.0)+- source_version: `0.12.1`+- published_version: `0.11.0`+- install_published: `cabal install --lib praxo-core-0.11.0` - install_source: `cabal build --project-dir=language/haskell`-- source_tag: `haskell/v0.11.0`+- source_tag: `haskell/v0.12.1` - tier: Core - contract: `SPEC_VERSION` `0.2.0` - documentation: https://axisvela.github.io/praxo-core/languages/haskell/
praxo-core.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: praxo-core-version: 0.11.0+version: 0.12.1 synopsis: Embeddable MIT-licensed AI agent framework for Haskell description: PRAXO-CORE (praxocore) is a native Haskell agent framework with tools, policy hooks, typed events, memory,              checkpoints, context budgets, middleware, JSON Schema validation,@@ -14,7 +14,8 @@ author: AxisVela build-type: Simple extra-source-files: README.md, REGISTRY.md, llms.txt, llms.md, SETUP.md,-                    api/0.1.0.txt, api/0.2.0.txt, run-tests.py, api-snapshot.py+                    api/0.1.0.txt, api/0.2.0.txt, run-tests.py, api-snapshot.py,+                    tests/fixtures/process_plugin.py  source-repository head   type: git
src/Praxo/Wire.hs view
@@ -4,4 +4,4 @@ specVersion = "0.2.0"  sdkVersion :: String-sdkVersion = "0.11.0"+sdkVersion = "0.12.1"
tests/Main.hs view
@@ -42,7 +42,7 @@     mcpTests     seamTests     pluginProcessTests-    assert "contract version" (specVersion == "0.2.0" && sdkVersion == "0.11.0")+    assert "contract version" (specVersion == "0.2.0" && sdkVersion == "0.12.1")     forM_ ["", "01", "1.", "+1", "NaN", "1e", "[1,]", "{\"a\":1,}", "{}{}", "\"\\q\"", "\"\\ud800\"", "\"\\udc00\"", "\"\\ud800\\u0041\"", "\"line\nbreak\"", "true garbage"] $ \raw ->         assert ("invalid JSON " ++ show raw) (isLeft (parseJson raw))     assert "unicode escape" (parseJson "\"\\u00e9\\ud83d\\ude00\"" == Right (JString "\x00e9\x1f600"))
+ tests/fixtures/process_plugin.py view
@@ -0,0 +1,61 @@+import json+import os+import sys+import time++TOKEN = os.environ.get("PRAXOVELA_PLUGIN_TOKEN", "")+++def respond(frame):+    sys.stdout.write(json.dumps(frame, separators=(",", ":")) + "\n")+    sys.stdout.flush()+++for raw in sys.stdin.buffer:+    try:+        request = json.loads(raw)+    except ValueError:+        continue+    if request.get("token") != TOKEN:+        respond({+            "id": request.get("id", ""),+            "version": 1,+            "ok": False,+            "code": "INVALID_REQUEST",+            "message": "token mismatch",+        })+        continue+    method = request.get("method", "")+    if method in ("health", "cancel"):+        respond({"id": request.get("id", ""), "version": 1, "ok": True, "payload": ""})+    elif method == "echo":+        respond({+            "id": request.get("id", ""),+            "version": 1,+            "ok": True,+            "payload": request.get("payload", ""),+        })+    elif method == "denied":+        respond({+            "id": request.get("id", ""),+            "version": 1,+            "ok": False,+            "code": "CAPABILITY_DENIED",+            "message": "denied",+        })+    elif method == "block":+        time.sleep(30)+    elif method == "slow":+        time.sleep(1)+        respond({"id": request.get("id", ""), "version": 1, "ok": True, "payload": "slow"})+    elif method == "shutdown":+        respond({"id": request.get("id", ""), "version": 1, "ok": True, "payload": ""})+        raise SystemExit(0)+    else:+        respond({+            "id": request.get("id", ""),+            "version": 1,+            "ok": False,+            "code": "NOT_FOUND",+            "message": "unknown method",+        })