@axiom-lattice/gateway 9.0.0 → 10.0.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/{a2a-standard-MD7WNDTP.mjs → a2a-standard-NOAVPYXJ.mjs} +2 -2
- package/dist/{chunk-2SR4F3ZD.mjs → chunk-PHWGCRW2.mjs} +2 -1
- package/dist/{chunk-2SR4F3ZD.mjs.map → chunk-PHWGCRW2.mjs.map} +1 -1
- package/dist/embed/{embed-page-AgentDetailSideApp-6RYNHS5F.js → embed-page-AgentDetailSideApp-X5HKDN3N.js} +1 -1
- package/dist/embed/{embed-page-AgentGovernanceWorkbench-UAPXF3SZ.js → embed-page-AgentGovernanceWorkbench-MFXL7BOW.js} +1 -1
- package/dist/embed/{embed-page-LangfuseDashboard-ZYGZNW7P.js → embed-page-LangfuseDashboard-NPYFMKK3.js} +1 -1
- package/dist/embed/{embed-page-MessageGraph-S2P3WACC.js → embed-page-MessageGraph-JUCEXYLU.js} +1 -1
- package/dist/embed/{embed-page-ReactChart-I3UZVE4Z.js → embed-page-ReactChart-2QJ3QRBH.js} +1 -1
- package/dist/embed/{embed-page-SkillFlow-JMIJ46FX.js → embed-page-SkillFlow-PFEXQ75Z.js} +1 -1
- package/dist/embed/{embed-page-TasksSideApp-IVFEFLSH.js → embed-page-TasksSideApp-SBHVHNVT.js} +1 -1
- package/dist/embed/{embed-page-ThreadMaintenancePanel-KQPPAEWJ.js → embed-page-ThreadMaintenancePanel-LCCRUA75.js} +1 -1
- package/dist/embed/{embed-page-TopologyRuntimeView-XCFQ23HF.js → embed-page-TopologyRuntimeView-ATA23XXF.js} +1 -1
- package/dist/embed/{embed-page-WorkflowAutomationView-UTKCKP75.js → embed-page-WorkflowAutomationView-OVGOUVXH.js} +1 -1
- package/dist/embed/{embed-page-chunk-WHGU76CU.js → embed-page-chunk-7F5BSMP3.js} +1 -1
- package/dist/embed/{embed-page-chunk-SEOTZ4Q7.js → embed-page-chunk-HLBQ5JKL.js} +324 -185
- package/dist/embed/{embed-page-chunk-7VDAOX3D.js → embed-page-chunk-HUH33Z2E.js} +1 -1
- package/dist/embed/{embed-page-chunk-5X4MNQAW.js → embed-page-chunk-LZ4ITV3M.js} +1 -1
- package/dist/embed/{embed-page-chunk-ZZFTCBM6.js → embed-page-chunk-ODTY6SE7.js} +1 -1
- package/dist/embed/embed-page-chunk-Q7Z7MHOM.js +76 -0
- package/dist/embed/{embed-page-chunk-RANB2CUO.js → embed-page-chunk-QOPHOXA7.js} +1 -1
- package/dist/embed/{embed-page-chunk-MD4U4DHC.js → embed-page-chunk-RFF7S4H5.js} +5 -5
- package/dist/embed/{embed-page-chunk-RVIS6CKE.js → embed-page-chunk-VNRFN74K.js} +1 -1
- package/dist/embed/{embed-page-chunk-77CQOFKU.js → embed-page-chunk-WE6PZS2N.js} +1 -1
- package/dist/embed/{embed-page-en-DNDGCPMA.js → embed-page-en-4HTY4XK4.js} +1 -1
- package/dist/embed/embed-page-en-KZQZS4JN.js +1 -0
- package/dist/embed/embed-page-en-VHD2WUUG.js +1 -0
- package/dist/embed/embed-page-zh-A7DSGF6P.js +1 -0
- package/dist/embed/embed-page-zh-KSZOJPOV.js +1 -0
- package/dist/embed/{embed-page-zh-2H4EB3F3.js → embed-page-zh-UHTZEW5G.js} +1 -1
- package/dist/embed/embed-page.js +1 -1
- package/dist/embed/mcp-app-page.js +76 -15
- package/dist/index.js +96 -45
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -11
- package/dist/index.mjs.map +1 -1
- package/dist/{open-27ZPLBIW.mjs → open-PCOORPQ5.mjs} +63 -16
- package/dist/open-PCOORPQ5.mjs.map +1 -0
- package/package.json +18 -13
- package/dist/embed/embed-page-chunk-TCVPYXPL.js +0 -15
- package/dist/embed/embed-page-en-4HSTKY4Q.js +0 -1
- package/dist/embed/embed-page-en-MIVBTEEL.js +0 -1
- package/dist/embed/embed-page-zh-7PJNJJZY.js +0 -1
- package/dist/embed/embed-page-zh-UZ4GPIU7.js +0 -1
- package/dist/open-27ZPLBIW.mjs.map +0 -1
- /package/dist/{a2a-standard-MD7WNDTP.mjs.map → a2a-standard-NOAVPYXJ.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
setRunTaskWakePublisher,
|
|
34
34
|
setRunTaskWakeStatsSource,
|
|
35
35
|
wakeRunTaskQueue
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-PHWGCRW2.mjs";
|
|
37
37
|
import {
|
|
38
38
|
claimDedupKey,
|
|
39
39
|
createRateLimitService,
|
|
@@ -3860,7 +3860,10 @@ function createRunLifecycleHandlers(deps = {}) {
|
|
|
3860
3860
|
const tenantId = getTenantId4(request);
|
|
3861
3861
|
const { assistantId, threadId } = request.params;
|
|
3862
3862
|
if (!await ownsThread(tenantId, assistantId, threadId)) {
|
|
3863
|
-
|
|
3863
|
+
if (!await isNewThread(tenantId, threadId)) {
|
|
3864
|
+
return notFound2(reply, THREAD_NOT_FOUND2, "Thread not found");
|
|
3865
|
+
}
|
|
3866
|
+
return reply.status(200).send({ success: true, data: { runs: [] } });
|
|
3864
3867
|
}
|
|
3865
3868
|
const activeOnly = request.query.active === "true" || request.query.active === "1";
|
|
3866
3869
|
const source = request.query.source;
|
|
@@ -12936,11 +12939,11 @@ var createBody = z2.object({
|
|
|
12936
12939
|
key: z2.string().min(1),
|
|
12937
12940
|
name: z2.string().min(1),
|
|
12938
12941
|
description: z2.string().optional(),
|
|
12939
|
-
config: z2.record(z2.unknown())
|
|
12942
|
+
config: z2.record(z2.string(), z2.unknown())
|
|
12940
12943
|
});
|
|
12941
12944
|
var testOrDiscoverBody = z2.object({
|
|
12942
12945
|
key: z2.string().optional(),
|
|
12943
|
-
config: z2.record(z2.unknown()).optional()
|
|
12946
|
+
config: z2.record(z2.string(), z2.unknown()).optional()
|
|
12944
12947
|
});
|
|
12945
12948
|
function getTenant(request) {
|
|
12946
12949
|
const userTenantId = request.user?.tenantId;
|
|
@@ -13037,7 +13040,7 @@ function connectionRoutes(fastify2) {
|
|
|
13037
13040
|
return reply.status(400).send(err);
|
|
13038
13041
|
}
|
|
13039
13042
|
if (err instanceof z2.ZodError) {
|
|
13040
|
-
return reply.status(400).send({ error: err.
|
|
13043
|
+
return reply.status(400).send({ error: err.issues });
|
|
13041
13044
|
}
|
|
13042
13045
|
return reply.status(500).send({
|
|
13043
13046
|
ok: false,
|
|
@@ -13065,7 +13068,7 @@ function connectionRoutes(fastify2) {
|
|
|
13065
13068
|
return reply.status(400).send(err);
|
|
13066
13069
|
}
|
|
13067
13070
|
if (err instanceof z2.ZodError) {
|
|
13068
|
-
return reply.status(400).send({ error: err.
|
|
13071
|
+
return reply.status(400).send({ error: err.issues });
|
|
13069
13072
|
}
|
|
13070
13073
|
return reply.status(500).send({
|
|
13071
13074
|
error: err instanceof Error ? err.message : String(err)
|
|
@@ -13363,13 +13366,17 @@ async function testMcpServerConnection(request, reply) {
|
|
|
13363
13366
|
try {
|
|
13364
13367
|
const testKey = `__test_${key}_${Date.now()}`;
|
|
13365
13368
|
const connection = convertToConnection(config.config);
|
|
13366
|
-
const { latency } = await McpLatticeManager.testConnection(
|
|
13369
|
+
const { latency, protocolVersion } = await McpLatticeManager.testConnection(
|
|
13370
|
+
testKey,
|
|
13371
|
+
connection
|
|
13372
|
+
);
|
|
13367
13373
|
return {
|
|
13368
13374
|
success: true,
|
|
13369
13375
|
message: "Connection test successful",
|
|
13370
13376
|
data: {
|
|
13371
13377
|
connected: true,
|
|
13372
|
-
latency
|
|
13378
|
+
latency,
|
|
13379
|
+
...protocolVersion ? { protocolVersion } : {}
|
|
13373
13380
|
}
|
|
13374
13381
|
};
|
|
13375
13382
|
} catch (error) {
|
|
@@ -21056,7 +21063,7 @@ var createSchema = z8.object({ name: z8.string(), description: z8.string().optio
|
|
|
21056
21063
|
var updateSchema = createSchema.partial().extend({ expectedUpdatedAt: z8.string().optional() });
|
|
21057
21064
|
var bundleIdSchema = z8.string().uuid();
|
|
21058
21065
|
var bundleParamsSchema = z8.object({ bundleId: bundleIdSchema });
|
|
21059
|
-
var projectSchema = z8.object({ bundleIds: z8.array(bundleIdSchema), expectedRevisions: z8.record(z8.string()).optional() }).strict();
|
|
21066
|
+
var projectSchema = z8.object({ bundleIds: z8.array(bundleIdSchema), expectedRevisions: z8.record(z8.string(), z8.string()).optional() }).strict();
|
|
21060
21067
|
function tenant(request, authRequired2) {
|
|
21061
21068
|
const authenticated = request.user?.tenantId;
|
|
21062
21069
|
const header2 = request.headers["x-tenant-id"];
|
|
@@ -38491,7 +38498,7 @@ var start = async (config) => {
|
|
|
38491
38498
|
});
|
|
38492
38499
|
try {
|
|
38493
38500
|
const { A2AAuthService: A2AAuthService2, parseEnvKeys: parseEnvKeys2 } = await import("./A2AAuthService-UKN53ZGP.mjs");
|
|
38494
|
-
const { registerA2AStandardRoutes } = await import("./a2a-standard-
|
|
38501
|
+
const { registerA2AStandardRoutes } = await import("./a2a-standard-NOAVPYXJ.mjs");
|
|
38495
38502
|
const a2a = await import("./a2a-YLKZE5JG.mjs");
|
|
38496
38503
|
const a2aKeyStore = getStoreLattice42("default", "a2aApiKey").store;
|
|
38497
38504
|
const assistantStore = getStoreLattice42("default", "assistant").store;
|
|
@@ -38521,7 +38528,7 @@ var start = async (config) => {
|
|
|
38521
38528
|
});
|
|
38522
38529
|
}
|
|
38523
38530
|
try {
|
|
38524
|
-
const { registerOpenRoutes } = await import("./open-
|
|
38531
|
+
const { registerOpenRoutes } = await import("./open-PCOORPQ5.mjs");
|
|
38525
38532
|
const { registerOpenSessionRoutes } = await import("./open-session-CLZT3HVG.mjs");
|
|
38526
38533
|
const { registerOpenCatalogRoutes } = await import("./open-catalog-NVGP6SQP.mjs");
|
|
38527
38534
|
const { registerOpenFilesRoutes } = await import("./open-files-JPB2NBL6.mjs");
|