agentix-cli 0.134.0 → 0.135.1

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 (116) hide show
  1. package/dist/{absorb-eval-WU7JR3BT.js → absorb-eval-YT5TOTC7.js} +2 -2
  2. package/dist/{agent-2GPJGHHG.js → agent-DRUIMWF5.js} +2 -2
  3. package/dist/{board-dashboard-PUQPL4AX.js → board-dashboard-2524GN5N.js} +2 -2
  4. package/dist/chunk-32LIPTHM.js +55 -0
  5. package/dist/chunk-32LIPTHM.js.map +1 -0
  6. package/dist/{chunk-AHO4CQRK.js → chunk-3D5XUOBL.js} +2 -2
  7. package/dist/{chunk-MM3F74K4.js → chunk-3F4GPRGQ.js} +3 -3
  8. package/dist/chunk-3F4GPRGQ.js.map +1 -0
  9. package/dist/{chunk-MCBTVNPX.js → chunk-H4NSB54D.js} +2 -2
  10. package/dist/{chunk-4VVHGR7H.js → chunk-KEXBEUSU.js} +1 -1
  11. package/dist/{chunk-4VVHGR7H.js.map → chunk-KEXBEUSU.js.map} +1 -1
  12. package/dist/chunk-MTX4UPNB.js +3 -0
  13. package/dist/chunk-MTX4UPNB.js.map +1 -0
  14. package/dist/chunk-MUVE3UAS.js +105 -0
  15. package/dist/chunk-MUVE3UAS.js.map +1 -0
  16. package/dist/chunk-MWNCS57L.js +2 -0
  17. package/dist/chunk-MWNCS57L.js.map +1 -0
  18. package/dist/{chunk-YSXE65O7.js → chunk-NG72DYJR.js} +80 -80
  19. package/dist/chunk-NG72DYJR.js.map +1 -0
  20. package/dist/chunk-QAWKN2N4.js +3 -0
  21. package/dist/chunk-QAWKN2N4.js.map +1 -0
  22. package/dist/{chunk-FEEXOWK5.js → chunk-QDWEM4DG.js} +2 -2
  23. package/dist/{chunk-NXRSIWQA.js → chunk-R6ECKZLE.js} +2 -2
  24. package/dist/chunk-R6KLH34H.js +4 -0
  25. package/dist/chunk-R6KLH34H.js.map +1 -0
  26. package/dist/{chunk-JP5OAMWQ.js → chunk-ROLSSYXE.js} +1 -1
  27. package/dist/{chunk-JP5OAMWQ.js.map → chunk-ROLSSYXE.js.map} +1 -1
  28. package/dist/{chunk-G4HDRJVN.js → chunk-SKSYII3K.js} +2 -2
  29. package/dist/{chunk-RJOA7QBB.js → chunk-SN7YH4E4.js} +2 -2
  30. package/dist/{chunk-TDGDH4RA.js → chunk-TTG3ZW3W.js} +2 -2
  31. package/dist/{chunk-TDGDH4RA.js.map → chunk-TTG3ZW3W.js.map} +1 -1
  32. package/dist/{chunk-XWO6ALJQ.js → chunk-UTW56K5I.js} +2 -2
  33. package/dist/{chunk-VQYVL72V.js → chunk-UXOGNBGL.js} +2 -2
  34. package/dist/chunk-WYEWNN76.js +160 -0
  35. package/dist/chunk-WYEWNN76.js.map +1 -0
  36. package/dist/{chunk-RDEFA6Y6.js → chunk-ZEAT2B5B.js} +2 -2
  37. package/dist/cli.js +1 -1
  38. package/dist/{contributions-74M6YOCZ.js → contributions-ZD6ZGTJR.js} +2 -2
  39. package/dist/enrich-EFIPWA3P.js +16 -0
  40. package/dist/{enrich-NH3WHKD6.js.map → enrich-EFIPWA3P.js.map} +1 -1
  41. package/dist/event-levels-7CY7AJLY.js +3 -0
  42. package/dist/event-levels-7CY7AJLY.js.map +1 -0
  43. package/dist/graph-ZVKV3JBD.js +2 -0
  44. package/dist/{hub-VTDFUAEH.js → hub-MVX3U6A2.js} +2 -2
  45. package/dist/index.d.ts +2 -0
  46. package/dist/index.js +1 -1
  47. package/dist/load-LQ2I2PQI.js +2 -0
  48. package/dist/model-call-J7JATTMW.js +2 -0
  49. package/dist/{program-3URNCVEZ.js → program-WOQXOAYQ.js} +254 -256
  50. package/dist/program-WOQXOAYQ.js.map +1 -0
  51. package/dist/{promote-B2BADAEP.js → promote-X2XQEEQP.js} +2 -2
  52. package/dist/push-bridge-325SXDGN.js +1 -1
  53. package/dist/query-RRHYPXOM.js +2 -0
  54. package/dist/query-runs-WYRNBLLC.js +6 -0
  55. package/dist/query-runs-WYRNBLLC.js.map +1 -0
  56. package/dist/{query-settings-VJ3POZS3.js → query-settings-WKVLQEVZ.js} +2 -2
  57. package/dist/registry-VXK36CCL.js +2 -0
  58. package/dist/roster-BZGKG2ZA.js +2 -0
  59. package/dist/score-LNJ46A67.js +3 -0
  60. package/dist/score-LNJ46A67.js.map +1 -0
  61. package/dist/types-ARP27T6T.js +2 -0
  62. package/dist/types-YZX46RES.js +2 -0
  63. package/dist/{wiki-SXWJ5NJQ.js → wiki-QZ7XNAMJ.js} +2 -2
  64. package/dist/wiki-QZ7XNAMJ.js.map +1 -0
  65. package/dist/wiki-enrich-PMG4T6PP.js +2 -0
  66. package/dist/wiki-enrich-PMG4T6PP.js.map +1 -0
  67. package/package.json +1 -1
  68. package/dist/chunk-5BI2T3WD.js +0 -3
  69. package/dist/chunk-5BI2T3WD.js.map +0 -1
  70. package/dist/chunk-7VLLZQ3N.js +0 -2
  71. package/dist/chunk-7VLLZQ3N.js.map +0 -1
  72. package/dist/chunk-DDEDSYLF.js +0 -105
  73. package/dist/chunk-DDEDSYLF.js.map +0 -1
  74. package/dist/chunk-KFIJDLQ5.js +0 -3
  75. package/dist/chunk-KFIJDLQ5.js.map +0 -1
  76. package/dist/chunk-MM3F74K4.js.map +0 -1
  77. package/dist/chunk-SFVDQNTY.js +0 -156
  78. package/dist/chunk-SFVDQNTY.js.map +0 -1
  79. package/dist/chunk-URN74FTP.js +0 -55
  80. package/dist/chunk-URN74FTP.js.map +0 -1
  81. package/dist/chunk-YSXE65O7.js.map +0 -1
  82. package/dist/enrich-NH3WHKD6.js +0 -16
  83. package/dist/graph-EXDH7EPZ.js +0 -2
  84. package/dist/load-5DNMGHFW.js +0 -2
  85. package/dist/model-call-BGTDPWZD.js +0 -2
  86. package/dist/program-3URNCVEZ.js.map +0 -1
  87. package/dist/query-2VIIGGDS.js +0 -2
  88. package/dist/registry-PRCISYBO.js +0 -2
  89. package/dist/roster-IRXP32XF.js +0 -2
  90. package/dist/score-KDNIUTNV.js +0 -3
  91. package/dist/score-KDNIUTNV.js.map +0 -1
  92. package/dist/types-ROL44T62.js +0 -2
  93. /package/dist/{absorb-eval-WU7JR3BT.js.map → absorb-eval-YT5TOTC7.js.map} +0 -0
  94. /package/dist/{agent-2GPJGHHG.js.map → agent-DRUIMWF5.js.map} +0 -0
  95. /package/dist/{board-dashboard-PUQPL4AX.js.map → board-dashboard-2524GN5N.js.map} +0 -0
  96. /package/dist/{chunk-AHO4CQRK.js.map → chunk-3D5XUOBL.js.map} +0 -0
  97. /package/dist/{chunk-MCBTVNPX.js.map → chunk-H4NSB54D.js.map} +0 -0
  98. /package/dist/{chunk-FEEXOWK5.js.map → chunk-QDWEM4DG.js.map} +0 -0
  99. /package/dist/{chunk-NXRSIWQA.js.map → chunk-R6ECKZLE.js.map} +0 -0
  100. /package/dist/{chunk-G4HDRJVN.js.map → chunk-SKSYII3K.js.map} +0 -0
  101. /package/dist/{chunk-RJOA7QBB.js.map → chunk-SN7YH4E4.js.map} +0 -0
  102. /package/dist/{chunk-XWO6ALJQ.js.map → chunk-UTW56K5I.js.map} +0 -0
  103. /package/dist/{chunk-VQYVL72V.js.map → chunk-UXOGNBGL.js.map} +0 -0
  104. /package/dist/{chunk-RDEFA6Y6.js.map → chunk-ZEAT2B5B.js.map} +0 -0
  105. /package/dist/{contributions-74M6YOCZ.js.map → contributions-ZD6ZGTJR.js.map} +0 -0
  106. /package/dist/{graph-EXDH7EPZ.js.map → graph-ZVKV3JBD.js.map} +0 -0
  107. /package/dist/{hub-VTDFUAEH.js.map → hub-MVX3U6A2.js.map} +0 -0
  108. /package/dist/{load-5DNMGHFW.js.map → load-LQ2I2PQI.js.map} +0 -0
  109. /package/dist/{model-call-BGTDPWZD.js.map → model-call-J7JATTMW.js.map} +0 -0
  110. /package/dist/{promote-B2BADAEP.js.map → promote-X2XQEEQP.js.map} +0 -0
  111. /package/dist/{query-2VIIGGDS.js.map → query-RRHYPXOM.js.map} +0 -0
  112. /package/dist/{query-settings-VJ3POZS3.js.map → query-settings-WKVLQEVZ.js.map} +0 -0
  113. /package/dist/{registry-PRCISYBO.js.map → registry-VXK36CCL.js.map} +0 -0
  114. /package/dist/{roster-IRXP32XF.js.map → roster-BZGKG2ZA.js.map} +0 -0
  115. /package/dist/{types-ROL44T62.js.map → types-ARP27T6T.js.map} +0 -0
  116. /package/dist/{wiki-SXWJ5NJQ.js.map → types-YZX46RES.js.map} +0 -0
