From dac4fcd6ba9e46bc88f2c29d8270a94143e93676 Mon Sep 17 00:00:00 2001 From: Shanu Date: Wed, 25 Mar 2026 19:24:37 +0530 Subject: [PATCH] chore: update SDK versions and simplify memory insertion logic - Bumped Python SDK version from 0.5.5 to 0.5.6 in pyproject.toml. - Updated TypeScript SDK version from 0.1.3 to 0.1.4 in package.json. - Simplified the memory insertion logic in TinyHumansMemoryClient by removing redundant parameters in the insert method. --- packages/sdk-python/pyproject.toml | 2 +- packages/sdk-typescript/package.json | 2 +- packages/sdk-typescript/src/index.ts | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/sdk-python/pyproject.toml b/packages/sdk-python/pyproject.toml index c51cfb2..a53d2b4 100644 --- a/packages/sdk-python/pyproject.toml +++ b/packages/sdk-python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "tinyhumansai" -version = "0.5.5" +version = "0.5.6" description = "Python SDK for Neocortex API by TinyHumans - ingest and delete memory with human context" readme = "README.md" license = {text = "MIT"} diff --git a/packages/sdk-typescript/package.json b/packages/sdk-typescript/package.json index 9183a39..2e17bc5 100644 --- a/packages/sdk-typescript/package.json +++ b/packages/sdk-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tinyhumansai/neocortex", - "version": "0.1.3", + "version": "0.1.4", "description": "TypeScript SDK for TinyHumans Neocortex API - insert, query, delete, recall", "type": "module", "main": "dist/index.js", diff --git a/packages/sdk-typescript/src/index.ts b/packages/sdk-typescript/src/index.ts index 5b19bda..4971bca 100644 --- a/packages/sdk-typescript/src/index.ts +++ b/packages/sdk-typescript/src/index.ts @@ -391,11 +391,7 @@ export class TinyHumansMemoryClient { params: InsertMemoryParams, ): Promise { this.validateInsertParams(params); - return this.post("/memory/insert", { - ...params, - // Backend commonly accepts snake_case too; send both for compatibility. - document_id: params.documentId, - }); + return this.post("/memory/insert", params); } /** Query memory via RAG. POST /memory/query */