@llmnative/agentico 0.5.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.
- package/README.md +1 -0
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +108 -99
- package/dist/index.mjs.map +1 -1
- package/dist/types/domain/agentDefinition.d.ts +5 -0
- package/llms.txt +3 -1
- package/package.json +1 -1
|
@@ -81,6 +81,11 @@ export interface AgentDefinition<TParams, TContext, TResult> {
|
|
|
81
81
|
* agente: qui si dichiara solo QUALI si vogliono, mai il loro testo. Assente o [] =
|
|
82
82
|
* nessuno. */
|
|
83
83
|
microPromptIds?: string[];
|
|
84
|
+
/** true = the replies of the model are messages of a chat (CR-007): each is a text part of its
|
|
85
|
+
* turn (Markdown), and the subagent keeps no result to apply (no preview, no destinations).
|
|
86
|
+
* For an agent that talks and uses tools, with nothing to save at the end. `parseResponse`
|
|
87
|
+
* still runs on each reply (what `run` and `sendMessage` resolve to). */
|
|
88
|
+
conversational?: boolean;
|
|
84
89
|
/** Present = the turns of this agent are answered by the host, not by the AI provider of
|
|
85
90
|
* Agentico (CR-003): a remote agent with its own memory, for example an opencode session on
|
|
86
91
|
* a server. `useAgent` then builds no prompt, needs no model and never falls back: it gives
|
package/llms.txt
CHANGED
|
@@ -36,7 +36,9 @@
|
|
|
36
36
|
|
|
37
37
|
## AgentDefinition
|
|
38
38
|
|
|
39
|
-
buildContext (always runs) · buildPrompt · buildFollowUpPrompt · parseResponse (null → fallback) · fallback (required) · describeFallback? · getTools? · microPromptIds? · executor?
|
|
39
|
+
buildContext (always runs) · buildPrompt · buildFollowUpPrompt · parseResponse (null → fallback) · fallback (required) · describeFallback? · getTools? · microPromptIds? · conversational? · executor?
|
|
40
|
+
|
|
41
|
+
`conversational: true` (0.6.0): each text reply of the model is a text part of its turn (a message of the chat), and the subagent keeps no result: no preview, no destinations under the chat. For a chat with tools and nothing to apply.
|
|
40
42
|
|
|
41
43
|
`executor.turn({ params, context, text, first, signal, model?, onText(whole reply so far), onStep({ id, label, status }) }) → { text, result? }`; `executor.models(params)` / `defaultModel(params)` put the models of the executor in the composer: the turns go to the host instead of the AI provider; `text` is what the person typed (opening message on the first turn). The conversation is `remote: true`: no attachments, no fallback; the picker shows `remoteModels`.
|
|
42
44
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmnative/agentico",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Agentic chat orchestrator for @llmnative/react apps: a persistent panel that talks with the user and hands the work to host-registered subagents.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|