@uibot/agents 0.3.0 → 0.6.0

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 (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1493,7 +1493,7 @@ Triggers: ${s.triggers.join(", ")}
1493
1493
 
1494
1494
  ${n.body}`})].join(`
1495
1495
  `);return e.systemPrompt+r}Le();function pO(e){if(typeof e==="string")return e;if(!Array.isArray(e))return"";return e.filter((t)=>t.type==="text").map((t)=>t.text).join(`
1496
- `)}var VWe={spec:["html","markdown","zip"],prototype:["html","zip"],deck:["html","pptx","zip"],poster:["html","zip"]},Uar=Array.from(new Set(Object.values(VWe).flat()));var Har=Object.freeze([Object.freeze({name:"manifest",summary:"Describe query operations and list the derived resource index.",positionals:Object.freeze([]),options:Object.freeze([])}),Object.freeze({name:"search",summary:"Search resources with deterministic bilingual ranking and reasons.",positionals:Object.freeze([Object.freeze({name:"text",property:"text",type:"string",required:!1})]),options:Object.freeze([Object.freeze({name:"kind",property:"kinds",type:"resource-kind",multiple:!0,cliEncoding:"comma-separated"}),Object.freeze({name:"tag",property:"tags",type:"string",multiple:!0,cliEncoding:"comma-separated"}),Object.freeze({name:"category",property:"categories",type:"string",multiple:!0,cliEncoding:"comma-separated"}),Object.freeze({name:"capability",property:"capabilities",type:"string",multiple:!0,cliEncoding:"comma-separated"}),Object.freeze({name:"maturity",property:"maturities",type:"resource-maturity",multiple:!0,cliEncoding:"comma-separated"}),Object.freeze({name:"limit",property:"limit",type:"positive-integer"})])}),Object.freeze({name:"get",summary:"Resolve one canonical resource id or unambiguous alias.",positionals:Object.freeze([Object.freeze({name:"id-or-alias",property:"id",type:"string",required:!0})]),options:Object.freeze([])}),Object.freeze({name:"build",summary:"Plan dependency closure and gaps without writing or installing.",positionals:Object.freeze([Object.freeze({name:"root",property:"roots",type:"string",required:!0,variadic:!0})]),options:Object.freeze([])})]);wn();var IH=Ne({id:ie().describe("Stable symbol ID (e.g. 'entity:User', 'api:GET./users', 'page:user-list')")});function TH(e){let t=Mr((s)=>{let i=e.entities.find((c)=>c.id===s.id);if(!i){let c=e.entities.map((l)=>l.id).join(", ");return`Entity "${s.id}" not found. Available: ${c||"(none)"}`}let o=i.fields.map((c)=>{let l=c.primary?" (primary)":"",u=c.ref?` \u2192 ${c.ref}`:"";return` ${c.name}: ${c.type}${l}${u}`}),a=i.description?`
1496
+ `)}var VWe={spec:["html","markdown","zip"],prototype:["html","zip"],deck:["html","pptx","zip"],poster:["html","zip"]},zar=Array.from(new Set(Object.values(VWe).flat()));var qar=Object.freeze([Object.freeze({name:"manifest",summary:"Describe query operations and list the derived resource index.",positionals:Object.freeze([]),options:Object.freeze([])}),Object.freeze({name:"search",summary:"Search resources with deterministic bilingual ranking and reasons.",positionals:Object.freeze([Object.freeze({name:"text",property:"text",type:"string",required:!1})]),options:Object.freeze([Object.freeze({name:"kind",property:"kinds",type:"resource-kind",multiple:!0,cliEncoding:"comma-separated"}),Object.freeze({name:"tag",property:"tags",type:"string",multiple:!0,cliEncoding:"comma-separated"}),Object.freeze({name:"category",property:"categories",type:"string",multiple:!0,cliEncoding:"comma-separated"}),Object.freeze({name:"capability",property:"capabilities",type:"string",multiple:!0,cliEncoding:"comma-separated"}),Object.freeze({name:"maturity",property:"maturities",type:"resource-maturity",multiple:!0,cliEncoding:"comma-separated"}),Object.freeze({name:"limit",property:"limit",type:"positive-integer"})])}),Object.freeze({name:"get",summary:"Resolve one canonical resource id or unambiguous alias.",positionals:Object.freeze([Object.freeze({name:"id-or-alias",property:"id",type:"string",required:!0})]),options:Object.freeze([])}),Object.freeze({name:"build",summary:"Plan dependency closure and gaps without writing or installing.",positionals:Object.freeze([Object.freeze({name:"root",property:"roots",type:"string",required:!0,variadic:!0})]),options:Object.freeze([])})]);wn();var IH=Ne({id:ie().describe("Stable symbol ID (e.g. 'entity:User', 'api:GET./users', 'page:user-list')")});function TH(e){let t=Mr((s)=>{let i=e.entities.find((c)=>c.id===s.id);if(!i){let c=e.entities.map((l)=>l.id).join(", ");return`Entity "${s.id}" not found. Available: ${c||"(none)"}`}let o=i.fields.map((c)=>{let l=c.primary?" (primary)":"",u=c.ref?` \u2192 ${c.ref}`:"";return` ${c.name}: ${c.type}${l}${u}`}),a=i.description?`
1497
1497
  ${i.description}`:"";return`${i.name}
1498
1498
  fields:
1499
1499
  ${o.join(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uibot/agents",
3
- "version": "0.3.0",
3
+ "version": "0.6.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,8 +27,8 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@uibot/context": "^0.3.0",
31
- "@uibot/contracts": "^0.3.0",
30
+ "@uibot/context": "^0.6.0",
31
+ "@uibot/contracts": "^0.6.0",
32
32
  "@langchain/anthropic": "^1.5.5",
33
33
  "@langchain/core": "^1.2.6",
34
34
  "@langchain/langgraph": "^1.4.4",