@xpert-ai/plugin-sdk 3.29.0 → 3.29.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/plugin-sdk",
3
- "version": "3.29.0",
3
+ "version": "3.29.1",
4
4
  "license": "AGPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "dependencies": {
76
76
  "@langchain/openai": "0.6.9",
77
- "@xpert-ai/contracts": "3.29.0",
77
+ "@xpert-ai/contracts": "3.29.1",
78
78
  "express": "^4.22.1",
79
79
  "js-tiktoken": "^1.0.21"
80
80
  },
@@ -25,7 +25,6 @@ export interface AgentChatDispatchPayload extends Record<string, unknown> {
25
25
  isDerivedThread?: boolean;
26
26
  xpertId?: string;
27
27
  isDraft?: boolean;
28
- from?: string;
29
28
  fromEndUserId?: string;
30
29
  runtimePrincipal?: AgentChatRuntimePrincipal;
31
30
  /** Host-resolved provenance and presentation; never grants routing or execution privileges. */
@@ -7,7 +7,8 @@
7
7
  */
8
8
  import type { TaskControlRef, TaskControlContext, TaskControlPolicy } from '../../execution-control';
9
9
  export type LaneName = 'main' | 'subagent' | 'cron' | 'nested';
10
- export type RunSource = 'chat' | 'xpert' | 'lark' | 'analytics' | 'api';
10
+ /** Producer attribution used by routing rules; plugins may supply their own stable identifier. */
11
+ export type RunSource = 'chat' | 'xpert' | 'lark' | 'analytics' | 'api' | (string & {});
11
12
  export interface RunMetadata {
12
13
  runId: string;
13
14
  sessionKey: string;