create-metamynd-agent 0.14.1 → 0.14.2
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/index.mjs +7 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -58,7 +58,8 @@ const GUARD_PKG = '@metamynd/agentsafe-guard';
|
|
|
58
58
|
// passes a request's jurisdiction that way, since the gate no longer reads one from the unsigned context.
|
|
59
59
|
// 0.17.0 signs the agent's context (envelopeSignature, MAGP 8.3.13) by default; the scaffolded agent gets it with no template
|
|
60
60
|
// change (signContext: false opts out). A daemon-custody agent needs agentsafe-signer >= 0.19.0 for its no-amount requests.
|
|
61
|
-
|
|
61
|
+
// 0.18.0 exports keepAliveFetch. No template change.
|
|
62
|
+
const GUARD_VERSION = '^0.18.0';
|
|
62
63
|
/** The harness entry point's config load, shared by both harness templates: a fresh clone has no
|
|
63
64
|
* agent.metamynd.json (it is gitignored), so say what to do instead of a bare ENOENT (BR-004). */
|
|
64
65
|
function harnessConfigLoad() {
|
|
@@ -117,7 +118,9 @@ const MCP_GUARD_PKG = '@metamynd/agentsafe-mcp-guard';
|
|
|
117
118
|
// the scaffolded agent now signs jurisdiction, which an older gateway would refuse SIGNATURE_INVALID.
|
|
118
119
|
// 0.17.0: verifies the agent's context signature (envelopeSignature) before judging its itinerary, and a
|
|
119
120
|
// requireContextSignature option. No template change (the scaffolded agent does not sign its context by default).
|
|
120
|
-
|
|
121
|
+
// 0.18.0: an opt-in bundleCache (push-invalidated by the issuer's events stream) and keepAliveFetch exported. No
|
|
122
|
+
// template change (the scaffolded gateways don't enable the cache).
|
|
123
|
+
const MCP_GUARD_VERSION = '^0.18.0';
|
|
121
124
|
const GATEWAY_PKG = '@metamynd/agentsafe-http-gateway';
|
|
122
125
|
// 0.2.0 fixes a confused-deputy gap (payload not bound to the signed request) — the CLI must
|
|
123
126
|
// never scaffold a range that could resolve below it.
|
|
@@ -137,7 +140,8 @@ const GATEWAY_PKG = '@metamynd/agentsafe-http-gateway';
|
|
|
137
140
|
// No template change.
|
|
138
141
|
// 0.16.0: the caller is answered first and the claimed hold is settled after (settleInBackground), retried on a
|
|
139
142
|
// transient failure. Template change: each scaffolded gateway drains settlements on SIGTERM/SIGINT (DRAIN_ON_SHUTDOWN).
|
|
140
|
-
|
|
143
|
+
// 0.17.0: depends on agentsafe-mcp-guard ^0.18.0 and exports keepAliveFetch. No template change.
|
|
144
|
+
const GATEWAY_VERSION = '^0.17.0';
|
|
141
145
|
|
|
142
146
|
/** Appended to every scaffolded gateway server: give hold settlements still running a bounded moment on shutdown. */
|
|
143
147
|
const DRAIN_ON_SHUTDOWN = `
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-metamynd-agent",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"description": "Scaffold a MetaMynd/AgentSafe-governed AI agent in one command — logs in, provisions the agent (identity + mandate + SOP + Standards) in a single call, writes agent.metamynd.json plus a runnable agent + separate tool-gateway process that closes direct-call, confused-deputy, replay, and cumulative-spend bypasses. --harness scaffolds a free, local, zero-network governance harness instead.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|