@opengeni/api-router 3.0.1-canary.0 → 3.0.1-canary.2
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/app.js +1 -1
- package/dist/{chunk-XZGTKYOA.js → chunk-PRCUIL5L.js} +2644 -2581
- package/dist/{chunk-XZGTKYOA.js.map → chunk-PRCUIL5L.js.map} +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/integrations/marketplace-plugin.d.ts +7 -7
- package/dist/mcp/scheduled-task-view.d.ts +3 -3
- package/dist/routes/sessions.d.ts +24 -2
- package/package.json +19 -19
- package/src/editable-artifact-production.ts +6 -0
- package/src/mcp/editable-artifacts.ts +7 -2
- package/src/mcp/server.ts +47 -10
- package/src/routes/sessions.ts +30 -3
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
createOpenGeniSlackBotInteractionClient,
|
|
8
8
|
startSlackInteractionPump,
|
|
9
9
|
startTemporalScheduleCleanupPump
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PRCUIL5L.js";
|
|
11
11
|
|
|
12
12
|
// src/index.ts
|
|
13
13
|
import { scheduledTaskKnowledgeSource } from "@opengeni/contracts";
|
|
@@ -1286,6 +1286,7 @@ import {
|
|
|
1286
1286
|
PostgresEditableArtifactStore,
|
|
1287
1287
|
listEditableArtifactIdsForSession,
|
|
1288
1288
|
touchEditableArtifactSessionLink,
|
|
1289
|
+
recordNativeDocumentInspection,
|
|
1289
1290
|
dbSql,
|
|
1290
1291
|
withRlsContext
|
|
1291
1292
|
} from "@opengeni/db";
|
|
@@ -2297,6 +2298,11 @@ async function createStandaloneEditableArtifactApplication(input) {
|
|
|
2297
2298
|
touch: async ({ scope, sessionId, artifactId }) => await touchEditableArtifactSessionLink(input.db, scope, sessionId, artifactId)
|
|
2298
2299
|
}),
|
|
2299
2300
|
inspector: kernel,
|
|
2301
|
+
recordInspection: async (inspection) => {
|
|
2302
|
+
if (inspection.actor.kind !== "agent")
|
|
2303
|
+
throw new Error("Inspection proof requires an agent attempt");
|
|
2304
|
+
return recordNativeDocumentInspection(input.db, { ...inspection, actor: inspection.actor });
|
|
2305
|
+
},
|
|
2300
2306
|
officeImports,
|
|
2301
2307
|
workspaceFiles: new EditableArtifactWorkspaceFileAdapter({
|
|
2302
2308
|
db: input.db,
|