@evomap/evolver 1.91.0 → 1.91.1
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/package.json +1 -1
- package/src/atp/hubClient.js +13 -1
- package/src/evolve/guards.js +1 -1
- package/src/evolve/pipeline/collect.js +1 -1
- package/src/evolve/pipeline/dispatch.js +1 -1
- package/src/evolve/pipeline/enrich.js +1 -1
- package/src/evolve/pipeline/hub.js +1 -1
- package/src/evolve/pipeline/select.js +1 -1
- package/src/evolve/pipeline/signals.js +1 -1
- package/src/evolve/utils.js +1 -1
- package/src/evolve.js +1 -1
- package/src/gep/a2aProtocol.js +1 -1
- package/src/gep/antiAbuseTelemetry.js +1 -1
- package/src/gep/autoDistillConv.js +1 -1
- package/src/gep/autoDistillLlm.js +1 -1
- package/src/gep/candidateEval.js +1 -1
- package/src/gep/candidates.js +1 -1
- package/src/gep/contentHash.js +1 -1
- package/src/gep/conversationDistiller.js +1 -1
- package/src/gep/conversationSniffer.js +1 -1
- package/src/gep/crypto.js +1 -1
- package/src/gep/curriculum.js +1 -1
- package/src/gep/deviceId.js +1 -1
- package/src/gep/envFingerprint.js +1 -1
- package/src/gep/epigenetics.js +1 -1
- package/src/gep/execBridge.js +1 -1
- package/src/gep/explore.js +1 -1
- package/src/gep/hash.js +1 -1
- package/src/gep/hubFetch.js +1 -1
- package/src/gep/hubReview.js +1 -1
- package/src/gep/hubSearch.js +1 -1
- package/src/gep/hubVerify.js +1 -1
- package/src/gep/learningSignals.js +1 -1
- package/src/gep/memoryGraph.js +1 -1
- package/src/gep/memoryGraphAdapter.js +1 -1
- package/src/gep/mutation.js +1 -1
- package/src/gep/narrativeMemory.js +1 -1
- package/src/gep/openPRRegistry.js +1 -1
- package/src/gep/personality.js +1 -1
- package/src/gep/policyCheck.js +1 -1
- package/src/gep/prompt.js +1 -1
- package/src/gep/recallInject.js +1 -1
- package/src/gep/recallVerifier.js +1 -1
- package/src/gep/reflection.js +1 -1
- package/src/gep/savingsCore.js +1 -1
- package/src/gep/selector.js +1 -1
- package/src/gep/skillDistiller.js +1 -1
- package/src/gep/solidify.js +1 -1
- package/src/gep/strategy.js +1 -1
- package/src/gep/tokenSavings.js +1 -1
- package/src/gep/trajectoryExport.js +1 -1
- package/src/gep/workspaceKeychain.js +1 -1
- package/src/proxy/extensions/sessionHandler.js +123 -53
- package/src/proxy/extensions/traceControl.js +1 -1
- package/src/proxy/index.js +57 -2
- package/src/proxy/inject.js +1 -1
- package/src/proxy/router/messages_route.js +6 -0
- package/src/proxy/server/routes.js +40 -62
- package/src/proxy/trace/extractor.js +1 -1
- package/src/proxy/trace/usage.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evomap/evolver",
|
|
3
|
-
"version": "1.91.
|
|
3
|
+
"version": "1.91.1",
|
|
4
4
|
"description": "A GEP-powered self-evolution engine for AI agents. Features automated log analysis and Genome Evolution Protocol (GEP) for auditable, reusable evolution assets.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
package/src/atp/hubClient.js
CHANGED
|
@@ -160,6 +160,18 @@ function _get(proxyPath, hubPath, timeoutMs) {
|
|
|
160
160
|
return _hubGet(hubPath, timeoutMs);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
// Coerce an order `budget` input. The previous `Number(x) || 10` form
|
|
164
|
+
// treated 0 as missing and silently substituted the default, so an
|
|
165
|
+
// explicit `budget: 0` request was sent as 10 instead of clamping to the
|
|
166
|
+
// floor of 1. Mirrors the falsy-zero fix in
|
|
167
|
+
// sessionHandler.js#normalizeCreatePayload: explicit undefined / null /
|
|
168
|
+
// '' checks first, then `Number.isFinite` to guard the strict-zero case.
|
|
169
|
+
function _coerceBudget(raw) {
|
|
170
|
+
if (raw === undefined || raw === null || raw === '') return 10;
|
|
171
|
+
const n = Number(raw);
|
|
172
|
+
return Number.isFinite(n) ? Math.max(1, Math.round(n)) : 10;
|
|
173
|
+
}
|
|
174
|
+
|
|
163
175
|
/**
|
|
164
176
|
* POST /a2a/atp/order -- place an ATP order with routing
|
|
165
177
|
* @param {object} opts
|
|
@@ -176,7 +188,7 @@ function placeOrder(opts) {
|
|
|
176
188
|
return _post('/atp/order', '/a2a/atp/order', {
|
|
177
189
|
sender_id: nodeId,
|
|
178
190
|
capabilities: opts.capabilities,
|
|
179
|
-
budget:
|
|
191
|
+
budget: _coerceBudget(opts.budget),
|
|
180
192
|
routing_mode: opts.routingMode || 'fastest',
|
|
181
193
|
verify_mode: opts.verifyMode || 'auto',
|
|
182
194
|
question: opts.question,
|