@axiom-lattice/gateway 4.8.2 → 4.8.4

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.
Files changed (30) hide show
  1. package/dist/embed/{embed-page-AgentDetailSideApp-MVSXAG5S.js → embed-page-AgentDetailSideApp-S5N76UPU.js} +1 -1
  2. package/dist/embed/{embed-page-AgentGovernanceWorkbench-ZEVAVRIQ.js → embed-page-AgentGovernanceWorkbench-QFMP2M73.js} +1 -1
  3. package/dist/embed/{embed-page-MessageGraph-CPZJIKOD.js → embed-page-MessageGraph-H3HPZKOH.js} +1 -1
  4. package/dist/embed/{embed-page-ReactChart-7NQMTFJE.js → embed-page-ReactChart-ZFMANJCT.js} +1 -1
  5. package/dist/embed/{embed-page-SkillFlow-TSBZ4V2P.js → embed-page-SkillFlow-HY7PD43P.js} +1 -1
  6. package/dist/embed/{embed-page-TasksSideApp-CY6NI4DD.js → embed-page-TasksSideApp-QKEXMHCT.js} +1 -1
  7. package/dist/embed/{embed-page-TeamWorkspace-7GQCMJWF.js → embed-page-TeamWorkspace-ZFVAFZXZ.js} +1 -1
  8. package/dist/embed/{embed-page-TopologyRuntimeView-5DJPLCLQ.js → embed-page-TopologyRuntimeView-2BS4OYEZ.js} +1 -1
  9. package/dist/embed/{embed-page-WorkflowAutomationView-PDVXZXEF.js → embed-page-WorkflowAutomationView-WUI7BSQP.js} +1 -1
  10. package/dist/embed/{embed-page-chunk-KEL6XU6R.js → embed-page-chunk-2U4LKIE3.js} +1 -1
  11. package/dist/embed/{embed-page-chunk-AC6X2XRH.js → embed-page-chunk-3WRJEEZS.js} +1 -1
  12. package/dist/embed/embed-page-chunk-4T4QMOUS.js +242 -0
  13. package/dist/embed/{embed-page-chunk-3SV3E6X5.js → embed-page-chunk-5WYDCL3B.js} +209 -305
  14. package/dist/embed/{embed-page-chunk-BKCIU75D.js → embed-page-chunk-6HM7ZERK.js} +1 -1
  15. package/dist/embed/{embed-page-chunk-Z7USDLHI.js → embed-page-chunk-6KCBXVIT.js} +1 -1
  16. package/dist/embed/{embed-page-chunk-YPNSOZYW.js → embed-page-chunk-7ZBZKXBU.js} +1 -1
  17. package/dist/embed/{embed-page-chunk-O4QK5LWZ.js → embed-page-chunk-FZRTVFHF.js} +83 -83
  18. package/dist/embed/{embed-page-chunk-UWL37DAK.js → embed-page-chunk-MSHEVUK3.js} +1 -1
  19. package/dist/embed/{embed-page-chunk-IV5C4DYL.js → embed-page-chunk-ONN5O5BX.js} +1 -1
  20. package/dist/embed/{embed-page-chunk-SFHRRNYQ.js → embed-page-chunk-VJTO6SG6.js} +1 -1
  21. package/dist/embed/{embed-page-chunk-ULBEL4OA.js → embed-page-chunk-XKQ6YPUW.js} +1 -1
  22. package/dist/embed/{embed-page-code-highlighter-Y6CQA4CN.js → embed-page-code-highlighter-NZBTSABL.js} +1 -1
  23. package/dist/embed/{embed-page-mermaid-CW4QCAH3.js → embed-page-mermaid-CK4ARQCM.js} +1 -1
  24. package/dist/embed/embed-page.js +1 -1
  25. package/dist/index.js +8 -15
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.mjs +13 -20
  28. package/dist/index.mjs.map +1 -1
  29. package/package.json +4 -4
  30. package/dist/embed/embed-page-chunk-PZCET7LJ.js +0 -245
