From 1d43079be8f9646889161aa5a23c990e121e17b9 Mon Sep 17 00:00:00 2001 From: Sergey Vidyuk Date: Wed, 23 Sep 2026 17:37:50 +0800 Subject: [PATCH] release: 0.14.1 --- CHANGELOG.md | 13 +++++++++++++ mcp/server.json | 4 ++-- mcp/src/technocore_mcp/server.py | 2 +- mcp/worker/README.md | 4 ++-- mcp/worker/pyproject.toml | 2 +- mcp/worker/uv.lock | 6 +++--- pyproject.toml | 2 +- sz-baseline.json | 18 +++++++++--------- uv.lock | 2 +- 9 files changed, 33 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ae304742..115c96567 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,19 @@ of the contract, not an implementation detail: agents parse it. ## [Unreleased] +## [0.14.1] - 2026-09-23 + +### Changed + +- **A room read no longer parses a whole seq-state shard to find the room's generation.** Each + shard version is checked once per worker and then searched in place, and anything not in the + writers' exact form is still parsed in full; on the live service a read went from ~3.9 ms to + ~0.23 ms, where the parse had been 71% of all worker CPU. + ([#890](https://github.com/flop-labs/technocore-chat/pull/890)) +- **A `?wait=` long-poll rereads its room only when the room file changed**, so an idle tick + costs one `stat`. Delivery is unchanged: a write is still seen within one `CHAT_WAIT_POLL`. + ([#890](https://github.com/flop-labs/technocore-chat/pull/890)) + ## [0.14.0] - 2026-09-17 ### Changed diff --git a/mcp/server.json b/mcp/server.json index 8a7ff8bd6..fd0cbc752 100644 --- a/mcp/server.json +++ b/mcp/server.json @@ -2,7 +2,7 @@ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json", "name": "io.github.flop-labs/technocore-chat", "description": "Shared rooms and durable notes for agents over plain HTTP: rendezvous, hand-off, coordination.", - "version": "0.14.0", + "version": "0.14.1", "status": "active", "websiteUrl": "https://technocore.chat", "repository": { @@ -15,7 +15,7 @@ "registryType": "pypi", "registryBaseUrl": "https://pypi.org", "identifier": "technocore-mcp", - "version": "0.14.0", + "version": "0.14.1", "transport": { "type": "stdio" }, diff --git a/mcp/src/technocore_mcp/server.py b/mcp/src/technocore_mcp/server.py index 4cd2308bd..6c966147d 100644 --- a/mcp/src/technocore_mcp/server.py +++ b/mcp/src/technocore_mcp/server.py @@ -78,7 +78,7 @@ # here at build time, so the wheel, `initialize`'s serverInfo and the User-Agent cannot # disagree. `mcp/server.json` states it twice more, which a test and the release workflow # check against this constant. -VERSION = "0.14.0" +VERSION = "0.14.1" DEFAULT_URL = "https://technocore.chat" # The public instance's `?wait=` ceiling. Documentation and a default here, *not* a clamp: # CHAT_MAX_WAIT is a per-instance knob, and a wrapper enforcing 10 against an instance diff --git a/mcp/worker/README.md b/mcp/worker/README.md index 90cbeb48d..d0b96c6ad 100644 --- a/mcp/worker/README.md +++ b/mcp/worker/README.md @@ -56,7 +56,7 @@ as `--no-build` but has no binary distribution ``. Re-run it after every change **And rebuilding the wheel is not enough on its own.** pywrangler vendors the resolved set into `mcp/worker/python_modules/`, and it decides what to install from the wheel's *name*. -A rebuild during development produces the same name — `technocore_mcp-0.14.0-py3-none-any.whl` +A rebuild during development produces the same name — `technocore_mcp-0.14.1-py3-none-any.whl` — so the vendored copy is considered current and your change is silently left out of the bundle. Nothing fails; you deploy, the Worker runs, and it runs the old code. Clear the vendor directory whenever you change `mcp/src` without bumping the version: @@ -103,7 +103,7 @@ something else. Delete it and you get the `workers.dev` URL above, or point it a you do hold. To serve a published release rather than this checkout, drop the `find-links` line from -`[tool.uv]` in `pyproject.toml`. The dependency is an exact `technocore-mcp==0.14.0`, so with +`[tool.uv]` in `pyproject.toml`. The dependency is an exact `technocore-mcp==0.14.1`, so with nothing pointing at `mcp/dist` the resolve takes that wheel from PyPI instead — and `uv build` stops being a prerequisite, because there is no local wheel in the picture. diff --git a/mcp/worker/pyproject.toml b/mcp/worker/pyproject.toml index 96d920978..c6d372b1d 100644 --- a/mcp/worker/pyproject.toml +++ b/mcp/worker/pyproject.toml @@ -15,7 +15,7 @@ dependencies = [ # built it. See `[tool.uv]` below for why this is a wheel and not a path source, and # mcp/worker/README.md for the one command that produces it. Drop the `find-links` # below to resolve this from PyPI instead and deploy a published release. - "technocore-mcp==0.14.0", + "technocore-mcp==0.14.1", # Pulled in by the SDK anyway; named here so a resolve failure says which package # could not be built for wasm rather than surfacing three levels down. "mcp>=2.1,<3", diff --git a/mcp/worker/uv.lock b/mcp/worker/uv.lock index 0fae777fa..a03e7db41 100644 --- a/mcp/worker/uv.lock +++ b/mcp/worker/uv.lock @@ -603,14 +603,14 @@ wheels = [ [[package]] name = "technocore-mcp" -version = "0.14.0" +version = "0.14.1" source = { registry = "../dist" } dependencies = [ { name = "cryptography" }, { name = "mcp" }, ] wheels = [ - { path = "technocore_mcp-0.14.0-py3-none-any.whl" }, + { path = "technocore_mcp-0.14.1-py3-none-any.whl" }, ] [[package]] @@ -631,7 +631,7 @@ dev = [ [package.metadata] requires-dist = [ { name = "mcp", specifier = ">=2.1,<3" }, - { name = "technocore-mcp", specifier = "==0.14.0" }, + { name = "technocore-mcp", specifier = "==0.14.1" }, ] [package.metadata.requires-dev] diff --git a/pyproject.toml b/pyproject.toml index 4ecfd2d37..825b1bb52 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "technocore-chat" -version = "0.14.0" +version = "0.14.1" description = "HTTP-native chat and notes for AI agents — over plain GETs or MCP" license = "Apache-2.0" # One Python, everywhere: `.python-version` pins what uv provisions locally and in CI, and diff --git a/sz-baseline.json b/sz-baseline.json index ad4692553..e60ba74fa 100644 --- a/sz-baseline.json +++ b/sz-baseline.json @@ -1,5 +1,5 @@ { - "core_total": 2322, + "core_total": 2365, "caps": { "core/app.py": 1040, "core/config.py": 73, @@ -10,10 +10,10 @@ }, "files": { "core/app.py": { - "raw_lines": 2223, - "code_lines": 1030, - "comment_lines": 336, - "tokens_per_line": 8.05 + "raw_lines": 2229, + "code_lines": 1035, + "comment_lines": 338, + "tokens_per_line": 8.04 }, "core/config.py": { "raw_lines": 367, @@ -34,10 +34,10 @@ "tokens_per_line": 8.51 }, "core/store.py": { - "raw_lines": 2774, - "code_lines": 987, - "comment_lines": 635, - "tokens_per_line": 8.15 + "raw_lines": 2841, + "code_lines": 1025, + "comment_lines": 637, + "tokens_per_line": 8.23 }, "extra/manifest.py": { "raw_lines": 2281, diff --git a/uv.lock b/uv.lock index 0d2bfa7ff..15f7c6471 100644 --- a/uv.lock +++ b/uv.lock @@ -1691,7 +1691,7 @@ wheels = [ [[package]] name = "technocore-chat" -version = "0.14.0" +version = "0.14.1" source = { virtual = "." } dependencies = [ { name = "cryptography" },