@aidy-dev/server 0.2.2 → 0.2.4
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 +1 -0
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{serve-QBQsWOh8.js → serve-BhbePW5B.js} +5 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -47,6 +47,7 @@ public origin to the server, and pin the public key in your host kit.
|
|
|
47
47
|
| `AIDY_SKILL_NAME` | | The `/skill.md` frontmatter `name` (a slug). Default: the product's slug, else the first label of the host's hostname. |
|
|
48
48
|
| `AIDY_CLI_COMMAND`, `AIDY_CLI_PACKAGE`, `AIDY_CLI_INSTALL` | | The CLI `/skill.md` and `/llms.txt` name, and how to install it: its npm package, or a free-form install line (which wins), e.g. `curl -fsSL https://tm.example.com/install.sh \| sh`. Default `aidy` from `@aidy-dev/cli`. |
|
|
49
49
|
| `AIDY_KNOWLEDGE_DIR`, `AIDY_KNOWLEDGE_BASE_URL` | | A directory of Markdown docs indexed for search and answers, and the URL their pages live under. |
|
|
50
|
+
| `AIDY_MCP_INSTRUCTIONS` | | Instructions MCP clients receive on `initialize`, or `@path`. Default: the skill guide. |
|
|
50
51
|
| `AIDY_MCP_AUTHORIZATION_SERVERS` | | Comma-separated OAuth issuers for MCP clients. |
|
|
51
52
|
| `AIDY_BASE_PATH` | | Prefix of every route when aidy is served below a path. |
|
|
52
53
|
| `AIDY_MAX_STEPS` | | Model steps per run. Default 16. |
|
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-
|
|
2
|
+
import { r as ConfigError, t as serve } from "./serve-BhbePW5B.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-
|
|
1
|
+
export { r as ConfigError, a as loadDocuments, n as nodeHandler, i as readSettings, t as serve } from "./serve-BhbePW5B.js";
|
|
@@ -105,6 +105,7 @@ async function readSettings(env) {
|
|
|
105
105
|
const hostKeys = json(env, "AIDY_HOST_KEYS", []);
|
|
106
106
|
const instructions = await text(env, "AIDY_INSTRUCTIONS");
|
|
107
107
|
const guide = await text(env, "AIDY_SKILL_GUIDE");
|
|
108
|
+
const mcpInstructions = await text(env, "AIDY_MCP_INSTRUCTIONS");
|
|
108
109
|
const cliCommand = env.AIDY_CLI_COMMAND?.trim();
|
|
109
110
|
const cliPackage = env.AIDY_CLI_PACKAGE?.trim();
|
|
110
111
|
const cliInstall = env.AIDY_CLI_INSTALL?.trim();
|
|
@@ -150,7 +151,10 @@ async function readSettings(env) {
|
|
|
150
151
|
...instructions ? { instructions } : {},
|
|
151
152
|
...Object.keys(skill).length > 0 ? { skill } : {},
|
|
152
153
|
...maxSteps ? { limits: { maxSteps } } : {},
|
|
153
|
-
...authorizationServers?.length ? { mcp: {
|
|
154
|
+
...authorizationServers?.length || mcpInstructions ? { mcp: {
|
|
155
|
+
...authorizationServers?.length ? { authorizationServers } : {},
|
|
156
|
+
...mcpInstructions ? { instructions: mcpInstructions } : {}
|
|
157
|
+
} } : {}
|
|
154
158
|
}
|
|
155
159
|
};
|
|
156
160
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aidy-dev/server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
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/
|
|
33
|
-
"@aidy-dev/
|
|
34
|
-
"@aidy-dev/
|
|
35
|
-
"@aidy-dev/
|
|
32
|
+
"@aidy-dev/core": "0.2.4",
|
|
33
|
+
"@aidy-dev/sql": "0.2.4",
|
|
34
|
+
"@aidy-dev/spec": "0.2.4",
|
|
35
|
+
"@aidy-dev/knowledge": "0.2.4"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@aidy-dev/conformance": "0.1.0"
|