@camstack/server 1.2.58 → 1.2.60

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.
@@ -5739,6 +5739,22 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
5739
5739
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
5740
5740
  return p.searchObjectEvents(methodInput);
5741
5741
  }),
5742
+ wipeObjectEmbeddings: trpc_middleware_js_1.adminProcedure
5743
+ .input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
5744
+ .output(types_80.pipelineAnalyticsCapability.methods.wipeObjectEmbeddings.output)
5745
+ .mutation(async ({ input, ctx }) => {
5746
+ const p = resolveProvider('pipeline-analytics', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
5747
+ return p.wipeObjectEmbeddings();
5748
+ }),
5749
+ rebuildObjectEmbeddings: trpc_middleware_js_1.adminProcedure
5750
+ .input(types_80.pipelineAnalyticsCapability.methods.rebuildObjectEmbeddings.input.loose())
5751
+ .output(types_80.pipelineAnalyticsCapability.methods.rebuildObjectEmbeddings.output)
5752
+ .mutation(async ({ input, ctx }) => {
5753
+ const { nodeId, ...methodInput } = input;
5754
+ const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
5755
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
5756
+ return p.rebuildObjectEmbeddings(methodInput);
5757
+ }),
5742
5758
  });
5743
5759
  }
5744
5760
  function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.58",
3
+ "version": "1.2.60",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -40,12 +40,12 @@
40
40
  "@camstack/addon-notifiers": "1.2.13",
41
41
  "@camstack/addon-pipeline": "1.2.41",
42
42
  "@camstack/addon-pipeline-orchestrator": "1.2.24",
43
- "@camstack/addon-post-analysis": "1.2.38",
43
+ "@camstack/addon-post-analysis": "1.2.40",
44
44
  "@camstack/sdk": "1.2.10",
45
45
  "@camstack/shm-ring": "1.1.9",
46
- "@camstack/system": "1.2.49",
47
- "@camstack/types": "1.2.36",
48
- "@camstack/ui-library": "1.2.27",
46
+ "@camstack/system": "1.2.51",
47
+ "@camstack/types": "1.2.38",
48
+ "@camstack/ui-library": "1.2.28",
49
49
  "@fastify/compress": "^9.0.0",
50
50
  "@fastify/cookie": "^11.0.2",
51
51
  "@fastify/cors": "^11.2.0",