@formancy/server 0.5.0 → 0.6.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/index.d.mts CHANGED
@@ -227,8 +227,8 @@ interface AppOptions {
227
227
  scanner?: Scanner;
228
228
  /**
229
229
  * The deployment's model, which the builders ask through `/model/complete` under the
230
- * briefing this server writes. Absent, there is none: `/model` answers 404 and the admin
231
- * draws no prompt pane (0165).
230
+ * briefing this server writes. Absent, there is none: `/model` names no provider and no
231
+ * model, and the admin draws no prompt pane (0165, 0183).
232
232
  */
233
233
  model?: DeploymentModel;
234
234
  /** Model requests per session per minute. Defaults to 10: a run of three turns, three times. */
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as SUBMISSION_TOKEN_HEADER, a as createLocalFileStore, c as createPostgresStorage, g as SCHEMA_HASH_HEADER, i as startFileCollector, l as bootstrapSchema, n as MODEL_PROVIDERS, o as sha256, r as modelSettings, s as createPostgresRateLimitStore, t as createCompleter, u as createApp } from "./completers-DCFoZpo3.mjs";
1
+ import { _ as SUBMISSION_TOKEN_HEADER, a as createLocalFileStore, c as createPostgresStorage, g as SCHEMA_HASH_HEADER, i as startFileCollector, l as bootstrapSchema, n as MODEL_PROVIDERS, o as sha256, r as modelSettings, s as createPostgresRateLimitStore, t as createCompleter, u as createApp } from "./completers-C-E2b7Jm.mjs";
2
2
  export { MODEL_PROVIDERS, SCHEMA_HASH_HEADER, SUBMISSION_TOKEN_HEADER, bootstrapSchema, createApp, createCompleter, createLocalFileStore, createPostgresRateLimitStore, createPostgresStorage, modelSettings, sha256, startFileCollector };
package/dist/main.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as createLocalFileStore, c as createPostgresStorage, d as LOG_LEVELS, f as createServerLog, h as maxFileBytesFrom, i as startFileCollector, l as bootstrapSchema, m as workerLog, p as databaseNotices, r as modelSettings, s as createPostgresRateLimitStore, t as createCompleter, u as createApp } from "./completers-DCFoZpo3.mjs";
1
+ import { a as createLocalFileStore, c as createPostgresStorage, d as LOG_LEVELS, f as createServerLog, h as maxFileBytesFrom, i as startFileCollector, l as bootstrapSchema, m as workerLog, p as databaseNotices, r as modelSettings, s as createPostgresRateLimitStore, t as createCompleter, u as createApp } from "./completers-C-E2b7Jm.mjs";
2
2
  import { createHash, createHmac, randomBytes } from "node:crypto";
3
3
  import { deliveryHeaders, drainOutbox, isIpLiteral, isPrivateAddress } from "@formancy/server-core";
4
4
  import postgres from "postgres";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formancy/server",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "The self-hostable formancy backend: Fastify routes and Postgres storage over @formancy/server-core.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@anthropic-ai/sdk": "^0.132.1",
20
20
  "@fastify/rate-limit": "^11.2.0",
21
- "@formancy/builder-core": "0.5.0",
22
- "@formancy/server-core": "0.5.0",
23
- "@formancy/spec": "0.5.0",
21
+ "@formancy/builder-core": "0.6.0",
22
+ "@formancy/server-core": "0.6.0",
23
+ "@formancy/spec": "0.6.0",
24
24
  "@node-rs/argon2": "^2.2.1",
25
25
  "drizzle-orm": "^0.45.2",
26
26
  "fastify": "^5.12.5",