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 +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 +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"}
|