@interf/compiler 0.18.0 → 0.21.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.
Files changed (129) hide show
  1. package/README.md +87 -73
  2. package/dist/cli/commands/mcp.d.ts +0 -34
  3. package/dist/cli/commands/mcp.js +246 -45
  4. package/dist/cli/commands/method.js +261 -15
  5. package/dist/cli/commands/prep.js +61 -16
  6. package/dist/cli/commands/runs.js +103 -9
  7. package/dist/cli/commands/status.js +4 -2
  8. package/dist/cli/commands/test.d.ts +10 -0
  9. package/dist/cli/commands/{verify.js → test.js} +16 -18
  10. package/dist/cli/commands/web.js +82 -8
  11. package/dist/cli/commands/wizard.js +36 -37
  12. package/dist/cli/index.d.ts +2 -2
  13. package/dist/cli/index.js +3 -3
  14. package/dist/compiler-ui/404.html +1 -1
  15. package/dist/compiler-ui/__next.__PAGE__.txt +5 -5
  16. package/dist/compiler-ui/__next._full.txt +13 -12
  17. package/dist/compiler-ui/__next._head.txt +3 -3
  18. package/dist/compiler-ui/__next._index.txt +5 -4
  19. package/dist/compiler-ui/__next._tree.txt +4 -3
  20. package/dist/compiler-ui/_next/static/chunks/01646j7yi.w5a.css +1 -0
  21. package/dist/compiler-ui/_next/static/chunks/{0n51hrfoufc7g.js → 02f_.8.ebn556.js} +1 -1
  22. package/dist/compiler-ui/_next/static/chunks/02r7siaw-_p5w.js +1 -0
  23. package/dist/compiler-ui/_next/static/chunks/{08m7vf5asqlsm.js → 04d0ly-7xb~-j.js} +10 -10
  24. package/dist/compiler-ui/_next/static/chunks/0fhs9psnxqd8s.js +1 -0
  25. package/dist/compiler-ui/_next/static/chunks/0mssmhpbifj15.css +2 -0
  26. package/dist/compiler-ui/_next/static/chunks/0nypu~ddwxari.js +116 -0
  27. package/dist/compiler-ui/_next/static/chunks/0p3s8iyhgcww2.js +31 -0
  28. package/dist/compiler-ui/_next/static/chunks/0tjf-vu_rz8s0.css +1 -0
  29. package/dist/compiler-ui/_next/static/chunks/0u6p3fpbbfgtl.js +1 -0
  30. package/dist/compiler-ui/_next/static/chunks/0wpx5..8dnh0w.js +1 -0
  31. package/dist/compiler-ui/_next/static/chunks/0y0uj160p0ts~.js +1 -0
  32. package/dist/compiler-ui/_next/static/chunks/10t8l~_oenf.c.js +1 -0
  33. package/dist/compiler-ui/_next/static/chunks/13gz9e7z~imx1.js +5 -0
  34. package/dist/compiler-ui/_next/static/chunks/156xed-b6czaw.js +1 -0
  35. package/dist/compiler-ui/_next/static/chunks/{turbopack-0.uq1k8c0j4s..js → turbopack-02-3e_c-yz~5g.js} +1 -1
  36. package/dist/compiler-ui/_next/static/chunks/{turbopack-10e~t1yzi4svj.js → turbopack-0apv8vb-nczuy.js} +1 -1
  37. package/dist/compiler-ui/_not-found/__next._full.txt +10 -9
  38. package/dist/compiler-ui/_not-found/__next._head.txt +3 -3
  39. package/dist/compiler-ui/_not-found/__next._index.txt +5 -4
  40. package/dist/compiler-ui/_not-found/__next._not-found.__PAGE__.txt +2 -2
  41. package/dist/compiler-ui/_not-found/__next._not-found.txt +3 -3
  42. package/dist/compiler-ui/_not-found/__next._tree.txt +3 -2
  43. package/dist/compiler-ui/_not-found.html +1 -1
  44. package/dist/compiler-ui/_not-found.txt +10 -9
  45. package/dist/compiler-ui/index.html +1 -1
  46. package/dist/compiler-ui/index.txt +13 -12
  47. package/dist/packages/contracts/lib/schema.d.ts +4 -0
  48. package/dist/packages/contracts/lib/schema.js +2 -1
  49. package/dist/packages/engine/action-definitions.d.ts +174 -13
  50. package/dist/packages/engine/action-definitions.js +125 -122
  51. package/dist/packages/engine/action-planner.js +4 -11
  52. package/dist/packages/engine/agents/lib/shells.d.ts +3 -1
  53. package/dist/packages/engine/agents/lib/shells.js +8 -4
  54. package/dist/packages/engine/agents/role-executors.js +1 -1
  55. package/dist/packages/engine/compile/compiled-paths.js +6 -6
  56. package/dist/packages/engine/connection-config.js +1 -1
  57. package/dist/packages/engine/execution/lib/schema.d.ts +10 -0
  58. package/dist/packages/engine/instance-paths.d.ts +15 -9
  59. package/dist/packages/engine/instance-paths.js +15 -9
  60. package/dist/packages/engine/lib/schema.d.ts +686 -30
  61. package/dist/packages/engine/lib/schema.js +48 -21
  62. package/dist/packages/engine/native-run-handlers.js +10 -8
  63. package/dist/packages/engine/preparation-store.d.ts +9 -13
  64. package/dist/packages/engine/preparation-store.js +12 -0
  65. package/dist/packages/engine/requested-artifacts.d.ts +5 -0
  66. package/dist/packages/engine/requested-artifacts.js +36 -0
  67. package/dist/packages/engine/routes.d.ts +1 -1
  68. package/dist/packages/engine/routes.js +1 -1
  69. package/dist/packages/engine/run-observability.js +3 -2
  70. package/dist/packages/engine/runtime-proposal-helpers.d.ts +2 -2
  71. package/dist/packages/engine/runtime-proposal-helpers.js +5 -7
  72. package/dist/packages/engine/runtime-resource-builders.d.ts +5 -0
  73. package/dist/packages/engine/runtime-resource-builders.js +13 -2
  74. package/dist/packages/engine/runtime.d.ts +3 -1
  75. package/dist/packages/engine/runtime.js +146 -21
  76. package/dist/packages/engine/server.js +104 -52
  77. package/dist/packages/engine/verify/verify-execution.js +1 -1
  78. package/dist/packages/engine/wire-schemas.d.ts +5 -1
  79. package/dist/packages/engine/wire-schemas.js +1 -1
  80. package/dist/packages/methods/authoring/method-authoring.d.ts +3 -1
  81. package/dist/packages/methods/authoring/method-authoring.js +5 -36
  82. package/dist/packages/methods/package/builtin-compiled-method.js +1 -1
  83. package/dist/packages/methods/package/local-methods.d.ts +1 -0
  84. package/dist/packages/methods/package/local-methods.js +19 -4
  85. package/dist/packages/methods/package/method-definitions.js +1 -1
  86. package/dist/packages/project/interf-detect.js +6 -6
  87. package/dist/packages/project/lib/schema.d.ts +193 -0
  88. package/dist/packages/project/lib/schema.js +46 -1
  89. package/dist/packages/project/source-config.js +4 -0
  90. package/dist/packages/project/source-folders.js +1 -1
  91. package/package.json +7 -8
  92. package/public-repo/CONTRIBUTING.md +47 -0
  93. package/public-repo/LICENSE.md +1 -0
  94. package/public-repo/README.md +325 -0
  95. package/public-repo/SECURITY.md +67 -0
  96. package/public-repo/TRADEMARKS.md +8 -0
  97. package/{builtin-methods → public-repo/methods}/interf-default/README.md +4 -0
  98. package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/shape/SKILL.md +4 -8
  99. package/{builtin-methods → public-repo/methods}/interf-default/method.json +1 -1
  100. package/public-repo/methods/interf-default/use/query/SKILL.md +23 -0
  101. package/public-repo/plugins/README.md +9 -0
  102. package/public-repo/plugins/interf/.claude-plugin/plugin.json +21 -0
  103. package/public-repo/plugins/interf/.mcp.json +12 -0
  104. package/public-repo/plugins/interf/README.md +29 -0
  105. package/public-repo/plugins/interf/skills/interf/SKILL.md +477 -0
  106. package/public-repo/skills/interf/SKILL.md +477 -0
  107. package/agent-skills/interf-actions/SKILL.md +0 -185
  108. package/agent-skills/interf-actions/references/cli.md +0 -243
  109. package/builtin-methods/interf-default/use/query/SKILL.md +0 -28
  110. package/dist/cli/commands/verify.d.ts +0 -10
  111. package/dist/compiler-ui/_next/static/chunks/06yhdspx~ca5-.js +0 -5
  112. package/dist/compiler-ui/_next/static/chunks/06z~l3kwb891e.js +0 -1
  113. package/dist/compiler-ui/_next/static/chunks/08g7lvje.te.u.js +0 -1
  114. package/dist/compiler-ui/_next/static/chunks/0_c_tvh-cukjz.css +0 -3
  115. package/dist/compiler-ui/_next/static/chunks/0_i-3_5l9t2qe.js +0 -1
  116. package/dist/compiler-ui/_next/static/chunks/0b-ywny_j0g~0.js +0 -1
  117. package/dist/compiler-ui/_next/static/chunks/0b52v41o1gixx.js +0 -1
  118. package/dist/compiler-ui/_next/static/chunks/0f_geuwdesg_c.js +0 -114
  119. package/dist/compiler-ui/_next/static/chunks/0gpzgsv0w.q~m.js +0 -31
  120. package/dist/compiler-ui/_next/static/chunks/0ilwfezfvu6~-.js +0 -1
  121. package/dist/compiler-ui/_next/static/chunks/0xxmf45eskdt~.css +0 -1
  122. package/dist/compiler-ui/_next/static/chunks/14wtz~vq25~qq.js +0 -1
  123. /package/dist/compiler-ui/_next/static/{6qyE1u9m_oBUkvAhhoCmO → tYHMLL9oKds1yDoNYgkPV}/_buildManifest.js +0 -0
  124. /package/dist/compiler-ui/_next/static/{6qyE1u9m_oBUkvAhhoCmO → tYHMLL9oKds1yDoNYgkPV}/_clientMiddlewareManifest.js +0 -0
  125. /package/dist/compiler-ui/_next/static/{6qyE1u9m_oBUkvAhhoCmO → tYHMLL9oKds1yDoNYgkPV}/_ssgManifest.js +0 -0
  126. /package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/structure/SKILL.md +0 -0
  127. /package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/summarize/SKILL.md +0 -0
  128. /package/{builtin-methods → public-repo/methods}/interf-default/improve/SKILL.md +0 -0
  129. /package/{builtin-methods → public-repo/methods}/interf-default/method.schema.json +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10650,(e,t,r)=>{var n={229:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var l=[],u=!1,c=-1;function m(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&d())}function d(){if(!u){var e=a(m);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new f(e,t)),1!==l.length||u||a(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}},s=!0;try{n[e](r,r.exports,o),s=!1}finally{s&&delete i[e]}return r.exports}o.ab="/ROOT/src/apps/compiler-ui/node_modules/next/dist/compiled/process/",t.exports=o(229)},85139,(e,t,r)=>{"use strict";var n,i;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(i=e.g.process)?void 0:i.env)?e.g.process:e.r(10650)},69420,73224,48300,e=>{"use strict";e.i(85139);var t=e.i(8707),r=e.i(85261);let n=new Intl.NumberFormat(void 0,{maximumFractionDigits:2});function i(e,t=!1){if(0===e)return"0";if(e<1e3)return`${n.format(e)}ms`;if(e<6e4)return`${n.format(e/1e3)}s`;if(t){if(e<36e5){let t=Math.floor(e/6e4),r=Math.floor(e%6e4/1e3);return r>0?`${t}m ${r}s`:`${t}m`}let t=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4);return r>0?`${t}h ${r}m`:`${t}h`}let r=Math.floor(e/864e5),o=Math.floor(e%864e5/36e5),s=Math.floor(e%36e5/6e4),a=Math.floor(e%6e4/1e3),l=[];return r>0&&l.push(`${r}d`),o>0&&l.push(`${o}h`),s>0&&l.push(`${s}m`),o<=1&&(a>0||0===l.length)&&l.push(`${a}s`),l.join(" ")}function o([e,t]){return 1e3*e+t/1e6}function s(e){return[Math.floor(e/1e3),e%1e3*1e3]}e.s(["cn",0,function(...e){return(0,r.twMerge)((0,t.clsx)(e))},"extractConversation",0,function(e){if(!Array.isArray(e)||0===e.length)return null;let t=e[0];return Array.isArray(t)&&t.every(e=>e&&"object"==typeof e&&"role"in e)?t:null},"formatDuration",0,i,"isDoStreamStep",0,function(e){return e.endsWith("//doStreamStep")}],73224);let a=new Intl.NumberFormat(void 0,{minimumFractionDigits:2,maximumFractionDigits:2});e.s(["formatDurationForTimeline",0,e=>i(e,!0),"formatTimeSelection",0,function(e){return e>=1e3?`${a.format(e/1e3)}s`:`${a.format(e)}ms`},"formatWallClockTime",0,function(e){let t=new Date(e),r=String(t.getHours()).padStart(2,"0"),n=String(t.getMinutes()).padStart(2,"0"),i=String(t.getSeconds()).padStart(2,"0");return`${r}:${n}:${i}`},"getHighResInMs",0,o,"getMsInHighRes",0,s],48300);let l=e=>{if(!e.events.length)return;let t=`${e.spanId}:ev`;return e.events.map((e,r)=>({key:`${t}${r}`,timestamp:o(e.timestamp),event:e})).sort((e,t)=>e.timestamp-t.timestamp)};e.s(["addToRow",0,(e,t,r)=>{let n=t.parent;for(let i=(n?.row||-1)+1;;++i){let n=e[i];if(n){if(!n.every(({startTime:e,endTime:n})=>e+r>t.endTime||n-r<t.startTime))continue}else n=[],e.push(n);t.row=i,n.push(t);break}},"adjustSpanVisibility",0,(e,t)=>(e.isVisible=!0,e.isHovered=!1,e.isVisible),"parseTrace",0,e=>{let{spans:t}=e,r={startTime:0,endTime:0,duration:0,depth:0,children:[]},n={},i=new Map,a=e=>{let t=i.get(e);if(t)return t;let r=i.size+1;return i.set(e,r),r},u=!1;for(let e of t){let t,i=o(e.startTime),s=o(e.endTime),c=o(e.duration);s>r.endTime&&(r.endTime=s,r.duration=s-r.startTime),(0===r.startTime||i<r.startTime)&&(r.startTime=i,r.duration=r.endTime-i);let m=e.resource.startsWith("vercel.");m||(u=!0);let d=m&&("vercel.serverless-runtime"!==e.resource||!("http.method"in e.attributes)),f=d?0:a(e.resource);d&&(t=`▲ ${e.name}`),n[e.spanId]={parent:null,startTime:i,endTime:s,duration:c,span:e,depth:0,label:t,events:l(e),isVercel:d,children:[],resourceIndex:f,activeStartTime:e.activeStartTime?o(e.activeStartTime):void 0}}let c=(e,t)=>{let i;t&&(i=n[t])||(i=r),e.parent=i,i.children.push(e)},m=e=>{for(let t of("parent"in e&&(e.depth=e.parent.depth+1),e.children))m(t)},d=1,f=(e,t)=>{if("parent"in e&&e.span.name===t){let t=e.endTime,r=e=>e.children.length?e.children.map(r).sort((e,t)=>e.duration-t.duration)[0]||e:"waitUntil"===e.span.name?(t=e.startTime,e.parent):e,i=r(e),o=`instrumentation-hint-${d++}`,a=.05*e.duration,l=e.startTime+a,u=Math.max(l+a,Math.min(t-.01*e.duration,e.endTime-a)),c=u-l,m={parent:i,startTime:l,endTime:u,duration:c,span:{spanId:o,name:"Add your spans here",resource:"",kind:0,library:{name:""},status:{code:200},traceFlags:0,attributes:{},links:[],events:[],startTime:s(l),endTime:s(u),duration:s(c)},depth:e.depth+1,isVercel:!1,isInstrumentationHint:!0,children:[],resourceIndex:1};return i.children.push(m),n[o]=m,!0}for(let r of e.children)if(f(r,t))return!0;return!1};for(let e of Object.values(n))c(e,e.span.parentSpanId);if(m(r),!u){for(let e of["Invoke Function","Invoke Middleware","Vercel Runtime"])if(f(r,e))break}return{root:r,map:n}}],69420)},21186,e=>{"use strict";var t=e.i(69420);let r=0;self.addEventListener("message",e=>{let t=e.data;switch(r=Math.max(r,t?.requestId||0),t.type){case"calculateSpanPositions":i(t.root);break;case"filterSpans":s(t.root,t.filter)}});let n=(e,t)=>{for(let r of("parent"in e&&(e.row=-1,e.isVisible=!0,t.push(e)),e.children.slice().sort((e,t)=>e.startTime-t.startTime||t.duration-e.duration)))n(r,t)},i=e=>{let i=r,o=[],s=[];n(e,s);let a=Date.now()-10,l=-64,u=0,c=()=>{for(let e of o)e.sort((e,t)=>e.startTime-t.startTime);postMessage({requestId:i,type:"setRowsResult",rows:o,isEnd:!s.length}),a=Date.now(),l=u};for(;;){let e=s.shift();if(!e)return void c();(0,t.addToRow)(o,e,.001),++u,(Date.now()-a>=15||u-l>=256)&&c()}},o=/(?<=^|\s)(?<pair>(?<key>[\w.]+):(?<value>\S*))/g,s=(e,t)=>{let n=r,i=new Set,s=t.replace(o,"").replace(/\s{2,}/g," ").trim(),a=[];for(let e of t.matchAll(o)){let{key:t="",value:r=""}=e.groups||{};a.push([t,r.toLocaleLowerCase()])}let l=e=>!!(e.name.toLocaleLowerCase().includes(s)||e.spanId.toLocaleLowerCase().includes(s))&&a.every(([t,r])=>{let n=e.attributes[t];return!!n&&String(n).toLocaleLowerCase().includes(r)}),u=e=>{for(let t of e.children)l(t.span)&&i.add(t.span.spanId),u(t)};u(e),postMessage({requestId:n,type:"updateHighlight",matches:i})};e.s([])}]);
@@ -0,0 +1,2 @@
1
+ @font-face{font-family:GeistMono;src:url(../media/GeistMono_Variable.p.17jn9btb_52pq.woff2)format("woff2");font-display:swap;font-weight:100 900}.geistmono_157ca88a-module__emspPq__className{font-family:GeistMono,ui-monospace,SFMono-Regular,Roboto Mono,Menlo,Monaco,Liberation Mono,DejaVu Sans Mono,Courier New,monospace}.geistmono_157ca88a-module__emspPq__variable{--font-geist-mono:"GeistMono", ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier New, monospace}
2
+ @font-face{font-family:GeistSans;src:url(../media/Geist_Variable-s.p.0-te~ja_gpvcf.woff2)format("woff2");font-display:swap;font-weight:100 900}@font-face{font-family:GeistSans Fallback;src:local(Arial);ascent-override:94.56%;descent-override:27.76%;line-gap-override:0.0%;size-adjust:106.28%}.geistsans_d5a4f12f-module__aLrMWa__className{font-family:GeistSans,GeistSans Fallback}.geistsans_d5a4f12f-module__aLrMWa__variable{--font-geist-sans:"GeistSans", "GeistSans Fallback"}