package/dist/index.mjs CHANGED
@@ -4499,17 +4499,7 @@ async function importApply(request, reply) {
4499
4499
  import { serializePluginMeta } from "@axiom-lattice/core";
4500
4500
 
4501
4501
  // src/services/plugins/tenantPluginResolver.ts
4502
- import { PluginRegistry as PluginRegistry2, getSandboxPluginCatalog as getSandboxPluginCatalog2, mergePluginSources } from "@axiom-lattice/core";
4503
- async function listTenantPlugins(tenantId) {
4504
- let tenantPlugins = [];
4505
- try {
4506
- tenantPlugins = (await getSandboxPluginCatalog2().ensureLoaded(tenantId)).plugins;
4507
- } catch {
4508
- tenantPlugins = [];
4509
- }
4510
- const globalPlugins = PluginRegistry2.list().map((type) => PluginRegistry2.get(type)).filter((p) => Boolean(p));
4511
- return mergePluginSources(globalPlugins, tenantPlugins);
4512
- }
4502
+ import { listTenantPlugins } from "@axiom-lattice/core";
4513
4503
  async function resolveTenantPluginByType(tenantId, type) {
4514
4504
  return (await listTenantPlugins(tenantId)).find((p) => p.meta.type === type);
4515
4505
  }
@@ -8302,7 +8292,7 @@ import {
8302
8292
  parseMcpUiRef
8303
8293
  } from "@axiom-lattice/protocols";
8304
8294
  import {
8305
- getSandboxPluginCatalog as getSandboxPluginCatalog3,
8295
+ getSandboxPluginCatalog as getSandboxPluginCatalog2,
8306
8296
  mcpManager as mcpManager2
8307
8297
  } from "@axiom-lattice/core";
8308
8298
 
@@ -8668,9 +8658,9 @@ function createDefaultPluginBackend() {
8668
8658
  return {
8669
8659
  resolvePlugin: (tenantId, type) => resolveTenantPluginByType(tenantId, type),
8670
8660
  catalog: {
8671
- readPluginFile: (tenantId, pluginType, relPath) => getSandboxPluginCatalog3().readPluginFile(tenantId, pluginType, relPath),
8672
- getValidatedManifest: (tenantId, pluginType) => getSandboxPluginCatalog3().getValidatedManifest(tenantId, pluginType),
8673
- getExecutor: () => getSandboxPluginCatalog3().getExecutor()
8661
+ readPluginFile: (tenantId, pluginType, relPath) => getSandboxPluginCatalog2().readPluginFile(tenantId, pluginType, relPath),
8662
+ getValidatedManifest: (tenantId, pluginType) => getSandboxPluginCatalog2().getValidatedManifest(tenantId, pluginType),
8663
+ getExecutor: () => getSandboxPluginCatalog2().getExecutor()
8674
8664
  }
8675
8665
  };
8676
8666
  }
@@ -18683,7 +18673,11 @@ function registerCoSpaceRoutes(app2, deps) {
18683
18673
 
18684
18674
  // src/routes/push-notifications.ts
18685
18675
  import { ZodError as ZodError7, z as z11 } from "zod";
18686
- var subscriptionSchema = z11.object({ endpoint: z11.string().min(1), keys: z11.object({ p256dh: z11.string().min(1), auth: z11.string().min(1) }).strict() }).strict();
18676
+ var subscriptionSchema = z11.object({
18677
+ endpoint: z11.string().min(1),
18678
+ keys: z11.object({ p256dh: z11.string().min(1), auth: z11.string().min(1) }).strict(),
18679
+ expirationTime: z11.number().nullable().optional()
18680
+ }).strict();
18687
18681
  var deleteSchema = z11.object({ endpoint: z11.string().min(1) }).strict();
18688
18682
  function actor2(request) {
18689
18683
  const user = request.user;
@@ -21543,7 +21537,6 @@ function isSubscriptionGone(error) {
21543
21537
  const statusCode = error.statusCode;
21544
21538
  return statusCode === 404 || statusCode === 410;
21545
21539
  }
21546
- var MAX_BODY = 140;
21547
21540
  var RoomPushNotifier = class {
21548
21541
  /** Creates a notifier from explicitly injected collaborators. */
21549
21542
  constructor(deps) {
@@ -21567,7 +21560,7 @@ var RoomPushNotifier = class {
21567
21560
  const title = await this.deps.resolveTitle?.(message) ?? message.roomId;
21568
21561
  const payload = {
21569
21562
  title,
21570
- body: message.content.text.slice(0, MAX_BODY),
21563
+ body: "notification",
21571
21564
  tag: message.projectId,
21572
21565
  url: this.deps.buildUrl?.(message) ?? "/"
21573
21566
  };
@@ -25122,7 +25115,7 @@ import {
25122
25115
  agentLatticeManager as agentLatticeManager5,
25123
25116
  configurePluginCatalogSync,
25124
25117
  PLUGIN_CATALOG_CHANGED_TOPIC,
25125
- getSandboxPluginCatalog as getSandboxPluginCatalog4
25118
+ getSandboxPluginCatalog as getSandboxPluginCatalog3
25126
25119
  } from "@axiom-lattice/core";
25127
25120
 
25128
25121
  // src/channels/ChannelInfrastructure.ts
@@ -26345,7 +26338,7 @@ var start = async (config) => {
26345
26338
  }),
26346
26339
  [PLUGIN_CATALOG_CHANGED_TOPIC]: async (payload) => {
26347
26340
  const tenantId = payload?.tenantId;
26348
- if (typeof tenantId === "string" && tenantId.length > 0) getSandboxPluginCatalog4().invalidate(tenantId);
26341
+ if (typeof tenantId === "string" && tenantId.length > 0) getSandboxPluginCatalog3().invalidate(tenantId);
26349
26342
  }
26350
26343
  },
26351
26344
  log: logger6