@@ -1,16 +0,0 @@
1
- import{a as N,k as A,l as O,m as Y}from"./chunk-MCBTVNPX.js";import{f as y}from"./chunk-KFIJDLQ5.js";import{f as C,g as G}from"./chunk-5BI2T3WD.js";import"./chunk-IMLAPB7G.js";import"./chunk-JP5OAMWQ.js";import{b as U}from"./chunk-4VVHGR7H.js";import"./chunk-QIJLFPWE.js";import{createHash as L}from"crypto";import{existsSync as J,mkdirSync as V,readFileSync as B,writeFileSync as q}from"fs";import{resolve as x}from"path";var _="wiki-enrich",$e=["person","organization","project","place","device","server","app","domain","account"],K=new Set(["person","organization","project","place"]),z=3500,Q=700;function X(e,n){let i=e.ontology.types.find(r=>r.id===n)?.lens??[],t=new Map;for(let r of i)if(G(r)==="statements")for(let s of C(r)){if(s==="related"||t.has(s))continue;let l=e.ontology.properties.find(u=>u.id===s);l?.domain&&!l.domain.includes(n)||t.set(s,l?.label??s.replace(/_/g," "))}return t}function D(e,n,i){let t=y(n.title);return t.length<4?[]:[...e.entities.values()].filter(r=>r.type===i&&r.id!==n.id&&` ${y(r.title)} `.includes(` ${t} `))}function H(e){return e.access==="public"?null:new Set([e.owner,...e.access==="shared"?e.sharedWith??[]:[]])}function Z(e,n){let i=H(e);if(!i)return!0;let t=H(n);return!!t&&[...t].every(r=>i.has(r))}function ee(e,n,i,t){let r=o=>!t||Z(o.article.meta,t.article.meta),s=o=>o.pages.some(r),l=n.pages.filter(r),u=t?[...new Set(l.flatMap(o=>o.article.meta.sources??[]))]:n.sources,p=N(e,n,null).filter(s),f=o=>[...new Map(o.map(d=>[d.id,d])).values()],k=f([...p.filter(o=>o.type==="event"),...D(e,n,"event").filter(s)]).sort((o,d)=>(d.date||"").localeCompare(o.date||"")).slice(0,30),a=f([...p.filter(o=>o.type==="project"),...D(e,n,"project").filter(s)]).slice(0,12),g=p.filter(o=>o.type!=="event"&&o.type!=="project").filter(s).filter(o=>n.type!=="person"||K.has(o.type)).slice(0,40),v=i(u).sort((o,d)=>d.date.localeCompare(o.date)).slice(0,14),c=X(e,n.type),m=new Map;for(let o of c.keys()){let d=e.ontology.properties.find(h=>h.id===o)?.range;d?.length&&m.set(o,d)}return{entity:n,pages:l,properties:c,ranges:m,neighbours:g,events:k,projects:a,entries:v,sources:u,mentions:te(e,n,12,r)}}function te(e,n,i=12,t=()=>!0){let r=[n.title,...n.pages.flatMap(p=>p.article.meta.aliases??[])].filter(p=>p.trim().length>=3);if(r.length===0)return[];let s=r.map(p=>p.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),l=new RegExp(`(^|[^\\p{L}\\p{N}])(${s.join("|")})(?=$|[^\\p{L}\\p{N}])`,"iu"),u=[];for(let p of e.entities.values())if(!(p.id===n.id||p.type==="event"))for(let f of p.pages){if(!t(f))continue;let k=A(f.article.content),a=l.exec(k);if(!a)continue;let g=Math.max(0,a.index-250);u.push({page:f,excerpt:k.slice(g,a.index+450).replace(/\s+/g," ").trim(),at:f.article.meta.lastUpdated||""});break}return u.sort((p,f)=>f.at.localeCompare(p.at)).slice(0,i).map(({page:p,excerpt:f})=>({page:p,excerpt:f}))}function ne(e){let n=[...e.pages.map(i=>`${i.agentId}/${i.article.path}`),...e.sources,...e.events.map(i=>i.id),...e.projects.map(i=>i.id),...e.mentions.map(i=>`${i.page.agentId}/${i.page.article.path}`)].sort();return L("sha1").update(n.join(`
2
- `)).digest("hex").slice(0,16)}var R=(e,n)=>e.length>n?`${e.slice(0,n)}\u2026`:e;function se(e,n,i){let t=e.entity,r=[`You are bringing one wiki page up to date. Today is ${i}.`,`Subject: "${t.title}" (${n}).`,"","## What the agents' pages say"];for(let s of e.pages)r.push(`### page ${s.agentId}/${s.article.path} (updated ${s.article.meta.lastUpdated||"?"})`,R(A(s.article.content),z),"");if(e.mentions.length){r.push("## Other pages that name the subject");for(let s of e.mentions)r.push(`### page ${s.page.agentId}/${s.page.article.path}: "${s.page.article.meta.title}"`,s.excerpt,"")}r.push("## Source entries (newest first)");for(let s of e.entries)r.push(`### entry ${s.id} (${s.date}, ${s.agentId}, ${s.source})`,R(s.content.trim(),Q),"");return r.push("## Event pages",...e.events.map(s=>`- ${s.date||"?"} \xB7 ${s.title}`),""),r.push("## Project pages",...e.projects.map(s=>`- ${s.title}`),""),r.push("## Other pages it may name",...e.neighbours.map(s=>`- ${s.title} (${s.type})`),""),r.push(`## Properties you may use (the subject is always ${t.title})`,...[...e.properties].map(([s,l])=>`- ${s}: "${t.title} ${l} <value>"${e.ranges.get(s)?`, value is a ${e.ranges.get(s).join(" or ")}`:""}`),""),r.push("## Task","Return one JSON object and nothing else:",'{"overview": "\u2026", "statements": [{"property": "\u2026", "value": "\u2026", "role": "\u2026", "since": "YYYY-MM-DD", "until": "YYYY-MM-DD", "source": "\u2026"}], "history": ["event page title"], "projects": ["project page title"]}',"","Rules:",`- overview: 3 to 6 full sentences telling the story of the relationship: who ${t.title} is to us, how it started, what changed, and where it stands now, with dates. Plain prose. Link pages as [[Exact Title]] only when the title is listed above. Never stop mid-sentence.`,"- statements: only facts the pages or entries state. Use only the listed properties. value is a listed page title when it names one, else a short literal. role, since and until only when stated.","- source: the entry id, the page (agent/path) or the event title the fact comes from. A statement without one of these is dropped.","- Do not list an AI agent or bot as a person's relation.","- history: titles of the listed event pages that are about the subject. projects: listed project titles it takes part in.","- Leave out anything you could not verify. Do not write 'unknown' or 'not captured' as a fact.","- Write in the language the pages are written in."),r.join(`
3
- `)}function ie(e){let n=e.match(/```(?:json)?\s*\n([\s\S]*?)\n```/),i=n?n[1]:e.slice(e.indexOf("{"),e.lastIndexOf("}")+1);try{let t=JSON.parse(i);return t&&typeof t=="object"&&!Array.isArray(t)?t:null}catch{return null}}var T=/^\d{4}-\d{2}(-\d{2})?$/,w=e=>typeof e=="string"?e.trim():"";function re(e,n,i){let t=[],r=n.entity,s=w(e.overview);if(s&&!/[.!?؟)»"']$/.test(s)){let a=Math.max(s.lastIndexOf(". "),s.lastIndexOf("? "),s.lastIndexOf("! "));s=a>0?s.slice(0,a+1):"",t.push("overview: unfinished last sentence removed")}let l=[...n.entries.map(a=>a.id),...n.pages.map(a=>`${a.agentId}/${a.article.path}`),...n.pages.map(a=>a.article.path),...n.mentions.map(a=>`${a.page.agentId}/${a.page.article.path}`),...n.mentions.map(a=>a.page.article.path),...n.events.map(a=>a.title)],u=[],p=new Set;for(let a of Array.isArray(e.statements)?e.statements:[]){let g=a??{},v=w(g.property),c=w(g.value),m=w(g.source),o=`${v} ${c}`;if(!n.properties.has(v)){t.push(`${o}: property not allowed`);continue}if(!c||/^(unknown|not (given|known|captured|recorded))\b/i.test(c)){t.push(`${o}: no value`);continue}if(!m||!l.some(E=>m.includes(E))){t.push(`${o}: source not among those given`);continue}let d=i.names.get(y(c)),h=d?i.entities.get(d):void 0;if(h?.id===r.id){t.push(`${o}: points at itself`);continue}if(r.type==="person"&&h?.type==="agent"){t.push(`${o}: an agent is not a person's relation`);continue}let S=n.ranges.get(v);if(S&&h&&!S.includes(h.type)){t.push(`${o}: value is a ${h.type}, expected ${S.join(" or ")}`);continue}let j=`${v}
4
- ${y(c)}`;if(p.has(j))continue;p.add(j);let $={property:v,value:h?.title??c,source:R(m,200)},W=w(g.role);W&&($.role=R(W,80)),T.test(w(g.since))&&($.since=w(g.since)),T.test(w(g.until))&&($.until=w(g.until)),u.push($)}let f=new Map([...n.events,...n.projects].map(a=>[y(a.title),a.title])),k=[];for(let a of[...Array.isArray(e.history)?e.history:[],...Array.isArray(e.projects)?e.projects:[]]){let g=f.get(y(w(a).replace(/^\d{4}-\d{2}-\d{2}\s*·\s*/,"")));g&&!k.includes(g)?k.push(g):!g&&w(a)&&t.push(`link ${w(a)}: no such page`)}return{overview:s,statements:u,links:k,dropped:t}}function oe(e,n){let i=`## Overview
5
-
6
- ${n.trim()}
7
-
8
- ${O}
9
- `,t=Y(e);if(t){let r=e.slice(t.end,t.after)===O,s=/^#{1,2}[ \t]/m.test(e.slice(t.end,t.end+4)),u=(r||s&&A(e).length<=z?e.slice(t.after):e.slice(t.textStart)).trim();return`${e.slice(0,t.start)}${i}${u?`
10
- ${u}
11
- `:""}`}return`${i}
12
- ${e.trim()}
13
- `}function ae(e,n,i){let t=p=>`${p.property}
14
- ${y(p.value)}`,r=(e.statements??[]).filter(p=>p.by!==_),s=new Set(r.map(t)),l=[...r,...n.statements.filter(p=>!s.has(t(p))).map(p=>({...p,checked_at:i,by:_}))],u=[...new Set([...e.related??[],...n.links])];return{...e,statements:l.length?l:void 0,related:u.length?u:void 0,lastUpdated:i}}function ce(e,n){return n.pages.filter(i=>!e.syncedFrom(i.agentId)).sort((i,t)=>(t.article.meta.sources?.length??0)-(i.article.meta.sources?.length??0)||t.article.content.length-i.article.content.length)[0]}var pe={person:"people",organization:"organizations",project:"projects",place:"places"};function ke(e,n,i,t,r){let s=n.replace(/\s+/g," ").trim(),l=e.getAgentWiki(t);if(l.listAllArticles().some(k=>y(k.meta.title)===y(s)))return null;let u=`${pe[i]??`${i}s`}/${y(s).replace(/ /g,"-").slice(0,80)||"page"}.md`,p=U(i)?i:void 0,f={title:s,type:p,class:i,tags:[],owner:t,access:"shared",created:r,lastUpdated:r,sources:[]};return l.writeArticle(u,f,`${s}.
15
- `,t)?u:null}function Ee(e){let n=x(e,"_enrich","state.json");if(!J(n))return{entities:{}};try{let i=JSON.parse(B(n,"utf-8"));return i&&typeof i.entities=="object"?i:{entities:{}}}catch{return{entities:{}}}}function we(e,n){V(x(e,"_enrich"),{recursive:!0}),q(x(e,"_enrich","state.json"),JSON.stringify(n,null,2))}async function be(e,n,i,t,r){let s=new Set(t.types),l=new Set(t.only.map(y)),u=c=>c.sources.length+c.pages.length,p=c=>r.entities[c.id]?.failures??0,f=[...n.entities.values()].filter(c=>s.has(c.type)).filter(c=>l.size===0||l.has(y(c.id))||l.has(y(c.title))).sort((c,m)=>p(c)-p(m)||u(m)-u(c)),k=c=>e.getSharedStore().readEntries(c),a={outcomes:[],costUsd:0,capped:!1},g=0,v=(c,m,o,d=!1)=>{if(t.dryRun)return;let h=r.entities[c];r.entities[c]=d?{fingerprint:h?.fingerprint??"",at:new Date().toISOString(),costUsd:o,failures:(h?.failures??0)+1}:{fingerprint:m,at:new Date().toISOString(),costUsd:o},t.save?.(r)};for(let c of f){if(g>=t.max)break;let m={entity:c.id,title:c.title,statements:0,links:0,overview:!1,costUsd:0,dropped:[]},o=ce(e,c);if(!o){a.outcomes.push({...m,status:"no-page"});continue}let d=ee(n,c,k,o),h=ne(d);if(!t.force&&r.entities[c.id]?.fingerprint===h){l.size&&a.outcomes.push({...m,status:"unchanged"});continue}if(a.costUsd>=t.maxCostUsd){a.capped=!0;break}g++;let S=n.ontology.types.find(I=>I.id===c.type)?.label??c.type,j=`${o.agentId}/${o.article.path}`,$;try{$=await i(se(d,S,t.today))}catch(I){a.outcomes.push({...m,page:j,status:"failed",dropped:[I.message.slice(0,200)]}),v(c.id,h,0,!0);continue}a.costUsd+=$.costUsd;let W=ie($.text),E={...m,page:j,status:"no-reply",costUsd:$.costUsd};if(!W){a.outcomes.push(E),v(c.id,h,$.costUsd);continue}let b=re(W,d,n);if(Object.assign(E,{statements:b.statements.length,links:b.links.length,overview:!!b.overview,dropped:b.dropped}),!b.overview&&b.statements.length===0&&b.links.length===0){E.status="nothing-new",a.outcomes.push(E),v(c.id,h,$.costUsd);continue}let M=b.overview?oe(o.article.content,b.overview):o.article.content,F=ae(o.article.meta,b,t.today);if(t.dryRun){a.outcomes.push({...E,status:"dry-run",preview:M,facts:b.statements});continue}let P=e.getAgentWiki(o.agentId);if(!P.writeArticle(o.article.path,F,M,o.article.meta.owner||o.agentId)){E.status="failed",E.dropped.push("write refused"),a.outcomes.push(E),v(c.id,h,$.costUsd,!0);continue}P.rebuildIndex(),v(c.id,h,$.costUsd),E.status="written",a.outcomes.push(E)}return a}export{_ as ENRICH_BY,$e as ENRICH_TYPES,se as buildEnrichPrompt,re as checkEnrichment,ke as createEntityPage,ee as enrichContext,ne as fingerprint,X as lensProperties,Ee as loadEnrichState,te as mentionsOf,ae as mergedMeta,ie as parseEnrichReply,Z as readableAlongside,be as runEnrich,we as saveEnrichState,ce as targetPage,oe as withOverview};
16
- //# sourceMappingURL=enrich-NH3WHKD6.js.map
@@ -1,2 +0,0 @@
1
- import{f as a,g as b,h as c,i as d}from"./chunk-KFIJDLQ5.js";import"./chunk-QIJLFPWE.js";export{d as GraphCache,c as buildGraph,a as normName,b as slugify};
2
- //# sourceMappingURL=graph-EXDH7EPZ.js.map
@@ -1,2 +0,0 @@
1
- import{a,b,c,d,e,f,g}from"./chunk-5BI2T3WD.js";import"./chunk-JP5OAMWQ.js";import"./chunk-QIJLFPWE.js";export{a as ONTOLOGY_FILE,e as checkOntology,b as loadOntology,d as mergeOntology,f as panelFrom,g as panelSource,c as writeDefaultOntology};
2
- //# sourceMappingURL=load-5DNMGHFW.js.map
@@ -1,2 +0,0 @@
1
- import{a,b}from"./chunk-7VLLZQ3N.js";import"./chunk-6TURWSMN.js";import"./chunk-QIJLFPWE.js";export{a as claudeModelCall,b as firstJsonObject};
2
- //# sourceMappingURL=model-call-BGTDPWZD.js.map