markdown-agent-studio 0.2.0
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/LICENSE +21 -0
- package/README.md +80 -0
- package/bin/markdown-agent-studio.js +282 -0
- package/dist/assets/index-C7HrwdLI.js +1188 -0
- package/dist/assets/index-DKT7U-mY.css +1 -0
- package/dist/assets/vendor-flow-DOjU6Ffq.js +7 -0
- package/dist/assets/vendor-google-eZp-A-GY.js +2 -0
- package/dist/assets/vendor-markdown-DmDC9MiR.js +37 -0
- package/dist/assets/vendor-monaco-DeQXaAoV.js +11 -0
- package/dist/assets/vendor-react-l0sNRNKZ.js +1 -0
- package/dist/index.html +22 -0
- package/dist/vite.svg +1 -0
- package/index.d.ts +4 -0
- package/index.js +8 -0
- package/package.json +117 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{r as u,R}from"./vendor-flow-DOjU6Ffq.js";function re(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function me(e){if(Array.isArray(e))return e}function be(e,t,r){return(t=Se(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ye(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,c,s=[],f=!0,p=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(f=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);f=!0);}catch(j){p=!0,o=j}finally{try{if(!f&&r.return!=null&&(c=r.return(),Object(c)!==c))return}finally{if(p)throw o}}return s}}function we(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function oe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ne(Object(r),!0).forEach(function(n){be(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ne(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Oe(e,t){if(e==null)return{};var r,n,o=je(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function je(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function Me(e,t){return me(e)||ye(e,t)||Ee(e,t)||we()}function Pe(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Se(e){var t=Pe(e,"string");return typeof t=="symbol"?t:t+""}function Ee(e,t){if(e){if(typeof e=="string")return re(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?re(e,t):void 0}}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ue(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ie(Object(r),!0).forEach(function(n){Re(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ie(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduceRight(function(o,i){return i(o)},n)}}function A(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var c=arguments.length,s=new Array(c),f=0;f<c;f++)s[f]=arguments[f];return t.apply(r,[].concat(o,s))}}}function U(e){return{}.toString.call(e).includes("Object")}function Te(e){return!Object.keys(e).length}function D(e){return typeof e=="function"}function Ce(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Le(e,t){return U(t)||P("changeType"),Object.keys(t).some(function(r){return!Ce(e,r)})&&P("changeField"),t}function Ae(e){D(e)||P("selectorType")}function $e(e){D(e)||U(e)||P("handlerType"),U(e)&&Object.values(e).some(function(t){return!D(t)})&&P("handlersType")}function De(e){e||P("initialIsRequired"),U(e)||P("initialType"),Te(e)&&P("initialContent")}function Ve(e,t){throw new Error(e[t]||e.default)}var xe={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},P=A(Ve)(xe),q={changes:Le,selector:Ae,handler:$e,initial:De};function Ne(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};q.initial(e),q.handler(t);var r={current:e},n=A(Ue)(r,t),o=A(Fe)(r),i=A(q.changes)(e),c=A(qe)(r);function s(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(j){return j};return q.selector(p),p(r.current)}function f(p){Ie(n,o,i,c)(p)}return[s,f]}function qe(e,t){return D(t)?t(e.current):t}function Fe(e,t){return e.current=ue(ue({},e.current),t),t}function Ue(e,t,r){return D(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var ze={create:Ne},He={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs"}};function We(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var c=arguments.length,s=new Array(c),f=0;f<c;f++)s[f]=arguments[f];return t.apply(r,[].concat(o,s))}}}function Be(e){return{}.toString.call(e).includes("Object")}function Ke(e){return e||ae("configIsRequired"),Be(e)||ae("configType"),e.urls?(Ge(),{paths:{vs:e.urls.monacoBase}}):e}function Ge(){console.warn(ce.deprecation)}function Ye(e,t){throw new Error(e[t]||e.default)}var ce={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
|
|
3
|
+
You are using deprecated way of configuration.
|
|
4
|
+
|
|
5
|
+
Instead of using
|
|
6
|
+
monaco.config({ urls: { monacoBase: '...' } })
|
|
7
|
+
use
|
|
8
|
+
monaco.config({ paths: { vs: '...' } })
|
|
9
|
+
|
|
10
|
+
For more please check the link https://github.com/suren-atoyan/monaco-loader#config
|
|
11
|
+
`},ae=We(Ye)(ce),Je={config:Ke},Qe=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(o){return r.reduceRight(function(i,c){return c(i)},o)}};function le(e,t){return Object.keys(t).forEach(function(r){t[r]instanceof Object&&e[r]&&Object.assign(t[r],le(e[r],t[r]))}),oe(oe({},e),t)}var Xe={type:"cancelation",msg:"operation is manually canceled"};function Z(e){var t=!1,r=new Promise(function(n,o){e.then(function(i){return t?o(Xe):n(i)}),e.catch(o)});return r.cancel=function(){return t=!0},r}var Ze=["monaco"],ke=ze.create({config:He,isInitialized:!1,resolve:null,reject:null,monaco:null}),se=Me(ke,2),V=se[0],z=se[1];function _e(e){var t=Je.config(e),r=t.monaco,n=Oe(t,Ze);z(function(o){return{config:le(o.config,n),monaco:r}})}function et(){var e=V(function(t){var r=t.monaco,n=t.isInitialized,o=t.resolve;return{monaco:r,isInitialized:n,resolve:o}});if(!e.isInitialized){if(z({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),Z(k);if(window.monaco&&window.monaco.editor)return fe(window.monaco),e.resolve(window.monaco),Z(k);Qe(tt,nt)(ot)}return Z(k)}function tt(e){return document.body.appendChild(e)}function rt(e){var t=document.createElement("script");return e&&(t.src=e),t}function nt(e){var t=V(function(n){var o=n.config,i=n.reject;return{config:o,reject:i}}),r=rt("".concat(t.config.paths.vs,"/loader.js"));return r.onload=function(){return e()},r.onerror=t.reject,r}function ot(){var e=V(function(r){var n=r.config,o=r.resolve,i=r.reject;return{config:n,resolve:o,reject:i}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(r){var n=r.m||r;fe(n),e.resolve(n)},function(r){e.reject(r)})}function fe(e){V().monaco||z({monaco:e})}function it(){return V(function(e){var t=e.monaco;return t})}var k=new Promise(function(e,t){return z({resolve:e,reject:t})}),de={config:_e,init:et,__getMonacoInstance:it},ut={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},_=ut,at={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},ct=at;function lt({children:e}){return R.createElement("div",{style:ct.container},e)}var st=lt,ft=st;function dt({width:e,height:t,isEditorReady:r,loading:n,_ref:o,className:i,wrapperProps:c}){return R.createElement("section",{style:{..._.wrapper,width:e,height:t},...c},!r&&R.createElement(ft,null,n),R.createElement("div",{ref:o,style:{..._.fullWidth,...!r&&_.hide},className:i}))}var pt=dt,pe=u.memo(pt);function gt(e){u.useEffect(e,[])}var ge=gt;function ht(e,t,r=!0){let n=u.useRef(!0);u.useEffect(n.current||!r?()=>{n.current=!1}:e,t)}var w=ht;function $(){}function E(e,t,r,n){return vt(e,n)||mt(e,t,r,n)}function vt(e,t){return e.editor.getModel(he(e,t))}function mt(e,t,r,n){return e.editor.createModel(t,r,n?he(e,n):void 0)}function he(e,t){return e.Uri.parse(t)}function bt({original:e,modified:t,language:r,originalLanguage:n,modifiedLanguage:o,originalModelPath:i,modifiedModelPath:c,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:f=!1,theme:p="light",loading:j="Loading...",options:O={},height:H="100%",width:W="100%",className:B,wrapperProps:K={},beforeMount:G=$,onMount:Y=$}){let[y,I]=u.useState(!1),[T,g]=u.useState(!0),h=u.useRef(null),d=u.useRef(null),C=u.useRef(null),m=u.useRef(Y),a=u.useRef(G),S=u.useRef(!1);ge(()=>{let l=de.init();return l.then(v=>(d.current=v)&&g(!1)).catch(v=>v?.type!=="cancelation"&&console.error("Monaco initialization: error:",v)),()=>h.current?L():l.cancel()}),w(()=>{if(h.current&&d.current){let l=h.current.getOriginalEditor(),v=E(d.current,e||"",n||r||"text",i||"");v!==l.getModel()&&l.setModel(v)}},[i],y),w(()=>{if(h.current&&d.current){let l=h.current.getModifiedEditor(),v=E(d.current,t||"",o||r||"text",c||"");v!==l.getModel()&&l.setModel(v)}},[c],y),w(()=>{let l=h.current.getModifiedEditor();l.getOption(d.current.editor.EditorOption.readOnly)?l.setValue(t||""):t!==l.getValue()&&(l.executeEdits("",[{range:l.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),l.pushUndoStop())},[t],y),w(()=>{h.current?.getModel()?.original.setValue(e||"")},[e],y),w(()=>{let{original:l,modified:v}=h.current.getModel();d.current.editor.setModelLanguage(l,n||r||"text"),d.current.editor.setModelLanguage(v,o||r||"text")},[r,n,o],y),w(()=>{d.current?.editor.setTheme(p)},[p],y),w(()=>{h.current?.updateOptions(O)},[O],y);let x=u.useCallback(()=>{if(!d.current)return;a.current(d.current);let l=E(d.current,e||"",n||r||"text",i||""),v=E(d.current,t||"",o||r||"text",c||"");h.current?.setModel({original:l,modified:v})},[r,t,o,e,n,i,c]),N=u.useCallback(()=>{!S.current&&C.current&&(h.current=d.current.editor.createDiffEditor(C.current,{automaticLayout:!0,...O}),x(),d.current?.editor.setTheme(p),I(!0),S.current=!0)},[O,p,x]);u.useEffect(()=>{y&&m.current(h.current,d.current)},[y]),u.useEffect(()=>{!T&&!y&&N()},[T,y,N]);function L(){let l=h.current?.getModel();s||l?.original?.dispose(),f||l?.modified?.dispose(),h.current?.dispose()}return R.createElement(pe,{width:W,height:H,isEditorReady:y,loading:j,_ref:C,className:B,wrapperProps:K})}var yt=bt;u.memo(yt);function wt(e){let t=u.useRef();return u.useEffect(()=>{t.current=e},[e]),t.current}var Ot=wt,F=new Map;function jt({defaultValue:e,defaultLanguage:t,defaultPath:r,value:n,language:o,path:i,theme:c="light",line:s,loading:f="Loading...",options:p={},overrideServices:j={},saveViewState:O=!0,keepCurrentModel:H=!1,width:W="100%",height:B="100%",className:K,wrapperProps:G={},beforeMount:Y=$,onMount:y=$,onChange:I,onValidate:T=$}){let[g,h]=u.useState(!1),[d,C]=u.useState(!0),m=u.useRef(null),a=u.useRef(null),S=u.useRef(null),x=u.useRef(y),N=u.useRef(Y),L=u.useRef(),l=u.useRef(n),v=Ot(i),ee=u.useRef(!1),J=u.useRef(!1);ge(()=>{let b=de.init();return b.then(M=>(m.current=M)&&C(!1)).catch(M=>M?.type!=="cancelation"&&console.error("Monaco initialization: error:",M)),()=>a.current?ve():b.cancel()}),w(()=>{let b=E(m.current,e||n||"",t||o||"",i||r||"");b!==a.current?.getModel()&&(O&&F.set(v,a.current?.saveViewState()),a.current?.setModel(b),O&&a.current?.restoreViewState(F.get(i)))},[i],g),w(()=>{a.current?.updateOptions(p)},[p],g),w(()=>{!a.current||n===void 0||(a.current.getOption(m.current.editor.EditorOption.readOnly)?a.current.setValue(n):n!==a.current.getValue()&&(J.current=!0,a.current.executeEdits("",[{range:a.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),a.current.pushUndoStop(),J.current=!1))},[n],g),w(()=>{let b=a.current?.getModel();b&&o&&m.current?.editor.setModelLanguage(b,o)},[o],g),w(()=>{s!==void 0&&a.current?.revealLine(s)},[s],g),w(()=>{m.current?.editor.setTheme(c)},[c],g);let te=u.useCallback(()=>{if(!(!S.current||!m.current)&&!ee.current){N.current(m.current);let b=i||r,M=E(m.current,n||e||"",t||o||"",b||"");a.current=m.current?.editor.create(S.current,{model:M,automaticLayout:!0,...p},j),O&&a.current.restoreViewState(F.get(b)),m.current.editor.setTheme(c),s!==void 0&&a.current.revealLine(s),h(!0),ee.current=!0}},[e,t,r,n,o,i,p,j,O,c,s]);u.useEffect(()=>{g&&x.current(a.current,m.current)},[g]),u.useEffect(()=>{!d&&!g&&te()},[d,g,te]),l.current=n,u.useEffect(()=>{g&&I&&(L.current?.dispose(),L.current=a.current?.onDidChangeModelContent(b=>{J.current||I(a.current.getValue(),b)}))},[g,I]),u.useEffect(()=>{if(g){let b=m.current.editor.onDidChangeMarkers(M=>{let Q=a.current.getModel()?.uri;if(Q&&M.find(X=>X.path===Q.path)){let X=m.current.editor.getModelMarkers({resource:Q});T?.(X)}});return()=>{b?.dispose()}}return()=>{}},[g,T]);function ve(){L.current?.dispose(),H?O&&F.set(i,a.current.saveViewState()):a.current.getModel()?.dispose(),a.current.dispose()}return R.createElement(pe,{width:W,height:B,isEditorReady:g,loading:f,_ref:S,className:K,wrapperProps:G})}var Mt=jt,Pt=u.memo(Mt),Et=Pt;export{Et as F};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
8
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
9
|
+
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap" as="style">
|
|
10
|
+
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
|
|
11
|
+
<title>Markdown Agent Studio</title>
|
|
12
|
+
<script type="module" crossorigin src="/assets/index-C7HrwdLI.js"></script>
|
|
13
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-flow-DOjU6Ffq.js">
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-markdown-DmDC9MiR.js">
|
|
15
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-google-eZp-A-GY.js">
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-monaco-DeQXaAoV.js">
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DKT7U-mY.css">
|
|
18
|
+
</head>
|
|
19
|
+
<body>
|
|
20
|
+
<div id="root"></div>
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/index.d.ts
ADDED
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "markdown-agent-studio",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "A visual IDE for building, orchestrating, and observing autonomous AI agent teams.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "RobThePCGuy",
|
|
7
|
+
"homepage": "https://github.com/RobThePCGuy/markdown-agent-studio#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/RobThePCGuy/markdown-agent-studio.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/RobThePCGuy/markdown-agent-studio/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"ai-agents",
|
|
17
|
+
"multi-agent",
|
|
18
|
+
"markdown",
|
|
19
|
+
"react",
|
|
20
|
+
"vite",
|
|
21
|
+
"visualization",
|
|
22
|
+
"orchestration"
|
|
23
|
+
],
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=20.19.0"
|
|
26
|
+
},
|
|
27
|
+
"type": "module",
|
|
28
|
+
"main": "./index.js",
|
|
29
|
+
"types": "./index.d.ts",
|
|
30
|
+
"bin": {
|
|
31
|
+
"markdown-agent-studio": "bin/markdown-agent-studio.js"
|
|
32
|
+
},
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./index.d.ts",
|
|
36
|
+
"default": "./index.js"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist",
|
|
41
|
+
"bin/markdown-agent-studio.js",
|
|
42
|
+
"index.js",
|
|
43
|
+
"index.d.ts",
|
|
44
|
+
"README.md",
|
|
45
|
+
"LICENSE"
|
|
46
|
+
],
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"access": "public"
|
|
49
|
+
},
|
|
50
|
+
"scripts": {
|
|
51
|
+
"dev": "vite",
|
|
52
|
+
"build": "tsc -b && vite build",
|
|
53
|
+
"preview": "vite preview",
|
|
54
|
+
"lint": "eslint .",
|
|
55
|
+
"test": "vitest run",
|
|
56
|
+
"test:watch": "vitest",
|
|
57
|
+
"check:all": "npm run lint && npm run test && npm run build",
|
|
58
|
+
"clean": "rm -rf node_modules dist package-lock.json",
|
|
59
|
+
"commit:checked": "node scripts/checked-commit.mjs",
|
|
60
|
+
"commit:publish": "node scripts/checked-commit.mjs --stage-publish",
|
|
61
|
+
"release:patch": "bash scripts/release.sh patch",
|
|
62
|
+
"release:minor": "bash scripts/release.sh minor",
|
|
63
|
+
"release:major": "bash scripts/release.sh major",
|
|
64
|
+
"prepack": "npm run build",
|
|
65
|
+
"prepublishOnly": "npm run lint && npm run test"
|
|
66
|
+
},
|
|
67
|
+
"overrides": {
|
|
68
|
+
"@eslint/config-array": {
|
|
69
|
+
"minimatch": "^10.2.1"
|
|
70
|
+
},
|
|
71
|
+
"@eslint/eslintrc": {
|
|
72
|
+
"minimatch": "^10.2.1"
|
|
73
|
+
},
|
|
74
|
+
"@typescript-eslint/typescript-estree": {
|
|
75
|
+
"minimatch": "^10.2.1"
|
|
76
|
+
},
|
|
77
|
+
"eslint": {
|
|
78
|
+
"minimatch": "^10.2.1"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"dependencies": {
|
|
82
|
+
"@dagrejs/dagre": "^2.0.4",
|
|
83
|
+
"@google/generative-ai": "^0.24.1",
|
|
84
|
+
"@monaco-editor/react": "^4.7.0",
|
|
85
|
+
"@xyflow/react": "^12.10.0",
|
|
86
|
+
"allotment": "^1.20.5",
|
|
87
|
+
"buffer": "^6.0.3",
|
|
88
|
+
"gray-matter": "^4.0.3",
|
|
89
|
+
"react": "^19.2.0",
|
|
90
|
+
"react-dom": "^19.2.0",
|
|
91
|
+
"react-markdown": "^10.1.0",
|
|
92
|
+
"react-syntax-highlighter": "^16.1.0",
|
|
93
|
+
"rehype-sanitize": "^6.0.0",
|
|
94
|
+
"remark-gfm": "^4.0.1",
|
|
95
|
+
"zustand": "^5.0.11"
|
|
96
|
+
},
|
|
97
|
+
"devDependencies": {
|
|
98
|
+
"@eslint/js": "^9.39.1",
|
|
99
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
100
|
+
"@testing-library/react": "^16.3.2",
|
|
101
|
+
"@types/node": "^24.10.1",
|
|
102
|
+
"@types/react": "^19.2.7",
|
|
103
|
+
"@types/react-dom": "^19.2.3",
|
|
104
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
105
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
106
|
+
"eslint": "^9.39.1",
|
|
107
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
108
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
109
|
+
"globals": "^16.5.0",
|
|
110
|
+
"happy-dom": "^20.6.1",
|
|
111
|
+
"jsdom": "^28.1.0",
|
|
112
|
+
"typescript": "~5.9.3",
|
|
113
|
+
"typescript-eslint": "^8.48.0",
|
|
114
|
+
"vite": "^7.3.1",
|
|
115
|
+
"vitest": "^4.0.18"
|
|
116
|
+
}
|
|
117
|
+
}
|