Commit Graph
10 Commits
Author SHA1 Message Date
apairon 85c7a5d99d 🐛 types(config): Compound-Durations und leere Engine-Werte erlauben, js-Block in server() 2026-11-13 10:46:12 +00:00
apairon e935dc7cc1 ✨ types(config): engine/jsEngine und Duration-Timeouts
- hooks.schema.json: `timeout` akzeptiert Integer (ms) oder Go-Duration-String;
  neu `engine` (goja|v8) und `ignoreRequestCancel`.
- job.schema.json: `timeout` Integer oder String; neu `engine`.
- project.schema.json: neu `jsEngine` (goja|v8).
- index.d.ts: JobConfig.timeout ist `number | string` (Beschreibung war
  fälschlich "seconds"), neu `engine`.
2026-11-13 10:41:03 +00:00
apairon 8f17bb7ad4 ✨ types(config): Projekt-Secrets (#66)
ConfigPackage.secret(name): string | null und secretNames(): string[]
ergänzt; project.schema.json erlaubt den secrets-Block (string-Map) mit
Hinweis, dass die Werte nie in API-Antworten oder config.project() landen.

Refs cms/tibi-server#66
2026-11-04 20:26:39 +00:00
apairon 5458214ad9 Schema: cache.image im Projekt und optionaler Asset-cachePath
continuous-integration/drone/push Build is passing
- project.schema.json: cache.image.{path, autoCleanup.{maxAge,maxFiles,tempMaxAge}};
  Server-only-Knöpfe (enabled, interval, Laufbudgets) sind bewusst nicht vorgesehen.
- asset.schema.json: cachePath optional, ohne Pflicht-Verzeichnis, verweist auf
  cache.image.path als Default.
- index.d.ts und Beispiel-YAML nachgezogen.
2026-10-29 12:48:36 +00:00
apairon f26f8c7802 feat(schema): add tool schema, demo and admin tool types
continuous-integration/drone/push Build is passing
2026-10-20 22:56:04 +00:00
apairon 439c8773e6 feat(schema): add custom tools config and runtime types
continuous-integration/drone/push Build is passing
2026-10-20 20:45:19 +00:00
LeanAgent ca684fb4b3 feat(schema): meta.agent in Collection- und Projekt-Schema
continuous-integration/drone/push Build is passing
Die Starter-Collections dokumentieren Editor-Workflows in meta.agent
(tibi-server spielt das ueber MCP/REST _meta aus), die Schemas kannten
den Schlüssel aber nicht – YAML-LS meldete 'Property agent is not
allowed'. agent ist bewusst freiform (additionalProperties: true),
damit die Doku nicht wieder hinterherhinkt.
2026-10-12 16:10:18 +00:00
apairon c1cdb6bdcc ✨ feat(schema): add project-level audit (only enabled) 2026-09-02 16:45:36 +00:00
apairon 7775164e6a fix(schema): allow openapi in project meta
- project.meta now accepts openapi: { $ref: openapi.schema.json }
- needed for renz-einfo legacy config (servers/info/tags) to validate
2026-08-25 12:59:26 +00:00
apairon 40b441df04 ✨ feat: add new JSON schemas for Tibi configuration including fields, hooks, jobs, and permissions
- Introduced `field-list.schema.json`, `field-meta.schema.json`, and `field.schema.json` for field configurations.
- Added `hooks.schema.json` for defining hooks in the Tibi project.
- Created `image-filter.schema.json` for image processing configurations.
- Implemented `job.schema.json` for job scheduling configurations.
- Added `openapi.schema.json` for OpenAPI metadata generation.
- Introduced `permissions.schema.json` for managing permissions in the project.
- Created `project.schema.json` for overall project configuration.
- Added `projections.schema.json` for defining projections in the project.
- Implemented a validation script `validate-schemas.mjs` to ensure schema compliance.
2026-07-01 09:23:43 +00:00