@eggjs/tegg-types 3.79.0 → 3.79.1

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.
@@ -49,6 +49,17 @@ export interface CreateRunInput {
49
49
  config?: AgentRunConfig;
50
50
  metadata?: Record<string, unknown>;
51
51
  }
52
+ /**
53
+ * Options for {@link AgentRuntime.createThread}.
54
+ *
55
+ * `metadata` is forwarded verbatim to {@link AgentStore.createThread} so callers
56
+ * can persist additional business semantics on the thread record (e.g. the
57
+ * resolved agent name, owning sandbox id, trace id). It is stored once at
58
+ * creation time and never overwritten by subsequent runs on the same thread.
59
+ */
60
+ export interface CreateThreadOptions {
61
+ metadata?: Record<string, unknown>;
62
+ }
52
63
  export interface StreamEvent {
53
64
  seq: number;
54
65
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/tegg-types",
3
- "version": "3.79.0",
3
+ "version": "3.79.1",
4
4
  "description": "tegg types",
5
5
  "keywords": [
6
6
  "egg",
@@ -45,5 +45,5 @@
45
45
  "ts-node": "^10.9.1",
46
46
  "typescript": "^5.0.4"
47
47
  },
48
- "gitHead": "382b933294c0efb3b2005fab1b3ac6e0fd08b3ad"
48
+ "gitHead": "06cec120fca073419e547917e4f59f1cd6019f26"
49
49
  }