@amalgm/agents 0.2.3-preview.37556574617 → 0.2.3-preview.39017157677
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/PURPOSE.md +21 -19
- package/README.md +25 -36
- package/dist/agent-folder.d.ts +32 -0
- package/dist/agent-folder.js +100 -0
- package/dist/agent-store.d.ts +23 -12
- package/dist/agent-store.js +144 -117
- package/dist/agents.d.ts +10 -10
- package/dist/agents.js +14 -26
- package/dist/bundles/create.d.ts +1 -0
- package/dist/bundles/create.js +1 -1
- package/dist/bundles/graph.d.ts +1 -0
- package/dist/bundles/graph.js +1 -1
- package/dist/bundles/install.d.ts +1 -0
- package/dist/bundles/install.js +1 -2
- package/dist/bundles/validate.d.ts +1 -0
- package/dist/bundles/validate.js +1 -1
- package/dist/config/import.d.ts +1 -1
- package/dist/config/import.js +2 -2
- package/dist/config/native.d.ts +5 -1
- package/dist/config/native.js +12 -11
- package/dist/config/schema.d.ts +1 -0
- package/dist/config/schema.js +1 -1
- package/dist/config/store.js +7 -7
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +0 -1
- package/dist/http/agent-routes.js +2 -4
- package/dist/http/bundle-routes.js +2 -23
- package/dist/http/config-routes.js +1 -4
- package/dist/http/server.d.ts +1 -1
- package/dist/http/server.js +3 -9
- package/dist/http/skill-routes.d.ts +0 -1
- package/dist/http/skill-routes.js +2 -3
- package/dist/http-types.d.ts +2 -8
- package/dist/ids.d.ts +0 -4
- package/dist/ids.js +0 -23
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -1
- package/dist/json.d.ts +1 -4
- package/dist/json.js +0 -23
- package/dist/mcp/agent-tools.js +11 -12
- package/dist/mcp/server.d.ts +3 -4
- package/dist/mcp/server.js +3 -41
- package/dist/mcp/types.d.ts +0 -1
- package/dist/revisions.d.ts +9 -0
- package/dist/revisions.js +39 -0
- package/dist/skills/roots.d.ts +6 -7
- package/dist/skills/roots.js +16 -29
- package/dist/skills/scanner.d.ts +2 -2
- package/dist/skills/scanner.js +2 -2
- package/dist/types.d.ts +9 -6
- package/docs/ARCHITECTURE.md +24 -25
- package/docs/DATA_MODEL.md +27 -21
- package/docs/DEFINITIONS.md +11 -9
- package/docs/MCP.md +5 -5
- package/docs/REST.md +7 -7
- package/docs/SDK.md +17 -13
- package/docs/SECURITY.md +4 -3
- package/docs/SHELL_INTEGRATION.md +22 -2
- package/examples/basic.ts +15 -11
- package/package.json +9 -20
- package/skills/amalgm-agents/SKILL.md +69 -171
- package/dist/bin/agents.d.ts +0 -2
- package/dist/bin/agents.js +0 -5
- package/dist/bin/fatal.d.ts +0 -1
- package/dist/bin/fatal.js +0 -5
- package/dist/bin/mcp.d.ts +0 -2
- package/dist/bin/mcp.js +0 -19
- package/dist/bin/rest.d.ts +0 -2
- package/dist/bin/rest.js +0 -26
- package/dist/bundles/copy.d.ts +0 -12
- package/dist/bundles/copy.js +0 -144
- package/dist/cli/agent-commands.d.ts +0 -3
- package/dist/cli/agent-commands.js +0 -27
- package/dist/cli/args.d.ts +0 -7
- package/dist/cli/args.js +0 -31
- package/dist/cli/files.d.ts +0 -2
- package/dist/cli/files.js +0 -21
- package/dist/cli/help.d.ts +0 -1
- package/dist/cli/help.js +0 -15
- package/dist/cli/open.d.ts +0 -3
- package/dist/cli/open.js +0 -8
- package/dist/cli/run.d.ts +0 -1
- package/dist/cli/run.js +0 -33
- package/dist/cli.d.ts +0 -2
- package/dist/cli.js +0 -2
- package/dist/database.d.ts +0 -9
- package/dist/database.js +0 -35
- package/dist/rows.d.ts +0 -4
- package/dist/rows.js +0 -28
- package/dist/schema.d.ts +0 -2
- package/dist/schema.js +0 -162
- package/docs/CLI.md +0 -23
- package/docs/ENGINE_INTEGRATION.md +0 -12
package/dist/cli/files.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import fs from 'node:fs';
|
|
2
|
-
import path from 'node:path';
|
|
3
|
-
import { AgentError } from '../errors.js';
|
|
4
|
-
export function readObjectFile(file) {
|
|
5
|
-
const target = path.resolve(file);
|
|
6
|
-
let value;
|
|
7
|
-
try {
|
|
8
|
-
value = JSON.parse(fs.readFileSync(target, 'utf8'));
|
|
9
|
-
}
|
|
10
|
-
catch (error) {
|
|
11
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
12
|
-
throw new AgentError('invalid_input', `Cannot read JSON file ${target}: ${message}`);
|
|
13
|
-
}
|
|
14
|
-
if (!value || typeof value !== 'object' || Array.isArray(value)) {
|
|
15
|
-
throw new AgentError('invalid_input', `JSON file must contain an object: ${target}`);
|
|
16
|
-
}
|
|
17
|
-
return value;
|
|
18
|
-
}
|
|
19
|
-
export function writeJson(value) {
|
|
20
|
-
process.stdout.write(`${JSON.stringify(value, null, 2)}\n`);
|
|
21
|
-
}
|
package/dist/cli/help.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const HELP = "amalgm-agents \u2014 local agent identities and immutable revisions\n\nAgents:\n amalgm-agents agent list [--include-deleted]\n amalgm-agents agent show <id>\n amalgm-agents agent create <definition.json>\n amalgm-agents agent update <id> <patch.json>\n amalgm-agents agent pin <id>\n amalgm-agents agent unpin <id>\n amalgm-agents agent delete <id>\n\nGlobal options:\n --state-dir <path> Agents state directory\n --help Show this help\n";
|
package/dist/cli/help.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export const HELP = `amalgm-agents — local agent identities and immutable revisions
|
|
2
|
-
|
|
3
|
-
Agents:
|
|
4
|
-
amalgm-agents agent list [--include-deleted]
|
|
5
|
-
amalgm-agents agent show <id>
|
|
6
|
-
amalgm-agents agent create <definition.json>
|
|
7
|
-
amalgm-agents agent update <id> <patch.json>
|
|
8
|
-
amalgm-agents agent pin <id>
|
|
9
|
-
amalgm-agents agent unpin <id>
|
|
10
|
-
amalgm-agents agent delete <id>
|
|
11
|
-
|
|
12
|
-
Global options:
|
|
13
|
-
--state-dir <path> Agents state directory
|
|
14
|
-
--help Show this help
|
|
15
|
-
`;
|
package/dist/cli/open.d.ts
DELETED
package/dist/cli/open.js
DELETED
package/dist/cli/run.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function runCli(argv?: string[]): Promise<number>;
|
package/dist/cli/run.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { asAgentError } from '../errors.js';
|
|
2
|
-
import { parseArgs } from './args.js';
|
|
3
|
-
import { runAgentCommand } from './agent-commands.js';
|
|
4
|
-
import { writeJson } from './files.js';
|
|
5
|
-
import { HELP } from './help.js';
|
|
6
|
-
import { openAgents } from './open.js';
|
|
7
|
-
export async function runCli(argv = process.argv.slice(2)) {
|
|
8
|
-
const args = parseArgs(argv);
|
|
9
|
-
if (args.flags.has('help') || args.words.length === 0) {
|
|
10
|
-
process.stdout.write(HELP);
|
|
11
|
-
return 0;
|
|
12
|
-
}
|
|
13
|
-
let agents;
|
|
14
|
-
try {
|
|
15
|
-
agents = openAgents(args);
|
|
16
|
-
const command = args.words[0];
|
|
17
|
-
const value = command === 'agent'
|
|
18
|
-
? runAgentCommand(agents, args)
|
|
19
|
-
: undefined;
|
|
20
|
-
if (value === undefined)
|
|
21
|
-
throw new Error(`Unknown command: ${String(command)}`);
|
|
22
|
-
writeJson(value);
|
|
23
|
-
return 0;
|
|
24
|
-
}
|
|
25
|
-
catch (error) {
|
|
26
|
-
const normalized = asAgentError(error);
|
|
27
|
-
process.stderr.write(`${normalized.code}: ${normalized.message}\n`);
|
|
28
|
-
return 1;
|
|
29
|
-
}
|
|
30
|
-
finally {
|
|
31
|
-
agents?.close();
|
|
32
|
-
}
|
|
33
|
-
}
|
package/dist/cli.d.ts
DELETED
package/dist/cli.js
DELETED
package/dist/database.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import Database from 'better-sqlite3';
|
|
2
|
-
import type { AgentsOptions } from './types.js';
|
|
3
|
-
export interface OpenedDatabase {
|
|
4
|
-
database: Database.Database;
|
|
5
|
-
databasePath: string;
|
|
6
|
-
close(): void;
|
|
7
|
-
}
|
|
8
|
-
export declare function defaultStateDir(): string;
|
|
9
|
-
export declare function openDatabase(options?: AgentsOptions): OpenedDatabase;
|
package/dist/database.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import fs from 'node:fs';
|
|
2
|
-
import os from 'node:os';
|
|
3
|
-
import path from 'node:path';
|
|
4
|
-
import { resolveProductStateDir } from '@amalgm/core/identity';
|
|
5
|
-
import Database from 'better-sqlite3';
|
|
6
|
-
import { migrate } from './schema.js';
|
|
7
|
-
export function defaultStateDir() {
|
|
8
|
-
return resolveProductStateDir({
|
|
9
|
-
product: 'agents',
|
|
10
|
-
primitive: 'agents',
|
|
11
|
-
env: process.env,
|
|
12
|
-
homedir: path.join(os.homedir(), '.amalgm'),
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
export function openDatabase(options = {}) {
|
|
16
|
-
const stateDir = path.resolve(options.stateDir || defaultStateDir());
|
|
17
|
-
const databasePath = path.resolve(options.databasePath || path.join(stateDir, 'agents.db'));
|
|
18
|
-
fs.mkdirSync(path.dirname(databasePath), { recursive: true, mode: 0o700 });
|
|
19
|
-
const database = new Database(databasePath);
|
|
20
|
-
database.pragma('journal_mode = WAL');
|
|
21
|
-
database.pragma('foreign_keys = ON');
|
|
22
|
-
database.pragma('busy_timeout = 5000');
|
|
23
|
-
migrate(database);
|
|
24
|
-
let closed = false;
|
|
25
|
-
return {
|
|
26
|
-
database,
|
|
27
|
-
databasePath,
|
|
28
|
-
close() {
|
|
29
|
-
if (closed)
|
|
30
|
-
return;
|
|
31
|
-
closed = true;
|
|
32
|
-
database.close();
|
|
33
|
-
},
|
|
34
|
-
};
|
|
35
|
-
}
|
package/dist/rows.d.ts
DELETED
package/dist/rows.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { parseObject } from './json.js';
|
|
2
|
-
function nullable(value) {
|
|
3
|
-
return typeof value === 'string' && value ? value : null;
|
|
4
|
-
}
|
|
5
|
-
export function revisionFromRow(row) {
|
|
6
|
-
return {
|
|
7
|
-
id: String(row.revision_id ?? row.id),
|
|
8
|
-
agentId: String(row.agent_id),
|
|
9
|
-
number: Number(row.revision_number),
|
|
10
|
-
hash: String(row.definition_hash),
|
|
11
|
-
definition: parseObject(String(row.definition_json)),
|
|
12
|
-
createdAt: String(row.revision_created_at ?? row.created_at),
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export function agentFromRow(row) {
|
|
16
|
-
const revision = revisionFromRow(row);
|
|
17
|
-
return {
|
|
18
|
-
id: String(row.id),
|
|
19
|
-
currentRevisionId: String(row.current_revision_id),
|
|
20
|
-
currentRevision: Number(row.current_revision_number),
|
|
21
|
-
definition: revision.definition,
|
|
22
|
-
pinned: row.pinned === 1,
|
|
23
|
-
builtin: row.builtin === 1,
|
|
24
|
-
createdAt: String(row.created_at),
|
|
25
|
-
updatedAt: String(row.updated_at),
|
|
26
|
-
deletedAt: nullable(row.deleted_at),
|
|
27
|
-
};
|
|
28
|
-
}
|
package/dist/schema.d.ts
DELETED
package/dist/schema.js
DELETED
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { definitionHash, normalizeDefinition } from './definition.js';
|
|
2
|
-
import { newId } from './ids.js';
|
|
3
|
-
import { isObject } from './json.js';
|
|
4
|
-
const SCHEMA_VERSION = 5;
|
|
5
|
-
const REGISTRY_SCHEMA = `
|
|
6
|
-
CREATE TABLE agents (
|
|
7
|
-
id TEXT PRIMARY KEY,
|
|
8
|
-
current_revision_id TEXT,
|
|
9
|
-
current_revision_number INTEGER NOT NULL DEFAULT 0,
|
|
10
|
-
created_at TEXT NOT NULL,
|
|
11
|
-
updated_at TEXT NOT NULL,
|
|
12
|
-
deleted_at TEXT,
|
|
13
|
-
pinned INTEGER NOT NULL DEFAULT 1,
|
|
14
|
-
builtin INTEGER NOT NULL DEFAULT 0,
|
|
15
|
-
builtin_hash TEXT
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
CREATE TABLE agent_revisions (
|
|
19
|
-
id TEXT PRIMARY KEY,
|
|
20
|
-
agent_id TEXT NOT NULL REFERENCES agents(id),
|
|
21
|
-
revision_number INTEGER NOT NULL,
|
|
22
|
-
definition_hash TEXT NOT NULL,
|
|
23
|
-
definition_json TEXT NOT NULL,
|
|
24
|
-
created_at TEXT NOT NULL,
|
|
25
|
-
UNIQUE(agent_id, revision_number)
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
CREATE INDEX agent_revisions_agent_idx
|
|
29
|
-
ON agent_revisions(agent_id, revision_number DESC);
|
|
30
|
-
`;
|
|
31
|
-
function withoutSubagents(value) {
|
|
32
|
-
const { subagents: _subagents, ...rest } = value;
|
|
33
|
-
return rest;
|
|
34
|
-
}
|
|
35
|
-
function enabledSubagentIds(value) {
|
|
36
|
-
if (!isObject(value) || !Array.isArray(value.subagents))
|
|
37
|
-
return [];
|
|
38
|
-
return value.subagents.flatMap((item) => (isObject(item) && item.enabled !== false && typeof item.agentId === 'string' ? [item.agentId] : []));
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* `resources.subagents` becomes the only subagent list. Before version 5 the
|
|
42
|
-
* agent editor kept its own list in `driver.config.subagents` and the config
|
|
43
|
-
* view kept one in `metadata.agentConfig.subagents`. Lift the editor's
|
|
44
|
-
* enabled entries into `resources.subagents`, drop both copies, and record the
|
|
45
|
-
* result as a new revision. `updated_at` is left alone: this is not a user
|
|
46
|
-
* edit. An agent whose stored definition no longer normalizes is left as is.
|
|
47
|
-
*/
|
|
48
|
-
function liftSubagentLists(database) {
|
|
49
|
-
const rows = database.prepare(`
|
|
50
|
-
SELECT a.id, a.current_revision_number, r.definition_hash, r.definition_json
|
|
51
|
-
FROM agents a JOIN agent_revisions r ON r.id = a.current_revision_id
|
|
52
|
-
WHERE a.deleted_at IS NULL
|
|
53
|
-
`).all();
|
|
54
|
-
const live = new Set(rows.map((row) => row.id));
|
|
55
|
-
const timestamp = new Date().toISOString();
|
|
56
|
-
for (const row of rows) {
|
|
57
|
-
let definition;
|
|
58
|
-
try {
|
|
59
|
-
const stored = JSON.parse(row.definition_json);
|
|
60
|
-
const subagents = [...new Set([
|
|
61
|
-
...stored.resources.subagents,
|
|
62
|
-
...enabledSubagentIds(stored.driver.config),
|
|
63
|
-
])].filter((id) => id !== row.id && live.has(id));
|
|
64
|
-
const agentConfig = stored.metadata.agentConfig;
|
|
65
|
-
definition = normalizeDefinition({
|
|
66
|
-
...stored,
|
|
67
|
-
driver: { ...stored.driver, config: withoutSubagents(stored.driver.config) },
|
|
68
|
-
resources: { ...stored.resources, subagents },
|
|
69
|
-
metadata: isObject(agentConfig)
|
|
70
|
-
? { ...stored.metadata, agentConfig: withoutSubagents(agentConfig) }
|
|
71
|
-
: stored.metadata,
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
catch {
|
|
75
|
-
continue;
|
|
76
|
-
}
|
|
77
|
-
const hash = definitionHash(definition);
|
|
78
|
-
if (hash === row.definition_hash)
|
|
79
|
-
continue;
|
|
80
|
-
const revisionId = newId('revision');
|
|
81
|
-
const number = row.current_revision_number + 1;
|
|
82
|
-
database.prepare(`
|
|
83
|
-
INSERT INTO agent_revisions
|
|
84
|
-
(id, agent_id, revision_number, definition_hash, definition_json, created_at)
|
|
85
|
-
VALUES (?, ?, ?, ?, ?, ?)
|
|
86
|
-
`).run(revisionId, row.id, number, hash, JSON.stringify(definition), timestamp);
|
|
87
|
-
database.prepare(`
|
|
88
|
-
UPDATE agents SET current_revision_id = ?, current_revision_number = ? WHERE id = ?
|
|
89
|
-
`).run(revisionId, number, row.id);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
function upgradeRegistry(database, current) {
|
|
93
|
-
database.pragma('foreign_keys = OFF');
|
|
94
|
-
try {
|
|
95
|
-
database.exec('BEGIN IMMEDIATE');
|
|
96
|
-
if (current === 1) {
|
|
97
|
-
database.exec(`
|
|
98
|
-
CREATE TABLE agent_revisions_next (
|
|
99
|
-
id TEXT PRIMARY KEY,
|
|
100
|
-
agent_id TEXT NOT NULL REFERENCES agents(id),
|
|
101
|
-
revision_number INTEGER NOT NULL,
|
|
102
|
-
definition_hash TEXT NOT NULL,
|
|
103
|
-
definition_json TEXT NOT NULL,
|
|
104
|
-
created_at TEXT NOT NULL,
|
|
105
|
-
UNIQUE(agent_id, revision_number)
|
|
106
|
-
);
|
|
107
|
-
INSERT INTO agent_revisions_next
|
|
108
|
-
(id, agent_id, revision_number, definition_hash, definition_json, created_at)
|
|
109
|
-
SELECT id, agent_id, revision_number, definition_hash, definition_json, created_at
|
|
110
|
-
FROM agent_revisions;
|
|
111
|
-
DROP TABLE agent_revisions;
|
|
112
|
-
ALTER TABLE agent_revisions_next RENAME TO agent_revisions;
|
|
113
|
-
CREATE INDEX agent_revisions_agent_idx
|
|
114
|
-
ON agent_revisions(agent_id, revision_number DESC);
|
|
115
|
-
`);
|
|
116
|
-
}
|
|
117
|
-
if (current < 4) {
|
|
118
|
-
// Every agent a user already had stays visible; platform agents are
|
|
119
|
-
// recognized by the marker their installer wrote. Their installed hash
|
|
120
|
-
// stays unknown, so an existing edit is never mistaken for stock.
|
|
121
|
-
database.exec(`
|
|
122
|
-
ALTER TABLE agents ADD COLUMN pinned INTEGER NOT NULL DEFAULT 1;
|
|
123
|
-
ALTER TABLE agents ADD COLUMN builtin INTEGER NOT NULL DEFAULT 0;
|
|
124
|
-
ALTER TABLE agents ADD COLUMN builtin_hash TEXT;
|
|
125
|
-
UPDATE agents SET builtin = 1 WHERE current_revision_id IN (
|
|
126
|
-
SELECT id FROM agent_revisions
|
|
127
|
-
WHERE json_extract(definition_json, '$.metadata.builtin') = 1
|
|
128
|
-
);
|
|
129
|
-
`);
|
|
130
|
-
}
|
|
131
|
-
if (current < 5)
|
|
132
|
-
liftSubagentLists(database);
|
|
133
|
-
database.exec(`
|
|
134
|
-
DROP TABLE IF EXISTS session_events;
|
|
135
|
-
DROP TABLE IF EXISTS turns;
|
|
136
|
-
DROP TABLE IF EXISTS sessions;
|
|
137
|
-
PRAGMA user_version = ${SCHEMA_VERSION};
|
|
138
|
-
COMMIT;
|
|
139
|
-
`);
|
|
140
|
-
}
|
|
141
|
-
catch (error) {
|
|
142
|
-
if (database.inTransaction)
|
|
143
|
-
database.exec('ROLLBACK');
|
|
144
|
-
throw error;
|
|
145
|
-
}
|
|
146
|
-
finally {
|
|
147
|
-
database.pragma('foreign_keys = ON');
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
export function migrate(database) {
|
|
151
|
-
const current = database.pragma('user_version', { simple: true });
|
|
152
|
-
if (current > SCHEMA_VERSION) {
|
|
153
|
-
throw new Error(`Agents database version ${current} is newer than supported version ${SCHEMA_VERSION}.`);
|
|
154
|
-
}
|
|
155
|
-
if (current === SCHEMA_VERSION)
|
|
156
|
-
return;
|
|
157
|
-
if (current > 0) {
|
|
158
|
-
upgradeRegistry(database, current);
|
|
159
|
-
return;
|
|
160
|
-
}
|
|
161
|
-
database.exec(`${REGISTRY_SCHEMA}\nPRAGMA user_version = ${SCHEMA_VERSION};`);
|
|
162
|
-
}
|
package/docs/CLI.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# CLI reference
|
|
2
|
-
|
|
3
|
-
The CLI prints JSON to stdout and errors to stderr. It shares the SDK database;
|
|
4
|
-
there is no CLI-specific registry.
|
|
5
|
-
|
|
6
|
-
```bash
|
|
7
|
-
amalgm-agents agent list [--include-deleted]
|
|
8
|
-
amalgm-agents agent show <id> [--include-deleted]
|
|
9
|
-
amalgm-agents agent create <definition.json>
|
|
10
|
-
amalgm-agents agent update <id> <patch.json>
|
|
11
|
-
amalgm-agents agent pin <id>
|
|
12
|
-
amalgm-agents agent unpin <id>
|
|
13
|
-
amalgm-agents agent delete <id>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
Global options are `--state-dir <path>` and `--help`.
|
|
17
|
-
|
|
18
|
-
The REST CLI binds loopback by default:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
amalgm-agents-rest --host 127.0.0.1 --port 4317 --token "$TOKEN"
|
|
22
|
-
amalgm-agents-mcp --state-dir ./state
|
|
23
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# Historical Engine integration
|
|
2
|
-
|
|
3
|
-
Amalgm Engine is deprecated. Its former agent registry, configuration, talk,
|
|
4
|
-
REST, and MCP implementations are reference evidence for migrations and
|
|
5
|
-
parity only. They are not active execution or persistence authorities and are
|
|
6
|
-
never a fallback beside Shell.
|
|
7
|
-
|
|
8
|
-
Agents now owns identities, installations, immutable revisions, and portable
|
|
9
|
-
bundles. Chat owns conversations and turns. Shell resolves exact Agents
|
|
10
|
-
revisions into prepared Chat executions through the public packages.
|
|
11
|
-
|
|
12
|
-
See [SHELL_INTEGRATION.md](./SHELL_INTEGRATION.md) for the active boundary.
|