Commit Graph

407 Commits

Author SHA1 Message Date
Vineeth Voruganti 60588855e7 chore: Comment for potential debt 2026-01-16 13:32:48 -05:00
Vineeth Voruganti f8e7167bdf fix: Migration naming and long held connection 2026-01-16 13:28:00 -05:00
Rajat Ahuja bc0e8efd2b fix: hash namespace 2026-01-16 11:49:03 -05:00
Rajat Ahuja 670ab6b7d5 fix: delete syntax 2026-01-14 14:43:09 -05:00
Rajat Ahuja f8641f01c8 fix: clean up sync vectors 2026-01-14 13:47:14 -05:00
Rajat Ahuja e5e2a3e082 fix: make workspace_name nullable 2026-01-14 13:18:03 -05:00
Rajat Ahuja 8180c28c16 fix: work unit key and reserve system workspace 2026-01-13 16:20:47 -05:00
Rajat Ahuja d75f000b3c fix: CR / opus comments 2026-01-13 15:46:14 -05:00
Rajat Ahuja cae29b7100 feat: refactor to use ReconcilerScheduler 2026-01-13 15:15:03 -05:00
Rajat Ahuja 9ced00e2d5 fix: add test for migration 7c0d9a4e3b1f 2026-01-13 12:59:24 -05:00
Rajat Ahuja 7c155f99a2 fix: coderabbit comments 2026-01-13 12:55:27 -05:00
Rajat Ahuja 788dc0d51d Merge branch 'main' into rajat/turbopuffer 2026-01-13 12:14:51 -05:00
Rajat Ahuja dc1490e30a fix: shorten reconciliation cycle + fix 'IN' equality check 2026-01-13 12:09:09 -05:00
Vineeth Voruganti ee12164835
fix: Maintain this binding for pagination (#289) 2026-01-13 11:48:18 -05:00
Rajat Ahuja b38a87088b fix: migration order 2026-01-13 11:13:53 -05:00
Rajat Ahuja 774edc0b6c Merge branch 'main' into rajat/turbopuffer 2026-01-13 10:55:15 -05:00
doria 59b203e357
Merge pull request #319 from plastic-labs/ben/renaming-and-api-cleanup-clean
feat: API renaming and cleanup
2026-01-13 10:14:38 -05:00
Vineeth Voruganti be3adf820e chore: re-add n8n 2026-01-13 10:06:50 -05:00
Benjamin McCormick 5d74818bed chore: code review, use new stainless releases 2026-01-12 18:41:34 -05:00
Benjamin McCormick 4b01f8754d feat: make dreamer and dialectic actually respect settings around using peer card 2026-01-12 18:25:35 -05:00
Rajat Ahuja b04770d602 fix: remove composite and pgvector store -> make more specific 2026-01-12 18:11:22 -05:00
Benjamin McCormick 0eb0d6d427 chore: docstring cleanup 2026-01-12 17:52:05 -05:00
vintro 669b1886d6
README and docs updates (#308)
* docs: initial updates

* chore: fix broken link

* feat: add honcho-integration SKILL.md

---------

Co-authored-by: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com>
Co-authored-by: Benjamin McCormick <docterformer@protonmail.com>
2026-01-12 17:44:02 -05:00
Benjamin McCormick 2c66813944 fix: use real stainless releases, update to match 2026-01-12 17:27:54 -05:00
Benjamin McCormick 5b7ae0d82c feat: API renaming and cleanup
- Rename API routes for consistency
- Add backwards-compatible conclusion and queue endpoints
- SDK cleanup and representation improvements
- Add reasoning_level param validation
- Fix thinking budget validation for Anthropic

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 16:50:40 -05:00
doria 578ef2c665
feat: agentic dreamer and agentic dialectic (#309)
* feat: add better params to working representation fetch in SDKs, return messages when added

* fix: working representation routes now accepting all parameters properly, with tests

* feat: add metadata/config fields to SDK objects where viable

* fix: tests

* feat: refactor SDKs to use representation config; [TEMP STAINLESS BUILD] update API

* feat: add representation object to sdks

* fix: use stainless sdk on branch

* fix: update TypeScript SDK tsconfig to use node16 module resolution

* fix: add isolatedModules = true to tsconfig

* fix: lol

* chore: coderabbit review

* feat: make delete session real

* feat: add observations routes with delete endpoints for documents. make session deletion real.

* chore: type cleanup

* fix: tests

* chore: coderabbit review

* fix: namespace by workspace

* feat: add ability to customize messages_per_summary at both workspace and session level

* chore: tests for summary config

* chore: coderabbit cleanup

* feat: make session and workspace config totally customizeable

* feat: add search by peer knowledge (#250)

* feat: search by peer perspective

* fix: enforce workspace in filters, make messages distinct in join

* fix: batch and merge migration steps

* fix: add refresh, add config to workspace, add refresh function, make fields readonly

* fix: search distinct

* fix: merge migrations

* fix: merge migrations

* fix: batch deletions, improve comments, limit consolidate dream to 100 docs at a time, auth on observations routes

* chore: review

* chore: coderabbit

* chore: review

* chore: broken comment

* feat: add set peer card route to API

* feat: create advanced configuration parameters with message>session>workspace hierarchy

* [wip] build unified testing harness

* chore: lint

* fix: cache invalidation, naming things, etc

* feat: longmem tests

* chore: peer config refactor

* feat: consolidate dream working, refactor representation

* fix: Various CR Comment Fixes

* feat: Allow configurable Redis port for harness instances and update cleanup methods to be asynchronous.

* feat: agentic ingestion task!!!

* feat: agentic deriver

* feat: dialectic agent and dreamer agent

* chore: browbeat tests into passing

* fix: nits

* chore: remove old code, update config files

* fix: simplify deriver

* feat: dialectic agent prompt updates, re-introduce non_agent deriver, eval tweaks

* feat: fast deriver, dreamer, then dialectic

* fix: tweaks across the board

* feat: add baseline tests

* feat: truncation in tools and client, tweaks for evals

* feat: add locomo, fix longmem judge!!!

* fix: locomo f1 is trash, use llm judge

* feat: trace creation

* feat: add first draft of obex benchmark, fix embedding model, fix locomo methodology

* fix: locomo session-optimized, better logging of cache usage and better cache usage

* chore: use openrouter for baselines

* fix: add test for merge migration

* chore: opus-powered cleanup

* fix: add config for vllm, better client

* chore: clean up clients.py a bit

* chore: move magic numbers to config, add tests for agent tools

* fix: wrong mock in dialectic tests, make ToolContext a dataclass

* feat: tweak prompts, make deriver explicit-only

* feat: more prompt & tool tweaks

* chore: more tweaks

* feat: dream with subagents

* fix: make dream trigger override scheduled, play around with dream agents

* chore: cleanup deriver

* chore: cleanup dialectic

* chore: cleanup orchestrator

* chore: comment out dream stuff, WIPing

* fix: inc temp on retry, typechecking

* feat: tweak dreaming

* feat: contradiction obs

* Add dream trees

* chore: preserve reasoning_details from openrouter in client

* fix: get_observation_context correct params

* fix: use correct message id in tool

* chore: cleanup longmem runner

* chore: clean up tests, remove dream tests for now as rearchitecting around trees

* chore: update stainless deps

* Update threholding mechanism

* chore: pre-commit hooks whitespace

* chore: clean up types

* feat: add explicit bench

* fix: address additional basepyright issues

* fix: adding logging as a fixture on honcho_llm_call and supporting dialectic loging. (#305)

* fix: lock on db for tool calls

* chore: clean up experimental derivers

* chore: coderabbit review cleanup

* feat: add streaming support to agentic dialectic

* feat: prometheus token tracking for deriver and dialectic

* fix: self-loops for isolated nodes

* chore: PascalCase for prometheus parameter typing

* feat: add reasoning levels to dialectic agent

* chore: delete old file, add new fake env vars in unittest.yml

* fix: all fields needed for dialectic reasoning level configs

* feat: track dreaming usage in prometheus

* chore: Create backwards compatabile conclusion and queue endpoints

* fix: remove redundant try-catch, add trace label, move .limit to end of statement

* fix: remove vignettes (for now), review fixes, remove merge migration, config cleanup

* chore: code review / cleanup

* chore: merge fixes

* chore: clean up, remove reasoning_focus, reintroduce peer cards in dreamers

* chore: code rabbit nitpicks

* fix: add unique index for pending dreams in queue

* fix: revert removal of surprisal in dreamer config

---------

Co-authored-by: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com>
Co-authored-by: 3un01a <3un01a@plasticlabs.ai>
Co-authored-by: 3un01a <3un01a.labs@gmail.com>
Co-authored-by: ajspig <46900795+ajspig@users.noreply.github.com>
2026-01-12 15:12:17 -05:00
Rajat Ahuja 6c12e6f413 fix: steps toward deprecating MessageEmbedding table 2026-01-12 14:15:42 -05:00
Rajat Ahuja 8b356fe546 fix: use soft-delete pattern for duplicate detection 2026-01-12 13:54:36 -05:00
Rajat Ahuja cf804ce790 fix: remove hard-delete from critical path and make PgVectorStore deletions a no-op 2026-01-12 13:14:22 -05:00
Rajat Ahuja 42d4c01d47 fix: down migration 2026-01-12 12:02:39 -05:00
ajspig 49f6d75991
Adding n8n integration (#318)
* feat: Adding n8n integration

* fix: minor gramatical and style changes

* fix: matching the markdown with the json

* feat: adding screenshots to n8n

* fix: final modifications

* chore: code rabbit suggestions

* chore: code rabbit suggestions
2026-01-09 17:09:48 -05:00
Rajat Ahuja ed431e56d8 fix: skip double query when pgvector is primary 2026-01-09 14:31:46 -05:00
Rajat Ahuja 708f0d461d fix: centralize retry logic; bump reconciliation batch; use tracked db; fix soft-delete race condition 2026-01-09 10:47:48 -05:00
Rajat Ahuja ed2b8c46f3 fix: cleanup 2 2026-01-08 17:28:31 -05:00
Rajat Ahuja 52eaaf3f16 fix: clean-up and migration test 2026-01-08 17:15:38 -05:00
Rajat Ahuja e218ab332f fix: add message embedding resilience 2026-01-08 16:32:43 -05:00
Rajat Ahuja fe10959240 fix: reduce batch size; comments; types; add indexes for reconciliation 2026-01-08 16:09:57 -05:00
Rajat Ahuja a8075b9133 feat: sync docs without embeddings 2026-01-08 14:59:03 -05:00
Rajat Ahuja 448905cf4b Merge branch 'main' into rajat/turbopuffer 2026-01-08 14:46:24 -05:00
doria 20e60cb6ba
chore: fix basedpyright warnings (#317) 2026-01-08 14:02:25 -05:00
Rajat Ahuja b0051c009e fix: set up compose vector store and reconciliation loop 2026-01-08 13:21:36 -05:00
Vineeth Voruganti 77551e70a1
fix: Upgrade Cashews to prevent NoScriptError (#316) 2026-01-07 15:02:45 -05:00
Rajat Ahuja d6e8c2143a
fix: summary creation if start_message_id > end_message_id (#312)
* fix: summary creation if start_message_id > end_message_id

* fix: change start_id calculation

* fix: use resolved configuration

* fix: use message_seq_in_session

* fix: clean up method

* fix: skip if latest summary on session covers through message_id
2026-01-07 14:28:21 -05:00
Rajat Ahuja 201b5125b3
feat: increase iam role duration. alter s3 file name and add to discord message (#315) 2026-01-07 13:04:13 -05:00
Rajat Ahuja acfade7d4e
feat: run unified tests suite in CI (#291)
* feat: run unified tests in CI

* fix: attempt use aws secrets manager

* fix: temp add verification workflow

* fix: CodeRabbit comments

* fix: remove debugging step

* fix: only run on main

* fix: add UNIFIED_TEST_LOG_LEVEL env var; default to WARNING
2026-01-06 16:03:29 -05:00
vintro 47776fcbc4
fix: error handling (#294) 2026-01-05 11:00:52 -05:00
Vineeth Voruganti c821eb7fce
Update MCP Worker (#311)
* fix: Update MCP Server to latest SDK version

* fix: Force primitive creation to avoid race conditions
2026-01-02 13:52:58 -05:00
Rajat Ahuja b31e9ac4b9
chore: bump redis (#302) 2025-12-30 16:45:00 -05:00
ajspig 75d1180ae1
fix: adding additional clarity when updating peercards (#304) 2025-12-18 17:34:10 -05:00
Rajat Ahuja a42252867f
fix message id range validation error (#300)
* fix: documents message_ids validation error

* feat: version bump to 2.5.1

* chore: bump core dependencies to 1.8.0
2025-12-16 11:13:01 -05:00