@llmnative/agentico 0.28.3 → 0.30.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.
@@ -23,6 +23,13 @@ export type AgenticoMemory = {
23
23
  apiUrl: string;
24
24
  mcpUrl?: string;
25
25
  };
26
+ /** A namespace a memory keeps: its documents and the memories drawn from them. */
27
+ export type AgenticoMemoryNamespace = {
28
+ namespace: string;
29
+ documents: number;
30
+ memories: number;
31
+ createdAt?: string;
32
+ };
26
33
  export type AgenticoMemoryCheck = {
27
34
  ok: true;
28
35
  } | {
@@ -97,10 +104,13 @@ export interface AgenticoBackend {
97
104
  }): Promise<AgenticoMemory>;
98
105
  update(id: string, patch: {
99
106
  name?: string;
107
+ apiUrl?: string;
100
108
  mcpUrl?: string | null;
101
109
  key?: string;
102
110
  }): Promise<AgenticoMemory>;
103
111
  remove(id: string): Promise<void>;
112
+ /** The namespaces the memory keeps, with how much each holds. */
113
+ namespaces(id: string): Promise<AgenticoMemoryNamespace[]>;
104
114
  };
105
115
  /** The memory of the namespace of the person. */
106
116
  memory: {
@@ -149,8 +149,6 @@ export interface AgenticoDict {
149
149
  runnerDraining: string;
150
150
  runnerAdd: string;
151
151
  runnerAddDescription: string;
152
- runnerName: string;
153
- runnerRename: string;
154
152
  runnerVersion: string;
155
153
  runnerLoad: string;
156
154
  runnerLoadValue: string;
@@ -167,6 +165,13 @@ export interface AgenticoDict {
167
165
  memoryName: string;
168
166
  memoryApiUrl: string;
169
167
  memoryMcpUrl: string;
168
+ memoryMcpUrlHint: string;
169
+ memoryKeySaved: string;
170
+ memoryNamespaces: string;
171
+ memoryNamespacesLoading: string;
172
+ memoryNamespacesNone: string;
173
+ memoryDocuments: string;
174
+ memoryMemories: string;
170
175
  memoryKey: string;
171
176
  memoryKeyKeep: string;
172
177
  memoryCheck: string;
@@ -35,4 +35,4 @@ export { registerSubagentReports, getSubagentReport, type EditableReportModule,
35
35
  export { registerSubagentControls, getSubagentControls, type SubagentControls, type SubagentControlsProps, type UseSubagentControls } from './presentation/subagentControls';
36
36
  export { createHarnessExecutor, harnessTranscript, runHostTool, type AgenticoHarness, type AgenticoHarnessTool, type AgenticoHarnessTurn, type HarnessExecutorOptions, type HostToolLabels, type HostToolTurn, } from './domain/harness';
37
37
  export { useAgenticoHarness } from './presentation/harnessContext';
38
- export { createAgenticoBackend, AgenticoBackendError, type AgenticoBackend, type AgenticoBackendOptions, type AgenticoMe, type AgenticoMemory, type AgenticoMemoryCheck, type AgenticoMemoryHit, type AgenticoNamespaceRow, type AgenticoRunnerDefault, type AgenticoRole, } from './backend/agenticoBackend';
38
+ export { createAgenticoBackend, AgenticoBackendError, type AgenticoBackend, type AgenticoBackendOptions, type AgenticoMe, type AgenticoMemory, type AgenticoMemoryCheck, type AgenticoMemoryNamespace, type AgenticoMemoryHit, type AgenticoNamespaceRow, type AgenticoRunnerDefault, type AgenticoRole, } from './backend/agenticoBackend';
@@ -21,7 +21,7 @@ export declare function AgenticoMemoryTab({ backend, onStack }: {
21
21
  backend: AgenticoBackend;
22
22
  onStack?: (open: boolean) => void;
23
23
  }): React.JSX.Element;
24
- /** Projects: each namespace of the project, its runner and its memory. */
24
+ /** Projects: each namespace of the project as a card, with the runner and the memory it uses. */
25
25
  export declare function AgenticoProjectsTab({ backend, me }: {
26
26
  backend: AgenticoBackend;
27
27
  me: AgenticoMe;
@@ -0,0 +1 @@
1
+ export declare function nameOfHost(address: string): string;
@@ -60,6 +60,8 @@ export declare function createConnections(deps: ConnectionsDeps): {
60
60
  addAccount(namespace: string, provider: string, fields: Record<string, string>): Promise<ConnectionResult>;
61
61
  disconnect(namespace: string, provider: string): Promise<void>;
62
62
  removeAccount(namespace: string, provider: string, accountId: string): Promise<void>;
63
+ /** A new name for an account (never its key); empty takes the name away. */
64
+ renameAccount(namespace: string, provider: string, accountId: string, label: string): Promise<void>;
63
65
  orderAccounts(namespace: string, provider: string, accountIds: string[]): Promise<void>;
64
66
  setOrder(namespace: string, order: string[] | null): Promise<void>;
65
67
  /** The adapter of a provider with its first account: what the server answers with. */
@@ -38,6 +38,13 @@ export type MemoryHit = {
38
38
  score?: number;
39
39
  metadata?: Record<string, unknown>;
40
40
  };
41
+ /** A namespace a memory keeps: its documents and the memories drawn from them. */
42
+ export type MemoryNamespace = {
43
+ namespace: string;
44
+ documents: number;
45
+ memories: number;
46
+ createdAt?: string;
47
+ };
41
48
  export declare class MemoryError extends Error {
42
49
  readonly code: 'invalid' | 'not-found' | 'conflict' | 'unreachable' | 'rejected';
43
50
  constructor(code: MemoryError['code'], reason: string);
@@ -69,9 +76,13 @@ export declare function createMemories(deps: MemoriesDeps): {
69
76
  mcpUrl?: string;
70
77
  key: string;
71
78
  }, owner?: string): Promise<MemoryEntry>;
72
- /** Name and MCP address; a new key only when given (it is checked first). */
79
+ /**
80
+ * Name, address and MCP address; a new key only when given. A new address or key is checked first (the new key,
81
+ * or the one kept, at the new address).
82
+ */
73
83
  update(id: string, patch: {
74
84
  name?: string;
85
+ apiUrl?: string;
75
86
  mcpUrl?: string | null;
76
87
  key?: string;
77
88
  }, viewer?: MemoryViewer): Promise<MemoryEntry>;
@@ -88,6 +99,8 @@ export declare function createMemories(deps: MemoriesDeps): {
88
99
  put(record: Omit<MemoryRecord, 'createdAt'> & {
89
100
  createdAt?: number;
90
101
  }, key?: string): Promise<void>;
102
+ /** The namespaces the memory keeps (`GET /ns`), with their documents and memories, by name. */
103
+ namespaces(id: string, viewer?: MemoryViewer): Promise<MemoryNamespace[]>;
91
104
  /** The key of a memory, for the host's own use on the server (a package of the IDE): never for a browser. */
92
105
  keyOf(id: string): Promise<string | null>;
93
106
  /** The passages of a namespace that answer a query, best first. */
@@ -42,6 +42,7 @@ export declare function createAgenticoServer(options: AgenticoServerOptions): {
42
42
  addAccount(namespace: string, provider: string, fields: Record<string, string>): Promise<import("./connections").ConnectionResult>;
43
43
  disconnect(namespace: string, provider: string): Promise<void>;
44
44
  removeAccount(namespace: string, provider: string, accountId: string): Promise<void>;
45
+ renameAccount(namespace: string, provider: string, accountId: string, label: string): Promise<void>;
45
46
  orderAccounts(namespace: string, provider: string, accountIds: string[]): Promise<void>;
46
47
  setOrder(namespace: string, order: string[] | null): Promise<void>;
47
48
  adapter(namespace: string, provider: string): Promise<import("@llmnative/react").AIProviderAdapter | null>;
@@ -67,6 +68,7 @@ export declare function createAgenticoServer(options: AgenticoServerOptions): {
67
68
  }, owner?: string): Promise<MemoryEntry>;
68
69
  update(id: string, patch: {
69
70
  name?: string;
71
+ apiUrl?: string;
70
72
  mcpUrl?: string | null;
71
73
  key?: string;
72
74
  }, viewer?: MemoryViewer): Promise<MemoryEntry>;
@@ -76,6 +78,7 @@ export declare function createAgenticoServer(options: AgenticoServerOptions): {
76
78
  put(record: Omit<import("./memories").MemoryRecord, 'createdAt'> & {
77
79
  createdAt?: number;
78
80
  }, key?: string): Promise<void>;
81
+ namespaces(id: string, viewer?: MemoryViewer): Promise<import("./memories").MemoryNamespace[]>;
79
82
  keyOf(id: string): Promise<string | null>;
80
83
  search(id: string, namespace: string, query: string, limit?: number): Promise<import("./memories").MemoryHit[]>;
81
84
  write(id: string, namespace: string, input: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llmnative/agentico",
3
- "version": "0.28.3",
3
+ "version": "0.30.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",
@@ -53,17 +53,17 @@
53
53
  },
54
54
  "packageManager": "npm@11.11.0",
55
55
  "peerDependencies": {
56
- "@llmnative/react": "^3.2.0",
56
+ "@llmnative/react": "^3.22.0",
57
57
  "react": "^19.2.0",
58
58
  "react-dom": "^19.2.0",
59
59
  "zod": "^3.24.1"
60
60
  },
61
61
  "dependencies": {
62
- "@llmnative/runner": "^1.4.0",
62
+ "@llmnative/runner": "^1.5.0",
63
63
  "zod-to-json-schema": "^3.24.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@llmnative/react": "^3.2.0",
66
+ "@llmnative/react": "^3.22.0",
67
67
  "@phosphor-icons/react": "^2.1.10",
68
68
  "@supabase/supabase-js": "^2.119.0",
69
69
  "@testing-library/jest-dom": "^7.0.1",