create-metamynd-agent 0.14.40 → 0.14.43
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 +9 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -95,7 +95,9 @@ const GUARD_PKG = '@metamynd/agentsafe-guard';
|
|
|
95
95
|
// gate, so a local check escalates an owner-marked op (e.g. delete-all) whatever riskLevel the agent declares.
|
|
96
96
|
// 0.34.0: a tool whose gateway predates the approved-context binding (AUTHORIZATION_CONTEXT_REQUIRED) no longer voids the approval;
|
|
97
97
|
// resume() works again once the gateway is upgraded, and a voided approval is reported AUTHORIZATION_VOIDED (pre-beta rerun 6 FW6-1).
|
|
98
|
-
|
|
98
|
+
// 0.35.0: a payment in another currency than a currency-scoped cap is refused CURRENCY_NOT_ALLOWED, not SOP_SPEND_CAP (M2).
|
|
99
|
+
// 0.36.0: ships TypeScript declarations (agentsafe-guard.d.mts), so a TypeScript agent gets types with no @types package (L5).
|
|
100
|
+
const GUARD_VERSION = '^0.36.0';
|
|
99
101
|
/** The harness entry point's config load, shared by both harness templates: a fresh clone has no
|
|
100
102
|
* agent.metamynd.json (it is gitignored), so say what to do instead of a bare ENOENT (BR-004). */
|
|
101
103
|
function harnessConfigLoad() {
|
|
@@ -183,7 +185,8 @@ const MCP_GUARD_PKG = '@metamynd/agentsafe-mcp-guard';
|
|
|
183
185
|
// 0.28.0: a gateway judges owner-keyed operation rules (context-value-in / -not-in) from its bundle like the gate
|
|
184
186
|
// (NF-RISK-SELF). Required: a gateway on an older guard would read an operation rule's atom as unknown and let it run.
|
|
185
187
|
// 0.29.0: a claim the issuer refuses is logged in one line and its block carries the issuer's detail (FW6-1).
|
|
186
|
-
|
|
188
|
+
// 0.30.0: same CURRENCY_NOT_ALLOWED code in a gateway's local judgement as at the gate (M2).
|
|
189
|
+
const MCP_GUARD_VERSION = '^0.30.0';
|
|
187
190
|
/** A DID as it may appear inside a generated string literal (the gateway's allowedAgents pin): no quote, backslash or space. */
|
|
188
191
|
const SAFE_DID = /^did:[a-z0-9]+:[A-Za-z0-9._:%-]+$/;
|
|
189
192
|
const GATEWAY_PKG = '@metamynd/agentsafe-http-gateway';
|
|
@@ -220,7 +223,10 @@ const GATEWAY_PKG = '@metamynd/agentsafe-http-gateway';
|
|
|
220
223
|
// 0.26.1: a report names an authorization as claimed only when this gateway claimed it (FW6-3); depends on agentsafe-mcp-guard ^0.27.1.
|
|
221
224
|
// 0.27.0: depends on agentsafe-mcp-guard ^0.28.0 (operation rules). Required with MCP_GUARD_VERSION above.
|
|
222
225
|
// 0.28.0: a 403 for a refused claim carries the issuer's detail (FW6-1); depends on agentsafe-mcp-guard ^0.29.0.
|
|
223
|
-
|
|
226
|
+
// 0.29.0: a request signed for another action than the route's is refused GATEWAY_ACTION_MISMATCH, not SIGNATURE_INVALID (M2);
|
|
227
|
+
// depends on agentsafe-mcp-guard ^0.30.0.
|
|
228
|
+
// 0.30.0: `agentsafe-gateway service-id` / `accept-challenge` / `serve`, SERVICE_IDENTITY_FILE and AGENTSAFE_UPSTREAM_CREDENTIAL (M4).
|
|
229
|
+
const GATEWAY_VERSION = '^0.30.0';
|
|
224
230
|
|
|
225
231
|
/** Appended to every scaffolded gateway server: give hold settlements still running a bounded moment on shutdown. */
|
|
226
232
|
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.43",
|
|
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": {
|