@sema-agent/server 1.253.0 → 1.255.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/capabilities/scenarios.d.ts.map +1 -1
- package/dist/capabilities/scenarios.js +3 -0
- package/dist/capabilities/scenarios.js.map +1 -1
- package/dist/fleet/subagent-tail-bus.d.ts.map +1 -1
- package/dist/fleet/subagent-tail-bus.js.map +1 -1
- package/dist/http/server.d.ts.map +1 -1
- package/dist/http/server.js +45 -12
- package/dist/http/server.js.map +1 -1
- package/dist/main.js +7 -0
- package/dist/main.js.map +1 -1
- package/dist/plugins/caching-session-store.d.ts +1 -0
- package/dist/plugins/caching-session-store.d.ts.map +1 -1
- package/dist/plugins/caching-session-store.js +5 -0
- package/dist/plugins/caching-session-store.js.map +1 -1
- package/dist/plugins/mailbox-store-sql.d.ts +45 -0
- package/dist/plugins/mailbox-store-sql.d.ts.map +1 -0
- package/dist/plugins/mailbox-store-sql.js +292 -0
- package/dist/plugins/mailbox-store-sql.js.map +1 -0
- package/dist/plugins/roster-store-sql.d.ts.map +1 -1
- package/dist/plugins/roster-store-sql.js +14 -5
- package/dist/plugins/roster-store-sql.js.map +1 -1
- package/dist/plugins/task-list-store-sql.d.ts +10 -0
- package/dist/plugins/task-list-store-sql.d.ts.map +1 -0
- package/dist/plugins/task-list-store-sql.js +218 -0
- package/dist/plugins/task-list-store-sql.js.map +1 -0
- package/dist/runs.d.ts +4 -1
- package/dist/runs.d.ts.map +1 -1
- package/dist/runs.js +5 -5
- package/dist/runs.js.map +1 -1
- package/dist/spec-fields.d.ts +3 -0
- package/dist/spec-fields.d.ts.map +1 -1
- package/dist/spec-fields.js +8 -0
- package/dist/spec-fields.js.map +1 -1
- package/dist/task-mcp.d.ts.map +1 -1
- package/dist/task-mcp.js +17 -2
- package/dist/task-mcp.js.map +1 -1
- package/dist/task-settings.d.ts.map +1 -1
- package/dist/task-settings.js +2 -2
- package/dist/task-settings.js.map +1 -1
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -1869,7 +1869,14 @@ async function main() {
|
|
|
1869
1869
|
principal: auth?.principal,
|
|
1870
1870
|
images: body.images,
|
|
1871
1871
|
...(body.clientContext ? { clientContext: { timeZone: body.clientContext.timeZone, userEmail: body.clientContext.userEmail } } : {}),
|
|
1872
|
+
...(() => {
|
|
1873
|
+
const ct = body.compaction?.clampTolerance;
|
|
1874
|
+
return typeof ct === "number" && Number.isFinite(ct) && ct >= 0 && ct <= 1 ? { compaction: { clampTolerance: ct } } : {};
|
|
1875
|
+
})(),
|
|
1872
1876
|
outputSchema: body.outputSchema,
|
|
1877
|
+
...(typeof body.outputRetries === "number" && Number.isFinite(body.outputRetries) && body.outputRetries >= 1
|
|
1878
|
+
? { outputRetries: Math.min(10, Math.floor(body.outputRetries)) }
|
|
1879
|
+
: {}),
|
|
1873
1880
|
resumeAt: resumeAtEntryId,
|
|
1874
1881
|
resumeAtMode: normalizeResumeAtMode(body.resumeAtMode, resumeAtEntryId !== undefined),
|
|
1875
1882
|
requireExistingSession: body.requireExistingSession === true ? true : undefined,
|