🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@eggjs/tegg-types

Package Overview
Dependencies
Maintainers
10
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eggjs/tegg-types - npm Package Compare versions

Comparing version
3.85.0
to
3.85.1
+2
-2
agent-runtime/AgentRuntime.d.ts

@@ -48,4 +48,4 @@ import type { AgentMessage } from './AgentMessage';

* Populated by AgentRuntime before calling execRun.
* - true: threadId was provided (resume existing conversation)
* - false: no threadId provided, new thread created
* - true: the thread contains persisted user or assistant messages
* - false: the thread is new or does not contain conversation messages
*/

@@ -52,0 +52,0 @@ isResume?: boolean;

@@ -78,2 +78,12 @@ import type { AgentMessage, InputMessage } from './AgentMessage';

/**
* Return whether the thread contains at least one conversation message
* (user or assistant), matching the default filtering semantics of
* {@link getThread}.
*
* Stores may implement this optional capability with a lightweight existence
* check. Implementations must throw `AgentNotFoundError` when the thread does
* not exist. AgentRuntime falls back to `getThread()` when it is absent.
*/
hasMessages?(threadId: string): Promise<boolean>;
/**
* Shallow-merge metadata into an existing thread.

@@ -80,0 +90,0 @@ * New values overwrite matching keys; omitted keys are preserved.

@@ -13,2 +13,10 @@ /**

/**
* Read an inclusive byte range from the object at `key`.
* Returns `null` if the object does not exist.
*
* This method is optional. Callers must treat a trailing partial UTF-8
* sequence or record as incomplete because `end` is a byte offset.
*/
getRange?(key: string, start: number, end: number): Promise<string | null>;
/**
* Append `value` to an existing Appendable Object.

@@ -15,0 +23,0 @@ * If the object does not exist yet, create it.

{
"name": "@eggjs/tegg-types",
"version": "3.85.0",
"version": "3.85.1",
"description": "tegg types",

@@ -48,3 +48,3 @@ "keywords": [

},
"gitHead": "b77c789189a8f3206c2289062dc5724de6f91452"
"gitHead": "d6e42852392cf3161c5ae607c9c357a842324527"
}