@inkeep/open-knowledge 0.30.1-beta.0 → 0.30.1-beta.2
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 +6 -6
- package/dist/constants-BOUQQtFy.mjs +2 -0
- package/dist/index.mjs +1 -1
- package/dist/{init-ClpypG3g.mjs → init-DveItCe4.mjs} +3 -3
- package/dist/init-mZzLgT7n.mjs +1 -0
- package/dist/{launch-json-removal-xn7MkCsB.mjs → launch-json-removal-CF-9EoAq.mjs} +2 -2
- package/dist/{loader-CchJjVdi.mjs → loader-BSBMXM18.mjs} +2 -2
- package/dist/loader-DmLczCsj.mjs +1 -0
- package/dist/preview-BNL4FxYP.mjs +1 -0
- package/dist/{preview-D2iamTeW.mjs → preview-BVdoTce3.mjs} +2 -2
- package/dist/public/assets/{ActivityModeContent-Ck8qdJCp.js → ActivityModeContent-BmNXHtkV.js} +1 -1
- package/dist/public/assets/{DocumentContext-BmXknE_D.js → DocumentContext-TfAt4kJ2.js} +8 -8
- package/dist/public/assets/{ManagedArtifactProperties-w28ZuUXh.js → ManagedArtifactProperties-CdDmcobU.js} +1 -1
- package/dist/public/assets/{PropertyPanel-Cd7DFfct.js → PropertyPanel-zzS00_gE.js} +1 -1
- package/dist/public/assets/{SettingsDialogBody-BN5WnNHe.js → SettingsDialogBody-EMrRvJxz.js} +2 -2
- package/dist/public/assets/{SkillEditorActions-DAfDDMK2.js → SkillEditorActions-BDxlCXpQ.js} +1 -1
- package/dist/public/assets/{SourceEditor-DnBDsIm6.js → SourceEditor-CEgPDQLe.js} +1 -1
- package/dist/public/assets/{auth-state-cache-Bbu2EA_L.js → auth-state-cache-CRs0ug6Z.js} +3 -3
- package/dist/public/assets/index-PATXFBI0.js +2003 -0
- package/dist/public/assets/selection-context-CowvMKTL.js +4 -0
- package/dist/public/assets/{skill-actions-HpoN1bS5.js → skill-actions-BPr2Aud_.js} +1 -1
- package/dist/public/assets/{typing-burst-detector-DDRKfxpo.js → typing-burst-detector-PdfZQie3.js} +1 -1
- package/dist/public/index.html +7 -7
- package/dist/{repair-launch-json-CwihP13Q.mjs → repair-launch-json-D1jS-5bQ.mjs} +2 -2
- package/dist/{repair-mcp-configs-BUzEPWQg.mjs → repair-mcp-configs-SoFn9Ant.mjs} +2 -2
- package/dist/{src-C6gKf8Qs.mjs → src-lfnMR9ta.mjs} +2 -2
- package/dist/start-B2nR-t8L.mjs +1 -0
- package/dist/{start-5Q4Gw3Kt.mjs → start-BEkidCv9.mjs} +2 -2
- package/package.json +1 -1
- package/dist/constants-iHSmvP4B.mjs +0 -2
- package/dist/init-CQJEiSII.mjs +0 -1
- package/dist/loader-DmDn6utL.mjs +0 -1
- package/dist/preview-BJEdv869.mjs +0 -1
- package/dist/public/assets/index-CPErFLv2.js +0 -2003
- package/dist/public/assets/selection-context-C3RRsPiK.js +0 -4
- package/dist/start-C7scOBGK.mjs +0 -1
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{I as e}from"./DocumentContext-BmXknE_D.js";import{L as t}from"./CodeMirrorPropInput-Cqy5AMG8.js";function n(n){let r=e(n.state.selection.content(),n.state.schema);return t().serialize(r).trim()}function r(e){return e.lineCount===1&&e.charLen<100?{kind:`inline`,markdown:e.markdown}:e.surface===`source`&&e.sourceLineStart!==void 0&&e.sourceLineEnd!==void 0?{kind:`lines`,startLine:e.sourceLineStart,endLine:e.sourceLineEnd}:{kind:`anchor`,markdown:e.markdown}}function i(e,t){return e.sourceLineStart!==void 0&&e.sourceLineEnd!==void 0?`${t} (${e.sourceLineStart===e.sourceLineEnd?`${e.sourceLineStart}`:`${e.sourceLineStart}-${e.sourceLineEnd}`})`:e.lineCount>1?`${t} (${e.lineCount} lines)`:`${t} (selection)`}function a(e){let t=e.replace(/\r\n/g,`
|
|
2
|
-
`).split(`
|
|
3
|
-
`),n=[],r=!1;for(let e of t){let t=e.trim();if(/^(```|~~~)/.test(t)){r||n.push(`code`),r=!r;continue}if(r||t===``)continue;if(/^\|.*\|?$/.test(t)&&t.includes(`|`)){n[n.length-1]!==`table`&&n.push(`table`);continue}if(/^<\/?[A-Za-z]/.test(t)){n[n.length-1]!==`component`&&n.push(`component`);continue}let i=t.match(/^#{1,6}\s+(.*)$/);if(i){n.push(i[1]??``);continue}let a=t.match(/^[-*+]\s+(.*)$/);if(a){n.push(`• ${a[1]??``}`);continue}let o=t.match(/^\d+\.\s+(.*)$/);if(o){n.push(`• ${o[1]??``}`);continue}let s=t.match(/^>\s?(.*)$/);if(s){n.push(s[1]??``);continue}n.push(t)}return n.join(` `).replace(/\s+/g,` `).trim()}var o=new Map,s=new Set,c=(e,t)=>`${t}:${e}`;function l(){for(let e of s)e()}function u(e,t){return e.markdown===t.markdown&&e.sourceLineStart===t.sourceLineStart&&e.sourceLineEnd===t.sourceLineEnd}function d(e,t,n){let r=c(e,t);if(n===null){o.delete(r)&&l();return}let i=o.get(r);i&&u(i,n)||(o.set(r,n),l())}function f(e,t){return e===null?null:o.get(c(e,t))??null}function p(e){return s.add(e),()=>{s.delete(e)}}function m(e,t){if(e.state.selection.empty)return null;let r=n(e);return r.trim()?{surface:`wysiwyg`,docName:t,markdown:r,charLen:r.trim().length,lineCount:(r.match(/\n/g)?.length??0)+1}:null}function h(e,t){return e.trim()?{surface:`frontmatter`,docName:t,markdown:e,charLen:e.trim().length,lineCount:(e.match(/\n/g)?.length??0)+1}:null}function g(e,t){let n=[],r=1/0,i=-1;for(let t of e.state.selection.ranges)t.empty||(n.push(e.state.sliceDoc(t.from,t.to)),r=Math.min(r,t.from),i=Math.max(i,t.to));if(n.length===0)return null;let a=n.join(`
|
|
4
|
-
`);if(!a.trim())return null;let o=e.state.doc.lineAt(r).number,s=e.state.doc.lineAt(i).number;return{surface:`source`,docName:t,markdown:a,charLen:a.trim().length,lineCount:s-o+1,sourceLineStart:o,sourceLineEnd:s}}export{h as a,r as c,i,p as l,a as n,g as o,d as r,m as s,f as t,n as u};
|
package/dist/start-C7scOBGK.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e,f as t,r as n}from"./start-5Q4Gw3Kt.mjs";export{n as bootStartServer,t as resolveHost,e as startCommand};
|