@easbot/types 0.2.39 → 0.2.41

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
@@ -571,6 +571,12 @@ type AgentPromptPart = {
571
571
  result?: string;
572
572
  error?: string;
573
573
  reason?: string;
574
+ } | {
575
+ type: 'command';
576
+ command: string;
577
+ arguments?: string;
578
+ local?: boolean;
579
+ metadata?: Record<string, unknown>;
574
580
  };
575
581
  interface AgentInput {
576
582
  source: string;
@@ -665,7 +671,7 @@ type LocalAgentInput = AgentInput;
665
671
  type LocalAgentResult = AgentResult;
666
672
  type GatewayMessagePromptPart = AgentPromptPart;
667
673
  type MessageType = 'input' | 'output' | 'system' | 'control';
668
- type PlatformType = 'telegram' | 'discord' | 'slack' | 'feishu' | 'wechat' | 'webchat' | 'signal' | 'nostr' | 'whatsapp' | 'tui' | 'api' | 'web' | 'desktop';
674
+ type PlatformType = 'telegram' | 'discord' | 'slack' | 'feishu' | 'wechat' | 'webchat' | 'signal' | 'nostr' | 'dingtalk' | 'whatsapp' | 'tui' | 'api' | 'web' | 'desktop';
669
675
  interface GatewayMessage {
670
676
  id: string;
671
677
  sessionId: string;
package/dist/index.d.ts CHANGED
@@ -571,6 +571,12 @@ type AgentPromptPart = {
571
571
  result?: string;
572
572
  error?: string;
573
573
  reason?: string;
574
+ } | {
575
+ type: 'command';
576
+ command: string;
577
+ arguments?: string;
578
+ local?: boolean;
579
+ metadata?: Record<string, unknown>;
574
580
  };
575
581
  interface AgentInput {
576
582
  source: string;
@@ -665,7 +671,7 @@ type LocalAgentInput = AgentInput;
665
671
  type LocalAgentResult = AgentResult;
666
672
  type GatewayMessagePromptPart = AgentPromptPart;
667
673
  type MessageType = 'input' | 'output' | 'system' | 'control';
668
- type PlatformType = 'telegram' | 'discord' | 'slack' | 'feishu' | 'wechat' | 'webchat' | 'signal' | 'nostr' | 'whatsapp' | 'tui' | 'api' | 'web' | 'desktop';
674
+ type PlatformType = 'telegram' | 'discord' | 'slack' | 'feishu' | 'wechat' | 'webchat' | 'signal' | 'nostr' | 'dingtalk' | 'whatsapp' | 'tui' | 'api' | 'web' | 'desktop';
669
675
  interface GatewayMessage {
670
676
  id: string;
671
677
  sessionId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easbot/types",
3
- "version": "0.2.39",
3
+ "version": "0.2.41",
4
4
  "description": "Shared types library for EASBOT ecosystem",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -46,7 +46,7 @@
46
46
  "ai": "^6.0.176",
47
47
  "axios": "^1.16.1",
48
48
  "zod": "^4.4.3",
49
- "@easbot/sdk": "0.2.39"
49
+ "@easbot/sdk": "0.2.41"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@biomejs/biome": "^2.4.14",