@llmnative/agentico 0.15.1 → 0.15.3
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/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +183 -176
- package/dist/index.mjs.map +1 -1
- package/dist/types/i18n/types.d.ts +0 -1
- package/dist/types/presentation/AgentActivityLog.d.ts +1 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
|
@@ -66,7 +66,6 @@ export interface AgenticoDict {
|
|
|
66
66
|
/** User message sent to the model by the retry button */
|
|
67
67
|
retryMessage: string;
|
|
68
68
|
/** CR-016: the actions on a message of the person, the composer while editing one, the confirmation. */
|
|
69
|
-
retryFromHere: string;
|
|
70
69
|
editMessage: string;
|
|
71
70
|
editingMessage: string;
|
|
72
71
|
cancelEdit: string;
|
|
@@ -13,7 +13,7 @@ import type { AgentCardPart, AgentQuestionAnswer, AgentQuestionsPart } from '../
|
|
|
13
13
|
* (prima tutte le bolle erano sticky nella stessa lista, e una bolla più alta spuntava sotto
|
|
14
14
|
* una più bassa, sopra il testo). Sfondo pieno e `z-20`: il testo che scorre sotto (tabelle,
|
|
15
15
|
* codice) non le passa sopra. */
|
|
16
|
-
/** CR-016: what the person can do on one of their messages: send it again
|
|
16
|
+
/** CR-016: what the person can do on one of their messages: edit it, or send it again when its answer was cut. */
|
|
17
17
|
export interface UserMessageActions {
|
|
18
18
|
/** Whether the message has them (a message of this conversation, with where the chat goes back to). */
|
|
19
19
|
available: (entry: AgentActivityEntry) => boolean;
|
package/llms.txt
CHANGED
|
@@ -45,7 +45,7 @@ buildContext (always runs) · buildPrompt · buildFollowUpPrompt · parseRespons
|
|
|
45
45
|
`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`.
|
|
46
46
|
CR-009: `executor.alongside: true` keeps the agent on the AI catalog (prompts, tools, approvals): only the turns whose model is one of `executor.models` go to `executor.turn` (`first` on its first one); the picker shows the executor's models (`{ label, value, group?, groupBadge?: { label, variant? } }`) then the catalog's, grouped by `executor.catalogGroup(provider, label) → { group, badge? }`; `useAgent` gives `alongside`, `catalogGroup`.
|
|
47
47
|
CR-010: `executor.catalogProviders(params) → string[] | undefined` limits the AI catalog of a chat to those providers (composer and turns; a model of another provider is never used: the executor's first model, else the first allowed one). A saved chat keeps `startedAt` (first save; `chatStartedAt(snapshot)` falls back to `savedAt`); `listEntityChats` lists the last started first and the history shows the start.
|
|
48
|
-
CR-016:
|
|
48
|
+
CR-016: Edit on a message of the person (on hover), Retry on one whose answer was cut (stopped, failed; also the Retry of the error bar): `useAgent().rewind(entryId, text?)` cuts the chat and the history of the model at that message (`entry.historyAt`) and sends it again; `canRewind` (always without an executor; with one, only if `executor.canRewind`), and its next turn carries `rewound: { activity }` (start again from the chat as it is). A confirmation lists the steps done after it (they stay done).
|
|
49
49
|
CR-015: `AgentDefinition.offersFallback: false` hides "Continue without AI" when the model fails (an agent with no result without a model, e.g. a chat); default shown.
|
|
50
50
|
CR-014: cards in messages — part `{ type: 'card', id, title, badge?, body?, details?, actions?: [{ id, label, icon?, variant? }], data?, outcome? }`; `AgentTool.card(input, output)` adds one after the tool ran, `turn.onCard(card)` for an executor; `AgentDefinition.onCardAction(params, card, actionId) → { status: 'done' | 'dismissed' | 'error', text, link? }` (stored in the card, buttons off); View opens `details` in a side modal; `useAgent().cardAction(entryId, partId, actionId)`.
|
|
51
51
|
CR-013: `configureEntityChatStore({ storageKey, backend })` — `EntityChatBackend { load(scopeId), save(snapshot), remove(scopeId, subagentId, entityId) }`: the browser copy stays (sync reads), writes also go to the backend; `syncEntityChats(scopeId)` (AgenticoProvider on scope change) merges by `changedAt`, drops chats gone remotely, sends never-sent ones; a refused removal comes back.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmnative/agentico",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
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",
|