@inkeep/open-knowledge 0.49.0-beta.20 → 0.49.0-beta.21
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/{acp-harness-probe-DHbP1O-3.mjs → acp-harness-probe-DxBf-LTU.mjs} +2 -2
- package/dist/cli.mjs +6 -6
- package/dist/constants-C_nRJliJ.mjs +2 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/init-DX85IP2w.mjs +1 -0
- package/dist/{init-DAE97HTq.mjs → init-uGxYY6UM.mjs} +3 -3
- package/dist/{launch-json-removal-DRslTkXC.mjs → launch-json-removal-Dhdwq5FP.mjs} +2 -2
- package/dist/loader-CENRqebF.mjs +1 -0
- package/dist/{loader-CbWk-ngh.mjs → loader-CNksYhN0.mjs} +2 -2
- package/dist/{preview-DOOVd84m.mjs → preview-BZSyDCZ1.mjs} +2 -2
- package/dist/preview-BuphBmlc.mjs +1 -0
- package/dist/public/assets/{ActivityModeContent-BbbMd0Aa.js → ActivityModeContent-Dfn7Nlez.js} +1 -1
- package/dist/public/assets/{AgentDiffPane-BnU8Fq1H.js → AgentDiffPane-CyHhN5YO.js} +1 -1
- package/dist/public/assets/{ChangedOutsideBadge-Cjb9sWFy.js → ChangedOutsideBadge-DqZ2TDGM.js} +1 -1
- package/dist/public/assets/{CodeMirrorPropInput-DAKQ_zlh.js → CodeMirrorPropInput-DgV9gATY.js} +1 -1
- package/dist/public/assets/{DocumentContext-DDYJbJQf.js → DocumentContext-BVLbIfH2.js} +1 -1
- package/dist/public/assets/{EditorModeToggle-tM6Tv09P.js → EditorModeToggle-CtE8ZJiD.js} +1 -1
- package/dist/public/assets/{EnableSyncConfirmDialog-BuxbaI9r.js → EnableSyncConfirmDialog-_hiHVbZX.js} +1 -1
- package/dist/public/assets/FeedbackForm-GmlPVpar.js +1 -0
- package/dist/public/assets/{ImportSkillDialog-Dx0-Kt1V.js → ImportSkillDialog-8uZq0fE4.js} +1 -1
- package/dist/public/assets/{LintConfigEditor-C5hc4tDU.js → LintConfigEditor-DlBcCkCe.js} +1 -1
- package/dist/public/assets/ManagedArtifactProperties-BC3be05i.js +1 -0
- package/dist/public/assets/{ManagedArtifactProperties-CqCnvP1t.js → ManagedArtifactProperties-eSS8gOcB.js} +1 -1
- package/dist/public/assets/{MermaidDocEditor-jeR8fGZU.js → MermaidDocEditor-iAjxxs_n.js} +1 -1
- package/dist/public/assets/{SchemaConfigEditor-CeLaMMN1.js → SchemaConfigEditor-CDNOEozy.js} +1 -1
- package/dist/public/assets/{SessionsHost-UxegVmzC.js → SessionsHost-BVng_fwc.js} +2 -2
- package/dist/public/assets/{SettingsDialogBody-BlfbmqFK.js → SettingsDialogBody-CCdFxE-F.js} +1 -1
- package/dist/public/assets/{ShareReceiveMissDialog-BZC_iNtu.js → ShareReceiveMissDialog-BWlcptnT.js} +1 -1
- package/dist/public/assets/{SkillToolbarControls-0FXJPu-r.js → SkillToolbarControls-CcJo2WHo.js} +1 -1
- package/dist/public/assets/{SourceEditor-pZVXflVl.js → SourceEditor-CxhxTb3c.js} +1 -1
- package/dist/public/assets/{TerminalWindowApp-CW53HTO0.js → TerminalWindowApp-DucJDTXJ.js} +1 -1
- package/dist/public/assets/{TextDocEditor-Dhe_1jpj.js → TextDocEditor-C1SHIJF2.js} +1 -1
- package/dist/public/assets/{ThreadView-BbCofSUH.js → ThreadView-RDfDoNg-.js} +1 -1
- package/dist/public/assets/{TimelineDiffPane-CAtjmwzw.js → TimelineDiffPane-BreQDbb5.js} +1 -1
- package/dist/public/assets/{agent-diff-store-B87ed59m.js → agent-diff-store-D7h8uSqv.js} +1 -1
- package/dist/public/assets/{auth-state-cache-CWF3NDeJ.js → auth-state-cache-DBut4s-H.js} +1 -1
- package/dist/public/assets/{comment-chips--sXRK7j6.js → comment-chips-D31Mefsd.js} +1 -1
- package/dist/public/assets/{config-provider-jFlM_kWt.js → config-provider-BJJQMCvL.js} +3 -3
- package/dist/public/assets/{follow-file-CB7xzuve.js → follow-file-BYg1kvW1.js} +1 -1
- package/dist/public/assets/i18n-B-su7WGL.js +1 -0
- package/dist/public/assets/{index-P9dh33O5.js → index-zKi6jfeI.js} +108 -108
- package/dist/public/assets/messages-08fVqpq6.js +1 -0
- package/dist/public/assets/messages-9TiHLKyB.js +1 -0
- package/dist/public/assets/messages-B6_-Jcig.js +1 -0
- package/dist/public/assets/messages-Bb2E22t5.js +1 -0
- package/dist/public/assets/messages-CN01LMHY.js +1 -0
- package/dist/public/assets/messages-DJJz1KAA.js +1 -0
- package/dist/public/assets/messages-DNrStzR0.js +1 -0
- package/dist/public/assets/messages-DcFADkmi.js +1 -0
- package/dist/public/assets/messages-Djq--rqJ.js +1 -0
- package/dist/public/assets/messages-DoUQmGUb.js +1 -0
- package/dist/public/assets/messages-bfwA7F7-.js +1 -0
- package/dist/public/assets/{pending-receive-nav-store-lANycvJO.js → pending-receive-nav-store-D_Yd5Kkr.js} +1 -1
- package/dist/public/assets/{selection-context-BsLqP9oO.js → selection-context-CEsFBd_P.js} +1 -1
- package/dist/public/assets/{skill-actions-DXxYflbH.js → skill-actions-Cawlws49.js} +1 -1
- package/dist/public/assets/{src-uuqOVDKA.js → src-hWhZz0ry.js} +1 -1
- package/dist/public/assets/{typing-burst-detector-CwZ5zmQX.js → typing-burst-detector-Bcxs6e1d.js} +1 -1
- package/dist/public/assets/{uninstall-CBNiuPQh.js → uninstall-rbukHZUq.js} +1 -1
- package/dist/public/assets/{use-activity-panel-B89gtKy-.js → use-activity-panel-ov91fgMH.js} +1 -1
- package/dist/public/assets/{use-open-skill-mzHyxSnO.js → use-open-skill-BNfVgdFz.js} +1 -1
- package/dist/public/assets/{use-skill-directory-ulXPC4xN.js → use-skill-directory-CtN1niVI.js} +1 -1
- package/dist/public/assets/{use-terminal-enabled-CcplYRWj.js → use-terminal-enabled-EeeyWLnr.js} +1 -1
- package/dist/public/assets/{use-timeline-entry-diff-I6_us7Op.js → use-timeline-entry-diff-t4CQRU4t.js} +1 -1
- package/dist/public/index.html +20 -20
- package/dist/public/uninstall.html +3 -3
- package/dist/{repair-launch-json-VHt-hZ_p.mjs → repair-launch-json-Ca96yug3.mjs} +2 -2
- package/dist/{repair-mcp-configs-CrImyo1c.mjs → repair-mcp-configs-BmeaoniW.mjs} +2 -2
- package/dist/{src--ugDtd-0.mjs → src-DOtg_Yy3.mjs} +2 -2
- package/dist/start-Bdmc9Zwo.mjs +1 -0
- package/dist/{start-DY1zOafT.mjs → start-DjEQzpUP.mjs} +2 -2
- package/package.json +4 -4
- package/dist/constants-CVYsPZR1.mjs +0 -2
- package/dist/init-DQXKEn4w.mjs +0 -1
- package/dist/loader-CP0FRRqI.mjs +0 -1
- package/dist/preview-CCjCMRn5.mjs +0 -1
- package/dist/public/assets/FeedbackForm-BwpCcR3s.js +0 -1
- package/dist/public/assets/ManagedArtifactProperties-DfZxJ-R5.js +0 -1
- package/dist/public/assets/i18n-JC-m40ty.js +0 -1
- package/dist/public/assets/messages-B9zTnkA3.js +0 -1
- package/dist/public/assets/messages-Bd3HU76L.js +0 -1
- package/dist/public/assets/messages-Bnwsf6MS.js +0 -1
- package/dist/public/assets/messages-CEgBwkdX.js +0 -1
- package/dist/public/assets/messages-CK0Pc8my.js +0 -1
- package/dist/public/assets/messages-Cw-hzRlQ.js +0 -1
- package/dist/public/assets/messages-D8aFcS0Q.js +0 -1
- package/dist/public/assets/messages-DJuwZsJ_.js +0 -1
- package/dist/public/assets/messages-F0FOdCUY.js +0 -1
- package/dist/public/assets/messages-M26F5_z4.js +0 -1
- package/dist/public/assets/messages-nZ_l4mfK.js +0 -1
- package/dist/start-Dxh61uJX.mjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{Wn as n}from"./DocumentContext-
|
|
1
|
+
import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{Wn as n}from"./DocumentContext-BVLbIfH2.js";import{t as r}from"./react-f2sANaYj.js";import{r as i}from"./dist-Nvb76hAm.js";import{t as a}from"./compiler-runtime-BfE3aGVn.js";import{t as o}from"./utils-CPqDy6Hr.js";import{r as s,t as c}from"./button-RQ5o7P7w.js";import{t as l}from"./separator-C4EdGs_S.js";import{t as u}from"./x-OtqSgHKA.js";var d=a(),f=t(),p=s(`group/button-group flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-lg [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1`,{variants:{orientation:{horizontal:`[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-lg!`,vertical:`flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-lg!`}},defaultVariants:{orientation:`horizontal`}});function m(e){let t=(0,d.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,orientation:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]!==n||t[5]!==r?(a=o(p({orientation:r}),n),t[4]=n,t[5]=r,t[6]=a):a=t[6];let s;return t[7]!==r||t[8]!==i||t[9]!==a?(s=(0,f.jsx)(`div`,{role:`group`,"data-slot":`button-group`,"data-orientation":r,className:a,...i}),t[7]=r,t[8]=i,t[9]=a,t[10]=s):s=t[10],s}function h(e){let t=(0,d.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,orientation:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`vertical`:i,s;t[4]===n?s=t[5]:(s=o(`relative self-stretch bg-input data-horizontal:mx-px data-horizontal:w-auto data-vertical:my-px data-vertical:h-auto`,n),t[4]=n,t[5]=s);let c;return t[6]!==a||t[7]!==r||t[8]!==s?(c=(0,f.jsx)(l,{"data-slot":`button-group-separator`,orientation:a,className:s,...r}),t[6]=a,t[7]=r,t[8]=s,t[9]=c):c=t[9],c}var g=`button, a[href], [role="menuitem"], [role="button"], input, textarea, select, [contenteditable="true"]`;function _(e,t){e.target instanceof HTMLElement&&(!(e.currentTarget instanceof HTMLElement)||!e.currentTarget.contains(e.target)||e.target.closest(g)||(e.preventDefault(),t.current?.focus()))}var v=e(r(),1);function y(e){let t=e.lastIndexOf(`/`);return t>=0?e.slice(t+1):e}function b(e){let t=(0,d.c)(21),{path:r,onRemove:a}=e,{_:o}=i(),s,l;t[0]!==o||t[1]!==r?(s=y(r),l=o({id:`hnq8fP`,values:{label:s}}),t[0]=o,t[1]=r,t[2]=s,t[3]=l):(s=t[2],l=t[3]);let p=l,m=`composer-context-chip-file-${r}`,h;t[4]===a?h=t[5]:(h=e=>{(e.key===`Backspace`||e.key===`Delete`)&&(e.preventDefault(),a())},t[4]=a,t[5]=h);let g;t[6]===r?g=t[7]:(g=(0,f.jsx)(`span`,{className:`absolute top-1/2 left-1/2 inline-flex size-3 -translate-x-1/2 -translate-y-1/2 opacity-100 transition-opacity duration-150 ease-out group-hover/chip:opacity-0 group-focus-within/chip:opacity-0 motion-reduce:transition-none`,children:(0,f.jsx)(n,{path:r,className:`size-3`,showExtensionBadge:!1})}),t[6]=r,t[7]=g);let _;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,f.jsx)(u,{className:`absolute top-1/2 left-1/2 size-3 -translate-x-1/2 -translate-y-1/2 opacity-0 transition-opacity duration-150 ease-out group-hover/chip:opacity-100 group-focus-within/chip:opacity-100 motion-reduce:transition-none`,"aria-hidden":!0}),t[8]=_):_=t[8];let v;t[9]!==a||t[10]!==p||t[11]!==h||t[12]!==g?(v=(0,f.jsxs)(c,{type:`button`,variant:`ghost`,size:`icon`,"aria-label":p,onClick:a,onKeyDown:h,className:`group/remove relative size-3.5 shrink-0 rounded-sm text-muted-foreground/80 hover:text-foreground`,children:[g,_]}),t[9]=a,t[10]=p,t[11]=h,t[12]=g,t[13]=v):v=t[13];let b;t[14]===s?b=t[15]:(b=(0,f.jsx)(`span`,{className:`min-w-0 truncate`,children:s}),t[14]=s,t[15]=b);let x;return t[16]!==r||t[17]!==m||t[18]!==v||t[19]!==b?(x=(0,f.jsxs)(`span`,{"data-testid":m,title:r,className:`group/chip inline-flex max-w-[14rem] items-center gap-1 rounded-md border bg-muted/40 py-0.5 pr-1.5 pl-1 text-muted-foreground text-xs`,children:[v,b]}),t[16]=r,t[17]=m,t[18]=v,t[19]=b,t[20]=x):x=t[20],x}function x(e){let t=(0,d.c)(13),{files:n,onRemoveFile:r,className:i,children:a}=e,s;t[0]===n?s=t[1]:(s=n===void 0?[]:n,t[0]=n,t[1]=s);let c=s;if(c.length===0&&v.Children.toArray(a).length===0)return null;let l;t[2]===i?l=t[3]:(l=o(`flex flex-wrap items-center gap-1`,i),t[2]=i,t[3]=l);let u;if(t[4]!==c||t[5]!==r){let e;t[7]===r?e=t[8]:(e=e=>(0,f.jsx)(b,{path:e,onRemove:()=>r?.(e)},e),t[7]=r,t[8]=e),u=c.map(e),t[4]=c,t[5]=r,t[6]=u}else u=t[6];let p;return t[9]!==a||t[10]!==l||t[11]!==u?(p=(0,f.jsxs)(`div`,{className:l,"data-testid":`composer-context-chips`,children:[u,a]}),t[9]=a,t[10]=l,t[11]=u,t[12]=p):p=t[12],p}function S(){let e=(0,d.c)(2),[t,n]=(0,v.useState)(C),r,i;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=()=>{let e=window.matchMedia(`(prefers-reduced-motion: reduce)`);n(e.matches);let t=e=>n(e.matches);return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},i=[],e[0]=r,e[1]=i):(r=e[0],i=e[1]),(0,v.useEffect)(r,i),t}function C(){return typeof window<`u`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}var w=`ok-acp-follow-file-v1`;function T(){try{return localStorage.getItem(w)!==`0`}catch{return!0}}function E(e){try{localStorage.setItem(w,e?`1`:`0`)}catch{}}function D(e){return e===``||e.startsWith(`/`)||e.startsWith(`\\`)||e.split(`/`).some(e=>e===``||e.startsWith(`.`))?null:e}function O(e,t){let n=t.pathSeparator,r=e=>n===`\\`?e.replaceAll(`\\`,`/`):e,i=r(t.contentDir).replace(/\/$/,``),a=r(e);if(!a.startsWith(`${i}/`))return null;let o=a.slice(i.length+1),s=/\.(md|mdx)$/.exec(o);return s===null?null:D(o.slice(0,-s[0].length))}function k(e,t){let n=e[t];return typeof n==`string`&&n!==``?n:null}var A=new Set([`cat`,`ls`,`grep`,`rg`,`find`,`head`,`tail`,`wc`,`sort`,`uniq`,`cut`,`sed`,`awk`,`bat`,`less`,`more`]);function j(e,t){let n=[],r=/"([^"]*)"|'([^']*)'|(\S+)/g,i=r.exec(e);for(;i!==null;)n.push(i[1]??i[2]??i[3]??``),i=r.exec(e);let a=n[0];if(a===void 0||!A.has(a))return null;for(let e of n.slice(1)){if(e.startsWith(`-`)||/[*?[\]]/.test(e))continue;let n=/\.(md|mdx)$/i.exec(e);if(n===null)continue;if(e.startsWith(`/`)||/^[A-Za-z]:[\\/]/.test(e)){if(t!==null){let n=O(e,t);if(n!==null)return n}continue}let r=D(e.replace(/^\.\//,``).slice(0,-n[0].length));if(r!==null)return r}return null}function M(e){if(e===null||e.loading||e.error!==null)return{};let t=e.pages;return{docExists:e=>t.has(e)}}function N(e){if(typeof e!=`object`||!e)return null;let t=e,n=k(t,`tool`)??k(t,`name`),r=t;if(typeof t.arguments==`object`&&t.arguments!==null)r=t.arguments;else if(typeof t.arguments==`string`)try{let e=JSON.parse(t.arguments);typeof e==`object`&&e&&(r=e)}catch{}return{tool:n,args:r}}function P(e,t,n,r){let i=N(e);if(i===null)return null;let{tool:a,args:o}=i;if(a===`delete`||a===null&&/\bdelete\b/i.test(t))return null;let s=typeof o.document==`object`&&o.document!==null?o.document:null,c=null;if(Array.isArray(o.documents))for(let e=o.documents.length-1;e>=0;e--){let t=o.documents[e];if(typeof t==`object`&&t){c=t;break}}let l=(s===null?null:k(s,`path`))??(c===null?null:k(c,`path`))??k(o,`to`)??k(o,`docName`);if(l!==null)return D(l.replace(/\.(md|mdx)$/,``));let u=k(o,`command`);if(u!==null){let e=j(u,n);return e!==null&&r.docExists!==void 0&&!r.docExists(e)?null:e}return null}function F(e,t,n={}){if(e.toolKind===`delete`)return null;let r=P(e.rawInput,e.title,t,n);if(r!==null)return r;if(t===null)return null;let i=e.toolKind!==`edit`&&e.toolKind!==`move`&&n.docExists!==void 0;for(let r=e.locations.length-1;r>=0;r--){let a=e.locations[r];if(a===void 0)continue;let o=O(a.path,t);if(o!==null)return i&&!n.docExists?.(o)?null:o}return null}function I(e,t,n={}){let r=null;for(let i of e){if(i.kind!==`tool_call`)continue;let e=F(i,t,n);e!==null&&(r=e)}return r}export{E as a,_ as c,D as i,m as l,T as n,S as o,M as r,x as s,I as t,h as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./dist-SMRIgJ7J2.js";import{t as e}from"./dist-CRq7u4Aw.js";import{t}from"./messages-Djq--rqJ.js";e.load(`en`,t.messages),e.activate(`en`);
|