From b76d604495f5c96c1246ed9e2f89dad86394feba Mon Sep 17 00:00:00 2001 From: gabewillen Date: Fri, 7 Aug 2026 00:57:56 -0500 Subject: [PATCH] chore: prepare Cortext v1.3.1 metadata --- CMakeLists.txt | 2 +- README.md | 2 +- RELEASE.md | 37 ++++++++++++++++++++++++++----------- build.zig | 4 ++-- build.zig.zon | 2 +- models/manifest.json | 2 +- 6 files changed, 32 insertions(+), 17 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b61bb2b..ab368461 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -project(cortext VERSION 1.3.0 LANGUAGES C CXX) +project(cortext VERSION 1.3.1 LANGUAGES C CXX) set(CORTEXT_TARGET_IOS OFF) if(IOS OR CMAKE_SYSTEM_NAME STREQUAL "iOS" OR CMAKE_OSX_SYSROOT MATCHES "iphone") diff --git a/README.md b/README.md index 04f52826..fe4b238a 100644 --- a/README.md +++ b/README.md @@ -425,7 +425,7 @@ env var — use the paths the runtime and bindings already read (`CORTEXT_LIBRARY_PATH`, `CORTEXT_AIST_MODEL_PATH`): ```bash -ASSETS_VERSION=1.3.0 # or the release you want +ASSETS_VERSION=1.3.1 # or the release you want ASSETS="$HOME/.cache/augmem/cortext/assets" curl -fsSL -o cortext-assets.tgz \ "https://github.com/augmem/cortext.cpp/releases/download/v${ASSETS_VERSION}/cortext-assets-${ASSETS_VERSION}.tar.gz" diff --git a/RELEASE.md b/RELEASE.md index 49754364..db3e91d6 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,13 +1,15 @@ -# Cortext v1.3.0 Release Artifact +# Cortext v1.3.1 Release Artifact -This tracked artifact accompanies the `v1.3.0` tag. +This tracked artifact prepares the `v1.3.1` release metadata. It does not create +the tag or publish the release. ## Release State -- Version: `1.3.0` +- Version: `1.3.1` - Merged feature baseline before release metadata: - `b6709817959b81e4fbbd4b0eb9be0a8102d80eb1` (PR #11). -- Release source: the integrated commit addressed by the annotated `v1.3.0` + `b26bc30ab76bd50731382a15a503c7891d12612a` (PR #13 — Node text-media + N-API bridge). +- Release source: the integrated commit addressed by the annotated `v1.3.1` tag; the GitHub release and shared native assets are rebuilt from that exact commit. - Product surface: C++ facade, stable C ABI, optional N-API/`ffi/node` addon, @@ -17,9 +19,12 @@ This tracked artifact accompanies the `v1.3.0` tag. ## Highlights -- Adds text-with-media processing to the C++ and C APIs, including JSON wrappers - and WASM exports. Text remains the canonical embedding/processing input while - non-empty caller media is copied and persisted with its MIME type. +- Adds the Node-API `processTextWithMediaJson` bridge for text processing with + optional binary media, MIME type, and process options. The bridge consumes + the merged C/C++ text-media API without adding a second native implementation. +- Retains text-with-media processing in the C++ and C APIs, including JSON + wrappers and WASM exports. Text remains the canonical embedding/processing + input while non-empty caller media is copied and persisted with its MIME type. - Supports arbitrary binary text payloads: custom MIME payloads are treated as opaque bytes and hydrate unchanged. `Media{}`, `NULL`, or zero-size media omits the stored payload, while legacy calls retain canonical text storage. @@ -40,19 +45,29 @@ This tracked artifact accompanies the `v1.3.0` tag. and Zig CLI install/target jobs including Windows. - PR #11 covered text-media persistence, opaque binary hydration, C error handling, NULL/empty-media behavior, and legacy payload behavior. +- Pull request [#13](https://github.com/augmem/cortext.cpp/pull/13) is merged + at `b26bc30ab76bd50731382a15a503c7891d12612a`, with the Node text-media + N-API bridge at feature head `9686c5a10cca850f73406a7bbd9fa1a38859fb40`. +- The release branch is based directly on that merged `origin/main` commit; + release metadata is the only change after the merge. ## Packaging -- GitHub Release includes `cortext-assets-1.3.0.tar.gz` and its `.sha256`, +- GitHub Release includes `cortext-assets-1.3.1.tar.gz` and its `.sha256`, built by `.github/workflows/release-assets.yml` from the tagged tree. - Default native libraries embed the shipping AIST q8_0 shards; the release asset tree also carries model shards for thin/embed-off consumers. +- Node prebuilds are built by the standalone `augmem/cortext.ts` release + pipeline from this exact `v1.3.1` tag. That pipeline configures CMake with + `CORTEXT_BUILD_NODE_BINDINGS=ON`, builds `cortext_node` on its host matrix, + and publishes the resulting `cortext.node` artifacts; this repository does + not publish Node prebuilds. - Language package versions and registry publishing remain owned by the standalone sibling repositories, not this engine repository. ## Version Surfaces -The engine release surfaces report `1.3.0`: +The engine release surfaces report `1.3.1`: - `CMakeLists.txt` project version - `build.zig` `cortext_version` and library package version @@ -63,7 +78,7 @@ Language package versions are owned by their standalone sibling repositories. ## Publish Targets -- GitHub release tag: `v1.3.0` (engine + `cortext-assets-1.3.0.tar.gz`) +- GitHub release tag: `v1.3.1` (engine + `cortext-assets-1.3.1.tar.gz`) - Language packages: see sibling `augmem/cortext.py`, `augmem/cortext.ts`, `augmem/cortext.go`, `augmem/cortext.dart`, and `augmem/cortext.wasm` repositories. diff --git a/build.zig b/build.zig index 67aefcf9..b3742b68 100644 --- a/build.zig +++ b/build.zig @@ -1,6 +1,6 @@ const std = @import("std"); -const cortext_version = "1.3.0"; +const cortext_version = "1.3.1"; const sqlite_header_template = @embedFile("third_party/sqlite/src/sqlite.h.in"); @@ -320,7 +320,7 @@ pub fn build(b: *std.Build) void { .name = "cortext", .linkage = if (shared) .dynamic else .static, .root_module = mod, - .version = .{ .major = 1, .minor = 3, .patch = 0 }, + .version = .{ .major = 1, .minor = 3, .patch = 1 }, }); // Keep Zig consumers on the same pinned hnswlib safety contract as the diff --git a/build.zig.zon b/build.zig.zon index dade66a7..9aff2e27 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,6 +1,6 @@ .{ .name = .cortext, - .version = "1.3.0", + .version = "1.3.1", .fingerprint = 0x474dfffd9e64ddfb, // Changing this has security and trust implications. .minimum_zig_version = "0.15.2", .dependencies = .{ diff --git a/models/manifest.json b/models/manifest.json index 3eb0114c..b06f1d4b 100644 --- a/models/manifest.json +++ b/models/manifest.json @@ -1,6 +1,6 @@ { "schema": "augmem.cortext.models.v1", - "cortext_version": "1.3.0", + "cortext_version": "1.3.1", "note": "AIST model is Git-chunked under 100 MiB so it can live in ordinary Git without LFS. Language bindings reassemble and checksum on first use; do not re-shard in binding repos \u2014 copy this tree from cortext.", "assets": [ {