@minded-ai/mindedjs 1.0.123 → 1.0.124

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.ts CHANGED
@@ -5,8 +5,9 @@ import { sendPlaceholderMessage } from './internalTools/voice/sendPlaceholderMes
5
5
  import { resetTimer, cancelTimer, onTimer } from './internalTools/timer';
6
6
  import { retellCall, retellGetCall } from './internalTools/voice/retell';
7
7
  import { escalateVoiceCall } from './internalTools/voice/escalateVoiceCall';
8
+ import { mindedConnectionSocketMessageType } from './platform/mindedConnectionTypes';
8
9
  export type { ElevenLabsContext } from './types/Voice.types';
9
- export { Agent, events, logger, sendPlaceholderMessage, resetTimer, cancelTimer, onTimer, retellCall, retellGetCall, escalateVoiceCall };
10
+ export { Agent, events, logger, sendPlaceholderMessage, resetTimer, cancelTimer, onTimer, retellCall, retellGetCall, escalateVoiceCall, mindedConnectionSocketMessageType, };
10
11
  export { MindedChatOpenAI } from './platform/models/mindedChatOpenAI';
11
12
  export { createParallelWrapper } from './platform/models/parallelWrapper';
12
13
  export type { MindedChatOpenAIFields, BaseParallelChatFields } from './platform/models/mindedChatOpenAI';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAE5E,YAAY,EAAE,iBAAiB,EAAE,MAAM,qB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.js CHANGED
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.AgentEvents = exports.toolsLibrary = exports.zendesk = exports.SessionType = exports.extractFromDocument = exports.DocumentProcessor = exports.KnownTriggerNames = exports.AppNodeMetadataType = exports.EdgeType = exports.TriggerType = exports.NodeType = exports.createParallelWrapper = exports.MindedChatOpenAI = exports.escalateVoiceCall = exports.retellGetCall = exports.retellCall = exports.onTimer = exports.cancelTimer = exports.resetTimer = exports.sendPlaceholderMessage = exports.logger = exports.events = exports.Agent = void 0;
29
+ exports.AgentEvents = exports.toolsLibrary = exports.zendesk = exports.SessionType = exports.extractFromDocument = exports.DocumentProcessor = exports.KnownTriggerNames = exports.AppNodeMetadataType = exports.EdgeType = exports.TriggerType = exports.NodeType = exports.createParallelWrapper = exports.MindedChatOpenAI = exports.mindedConnectionSocketMessageType = exports.escalateVoiceCall = exports.retellGetCall = exports.retellCall = exports.onTimer = exports.cancelTimer = exports.resetTimer = exports.sendPlaceholderMessage = exports.logger = exports.events = exports.Agent = void 0;
30
30
  const agent_1 = require("./agent");
31
31
  Object.defineProperty(exports, "Agent", { enumerable: true, get: function () { return agent_1.Agent; } });
32
32
  const events_1 = __importDefault(require("./events"));
