agentx-sdk 0.4.0 → 0.5.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.
package/README.md CHANGED
@@ -320,6 +320,8 @@ const memories = await agent.recall('What are the user preferences?');
320
320
 
321
321
  Memories are `.md` files with YAML frontmatter in `.agentx/memory/` (configurable). Four types: `user`, `feedback`, `project`, `reference`.
322
322
 
323
+ Add `pinned: true` to the frontmatter to always inject a memory into the context, bypassing the LLM relevance selector. Use sparingly for durable reference content (team rosters, platform catalogs, global preferences).
324
+
323
325
  ## Knowledge (RAG)
324
326
 
325
327
  ```typescript
@@ -899,6 +901,8 @@ const memories = await agent.recall('What are the user preferences?');
899
901
 
900
902
  Memorias sao arquivos `.md` com frontmatter YAML em `.agentx/memory/` (configuravel). Quatro tipos: `user`, `feedback`, `project`, `reference`.
901
903
 
904
+ Adicione `pinned: true` no frontmatter para sempre injetar uma memoria no contexto, ignorando o seletor de relevancia LLM. Use com parcimonia para conteudo de referencia durador (mapa do time, catalogo de plataformas, preferencias globais).
905
+
902
906
  ## Knowledge (RAG)
903
907
 
904
908
  ```typescript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentx-sdk",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "AgentX SDK - Standalone TypeScript agent library with streaming, tools, memory, knowledge (RAG), and skills",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,3 +0,0 @@
1
- /** @deprecated Use LLMClient and LLMClientConfig instead */
2
- export { LLMClient as OpenRouterClient, type LLMClientConfig as OpenRouterClientConfig } from './llm-client.js';
3
- //# sourceMappingURL=openrouter-client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"openrouter-client.d.ts","sourceRoot":"","sources":["../../src/llm/openrouter-client.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,KAAK,eAAe,IAAI,sBAAsB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,3 +0,0 @@
1
- /** @deprecated Use LLMClient and LLMClientConfig instead */
2
- export { LLMClient as OpenRouterClient } from './llm-client.js';
3
- //# sourceMappingURL=openrouter-client.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"openrouter-client.js","sourceRoot":"","sources":["../../src/llm/openrouter-client.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAkD,MAAM,iBAAiB,CAAC"}