signetai 0.138.34 → 0.139.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/dist/mcp-stdio.js +94 -38
- package/native-manifest.json +14 -14
- package/package.json +6 -6
package/dist/mcp-stdio.js
CHANGED
|
@@ -37931,6 +37931,34 @@ function up77(db) {
|
|
|
37931
37931
|
ON entity_aliases(agent_id, canonical_alias, status);
|
|
37932
37932
|
`);
|
|
37933
37933
|
}
|
|
37934
|
+
function up78(db) {
|
|
37935
|
+
db.exec(`
|
|
37936
|
+
CREATE TABLE IF NOT EXISTS api_keys (
|
|
37937
|
+
id TEXT PRIMARY KEY,
|
|
37938
|
+
prefix TEXT NOT NULL UNIQUE,
|
|
37939
|
+
name TEXT NOT NULL,
|
|
37940
|
+
key_hash TEXT NOT NULL,
|
|
37941
|
+
role TEXT NOT NULL DEFAULT 'agent',
|
|
37942
|
+
scope_json TEXT NOT NULL DEFAULT '{}',
|
|
37943
|
+
permissions_json TEXT NOT NULL DEFAULT '[]',
|
|
37944
|
+
connector TEXT,
|
|
37945
|
+
harness TEXT,
|
|
37946
|
+
agent_id TEXT,
|
|
37947
|
+
allowed_projects_json TEXT,
|
|
37948
|
+
created_at TEXT NOT NULL,
|
|
37949
|
+
last_used_at TEXT,
|
|
37950
|
+
revoked_at TEXT,
|
|
37951
|
+
expires_at TEXT
|
|
37952
|
+
);
|
|
37953
|
+
|
|
37954
|
+
CREATE INDEX IF NOT EXISTS idx_api_keys_prefix
|
|
37955
|
+
ON api_keys(prefix);
|
|
37956
|
+
CREATE INDEX IF NOT EXISTS idx_api_keys_active
|
|
37957
|
+
ON api_keys(revoked_at, expires_at);
|
|
37958
|
+
CREATE INDEX IF NOT EXISTS idx_api_keys_connector
|
|
37959
|
+
ON api_keys(connector, harness);
|
|
37960
|
+
`);
|
|
37961
|
+
}
|
|
37934
37962
|
var MIGRATIONS = [
|
|
37935
37963
|
{
|
|
37936
37964
|
version: 1,
|
|
@@ -38549,6 +38577,14 @@ var MIGRATIONS = [
|
|
|
38549
38577
|
artifacts: {
|
|
38550
38578
|
tables: ["entity_aliases"]
|
|
38551
38579
|
}
|
|
38580
|
+
},
|
|
38581
|
+
{
|
|
38582
|
+
version: 78,
|
|
38583
|
+
name: "api-keys",
|
|
38584
|
+
up: up78,
|
|
38585
|
+
artifacts: {
|
|
38586
|
+
tables: ["api_keys"]
|
|
38587
|
+
}
|
|
38552
38588
|
}
|
|
38553
38589
|
];
|
|
38554
38590
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -40949,8 +40985,21 @@ var GRAPHIQ_COMPAT_ALIASES = new Map([
|
|
|
40949
40985
|
["code_doctor", "signet_code_doctor"],
|
|
40950
40986
|
["code_constants", "signet_code_constants"]
|
|
40951
40987
|
]);
|
|
40988
|
+
function readDaemonAuthToken() {
|
|
40989
|
+
const apiKey = process.env.SIGNET_API_KEY?.trim();
|
|
40990
|
+
if (apiKey)
|
|
40991
|
+
return apiKey;
|
|
40992
|
+
const legacyToken = process.env.SIGNET_TOKEN?.trim();
|
|
40993
|
+
return legacyToken || undefined;
|
|
40994
|
+
}
|
|
40995
|
+
function normalizeAuthorizationHeader(value) {
|
|
40996
|
+
const trimmed = value?.trim();
|
|
40997
|
+
return trimmed ? trimmed.replace(/[\r\n]+/g, "") : undefined;
|
|
40998
|
+
}
|
|
40952
40999
|
async function daemonFetch(baseUrl, path, options = {}) {
|
|
40953
41000
|
const { method = "GET", body, timeout = 1e4, extraHeaders } = options;
|
|
41001
|
+
const token = readDaemonAuthToken();
|
|
41002
|
+
const authorizationHeader = normalizeAuthorizationHeader(options.authorizationHeader) ?? (token ? `Bearer ${token}` : undefined);
|
|
40954
41003
|
const init = {
|
|
40955
41004
|
method,
|
|
40956
41005
|
headers: {
|
|
@@ -40958,6 +41007,7 @@ async function daemonFetch(baseUrl, path, options = {}) {
|
|
|
40958
41007
|
"x-signet-runtime-path": "plugin",
|
|
40959
41008
|
"x-signet-actor": "mcp-server",
|
|
40960
41009
|
"x-signet-actor-type": "harness",
|
|
41010
|
+
...authorizationHeader ? { Authorization: authorizationHeader } : {},
|
|
40961
41011
|
...extraHeaders
|
|
40962
41012
|
},
|
|
40963
41013
|
signal: AbortSignal.timeout(timeout)
|
|
@@ -41179,9 +41229,10 @@ function selectToolsByPolicy(tools, state) {
|
|
|
41179
41229
|
}
|
|
41180
41230
|
return selected;
|
|
41181
41231
|
}
|
|
41182
|
-
async function fetchMarketplacePolicy(baseUrl) {
|
|
41232
|
+
async function fetchMarketplacePolicy(baseUrl, authorizationHeader) {
|
|
41183
41233
|
const result = await daemonFetch(baseUrl, "/api/marketplace/mcp/policy", {
|
|
41184
|
-
timeout: 3000
|
|
41234
|
+
timeout: 3000,
|
|
41235
|
+
authorizationHeader
|
|
41185
41236
|
});
|
|
41186
41237
|
if (!result.ok) {
|
|
41187
41238
|
return null;
|
|
@@ -41195,12 +41246,13 @@ async function refreshMarketplaceProxyTools(server, options) {
|
|
|
41195
41246
|
}
|
|
41196
41247
|
const notify = options?.notify ?? true;
|
|
41197
41248
|
const registeredTools = getRegisteredToolsMap(server);
|
|
41198
|
-
const policy = await fetchMarketplacePolicy(state.baseUrl);
|
|
41249
|
+
const policy = await fetchMarketplacePolicy(state.baseUrl, state.authorizationHeader);
|
|
41199
41250
|
if (policy) {
|
|
41200
41251
|
state.policy = policy;
|
|
41201
41252
|
}
|
|
41202
41253
|
const routed = await daemonFetch(state.baseUrl, appendMarketplaceContext("/api/marketplace/mcp/tools?refresh=1", state.context), {
|
|
41203
|
-
timeout: 3000
|
|
41254
|
+
timeout: 3000,
|
|
41255
|
+
authorizationHeader: state.authorizationHeader
|
|
41204
41256
|
});
|
|
41205
41257
|
if (!routed.ok) {
|
|
41206
41258
|
return { changed: false, count: state.names.size, error: routed.error };
|
|
@@ -41243,7 +41295,8 @@ async function refreshMarketplaceProxyTools(server, options) {
|
|
|
41243
41295
|
toolName: tool.toolName,
|
|
41244
41296
|
args
|
|
41245
41297
|
},
|
|
41246
|
-
timeout: 60000
|
|
41298
|
+
timeout: 60000,
|
|
41299
|
+
authorizationHeader: state.authorizationHeader
|
|
41247
41300
|
});
|
|
41248
41301
|
if (!callResult.ok) {
|
|
41249
41302
|
return errorResult(`Tool server call failed: ${callResult.error}`);
|
|
@@ -41359,6 +41412,8 @@ async function createMcpServer(opts) {
|
|
|
41359
41412
|
const enableMarketplaceProxyTools = opts?.enableMarketplaceProxyTools ?? true;
|
|
41360
41413
|
const context = normalizeContext(opts?.context);
|
|
41361
41414
|
const contextKey = buildContextKey(context);
|
|
41415
|
+
const authorizationHeader = normalizeAuthorizationHeader(opts?.authorizationHeader);
|
|
41416
|
+
const fetchDaemon = (requestBaseUrl, path, options) => daemonFetch(requestBaseUrl, path, { ...options, authorizationHeader });
|
|
41362
41417
|
const pluginHostProvider = opts?.pluginHost ? () => opts.pluginHost : () => createDefaultPluginHost({ persistRegistry: false });
|
|
41363
41418
|
const server = new McpServer({
|
|
41364
41419
|
name: "signet",
|
|
@@ -41371,6 +41426,7 @@ async function createMcpServer(opts) {
|
|
|
41371
41426
|
signature: "",
|
|
41372
41427
|
context,
|
|
41373
41428
|
contextKey,
|
|
41429
|
+
authorizationHeader,
|
|
41374
41430
|
policy: {
|
|
41375
41431
|
mode: "hybrid",
|
|
41376
41432
|
maxExpandedTools: 12,
|
|
@@ -41430,7 +41486,7 @@ async function createMcpServer(opts) {
|
|
|
41430
41486
|
agent_id,
|
|
41431
41487
|
include_recalled
|
|
41432
41488
|
}) => {
|
|
41433
|
-
const result = await
|
|
41489
|
+
const result = await fetchDaemon(baseUrl, "/api/memory/recall", {
|
|
41434
41490
|
method: "POST",
|
|
41435
41491
|
body: buildRecallRequestBody(query, {
|
|
41436
41492
|
keyword_query,
|
|
@@ -41503,7 +41559,7 @@ async function createMcpServer(opts) {
|
|
|
41503
41559
|
agent_id,
|
|
41504
41560
|
include_recalled
|
|
41505
41561
|
}) => {
|
|
41506
|
-
const result = await
|
|
41562
|
+
const result = await fetchDaemon(baseUrl, "/api/memory/recall", {
|
|
41507
41563
|
method: "POST",
|
|
41508
41564
|
body: buildRecallRequestBody(query, {
|
|
41509
41565
|
keyword_query,
|
|
@@ -41539,7 +41595,7 @@ async function createMcpServer(opts) {
|
|
|
41539
41595
|
include_recalled: exports_external.boolean().optional().describe("Include rows already recalled in this context")
|
|
41540
41596
|
})
|
|
41541
41597
|
}, async ({ query, limit, project, session_key, agent_id, include_recalled }) => {
|
|
41542
|
-
const result = await
|
|
41598
|
+
const result = await fetchDaemon(baseUrl, "/api/memory/recall", {
|
|
41543
41599
|
method: "POST",
|
|
41544
41600
|
body: {
|
|
41545
41601
|
...buildRecallRequestBody(query, {
|
|
@@ -41625,7 +41681,7 @@ async function createMcpServer(opts) {
|
|
|
41625
41681
|
validFrom,
|
|
41626
41682
|
validUntil
|
|
41627
41683
|
}) => {
|
|
41628
|
-
const result = await
|
|
41684
|
+
const result = await fetchDaemon(baseUrl, "/api/memory/remember", {
|
|
41629
41685
|
method: "POST",
|
|
41630
41686
|
body: buildRememberRequestBody(content, {
|
|
41631
41687
|
type,
|
|
@@ -41658,7 +41714,7 @@ async function createMcpServer(opts) {
|
|
|
41658
41714
|
}),
|
|
41659
41715
|
annotations: { readOnlyHint: false }
|
|
41660
41716
|
}, async ({ content, title, tags }) => {
|
|
41661
|
-
const result = await
|
|
41717
|
+
const result = await fetchDaemon(baseUrl, "/api/memory/codex-native-note", {
|
|
41662
41718
|
method: "POST",
|
|
41663
41719
|
body: { content, title, tags }
|
|
41664
41720
|
});
|
|
@@ -41673,7 +41729,7 @@ async function createMcpServer(opts) {
|
|
|
41673
41729
|
id: exports_external.string().describe("Memory ID to retrieve")
|
|
41674
41730
|
})
|
|
41675
41731
|
}, async ({ id }) => {
|
|
41676
|
-
const result = await
|
|
41732
|
+
const result = await fetchDaemon(baseUrl, `/api/memory/${encodeURIComponent(id)}`);
|
|
41677
41733
|
if (!result.ok) {
|
|
41678
41734
|
return errorResult(`Get failed: ${result.error}`);
|
|
41679
41735
|
}
|
|
@@ -41697,7 +41753,7 @@ async function createMcpServer(opts) {
|
|
|
41697
41753
|
params.set("type", type);
|
|
41698
41754
|
const qs = params.toString();
|
|
41699
41755
|
const path = `/api/memories${qs ? `?${qs}` : ""}`;
|
|
41700
|
-
const result = await
|
|
41756
|
+
const result = await fetchDaemon(baseUrl, path);
|
|
41701
41757
|
if (!result.ok) {
|
|
41702
41758
|
return errorResult(`List failed: ${result.error}`);
|
|
41703
41759
|
}
|
|
@@ -41717,7 +41773,7 @@ async function createMcpServer(opts) {
|
|
|
41717
41773
|
}),
|
|
41718
41774
|
annotations: { readOnlyHint: false }
|
|
41719
41775
|
}, async ({ id, content, type, importance, tags, reason, pinned }) => {
|
|
41720
|
-
const result = await
|
|
41776
|
+
const result = await fetchDaemon(baseUrl, `/api/memory/${encodeURIComponent(id)}`, {
|
|
41721
41777
|
method: "PATCH",
|
|
41722
41778
|
body: {
|
|
41723
41779
|
content,
|
|
@@ -41742,7 +41798,7 @@ async function createMcpServer(opts) {
|
|
|
41742
41798
|
}),
|
|
41743
41799
|
annotations: { readOnlyHint: false }
|
|
41744
41800
|
}, async ({ id, reason }) => {
|
|
41745
|
-
const result = await
|
|
41801
|
+
const result = await fetchDaemon(baseUrl, `/api/memory/${encodeURIComponent(id)}`, {
|
|
41746
41802
|
method: "DELETE",
|
|
41747
41803
|
body: { reason }
|
|
41748
41804
|
});
|
|
@@ -41772,7 +41828,7 @@ async function createMcpServer(opts) {
|
|
|
41772
41828
|
}),
|
|
41773
41829
|
annotations: { readOnlyHint: false }
|
|
41774
41830
|
}, async ({ session_key, agent_id, ratings, paths, rewards }) => {
|
|
41775
|
-
const result = await
|
|
41831
|
+
const result = await fetchDaemon(baseUrl, "/api/memory/feedback", {
|
|
41776
41832
|
method: "POST",
|
|
41777
41833
|
body: {
|
|
41778
41834
|
sessionKey: session_key,
|
|
@@ -41808,7 +41864,7 @@ async function createMcpServer(opts) {
|
|
|
41808
41864
|
if (typeof limit === "number" && Number.isFinite(limit)) {
|
|
41809
41865
|
params.set("limit", String(Math.max(1, Math.min(200, Math.round(limit)))));
|
|
41810
41866
|
}
|
|
41811
|
-
const result = await
|
|
41867
|
+
const result = await fetchDaemon(baseUrl, `/api/cross-agent/presence?${params.toString()}`);
|
|
41812
41868
|
if (!result.ok) {
|
|
41813
41869
|
return errorResult(`Peer list failed: ${result.error}`);
|
|
41814
41870
|
}
|
|
@@ -41861,7 +41917,7 @@ async function createMcpServer(opts) {
|
|
|
41861
41917
|
timeoutMs: acp_timeout_ms
|
|
41862
41918
|
};
|
|
41863
41919
|
}
|
|
41864
|
-
const result = await
|
|
41920
|
+
const result = await fetchDaemon(baseUrl, "/api/cross-agent/messages", {
|
|
41865
41921
|
method: "POST",
|
|
41866
41922
|
body
|
|
41867
41923
|
});
|
|
@@ -41897,7 +41953,7 @@ async function createMcpServer(opts) {
|
|
|
41897
41953
|
if (typeof include_broadcast === "boolean") {
|
|
41898
41954
|
params.set("include_broadcast", String(include_broadcast));
|
|
41899
41955
|
}
|
|
41900
|
-
const result = await
|
|
41956
|
+
const result = await fetchDaemon(baseUrl, `/api/cross-agent/messages?${params.toString()}`);
|
|
41901
41957
|
if (!result.ok) {
|
|
41902
41958
|
return errorResult(`Inbox read failed: ${result.error}`);
|
|
41903
41959
|
}
|
|
@@ -41908,7 +41964,7 @@ async function createMcpServer(opts) {
|
|
|
41908
41964
|
description: "List available secret names. Returns names only — raw values are never exposed to agents.",
|
|
41909
41965
|
inputSchema: exports_external.object({})
|
|
41910
41966
|
}, async () => {
|
|
41911
|
-
const result = await
|
|
41967
|
+
const result = await fetchDaemon(baseUrl, "/api/secrets");
|
|
41912
41968
|
if (!result.ok) {
|
|
41913
41969
|
return errorResult(`Failed to list secrets: ${result.error}`);
|
|
41914
41970
|
}
|
|
@@ -41929,7 +41985,7 @@ async function createMcpServer(opts) {
|
|
|
41929
41985
|
}
|
|
41930
41986
|
const timeoutMs = timeoutSeconds ? timeoutSeconds * 1000 : undefined;
|
|
41931
41987
|
const requestTimeout = 1e4;
|
|
41932
|
-
const result = await
|
|
41988
|
+
const result = await fetchDaemon(baseUrl, "/api/secrets/exec", {
|
|
41933
41989
|
method: "POST",
|
|
41934
41990
|
body: { command, secrets, timeoutMs },
|
|
41935
41991
|
timeout: requestTimeout
|
|
@@ -41947,7 +42003,7 @@ async function createMcpServer(opts) {
|
|
|
41947
42003
|
}),
|
|
41948
42004
|
annotations: { readOnlyHint: true }
|
|
41949
42005
|
}, async ({ jobId }) => {
|
|
41950
|
-
const result = await
|
|
42006
|
+
const result = await fetchDaemon(baseUrl, `/api/secrets/exec/${encodeURIComponent(jobId)}`);
|
|
41951
42007
|
if (!result.ok) {
|
|
41952
42008
|
return errorResult(`Secret exec status failed: ${result.error}`);
|
|
41953
42009
|
}
|
|
@@ -41969,7 +42025,7 @@ async function createMcpServer(opts) {
|
|
|
41969
42025
|
await refreshMarketplaceProxyTools(server, { notify: true });
|
|
41970
42026
|
}
|
|
41971
42027
|
const path = refresh ? "/api/marketplace/mcp/tools?refresh=1" : "/api/marketplace/mcp/tools";
|
|
41972
|
-
const result = await
|
|
42028
|
+
const result = await fetchDaemon(baseUrl, contextPath(path));
|
|
41973
42029
|
if (!result.ok) {
|
|
41974
42030
|
return errorResult(`Tool server list failed: ${result.error}`);
|
|
41975
42031
|
}
|
|
@@ -41993,7 +42049,7 @@ async function createMcpServer(opts) {
|
|
|
41993
42049
|
if (refresh) {
|
|
41994
42050
|
searchPath.set("refresh", "1");
|
|
41995
42051
|
}
|
|
41996
|
-
const result = await
|
|
42052
|
+
const result = await fetchDaemon(baseUrl, contextPath(`/api/marketplace/mcp/search?${searchPath.toString()}`));
|
|
41997
42053
|
if (!result.ok) {
|
|
41998
42054
|
return errorResult(`Tool server search failed: ${result.error}`);
|
|
41999
42055
|
}
|
|
@@ -42024,7 +42080,7 @@ async function createMcpServer(opts) {
|
|
|
42024
42080
|
}),
|
|
42025
42081
|
annotations: { readOnlyHint: false }
|
|
42026
42082
|
}, async ({ server_id }) => {
|
|
42027
|
-
const result = await
|
|
42083
|
+
const result = await fetchDaemon(baseUrl, contextPath(`/api/marketplace/mcp/${encodeURIComponent(server_id)}`), {
|
|
42028
42084
|
method: "PATCH",
|
|
42029
42085
|
body: { enabled: true }
|
|
42030
42086
|
});
|
|
@@ -42044,7 +42100,7 @@ async function createMcpServer(opts) {
|
|
|
42044
42100
|
}),
|
|
42045
42101
|
annotations: { readOnlyHint: false }
|
|
42046
42102
|
}, async ({ server_id }) => {
|
|
42047
|
-
const result = await
|
|
42103
|
+
const result = await fetchDaemon(baseUrl, contextPath(`/api/marketplace/mcp/${encodeURIComponent(server_id)}`), {
|
|
42048
42104
|
method: "PATCH",
|
|
42049
42105
|
body: { enabled: false }
|
|
42050
42106
|
});
|
|
@@ -42064,13 +42120,13 @@ async function createMcpServer(opts) {
|
|
|
42064
42120
|
})
|
|
42065
42121
|
}, async ({ server_id }) => {
|
|
42066
42122
|
if (server_id) {
|
|
42067
|
-
const result2 = await
|
|
42123
|
+
const result2 = await fetchDaemon(baseUrl, contextPath(`/api/marketplace/mcp/${encodeURIComponent(server_id)}`));
|
|
42068
42124
|
if (!result2.ok) {
|
|
42069
42125
|
return errorResult(`Scope get failed: ${result2.error}`);
|
|
42070
42126
|
}
|
|
42071
42127
|
return textResult(result2.data);
|
|
42072
42128
|
}
|
|
42073
|
-
const result = await
|
|
42129
|
+
const result = await fetchDaemon(baseUrl, contextPath("/api/marketplace/mcp?scoped=0"));
|
|
42074
42130
|
if (!result.ok) {
|
|
42075
42131
|
return errorResult(`Scope list failed: ${result.error}`);
|
|
42076
42132
|
}
|
|
@@ -42087,7 +42143,7 @@ async function createMcpServer(opts) {
|
|
|
42087
42143
|
}),
|
|
42088
42144
|
annotations: { readOnlyHint: false }
|
|
42089
42145
|
}, async ({ server_id, harnesses, workspaces, channels }) => {
|
|
42090
|
-
const result = await
|
|
42146
|
+
const result = await fetchDaemon(baseUrl, contextPath(`/api/marketplace/mcp/${encodeURIComponent(server_id)}`), {
|
|
42091
42147
|
method: "PATCH",
|
|
42092
42148
|
body: {
|
|
42093
42149
|
scope: {
|
|
@@ -42110,7 +42166,7 @@ async function createMcpServer(opts) {
|
|
|
42110
42166
|
description: "Get compact/hybrid/expanded exposure policy for dynamic tool expansion.",
|
|
42111
42167
|
inputSchema: exports_external.object({})
|
|
42112
42168
|
}, async () => {
|
|
42113
|
-
const result = await
|
|
42169
|
+
const result = await fetchDaemon(baseUrl, "/api/marketplace/mcp/policy");
|
|
42114
42170
|
if (!result.ok) {
|
|
42115
42171
|
return errorResult(`Policy get failed: ${result.error}`);
|
|
42116
42172
|
}
|
|
@@ -42126,7 +42182,7 @@ async function createMcpServer(opts) {
|
|
|
42126
42182
|
}),
|
|
42127
42183
|
annotations: { readOnlyHint: false }
|
|
42128
42184
|
}, async ({ mode, max_expanded_tools, max_search_results }) => {
|
|
42129
|
-
const result = await
|
|
42185
|
+
const result = await fetchDaemon(baseUrl, "/api/marketplace/mcp/policy", {
|
|
42130
42186
|
method: "PATCH",
|
|
42131
42187
|
body: {
|
|
42132
42188
|
mode,
|
|
@@ -42152,7 +42208,7 @@ async function createMcpServer(opts) {
|
|
|
42152
42208
|
}),
|
|
42153
42209
|
annotations: { readOnlyHint: false }
|
|
42154
42210
|
}, async ({ server_id, tool, args }) => {
|
|
42155
|
-
const result = await
|
|
42211
|
+
const result = await fetchDaemon(baseUrl, contextPath("/api/marketplace/mcp/call"), {
|
|
42156
42212
|
method: "POST",
|
|
42157
42213
|
body: {
|
|
42158
42214
|
serverId: server_id,
|
|
@@ -42181,7 +42237,7 @@ async function createMcpServer(opts) {
|
|
|
42181
42237
|
annotations: { readOnlyHint: false }
|
|
42182
42238
|
}, async ({ session_key, enabled, agent_id }) => {
|
|
42183
42239
|
const aid = agent_id ?? "default";
|
|
42184
|
-
const result = await
|
|
42240
|
+
const result = await fetchDaemon(baseUrl, `/api/sessions/${encodeURIComponent(session_key)}/bypass?agent_id=${encodeURIComponent(aid)}`, { method: "POST", body: { enabled } });
|
|
42185
42241
|
if (!result.ok)
|
|
42186
42242
|
return errorResult(`Bypass toggle failed: ${result.error}`);
|
|
42187
42243
|
return textResult(result.data);
|
|
@@ -42196,7 +42252,7 @@ async function createMcpServer(opts) {
|
|
|
42196
42252
|
max_tokens: exports_external.number().optional().describe("Response budget in tokens (default 2000)")
|
|
42197
42253
|
})
|
|
42198
42254
|
}, async ({ entity_name, aspect_filter, question, max_tokens }) => {
|
|
42199
|
-
const result = await
|
|
42255
|
+
const result = await fetchDaemon(baseUrl, "/api/knowledge/expand", {
|
|
42200
42256
|
method: "POST",
|
|
42201
42257
|
body: {
|
|
42202
42258
|
entity: entity_name,
|
|
@@ -42262,7 +42318,7 @@ async function createMcpServer(opts) {
|
|
|
42262
42318
|
});
|
|
42263
42319
|
const fetchNavigation = async (path, params, label) => {
|
|
42264
42320
|
const query = params.toString();
|
|
42265
|
-
const result = await
|
|
42321
|
+
const result = await fetchDaemon(baseUrl, query ? `${path}?${query}` : path);
|
|
42266
42322
|
if (!result.ok)
|
|
42267
42323
|
return errorResult(`${label} failed: ${result.error}`);
|
|
42268
42324
|
return textResult(result.data);
|
|
@@ -42462,7 +42518,7 @@ async function createMcpServer(opts) {
|
|
|
42462
42518
|
max_results: exports_external.number().optional().describe("Max summaries to return (default 10)")
|
|
42463
42519
|
})
|
|
42464
42520
|
}, async ({ entity_name, session_id, time_range, max_results }) => {
|
|
42465
|
-
const result = await
|
|
42521
|
+
const result = await fetchDaemon(baseUrl, "/api/knowledge/expand/session", {
|
|
42466
42522
|
method: "POST",
|
|
42467
42523
|
body: {
|
|
42468
42524
|
entityName: entity_name,
|
|
@@ -42485,7 +42541,7 @@ async function createMcpServer(opts) {
|
|
|
42485
42541
|
transcript_char_limit: exports_external.number().optional().describe("Max transcript chars to return (default 2000)")
|
|
42486
42542
|
})
|
|
42487
42543
|
}, async ({ id, include_transcript, transcript_char_limit }) => {
|
|
42488
|
-
const result = await
|
|
42544
|
+
const result = await fetchDaemon(baseUrl, "/api/sessions/summaries/expand", {
|
|
42489
42545
|
method: "POST",
|
|
42490
42546
|
body: {
|
|
42491
42547
|
id,
|
|
@@ -42510,7 +42566,7 @@ async function createMcpServer(opts) {
|
|
|
42510
42566
|
limit: exports_external.number().optional().describe("Max results to return (default 10, max 20)")
|
|
42511
42567
|
})
|
|
42512
42568
|
}, async ({ query, session_key, current_session_key, agent_id, project, limit }) => {
|
|
42513
|
-
const result = await
|
|
42569
|
+
const result = await fetchDaemon(baseUrl, "/api/sessions/search", {
|
|
42514
42570
|
method: "POST",
|
|
42515
42571
|
body: {
|
|
42516
42572
|
query,
|
|
@@ -42538,7 +42594,7 @@ async function createMcpServer(opts) {
|
|
|
42538
42594
|
limit: exports_external.number().optional().describe("Max results to return (default 10, max 20)")
|
|
42539
42595
|
})
|
|
42540
42596
|
}, async ({ query, session_key, current_session_key, agent_id, project, limit }) => {
|
|
42541
|
-
const result = await
|
|
42597
|
+
const result = await fetchDaemon(baseUrl, "/api/sessions/search", {
|
|
42542
42598
|
method: "POST",
|
|
42543
42599
|
body: {
|
|
42544
42600
|
query,
|
package/native-manifest.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.139.0",
|
|
4
4
|
"assets": [
|
|
5
5
|
{
|
|
6
6
|
"name": "signet-darwin-arm64",
|
|
7
7
|
"platform": "darwin-arm64",
|
|
8
|
-
"sha256": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "6c0398f938e43d9ef2626189c7e719b56f5c742ecdd138158f89ea2e6b60ada2",
|
|
9
|
+
"size": 125581600
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "signet-darwin-x64",
|
|
13
13
|
"platform": "darwin-x64",
|
|
14
|
-
"sha256": "
|
|
15
|
-
"size":
|
|
14
|
+
"sha256": "3987d669000bd981e692634483a365bc50056c442c321e4afaad132afca3eba2",
|
|
15
|
+
"size": 130140736
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "signet-linux-arm64",
|
|
19
19
|
"platform": "linux-arm64",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "f2b1921f22f7752b99e164ff85c4215503a62fa9a05035959a889842093a0d3a",
|
|
21
|
+
"size": 162917439
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "signet-linux-x64",
|
|
25
25
|
"platform": "linux-x64",
|
|
26
|
-
"sha256": "
|
|
27
|
-
"size":
|
|
26
|
+
"sha256": "7fa1931d695a792ff1e143ecafea8469f47b8264de15cfae2d164ab95fea9367",
|
|
27
|
+
"size": 163431093
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "signet-win32-x64.exe",
|
|
31
31
|
"platform": "win32-x64",
|
|
32
|
-
"sha256": "
|
|
33
|
-
"size":
|
|
32
|
+
"sha256": "132ec74bdf7e7061393005587b9b599bc72ecef7838a046b64dd832315443bce",
|
|
33
|
+
"size": 179495424
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"components": {
|
|
37
37
|
"connectors": {
|
|
38
|
-
"url": "signet-connectors-0.
|
|
39
|
-
"sha256": "
|
|
40
|
-
"size":
|
|
38
|
+
"url": "signet-connectors-0.139.0.tar.gz",
|
|
39
|
+
"sha256": "965713984d6a8d1c1fd40f47e34193a23009bb5f6a4dde85b28a97945382a193",
|
|
40
|
+
"size": 15377
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signetai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.139.0",
|
|
4
4
|
"description": "Signet native CLI installer wrapper",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
67
|
"optionalDependencies": {
|
|
68
|
-
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
69
|
-
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
70
|
-
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
71
|
-
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
72
|
-
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
68
|
+
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.139.0/signetai-darwin-arm64-0.139.0.tgz",
|
|
69
|
+
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.139.0/signetai-darwin-x64-0.139.0.tgz",
|
|
70
|
+
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.139.0/signetai-linux-arm64-0.139.0.tgz",
|
|
71
|
+
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.139.0/signetai-linux-x64-0.139.0.tgz",
|
|
72
|
+
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.139.0/signetai-win32-x64-0.139.0.tgz"
|
|
73
73
|
}
|
|
74
74
|
}
|