@pen.dev/cli 0.2.8
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 +66 -0
- package/README.md +369 -0
- package/SKILL.md +175 -0
- package/dist/all-Bd-ariyL.mjs +2 -0
- package/dist/anthropic-messages-D9L1s6pn.mjs +40 -0
- package/dist/anthropic-messages-OUY8OJj7.mjs +40 -0
- package/dist/azure-openai-responses-DJKVhgL-.mjs +2 -0
- package/dist/azure-openai-responses-DSoXDHyP.mjs +2 -0
- package/dist/browserAll-CGZu5S9C.mjs +2 -0
- package/dist/completionchunk-BaC49qbM.mjs +28 -0
- package/dist/completionchunk-c1fsGiUK.mjs +2 -0
- package/dist/diagnostics-hlO-DFfk.mjs +2 -0
- package/dist/dist-BMO4tFTj.mjs +1576 -0
- package/dist/dist-BupqiQep.mjs +10 -0
- package/dist/dist-CCiXmKIu.mjs +10 -0
- package/dist/dist-Dq7S86ex.mjs +4 -0
- package/dist/emscripten-module.browser-F76W5DM6-3XbeCXXF.mjs +5147 -0
- package/dist/emscripten-module.browser-XIKQQPVU-JPkxo8p_.mjs +2160 -0
- package/dist/error-body-D-jnPxbB.mjs +2 -0
- package/dist/esm-D7vjDQPJ.mjs +2 -0
- package/dist/esm-DZA7B0U9.mjs +25 -0
- package/dist/ffi-D6Fxg1d3.mjs +2 -0
- package/dist/ffi-u92ceo2s.mjs +2 -0
- package/dist/from-BRY6g9CG.mjs +15 -0
- package/dist/from-Bra_AO5N.mjs +15 -0
- package/dist/github-copilot-headers-ByQsj8SR.mjs +2 -0
- package/dist/github-copilot-headers-C4gA1Pjv.mjs +2 -0
- package/dist/google-generative-ai-BqfOLKon.mjs +2 -0
- package/dist/google-generative-ai-CZCmY9Gg.mjs +2 -0
- package/dist/google-shared-TkwodIGJ.mjs +318 -0
- package/dist/google-shared-YCDndJGN.mjs +318 -0
- package/dist/google-vertex-COsje8-Z.mjs +2 -0
- package/dist/google-vertex-Cz5Ddo09.mjs +2 -0
- package/dist/hash-BFdQp5Bn.mjs +2 -0
- package/dist/hash-DFXd8wf4.mjs +2 -0
- package/dist/headers-BkXFKypW.mjs +2 -0
- package/dist/headers-DtjIrAKV.mjs +2 -0
- package/dist/html-DwPxy9Y2.mjs +26 -0
- package/dist/index.mjs +8 -0
- package/dist/init-BaeOBiNV.mjs +2 -0
- package/dist/json-parse-BEWPMC87.mjs +4 -0
- package/dist/json-parse-qcO5FIDw.mjs +4 -0
- package/dist/mistral-conversations-DIR6EyvH.mjs +8 -0
- package/dist/mistral-conversations-JED5QLUZ.mjs +10 -0
- package/dist/models-CtsqYGxn.mjs +2 -0
- package/dist/models-DVeZ-5Ql.mjs +2 -0
- package/dist/module-ES6BEMUI-DGywGVC7.mjs +2 -0
- package/dist/module-asyncify-2EFITU5U-BU2CORSO.mjs +2 -0
- package/dist/multipart-parser-4wzMiNnD.mjs +3 -0
- package/dist/multipart-parser-CYJPmLQW.mjs +3 -0
- package/dist/node_modules/@highagency/pencil-wasm/enums.gen.d.ts +247 -0
- package/dist/node_modules/@highagency/pencil-wasm/package.json +26 -0
- package/dist/node_modules/@highagency/pencil-wasm/pencil.d.ts +769 -0
- package/dist/node_modules/@highagency/pencil-wasm/pencil.js +1 -0
- package/dist/node_modules/@highagency/pencil-wasm/pencil.wasm +0 -0
- package/dist/openai-CJ1JzbCY.mjs +17 -0
- package/dist/openai-Cv91uXJB.mjs +17 -0
- package/dist/openai-codex-responses-Cq8yFwfN.mjs +8 -0
- package/dist/openai-codex-responses-CzFfnGCe.mjs +8 -0
- package/dist/openai-completions-DT4sdoVc.mjs +6 -0
- package/dist/openai-completions-iO6yRDuR.mjs +6 -0
- package/dist/openai-prompt-cache-CjAED4AP.mjs +2 -0
- package/dist/openai-prompt-cache-tVxLccHG.mjs +2 -0
- package/dist/openai-responses-Cr3SvtkS.mjs +2 -0
- package/dist/openai-responses-Dtr2Vk2j.mjs +2 -0
- package/dist/openai-responses-shared-BLDoTd9K.mjs +13 -0
- package/dist/openai-responses-shared-C4PQs_0V.mjs +11 -0
- package/dist/openrouter-images-Dk-x2ke6.mjs +2 -0
- package/dist/openrouter-images-NEnwWNeg.mjs +2 -0
- package/dist/otel-BIqiVgiM.mjs +4 -0
- package/dist/otel-BbTSxAZp.mjs +4 -0
- package/dist/out/data/halo.lib.pen +4728 -0
- package/dist/out/data/lunaris.lib.pen +5980 -0
- package/dist/out/data/nitro.lib.pen +4923 -0
- package/dist/out/data/shadcn.lib.pen +5596 -0
- package/dist/out/mcp-server-darwin-arm64 +0 -0
- package/dist/out/mcp-server-darwin-x64 +0 -0
- package/dist/out/mcp-server-linux-arm64 +0 -0
- package/dist/out/mcp-server-linux-x64 +0 -0
- package/dist/out/mcp-server-windows-arm64.exe +0 -0
- package/dist/out/mcp-server-windows-x64.exe +0 -0
- package/dist/photon_rs-D_fXqzJa.mjs +2 -0
- package/dist/provider-env-D0o9FEJi.mjs +2 -0
- package/dist/provider-env-DTh1Xe-B.mjs +2 -0
- package/dist/sanitize-unicode-B5GgPEiu.mjs +2 -0
- package/dist/sanitize-unicode-DVHYNBlY.mjs +2 -0
- package/dist/src-Bk9f60_P.mjs +4 -0
- package/dist/src-CbkJodKR.mjs +4 -0
- package/dist/standalone-BGhJUGyg.mjs +30 -0
- package/dist/transform-messages-DSEUXL48.mjs +2 -0
- package/dist/transform-messages-j96k5V_T.mjs +2 -0
- package/dist/validate-response-CezyBuEO.mjs +3 -0
- package/dist/webworkerAll-Dy6-Qx-T.mjs +2 -0
- package/package.json +69 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import{D as e,E as t,T as n,_ as r,b as i,d as a,f as o,g as s,h as c,j as l,l as u,m as d,p as f,u as p,v as m,x as h,y as g}from"./index.mjs";l.add(e),l.add(t),l.add(g),l.add(n),l.add(m),l.add(r),l.add(s),l.add(u),l.add(p),l.add(f),l.add(a),l.add(o),l.add(d),l.add(c),l.add(i),l.add(h);export{};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import{Mt as e}from"./index.mjs";var t=e((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Allow=e.ALL=e.COLLECTION=e.ATOM=e.SPECIAL=e.INF=e._INFINITY=e.INFINITY=e.NAN=e.BOOL=e.NULL=e.OBJ=e.ARR=e.NUM=e.STR=void 0,e.STR=1,e.NUM=2,e.ARR=4,e.OBJ=8,e.NULL=16,e.BOOL=32,e.NAN=64,e.INFINITY=128,e._INFINITY=256,e.INF=e.INFINITY|e._INFINITY,e.SPECIAL=e.NULL|e.BOOL|e.INF|e.NAN,e.ATOM=e.STR|e.NUM|e.SPECIAL,e.COLLECTION=e.ARR|e.OBJ,e.ALL=e.ATOM|e.COLLECTION,e.Allow={STR:e.STR,NUM:e.NUM,ARR:e.ARR,OBJ:e.OBJ,NULL:e.NULL,BOOL:e.BOOL,NAN:e.NAN,INFINITY:e.INFINITY,_INFINITY:e._INFINITY,INF:e.INF,SPECIAL:e.SPECIAL,ATOM:e.ATOM,COLLECTION:e.COLLECTION,ALL:e.ALL},e.default=e.Allow})),n=e((e=>{var n=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),r=e&&e.__exportStar||function(e,t){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(t,r)&&n(t,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.Allow=e.MalformedJSON=e.PartialJSON=e.parseJSON=e.parse=void 0;let i=t();Object.defineProperty(e,`Allow`,{enumerable:!0,get:function(){return i.Allow}}),r(t(),e);var a=class extends Error{};e.PartialJSON=a;var o=class extends Error{};e.MalformedJSON=o;function s(e,t=i.Allow.ALL){if(typeof e!=`string`)throw TypeError(`expecting str, got ${typeof e}`);if(!e.trim())throw Error(`${e} is empty`);return c(e.trim(),t)}e.parseJSON=s;let c=(e,t)=>{let n=e.length,r=0,s=e=>{throw new a(`${e} at position ${r}`)},c=e=>{throw new o(`${e} at position ${r}`)},l=()=>(m(),r>=n&&s(`Unexpected end of input`),e[r]===`"`?u():e[r]===`{`?d():e[r]===`[`?f():e.substring(r,r+4)===`null`||i.Allow.NULL&t&&n-r<4&&`null`.startsWith(e.substring(r))?(r+=4,null):e.substring(r,r+4)===`true`||i.Allow.BOOL&t&&n-r<4&&`true`.startsWith(e.substring(r))?(r+=4,!0):e.substring(r,r+5)===`false`||i.Allow.BOOL&t&&n-r<5&&`false`.startsWith(e.substring(r))?(r+=5,!1):e.substring(r,r+8)===`Infinity`||i.Allow.INFINITY&t&&n-r<8&&`Infinity`.startsWith(e.substring(r))?(r+=8,1/0):e.substring(r,r+9)===`-Infinity`||i.Allow._INFINITY&t&&1<n-r&&n-r<9&&`-Infinity`.startsWith(e.substring(r))?(r+=9,-1/0):e.substring(r,r+3)===`NaN`||i.Allow.NAN&t&&n-r<3&&`NaN`.startsWith(e.substring(r))?(r+=3,NaN):p()),u=()=>{let a=r,o=!1;for(r++;r<n&&(e[r]!==`"`||o&&e[r-1]===`\\`);)o=e[r]===`\\`?!o:!1,r++;if(e.charAt(r)==`"`)try{return JSON.parse(e.substring(a,++r-Number(o)))}catch(e){c(String(e))}else if(i.Allow.STR&t)try{return JSON.parse(e.substring(a,r-Number(o))+`"`)}catch{return JSON.parse(e.substring(a,e.lastIndexOf(`\\`))+`"`)}s(`Unterminated string literal`)},d=()=>{r++,m();let a={};try{for(;e[r]!==`}`;){if(m(),r>=n&&i.Allow.OBJ&t)return a;let o=u();m(),r++;try{a[o]=l()}catch(e){if(i.Allow.OBJ&t)return a;throw e}m(),e[r]===`,`&&r++}}catch{if(i.Allow.OBJ&t)return a;s(`Expected '}' at end of object`)}return r++,a},f=()=>{r++;let n=[];try{for(;e[r]!==`]`;)n.push(l()),m(),e[r]===`,`&&r++}catch{if(i.Allow.ARR&t)return n;s(`Expected ']' at end of array`)}return r++,n},p=()=>{if(r===0){e===`-`&&c(`Not sure what '-' is`);try{return JSON.parse(e)}catch(n){if(i.Allow.NUM&t)try{return JSON.parse(e.substring(0,e.lastIndexOf(`e`)))}catch{}c(String(n))}}let a=r;for(e[r]===`-`&&r++;e[r]&&`,]}`.indexOf(e[r])===-1;)r++;r==n&&!(i.Allow.NUM&t)&&s(`Unterminated number literal`);try{return JSON.parse(e.substring(a,r))}catch{e.substring(a,r)===`-`&&s(`Not sure what '-' is`);try{return JSON.parse(e.substring(a,e.lastIndexOf(`e`)))}catch(e){c(String(e))}}},m=()=>{for(;r<n&&`
|
|
3
|
+
\r `.includes(e[r]);)r++};return l()};e.parse=s}))();const r=new Set([`"`,`\\`,`/`,`b`,`f`,`n`,`r`,`t`,`u`]);function i(e){let t=e.codePointAt(0);return t!==void 0&&t>=0&&t<=31}function a(e){switch(e){case`\b`:return`\\b`;case`\f`:return`\\f`;case`
|
|
4
|
+
`:return`\\n`;case`\r`:return`\\r`;case` `:return`\\t`;default:return`\\u${e.codePointAt(0)?.toString(16).padStart(4,`0`)??`0000`}`}}function o(e){let t=``,n=!1;for(let o=0;o<e.length;o++){let s=e[o];if(!n){t+=s,s===`"`&&(n=!0);continue}if(s===`"`){t+=s,n=!1;continue}if(s===`\\`){let n=e[o+1];if(n===void 0){t+=`\\\\`;continue}if(n===`u`){let n=e.slice(o+2,o+6);if(/^[0-9a-fA-F]{4}$/.test(n)){t+=`\\u${n}`,o+=5;continue}}if(r.has(n)){t+=`\\${n}`,o+=1;continue}t+=`\\\\`;continue}t+=i(s)?a(s):s}return t}function s(e){try{return JSON.parse(e)}catch(t){let n=o(e);if(n!==e)return JSON.parse(n);throw t}}function c(e){if(!e||e.trim()===``)return{};try{return s(e)}catch{try{return(0,n.parse)(e)??{}}catch{try{return(0,n.parse)(o(e))??{}}catch{return{}}}}}export{c as n,s as t};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import{Mt as e}from"./index.mjs";var t=e((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Allow=e.ALL=e.COLLECTION=e.ATOM=e.SPECIAL=e.INF=e._INFINITY=e.INFINITY=e.NAN=e.BOOL=e.NULL=e.OBJ=e.ARR=e.NUM=e.STR=void 0,e.STR=1,e.NUM=2,e.ARR=4,e.OBJ=8,e.NULL=16,e.BOOL=32,e.NAN=64,e.INFINITY=128,e._INFINITY=256,e.INF=e.INFINITY|e._INFINITY,e.SPECIAL=e.NULL|e.BOOL|e.INF|e.NAN,e.ATOM=e.STR|e.NUM|e.SPECIAL,e.COLLECTION=e.ARR|e.OBJ,e.ALL=e.ATOM|e.COLLECTION,e.Allow={STR:e.STR,NUM:e.NUM,ARR:e.ARR,OBJ:e.OBJ,NULL:e.NULL,BOOL:e.BOOL,NAN:e.NAN,INFINITY:e.INFINITY,_INFINITY:e._INFINITY,INF:e.INF,SPECIAL:e.SPECIAL,ATOM:e.ATOM,COLLECTION:e.COLLECTION,ALL:e.ALL},e.default=e.Allow})),n=e((e=>{var n=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),r=e&&e.__exportStar||function(e,t){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(t,r)&&n(t,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.Allow=e.MalformedJSON=e.PartialJSON=e.parseJSON=e.parse=void 0;let i=t();Object.defineProperty(e,`Allow`,{enumerable:!0,get:function(){return i.Allow}}),r(t(),e);var a=class extends Error{};e.PartialJSON=a;var o=class extends Error{};e.MalformedJSON=o;function s(e,t=i.Allow.ALL){if(typeof e!=`string`)throw TypeError(`expecting str, got ${typeof e}`);if(!e.trim())throw Error(`${e} is empty`);return c(e.trim(),t)}e.parseJSON=s;let c=(e,t)=>{let n=e.length,r=0,s=e=>{throw new a(`${e} at position ${r}`)},c=e=>{throw new o(`${e} at position ${r}`)},l=()=>(m(),r>=n&&s(`Unexpected end of input`),e[r]===`"`?u():e[r]===`{`?d():e[r]===`[`?f():e.substring(r,r+4)===`null`||i.Allow.NULL&t&&n-r<4&&`null`.startsWith(e.substring(r))?(r+=4,null):e.substring(r,r+4)===`true`||i.Allow.BOOL&t&&n-r<4&&`true`.startsWith(e.substring(r))?(r+=4,!0):e.substring(r,r+5)===`false`||i.Allow.BOOL&t&&n-r<5&&`false`.startsWith(e.substring(r))?(r+=5,!1):e.substring(r,r+8)===`Infinity`||i.Allow.INFINITY&t&&n-r<8&&`Infinity`.startsWith(e.substring(r))?(r+=8,1/0):e.substring(r,r+9)===`-Infinity`||i.Allow._INFINITY&t&&1<n-r&&n-r<9&&`-Infinity`.startsWith(e.substring(r))?(r+=9,-1/0):e.substring(r,r+3)===`NaN`||i.Allow.NAN&t&&n-r<3&&`NaN`.startsWith(e.substring(r))?(r+=3,NaN):p()),u=()=>{let a=r,o=!1;for(r++;r<n&&(e[r]!==`"`||o&&e[r-1]===`\\`);)o=e[r]===`\\`?!o:!1,r++;if(e.charAt(r)==`"`)try{return JSON.parse(e.substring(a,++r-Number(o)))}catch(e){c(String(e))}else if(i.Allow.STR&t)try{return JSON.parse(e.substring(a,r-Number(o))+`"`)}catch{return JSON.parse(e.substring(a,e.lastIndexOf(`\\`))+`"`)}s(`Unterminated string literal`)},d=()=>{r++,m();let a={};try{for(;e[r]!==`}`;){if(m(),r>=n&&i.Allow.OBJ&t)return a;let o=u();m(),r++;try{a[o]=l()}catch(e){if(i.Allow.OBJ&t)return a;throw e}m(),e[r]===`,`&&r++}}catch{if(i.Allow.OBJ&t)return a;s(`Expected '}' at end of object`)}return r++,a},f=()=>{r++;let n=[];try{for(;e[r]!==`]`;)n.push(l()),m(),e[r]===`,`&&r++}catch{if(i.Allow.ARR&t)return n;s(`Expected ']' at end of array`)}return r++,n},p=()=>{if(r===0){e===`-`&&c(`Not sure what '-' is`);try{return JSON.parse(e)}catch(n){if(i.Allow.NUM&t)try{return JSON.parse(e.substring(0,e.lastIndexOf(`e`)))}catch{}c(String(n))}}let a=r;for(e[r]===`-`&&r++;e[r]&&`,]}`.indexOf(e[r])===-1;)r++;r==n&&!(i.Allow.NUM&t)&&s(`Unterminated number literal`);try{return JSON.parse(e.substring(a,r))}catch{e.substring(a,r)===`-`&&s(`Not sure what '-' is`);try{return JSON.parse(e.substring(a,e.lastIndexOf(`e`)))}catch(e){c(String(e))}}},m=()=>{for(;r<n&&`
|
|
3
|
+
\r `.includes(e[r]);)r++};return l()};e.parse=s}))();const r=new Set([`"`,`\\`,`/`,`b`,`f`,`n`,`r`,`t`,`u`]);function i(e){let t=e.codePointAt(0);return t!==void 0&&t>=0&&t<=31}function a(e){switch(e){case`\b`:return`\\b`;case`\f`:return`\\f`;case`
|
|
4
|
+
`:return`\\n`;case`\r`:return`\\r`;case` `:return`\\t`;default:return`\\u${e.codePointAt(0)?.toString(16).padStart(4,`0`)??`0000`}`}}function o(e){let t=``,n=!1;for(let o=0;o<e.length;o++){let s=e[o];if(!n){t+=s,s===`"`&&(n=!0);continue}if(s===`"`){t+=s,n=!1;continue}if(s===`\\`){let n=e[o+1];if(n===void 0){t+=`\\\\`;continue}if(n===`u`){let n=e.slice(o+2,o+6);if(/^[0-9a-fA-F]{4}$/.test(n)){t+=`\\u${n}`,o+=5;continue}}if(r.has(n)){t+=`\\${n}`,o+=1;continue}t+=`\\\\`;continue}t+=i(s)?a(s):s}return t}function s(e){try{return JSON.parse(e)}catch(t){let n=o(e);if(n!==e)return JSON.parse(n);throw t}}function c(e){if(!e||e.trim()===``)return{};try{return s(e)}catch{try{return(0,n.parse)(e)??{}}catch{try{return(0,n.parse)(o(e))??{}}catch{return{}}}}}export{c as n,o as r,s as t};
|