@aidy-dev/server 0.2.0 → 0.2.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/README.md CHANGED
@@ -40,6 +40,7 @@ public origin to the server, and pin the public key in your host kit.
40
40
  | `AIDY_PREVIOUS_SECRET` | | The secret before a rotation: it still unseals saved settings, which are sealed again with `AIDY_SECRET` on first read. Remove it afterwards. |
41
41
  | `AIDY_DATABASE_URL` | yes | `postgres://…` or `sqlite:<path>`. aidy creates its own `aidy_*` tables; give it its own database or schema. |
42
42
  | `AIDY_MODELS` | | JSON model chain (`id`, `provider` = `openai-compatible`/`openai`/`anthropic`, `model`, `baseURL`, `apiKey`, `vision`, `temperature`, `maxOutputTokens`, `cooldownSeconds` = `{quota, rateLimit, error}`, `providerOptions`). Admins can change it in the app. |
43
+ | `AIDY_PRODUCT_NAME`, `AIDY_PRODUCT_SUMMARY` | | The product's name and summary in `/skill.md` and `/llms.txt` for signed-out callers, when your OpenAPI needs a sign-in. |
43
44
  | `AIDY_NAME` | | The assistant's name. Default `Aidy`. |
44
45
  | `AIDY_INSTRUCTIONS` | | System instructions, or `@path` to a file. |
45
46
  | `AIDY_SKILL_GUIDE` | | Hand-written guide placed first in `/skill.md`, or `@path`. |
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { r as ConfigError, t as serve } from "./serve-Mv2At2zq.js";
2
+ import { r as ConfigError, t as serve } from "./serve-QBQsWOh8.js";
3
3
  import { generateKeyPair, portableJwk } from "@aidy-dev/spec/delegation";
4
4
  // src/cli.ts
5
5
  /** The `aidy-server` command. */
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { r as ConfigError, a as loadDocuments, n as nodeHandler, i as readSettings, t as serve } from "./serve-Mv2At2zq.js";
1
+ export { r as ConfigError, a as loadDocuments, n as nodeHandler, i as readSettings, t as serve } from "./serve-QBQsWOh8.js";
@@ -134,6 +134,10 @@ async function readSettings(env) {
134
134
  url: required(env, "AIDY_URL"),
135
135
  ...env.AIDY_NAME ? { name: env.AIDY_NAME } : {},
136
136
  ...env.AIDY_BASE_PATH ? { basePath: env.AIDY_BASE_PATH } : {},
137
+ ...env.AIDY_PRODUCT_NAME ? { product: {
138
+ name: env.AIDY_PRODUCT_NAME,
139
+ ...env.AIDY_PRODUCT_SUMMARY ? { summary: env.AIDY_PRODUCT_SUMMARY } : {}
140
+ } } : {},
137
141
  host: {
138
142
  origin: required(env, "AIDY_HOST_ORIGIN"),
139
143
  ...env.AIDY_HOST_BASE_URL ? { baseUrl: env.AIDY_HOST_BASE_URL } : {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aidy-dev/server",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Run aidy beside a host in any language: `aidy-server`, a Node handler, and the Docker image.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://aidy.lpythu.workers.dev",
@@ -29,10 +29,10 @@
29
29
  "dependencies": {
30
30
  "@hono/node-server": "^2.1.9",
31
31
  "postgres": "^4.1.1",
32
- "@aidy-dev/core": "0.2.0",
33
- "@aidy-dev/spec": "0.2.0",
34
- "@aidy-dev/sql": "0.2.0",
35
- "@aidy-dev/knowledge": "0.2.0"
32
+ "@aidy-dev/knowledge": "0.2.2",
33
+ "@aidy-dev/spec": "0.2.2",
34
+ "@aidy-dev/core": "0.2.2",
35
+ "@aidy-dev/sql": "0.2.2"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@aidy-dev/conformance": "0.1.0"