@axiom-lattice/gateway 2.1.70 → 2.1.71

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/gateway@2.1.70 build /home/runner/work/agentic/agentic/packages/gateway
2
+ > @axiom-lattice/gateway@2.1.71 build /home/runner/work/agentic/agentic/packages/gateway
3
3
  > tsup src/index.ts --format cjs,esm --dts --clean --sourcemap
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -18,13 +18,13 @@
18
18
  You need to set the output format to "esm" for "import.meta" to work correctly.
19
19
 
20
20
 
21
- CJS dist/index.js 204.73 KB
22
- CJS dist/index.js.map 436.33 KB
23
- CJS ⚡️ Build success in 437ms
24
- ESM dist/index.mjs 201.40 KB
25
- ESM dist/index.mjs.map 436.95 KB
26
- ESM ⚡️ Build success in 439ms
21
+ CJS dist/index.js 204.96 KB
22
+ CJS dist/index.js.map 436.78 KB
23
+ CJS ⚡️ Build success in 394ms
24
+ ESM dist/index.mjs 201.64 KB
25
+ ESM dist/index.mjs.map 437.40 KB
26
+ ESM ⚡️ Build success in 397ms
27
27
  DTS Build start
28
- DTS ⚡️ Build success in 14016ms
28
+ DTS ⚡️ Build success in 14513ms
29
29
  DTS dist/index.d.ts 3.85 KB
30
30
  DTS dist/index.d.mts 3.85 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @axiom-lattice/gateway
2
2
 
3
+ ## 2.1.71
4
+
5
+ ### Patch Changes
6
+
7
+ - e61bc9d: fix reply
8
+
3
9
  ## 2.1.70
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -2055,6 +2055,10 @@ async function replyInboxTask(request, reply) {
2055
2055
  tenant_id: tenantId
2056
2056
  });
2057
2057
  try {
2058
+ const queueStore = agent.getQueueStore?.() || agent.queueStore;
2059
+ if (queueStore?.resetProcessingToPending) {
2060
+ await queueStore.resetProcessingToPending(run.threadId);
2061
+ }
2058
2062
  await agent.addMessage({
2059
2063
  input: { message: "Clarification answers submitted" },
2060
2064
  command: {
@@ -2065,6 +2069,7 @@ async function replyInboxTask(request, reply) {
2065
2069
  }
2066
2070
  }
2067
2071
  });
2072
+ await agent.startQueueProcessorIfNeeded();
2068
2073
  } catch (error) {
2069
2074
  return reply.status(400).send({
2070
2075
  success: false,