@flutchai/flutch-sdk 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2,7 +2,7 @@ import { JSONSchema7 } from 'json-schema';
2
2
  import * as _nestjs_common from '@nestjs/common';
3
3
  import { OnModuleInit, Logger, CanActivate, ExecutionContext, Type, DynamicModule } from '@nestjs/common';
4
4
  import { ConfigService } from '@nestjs/config';
5
- import { BaseChannel, CompiledStateGraph, LangGraphRunnableConfig } from '@langchain/langgraph';
5
+ import { BaseChannel, OverwriteValue, CompiledStateGraph, LangGraphRunnableConfig } from '@langchain/langgraph';
6
6
  import { MongoClient } from 'mongodb';
7
7
  import Redis from 'ioredis';
8
8
  import { Registry } from 'prom-client';
@@ -906,7 +906,7 @@ interface IUsageRecorder {
906
906
  }
907
907
 
908
908
  type MappedChannels<T> = {
909
- [K in keyof T]: BaseChannel<T[K], T[K]>;
909
+ [K in keyof T]: BaseChannel<T[K], T[K] | OverwriteValue<T[K]>, unknown>;
910
910
  };
911
911
  declare global {
912
912
  namespace GraphTypes {
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { JSONSchema7 } from 'json-schema';
2
2
  import * as _nestjs_common from '@nestjs/common';
3
3
  import { OnModuleInit, Logger, CanActivate, ExecutionContext, Type, DynamicModule } from '@nestjs/common';
4
4
  import { ConfigService } from '@nestjs/config';
5
- import { BaseChannel, CompiledStateGraph, LangGraphRunnableConfig } from '@langchain/langgraph';
5
+ import { BaseChannel, OverwriteValue, CompiledStateGraph, LangGraphRunnableConfig } from '@langchain/langgraph';
6
6
  import { MongoClient } from 'mongodb';
7
7
  import Redis from 'ioredis';
8
8
  import { Registry } from 'prom-client';
@@ -906,7 +906,7 @@ interface IUsageRecorder {
906
906
  }
907
907
 
908
908
  type MappedChannels<T> = {
909
- [K in keyof T]: BaseChannel<T[K], T[K]>;
909
+ [K in keyof T]: BaseChannel<T[K], T[K] | OverwriteValue<T[K]>, unknown>;
910
910
  };
911
911
  declare global {
912
912
  namespace GraphTypes {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flutchai/flutch-sdk",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "type": "module",
5
5
  "description": "Base infrastructure package for building graph microservices - core interfaces, types, utilities, and execution engine",
6
6
  "main": "./dist/index.cjs",