@@ -44,6 +44,8 @@ Object.defineProperty(exports, "retellCall", { enumerable: true, get: function (
44
44
  Object.defineProperty(exports, "retellGetCall", { enumerable: true, get: function () { return retell_1.retellGetCall; } });
45
45
  const escalateVoiceCall_1 = require("./internalTools/voice/escalateVoiceCall");
46
46
  Object.defineProperty(exports, "escalateVoiceCall", { enumerable: true, get: function () { return escalateVoiceCall_1.escalateVoiceCall; } });
47
+ const mindedConnectionTypes_1 = require("./platform/mindedConnectionTypes");
48
+ Object.defineProperty(exports, "mindedConnectionSocketMessageType", { enumerable: true, get: function () { return mindedConnectionTypes_1.mindedConnectionSocketMessageType; } });
47
49
  // Export LLM implementations
48
50
  var mindedChatOpenAI_1 = require("./platform/models/mindedChatOpenAI");
49
51
  Object.defineProperty(exports, "MindedChatOpenAI", { enumerable: true, get: function () { return mindedChatOpenAI_1.MindedChatOpenAI; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAgC;AASvB,sFATA,aAAK,OASA;AARd,sDAA8B;AAQd,iBART,gBAAM,CAQS;AAPtB,2CAAwC;AAOhB,uFAPf,eAAM,OAOe;AAN9B,yFAAsF;AAMtD,uGANvB,+CAAsB,OAMuB;AALtD,iDAAyE;AAKjB,2FAL/C,kBAAU,OAK+C;AAAE,4FAL/C,mBAAW,OAK+C;AAAE,wFAL/C,eAAO,OAK+C;AAJxF,yDAAyE;AAIiB,2FAJjF,mBAAU,OAIiF;AAAE,8FAJjF,sBAAa,OAIiF;AAHnH,+EAA4E;AAGyC,kGAH5G,qCAAiB,OAG4G;AAEtI,6BAA6B;AAC7B,uEAAsE;AAA7D,oHAAA,gBAAgB,OAAA;AACzB,qEAA0E;AAAjE,wHAAA,qBAAqB,OAAA;AAyB9B,mDAQ6B;AAP3B,uGAAA,QAAQ,OAAA;AACR,0GAAA,WAAW,OAAA;AACX,uGAAA,QAAQ,OAAA;AAER,kHAAA,mBAAmB,OAAA;AAEnB,gHAAA,iBAAiB,OAAA;AAInB,gCAAgC;AAChC,4FAA+G;AAAtG,uHAAA,iBAAiB,OAAA;AAAE,yHAAA,mBAAmB,OAAA;AAO/C,mDAO6B;AAD3B,0GAAA,WAAW,OAAA;AAKb,gDAA+C;AAAtC,kGAAA,OAAO,OAAA;AAEhB,uBAAuB;AACvB,+DAA+C;AAE/C,qBAAqB;AACrB,oDAAmD;AAA1C,0GAAA,WAAW,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAgC;AAW9B,sFAXO,aAAK,OAWP;AAVP,sDAA8B;AAW5B,iBAXK,gBAAM,CAWL;AAVR,2CAAwC;AAWtC,uFAXO,eAAM,OAWP;AAVR,yFAAsF;AAWpF,uGAXO,+CAAsB,OAWP;AAVxB,iDAAyE;AAWvE,2FAXO,kBAAU,OAWP;AACV,4FAZmB,mBAAW,OAYnB;AACX,wFAbgC,eAAO,OAahC;AAZT,yDAAyE;AAavE,2FAbO,mBAAU,OAaP;AACV,8FAdmB,sBAAa,OAcnB;AAbf,+EAA4E;AAc1E,kGAdO,qCAAiB,OAcP;AAbnB,4EAAqF;AAcnF,kHAdO,yDAAiC,OAcP;AAGnC,6BAA6B;AAC7B,uEAAsE;AAA7D,oHAAA,gBAAgB,OAAA;AACzB,qEAA0E;AAAjE,wHAAA,qBAAqB,OAAA;AAyB9B,mDAQ6B;AAP3B,uGAAA,QAAQ,OAAA;AACR,0GAAA,WAAW,OAAA;AACX,uGAAA,QAAQ,OAAA;AAER,kHAAA,mBAAmB,OAAA;AAEnB,gHAAA,iBAAiB,OAAA;AAInB,gCAAgC;AAChC,4FAA+G;AAAtG,uHAAA,iBAAiB,OAAA;AAAE,yHAAA,mBAAmB,OAAA;AAO/C,mDAO6B;AAD3B,0GAAA,WAAW,OAAA;AAKb,gDAA+C;AAAtC,kGAAA,OAAO,OAAA;AAEhB,uBAAuB;AACvB,+DAA+C;AAE/C,qBAAqB;AACrB,oDAAmD;AAA1C,0GAAA,WAAW,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minded-ai/mindedjs",
3
- "version": "1.0.123",
3
+ "version": "1.0.124",
4
4
  "description": "MindedJS is a TypeScript library for building agents.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -5,9 +5,22 @@ import { sendPlaceholderMessage } from './internalTools/voice/sendPlaceholderMes
5
5
  import { resetTimer, cancelTimer, onTimer } from './internalTools/timer';
6
6
  import { retellCall, retellGetCall } from './internalTools/voice/retell';
7
7
  import { escalateVoiceCall } from './internalTools/voice/escalateVoiceCall';
8
+ import { mindedConnectionSocketMessageType } from './platform/mindedConnectionTypes';
8
9
 
9
10
  export type { ElevenLabsContext } from './types/Voice.types';
10
- export { Agent, events, logger, sendPlaceholderMessage, resetTimer, cancelTimer, onTimer, retellCall, retellGetCall, escalateVoiceCall };
11
+ export {
12
+ Agent,
13
+ events,
14
+ logger,
15
+ sendPlaceholderMessage,
16
+ resetTimer,
17
+ cancelTimer,
18
+ onTimer,
19
+ retellCall,
20
+ retellGetCall,
21
+ escalateVoiceCall,
22
+ mindedConnectionSocketMessageType,
23
+ };
11
24
 
12
25
  // Export LLM implementations
13
26
  export { MindedChatOpenAI } from './platform/models/mindedChatOpenAI';