@aman_asmuei/aman-agent 0.31.0-next.1 → 0.31.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 +16 -9
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,40 +94,47 @@
|
|
|
94
94
|
|
|
95
95
|
---
|
|
96
96
|
|
|
97
|
-
## What's New in v0.
|
|
97
|
+
## What's New in v0.31.0
|
|
98
98
|
|
|
99
|
-
> **
|
|
100
|
-
>
|
|
99
|
+
> **Multi-agent (A2A) via MCP server mode.**<br/>
|
|
100
|
+
> Multiple `aman-agent` instances on the same machine can now discover each other via a local registry and delegate tasks to each other over the MCP protocol. No new wire format, no broker, no new runtime daemon.
|
|
101
101
|
|
|
102
102
|
<table>
|
|
103
103
|
<tr>
|
|
104
104
|
<td width="33%" valign="top">
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
**`aman-agent serve`**
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
Run any profile as a local MCP server. Registers in `~/.aman-agent/registry.json` (mode `0600`), exposes `agent.info`, `agent.delegate`, and `agent.send` tools over localhost HTTP with bearer auth.
|
|
109
109
|
|
|
110
110
|
</td>
|
|
111
111
|
<td width="33%" valign="top">
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
**`/delegate @coder <task>`**
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
From any other `aman-agent`, delegate to a running serve instance by handle. The `@`-prefix routes through `delegateRemote` which dials via `StreamableHTTPClientTransport` using the bearer from the registry.
|
|
116
116
|
|
|
117
117
|
</td>
|
|
118
118
|
<td width="33%" valign="top">
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
**`/agents list|info|ping`**
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
Discover, inspect, and latency-check every agent currently running on this machine. `/agents list` merges local registry entries with remotes (local wins on name collision).
|
|
123
123
|
|
|
124
124
|
</td>
|
|
125
125
|
</tr>
|
|
126
126
|
</table>
|
|
127
127
|
|
|
128
|
+
See the [Multi-agent (A2A)](#multi-agent-a2a) section below for the full walkthrough.
|
|
129
|
+
|
|
128
130
|
<details>
|
|
129
131
|
<summary><strong>Highlights from earlier releases</strong></summary>
|
|
130
132
|
|
|
133
|
+
**v0.30 — Agent hardening**
|
|
134
|
+
- Delegation confirmation prompts (no more silent sub-agents)
|
|
135
|
+
- Persistent background task state surviving crashes
|
|
136
|
+
- Rich `/eval report` with trust, sentiment, energy, burnout risk
|
|
137
|
+
|
|
131
138
|
**v0.29 — Ecosystem parity**
|
|
132
139
|
- Auto-relate memories after extraction (knowledge graph edges)
|
|
133
140
|
- Stale reference cleanup
|
package/dist/index.js
CHANGED
|
@@ -6556,7 +6556,7 @@ function handleReset(action) {
|
|
|
6556
6556
|
function handleUpdate() {
|
|
6557
6557
|
try {
|
|
6558
6558
|
const current = execFileSync3("npm", ["view", "@aman_asmuei/aman-agent", "version"], { encoding: "utf-8" }).trim();
|
|
6559
|
-
const local = true ? "0.31.0
|
|
6559
|
+
const local = true ? "0.31.0" : "unknown";
|
|
6560
6560
|
if (current === local) {
|
|
6561
6561
|
return { handled: true, output: `${pc6.green("Up to date")} \u2014 v${local}` };
|
|
6562
6562
|
}
|
|
@@ -9542,7 +9542,7 @@ var Inbox = class {
|
|
|
9542
9542
|
// package.json
|
|
9543
9543
|
var package_default = {
|
|
9544
9544
|
name: "@aman_asmuei/aman-agent",
|
|
9545
|
-
version: "0.31.0
|
|
9545
|
+
version: "0.31.0",
|
|
9546
9546
|
description: "Your AI companion, running locally \u2014 powered by the aman ecosystem",
|
|
9547
9547
|
type: "module",
|
|
9548
9548
|
bin: {
|
|
@@ -9910,7 +9910,7 @@ function bootstrapEcosystem() {
|
|
|
9910
9910
|
return true;
|
|
9911
9911
|
}
|
|
9912
9912
|
var program = new Command();
|
|
9913
|
-
program.name("aman-agent").description("Your AI companion, running locally").version("0.31.0
|
|
9913
|
+
program.name("aman-agent").description("Your AI companion, running locally").version("0.31.0").option("--model <model>", "Override LLM model").option("--budget <tokens>", "Token budget for system prompt (default: 8000)", parseInt).option("--profile <name>", "Use a specific agent profile (e.g., coder, writer, researcher)").action(async (options) => {
|
|
9914
9914
|
p4.intro(pc9.bold("aman agent") + pc9.dim(" \u2014 your AI companion"));
|
|
9915
9915
|
let config = loadConfig();
|
|
9916
9916
|
if (!config) {
|