@evomap/evolver 1.89.10 → 1.89.11
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.ja-JP.md +1 -1
- package/README.ko-KR.md +1 -1
- package/README.md +2 -1
- package/README.zh-CN.md +1 -1
- package/assets/cover.png +0 -0
- package/index.js +5 -3
- package/package.json +1 -1
- package/src/adapters/scripts/evolver-session-end.js +18 -37
- package/src/atp/atpExecute.js +27 -71
- package/src/atp/serviceHelper.js +28 -36
- package/src/config.js +17 -0
- 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/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/oauthLogin.js +9 -3
- package/src/gep/openPRRegistry.js +1 -1
- package/src/gep/personality.js +1 -1
- package/src/gep/policyCheck.js +1 -1
- package/src/gep/privacyClient.js +10 -9
- 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/signals.js +85 -17
- 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/workspaceKeychain.js +1 -1
- package/src/proxy/extensions/traceControl.js +1 -1
- package/src/proxy/index.js +100 -3
- package/src/proxy/inject.js +1 -1
- package/src/proxy/server/routes.js +10 -7
- package/src/proxy/trace/extractor.js +1 -1
- package/src/proxy/trace/usage.js +1 -1
package/src/gep/privacyClient.js
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
const { getNodeId, buildHubHeaders } = require('./a2aProtocol');
|
|
8
8
|
const { generateKey, encrypt, decrypt, pack, unpack } = require('./crypto');
|
|
9
9
|
const { resolveHubUrl } = require('../config');
|
|
10
|
+
const { hubFetch } = require('./hubFetch');
|
|
10
11
|
|
|
11
12
|
const PRIVACY_TIMEOUT_MS = 15000;
|
|
12
13
|
|
|
@@ -24,9 +25,9 @@ async function submitPrivacyTask(opts) {
|
|
|
24
25
|
if (!nodeId) return null;
|
|
25
26
|
|
|
26
27
|
try {
|
|
27
|
-
const res = await
|
|
28
|
+
const res = await hubFetch(privacyUrl('/submit'), {
|
|
28
29
|
method: 'POST',
|
|
29
|
-
headers: buildHubHeaders(),
|
|
30
|
+
headers: Object.assign({ 'Content-Type': 'application/json' }, buildHubHeaders() || {}),
|
|
30
31
|
body: JSON.stringify({ ...opts, node_id: nodeId }),
|
|
31
32
|
signal: AbortSignal.timeout(PRIVACY_TIMEOUT_MS),
|
|
32
33
|
});
|
|
@@ -62,9 +63,9 @@ async function uploadEncryptedBlob(plaintext, opts) {
|
|
|
62
63
|
encryption: 'aes-256-gcm',
|
|
63
64
|
});
|
|
64
65
|
|
|
65
|
-
const res = await
|
|
66
|
+
const res = await hubFetch(privacyUrl('/blob/upload'), {
|
|
66
67
|
method: 'POST',
|
|
67
|
-
headers: buildHubHeaders(),
|
|
68
|
+
headers: Object.assign({ 'Content-Type': 'application/json' }, buildHubHeaders() || {}),
|
|
68
69
|
body,
|
|
69
70
|
signal: AbortSignal.timeout(PRIVACY_TIMEOUT_MS),
|
|
70
71
|
});
|
|
@@ -92,9 +93,9 @@ async function executeSealedTool(opts) {
|
|
|
92
93
|
if (!nodeId || !opts?.toolId || !opts?.blobId) return null;
|
|
93
94
|
|
|
94
95
|
try {
|
|
95
|
-
const res = await
|
|
96
|
+
const res = await hubFetch(privacyUrl('/tool/execute'), {
|
|
96
97
|
method: 'POST',
|
|
97
|
-
headers: buildHubHeaders(),
|
|
98
|
+
headers: Object.assign({ 'Content-Type': 'application/json' }, buildHubHeaders() || {}),
|
|
98
99
|
body: JSON.stringify({
|
|
99
100
|
toolId: opts.toolId,
|
|
100
101
|
blobId: opts.blobId,
|
|
@@ -121,7 +122,7 @@ async function executeSealedTool(opts) {
|
|
|
121
122
|
async function getPrivacyStatus(taskId) {
|
|
122
123
|
if (!taskId) return null;
|
|
123
124
|
try {
|
|
124
|
-
const res = await
|
|
125
|
+
const res = await hubFetch(privacyUrl(`/status/${encodeURIComponent(taskId)}`), {
|
|
125
126
|
headers: buildHubHeaders(),
|
|
126
127
|
signal: AbortSignal.timeout(PRIVACY_TIMEOUT_MS),
|
|
127
128
|
});
|
|
@@ -141,7 +142,7 @@ async function getPrivacyStatus(taskId) {
|
|
|
141
142
|
async function getPrivacyResult(taskId, key) {
|
|
142
143
|
if (!taskId || !key) return null;
|
|
143
144
|
try {
|
|
144
|
-
const res = await
|
|
145
|
+
const res = await hubFetch(privacyUrl(`/result/${encodeURIComponent(taskId)}`), {
|
|
145
146
|
headers: buildHubHeaders(),
|
|
146
147
|
signal: AbortSignal.timeout(PRIVACY_TIMEOUT_MS),
|
|
147
148
|
});
|
|
@@ -165,7 +166,7 @@ async function getPrivacyResult(taskId, key) {
|
|
|
165
166
|
*/
|
|
166
167
|
async function getToolTemplates() {
|
|
167
168
|
try {
|
|
168
|
-
const res = await
|
|
169
|
+
const res = await hubFetch(privacyUrl('/tool/templates'), {
|
|
169
170
|
headers: buildHubHeaders(),
|
|
170
171
|
signal: AbortSignal.timeout(PRIVACY_TIMEOUT_MS),
|
|
171
172
|
});
|