@minded-ai/mindedjs 1.0.106 → 1.0.107

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
@@ -3,8 +3,9 @@ import events from './events';
3
3
  import { logger } from './utils/logger';
4
4
  import { sendPlaceholderMessage } from './internalTools/sendPlaceholderMessage';
5
5
  import { resetTimer, cancelTimer, onTimer } from './internalTools/timer';
6
+ import { retellCall, retellGetCall } from './internalTools/retell';
6
7
  export type { ElevenLabsContext } from './types/Voice.types';
7
- export { Agent, events, logger, sendPlaceholderMessage, resetTimer, cancelTimer, onTimer };
8
+ export { Agent, events, logger, sendPlaceholderMessage, resetTimer, cancelTimer, onTimer, retellCall, retellGetCall };
8
9
  export { MindedChatOpenAI } from './platform/models/mindedChatOpenAI';
9
10
  export { createParallelWrapper } from './platform/models/parallelWrapper';
10
11
  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,wCAAwC,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEzE,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,sBAAsB,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC;AAG3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AA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AAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC/G,YAAY,EACV,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,0CAA0C,CAAC;AAElD,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,8BAA8B,EAC9B,qBAAqB,EACrB,iCAAiC,EACjC,WAAW,GACZ,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC9E,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,YAAY,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAG/C,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC"}
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
36
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- 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.onTimer = exports.cancelTimer = exports.resetTimer = exports.sendPlaceholderMessage = exports.logger = exports.events = exports.Agent = void 0;
39
+ 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.retellGetCall = exports.retellCall = exports.onTimer = exports.cancelTimer = exports.resetTimer = exports.sendPlaceholderMessage = exports.logger = exports.events = exports.Agent = void 0;
40
40
  const agent_1 = require("./agent");
41
41
  Object.defineProperty(exports, "Agent", { enumerable: true, get: function () { return agent_1.Agent; } });
42
42
  const events_1 = __importDefault(require("./events"));
@@ -49,6 +49,9 @@ const timer_1 = require("./internalTools/timer");
49
49
  Object.defineProperty(exports, "resetTimer", { enumerable: true, get: function () { return timer_1.resetTimer; } });
50
50
  Object.defineProperty(exports, "cancelTimer", { enumerable: true, get: function () { return timer_1.cancelTimer; } });
51
51
  Object.defineProperty(exports, "onTimer", { enumerable: true, get: function () { return timer_1.onTimer; } });
52
+ const retell_1 = require("./internalTools/retell");
53
+ Object.defineProperty(exports, "retellCall", { enumerable: true, get: function () { return retell_1.retellCall; } });
54
+ Object.defineProperty(exports, "retellGetCall", { enumerable: true, get: function () { return retell_1.retellGetCall; } });
52
55
  // Export LLM implementations
53
56
  var mindedChatOpenAI_1 = require("./platform/models/mindedChatOpenAI");
54
57
  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;AAOvB,sFAPA,aAAK,OAOA;AANd,sDAA8B;AAMd,iBANT,gBAAM,CAMS;AALtB,2CAAwC;AAKhB,uFALf,eAAM,OAKe;AAJ9B,mFAAgF;AAIhD,uGAJvB,+CAAsB,OAIuB;AAHtD,iDAAyE;AAGjB,2FAH/C,kBAAU,OAG+C;AAAE,4FAH/C,mBAAW,OAG+C;AAAE,wFAH/C,eAAO,OAG+C;AAExF,6BAA6B;AAC7B,uEAAsE;AAA7D,oHAAA,gBAAgB,OAAA;AACzB,qEAA0E;AAAjE,wHAAA,qBAAqB,OAAA;AAwB9B,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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAgC;AAQvB,sFARA,aAAK,OAQA;AAPd,sDAA8B;AAOd,iBAPT,gBAAM,CAOS;AANtB,2CAAwC;AAMhB,uFANf,eAAM,OAMe;AAL9B,mFAAgF;AAKhD,uGALvB,+CAAsB,OAKuB;AAJtD,iDAAyE;AAIjB,2FAJ/C,kBAAU,OAI+C;AAAE,4FAJ/C,mBAAW,OAI+C;AAAE,wFAJ/C,eAAO,OAI+C;AAHxF,mDAAmE;AAGuB,2FAHjF,mBAAU,OAGiF;AAAE,8FAHjF,sBAAa,OAGiF;AAEnH,6BAA6B;AAC7B,uEAAsE;AAA7D,oHAAA,gBAAgB,OAAA;AACzB,qEAA0E;AAAjE,wHAAA,qBAAqB,OAAA;AAwB9B,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minded-ai/mindedjs",
3
- "version": "1.0.106",
3
+ "version": "1.0.107",
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
@@ -3,9 +3,10 @@ import events from './events';
3
3
  import { logger } from './utils/logger';
4
4
  import { sendPlaceholderMessage } from './internalTools/sendPlaceholderMessage';
5
5
  import { resetTimer, cancelTimer, onTimer } from './internalTools/timer';
6
+ import { retellCall, retellGetCall } from './internalTools/retell';
6
7
 
7
8
  export type { ElevenLabsContext } from './types/Voice.types';
8
- export { Agent, events, logger, sendPlaceholderMessage, resetTimer, cancelTimer, onTimer };
9
+ export { Agent, events, logger, sendPlaceholderMessage, resetTimer, cancelTimer, onTimer, retellCall, retellGetCall };
9
10
 
10
11
  // Export LLM implementations
11
12
  export { MindedChatOpenAI } from './platform/models/mindedChatOpenAI';