@e-llm-studio/instant-learning 0.0.213 → 0.0.215

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.
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"../../../../../tslib/tslib.es6.mjs.js";import{jsxs as t,jsx as n}from"react/jsx-runtime";import o,{forwardRef as i,useRef as r,useImperativeHandle as s}from"react";import{useThinkingSteps as a}from"./Components/Usethinkingsteps.js";import{WorkingIndicator as m}from"./Components/WorkingIndicator.js";import{StepDetailView as l}from"./Components/StepDetailView.js";import{AgentStepsView as c}from"./Components/AgentStepsView.js";var p=i(function(o,i){var p,d,g=o.orchestratorAndAgentsMessages,u=o.isStreamEnd,S=o.finalTimeTaken,f=o.thinkingStartTime,v=o.streamEndTime,w=o.storeTime,T=o.customStyles,h=r(null);s(i,function(){return h.current});var A=a({orchestratorAndAgentsMessages:g,isStreamEnd:u,finalTime:S,thinkingStartTime:f,streamEndTime:v,storeTime:w}),k=A.viewType,M=A.accordionOpen,b=A.openSteps,j=A.showMoreMap,x=A.contentRefs,y=A.currentStep,C=A.currentContent,E=A.wmwLabel,D=A.toggleStep,O=A.toggleExpanded,V=A.toggleAccordion,z=A.setAccordionOpen;return t("div",e({className:"w-full mx-auto mb-2",style:null==T?void 0:T.container,ref:h},{children:["thinking"===k&&n(m,{startTime:f}),"steps"===k&&y&&n(l,{currentStep:y,currentContent:C,accordionOpen:M,onToggleAccordion:function(){z(function(e){return!e})},bodyMaxHeight:null===(p=null==T?void 0:T.stepDetail)||void 0===p?void 0:p.bodyMaxHeight,chevronSize:null===(d=null==T?void 0:T.stepDetail)||void 0===d?void 0:d.chevronSize,customStyles:null==T?void 0:T.stepDetail}),"watchmework"===k&&n(c,{messages:g,wmwLabel:E,accordionOpen:M,openSteps:b,showMoreMap:j,onToggleAccordion:V,onToggleStep:D,onToggleExpanded:O,contentRefs:x,customStyles:null==T?void 0:T.agentSteps},"wmw")]}))}),d=o.memo(p);export{d as default};
1
+ import{__assign as e}from"../../../../../tslib/tslib.es6.mjs.js";import{jsxs as t,jsx as n}from"react/jsx-runtime";import o,{forwardRef as r,useRef as s,useImperativeHandle as i}from"react";import{useThinkingSteps as a}from"./Components/Usethinkingsteps.js";import{WorkingIndicator as m}from"./Components/WorkingIndicator.js";import{StepDetailView as l}from"./Components/StepDetailView.js";import{AgentStepsView as c}from"./Components/AgentStepsView.js";var g=r(function(o,r){var g,p,d=o.orchestratorAndAgentsMessages,u=o.isStreamEnd,S=o.finalTimeTaken,T=o.thinkingStartTime,f=o.streamEndTime,h=o.storeTime,w=o.customStyles,v=s(null);i(r,function(){return v.current}),console.log("test link"),console.log(d,"orchestratorAndAgentsMessages",u,"isStreamEnd",S,"finalTimeTaken",T,"thinkingStartTime",f,"streamEndTime",h,"storeTime");var A=a({orchestratorAndAgentsMessages:d,isStreamEnd:u,finalTime:S,thinkingStartTime:T,streamEndTime:f,storeTime:h}),k=A.viewType,M=A.accordionOpen,E=A.openSteps,b=A.showMoreMap,j=A.contentRefs,x=A.currentStep,y=A.currentContent,C=A.wmwLabel,D=A.toggleStep,O=A.toggleExpanded,V=A.toggleAccordion,L=A.setAccordionOpen;return console.log(x,y,C,"currentStep,currentContent,wmwLabel"),t("div",e({className:"w-full mx-auto mb-2",style:null==w?void 0:w.container,ref:v},{children:["thinking"===k&&n(m,{startTime:T}),"steps"===k&&x&&n(l,{currentStep:x,currentContent:y,accordionOpen:M,onToggleAccordion:function(){L(function(e){return!e})},bodyMaxHeight:null===(g=null==w?void 0:w.stepDetail)||void 0===g?void 0:g.bodyMaxHeight,chevronSize:null===(p=null==w?void 0:w.stepDetail)||void 0===p?void 0:p.chevronSize,customStyles:null==w?void 0:w.stepDetail}),"watchmework"===k&&n(c,{messages:d,wmwLabel:C,accordionOpen:M,openSteps:E,showMoreMap:b,onToggleAccordion:V,onToggleStep:D,onToggleExpanded:O,contentRefs:j,customStyles:null==w?void 0:w.agentSteps},"wmw")]}))}),p=o.memo(g,function(e,t){return e.isStreamEnd===t.isStreamEnd&&e.finalTimeTaken===t.finalTimeTaken&&e.orchestratorAndAgentsMessages===t.orchestratorAndAgentsMessages});export{p as default};
2
2
  //# sourceMappingURL=WatchMeWork.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WatchMeWork.js","sources":["../../../../../../../node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/WatchMeWork.js"],"sourcesContent":["import{__assign as e}from\"tslib\";import{jsxs as t,jsx as o}from\"react/jsx-runtime\";import n,{forwardRef as r,useRef as i,useImperativeHandle as s}from\"react\";import{useThinkingSteps as m}from\"./Components/Usethinkingsteps.js\";import{WorkingIndicator as a}from\"./Components/WorkingIndicator.js\";import{StepDetailView as l}from\"./Components/StepDetailView.js\";import{AgentStepsView as c}from\"./Components/AgentStepsView.js\";var p=r(function(n,r){var p,d,g=n.orchestratorAndAgentsMessages,u=n.isStreamEnd,f=n.finalTimeTaken,S=n.thinkingStartTime,v=n.streamEndTime,T=n.storeTime,h=n.customStyles,w=i(null);s(r,function(){return w.current});var A=m({orchestratorAndAgentsMessages:g,isStreamEnd:u,finalTime:f,thinkingStartTime:S,streamEndTime:v,storeTime:T}),M=A.viewType,k=A.accordionOpen,x=A.openSteps,y=A.showMoreMap,b=A.contentRefs,C=A.currentStep,E=A.currentContent,j=A.wmwLabel,D=A.toggleStep,O=A.toggleExpanded,z=A.toggleAccordion,H=A.setAccordionOpen;return t(\"div\",e({className:\"w-full mx-auto mb-2\",style:null==h?void 0:h.container,ref:w},{children:[\"thinking\"===M&&o(a,{startTime:S}),\"steps\"===M&&C&&o(l,{currentStep:C,currentContent:E,accordionOpen:k,onToggleAccordion:function(){H(function(e){return!e})},bodyMaxHeight:null===(p=null==h?void 0:h.stepDetail)||void 0===p?void 0:p.bodyMaxHeight,chevronSize:null===(d=null==h?void 0:h.stepDetail)||void 0===d?void 0:d.chevronSize,customStyles:null==h?void 0:h.stepDetail}),\"watchmework\"===M&&o(c,{messages:g,wmwLabel:j,accordionOpen:k,openSteps:x,showMoreMap:y,onToggleAccordion:z,onToggleStep:D,onToggleExpanded:O,contentRefs:b,customStyles:null==h?void 0:h.agentSteps},\"wmw\")]}))}),d=n.memo(p);export{d as default};\n//# sourceMappingURL=WatchMeWork.js.map\n"],"names":["p","r","n","d","g","orchestratorAndAgentsMessages","u","isStreamEnd","f","finalTimeTaken","S","thinkingStartTime","v","streamEndTime","T","storeTime","h","customStyles","w","i","s","current","A","m","finalTime","M","viewType","k","accordionOpen","x","openSteps","y","showMoreMap","b","contentRefs","C","currentStep","E","currentContent","j","wmwLabel","D","toggleStep","O","toggleExpanded","z","toggleAccordion","H","setAccordionOpen","t","e","className","style","container","ref","children","o","a","startTime","l","onToggleAccordion","bodyMaxHeight","stepDetail","chevronSize","c","messages","onToggleStep","onToggleExpanded","agentSteps","memo"],"mappings":"scAAya,IAACA,EAAEC,EAAE,SAASC,EAAED,GAAG,IAAID,EAAEG,EAAEC,EAAEF,EAAEG,8BAA8BC,EAAEJ,EAAEK,YAAYC,EAAEN,EAAEO,eAAeC,EAAER,EAAES,kBAAkBC,EAAEV,EAAEW,cAAcC,EAAEZ,EAAEa,UAAUC,EAAEd,EAAEe,aAAaC,EAAEC,EAAE,MAAMC,EAAEnB,EAAE,WAAW,OAAOiB,EAAEG,OAAO,GAAG,IAAIC,EAAEC,EAAE,CAAClB,8BAA8BD,EAAEG,YAAYD,EAAEkB,UAAUhB,EAAEG,kBAAkBD,EAAEG,cAAcD,EAAEG,UAAUD,IAAIW,EAAEH,EAAEI,SAASC,EAAEL,EAAEM,cAAcC,EAAEP,EAAEQ,UAAUC,EAAET,EAAEU,YAAYC,EAAEX,EAAEY,YAAYC,EAAEb,EAAEc,YAAYC,EAAEf,EAAEgB,eAAeC,EAAEjB,EAAEkB,SAASC,EAAEnB,EAAEoB,WAAWC,EAAErB,EAAEsB,eAAeC,EAAEvB,EAAEwB,gBAAgBC,EAAEzB,EAAE0B,iBAAiB,OAAOC,EAAE,MAAMC,EAAE,CAACC,UAAU,sBAAsBC,MAAM,MAAMpC,OAAO,EAAEA,EAAEqC,UAAUC,IAAIpC,GAAG,CAACqC,SAAS,CAAC,aAAa9B,GAAG+B,EAAEC,EAAE,CAACC,UAAUhD,IAAI,UAAUe,GAAGU,GAAGqB,EAAEG,EAAE,CAACvB,YAAYD,EAAEG,eAAeD,EAAET,cAAcD,EAAEiC,kBAAkB,WAAWb,EAAE,SAASG,GAAG,OAAOA,CAAC,EAAE,EAAEW,cAAc,QAAQ7D,EAAE,MAAMgB,OAAO,EAAEA,EAAE8C,kBAAkB,IAAI9D,OAAO,EAAEA,EAAE6D,cAAcE,YAAY,QAAQ5D,EAAE,MAAMa,OAAO,EAAEA,EAAE8C,kBAAkB,IAAI3D,OAAO,EAAEA,EAAE4D,YAAY9C,aAAa,MAAMD,OAAO,EAAEA,EAAE8C,aAAa,gBAAgBrC,GAAG+B,EAAEQ,EAAE,CAACC,SAAS7D,EAAEoC,SAASD,EAAEX,cAAcD,EAAEG,UAAUD,EAAEG,YAAYD,EAAE6B,kBAAkBf,EAAEqB,aAAazB,EAAE0B,iBAAiBxB,EAAET,YAAYD,EAAEhB,aAAa,MAAMD,OAAO,EAAEA,EAAEoD,YAAY,UAAU,GAAGjE,EAAED,EAAEmE,KAAKrE"}
