@inkeep/open-knowledge 0.8.0-beta.15 → 0.8.0-beta.17
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/dist/assets/skills/discovery/SKILL.md +1 -1
- package/dist/assets/skills/project/SKILL.md +1 -1
- package/dist/cli.mjs +31 -31
- package/dist/constants-EVa8rJ0p.mjs +2 -0
- package/dist/dist-3m799Jis.mjs +1 -0
- package/dist/{dist-D4zoOvWC.mjs → dist-DikIN25T.mjs} +151 -13
- package/dist/{gh-detect-jLwJ9bOe.mjs → gh-detect-DaEGWQM-.mjs} +2 -2
- package/dist/index.d.mts +1 -15
- package/dist/index.mjs +1 -1
- package/dist/init-DX-Cg7hF.mjs +271 -0
- package/dist/init-DaWRJoym.mjs +1 -0
- package/dist/{loader-CD9Cf-je.mjs → loader-0yiiW-5-.mjs} +3 -3
- package/dist/loader-D7lxInHP.mjs +1 -0
- package/dist/{preview-DvYf3kcu.mjs → preview-Cm1-EGf1.mjs} +2 -2
- package/dist/preview-MhkMMvsI.mjs +1 -0
- package/dist/public/assets/{ActivityModeContent-DC0tgfEU.js → ActivityModeContent-CG2UgCf1.js} +1 -1
- package/dist/public/assets/{DocumentContext-DssYjOIq.js → DocumentContext-BPz8dFFq.js} +3 -3
- package/dist/public/assets/{GraphPanel-D1Xe3oYD.js → GraphPanel-DpaVu94t.js} +1 -1
- package/dist/public/assets/{SettingsDialogBody-B1Q7kFlF.js → SettingsDialogBody-D-15Q76T.js} +1 -1
- package/dist/public/assets/{SourceEditor-DeK54x6f.js → SourceEditor-DQ7yOExn.js} +1 -1
- package/dist/public/assets/{config-validation-events-VhnRuCsy.js → config-validation-events-BWzBjvAv.js} +1 -1
- package/dist/public/assets/index-Bu8evzaC.js +1914 -0
- package/dist/public/assets/{prop-types-6aVTZR_X.js → prop-types-DZ9l9AGc.js} +117 -117
- package/dist/public/assets/{target-navigation-intent-afh2yjUE.js → target-navigation-intent-ibsX-mJP.js} +1 -1
- package/dist/public/assets/{toggle-group-MKl7znyp.js → toggle-group-RQAwwD6f.js} +1 -1
- package/dist/public/assets/{typing-burst-detector-BcVx7LIb.js → typing-burst-detector-CHJ59pDO.js} +1 -1
- package/dist/public/index.html +7 -7
- package/dist/{repair-launch-json-Dhq_x0b3.mjs → repair-launch-json-DIJDH5Tl.mjs} +2 -2
- package/dist/{repair-mcp-configs-DOuR37tP.mjs → repair-mcp-configs-DisocOil.mjs} +2 -2
- package/dist/{repair-skills-B9jE33Ah.mjs → repair-skills-B0q960oj.mjs} +2 -2
- package/dist/repair-skills-oNUU16Sj.mjs +1 -0
- package/dist/src-Q5deioVX.mjs +2 -0
- package/dist/{start-yi64RGnp.mjs → start-DUoyJgxA.mjs} +2 -2
- package/dist/start-DpTR2AVF.mjs +1 -0
- package/dist/{write-project-skill-DCqIN5fH.mjs → write-project-skill-Bh1t5k11.mjs} +2 -2
- package/package.json +1 -1
- package/dist/constants-Bdd0BBBE.mjs +0 -2
- package/dist/dist-LiBfDl2k.mjs +0 -1
- package/dist/init-CL8mchva.mjs +0 -409
- package/dist/init-Cn4QQisC.mjs +0 -1
- package/dist/loader-Bd8DLr1D.mjs +0 -1
- package/dist/preview-DnjgfpXJ.mjs +0 -1
- package/dist/public/assets/index-DMrNxv7s.js +0 -1914
- package/dist/repair-skills-7pBVTbub.mjs +0 -1
- package/dist/src-Cbymbi2A.mjs +0 -2
- package/dist/start-C1b3Km0h.mjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./repair-skills-B9jE33Ah.mjs";export{e as repairSkills};
|
package/dist/src-Cbymbi2A.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./gh-detect-jLwJ9bOe.mjs";import{d as e,g as t,u as n}from"./init-CL8mchva.mjs";import"./loader-CD9Cf-je.mjs";import"./preview-DvYf3kcu.mjs";import{n as r}from"./write-project-skill-DCqIN5fH.mjs";import{dirname as i,isAbsolute as a,join as o,relative as s,resolve as c}from"node:path";import{statSync as l}from"node:fs";import{readFile as u,realpath as d}from"node:fs/promises";function f(e){return e.replace(/:\d+$/,``)}function p(e){let t=e.trim();if(!t)return null;{let e=/^https?:\/\/([^/?#]+)\/([\w.\-~%]+)\/([\w.\-~%]+?)(?:\.git)?\/?$/.exec(t);if(e)return{protocol:`https`,hostname:f(e[1]),owner:e[2],name:e[3]}}{let e=/^ssh:\/\/(?:[\w.-]+@)?([^/?#]+)\/([\w.\-~%]+)\/([\w.\-~%]+?)(?:\.git)?\/?$/.exec(t);if(e)return{protocol:`ssh`,hostname:f(e[1]),owner:e[2],name:e[3]}}{let e=/^git:\/\/([^/?#]+)\/([\w.\-~%]+)\/([\w.\-~%]+?)(?:\.git)?\/?$/.exec(t);if(e)return{protocol:`git`,hostname:f(e[1]),owner:e[2],name:e[3]}}{let e=/^(?:[\w.-]+@)?([\w.-]+):([\w.\-~%]+)\/([\w.\-~%]+?)(?:\.git)?$/.exec(t);if(e?.[1].includes(`.`)||e&&t.startsWith(`git@`))return{protocol:`ssh`,hostname:e[1],owner:e[2],name:e[3]}}{let e=/^git:([\w.-]+)\/([\w.\-~%]+)\/([\w.\-~%]+?)(?:\.git)?\/?$/.exec(t);if(e)return{protocol:`git`,hostname:e[1],owner:e[2],name:e[3]}}if(!t.includes(`://`)&&!t.includes(`@`)&&!t.startsWith(`/`)){let e=/^([\w.-]+)\/([\w.\-~%]+?)(?:\.git)?$/.exec(t);if(e)return{protocol:`https`,hostname:`github.com`,owner:e[1],name:e[2]}}return null}function m(e){let t;try{t=new URL(e)}catch{return null}if(t.hostname!==`github.com`&&t.hostname!==`www.github.com`)return null;let n=t.pathname.split(`/`).filter(e=>e.length>0);if(n.length<5||n[2]!==`blob`)return null;let r,i,a,o;try{r=decodeURIComponent(n[0]),i=decodeURIComponent(n[1]),a=decodeURIComponent(n[3]),o=n.slice(4).map(e=>decodeURIComponent(e))}catch{return null}return!r||!i||!a||o.length===0||o.some(e=>e.length===0)?null:{owner:r,repo:i,branch:a,path:o.join(`/`)}}async function h(e,t){let n,r;try{n=await d(c(e)),r=await d(c(i(e)))}catch{return{kind:`not-git`}}if(!g(n,r))return{kind:`symlink-escape`};let s=o(n,`.git`),f;try{f=l(s)}catch{return{kind:`not-git`}}let m;if(f.isDirectory()){let e;try{e=await d(s)}catch{return{kind:`not-git`}}if(!g(e,n))return{kind:`symlink-escape`};m=e}else if(f.isFile()){let e;try{e=await u(s,`utf-8`)}catch{return{kind:`not-git`}}let t=/^gitdir:\s*(.+)$/m.exec(e.trim());if(!t)return{kind:`not-git`};let r=t[1].trim(),i=a(r)?r:c(n,r);try{m=await d(i)}catch{return{kind:`not-git`}}}else return{kind:`not-git`};let h=o(m,`config`),_;try{_=await u(h,`utf-8`)}catch{return{kind:`not-git`}}let y=v(_);if(y===null)return{kind:`no-origin`};let b=p(y);if(b===null||b.hostname!==`github.com`)return{kind:`non-github`};let x=b.owner.toLowerCase()===t.owner.toLowerCase(),S=b.name.toLowerCase()===t.repo.toLowerCase();return!x||!S?{kind:`wrong-repo`,actualOwner:b.owner,actualRepo:b.name}:{kind:`ok`,gitRemoteUrl:`https://github.com/${b.owner}/${b.name}.git`}}function g(e,t){if(e===t)return!0;let n=s(t,e);return n.length>0&&!n.startsWith(`..`)&&!a(n)}function _(e){let t=e.indexOf(`#`),n=e.indexOf(`;`),r=-1;return t>=0&&n>=0?r=Math.min(t,n):t>=0?r=t:n>=0&&(r=n),(r===-1?e:e.slice(0,r)).trim()}function v(e){let t=!1;for(let n of e.split(/\r?\n/)){let e=_(n);if(e.length===0)continue;if(e.startsWith(`[`)){t=/^\[\s*remote\s+["']origin["']\s*\]$/.test(e);continue}if(!t)continue;let r=/^url\s*=\s*(.+)$/.exec(e);if(r)return y(r[1])}return null}function y(e){let t=e.trim();return t.startsWith(`"`)&&t.endsWith(`"`)||t.startsWith(`'`)&&t.endsWith(`'`)?t.slice(1,-1):t}const b=[{id:`mcp-config`,write(t,n,r){let i=t.projectConfigPath?.(n);if(!i)return{integration:`mcp-config`,editorId:t.id,action:`skipped-unsupported`};try{let a=e(t,n,r,void 0,i);return a.action===`written`||a.action===`overwritten`?{integration:`mcp-config`,editorId:t.id,action:a.action,path:a.configPath}:a.action===`failed`?{integration:`mcp-config`,editorId:t.id,action:`failed`,path:a.configPath,error:a.error??`unknown failure`}:{integration:`mcp-config`,editorId:t.id,action:`failed`,path:a.configPath,error:`unexpected project-scope action: ${a.action}`}}catch(e){return{integration:`mcp-config`,editorId:t.id,action:`failed`,path:i,error:e instanceof Error?e.message:String(e)}}}},{id:`project-skill`,write(e,t,n){try{let n=r(e,t);return{integration:`project-skill`,editorId:e.id,action:n.action,...n.path?{path:n.path}:{},...n.error?{error:n.error}:{}}}catch(t){return{integration:`project-skill`,editorId:e.id,action:`failed`,error:t instanceof Error?t.message:String(t)}}}}];function x(e,n,r={},i=b){let a=[];for(let o of n){let n=t[o];for(let t of i)a.push(t.write(n,e,r))}return a}function S(e,t,r={}){return{integrations:x(e,t,r),claudeLaunchJson:t.includes(`claude`)?n(e,r):void 0}}export{p as i,h as n,m as r,S as t};
|
|
2
|
-
//# sourceMappingURL=src-Cbymbi2A.mjs.map
|
package/dist/start-C1b3Km0h.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as e}from"./start-yi64RGnp.mjs";export{e as startCommand};
|