@applivity/plato 0.1.4 → 0.1.5
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/README.md +5 -2
- package/dist/cli.js +1 -1
- package/package.json +8 -1
package/README.md
CHANGED
|
@@ -7,11 +7,14 @@ mid-run, and stops at a safe point. The same engine powers the
|
|
|
7
7
|
**Plan, edit, or auto. Solo, duo, or academy. You hold the switch.**
|
|
8
8
|
|
|
9
9
|
[plato.applivity.com](https://plato.applivity.com) · [Install](#install) ·
|
|
10
|
-
[Authenticate](#authenticate) · [Teams](#teams) · [Commands](#commands)
|
|
10
|
+
[Authenticate](#authenticate) · [Teams](#teams) · [Commands](#commands) ·
|
|
11
|
+
[Source](https://github.com/Applivity/plato)
|
|
11
12
|
|
|
12
|
-
**Pre-release.** This is `0.1.
|
|
13
|
+
**Pre-release.** This is `0.1.5`. The core of the agent is the same code the
|
|
13
14
|
extension has shipped, but the terminal host is new.
|
|
14
15
|
|
|
16
|
+
**0.1.5** adds the source link above; no behaviour changed.
|
|
17
|
+
|
|
15
18
|
**0.1.4** adds Windows support for commands, background shells, and MCP
|
|
16
19
|
servers. It also fixes four terminal defects: a reply no longer repeats down
|
|
17
20
|
the scrollback, Markdown renders in the terminal, Ctrl+Left/Right/Delete and
|
package/dist/cli.js
CHANGED
|
@@ -656,7 +656,7 @@ Read about how to prevent this error on https://github.com/vadimdemedes/ink/#isr
|
|
|
656
656
|
`).split(`
|
|
657
657
|
`),s=[],A=0;for(;A<a.length;){let f=a[A]??"";if(f.trim().length===0){A+=1;continue}let h=VD.exec(f);if(h){let S=A+1;for(;S<a.length&&!VD.test(a[S]??"");)S+=1;if(S<a.length){s.push({kind:"code",lang:h[1]??"",lines:a.slice(A+1,S)}),A=S+1;continue}}let E=tO.exec(f);if(E){s.push({kind:"heading",level:E[1]?.length??1,spans:Ih(E[2]??"")}),A+=1;continue}if(eO.test(f)){s.push({kind:"rule"}),A+=1;continue}if(A+1<a.length&&f.includes("|")&&nO(a[A+1]??"")){let S=nS(f).map(Ih),N=nS(a[A+1]??"").map(U9);A+=2;let _=[];for(;A<a.length&&(a[A]??"").includes("|")&&(a[A]??"").trim()!=="";)_.push(nS(a[A]??"").map(Ih)),A+=1;s.push({kind:"table",align:N,header:S,rows:_});continue}let y=XD.exec(f);if(y){let S=/\d/.test(y[1]??""),N=[],_=A;for(;_<a.length;){let O=XD.exec(a[_]??"");if(!O)break;N.push(Ih(O[2]??"")),_+=1}s.push({kind:"list",ordered:S,items:N}),A=_;continue}let I=ZD.exec(f);if(I){let S=[I[1]??""],N=A+1;for(;N<a.length;){let _=ZD.exec(a[N]??"");if(!_)break;S.push(_[1]??""),N+=1}s.push({kind:"quote",spans:Ih(S.join(" "))}),A=N;continue}let v=[f.trim()],T=A+1;for(;T<a.length;){let S=a[T]??"";if(S.trim().length===0||VD.test(S)||tO.test(S)||eO.test(S)||XD.test(S)||ZD.test(S)||S.includes("|")&&nO(a[T+1]??""))break;v.push(S.trim()),T+=1}s.push({kind:"paragraph",spans:Ih(v.join(" "))}),A=T}return s}function aO(e,n,a){if(e.length===0||n<=0)return{text:"",hidden:0};let s=Math.max(1,a),A=e.split(`
|
|
658
658
|
`),f=I=>Math.max(1,Math.ceil(B0(I)/s)),h=A.reduce((I,v)=>I+f(v),0);if(h<=n)return{text:e,hidden:0};let E=0,y=A.length;for(;y>0;){let I=f(A[y-1]??"");if(E+I>n)break;E+=I,y-=1}return y===A.length?{text:(A[A.length-1]??"").slice(-(n*s)),hidden:h-n}:{text:A.slice(y).join(`
|
|
659
|
-
`),hidden:h-E}}var Je=me(tS(),1);var iO=me(Ue(),1);var H9=process.env.NO_COLOR===void 0;function lO({text:e,columns:n}){let a=(0,iO.useMemo)(()=>oO(e),[e]);return(0,Je.jsx)(Le,{flexDirection:"column",children:a.map((s,A)=>(0,Je.jsx)(Le,{flexDirection:"column",marginBottom:A===a.length-1?0:1,children:(0,Je.jsx)(G9,{block:s,columns:n})},A))})}function G9({block:e,columns:n}){switch(e.kind){case"heading":return(0,Je.jsx)(dt,{bold:!0,underline:e.level===1,children:(0,Je.jsx)(Q0,{spans:e.spans})});case"paragraph":return(0,Je.jsx)(dt,{children:(0,Je.jsx)(Q0,{spans:e.spans})});case"code":return(0,Je.jsx)(L9,{block:e});case"list":return(0,Je.jsx)(Le,{flexDirection:"column",children:e.items.map((a,s)=>(0,Je.jsxs)(dt,{children:[e.ordered?`${s+1}. `:"\u2022 ",(0,Je.jsx)(Q0,{spans:a})]},s))});case"quote":return(0,Je.jsx)(Le,{paddingLeft:2,children:(0,Je.jsx)(dt,{dimColor:!0,children:(0,Je.jsx)(Q0,{spans:e.spans})})});case"rule":return(0,Je.jsx)(dt,{dimColor:!0,children:"\u2500".repeat(Math.max(3,Math.min(n,40)))});case"table":return(0,Je.jsx)(k9,{block:e,columns:n})}}function L9({block:e}){return(0,Je.jsxs)(Le,{flexDirection:"column",paddingLeft:2,children:[e.lang.length>0?(0,Je.jsx)(dt,{dimColor:!0,children:e.lang}):null,e.lines.map((n,a)=>(0,Je.jsx)(dt,{children:n.length>0?n:" "},a))]})}function k9({block:e,columns:n}){let a=e.header.map((f,h)=>Math.max(1,B0(I0(f)),...e.rows.map(E=>B0(I0(E[h]??[])))));if(a.reduce((f,h)=>f+h,0)+Math.max(0,a.length-1)*3>n){let f=[e.header,...e.rows].map(h=>h.map(I0).join(" | "));return(0,Je.jsx)(Le,{flexDirection:"column",children:f.map((h,E)=>(0,Je.jsx)(dt,{bold:E===0,children:h},E))})}let A=(f,h)=>(0,Je.jsx)(dt,{bold:h,children:f.map((E,y)=>(0,Je.jsxs)(dt,{children:[y>0?" \u2502 ":"",(0,Je.jsx)(z9,{spans:E,width:a[y]??1,align:e.align[y]??"left"})]},y))});return(0,Je.jsxs)(Le,{flexDirection:"column",children:[A(e.header,!0),(0,Je.jsx)(dt,{dimColor:!0,children:a.map(f=>"\u2500".repeat(f)).join("\u2500\u253C\u2500")}),e.rows.map((f,h)=>(0,Je.jsx)(dt,{children:A(f,!1)},h))]})}function z9({spans:e,width:n,align:a}){let s=Math.max(0,n-B0(I0(e))),A=a==="right"?s:a==="center"?Math.floor(s/2):0;return(0,Je.jsxs)(dt,{children:[" ".repeat(A),(0,Je.jsx)(Q0,{spans:e})," ".repeat(s-A)]})}function Q0({spans:e}){return(0,Je.jsx)(Je.Fragment,{children:e.map((n,a)=>{switch(n.kind){case"bold":return(0,Je.jsx)(dt,{bold:!0,children:n.text},a);case"italic":return(0,Je.jsx)(dt,{italic:!0,children:n.text},a);case"code":return(0,Je.jsx)(dt,{color:H9?"cyan":void 0,children:n.text},a);case"link":return(0,Je.jsxs)(dt,{children:[n.text,n.href===void 0?null:(0,Je.jsxs)(dt,{dimColor:!0,children:[" (",n.href,")"]})]},a);default:return(0,Je.jsx)(dt,{children:n.text},a)}})})}var qn=me(tS(),1);import{homedir as Y9}from"node:os";var S0="0.1.
|
|
659
|
+
`),hidden:h-E}}var Je=me(tS(),1);var iO=me(Ue(),1);var H9=process.env.NO_COLOR===void 0;function lO({text:e,columns:n}){let a=(0,iO.useMemo)(()=>oO(e),[e]);return(0,Je.jsx)(Le,{flexDirection:"column",children:a.map((s,A)=>(0,Je.jsx)(Le,{flexDirection:"column",marginBottom:A===a.length-1?0:1,children:(0,Je.jsx)(G9,{block:s,columns:n})},A))})}function G9({block:e,columns:n}){switch(e.kind){case"heading":return(0,Je.jsx)(dt,{bold:!0,underline:e.level===1,children:(0,Je.jsx)(Q0,{spans:e.spans})});case"paragraph":return(0,Je.jsx)(dt,{children:(0,Je.jsx)(Q0,{spans:e.spans})});case"code":return(0,Je.jsx)(L9,{block:e});case"list":return(0,Je.jsx)(Le,{flexDirection:"column",children:e.items.map((a,s)=>(0,Je.jsxs)(dt,{children:[e.ordered?`${s+1}. `:"\u2022 ",(0,Je.jsx)(Q0,{spans:a})]},s))});case"quote":return(0,Je.jsx)(Le,{paddingLeft:2,children:(0,Je.jsx)(dt,{dimColor:!0,children:(0,Je.jsx)(Q0,{spans:e.spans})})});case"rule":return(0,Je.jsx)(dt,{dimColor:!0,children:"\u2500".repeat(Math.max(3,Math.min(n,40)))});case"table":return(0,Je.jsx)(k9,{block:e,columns:n})}}function L9({block:e}){return(0,Je.jsxs)(Le,{flexDirection:"column",paddingLeft:2,children:[e.lang.length>0?(0,Je.jsx)(dt,{dimColor:!0,children:e.lang}):null,e.lines.map((n,a)=>(0,Je.jsx)(dt,{children:n.length>0?n:" "},a))]})}function k9({block:e,columns:n}){let a=e.header.map((f,h)=>Math.max(1,B0(I0(f)),...e.rows.map(E=>B0(I0(E[h]??[])))));if(a.reduce((f,h)=>f+h,0)+Math.max(0,a.length-1)*3>n){let f=[e.header,...e.rows].map(h=>h.map(I0).join(" | "));return(0,Je.jsx)(Le,{flexDirection:"column",children:f.map((h,E)=>(0,Je.jsx)(dt,{bold:E===0,children:h},E))})}let A=(f,h)=>(0,Je.jsx)(dt,{bold:h,children:f.map((E,y)=>(0,Je.jsxs)(dt,{children:[y>0?" \u2502 ":"",(0,Je.jsx)(z9,{spans:E,width:a[y]??1,align:e.align[y]??"left"})]},y))});return(0,Je.jsxs)(Le,{flexDirection:"column",children:[A(e.header,!0),(0,Je.jsx)(dt,{dimColor:!0,children:a.map(f=>"\u2500".repeat(f)).join("\u2500\u253C\u2500")}),e.rows.map((f,h)=>(0,Je.jsx)(dt,{children:A(f,!1)},h))]})}function z9({spans:e,width:n,align:a}){let s=Math.max(0,n-B0(I0(e))),A=a==="right"?s:a==="center"?Math.floor(s/2):0;return(0,Je.jsxs)(dt,{children:[" ".repeat(A),(0,Je.jsx)(Q0,{spans:e})," ".repeat(s-A)]})}function Q0({spans:e}){return(0,Je.jsx)(Je.Fragment,{children:e.map((n,a)=>{switch(n.kind){case"bold":return(0,Je.jsx)(dt,{bold:!0,children:n.text},a);case"italic":return(0,Je.jsx)(dt,{italic:!0,children:n.text},a);case"code":return(0,Je.jsx)(dt,{color:H9?"cyan":void 0,children:n.text},a);case"link":return(0,Je.jsxs)(dt,{children:[n.text,n.href===void 0?null:(0,Je.jsxs)(dt,{dimColor:!0,children:[" (",n.href,")"]})]},a);default:return(0,Je.jsx)(dt,{children:n.text},a)}})})}var qn=me(tS(),1);import{homedir as Y9}from"node:os";var S0="0.1.5";var rO=[{text:" \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588"},{text:" \u2580\u2588\u2588\u2588\u2580 \u2580\u2588\u2588\u2588\u2580"},{text:" \u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2584"},{text:" \u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2584"},{text:" \u2588\u2588\u2588\u2588\u2580 \u2580\u2588\u2588\u2588\u2588\u2580 \u2580\u2588\u2588\u2588\u2588"},{text:" \u2588\u2588\u2588 \u2584\u2584\u2584 \u2588\u2588 \u2584\u2584\u2584 \u2588\u2588\u2588"},{text:" \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588"},{text:" \u2588\u2588\u2588 \u2580\u2580\u2580 \u2588\u2588 \u2580\u2580\u2580 \u2588\u2588\u2588"},{text:" \u2588\u2588\u2588\u2588\u2584 \u2584\u2588\u2588\u2588\u2588\u2584 \u2584\u2588\u2588\u2588\u2588",beak:[13,17]},{text:" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588",beak:[14,16]},{text:" \u2580\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2580",beak:[14,16]},{text:" \u2580\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2580"},{text:" \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580"}],sO=28,WD=["\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588","\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588","\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588","\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588","\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588"],K9="Type / for commands \xB7 Shift+Tab switches mode \xB7 Esc interrupts",v0=process.env.NO_COLOR===void 0;function J9(e){return e>=64?K9:e>=40?"Type / for commands \xB7 Shift+Tab mode":"Type / for commands"}function j9(e,n){return e>=68&&n>=24?"side":e>=37?"wordmark":"line"}function F9(e,n=44){let a=Y9(),s=e.startsWith(a)?`~${e.slice(a.length)}`:e;if(s.length<=n)return s;let A=Math.floor((n-1)*.4);return`${s.slice(0,A)}\u2026${s.slice(-(n-1-A))}`}function q9({text:e,beak:n}){if(n===void 0)return(0,qn.jsx)(dt,{color:v0?"cyan":void 0,children:e.padEnd(sO)});let[a,s]=n;return(0,qn.jsxs)(dt,{color:v0?"cyan":void 0,children:[e.slice(0,a),(0,qn.jsx)(dt,{color:v0?"yellow":void 0,children:e.slice(a,s)}),e.padEnd(sO).slice(s)]})}function AO(){return(0,qn.jsxs)(dt,{children:["Plato by Applivity",(0,qn.jsxs)(dt,{dimColor:!0,children:[" \xB7 ",S0]})]})}function uO(){let{columns:e,rows:n}=E0(),a=j9(e,n),s=F9(process.cwd(),Math.max(20,Math.min(44,e-2))),A=J9(e);if(a==="line")return(0,qn.jsxs)(Le,{flexDirection:"column",marginTop:1,children:[(0,qn.jsxs)(dt,{children:[(0,qn.jsx)(dt,{color:v0?"cyan":void 0,children:"\u25C9\u25C9 "}),"Plato by Applivity",(0,qn.jsxs)(dt,{dimColor:!0,children:[" \xB7 ",S0]})]}),(0,qn.jsx)(dt,{dimColor:!0,children:A})]});if(a==="wordmark")return(0,qn.jsxs)(Le,{flexDirection:"column",marginTop:1,children:[WD.map(h=>(0,qn.jsx)(dt,{color:v0?"cyan":void 0,children:h},h)),(0,qn.jsx)(dt,{children:" "}),(0,qn.jsx)(AO,{}),(0,qn.jsx)(dt,{dimColor:!0,children:s}),(0,qn.jsx)(dt,{dimColor:!0,children:A})]});let f=Math.round((rO.length-WD.length)/2);return(0,qn.jsxs)(Le,{flexDirection:"column",marginTop:1,children:[rO.map((h,E)=>(0,qn.jsxs)(Le,{children:[(0,qn.jsx)(q9,{text:h.text,beak:h.beak}),(0,qn.jsx)(dt,{children:" "}),(0,qn.jsx)(dt,{children:WD[E-f]??""})]},h.text)),(0,qn.jsx)(dt,{children:" "}),(0,qn.jsx)(AO,{}),n<27?null:(0,qn.jsx)(dt,{dimColor:!0,children:s}),(0,qn.jsx)(dt,{dimColor:!0,children:A})]})}var $D=[{name:"mode",args:"plan|edit|auto",summary:"Switch mode (Shift+Tab cycles)"},{name:"model",args:"connection:model",summary:"Use another model"},{name:"team",args:"solo|duo|academy",summary:"Choose the team for the next run"},{name:"gitignore",args:"on|off",summary:"Skip what .gitignore excludes in search"},{name:"compact",summary:"Ask the current run to compact now"},{name:"new",summary:"Start a new conversation"},{name:"undo",summary:"Put back the files the last run wrote"},{name:"sessions",summary:"List saved sessions"},{name:"help",summary:"Show this help"},{name:"exit",summary:"Leave Plato"}];function oS(e){return e.args===void 0?`/${e.name}`:`/${e.name} ${e.args}`}function cO(e){return!e.startsWith("/")||e.includes(`
|
|
660
660
|
`)||/\s/.test(e)?null:e.slice(1)}function fO(e){let n=e.toLowerCase();return $D.filter(a=>a.name.startsWith(n))}var V9=10;function dO(e,n,a=V9){let s=Math.min(a,e),A=Math.max(0,Math.min(n-s+1,e-s));return{start:A,end:A+s}}function tw(e){return e.args===void 0?{text:`/${e.name}`,run:!0}:{text:`/${e.name} `,run:!1}}var gO={plan:"blue",edit:"green",auto:"yellow"},X9={plan:"Plan mode reads and proposes. It cannot write, and it runs only commands that read.",edit:"Edit mode asks before a write or a command.",auto:"Auto mode writes and runs commands without asking."},pO=process.env.NO_COLOR===void 0;function hO({session:e,onExit:n,firstPrompt:a}){let s=(0,Dl.useSyncExternalStore)(e.subscribe,e.getSnapshot),{columns:A,rows:f}=E0(),[h,E]=(0,Dl.useState)(eS),[y,I]=(0,Dl.useState)([]),[v,T]=(0,Dl.useState)(null),[S,N]=(0,Dl.useState)(0),[_,O]=(0,Dl.useState)(0),[G,F]=(0,Dl.useState)(null),Qt=cO(h.text),At=Qt===null?[]:fO(Qt),pt=Qt!==null&&At.length>0&&s.card===null&&!s.running&&G!==h.text,jt=Math.min(_,Math.max(0,At.length-1)),Wt=s.rows.length===0&&s.streaming.length===0&&s.card===null&&!s.running&&a===void 0;(0,Dl.useEffect)(()=>{O(0)},[Qt]),(0,Dl.useEffect)(()=>{a!==void 0&&a.length>0&&e.submit(a)},[]),(0,Dl.useEffect)(()=>{s.running||N(0)},[s.running]);let kt=async rt=>{if(E(eS),T(null),F(null),I(z=>[...z,rt]),rt.startsWith("/")){await e.handleCommand(rt)==="exit"&&n();return}await e.submit(rt)};return zD((rt,z)=>{let Dt=z.return||rt==="\r"||rt===`
|
|
661
661
|
`,te=rt.includes("\r")||rt.includes(`
|
|
662
662
|
`),zt=s.card;if(zt!==null){if(z.upArrow){e.cardMove(-1);return}if(z.downArrow){e.cardMove(1);return}if(Dt){e.cardConfirm();return}if(z.escape){e.cardCancel();return}if(z.ctrl&&rt==="c"){e.cardCancel();return}if(zt.kind==="question"&&zt.freeText){if(z.backspace||z.delete){e.cardBackspace();return}if(te&&!z.ctrl&&!z.meta){e.cardType(rt.replace(/[\r\n]+/g,"")),e.cardConfirm();return}!z.ctrl&&!z.meta&&rt.length>0&&e.cardType(rt);return}if(rt===" "){e.cardToggle();return}if(/^[1-9]$/.test(rt)){let ee=Number.parseInt(rt,10)-1,re=zt.kind==="question"?zt.options.length:zt.options.length-1;ee<=re&&e.cardMove(ee-zt.selected)}return}if(z.tab&&z.shift){e.cycleMode();return}if(pt){let ee=At[jt];if(z.upArrow){O(Math.max(0,jt-1));return}if(z.downArrow){O(Math.min(At.length-1,jt+1));return}if(z.escape){F(h.text);return}if(z.tab&&ee!==void 0){E(y0(tw(ee).text)),F(null);return}if(Dt&&ee!==void 0){let re=tw(ee);if(F(null),re.run){kt(re.text);return}E(y0(re.text));return}}if(z.escape){s.running&&e.cancel();return}if(z.ctrl&&rt==="c"){if(s.running){e.cancel();return}if(S>=1){n();return}N(1),e.addNotice("Press Ctrl+C again to exit.");return}if(!s.running){if(Dt){let ee=h.text.trim();ee.length>0&&kt(ee);return}if(te&&!z.ctrl&&!z.meta){let re=JD(h,rt.replace(/[\r\n]+/g," ")).text.trim();re.length>0&&kt(re);return}if(z.upArrow){if(y.length===0)return;let ee=v===null?y.length-1:Math.max(0,v-1);T(ee),E(y0(y[ee]??""));return}if(z.downArrow){if(v===null)return;let ee=v+1;ee>=y.length?(T(null),E(eS)):(T(ee),E(y0(y[ee]??"")));return}if(z.leftArrow){E(z.ctrl||z.meta?FD(h):jD(h,-1));return}if(z.rightArrow){E(z.ctrl||z.meta?Z4(h):jD(h,1));return}if(z.home||z.ctrl&&rt==="a"){E(W4(h));return}if(z.end||z.ctrl&&rt==="e"){E($4(h));return}if(z.ctrl&&rt==="w"){E(qD(h));return}if(z.backspace){E(z.ctrl||z.meta?qD(h):V4(h));return}if(z.delete){E(z.ctrl||z.meta?P4(h):X4(h));return}z.ctrl||z.meta||rt==="\r"||rt===`
|
package/package.json
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applivity/plato",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"description": "An AI coding agent for the terminal that shows its work, lets you steer mid-run, and stops at a safe point.",
|
|
9
9
|
"homepage": "https://plato.applivity.com",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/Applivity/plato.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/Applivity/plato/issues"
|
|
16
|
+
},
|
|
10
17
|
"type": "module",
|
|
11
18
|
"bin": {
|
|
12
19
|
"plato": "dist/cli.js"
|