1
+ {"version":3,"file":"WatchMeWork.js","sources":["../../../../../../../node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/WatchMeWork.js"],"sourcesContent":["import{__assign as e}from\"tslib\";import{jsxs as t,jsx as n}from\"react/jsx-runtime\";import o,{forwardRef as r,useRef as i,useImperativeHandle as s}from\"react\";import{useThinkingSteps as a}from\"./Components/Usethinkingsteps.js\";import{WorkingIndicator as m}from\"./Components/WorkingIndicator.js\";import{StepDetailView as l}from\"./Components/StepDetailView.js\";import{AgentStepsView as c}from\"./Components/AgentStepsView.js\";var d=r(function(o,r){var d,g,p=o.orchestratorAndAgentsMessages,u=o.isStreamEnd,T=o.finalTimeTaken,S=o.thinkingStartTime,f=o.streamEndTime,h=o.storeTime,v=o.customStyles,w=i(null);s(r,function(){return w.current}),console.log(\"test link\"),console.log(p,\"orchestratorAndAgentsMessages\",u,\"isStreamEnd\",T,\"finalTimeTaken\",S,\"thinkingStartTime\",f,\"streamEndTime\",h,\"storeTime\");var A=a({orchestratorAndAgentsMessages:p,isStreamEnd:u,finalTime:T,thinkingStartTime:S,streamEndTime:f,storeTime:h}),k=A.viewType,M=A.accordionOpen,E=A.openSteps,b=A.showMoreMap,x=A.contentRefs,y=A.currentStep,C=A.currentContent,j=A.wmwLabel,D=A.toggleStep,O=A.toggleExpanded,L=A.toggleAccordion,z=A.setAccordionOpen;console.log(y,C,j,\"currentStep,currentContent,wmwLabel\");return t(\"div\",e({className:\"w-full mx-auto mb-2\",style:null==v?void 0:v.container,ref:w},{children:[\"thinking\"===k&&n(m,{startTime:S}),\"steps\"===k&&y&&n(l,{currentStep:y,currentContent:C,accordionOpen:M,onToggleAccordion:function(){z(function(e){return!e})},bodyMaxHeight:null===(d=null==v?void 0:v.stepDetail)||void 0===d?void 0:d.bodyMaxHeight,chevronSize:null===(g=null==v?void 0:v.stepDetail)||void 0===g?void 0:g.chevronSize,customStyles:null==v?void 0:v.stepDetail}),\"watchmework\"===k&&n(c,{messages:p,wmwLabel:j,accordionOpen:M,openSteps:E,showMoreMap:b,onToggleAccordion:L,onToggleStep:D,onToggleExpanded:O,contentRefs:x,customStyles:null==v?void 0:v.agentSteps},\"wmw\")]}))}),g=o.memo(d,function(e,t){return e.isStreamEnd===t.isStreamEnd&&e.finalTimeTaken===t.finalTimeTaken&&e.orchestratorAndAgentsMessages===t.orchestratorAndAgentsMessages});export{g as default};\n//# sourceMappingURL=WatchMeWork.js.map\n"],"names":["d","r","o","g","p","orchestratorAndAgentsMessages","u","isStreamEnd","T","finalTimeTaken","S","thinkingStartTime","f","streamEndTime","h","storeTime","v","customStyles","w","i","s","current","console","log","A","a","finalTime","k","viewType","M","accordionOpen","E","openSteps","b","showMoreMap","x","contentRefs","y","currentStep","C","currentContent","j","wmwLabel","D","toggleStep","O","toggleExpanded","L","toggleAccordion","z","setAccordionOpen","t","e","className","style","container","ref","children","n","m","startTime","l","onToggleAccordion","bodyMaxHeight","stepDetail","chevronSize","c","messages","onToggleStep","onToggleExpanded","agentSteps","memo"],"mappings":"scAAya,IAACA,EAAEC,EAAE,SAASC,EAAED,GAAG,IAAID,EAAEG,EAAEC,EAAEF,EAAEG,8BAA8BC,EAAEJ,EAAEK,YAAYC,EAAEN,EAAEO,eAAeC,EAAER,EAAES,kBAAkBC,EAAEV,EAAEW,cAAcC,EAAEZ,EAAEa,UAAUC,EAAEd,EAAEe,aAAaC,EAAEC,EAAE,MAAMC,EAAEnB,EAAE,WAAW,OAAOiB,EAAEG,OAAO,GAAGC,QAAQC,IAAI,aAAaD,QAAQC,IAAInB,EAAE,gCAAgCE,EAAE,cAAcE,EAAE,iBAAiBE,EAAE,oBAAoBE,EAAE,gBAAgBE,EAAE,aAAa,IAAIU,EAAEC,EAAE,CAACpB,8BAA8BD,EAAEG,YAAYD,EAAEoB,UAAUlB,EAAEG,kBAAkBD,EAAEG,cAAcD,EAAEG,UAAUD,IAAIa,EAAEH,EAAEI,SAASC,EAAEL,EAAEM,cAAcC,EAAEP,EAAEQ,UAAUC,EAAET,EAAEU,YAAYC,EAAEX,EAAEY,YAAYC,EAAEb,EAAEc,YAAYC,EAAEf,EAAEgB,eAAeC,EAAEjB,EAAEkB,SAASC,EAAEnB,EAAEoB,WAAWC,EAAErB,EAAEsB,eAAeC,EAAEvB,EAAEwB,gBAAgBC,EAAEzB,EAAE0B,iBAA0E,OAAzD5B,QAAQC,IAAIc,EAAEE,EAAEE,EAAE,uCAA8CU,EAAE,MAAMC,EAAE,CAACC,UAAU,sBAAsBC,MAAM,MAAMtC,OAAO,EAAEA,EAAEuC,UAAUC,IAAItC,GAAG,CAACuC,SAAS,CAAC,aAAa9B,GAAG+B,EAAEC,EAAE,CAACC,UAAUlD,IAAI,UAAUiB,GAAGU,GAAGqB,EAAEG,EAAE,CAACvB,YAAYD,EAAEG,eAAeD,EAAET,cAAcD,EAAEiC,kBAAkB,WAAWb,EAAE,SAASG,GAAG,OAAOA,CAAC,EAAE,EAAEW,cAAc,QAAQ/D,EAAE,MAAMgB,OAAO,EAAEA,EAAEgD,kBAAkB,IAAIhE,OAAO,EAAEA,EAAE+D,cAAcE,YAAY,QAAQ9D,EAAE,MAAMa,OAAO,EAAEA,EAAEgD,kBAAkB,IAAI7D,OAAO,EAAEA,EAAE8D,YAAYhD,aAAa,MAAMD,OAAO,EAAEA,EAAEgD,aAAa,gBAAgBrC,GAAG+B,EAAEQ,EAAE,CAACC,SAAS/D,EAAEsC,SAASD,EAAEX,cAAcD,EAAEG,UAAUD,EAAEG,YAAYD,EAAE6B,kBAAkBf,EAAEqB,aAAazB,EAAE0B,iBAAiBxB,EAAET,YAAYD,EAAElB,aAAa,MAAMD,OAAO,EAAEA,EAAEsD,YAAY,UAAU,GAAGnE,EAAED,EAAEqE,KAAKvE,EAAE,SAASoD,EAAED,GAAG,OAAOC,EAAE7C,cAAc4C,EAAE5C,aAAa6C,EAAE3C,iBAAiB0C,EAAE1C,gBAAgB2C,EAAE/C,gCAAgC8C,EAAE9C,6BAA6B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/instant-learning",
3
- "version": "0.0.213",
3
+ "version": "0.0.215",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -141,7 +141,7 @@
141
141
  "dependencies": {
142
142
  "@craco/craco": "^7.1.0",
143
143
  "@e-llm-studio/citation": "^0.0.110",
144
- "@e-llm-studio/watch-me-work": "^0.0.14",
144
+ "@e-llm-studio/watch-me-work": "^0.0.16",
145
145
  "pdf-collaborative-tool": "^0.7.0",
146
146
  "primeicons": "^7.0.0",
147
147
  "primereact": "^10.9.7",