docs: bring docs up to date and drop unused keys setting

- rewrite architecture, development, mcp and scenario docs to match the
  current code: single container, all mcp tools, runs, versioning,
  timeouts, settings, client routing and dev setup
- rewrite README as a general overview without liquio-specific wording
- remove the unused KEYS_DIR setting and ./keys compose mount
- remove the unused result parameter from step code execution
- complete .env.example with the file storage settings and fix the
  DB_PATH default
This commit is contained in:
ars9 committed 2026-09-30 21:18:41 +03:00
1 parent e586ab9bd9
commit b0f2c72b5f
12 files changed
+239 -207

No files matched your search

@@ -74,7 +74,6 @@ export interface ExecContext {
credentials?: Record<string, unknown>;
environment?: EnvironmentData | null;
snippets?: Record<string, string> | null;
result?: unknown;
scenarioId?: string;
runId?: string;
fileService?: FileStorageService;
@@ -115,7 +114,6 @@ export class CodeExecutorService {
credentials,
environment,
snippets,
result,
scenarioId,
runId,
fileService,
@@ -278,12 +276,11 @@ export class CodeExecutorService {
},
};
// `console`, `result`, and `expect` are injected as named parameters so
// existing scripts that reference them directly still work.
// `console` and `expect` are injected as named parameters so scripts
// can reference them directly.
const fn = new Function(
"context",
"console",
"result",
"expect",
`return (async (context) => { ${code} })(context)`,
);
@@ -291,7 +288,6 @@ export class CodeExecutorService {
const execResult = await fn(
scriptContext,
fakeConsole,
result,
playwrightExpect,
);
return { result: execResult };
@@ -46,11 +46,6 @@ export class ExecContextBuilder {
return this;
}
result(result: unknown): this {
this.ctx.result = result;
return this;
}
scenarioId(scenarioId: string): this {
this.ctx.scenarioId = scenarioId;
return this;
-3
View File
@@ -31,9 +31,6 @@ export class AppConfig {
@IsString()
APP_VERSION: string = appPackage().version;
@IsString()
KEYS_DIR: string = "keys";
@IsString()
DB_PATH: string = "data/liqa.db";